@standardagents/spec 0.11.4 → 0.11.6

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 (2) hide show
  1. package/dist/index.d.ts +11 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -408,6 +408,17 @@ interface ExecutionState {
408
408
  * when the execution is cancelled.
409
409
  */
410
410
  readonly abortSignal: AbortSignal;
411
+ /**
412
+ * Path from root prompt to current prompt.
413
+ *
414
+ * Tracks the current position in the prompt hierarchy:
415
+ * - At root level: `['my_prompt']`
416
+ * - Inside a sub-prompt: `['my_prompt', 'sub_prompt']`
417
+ * - After handoff: `['new_agent_prompt']`
418
+ *
419
+ * This allows tools and hooks to understand their execution context depth.
420
+ */
421
+ readonly promptPath: string[];
411
422
  }
412
423
  /**
413
424
  * The unified interface for all thread operations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standardagents/spec",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",