@warble/claude-agent-sdk 0.12.0 → 0.13.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 +5 -2
- package/dist/{chunk-7XQ5F6FM.js → chunk-2VDMVARW.js} +1500 -85
- package/dist/chunk-2VDMVARW.js.map +1 -0
- package/dist/cli.js +62 -20
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +601 -300
- package/dist/index.js +33 -3
- package/package.json +3 -3
- package/dist/chunk-7XQ5F6FM.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMPONENT_TYPES,
|
|
3
3
|
ChatSession,
|
|
4
|
+
ComponentInvocationRuntime,
|
|
5
|
+
ComponentStepExecutionError,
|
|
4
6
|
DEFAULT_CLARIFY_THRESHOLD,
|
|
7
|
+
DEFAULT_COMPONENT_INVOCATION_LIMITS,
|
|
5
8
|
DEFAULT_RENDER_FLAVOR,
|
|
6
9
|
DEFAULT_TARGET,
|
|
7
10
|
DESTRUCTIVE_BASH_DENY,
|
|
@@ -17,7 +20,10 @@ import {
|
|
|
17
20
|
aggregateTrace,
|
|
18
21
|
appendTurn,
|
|
19
22
|
applySlots,
|
|
23
|
+
assertEligibleComponentCallee,
|
|
24
|
+
assertEligibleComponentCaller,
|
|
20
25
|
assertNoSlotReferences,
|
|
26
|
+
assetDirForIr,
|
|
21
27
|
buildAgentManifest,
|
|
22
28
|
buildChatRequest,
|
|
23
29
|
buildDispatchPlan,
|
|
@@ -28,9 +34,11 @@ import {
|
|
|
28
34
|
buildUnavailableAgentManifest,
|
|
29
35
|
callOpenAiCompat,
|
|
30
36
|
collectRequiredCapabilities,
|
|
37
|
+
componentDependencies,
|
|
31
38
|
composeCanUseTool,
|
|
32
39
|
composeHooks,
|
|
33
40
|
createChatSession,
|
|
41
|
+
createSdkComponentStepRunner,
|
|
34
42
|
createSessionState,
|
|
35
43
|
decideClarify,
|
|
36
44
|
discoverClaudeModels,
|
|
@@ -45,14 +53,18 @@ import {
|
|
|
45
53
|
inspectNodeCapabilities,
|
|
46
54
|
isKnownTarget,
|
|
47
55
|
knownTargetNames,
|
|
56
|
+
landAssets,
|
|
48
57
|
lastResolvedIntent,
|
|
49
58
|
lastSessionId,
|
|
50
59
|
localProfile,
|
|
51
60
|
makeReadOnlyGuard,
|
|
61
|
+
normalizeComponentRequest,
|
|
62
|
+
normalizeComponentResult,
|
|
52
63
|
parseIr,
|
|
53
64
|
parseRenderFlavor,
|
|
54
65
|
parseSlotFlags,
|
|
55
66
|
planProviderRouting,
|
|
67
|
+
preflightDispatchAssets,
|
|
56
68
|
prepareDispatch,
|
|
57
69
|
prepareDisplayManifest,
|
|
58
70
|
profileFor,
|
|
@@ -60,19 +72,25 @@ import {
|
|
|
60
72
|
promptSurfacesOf,
|
|
61
73
|
renderEnvelope,
|
|
62
74
|
resolveCapabilities,
|
|
75
|
+
resolveComponentClosure,
|
|
63
76
|
resolveNodeCapabilities,
|
|
64
77
|
resolveProjectCwd,
|
|
65
78
|
resolveSlots,
|
|
66
79
|
resolveStagedSteps,
|
|
80
|
+
runComposedDispatch,
|
|
67
81
|
runDispatch,
|
|
68
82
|
runHybridTool,
|
|
69
83
|
shouldSplitPerStepTier,
|
|
70
|
-
usesLocalProvider
|
|
71
|
-
|
|
84
|
+
usesLocalProvider,
|
|
85
|
+
validateAssets
|
|
86
|
+
} from "./chunk-2VDMVARW.js";
|
|
72
87
|
export {
|
|
73
88
|
COMPONENT_TYPES,
|
|
74
89
|
ChatSession,
|
|
90
|
+
ComponentInvocationRuntime,
|
|
91
|
+
ComponentStepExecutionError,
|
|
75
92
|
DEFAULT_CLARIFY_THRESHOLD,
|
|
93
|
+
DEFAULT_COMPONENT_INVOCATION_LIMITS,
|
|
76
94
|
DEFAULT_RENDER_FLAVOR,
|
|
77
95
|
DEFAULT_TARGET,
|
|
78
96
|
DESTRUCTIVE_BASH_DENY,
|
|
@@ -88,7 +106,10 @@ export {
|
|
|
88
106
|
aggregateTrace,
|
|
89
107
|
appendTurn,
|
|
90
108
|
applySlots,
|
|
109
|
+
assertEligibleComponentCallee,
|
|
110
|
+
assertEligibleComponentCaller,
|
|
91
111
|
assertNoSlotReferences,
|
|
112
|
+
assetDirForIr,
|
|
92
113
|
buildAgentManifest,
|
|
93
114
|
buildChatRequest,
|
|
94
115
|
buildDispatchPlan,
|
|
@@ -99,9 +120,11 @@ export {
|
|
|
99
120
|
buildUnavailableAgentManifest,
|
|
100
121
|
callOpenAiCompat,
|
|
101
122
|
collectRequiredCapabilities,
|
|
123
|
+
componentDependencies,
|
|
102
124
|
composeCanUseTool,
|
|
103
125
|
composeHooks,
|
|
104
126
|
createChatSession,
|
|
127
|
+
createSdkComponentStepRunner,
|
|
105
128
|
createSessionState,
|
|
106
129
|
decideClarify,
|
|
107
130
|
discoverClaudeModels,
|
|
@@ -116,14 +139,18 @@ export {
|
|
|
116
139
|
inspectNodeCapabilities,
|
|
117
140
|
isKnownTarget,
|
|
118
141
|
knownTargetNames,
|
|
142
|
+
landAssets,
|
|
119
143
|
lastResolvedIntent,
|
|
120
144
|
lastSessionId,
|
|
121
145
|
localProfile,
|
|
122
146
|
makeReadOnlyGuard,
|
|
147
|
+
normalizeComponentRequest,
|
|
148
|
+
normalizeComponentResult,
|
|
123
149
|
parseIr,
|
|
124
150
|
parseRenderFlavor,
|
|
125
151
|
parseSlotFlags,
|
|
126
152
|
planProviderRouting,
|
|
153
|
+
preflightDispatchAssets,
|
|
127
154
|
prepareDispatch,
|
|
128
155
|
prepareDisplayManifest,
|
|
129
156
|
profileFor,
|
|
@@ -131,13 +158,16 @@ export {
|
|
|
131
158
|
promptSurfacesOf,
|
|
132
159
|
renderEnvelope,
|
|
133
160
|
resolveCapabilities,
|
|
161
|
+
resolveComponentClosure,
|
|
134
162
|
resolveNodeCapabilities,
|
|
135
163
|
resolveProjectCwd,
|
|
136
164
|
resolveSlots,
|
|
137
165
|
resolveStagedSteps,
|
|
166
|
+
runComposedDispatch,
|
|
138
167
|
runDispatch,
|
|
139
168
|
runHybridTool,
|
|
140
169
|
shouldSplitPerStepTier,
|
|
141
|
-
usesLocalProvider
|
|
170
|
+
usesLocalProvider,
|
|
171
|
+
validateAssets
|
|
142
172
|
};
|
|
143
173
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warble/claude-agent-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Warble back-end: Claude Agent SDK query() loop dispatcher (embeddable library + CLI)",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"warble": {
|
|
31
|
-
"irVersion": "0.
|
|
31
|
+
"irVersion": "0.8"
|
|
32
32
|
},
|
|
33
33
|
"main": "./dist/index.js",
|
|
34
34
|
"module": "./dist/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"zod": "^4.4.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@warble/ir-spec": "0.
|
|
62
|
+
"@warble/ir-spec": "0.8.x"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@warble/ir-spec": "file:../../packages/ir-spec",
|