@sixb/core 0.2.3 → 0.2.4

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.
Files changed (122) hide show
  1. package/dist/actions/index.js +12 -12
  2. package/dist/agents/cancel.d.ts +1 -1
  3. package/dist/agents/cancel.d.ts.map +1 -1
  4. package/dist/agents/child-question.d.ts +35 -2
  5. package/dist/agents/child-question.d.ts.map +1 -1
  6. package/dist/agents/execution.d.ts +1 -1
  7. package/dist/agents/ids.d.ts +2 -0
  8. package/dist/agents/ids.d.ts.map +1 -1
  9. package/dist/agents/index.d.ts +3 -3
  10. package/dist/agents/index.d.ts.map +1 -1
  11. package/dist/agents/index.js +23 -15
  12. package/dist/agents/index.js.map +1 -1
  13. package/dist/agents/model-loop.d.ts.map +1 -1
  14. package/dist/agents/run-session-children.d.ts +9 -0
  15. package/dist/agents/run-session-children.d.ts.map +1 -1
  16. package/dist/agents/run-session-http.d.ts.map +1 -1
  17. package/dist/agents/run-session-serve.d.ts.map +1 -1
  18. package/dist/agents/tool-files.d.ts +1 -1
  19. package/dist/agents/tool-files.d.ts.map +1 -1
  20. package/dist/agents/tool-input-coercion.d.ts +20 -0
  21. package/dist/agents/tool-input-coercion.d.ts.map +1 -0
  22. package/dist/agents/validation.d.ts +1 -1
  23. package/dist/agents/validation.d.ts.map +1 -1
  24. package/dist/artifacts/frames/index.js +1 -1
  25. package/dist/artifacts/frames/protocol.d.ts +53 -2
  26. package/dist/artifacts/frames/protocol.d.ts.map +1 -1
  27. package/dist/artifacts/frames/runtime.d.ts +8 -1
  28. package/dist/artifacts/frames/runtime.d.ts.map +1 -1
  29. package/dist/artifacts/index.d.ts +1 -1
  30. package/dist/artifacts/index.d.ts.map +1 -1
  31. package/dist/artifacts/index.js +27 -1
  32. package/dist/artifacts/index.js.map +3 -3
  33. package/dist/artifacts/live/server.js +7 -7
  34. package/dist/artifacts/publish/index.js +6 -6
  35. package/dist/bootstrap/index.js +17 -17
  36. package/dist/{chunk-k66rp2hr.js → chunk-2bn6813a.js} +1 -1
  37. package/dist/{chunk-m7b9q5dk.js → chunk-3z1vxzcm.js} +1 -1
  38. package/dist/{chunk-qafng88v.js → chunk-6ef4esq4.js} +1 -1
  39. package/dist/{chunk-38yvdqzd.js → chunk-7kpqntgw.js} +1 -1
  40. package/dist/{chunk-tqa68kj7.js → chunk-8bns0y68.js} +2 -2
  41. package/dist/chunk-8t2ynwg0.js.map +1 -1
  42. package/dist/chunk-az95tsh3.js.map +2 -2
  43. package/dist/{chunk-4j0sagwv.js → chunk-evj5jxz3.js} +1 -1
  44. package/dist/{chunk-z0t4p2sk.js → chunk-gxwy4c3s.js} +41 -11
  45. package/dist/{chunk-z0t4p2sk.js.map → chunk-gxwy4c3s.js.map} +8 -8
  46. package/dist/{chunk-qds484t8.js → chunk-hvbvq7p4.js} +202 -12
  47. package/dist/chunk-hvbvq7p4.js.map +18 -0
  48. package/dist/{chunk-26qet7wh.js → chunk-msyevpp3.js} +1 -1
  49. package/dist/chunk-n4zzaf6q.js.map +1 -1
  50. package/dist/{chunk-s5n9617r.js → chunk-p8pgnq8d.js} +3 -3
  51. package/dist/{chunk-kv0kvknv.js → chunk-r9rtavg9.js} +2 -2
  52. package/dist/{chunk-bkmnd7zq.js → chunk-rsrc7vtw.js} +9 -9
  53. package/dist/{chunk-8p7bze4c.js → chunk-rsxb14an.js} +1 -1
  54. package/dist/{chunk-e9w4mgdh.js → chunk-rtm1jq00.js} +162 -17
  55. package/dist/{chunk-e9w4mgdh.js.map → chunk-rtm1jq00.js.map} +8 -7
  56. package/dist/{chunk-7z5rkf0m.js → chunk-t0s7b3d1.js} +4 -3
  57. package/dist/{chunk-7z5rkf0m.js.map → chunk-t0s7b3d1.js.map} +3 -3
  58. package/dist/{chunk-hkaa807g.js → chunk-td26wjr5.js} +1 -1
  59. package/dist/{chunk-6gtxshcc.js → chunk-vepea5c3.js} +3 -3
  60. package/dist/{chunk-2by73sm2.js → chunk-w1wq7gfr.js} +1 -1
  61. package/dist/{chunk-w9s23r24.js → chunk-yy914zfr.js} +3 -3
  62. package/dist/execution/agent.js +12 -12
  63. package/dist/execution/primitive.js +12 -12
  64. package/dist/execution/request.js +12 -12
  65. package/dist/index.js +19 -19
  66. package/dist/materializer/index.js +3 -3
  67. package/dist/models/execution/index.js +3 -3
  68. package/dist/models/language-model.d.ts +6 -0
  69. package/dist/models/language-model.d.ts.map +1 -1
  70. package/dist/models/tools.d.ts +2 -0
  71. package/dist/models/tools.d.ts.map +1 -1
  72. package/dist/objects/index.js +12 -12
  73. package/dist/objects/query/index.js +3 -3
  74. package/dist/pipelines/index.js +3 -3
  75. package/dist/projections/internal.js +2 -2
  76. package/dist/runtime/internal.js +7 -7
  77. package/dist/shares/internal.js +2 -2
  78. package/dist/storage/agents/provider.js +1 -1
  79. package/dist/storage/agents/types.d.ts +1 -1
  80. package/dist/storage/agents/types.d.ts.map +1 -1
  81. package/dist/storage/index.js +2 -2
  82. package/dist/syncs/index.js +4 -4
  83. package/dist/testing/index.js +19 -19
  84. package/dist/webhooks/internal.js +2 -2
  85. package/dist/workflows/index.js +15 -15
  86. package/package.json +1 -1
  87. package/src/agents/approval-outcome.ts +2 -2
  88. package/src/agents/cancel.ts +2 -2
  89. package/src/agents/child-question.ts +76 -8
  90. package/src/agents/execution.ts +1 -1
  91. package/src/agents/ids.ts +4 -1
  92. package/src/agents/index.ts +9 -2
  93. package/src/agents/model-loop.ts +3 -1
  94. package/src/agents/run-session-children.ts +33 -0
  95. package/src/agents/run-session-http.ts +1 -0
  96. package/src/agents/run-session-serve.ts +1 -0
  97. package/src/agents/tool-files.ts +1 -1
  98. package/src/agents/tool-input-coercion.ts +140 -0
  99. package/src/agents/validation.ts +11 -3
  100. package/src/artifacts/frames/protocol.ts +84 -2
  101. package/src/artifacts/frames/runtime.ts +296 -13
  102. package/src/artifacts/index.ts +3 -0
  103. package/src/http/api-routes.ts +1 -1
  104. package/src/models/language-model.ts +6 -0
  105. package/src/models/tools.ts +2 -0
  106. package/src/storage/agents/types.ts +1 -1
  107. package/dist/chunk-qds484t8.js.map +0 -18
  108. /package/dist/{chunk-k66rp2hr.js.map → chunk-2bn6813a.js.map} +0 -0
  109. /package/dist/{chunk-m7b9q5dk.js.map → chunk-3z1vxzcm.js.map} +0 -0
  110. /package/dist/{chunk-qafng88v.js.map → chunk-6ef4esq4.js.map} +0 -0
  111. /package/dist/{chunk-38yvdqzd.js.map → chunk-7kpqntgw.js.map} +0 -0
  112. /package/dist/{chunk-tqa68kj7.js.map → chunk-8bns0y68.js.map} +0 -0
  113. /package/dist/{chunk-4j0sagwv.js.map → chunk-evj5jxz3.js.map} +0 -0
  114. /package/dist/{chunk-26qet7wh.js.map → chunk-msyevpp3.js.map} +0 -0
  115. /package/dist/{chunk-s5n9617r.js.map → chunk-p8pgnq8d.js.map} +0 -0
  116. /package/dist/{chunk-kv0kvknv.js.map → chunk-r9rtavg9.js.map} +0 -0
  117. /package/dist/{chunk-bkmnd7zq.js.map → chunk-rsrc7vtw.js.map} +0 -0
  118. /package/dist/{chunk-8p7bze4c.js.map → chunk-rsxb14an.js.map} +0 -0
  119. /package/dist/{chunk-hkaa807g.js.map → chunk-td26wjr5.js.map} +0 -0
  120. /package/dist/{chunk-6gtxshcc.js.map → chunk-vepea5c3.js.map} +0 -0
  121. /package/dist/{chunk-2by73sm2.js.map → chunk-w1wq7gfr.js.map} +0 -0
  122. /package/dist/{chunk-w9s23r24.js.map → chunk-yy914zfr.js.map} +0 -0
