@sortedyuan/maybecode 0.3.2 → 0.5.0
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/README.md +166 -55
- package/README.zh-CN.md +267 -0
- package/dist/application.d.ts +40 -34
- package/dist/application.d.ts.map +1 -1
- package/dist/application.js +290 -170
- package/dist/application.js.map +1 -1
- package/dist/args.d.ts +2 -2
- package/dist/args.d.ts.map +1 -1
- package/dist/args.js +50 -27
- package/dist/args.js.map +1 -1
- package/dist/bin.js +82 -71
- package/dist/bin.js.map +4 -4
- package/dist/cli/chunk-3IORPKBL.js +3572 -0
- package/dist/cli/chunk-3IORPKBL.js.map +7 -0
- package/dist/cli/{chunk-LVTRXPDS.js → chunk-4B2Z6KW7.js} +1547 -1536
- package/dist/cli/chunk-4B2Z6KW7.js.map +7 -0
- package/dist/cli/{chunk-JT6VBKOM.js → chunk-4WG6JIJJ.js} +127 -33
- package/dist/cli/{chunk-JT6VBKOM.js.map → chunk-4WG6JIJJ.js.map} +3 -3
- package/dist/cli/{chunk-K5JWPNSY.js → chunk-5SLWALZK.js} +3521 -16164
- package/dist/cli/chunk-5SLWALZK.js.map +7 -0
- package/dist/cli/chunk-MNBYXL5Y.js +132 -0
- package/dist/cli/chunk-MNBYXL5Y.js.map +7 -0
- package/dist/cli/{chunk-F4XRPLUM.js → chunk-SLWLUEHQ.js} +226 -86
- package/dist/cli/chunk-SLWLUEHQ.js.map +7 -0
- package/dist/cli/chunk-UQDZ55LQ.js +199 -0
- package/dist/cli/chunk-UQDZ55LQ.js.map +7 -0
- package/dist/cli/{chunk-7ISOHFS7.js → chunk-WMSG5ZTR.js} +717 -388
- package/dist/cli/chunk-WMSG5ZTR.js.map +7 -0
- package/dist/cli/chunk-WVIRS76R.js +4057 -0
- package/dist/cli/chunk-WVIRS76R.js.map +7 -0
- package/dist/cli/{chunk-HOU5ITUK.js → chunk-XTEMRAQW.js} +1 -1
- package/dist/cli/chunk-XTEMRAQW.js.map +7 -0
- package/dist/cli/chunk-Z3BOPBVU.js +91 -0
- package/dist/cli/chunk-Z3BOPBVU.js.map +7 -0
- package/dist/cli/{configured-WHY3GGAJ.js → configured-ACNM6TRQ.js} +10 -9
- package/dist/cli/{file-type-R2T7TBHI.js → file-type-HLHPV7WC.js} +817 -13
- package/dist/cli/file-type-HLHPV7WC.js.map +7 -0
- package/dist/cli/mcp-auth-XD5U7WCV.js +74 -0
- package/dist/cli/mcp-auth-XD5U7WCV.js.map +7 -0
- package/dist/cli/onboarding-WQWCPYEO.js +530 -0
- package/dist/cli/onboarding-WQWCPYEO.js.map +7 -0
- package/dist/cli/onboarding-check-HRRI5OJ7.js +32 -0
- package/dist/cli/onboarding-check-HRRI5OJ7.js.map +7 -0
- package/dist/cli/{retained-tui-VJ3VX4R3.js → retained-tui-QF5VMYLC.js} +788 -332
- package/dist/cli/retained-tui-QF5VMYLC.js.map +7 -0
- package/dist/cli/{sixel-LWTCM76G.js → sixel-ISZ4FZ3U.js} +37 -37
- package/dist/cli/{sixel-LWTCM76G.js.map → sixel-ISZ4FZ3U.js.map} +1 -1
- package/dist/cli/{team-T7G7PPNN.js → team-O2I5BXHM.js} +7 -6
- package/dist/cli/{team-v2-JGBBQ7FR.js → team-v2-YYO2G7DJ.js} +816 -390
- package/dist/cli/team-v2-YYO2G7DJ.js.map +7 -0
- package/dist/cli/{web-server-FOMNPY7Q.js → web-server-SXMH6FGA.js} +55 -19
- package/dist/cli/web-server-SXMH6FGA.js.map +7 -0
- package/dist/cli/{web-ui-COB6PKC5.js → web-ui-UWQUFE4W.js} +7 -6
- package/dist/config-schema.json +337 -0
- package/dist/configured.d.ts +18 -11
- package/dist/configured.d.ts.map +1 -1
- package/dist/configured.js +213 -390
- package/dist/configured.js.map +1 -1
- package/dist/controller.d.ts +19 -18
- package/dist/controller.d.ts.map +1 -1
- package/dist/delegation-commands.d.ts +1 -1
- package/dist/delegation-commands.d.ts.map +1 -1
- package/dist/delegation-commands.js +8 -8
- package/dist/delegation-commands.js.map +1 -1
- package/dist/errors.d.ts +2 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +2 -1
- package/dist/errors.js.map +1 -1
- package/dist/events.d.ts +8 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/fork-picker.d.ts.map +1 -1
- package/dist/fork-picker.js +19 -5
- package/dist/fork-picker.js.map +1 -1
- package/dist/git-request.d.ts +6 -6
- package/dist/git-request.d.ts.map +1 -1
- package/dist/git-request.js +28 -15
- package/dist/git-request.js.map +1 -1
- package/dist/goal-commands.d.ts +1 -1
- package/dist/goal-commands.d.ts.map +1 -1
- package/dist/goal-commands.js +12 -5
- package/dist/goal-commands.js.map +1 -1
- package/dist/index.d.ts +5 -37
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -36
- package/dist/index.js.map +1 -1
- package/dist/instructions.d.ts +2 -7
- package/dist/instructions.d.ts.map +1 -1
- package/dist/instructions.js +7 -15
- package/dist/instructions.js.map +1 -1
- package/dist/keymap.d.ts +2 -2
- package/dist/keymap.d.ts.map +1 -1
- package/dist/keymap.js +2 -2
- package/dist/keymap.js.map +1 -1
- package/dist/maybecode-config.schema.json +1765 -0
- package/dist/mcp-auth.d.ts +1 -1
- package/dist/mcp-auth.d.ts.map +1 -1
- package/dist/mcp-auth.js +11 -8
- package/dist/mcp-auth.js.map +1 -1
- package/dist/mcp-commands.d.ts.map +1 -1
- package/dist/mcp-commands.js +18 -4
- package/dist/mcp-commands.js.map +1 -1
- package/dist/mcp-interaction-ui.d.ts.map +1 -1
- package/dist/mcp-interaction-ui.js +11 -4
- package/dist/mcp-interaction-ui.js.map +1 -1
- package/dist/media-history.d.ts +1 -1
- package/dist/media-history.d.ts.map +1 -1
- package/dist/media-history.js +8 -2
- package/dist/media-history.js.map +1 -1
- package/dist/model-picker.d.ts.map +1 -1
- package/dist/model-picker.js +10 -11
- package/dist/model-picker.js.map +1 -1
- package/dist/model-transition.d.ts +11 -0
- package/dist/model-transition.d.ts.map +1 -0
- package/dist/model-transition.js +48 -0
- package/dist/model-transition.js.map +1 -0
- package/dist/model.d.ts +2 -2
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +8 -4
- package/dist/model.js.map +1 -1
- package/dist/onboarding-check.d.ts +3 -0
- package/dist/onboarding-check.d.ts.map +1 -0
- package/dist/onboarding-check.js +22 -0
- package/dist/onboarding-check.js.map +1 -0
- package/dist/onboarding.d.ts +6 -0
- package/dist/onboarding.d.ts.map +1 -0
- package/dist/onboarding.js +463 -0
- package/dist/onboarding.js.map +1 -0
- package/dist/plugins/application.d.ts +6 -4
- package/dist/plugins/application.d.ts.map +1 -1
- package/dist/plugins/application.js +106 -52
- package/dist/plugins/application.js.map +1 -1
- package/dist/plugins/instructions.d.ts +1 -1
- package/dist/plugins/instructions.d.ts.map +1 -1
- package/dist/plugins/instructions.js +24 -11
- package/dist/plugins/instructions.js.map +1 -1
- package/dist/plugins/resources.d.ts +2 -2
- package/dist/plugins/resources.d.ts.map +1 -1
- package/dist/plugins/resources.js +22 -12
- package/dist/plugins/resources.js.map +1 -1
- package/dist/policy.d.ts +1 -1
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +59 -11
- package/dist/policy.js.map +1 -1
- package/dist/run.d.ts +2 -0
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +38 -33
- package/dist/run.js.map +1 -1
- package/dist/runtime-instructions.d.ts +1 -1
- package/dist/runtime-instructions.d.ts.map +1 -1
- package/dist/runtime-instructions.js +15 -7
- package/dist/runtime-instructions.js.map +1 -1
- package/dist/session-navigation.d.ts +6 -0
- package/dist/session-navigation.d.ts.map +1 -0
- package/dist/session-navigation.js +64 -0
- package/dist/session-navigation.js.map +1 -0
- package/dist/session-picker.d.ts +1 -1
- package/dist/session-picker.d.ts.map +1 -1
- package/dist/session-picker.js +23 -32
- package/dist/session-picker.js.map +1 -1
- package/dist/settings.d.ts +718 -0
- package/dist/settings.d.ts.map +1 -0
- package/dist/settings.js +14 -0
- package/dist/settings.js.map +1 -0
- package/dist/skills.d.ts +1 -1
- package/dist/skills.d.ts.map +1 -1
- package/dist/skills.js +10 -12
- package/dist/skills.js.map +1 -1
- package/dist/slash-commands.d.ts +2 -2
- package/dist/slash-commands.d.ts.map +1 -1
- package/dist/slash-commands.js +149 -67
- package/dist/slash-commands.js.map +1 -1
- package/dist/team-execution.d.ts +10 -0
- package/dist/team-execution.d.ts.map +1 -0
- package/dist/team-execution.js +29 -0
- package/dist/team-execution.js.map +1 -0
- package/dist/team-patches.d.ts.map +1 -1
- package/dist/team-patches.js +149 -52
- package/dist/team-patches.js.map +1 -1
- package/dist/team-plan.d.ts +2 -2
- package/dist/team-plan.d.ts.map +1 -1
- package/dist/team-plan.js +115 -34
- package/dist/team-plan.js.map +1 -1
- package/dist/team-recovery.d.ts +1 -1
- package/dist/team-recovery.d.ts.map +1 -1
- package/dist/team-recovery.js +40 -10
- package/dist/team-recovery.js.map +1 -1
- package/dist/team-v2.d.ts.map +1 -1
- package/dist/team-v2.js +335 -104
- package/dist/team-v2.js.map +1 -1
- package/dist/team-verification.d.ts +4 -2
- package/dist/team-verification.d.ts.map +1 -1
- package/dist/team-verification.js +300 -97
- package/dist/team-verification.js.map +1 -1
- package/dist/team.d.ts +2 -2
- package/dist/team.d.ts.map +1 -1
- package/dist/team.js +172 -62
- package/dist/team.js.map +1 -1
- package/dist/terminal-web.d.ts +1 -0
- package/dist/terminal-web.d.ts.map +1 -1
- package/dist/terminal-web.js +28 -10
- package/dist/terminal-web.js.map +1 -1
- package/dist/ui/actions.d.ts.map +1 -1
- package/dist/ui/actions.js.map +1 -1
- package/dist/ui/retained-tui.d.ts.map +1 -1
- package/dist/ui/retained-tui.js +231 -173
- package/dist/ui/retained-tui.js.map +1 -1
- package/dist/ui/{prototype-view.d.ts → terminal-view.d.ts} +7 -7
- package/dist/ui/terminal-view.d.ts.map +1 -0
- package/dist/ui/{prototype-view.js → terminal-view.js} +185 -98
- package/dist/ui/terminal-view.js.map +1 -0
- package/dist/web-commands.d.ts.map +1 -1
- package/dist/web-commands.js +160 -57
- package/dist/web-commands.js.map +1 -1
- package/dist/web-extension.d.ts.map +1 -1
- package/dist/web-extension.js +14 -4
- package/dist/web-extension.js.map +1 -1
- package/dist/web-server.d.ts.map +1 -1
- package/dist/web-server.js +2 -1
- package/dist/web-server.js.map +1 -1
- package/dist/web-ui.d.ts.map +1 -1
- package/dist/web-ui.js +167 -40
- package/dist/web-ui.js.map +1 -1
- package/dist/workspace-configuration.d.ts +7 -0
- package/dist/workspace-configuration.d.ts.map +1 -0
- package/dist/workspace-configuration.js +134 -0
- package/dist/workspace-configuration.js.map +1 -0
- package/dist/workspace-state.d.ts +20 -0
- package/dist/workspace-state.d.ts.map +1 -0
- package/dist/workspace-state.js +2 -0
- package/dist/workspace-state.js.map +1 -0
- package/dist/workspace.d.ts +26 -43
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +261 -323
- package/dist/workspace.js.map +1 -1
- package/package.json +21 -31
- package/dist/cli/chunk-7ISOHFS7.js.map +0 -7
- package/dist/cli/chunk-F4XRPLUM.js.map +0 -7
- package/dist/cli/chunk-H7SNBFO4.js +0 -5522
- package/dist/cli/chunk-H7SNBFO4.js.map +0 -7
- package/dist/cli/chunk-HOU5ITUK.js.map +0 -7
- package/dist/cli/chunk-K5JWPNSY.js.map +0 -7
- package/dist/cli/chunk-LVTRXPDS.js.map +0 -7
- package/dist/cli/chunk-VAZMCNBB.js +0 -686
- package/dist/cli/chunk-VAZMCNBB.js.map +0 -7
- package/dist/cli/chunk-WOFEI42C.js +0 -7820
- package/dist/cli/chunk-WOFEI42C.js.map +0 -7
- package/dist/cli/file-type-R2T7TBHI.js.map +0 -7
- package/dist/cli/mcp-auth-UNRHSIKJ.js +0 -63
- package/dist/cli/mcp-auth-UNRHSIKJ.js.map +0 -7
- package/dist/cli/retained-tui-VJ3VX4R3.js.map +0 -7
- package/dist/cli/team-v2-JGBBQ7FR.js.map +0 -7
- package/dist/cli/tui-SA74DKMA.js +0 -1705
- package/dist/cli/tui-SA74DKMA.js.map +0 -7
- package/dist/cli/web-server-FOMNPY7Q.js.map +0 -7
- package/dist/delegation.d.ts +0 -2
- package/dist/delegation.d.ts.map +0 -1
- package/dist/delegation.js +0 -2
- package/dist/delegation.js.map +0 -1
- package/dist/history-memory.d.ts +0 -2
- package/dist/history-memory.d.ts.map +0 -1
- package/dist/history-memory.js +0 -2
- package/dist/history-memory.js.map +0 -1
- package/dist/subagent-budget.d.ts +0 -2
- package/dist/subagent-budget.d.ts.map +0 -1
- package/dist/subagent-budget.js +0 -2
- package/dist/subagent-budget.js.map +0 -1
- package/dist/subagent-files.d.ts +0 -2
- package/dist/subagent-files.d.ts.map +0 -1
- package/dist/subagent-files.js +0 -2
- package/dist/subagent-files.js.map +0 -1
- package/dist/subagent-host.d.ts +0 -2
- package/dist/subagent-host.d.ts.map +0 -1
- package/dist/subagent-host.js +0 -2
- package/dist/subagent-host.js.map +0 -1
- package/dist/subagent-instructions.d.ts +0 -2
- package/dist/subagent-instructions.d.ts.map +0 -1
- package/dist/subagent-instructions.js +0 -2
- package/dist/subagent-instructions.js.map +0 -1
- package/dist/subagents.d.ts +0 -2
- package/dist/subagents.d.ts.map +0 -1
- package/dist/subagents.js +0 -2
- package/dist/subagents.js.map +0 -1
- package/dist/summarizer.d.ts +0 -2
- package/dist/summarizer.d.ts.map +0 -1
- package/dist/summarizer.js +0 -2
- package/dist/summarizer.js.map +0 -1
- package/dist/tui.d.ts +0 -7
- package/dist/tui.d.ts.map +0 -1
- package/dist/tui.js +0 -1109
- package/dist/tui.js.map +0 -1
- package/dist/ui/prototype-view.d.ts.map +0 -1
- package/dist/ui/prototype-view.js.map +0 -1
- /package/dist/cli/{configured-WHY3GGAJ.js.map → configured-ACNM6TRQ.js.map} +0 -0
- /package/dist/cli/{team-T7G7PPNN.js.map → team-O2I5BXHM.js.map} +0 -0
- /package/dist/cli/{web-ui-COB6PKC5.js.map → web-ui-UWQUFE4W.js.map} +0 -0
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
import { type MayConfig } from "@sortedyuan/may/config";
|
|
2
|
+
import type { RunBudget } from "@sortedyuan/may/core";
|
|
3
|
+
import type { PluginModuleSelection } from "@sortedyuan/may/plugin";
|
|
4
|
+
import type { MaybeCodeSubagentSettings } from "@sortedyuan/coordination/delegation/configuration";
|
|
5
|
+
import type { CodingExecutionIsolation, FetchToolOptions } from "@sortedyuan/coding-tools";
|
|
6
|
+
export declare const MAYBECODE_APPLICATION_ID = "maybecode";
|
|
7
|
+
export interface MaybeCodeGitSettings {
|
|
8
|
+
readonly autoCommit?: boolean;
|
|
9
|
+
readonly readOnly?: boolean;
|
|
10
|
+
readonly dataRoot?: string;
|
|
11
|
+
readonly worktreesRoot?: string;
|
|
12
|
+
readonly excludedPaths?: readonly string[];
|
|
13
|
+
}
|
|
14
|
+
export interface MaybeCodeMcpHostSettings {
|
|
15
|
+
readonly roots?: boolean;
|
|
16
|
+
readonly sampling?: boolean;
|
|
17
|
+
readonly legacyRequests?: "isolated";
|
|
18
|
+
}
|
|
19
|
+
interface MaybeCodeMcpServerBaseSettings {
|
|
20
|
+
readonly enabled?: boolean;
|
|
21
|
+
readonly required?: boolean;
|
|
22
|
+
readonly protocolMode?: "legacy" | "auto";
|
|
23
|
+
readonly host?: MaybeCodeMcpHostSettings;
|
|
24
|
+
readonly tasks?: boolean;
|
|
25
|
+
readonly requestTimeoutMs?: number;
|
|
26
|
+
readonly maxTotalTimeoutMs?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface MaybeCodeMcpStdioServerSettings extends MaybeCodeMcpServerBaseSettings {
|
|
29
|
+
readonly transport?: "stdio";
|
|
30
|
+
readonly command?: string;
|
|
31
|
+
readonly args?: readonly string[];
|
|
32
|
+
readonly cwd?: string;
|
|
33
|
+
readonly env?: Readonly<Record<string, string>>;
|
|
34
|
+
readonly maxBufferSize?: number;
|
|
35
|
+
readonly stderrMaxBytes?: number;
|
|
36
|
+
}
|
|
37
|
+
export interface MaybeCodeMcpOAuthSettings {
|
|
38
|
+
readonly type: "oauth";
|
|
39
|
+
readonly account?: string;
|
|
40
|
+
readonly clientId?: string;
|
|
41
|
+
readonly expectedIssuer?: string;
|
|
42
|
+
readonly clientMetadataUrl?: string;
|
|
43
|
+
readonly scopes?: readonly string[];
|
|
44
|
+
readonly authorizationOrigins?: readonly string[];
|
|
45
|
+
readonly callbackPort?: number;
|
|
46
|
+
}
|
|
47
|
+
export interface MaybeCodeMcpHttpServerSettings extends MaybeCodeMcpServerBaseSettings {
|
|
48
|
+
readonly transport: "streamable-http";
|
|
49
|
+
readonly url?: string;
|
|
50
|
+
readonly headers?: Readonly<Record<string, string>>;
|
|
51
|
+
readonly auth?: MaybeCodeMcpOAuthSettings;
|
|
52
|
+
}
|
|
53
|
+
export type MaybeCodeMcpServerSettings = MaybeCodeMcpStdioServerSettings | MaybeCodeMcpHttpServerSettings;
|
|
54
|
+
export interface MaybeCodeObservabilitySettings {
|
|
55
|
+
readonly enabled?: boolean;
|
|
56
|
+
readonly exporter?: "file";
|
|
57
|
+
readonly file?: string;
|
|
58
|
+
readonly samplingRatio?: number;
|
|
59
|
+
readonly retentionDays?: number;
|
|
60
|
+
readonly batch?: {
|
|
61
|
+
readonly maxQueueSize?: number;
|
|
62
|
+
readonly maxExportBatchSize?: number;
|
|
63
|
+
readonly scheduledDelayMs?: number;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export interface MaybeCodeRetrySettings {
|
|
67
|
+
readonly maxAttempts?: number;
|
|
68
|
+
readonly baseDelayMs?: number;
|
|
69
|
+
readonly maxDelayMs?: number;
|
|
70
|
+
readonly jitterRatio?: number;
|
|
71
|
+
}
|
|
72
|
+
/** The `apps.maybecode` entry of a May configuration file, validated against `config-schema.json`. */
|
|
73
|
+
export interface MaybeCodeSettings {
|
|
74
|
+
readonly execution?: CodingExecutionIsolation;
|
|
75
|
+
readonly fetch?: FetchToolOptions;
|
|
76
|
+
readonly requestRecording?: "off" | "required";
|
|
77
|
+
readonly providerBodyRecording?: boolean;
|
|
78
|
+
readonly git?: false | MaybeCodeGitSettings;
|
|
79
|
+
readonly plugins?: readonly PluginModuleSelection[];
|
|
80
|
+
readonly permissionMode?: "default" | "yolo";
|
|
81
|
+
readonly persistentRules?: boolean;
|
|
82
|
+
readonly delegationNotifications?: boolean;
|
|
83
|
+
readonly instructionsDirectory?: string;
|
|
84
|
+
readonly skills?: false | {
|
|
85
|
+
readonly directories?: readonly string[];
|
|
86
|
+
};
|
|
87
|
+
readonly runBudget?: RunBudget;
|
|
88
|
+
readonly subagents?: false | MaybeCodeSubagentSettings;
|
|
89
|
+
readonly autoCompaction?: {
|
|
90
|
+
readonly mode?: "prune-summary" | "history-reference" | "provider-native";
|
|
91
|
+
};
|
|
92
|
+
readonly retry?: false | MaybeCodeRetrySettings;
|
|
93
|
+
readonly observability?: false | MaybeCodeObservabilitySettings;
|
|
94
|
+
readonly mcpServers?: false | Readonly<Record<string, MaybeCodeMcpServerSettings>>;
|
|
95
|
+
}
|
|
96
|
+
export declare const maybeCodeConfigSection: {
|
|
97
|
+
type: string;
|
|
98
|
+
description: string;
|
|
99
|
+
properties: {
|
|
100
|
+
execution: {
|
|
101
|
+
default: {
|
|
102
|
+
mode: string;
|
|
103
|
+
};
|
|
104
|
+
oneOf: ({
|
|
105
|
+
type: string;
|
|
106
|
+
properties: {
|
|
107
|
+
mode: {
|
|
108
|
+
const: string;
|
|
109
|
+
};
|
|
110
|
+
image?: never;
|
|
111
|
+
network?: never;
|
|
112
|
+
memoryBytes?: never;
|
|
113
|
+
cpuCount?: never;
|
|
114
|
+
};
|
|
115
|
+
required: string[];
|
|
116
|
+
additionalProperties: boolean;
|
|
117
|
+
} | {
|
|
118
|
+
type: string;
|
|
119
|
+
properties: {
|
|
120
|
+
mode: {
|
|
121
|
+
const: string;
|
|
122
|
+
};
|
|
123
|
+
image: {
|
|
124
|
+
$ref: string;
|
|
125
|
+
};
|
|
126
|
+
network: {
|
|
127
|
+
const: string;
|
|
128
|
+
};
|
|
129
|
+
memoryBytes: {
|
|
130
|
+
$ref: string;
|
|
131
|
+
};
|
|
132
|
+
cpuCount: {
|
|
133
|
+
type: string;
|
|
134
|
+
exclusiveMinimum: number;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
required: string[];
|
|
138
|
+
additionalProperties: boolean;
|
|
139
|
+
})[];
|
|
140
|
+
};
|
|
141
|
+
fetch: {
|
|
142
|
+
type: string;
|
|
143
|
+
properties: {
|
|
144
|
+
allowedOrigins: {
|
|
145
|
+
type: string;
|
|
146
|
+
uniqueItems: boolean;
|
|
147
|
+
items: {
|
|
148
|
+
type: string;
|
|
149
|
+
pattern: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
maxBytes: {
|
|
153
|
+
$ref: string;
|
|
154
|
+
};
|
|
155
|
+
timeoutMs: {
|
|
156
|
+
$ref: string;
|
|
157
|
+
};
|
|
158
|
+
maxRedirects: {
|
|
159
|
+
type: string;
|
|
160
|
+
minimum: number;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
additionalProperties: boolean;
|
|
164
|
+
};
|
|
165
|
+
requestRecording: {
|
|
166
|
+
enum: string[];
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
providerBodyRecording: {
|
|
170
|
+
type: string;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
git: {
|
|
174
|
+
oneOf: ({
|
|
175
|
+
const: boolean;
|
|
176
|
+
type?: never;
|
|
177
|
+
properties?: never;
|
|
178
|
+
additionalProperties?: never;
|
|
179
|
+
} | {
|
|
180
|
+
const?: never;
|
|
181
|
+
type: string;
|
|
182
|
+
properties: {
|
|
183
|
+
autoCommit: {
|
|
184
|
+
type: string;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
readOnly: {
|
|
188
|
+
type: string;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
dataRoot: {
|
|
192
|
+
$ref: string;
|
|
193
|
+
};
|
|
194
|
+
worktreesRoot: {
|
|
195
|
+
$ref: string;
|
|
196
|
+
};
|
|
197
|
+
excludedPaths: {
|
|
198
|
+
type: string;
|
|
199
|
+
items: {
|
|
200
|
+
$ref: string;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
additionalProperties: boolean;
|
|
205
|
+
})[];
|
|
206
|
+
};
|
|
207
|
+
plugins: {
|
|
208
|
+
$ref: string;
|
|
209
|
+
};
|
|
210
|
+
permissionMode: {
|
|
211
|
+
enum: string[];
|
|
212
|
+
default: string;
|
|
213
|
+
description: string;
|
|
214
|
+
};
|
|
215
|
+
persistentRules: {
|
|
216
|
+
type: string;
|
|
217
|
+
default: boolean;
|
|
218
|
+
description: string;
|
|
219
|
+
};
|
|
220
|
+
delegationNotifications: {
|
|
221
|
+
type: string;
|
|
222
|
+
default: boolean;
|
|
223
|
+
description: string;
|
|
224
|
+
};
|
|
225
|
+
instructionsDirectory: {
|
|
226
|
+
$ref: string;
|
|
227
|
+
};
|
|
228
|
+
skills: {
|
|
229
|
+
oneOf: ({
|
|
230
|
+
type?: never;
|
|
231
|
+
properties?: never;
|
|
232
|
+
additionalProperties?: never;
|
|
233
|
+
const: boolean;
|
|
234
|
+
} | {
|
|
235
|
+
const?: never;
|
|
236
|
+
type: string;
|
|
237
|
+
properties: {
|
|
238
|
+
directories: {
|
|
239
|
+
type: string;
|
|
240
|
+
maxItems: number;
|
|
241
|
+
items: {
|
|
242
|
+
$ref: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
additionalProperties: boolean;
|
|
247
|
+
})[];
|
|
248
|
+
};
|
|
249
|
+
runBudget: {
|
|
250
|
+
$ref: string;
|
|
251
|
+
};
|
|
252
|
+
subagents: {
|
|
253
|
+
oneOf: ({
|
|
254
|
+
type?: never;
|
|
255
|
+
properties?: never;
|
|
256
|
+
additionalProperties?: never;
|
|
257
|
+
const: boolean;
|
|
258
|
+
} | {
|
|
259
|
+
const?: never;
|
|
260
|
+
type: string;
|
|
261
|
+
properties: {
|
|
262
|
+
enabled: {
|
|
263
|
+
type: string;
|
|
264
|
+
default: boolean;
|
|
265
|
+
description: string;
|
|
266
|
+
};
|
|
267
|
+
roles: {
|
|
268
|
+
type: string;
|
|
269
|
+
minProperties: number;
|
|
270
|
+
maxProperties: number;
|
|
271
|
+
propertyNames: {
|
|
272
|
+
$ref: string;
|
|
273
|
+
};
|
|
274
|
+
additionalProperties: {
|
|
275
|
+
$ref: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
defaultRole: {
|
|
279
|
+
$ref: string;
|
|
280
|
+
};
|
|
281
|
+
limits: {
|
|
282
|
+
type: string;
|
|
283
|
+
properties: {
|
|
284
|
+
maxConcurrent: {
|
|
285
|
+
type: string;
|
|
286
|
+
minimum: number;
|
|
287
|
+
maximum: number;
|
|
288
|
+
default: number;
|
|
289
|
+
};
|
|
290
|
+
maxTasks: {
|
|
291
|
+
type: string;
|
|
292
|
+
minimum: number;
|
|
293
|
+
maximum: number;
|
|
294
|
+
default: number;
|
|
295
|
+
};
|
|
296
|
+
maxDepth: {
|
|
297
|
+
type: string;
|
|
298
|
+
minimum: number;
|
|
299
|
+
maximum: number;
|
|
300
|
+
default: number;
|
|
301
|
+
};
|
|
302
|
+
maxTaskTurns: {
|
|
303
|
+
type: string;
|
|
304
|
+
minimum: number;
|
|
305
|
+
maximum: number;
|
|
306
|
+
default: number;
|
|
307
|
+
};
|
|
308
|
+
maxDurationMs: {
|
|
309
|
+
type: string;
|
|
310
|
+
minimum: number;
|
|
311
|
+
maximum: number;
|
|
312
|
+
default: number;
|
|
313
|
+
};
|
|
314
|
+
maxInputBytes: {
|
|
315
|
+
type: string;
|
|
316
|
+
minimum: number;
|
|
317
|
+
maximum: number;
|
|
318
|
+
default: number;
|
|
319
|
+
};
|
|
320
|
+
maxOutputBytes: {
|
|
321
|
+
type: string;
|
|
322
|
+
minimum: number;
|
|
323
|
+
maximum: number;
|
|
324
|
+
default: number;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
additionalProperties: boolean;
|
|
328
|
+
};
|
|
329
|
+
runBudget: {
|
|
330
|
+
$ref: string;
|
|
331
|
+
description: string;
|
|
332
|
+
};
|
|
333
|
+
maxModelCalls: {
|
|
334
|
+
type: string;
|
|
335
|
+
minimum: number;
|
|
336
|
+
maximum: number;
|
|
337
|
+
default: number;
|
|
338
|
+
description: string;
|
|
339
|
+
};
|
|
340
|
+
maxTotalTokens: {
|
|
341
|
+
$ref: string;
|
|
342
|
+
description: string;
|
|
343
|
+
};
|
|
344
|
+
reservationTokens: {
|
|
345
|
+
type: string;
|
|
346
|
+
minimum: number;
|
|
347
|
+
maximum: number;
|
|
348
|
+
default: number;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
additionalProperties: boolean;
|
|
352
|
+
})[];
|
|
353
|
+
};
|
|
354
|
+
autoCompaction: {
|
|
355
|
+
type: string;
|
|
356
|
+
properties: {
|
|
357
|
+
mode: {
|
|
358
|
+
enum: string[];
|
|
359
|
+
default: string;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
additionalProperties: boolean;
|
|
363
|
+
};
|
|
364
|
+
retry: {
|
|
365
|
+
oneOf: ({
|
|
366
|
+
type?: never;
|
|
367
|
+
properties?: never;
|
|
368
|
+
additionalProperties?: never;
|
|
369
|
+
const: boolean;
|
|
370
|
+
} | {
|
|
371
|
+
const?: never;
|
|
372
|
+
type: string;
|
|
373
|
+
properties: {
|
|
374
|
+
maxAttempts: {
|
|
375
|
+
$ref: string;
|
|
376
|
+
};
|
|
377
|
+
baseDelayMs: {
|
|
378
|
+
type: string;
|
|
379
|
+
minimum: number;
|
|
380
|
+
};
|
|
381
|
+
maxDelayMs: {
|
|
382
|
+
type: string;
|
|
383
|
+
minimum: number;
|
|
384
|
+
};
|
|
385
|
+
jitterRatio: {
|
|
386
|
+
type: string;
|
|
387
|
+
minimum: number;
|
|
388
|
+
maximum: number;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
additionalProperties: boolean;
|
|
392
|
+
})[];
|
|
393
|
+
};
|
|
394
|
+
observability: {
|
|
395
|
+
oneOf: ({
|
|
396
|
+
type?: never;
|
|
397
|
+
properties?: never;
|
|
398
|
+
additionalProperties?: never;
|
|
399
|
+
const: boolean;
|
|
400
|
+
} | {
|
|
401
|
+
const?: never;
|
|
402
|
+
type: string;
|
|
403
|
+
properties: {
|
|
404
|
+
enabled: {
|
|
405
|
+
type: string;
|
|
406
|
+
default: boolean;
|
|
407
|
+
};
|
|
408
|
+
exporter: {
|
|
409
|
+
const: string;
|
|
410
|
+
default: string;
|
|
411
|
+
};
|
|
412
|
+
file: {
|
|
413
|
+
$ref: string;
|
|
414
|
+
};
|
|
415
|
+
samplingRatio: {
|
|
416
|
+
type: string;
|
|
417
|
+
minimum: number;
|
|
418
|
+
maximum: number;
|
|
419
|
+
};
|
|
420
|
+
retentionDays: {
|
|
421
|
+
$ref: string;
|
|
422
|
+
default: number;
|
|
423
|
+
};
|
|
424
|
+
batch: {
|
|
425
|
+
type: string;
|
|
426
|
+
properties: {
|
|
427
|
+
maxQueueSize: {
|
|
428
|
+
$ref: string;
|
|
429
|
+
};
|
|
430
|
+
maxExportBatchSize: {
|
|
431
|
+
$ref: string;
|
|
432
|
+
};
|
|
433
|
+
scheduledDelayMs: {
|
|
434
|
+
type: string;
|
|
435
|
+
minimum: number;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
additionalProperties: boolean;
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
additionalProperties: boolean;
|
|
442
|
+
})[];
|
|
443
|
+
};
|
|
444
|
+
mcpServers: {
|
|
445
|
+
oneOf: ({
|
|
446
|
+
type?: never;
|
|
447
|
+
additionalProperties?: never;
|
|
448
|
+
const: boolean;
|
|
449
|
+
propertyNames?: never;
|
|
450
|
+
} | {
|
|
451
|
+
const?: never;
|
|
452
|
+
type: string;
|
|
453
|
+
propertyNames: {
|
|
454
|
+
pattern: string;
|
|
455
|
+
};
|
|
456
|
+
additionalProperties: {
|
|
457
|
+
oneOf: {
|
|
458
|
+
$ref: string;
|
|
459
|
+
}[];
|
|
460
|
+
};
|
|
461
|
+
})[];
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
additionalProperties: boolean;
|
|
465
|
+
$defs: {
|
|
466
|
+
subagentIdentifier: {
|
|
467
|
+
type: string;
|
|
468
|
+
pattern: string;
|
|
469
|
+
not: {
|
|
470
|
+
enum: string[];
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
subagentRole: {
|
|
474
|
+
type: string;
|
|
475
|
+
properties: {
|
|
476
|
+
model: {
|
|
477
|
+
$ref: string;
|
|
478
|
+
description: string;
|
|
479
|
+
};
|
|
480
|
+
reasoningEffort: {
|
|
481
|
+
type: string;
|
|
482
|
+
pattern: string;
|
|
483
|
+
maxLength: number;
|
|
484
|
+
};
|
|
485
|
+
instructions: {
|
|
486
|
+
type: string;
|
|
487
|
+
pattern: string;
|
|
488
|
+
maxLength: number;
|
|
489
|
+
};
|
|
490
|
+
tools: {
|
|
491
|
+
type: string;
|
|
492
|
+
maxItems: number;
|
|
493
|
+
uniqueItems: boolean;
|
|
494
|
+
items: {
|
|
495
|
+
enum: string[];
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
delegateTo: {
|
|
499
|
+
type: string;
|
|
500
|
+
maxItems: number;
|
|
501
|
+
uniqueItems: boolean;
|
|
502
|
+
items: {
|
|
503
|
+
$ref: string;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
runBudget: {
|
|
507
|
+
$ref: string;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
additionalProperties: boolean;
|
|
511
|
+
};
|
|
512
|
+
mcpStdioServer: {
|
|
513
|
+
type: string;
|
|
514
|
+
properties: {
|
|
515
|
+
enabled: {
|
|
516
|
+
type: string;
|
|
517
|
+
default: boolean;
|
|
518
|
+
};
|
|
519
|
+
required: {
|
|
520
|
+
type: string;
|
|
521
|
+
default: boolean;
|
|
522
|
+
};
|
|
523
|
+
transport: {
|
|
524
|
+
const: string;
|
|
525
|
+
default: string;
|
|
526
|
+
};
|
|
527
|
+
protocolMode: {
|
|
528
|
+
enum: string[];
|
|
529
|
+
default: string;
|
|
530
|
+
};
|
|
531
|
+
host: {
|
|
532
|
+
$ref: string;
|
|
533
|
+
};
|
|
534
|
+
tasks: {
|
|
535
|
+
type: string;
|
|
536
|
+
default: boolean;
|
|
537
|
+
description: string;
|
|
538
|
+
};
|
|
539
|
+
command: {
|
|
540
|
+
$ref: string;
|
|
541
|
+
};
|
|
542
|
+
args: {
|
|
543
|
+
type: string;
|
|
544
|
+
items: {
|
|
545
|
+
type: string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
cwd: {
|
|
549
|
+
$ref: string;
|
|
550
|
+
};
|
|
551
|
+
env: {
|
|
552
|
+
type: string;
|
|
553
|
+
propertyNames: {
|
|
554
|
+
minLength: number;
|
|
555
|
+
};
|
|
556
|
+
additionalProperties: {
|
|
557
|
+
type: string;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
requestTimeoutMs: {
|
|
561
|
+
$ref: string;
|
|
562
|
+
};
|
|
563
|
+
maxTotalTimeoutMs: {
|
|
564
|
+
$ref: string;
|
|
565
|
+
};
|
|
566
|
+
maxBufferSize: {
|
|
567
|
+
$ref: string;
|
|
568
|
+
};
|
|
569
|
+
stderrMaxBytes: {
|
|
570
|
+
$ref: string;
|
|
571
|
+
default: number;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
anyOf: ({
|
|
575
|
+
required: string[];
|
|
576
|
+
properties: {
|
|
577
|
+
enabled: {
|
|
578
|
+
const: boolean;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
} | {
|
|
582
|
+
properties?: never;
|
|
583
|
+
required: string[];
|
|
584
|
+
})[];
|
|
585
|
+
additionalProperties: boolean;
|
|
586
|
+
};
|
|
587
|
+
mcpHttpServer: {
|
|
588
|
+
type: string;
|
|
589
|
+
required: string[];
|
|
590
|
+
properties: {
|
|
591
|
+
enabled: {
|
|
592
|
+
type: string;
|
|
593
|
+
default: boolean;
|
|
594
|
+
};
|
|
595
|
+
required: {
|
|
596
|
+
type: string;
|
|
597
|
+
default: boolean;
|
|
598
|
+
};
|
|
599
|
+
transport: {
|
|
600
|
+
const: string;
|
|
601
|
+
};
|
|
602
|
+
url: {
|
|
603
|
+
$ref: string;
|
|
604
|
+
description: string;
|
|
605
|
+
};
|
|
606
|
+
headers: {
|
|
607
|
+
type: string;
|
|
608
|
+
propertyNames: {
|
|
609
|
+
minLength: number;
|
|
610
|
+
};
|
|
611
|
+
additionalProperties: {
|
|
612
|
+
type: string;
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
auth: {
|
|
616
|
+
$ref: string;
|
|
617
|
+
};
|
|
618
|
+
protocolMode: {
|
|
619
|
+
enum: string[];
|
|
620
|
+
default: string;
|
|
621
|
+
};
|
|
622
|
+
host: {
|
|
623
|
+
$ref: string;
|
|
624
|
+
};
|
|
625
|
+
tasks: {
|
|
626
|
+
type: string;
|
|
627
|
+
default: boolean;
|
|
628
|
+
description: string;
|
|
629
|
+
};
|
|
630
|
+
requestTimeoutMs: {
|
|
631
|
+
$ref: string;
|
|
632
|
+
};
|
|
633
|
+
maxTotalTimeoutMs: {
|
|
634
|
+
$ref: string;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
anyOf: ({
|
|
638
|
+
required: string[];
|
|
639
|
+
properties: {
|
|
640
|
+
enabled: {
|
|
641
|
+
const: boolean;
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
} | {
|
|
645
|
+
properties?: never;
|
|
646
|
+
required: string[];
|
|
647
|
+
})[];
|
|
648
|
+
additionalProperties: boolean;
|
|
649
|
+
};
|
|
650
|
+
mcpHostOptions: {
|
|
651
|
+
type: string;
|
|
652
|
+
description: string;
|
|
653
|
+
properties: {
|
|
654
|
+
roots: {
|
|
655
|
+
type: string;
|
|
656
|
+
default: boolean;
|
|
657
|
+
};
|
|
658
|
+
sampling: {
|
|
659
|
+
type: string;
|
|
660
|
+
default: boolean;
|
|
661
|
+
};
|
|
662
|
+
legacyRequests: {
|
|
663
|
+
const: string;
|
|
664
|
+
description: string;
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
additionalProperties: boolean;
|
|
668
|
+
};
|
|
669
|
+
mcpOAuthOptions: {
|
|
670
|
+
type: string;
|
|
671
|
+
required: string[];
|
|
672
|
+
properties: {
|
|
673
|
+
type: {
|
|
674
|
+
const: string;
|
|
675
|
+
};
|
|
676
|
+
account: {
|
|
677
|
+
$ref: string;
|
|
678
|
+
};
|
|
679
|
+
clientId: {
|
|
680
|
+
$ref: string;
|
|
681
|
+
};
|
|
682
|
+
expectedIssuer: {
|
|
683
|
+
$ref: string;
|
|
684
|
+
};
|
|
685
|
+
clientMetadataUrl: {
|
|
686
|
+
$ref: string;
|
|
687
|
+
};
|
|
688
|
+
scopes: {
|
|
689
|
+
type: string;
|
|
690
|
+
items: {
|
|
691
|
+
$ref: string;
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
authorizationOrigins: {
|
|
695
|
+
type: string;
|
|
696
|
+
items: {
|
|
697
|
+
$ref: string;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
callbackPort: {
|
|
701
|
+
type: string;
|
|
702
|
+
minimum: number;
|
|
703
|
+
maximum: number;
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
dependentRequired: {
|
|
707
|
+
clientId: string[];
|
|
708
|
+
};
|
|
709
|
+
not: {
|
|
710
|
+
required: string[];
|
|
711
|
+
};
|
|
712
|
+
additionalProperties: boolean;
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
export declare function readMaybeCodeSettings(config: MayConfig): MaybeCodeSettings;
|
|
717
|
+
export {};
|
|
718
|
+
//# sourceMappingURL=settings.d.ts.map
|