chore: include pre-built dist for github install
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export declare const context7: {
|
||||
type: "remote";
|
||||
url: string;
|
||||
enabled: boolean;
|
||||
headers: {
|
||||
Authorization: string;
|
||||
} | undefined;
|
||||
oauth: false;
|
||||
};
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
export declare const grep_app: {
|
||||
type: "remote";
|
||||
url: string;
|
||||
enabled: boolean;
|
||||
oauth: false;
|
||||
};
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import type { OhMyOpenCodeConfig } from "../config/schema";
|
||||
export { McpNameSchema, type McpName } from "./types";
|
||||
type RemoteMcpConfig = {
|
||||
type: "remote";
|
||||
url: string;
|
||||
enabled: boolean;
|
||||
headers?: Record<string, string>;
|
||||
oauth?: false;
|
||||
};
|
||||
export declare function createBuiltinMcps(disabledMcps?: string[], config?: OhMyOpenCodeConfig): Record<string, RemoteMcpConfig>;
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
import { z } from "zod";
|
||||
export declare const McpNameSchema: z.ZodEnum<{
|
||||
websearch: "websearch";
|
||||
context7: "context7";
|
||||
grep_app: "grep_app";
|
||||
}>;
|
||||
export type McpName = z.infer<typeof McpNameSchema>;
|
||||
export declare const AnyMcpNameSchema: z.ZodString;
|
||||
export type AnyMcpName = z.infer<typeof AnyMcpNameSchema>;
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
import type { WebsearchConfig } from "../config/schema";
|
||||
type RemoteMcpConfig = {
|
||||
type: "remote";
|
||||
url: string;
|
||||
enabled: boolean;
|
||||
headers?: Record<string, string>;
|
||||
oauth?: false;
|
||||
};
|
||||
export declare function createWebsearchConfig(config?: WebsearchConfig): RemoteMcpConfig;
|
||||
export declare const websearch: RemoteMcpConfig;
|
||||
export {};
|
||||
Reference in New Issue
Block a user