@standardagents/spec 0.36.3 → 0.37.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 CHANGED
@@ -3774,6 +3774,20 @@ interface PromptToolConfig {
3774
3774
  * a non-empty human-readable `name` argument and runtimes SHOULD persist it as
3775
3775
  * a child thread display name.
3776
3776
  *
3777
+ * ### Pull-based child visibility
3778
+ *
3779
+ * Whenever resumable subagent configs exist, runtimes MUST also inject a
3780
+ * `subagents` query tool that returns the model-visible registry snapshot
3781
+ * (reference id, name, status, working-status text, initial arguments) as a
3782
+ * tool result on demand. Runtimes MUST NOT additionally inject an ambient
3783
+ * registry system message into request context when the query tool is
3784
+ * available: child state is pull-based (plus completion messages), because a
3785
+ * registry block that mutates between requests both invalidates provider
3786
+ * prefix caches and reads as out-of-dialogue state to agentic-tuned models.
3787
+ * The injected tool descriptions SHOULD direct the model to call `subagents`
3788
+ * before `subagent_create` so existing instances are reused instead of
3789
+ * duplicated.
3790
+ *
3777
3791
  * ### Persistent invocation arguments
3778
3792
  *
3779
3793
  * The child side that receives parent messages dictates initial invocation