agent-afk 5.138.1 → 5.138.3
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/agent/tools/nesting.d.ts +1 -1
- package/dist/agent/tools/skill-executor/types.d.ts +1 -0
- package/dist/agent/tools/subagent/child-config.d.ts +1 -0
- package/dist/agent/tools/subagent-executor.d.ts +1 -0
- package/dist/cli.mjs +289 -289
- package/dist/index.mjs +122 -122
- package/dist/skills/index.d.ts +1 -0
- package/dist/skills/mint/_phases/build.d.ts +2 -1
- package/dist/skills/mint/_phases/heal.d.ts +2 -1
- package/dist/skills/mint/_phases/parallelize-dispatch.d.ts +2 -1
- package/dist/skills/mint/_phases/plan.d.ts +2 -1
- package/dist/skills/mint/_phases/research.d.ts +2 -1
- package/dist/skills/mint/_phases/ship.d.ts +2 -1
- package/dist/skills/mint/_phases/spec.d.ts +2 -1
- package/dist/skills/mint/_phases/verify.d.ts +2 -1
- package/dist/telegram.mjs +123 -123
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ export interface CreateChildProviderFactoryOptions {
|
|
|
29
29
|
}
|
|
30
30
|
export declare function createChildProviderFactory(opts?: CreateChildProviderFactoryOptions): (args: ChildProviderFactoryArgs) => ModelProvider;
|
|
31
31
|
export declare function buildReadOnlyReconProvider(model: AgentModelInput | undefined, openaiBaseUrl?: string, allowedTools?: readonly string[]): ModelProvider;
|
|
32
|
-
export declare function createChildSkillExecutorFactory(defaultModel: AgentModelInput, apiKey: string | undefined, childProviderFactory: (args: ChildProviderFactoryArgs) => ModelProvider, baseUrl?: string, traceWriter?: TraceSink, backgroundRegistry?: BackgroundAgentRegistry, cwd?: string, resolveApiKeyForModel?: (model: string) => string | undefined, surface?: Surface, defaultSubagentModel?: AgentModelInput, agentRegistry?: AgentRegistry, openaiBaseUrl?: string, xaiBaseUrl?: string): (depth: number, maxDepth: number, signal: AbortSignal, inheritedCwd?: string, inheritedReadScope?: ReadScopeInputs, skillDispatchName?: string) => SkillExecutor;
|
|
32
|
+
export declare function createChildSkillExecutorFactory(defaultModel: AgentModelInput, apiKey: string | undefined, childProviderFactory: (args: ChildProviderFactoryArgs) => ModelProvider, baseUrl?: string, traceWriter?: TraceSink, backgroundRegistry?: BackgroundAgentRegistry, cwd?: string, resolveApiKeyForModel?: (model: string) => string | undefined, surface?: Surface, defaultSubagentModel?: AgentModelInput, agentRegistry?: AgentRegistry, openaiBaseUrl?: string, xaiBaseUrl?: string, workspaceStore?: WorkspaceStore): (depth: number, maxDepth: number, signal: AbortSignal, inheritedCwd?: string, inheritedReadScope?: ReadScopeInputs, skillDispatchName?: string) => SkillExecutor;
|
|
33
33
|
export type PhaseRole = 'read-only' | 'read-write';
|
|
34
34
|
export declare function buildSkillRestrictedProvider(allowedTools: string[], model: AgentModelInput | undefined, readOnlyBash?: boolean, openaiBaseUrl?: string): ModelProvider;
|
|
35
35
|
export declare function buildPhaseRestrictedProvider(_role: 'read-only', model: AgentModelInput | undefined): ModelProvider;
|
|
@@ -28,6 +28,7 @@ export interface SkillExecutorContext {
|
|
|
28
28
|
getReadScopeInputs?: () => ReadScopeInputs;
|
|
29
29
|
agentRegistry?: import('../../agents/index.js').AgentRegistry;
|
|
30
30
|
skillDispatchName?: string;
|
|
31
|
+
workspaceStore?: import('../../workspace/index.js').WorkspaceStore;
|
|
31
32
|
}
|
|
32
33
|
export interface SkillInput {
|
|
33
34
|
name: string;
|
|
@@ -33,6 +33,7 @@ export interface BuildChildConfigArgs {
|
|
|
33
33
|
agentRegistry?: AgentRegistry;
|
|
34
34
|
parentModel?: AgentModelInput;
|
|
35
35
|
traceWriter?: TraceSink;
|
|
36
|
+
workspaceStore?: import('../../workspace/index.js').WorkspaceStore;
|
|
36
37
|
createChildExecutor: (ctx: SubagentExecutorContext) => SubagentExecutor;
|
|
37
38
|
}
|
|
38
39
|
export interface BuildChildConfigResult {
|
|
@@ -29,6 +29,7 @@ export interface SubagentExecutorContext {
|
|
|
29
29
|
backgroundRegistry?: BackgroundAgentRegistry;
|
|
30
30
|
cwd?: string;
|
|
31
31
|
traceWriter?: TraceSink;
|
|
32
|
+
workspaceStore?: import('../workspace/index.js').WorkspaceStore;
|
|
32
33
|
allowedTools?: string[];
|
|
33
34
|
readOnlyBash?: boolean;
|
|
34
35
|
nestedAgentAllowlist?: readonly string[];
|