@stigmer/runner-slim 3.5.3 → 3.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigmer/runner-slim",
3
- "version": "3.5.3",
3
+ "version": "3.7.0",
4
4
  "description": "Self-contained Stigmer runner build for embedding in desktop apps — the bundle-friendly @stigmer/runner",
5
5
  "license": "Apache-2.0",
6
6
  "engines": {
@@ -16,11 +16,11 @@
16
16
  "jq-wasm": "^1.1.0-jq-1.8.1"
17
17
  },
18
18
  "optionalDependencies": {
19
- "@stigmer/runner-slim-darwin-arm64": "3.5.3",
20
- "@stigmer/runner-slim-darwin-x64": "3.5.3",
21
- "@stigmer/runner-slim-linux-x64": "3.5.3",
22
- "@stigmer/runner-slim-linux-arm64": "3.5.3",
23
- "@stigmer/runner-slim-win32-x64": "3.5.3"
19
+ "@stigmer/runner-slim-darwin-arm64": "3.7.0",
20
+ "@stigmer/runner-slim-darwin-x64": "3.7.0",
21
+ "@stigmer/runner-slim-linux-x64": "3.7.0",
22
+ "@stigmer/runner-slim-linux-arm64": "3.7.0",
23
+ "@stigmer/runner-slim-win32-x64": "3.7.0"
24
24
  },
25
25
  "keywords": [
26
26
  "stigmer",
@@ -26100,8 +26100,6 @@ __webpack_require__.r(__webpack_exports__);
26100
26100
  * This builder is sandbox-safe — it evaluates jq expressions and
26101
26101
  * delegates to `ctx.callAgent()`. The async completion and signal
26102
26102
  * logic live in the workflow-side orchestrator, not here.
26103
- *
26104
- * Mirrors Go's `CallAgentTaskBuilder` in `task_builder_call_agent.go`.
26105
26103
  */
26106
26104
 
26107
26105
 
@@ -27832,8 +27830,9 @@ __webpack_require__.r(__webpack_exports__);
27832
27830
  * 4. Updating workflow approval status via local activities
27833
27831
  * 5. Returning the agent result when the activity completes
27834
27832
  *
27835
- * The kernel's CallAgentTaskBuilder calls `ctx.callAgent()`, which
27836
- * is wired to `orchestrateAgentCall()` in execute-serverless-workflow.ts.
27833
+ * The workflow engine's CallAgentTaskBuilder (workflow-engine/tasks/
27834
+ * call-agent.ts) calls `ctx.callAgent()`, which is wired to
27835
+ * `orchestrateAgentCall()` in execute-serverless-workflow.ts.
27837
27836
  *
27838
27837
  * SANDBOX RULES: Only @temporalio/workflow imports, type-only imports,
27839
27838
  * and pure logic. No Node.js built-ins.
@@ -27846,6 +27845,11 @@ __webpack_require__.r(__webpack_exports__);
27846
27845
  const childApprovalRequired = (0,_temporalio_workflow__WEBPACK_IMPORTED_MODULE_0__.defineSignal)("child_approval_required");
27847
27846
  /** Sent by the platform immediately after the child AgentExecution starts. */
27848
27847
  const childExecutionStarted = (0,_temporalio_workflow__WEBPACK_IMPORTED_MODULE_0__.defineSignal)("child_execution_started");
27848
+ // The 1h ceiling is a deliberate platform constant, not a user knob: the
27849
+ // old AgentCallTaskConfig declared a per-task `timeout` that nothing ever
27850
+ // read, and #358 deleted it rather than declaring what isn't honored. The
27851
+ // real per-run bound is run_config.max_cost_usd, enforced inside the
27852
+ // agent execution itself.
27849
27853
  const agentProxy = (0,_temporalio_workflow__WEBPACK_IMPORTED_MODULE_0__.proxyActivities)({
27850
27854
  startToCloseTimeout: "1h",
27851
27855
  retry: {