@rowan-agent/agent 0.24.0 → 0.25.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +16 -0
  2. package/dist/index.js +5988 -5907
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1269,6 +1269,13 @@ interface AgentRuntime$1 {
1269
1269
  instructions?: string;
1270
1270
  idempotencyKey?: string;
1271
1271
  }): Promise<AgentRun>;
1272
+ runPhase(agentId: AgentId, options: {
1273
+ phase: string;
1274
+ payload?: JsonValue;
1275
+ input?: UserInput;
1276
+ yieldToInput?: boolean;
1277
+ idempotencyKey?: string;
1278
+ }): Promise<AgentRun>;
1272
1279
  listInvocations(agentId: AgentId, options: {
1273
1280
  source: InvocationSource;
1274
1281
  }): Promise<readonly InvocationCatalogEntry[]>;
@@ -1773,6 +1780,8 @@ interface Phase {
1773
1780
  skills?: Skill[];
1774
1781
  /** Forced next phase */
1775
1782
  target?: string;
1783
+ /** Additional system-prompt guidance while this Phase is in the auto route catalog. */
1784
+ promptGuidelines?: string[];
1776
1785
  /** Structural JSON-safe input defaults */
1777
1786
  input?: PhaseInput;
1778
1787
  /** If true, phase gets a fresh context when executed in parallel */
@@ -2532,6 +2541,13 @@ declare class AgentRuntime implements AgentRuntime$1 {
2532
2541
  contextStatus(agentId: AgentId, options?: {
2533
2542
  contextWindow?: number;
2534
2543
  }): Promise<ContextStatus>;
2544
+ runPhase(agentId: AgentId, options: {
2545
+ phase: string;
2546
+ payload?: JsonValue;
2547
+ input?: UserInput;
2548
+ yieldToInput?: boolean;
2549
+ idempotencyKey?: string;
2550
+ }): Promise<AgentRun>;
2535
2551
  compactContext(agentId: AgentId, options?: {
2536
2552
  input?: UserInput;
2537
2553
  instructions?: string;