@steerable/agent-ui 0.6.68 → 0.6.70

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.
@@ -33,7 +33,9 @@ export interface ChatStreamTransport {
33
33
  * caller should keep the draft — a normal send can follow once the turn
34
34
  * ends). When omitted, the UI keeps send-during-streaming disabled.
35
35
  */
36
- steer?: (content: string) => Promise<boolean>;
36
+ steer?: (content: string, options?: {
37
+ execPolicy?: 'workspace' | 'full';
38
+ }) => Promise<boolean>;
37
39
  }
38
40
  /**
39
41
  * Where `steerOrFollowUpUserMessage` actually delivered the message:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steerable/agent-ui",
3
- "version": "0.6.68",
3
+ "version": "0.6.70",
4
4
  "description": "Steerable framework Tier 4 — headless React hooks (useAgentSession, useChatStream, useToolCallStatus) and Tailwind-themed components (ChatPanel, MessageList, OrchestrationPlanCard, ToolCallRenderer, SSEStreamView) for embedding Steerable agents in any React app.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://steerableframework.com/storybook/",
@@ -57,7 +57,7 @@
57
57
  "README.md"
58
58
  ],
59
59
  "dependencies": {
60
- "@steerable/agent-protocol": "0.6.68"
60
+ "@steerable/agent-protocol": "0.6.70"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "react": ">=18.0.0",
@@ -45,7 +45,10 @@ export interface ChatStreamTransport {
45
45
  * caller should keep the draft — a normal send can follow once the turn
46
46
  * ends). When omitted, the UI keeps send-during-streaming disabled.
47
47
  */
48
- steer?: (content: string) => Promise<boolean>;
48
+ steer?: (
49
+ content: string,
50
+ options?: { execPolicy?: 'workspace' | 'full' },
51
+ ) => Promise<boolean>;
49
52
  }
50
53
 
51
54
  /**