hankweave 0.7.2 → 0.7.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/claude-agent-sdk-manager.d.ts +27 -0
- package/dist/codon-runner.d.ts +28 -14
- package/dist/config-validation/model-validator.d.ts +12 -0
- package/dist/config.d.ts +8 -0
- package/dist/cost-tracker.d.ts +5 -2
- package/dist/error-classification.d.ts +78 -0
- package/dist/index.js +266 -262
- package/dist/index.js.map +20 -18
- package/dist/provider-ids.d.ts +5 -0
- package/package.json +1 -1
- package/schemas/hank.schema.json +2 -2
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const PASSTHROUGH_SHIM_PROVIDER_IDS: readonly ["pi", "opencode"];
|
|
2
|
+
export declare const SUPPORTED_CODON_PROVIDER_IDS: readonly ["anthropic", "google", "openai", "pi", "opencode"];
|
|
3
|
+
export declare function isPassthroughShimProvider(providerId: string): boolean;
|
|
4
|
+
export declare function isSupportedCodonProvider(providerId: string): boolean;
|
|
5
|
+
export declare function getSupportedCodonProviderIds(): string[];
|
package/package.json
CHANGED
package/schemas/hank.schema.json
CHANGED
|
@@ -1142,7 +1142,7 @@
|
|
|
1142
1142
|
"type": "integer",
|
|
1143
1143
|
"exclusiveMinimum": 0,
|
|
1144
1144
|
"maximum": 1800,
|
|
1145
|
-
"description": "Max seconds between agent events before the
|
|
1145
|
+
"description": "Max seconds between agent events before the session aborts (idle timeout). Overrides hank-level and runtime defaults. If unset, falls back to hank override, runtime config, or the built-in default (180s for Anthropic models via the Claude SDK, 120s inside the shims for other providers). An idle-timeout abort is a retriable failure, so onFailure: 'retry' applies."
|
|
1146
1146
|
},
|
|
1147
1147
|
"budget": {
|
|
1148
1148
|
"type": "object",
|
|
@@ -2259,7 +2259,7 @@
|
|
|
2259
2259
|
"type": "integer",
|
|
2260
2260
|
"exclusiveMinimum": 0,
|
|
2261
2261
|
"maximum": 1800,
|
|
2262
|
-
"description": "Max seconds between agent events before the
|
|
2262
|
+
"description": "Max seconds between agent events before the session aborts (idle timeout). Overrides hank-level and runtime defaults. If unset, falls back to hank override, runtime config, or the built-in default (180s for Anthropic models via the Claude SDK, 120s inside the shims for other providers). An idle-timeout abort is a retriable failure, so onFailure: 'retry' applies."
|
|
2263
2263
|
},
|
|
2264
2264
|
"budget": {
|
|
2265
2265
|
"type": "object",
|