@@ -147,7 +147,7 @@ import {
147
147
  movesComputerPlace2,
148
148
  isAgentApprovalMode2,
149
149
  agentApprovalHoldsRun2
150
- } from "./chunk-7z5rkf0m.js";
150
+ } from "./chunk-t0s7b3d1.js";
151
151
  import {
152
152
  actionRunRequestsEqual,
153
153
  ObjectNotFoundError2,
@@ -166,10 +166,10 @@ import {
166
166
  objectBatchKey2,
167
167
  matchesPredicate,
168
168
  WORKFLOW_RUN_FAILURE_CODES2
169
- } from "./chunk-2by73sm2.js";
169
+ } from "./chunk-w1wq7gfr.js";
170
170
  import {
171
171
  explainObjectQuery2
172
- } from "./chunk-8p7bze4c.js";
172
+ } from "./chunk-rsxb14an.js";
173
173
  import {
174
174
  redactDomainEvent,
175
175
  uniqueLookupKeyOf,
@@ -178,7 +178,7 @@ import {
178
178
  readerClearance,
179
179
  readerEventClearance,
180
180
  readerViewConditions
181
- } from "./chunk-26qet7wh.js";
181
+ } from "./chunk-msyevpp3.js";
182
182
  import {
183
183
  createAgentThreadAccessRule,
184
184
  assertConversationThread2,
@@ -190,7 +190,7 @@ import {
190
190
  transactionArtifactAccessRules,
191
191
  updatableArtifactIds,
192
192
  createArtifactsRuntime
193
- } from "./chunk-w9s23r24.js";
193
+ } from "./chunk-yy914zfr.js";
194
194
  import {
195
195
  shareSixbErrorReporter2,
196
196
  reportActionPhaseFailure2,
@@ -212,7 +212,7 @@ import {
212
212
  createActivityCaptureRuntime,
213
213
  registerActivityCaptureRuntime,
214
214
  ModelExecutionSession
215
- } from "./chunk-6gtxshcc.js";
215
+ } from "./chunk-vepea5c3.js";
216
216
  import {
217
217
  publishAgentThreadMoved2,
218
218
  publishAgentApprovalActivity,
@@ -255,7 +255,7 @@ import {
255
255
  aiModelCallOutputTokenAllowance,
256
256
  ModelUsageRecordingError2,
257
257
  LanguageModelCallMeter
258
- } from "./chunk-k66rp2hr.js";
258
+ } from "./chunk-2bn6813a.js";
259
259
  import {
260
260
  createLinkScopeFingerprint2,
261
261
  normalizeJsonProperties2,
@@ -265,7 +265,7 @@ import {
265
265
  resolveEffectiveLink,
266
266
  resolveEffectiveLinkSlotMember,
267
267
  linkCardinality
268
- } from "./chunk-4j0sagwv.js";
268
+ } from "./chunk-evj5jxz3.js";
269
269
  import {
270
270
  resolveLoggingService2
271
271
  } from "./chunk-1vg43g9q.js";
