@agent-compose/sdk 0.5.6 → 0.5.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/README.md +4 -4
- package/dist/agent/agent-loop-contract.test.d.ts +1 -0
- package/dist/agent/agent-loop.d.ts +1 -1
- package/dist/client.d.ts +65 -23
- package/dist/index.d.ts +4 -2
- package/dist/index.js +335 -75
- package/dist/runtimes/claude.d.ts +9 -1
- package/dist/runtimes/openai-desktop.js +333 -75
- package/dist/sandbox-errors.d.ts +49 -0
- package/dist/sandbox.d.ts +68 -13
- package/dist/step-invocation/protocol.d.ts +6 -0
- package/dist/types/sandbox-environment.d.ts +1 -10
- package/dist/types/sandbox.d.ts +27 -3
- package/dist/types/workflow-metadata.d.ts +69 -12
- package/dist/types/workflow.d.ts +38 -10
- package/dist/utils/bundler.d.ts +38 -9
- package/dist/workflow-steps/workflow.d.ts +1 -3
- package/package.json +2 -2
- package/src/agent/agent-loop.ts +56 -7
- package/src/client.ts +144 -25
- package/src/index.ts +3 -2
- package/src/runtimes/claude.ts +66 -8
- package/src/sandbox-errors.ts +53 -0
- package/src/sandbox.ts +378 -56
- package/src/step-invocation/invoker.ts +66 -8
- package/src/step-invocation/protocol.ts +9 -0
- package/src/step-invocation/server.ts +27 -4
- package/src/types/sandbox-environment.ts +1 -11
- package/src/types/sandbox.ts +28 -3
- package/src/types/workflow-metadata.ts +77 -15
- package/src/types/workflow.ts +38 -11
- package/src/utils/bundler.ts +43 -13
- package/src/workflow-steps/workflow.ts +1 -3
|
@@ -7,7 +7,11 @@ export interface ClaudeRuntimeConfig {
|
|
|
7
7
|
claudeMdContent?: string;
|
|
8
8
|
/** Env overrides for Agent SDK provider routing. */
|
|
9
9
|
env?: Record<string, string>;
|
|
10
|
-
/** Model to use.
|
|
10
|
+
/** Model to use. Accepts a caliber shorthand — "fable" (most capable),
|
|
11
|
+
* "opus", "sonnet", "haiku" (fastest/cheapest) — or an exact model id.
|
|
12
|
+
* Defaults to DEFAULT_CLAUDE_MODEL (Fable). Orchestrators pick a caliber
|
|
13
|
+
* per agent: fable/opus for planning + implementation, sonnet for focused
|
|
14
|
+
* single-responsibility work, haiku for mechanical tasks. */
|
|
11
15
|
model?: string;
|
|
12
16
|
/** MCP servers to configure for the Agent SDK. */
|
|
13
17
|
mcpServers?: Record<string, {
|
|
@@ -21,6 +25,10 @@ export interface ClaudeRuntimeConfig {
|
|
|
21
25
|
thinking?: ThinkingConfig;
|
|
22
26
|
/** Reasoning effort hint for models that support adaptive thinking. */
|
|
23
27
|
effort?: "low" | "medium" | "high" | "xhigh" | "max";
|
|
28
|
+
/** Skills to enable for the agent (the Agent SDK's `skills` option — also
|
|
29
|
+
* auto-adds the `Skill` tool). The agent-env bakes the `/ac:*` skills via
|
|
30
|
+
* `agentc init`; default `"all"` makes them usable. Pass `[]` to disable. */
|
|
31
|
+
skills?: string[] | "all";
|
|
24
32
|
}
|
|
25
33
|
export declare class ClaudeRunner implements ModelExecutionContract {
|
|
26
34
|
private readonly options;
|