@theoremjs/agents 0.3.5-next.886.g0e88258 → 0.3.5-next.894.gdec8f15

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.
@@ -578,9 +578,12 @@ export interface AgentCall {
578
578
  * signal, trace parent, and hook. `provider` runs the turn; omit it to use the
579
579
  * caller's, which works only when both are on the same provider and protocol.
580
580
  * `host` is what the called agent's tools read as `ctx.host`; omit it and they
581
- * read none, because the caller's is not passed down.
581
+ * read none, because the caller's is not passed down. `path` is the path the
582
+ * called agent's turn runs on; omit it and its turn has none, so it gets only
583
+ * tools on every path (`'*'`). `options` fills the called profile's own
584
+ * `identity.options`, for its `when` lines; the caller's are not passed down.
582
585
  */
583
- export interface AgentCallRequest extends Partial<Pick<TurnRequest, 'input' | 'speech' | 'effort' | 'builtInArgs' | 'metadata' | 'onStage' | 'conversationId' | 'host'>> {
586
+ export interface AgentCallRequest extends Partial<Pick<TurnRequest, 'input' | 'speech' | 'effort' | 'builtInArgs' | 'metadata' | 'onStage' | 'conversationId' | 'host' | 'path' | 'options'>> {
584
587
  model?: ModelId;
585
588
  provider?: import('../protocols/runtime.js').ProviderHostOptions;
586
589
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/agents",
3
- "version": "0.3.5-next.886.g0e88258",
3
+ "version": "0.3.5-next.894.gdec8f15",
4
4
  "description": "A flat TypeScript agent kernel for typed profiles, deterministic turn execution, registered tools, provider adapters, guardrails, and host-injected traces.",
5
5
  "keywords": [
6
6
  "agent",