@@ -276,7 +276,7 @@ import {
276
276
  import {
277
277
  SyncValidationError2,
278
278
  requestSyncRun2
279
- } from "./chunk-m7b9q5dk.js";
279
+ } from "./chunk-3z1vxzcm.js";
280
280
  import {
281
281
  compileShareAccessPlan
282
282
  } from "./chunk-n68vz95m.js";
@@ -297,7 +297,7 @@ import {
297
297
  } from "./chunk-0kgrghqx.js";
298
298
  import {
299
299
  requestPipelineRun2
300
- } from "./chunk-qafng88v.js";
300
+ } from "./chunk-6ef4esq4.js";
301
301
  import {
302
302
  PipelineError2
303
303
  } from "./chunk-hke9aeen.js";
@@ -1723,16 +1723,49 @@ async function publishQueuedRunCancellation(runtime, run) {
1723
1723
  }
1724
1724
 
1725
1725
  // src/agents/child-question.ts
1726
+ var AGENT_QUESTION_LIMITS2 = { questions: 4, choices: 4 };
1727
+ function agentQuestionsText2(questions) {
1728
+ const lines = questions.map((question) => {
1729
+ const choices = question.choices?.length ? ` (${question.multiple ? "any of: " : ""}${question.choices.join(" / ")})` : "";
1730
+ return `${question.question}${choices}`;
1731
+ });
1732
+ return lines.length === 1 ? lines[0] ?? "" : lines.map((line, i) => `${i + 1}. ${line}`).join(`
1733
+ `);
1734
+ }
1735
+ function agentQuestionsOf(input) {
1736
+ if (!isJsonObject2(input))
1737
+ return;
1738
+ if (typeof input.question === "string")
1739
+ return [{ question: input.question.trim() }];
1740
+ if (!Array.isArray(input.questions))
1741
+ return;
1742
+ const questions = input.questions.flatMap((value) => {
1743
+ if (!isJsonObject2(value) || typeof value.question !== "string")
1744
+ return [];
1745
+ const choices = Array.isArray(value.choices) ? value.choices.filter((choice) => typeof choice === "string") : [];
1746
+ return [
1747
+ {
1748
+ question: value.question.trim(),
1749
+ ...choices.length > 0 ? { choices } : {},
1750
+ ...value.multiple === true ? { multiple: true } : {}
1751
+ }
1752
+ ];
1753
+ });
1754
+ return questions.length > 0 ? questions : undefined;
1755
+ }
1756
+ function isChildAskTool2(toolName) {
1757
+ return toolName === "ask" || toolName === "ask_parent";
1758
+ }
1726
1759
  function isAwaitingAnswerRun2(run) {
1727
1760
  return run?.kind === "subagent" && run.status === "succeeded" && run.finishReason === "awaiting_answer";
1728
1761
  }
