oh-my-opencode 3.1.5 → 3.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/utils.d.ts +1 -1
- package/dist/cli/doctor/checks/index.d.ts +1 -0
- package/dist/cli/doctor/checks/mcp-oauth.d.ts +15 -0
- package/dist/cli/doctor/checks/mcp-oauth.test.d.ts +1 -0
- package/dist/cli/doctor/constants.d.ts +1 -0
- package/dist/cli/index.js +699 -8
- package/dist/cli/mcp-oauth/index.d.ts +6 -0
- package/dist/cli/mcp-oauth/index.test.d.ts +1 -0
- package/dist/cli/mcp-oauth/login.d.ts +6 -0
- package/dist/cli/mcp-oauth/login.test.d.ts +1 -0
- package/dist/cli/mcp-oauth/logout.d.ts +4 -0
- package/dist/cli/mcp-oauth/logout.test.d.ts +1 -0
- package/dist/cli/mcp-oauth/status.d.ts +1 -0
- package/dist/cli/mcp-oauth/status.test.d.ts +1 -0
- package/dist/features/background-agent/manager.d.ts +2 -0
- package/dist/features/claude-code-mcp-loader/types.d.ts +4 -0
- package/dist/features/hook-message-injector/injector.d.ts +1 -0
- package/dist/features/hook-message-injector/types.d.ts +2 -0
- package/dist/features/mcp-oauth/callback-server.d.ts +11 -0
- package/dist/features/mcp-oauth/callback-server.test.d.ts +1 -0
- package/dist/features/mcp-oauth/dcr.d.ts +34 -0
- package/dist/features/mcp-oauth/dcr.test.d.ts +1 -0
- package/dist/features/mcp-oauth/discovery.d.ts +8 -0
- package/dist/features/mcp-oauth/discovery.test.d.ts +1 -0
- package/dist/features/mcp-oauth/index.d.ts +1 -0
- package/dist/features/mcp-oauth/provider.d.ts +41 -0
- package/dist/features/mcp-oauth/provider.test.d.ts +1 -0
- package/dist/features/mcp-oauth/resource-indicator.d.ts +2 -0
- package/dist/features/mcp-oauth/resource-indicator.test.d.ts +1 -0
- package/dist/features/mcp-oauth/schema.d.ts +6 -0
- package/dist/features/mcp-oauth/schema.test.d.ts +1 -0
- package/dist/features/mcp-oauth/step-up.d.ts +8 -0
- package/dist/features/mcp-oauth/step-up.test.d.ts +1 -0
- package/dist/features/mcp-oauth/storage.d.ts +17 -0
- package/dist/features/mcp-oauth/storage.test.d.ts +1 -0
- package/dist/features/skill-mcp-manager/manager.d.ts +8 -0
- package/dist/hooks/interactive-bash-session/index.d.ts +1 -1
- package/dist/index.js +4182 -279
- package/dist/shared/model-resolver.d.ts +1 -0
- package/dist/tools/lsp/client.d.ts +4 -11
- package/package.json +9 -8
package/dist/agents/utils.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export declare function buildAgent(source: AgentSource, model: string, categorie
|
|
|
12
12
|
* See: https://github.com/code-yeongyu/oh-my-opencode/issues/379
|
|
13
13
|
*/
|
|
14
14
|
export declare function createEnvContext(): string;
|
|
15
|
-
export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, discoveredSkills?: LoadedSkill[], client?: any, browserProvider?: BrowserAutomationProvider): Promise<Record<string, AgentConfig>>;
|
|
15
|
+
export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, gitMasterConfig?: GitMasterConfig, discoveredSkills?: LoadedSkill[], client?: any, browserProvider?: BrowserAutomationProvider, uiSelectedModel?: string): Promise<Record<string, AgentConfig>>;
|
|
16
16
|
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CheckResult, CheckDefinition } from "../types";
|
|
2
|
+
interface OAuthTokenData {
|
|
3
|
+
accessToken: string;
|
|
4
|
+
refreshToken?: string;
|
|
5
|
+
expiresAt?: number;
|
|
6
|
+
clientInfo?: {
|
|
7
|
+
clientId: string;
|
|
8
|
+
clientSecret?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
type TokenStore = Record<string, OAuthTokenData>;
|
|
12
|
+
export declare function readTokenStore(): TokenStore | null;
|
|
13
|
+
export declare function checkMcpOAuthTokens(): Promise<CheckResult>;
|
|
14
|
+
export declare function getMcpOAuthCheckDefinition(): CheckDefinition;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -28,6 +28,7 @@ export declare const CHECK_IDS: {
|
|
|
28
28
|
readonly LSP_SERVERS: "lsp-servers";
|
|
29
29
|
readonly MCP_BUILTIN: "mcp-builtin";
|
|
30
30
|
readonly MCP_USER: "mcp-user";
|
|
31
|
+
readonly MCP_OAUTH_TOKENS: "mcp-oauth-tokens";
|
|
31
32
|
readonly VERSION_STATUS: "version-status";
|
|
32
33
|
};
|
|
33
34
|
export declare const CHECK_NAMES: Record<string, string>;
|