@warble/claude-agent-sdk 0.16.0 → 0.17.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.
@@ -514,7 +514,7 @@ var COMPONENT_TYPES = [
514
514
  ];
515
515
  var TRIGGER_KINDS = ["one_shot", "scheduled", "event"];
516
516
  var OUTCOME_KINDS = ["none", "assertion", "mutation", "dispatch"];
517
- var SUPPORTED_IR_VERSIONS = ["0.8"];
517
+ var SUPPORTED_IR_VERSIONS = ["0.9"];
518
518
  function assertSupportedIrVersion(version) {
519
519
  if (!SUPPORTED_IR_VERSIONS.includes(version)) {
520
520
  throw new DispatchError(
@@ -843,6 +843,9 @@ function parseIr(json2) {
843
843
  const obj = requireObject(root, "<root>");
844
844
  const version = requireString(obj, "warble_ir_version", "<root>");
845
845
  assertSupportedIrVersion(version);
846
+ if (obj["context_binding"] === null) {
847
+ fail("context-free IR is not supported by claude-agent-sdk:local");
848
+ }
846
849
  const configRaw = obj["config"];
847
850
  const config = {};
848
851
  if (configRaw !== void 0) {
@@ -4163,8 +4166,8 @@ async function dispatch(input, runCfg) {
4163
4166
 
4164
4167
  // src/manifest.ts
4165
4168
  var MANIFEST_VERSION = "0.3";
4166
- var MIN_SUPPORTED_IR_VERSION = "0.8";
4167
- var MAX_SUPPORTED_IR_VERSION = "0.8";
4169
+ var MIN_SUPPORTED_IR_VERSION = "0.9";
4170
+ var MAX_SUPPORTED_IR_VERSION = "0.9";
4168
4171
  var DEFAULT_MAX_ATTEMPTS = 1;
4169
4172
  function classifyStep(node, stepIndex) {
4170
4173
  const when = node.llm_calls[stepIndex].when;
@@ -4659,4 +4662,4 @@ export {
4659
4662
  ChatSession,
4660
4663
  createChatSession
4661
4664
  };
4662
- //# sourceMappingURL=chunk-6GZGHFX7.js.map
4665
+ //# sourceMappingURL=chunk-74JAAZB7.js.map