1729
1762
  function deferredChildQuestion2(messages) {
1730
- const asked = messages.flatMap((message) => message.parts).flatMap((part) => part.type === "tool-call" && part.toolName === "ask_parent" && part.state === "output-available" && isJsonObject2(part.output) && part.output.status === "deferred" && isJsonObject2(part.input) ? [{ input: part.input, output: part.output }] : []).at(-1);
1763
+ const asked = messages.flatMap((message) => message.parts).flatMap((part) => part.type === "tool-call" && isChildAskTool2(part.toolName) && part.state === "output-available" && isJsonObject2(part.output) && part.output.status === "deferred" ? [{ input: part.input, output: part.output }] : []).at(-1);
1731
1764
  if (!asked)
1732
1765
  return;
1733
- const { question: text } = asked.input;
1766
+ const questions = agentQuestionsOf(asked.input);
1734
1767
  const { question: id } = asked.output;
1735
- return typeof text === "string" && typeof id === "string" ? { id, text: text.trim() } : undefined;
1768
+ return questions && typeof id === "string" ? { id, text: agentQuestionsText2(questions) } : undefined;
1736
1769
  }
1737
1770
 
1738
1771
  // src/agents/subagent-runs.ts
@@ -5595,6 +5628,117 @@ import { randomUUID as randomUUID13 } from "crypto";
5595
5628
 
5596
5629
  // src/agents/model-loop.ts
5597
5630
  import { randomUUID as randomUUID9 } from "crypto";
