@standardagents/spec 0.33.1 → 0.34.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/dist/index.d.ts +19 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1159,6 +1159,25 @@ interface Message {
|
|
|
1159
1159
|
status?: 'pending' | 'completed' | 'failed' | null;
|
|
1160
1160
|
/** Tool execution status (for tool result messages) */
|
|
1161
1161
|
tool_status?: 'success' | 'error' | null;
|
|
1162
|
+
/**
|
|
1163
|
+
* Stored model reasoning/thinking text for assistant messages (when the
|
|
1164
|
+
* model produced any). Runtimes that persist reasoning expose it here so
|
|
1165
|
+
* hooks can weigh or transform it — e.g. context-budget estimation must
|
|
1166
|
+
* count reasoning that will be replayed for interleaved-thinking models.
|
|
1167
|
+
*/
|
|
1168
|
+
reasoning_content?: string | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* JSON-encoded array of structured reasoning detail objects (text,
|
|
1171
|
+
* summary, or encrypted blocks) for assistant messages, preserved exactly
|
|
1172
|
+
* as returned by the provider for multi-turn reasoning continuity.
|
|
1173
|
+
*/
|
|
1174
|
+
reasoning_details?: string | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Name of the prompt that was active when this message was created.
|
|
1177
|
+
* Lets hooks scope per-prompt behavior (e.g. reasoning replay is only
|
|
1178
|
+
* valid for messages authored by the requesting prompt's model).
|
|
1179
|
+
*/
|
|
1180
|
+
prompt?: string | null;
|
|
1162
1181
|
/** Subagent reference UUID associated with this message */
|
|
1163
1182
|
subagent_id?: string | null;
|
|
1164
1183
|
/** Subagent agent name projected from runtime registry (when available) */
|