@standardagents/spec 0.45.6 → 0.45.8

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/index.d.ts CHANGED
@@ -2440,6 +2440,12 @@ interface CodeExecutionOptions {
2440
2440
  * Maximum sandbox heap in bytes. Exceeding this settles the handle with
2441
2441
  * `status: 'memory'`. Runtime default is implementation-defined and
2442
2442
  * documented per runtime.
2443
+ *
2444
+ * A runtime enforces the value when its engine supports heap accounting.
2445
+ * A runtime may have a platform-fixed ceiling. For a value above the
2446
+ * ceiling, the runtime either clamps the value and names the effective
2447
+ * limit in the `error.message` of an overrun, or rejects the call with
2448
+ * `status: 'link_error'`. Each runtime documents its ceiling and its choice.
2443
2449
  */
2444
2450
  memoryLimitBytes?: number;
2445
2451
  /**
@@ -4334,7 +4340,8 @@ interface PromptDefinition<N extends string = string, S extends ToolArgs = ToolA
4334
4340
  includePastTools?: boolean;
4335
4341
  /**
4336
4342
  * Allow parallel execution of multiple tool calls.
4337
- * @default false
4343
+ * An explicit value controls the provider option.
4344
+ * When omitted, the provider default applies.
4338
4345
  */
4339
4346
  parallelToolCalls?: boolean;
4340
4347
  /**
@@ -6099,9 +6106,10 @@ interface HookSignatures<State = ThreadState, Msg = HookMessage, ToolCall = Hook
6099
6106
  * Receives the full message object before insertion. Return modified
6100
6107
  * message to transform before storage.
6101
6108
  *
6102
- * A hook that throws during `injectMessage()` rejects the injection and
6103
- * no message is persisted. Other runtime insertions log the failure and
6104
- * keep the last good message.
6109
+ * A hook that throws prevents the insertion: `injectMessage()` rejects
6110
+ * and no message is persisted. A runtime can still perform an insertion
6111
+ * that an execution cannot go on without, such as the message of a model
6112
+ * step or a tool result message, with the last good message.
6105
6113
  *
6106
6114
  * @param state - Thread state
6107
6115
  * @param message - Message to be created
@@ -6150,6 +6158,11 @@ interface HookSignatures<State = ThreadState, Msg = HookMessage, ToolCall = Hook
6150
6158
  * Receives the message ID and update data. Return modified updates
6151
6159
  * to transform the changes before storage.
6152
6160
  *
6161
+ * A hook that throws prevents the update: `updateMessage()` rejects and
6162
+ * the message keeps its stored value. A runtime can still apply an
6163
+ * update that an execution cannot go on without, such as the status of
6164
+ * a model step, with the last good updates.
6165
+ *
6153
6166
  * @param state - Thread state
6154
6167
  * @param messageId - ID of message being updated
6155
6168
  * @param updates - Update data