5631
+
5632
+ // src/agents/tool-input-coercion.ts
5633
+ function coerceToolInput(schema, input) {
5634
+ return coerce(schema, input);
5635
+ }
5636
+ function coerce(schema, value) {
5637
+ if (!isObject(schema))
5638
+ return value;
5639
+ const types = schemaTypes(schema);
5640
+ if (types.length === 0 || types.some((type) => hasType(value, type))) {
5641
+ return coerceInside(schema, value);
5642
+ }
5643
+ if (typeof value === "string") {
5644
+ const text = value.trim();
5645
+ if (types.includes("integer") && /^-?\d+$/.test(text) && Number.isSafeInteger(Number(text))) {
5646
+ return Number(text);
5647
+ }
5648
+ if (types.includes("number") && /^-?\d+(\.\d+)?([eE][+-]?\d+)?$/.test(text) && Number.isFinite(Number(text))) {
5649
+ return Number(text);
5650
+ }
5651
+ if (types.includes("boolean") && (text === "true" || text === "false"))
5652
+ return text === "true";
5653
+ if (types.includes("array") && text.startsWith("[")) {
5654
+ const parsed = parseJson(text);
5655
+ if (Array.isArray(parsed))
5656
+ return coerceInside(schema, parsed);
5657
+ }
5658
+ }
5659
+ if (types.includes("array") && value !== null && value !== undefined && !Array.isArray(value)) {
5660
+ return [coerce(schema.items, value)];
5661
+ }
5662
+ return value;
5663
+ }
5664
+ function parseJson(text) {
5665
+ try {
5666
+ return JSON.parse(text);
5667
+ } catch {
5668
+ return;
5669
+ }
5670
+ }
5671
+ function coerceInside(schema, value) {
5672
+ if (Array.isArray(value)) {
5673
+ return isObject(schema.items) ? value.map((item) => coerce(schema.items, item)) : value;
5674
+ }
5675
+ if (!isPlainObject(value) || !isObject(schema.properties))
5676
+ return value;
5677
+ const properties = schema.properties;
5678
+ const required = new Set(Array.isArray(schema.required) ? schema.required : []);
5679
+ const result = {};
5680
+ for (const [key, item] of Object.entries(value)) {
5681
+ const property = Object.hasOwn(properties, key) ? properties[key] : undefined;
5682
+ if (item === null && property !== undefined && !required.has(key) && !allowsNull(property)) {
5683
+ continue;
5684
+ }
5685
+ result[key] = property === undefined ? item : coerce(property, item);
5686
+ }
5687
+ return result;
5688
+ }
5689
+ function schemaTypes(schema) {
5690
+ if (typeof schema.type === "string")
5691
+ return [schema.type];
5692
+ if (Array.isArray(schema.type)) {
5693
+ return schema.type.filter((type) => typeof type === "string");
5694
+ }
5695
+ return [];
5696
+ }
5697
+ function allowsNull(schema) {
5698
+ if (schema === true)
5699
+ return true;
5700
+ if (!isObject(schema))
5701
+ return false;
5702
+ if (schemaTypes(schema).includes("null"))
5703
+ return true;
5704
+ if (schema.const === null || Array.isArray(schema.enum) && schema.enum.includes(null)) {
5705
+ return true;
5706
+ }
5707
+ for (const key of ["anyOf", "oneOf"]) {
5708
+ const variants = schema[key];
5709
+ if (Array.isArray(variants) && variants.some(allowsNull))
5710
+ return true;
5711
+ }
5712
+ return schemaTypes(schema).length === 0 && schema.anyOf === undefined && schema.oneOf === undefined && schema.enum === undefined && schema.const === undefined;
5713
+ }
5714
+ function hasType(value, type) {
5715
+ switch (type) {
5716
+ case "null":
5717
+ return value === null;
5718
+ case "string":
5719
+ return typeof value === "string";
5720
+ case "boolean":
5721
+ return typeof value === "boolean";
5722
+ case "number":
5723
+ return typeof value === "number";
5724
+ case "integer":
5725
+ return Number.isInteger(value);
5726
+ case "array":
5727
+ return Array.isArray(value);
5728
+ case "object":
5729
+ return isPlainObject(value);
5730
+ default:
5731
+ return true;
5732
+ }
5733
+ }
5734
+ function isObject(value) {
5735
+ return typeof value === "object" && value !== null && !Array.isArray(value);
5736
+ }
5737
+ function isPlainObject(value) {
5738
+ return typeof value === "object" && value !== null && !Array.isArray(value);
5739
+ }
5740
+
5741
+ // src/agents/model-loop.ts
5598
5742
  var MAX_PROVIDER_DATA_BYTES = 256 * 1024;
5599
5743
  async function runModelLoop2(input) {
5600
5744
  assertLoopInput(input);
@@ -5602,7 +5746,8 @@ async function runModelLoop2(input) {
5602
5746
  const toolSpecifications = [...tools.values()].map((tool) => ({
5603
5747
  name: tool.name,
5604
5748
  description: tool.description,
5605
- inputSchema: tool.inputSchema
5749
+ inputSchema: tool.inputSchema,
5750
+ ...tool.strict ? { strict: true } : {}
5606
5751
  }));
5607
5752
  let messages = [...input.messages];
5608
5753
  const steps = [];
@@ -5945,7 +6090,7 @@ async function executeToolCall(call, tools, callId, signal, onEvent) {
5945
6090
  }
5946
6091
  let parsed;
5947
6092
  try {
5948
- parsed = tool.parseInput(part.input);
6093
+ parsed = tool.parseInput(coerceToolInput(tool.inputSchema, part.input));
5949
6094
  } catch (error) {
5950
6095
  const errorText = error instanceof Error ? error.message : "Tool input validation failed.";
5951
6096
  await onEvent?.({
@@ -11788,6 +11933,6 @@ function snapshotActionRequest(input) {
11788
11933
  ...onRequested === undefined ? {} : { onRequested }
11789
11934
  };
11790
11935
  }
11791
- export { defineAction2, param2, optional2, ActionRegistry2, bindRequestClient, bindModelExecutionAttempt, canInheritAgentRequestAuthorization2, createAgentExecutionRecord2, createInheritedAgentExecutionRecord2, bindDurableAgentExecution2, bindAgentRunRequestExecution2, bindAgentModelExecution2, restoreAgentExecutionScope2, assertAgentExecutionRecord2, resumeDecidedAgentTurn2, agentRunApprovalMode2, holdAgentApprovalCall2, approvalCallSummary2, listChildApprovalsAwaiting2, isAwaitingApprovalRun2, isPausedSubagentRun2, AGENT_APPROVAL_EXECUTION_LEASE_MS2, turnResumeReadiness2, turnPausesOnHeldCalls2, hasActiveChildren2, listTurnApprovals2, stopAgentTurn2, announceAgentApprovals2, agentApprovalCallers2, AgentRunScopeError2, resolveAgentRunExecutionScope2, createAgentApprovalExecutor, registerAgentApprovalExecutor, getAgentApprovalExecutor2, requestAgentRunCancel2, isAwaitingAnswerRun2, deferredChildQuestion2, listSubagentThreadRuns2, subagentSandboxFiles2, assertTurnModelRouting, DEFAULT_PROJECT_LOCALE, DEFAULT_PROJECT_TIME_ZONE, canonicalLocale, canonicalTimeZone, resolveAgentContextParts2, agentRunQueueJobId2, workflowAgentNodeQueueJobId2, dispatchQueuedAgentRuns2, assertNoAgentDefinitions, requestAgentRun2, isRetryableAgentRun2, retryAgentRun2, WorkflowDefinitionError2, WorkflowValidationError2, assertNonEmpty, isStepDefinition2, isAgentStepDefinition2, isInterventionDefinition2, isWorkflowDefinition2, validateWorkflowDefinition2, validateWorkflowsAtStartup2, validateWorkflowAgentStepGroupReferences2, validateWorkflowInput2, validateWorkflowStepInput2, validateWorkflowStepOutput2, validateWorkflowInterventionInput2, validateWorkflowInterventionResponse2, validateWorkflowInterventionDefaultResponse2, assertAgentStepSandbox, validateWorkflowAgentStepInput2, validateWorkflowAgentStepOutput2, snapshotWorkflowAgentStepInput2, snapshotWorkflowAgentStepOutput2, snapshotWorkflowInput2, snapshotWorkflowStepInput2, snapshotWorkflowStepOutput2, snapshotWorkflowInterventionInput2, snapshotWorkflowInterventionResponse2, snapshotWorkflowInterventionDefaultResponse2, snapshotWorkflowActionInput2, WorkflowRunDispatcher2, requestWorkflowRun2, prepareBoundActionRequest2, prepareBoundWorkflowRequest2, runModelLoop2, requestAction2, ObjectError2, removeLink2, upsertLink2, upsertLinkBatch2, deleteObject2, restoreObject2, upsertObject2, upsertObjectBatch2, writeTelemetryBatch2, appendTelemetryBatch2, getTelemetryHistoryBatch2, requireLinkDefinition2, resolveObjectContext2, resolveLinkContext2, createObjectSet2, exports_service, ShareError2, createBoundSixb, isBoundSixb, bindDurablePrimitiveExecution2, ACTION_RUN_DRAIN_TIMEOUT_MS2, ActionRunExecutor, registerActionRunExecutor, drainActionRuns2, requestAction3 };
11936
+ export { defineAction2, param2, optional2, ActionRegistry2, bindRequestClient, bindModelExecutionAttempt, canInheritAgentRequestAuthorization2, createAgentExecutionRecord2, createInheritedAgentExecutionRecord2, bindDurableAgentExecution2, bindAgentRunRequestExecution2, bindAgentModelExecution2, restoreAgentExecutionScope2, assertAgentExecutionRecord2, resumeDecidedAgentTurn2, agentRunApprovalMode2, holdAgentApprovalCall2, approvalCallSummary2, listChildApprovalsAwaiting2, isAwaitingApprovalRun2, isPausedSubagentRun2, AGENT_APPROVAL_EXECUTION_LEASE_MS2, turnResumeReadiness2, turnPausesOnHeldCalls2, hasActiveChildren2, listTurnApprovals2, stopAgentTurn2, announceAgentApprovals2, agentApprovalCallers2, AgentRunScopeError2, resolveAgentRunExecutionScope2, createAgentApprovalExecutor, registerAgentApprovalExecutor, getAgentApprovalExecutor2, requestAgentRunCancel2, cancelQueuedRun, AGENT_QUESTION_LIMITS2, agentQuestionsText2, isChildAskTool2, isAwaitingAnswerRun2, deferredChildQuestion2, listSubagentThreadRuns2, subagentSandboxFiles2, assertTurnModelRouting, DEFAULT_PROJECT_LOCALE, DEFAULT_PROJECT_TIME_ZONE, canonicalLocale, canonicalTimeZone, resolveAgentContextParts2, agentRunQueueJobId2, workflowAgentNodeQueueJobId2, dispatchQueuedAgentRuns2, assertNoAgentDefinitions, requestAgentRun2, isRetryableAgentRun2, retryAgentRun2, WorkflowDefinitionError2, WorkflowValidationError2, assertNonEmpty, isStepDefinition2, isAgentStepDefinition2, isInterventionDefinition2, isWorkflowDefinition2, validateWorkflowDefinition2, validateWorkflowsAtStartup2, validateWorkflowAgentStepGroupReferences2, validateWorkflowInput2, validateWorkflowStepInput2, validateWorkflowStepOutput2, validateWorkflowInterventionInput2, validateWorkflowInterventionResponse2, validateWorkflowInterventionDefaultResponse2, assertAgentStepSandbox, validateWorkflowAgentStepInput2, validateWorkflowAgentStepOutput2, snapshotWorkflowAgentStepInput2, snapshotWorkflowAgentStepOutput2, snapshotWorkflowInput2, snapshotWorkflowStepInput2, snapshotWorkflowStepOutput2, snapshotWorkflowInterventionInput2, snapshotWorkflowInterventionResponse2, snapshotWorkflowInterventionDefaultResponse2, snapshotWorkflowActionInput2, WorkflowRunDispatcher2, requestWorkflowRun2, prepareBoundActionRequest2, prepareBoundWorkflowRequest2, runModelLoop2, requestAction2, ObjectError2, removeLink2, upsertLink2, upsertLinkBatch2, deleteObject2, restoreObject2, upsertObject2, upsertObjectBatch2, writeTelemetryBatch2, appendTelemetryBatch2, getTelemetryHistoryBatch2, requireLinkDefinition2, resolveObjectContext2, resolveLinkContext2, createObjectSet2, exports_service, ShareError2, createBoundSixb, isBoundSixb, bindDurablePrimitiveExecution2, ACTION_RUN_DRAIN_TIMEOUT_MS2, ActionRunExecutor, registerActionRunExecutor, drainActionRuns2, requestAction3 };
11792
11937
 
11793
- //# debugId=57F5D9483CD8FB4B64756E2164756E21
11938
+ //# debugId=F3ECA7E87867ECD264756E2164756E21