@steerable/agent-ui 0.6.4 → 0.6.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steerable/agent-ui",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
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.4"
60
+ "@steerable/agent-protocol": "0.6.5"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "react": ">=18.0.0",
@@ -149,7 +149,7 @@ describe('AskUserQuestionsCard', () => {
149
149
  payload={{
150
150
  intro: '请回答',
151
151
  questions: [
152
- { id: 'q1', text: '你的目标?', type: 'select', options: ['学习', '工作'] },
152
+ { id: 'q1', text: '你的目标?', type: 'select', options: ['学习', '工作'], multiSelect: false },
153
153
  ],
154
154
  }}
155
155
  onSubmit={onSubmit}
@@ -166,7 +166,7 @@ describe('AskUserQuestionsCard', () => {
166
166
  payload={{
167
167
  intro: '请回答',
168
168
  questions: [
169
- { id: 'q1', text: '你的目标?', type: 'select', options: ['学习', '工作'] },
169
+ { id: 'q1', text: '你的目标?', type: 'select', options: ['学习', '工作'], multiSelect: false },
170
170
  ],
171
171
  answers: { q1: '学习' },
172
172
  }}
@@ -183,7 +183,7 @@ describe('AskUserQuestionsCard', () => {
183
183
  payload={{
184
184
  intro: '请回答',
185
185
  questions: [
186
- { id: 'q1', text: '你的目标?', type: 'select', options: ['学习', '工作'] },
186
+ { id: 'q1', text: '你的目标?', type: 'select', options: ['学习', '工作'], multiSelect: false },
187
187
  ],
188
188
  }}
189
189
  onSubmit={vi.fn()}
@@ -202,7 +202,7 @@ describe('AskUserQuestionsCard', () => {
202
202
  payload={{
203
203
  intro: '请回答',
204
204
  questions: [
205
- { id: 'q1', text: '其他想法?', type: 'select', options: ['学习', '工作'] },
205
+ { id: 'q1', text: '其他想法?', type: 'select', options: ['学习', '工作'], multiSelect: false },
206
206
  ],
207
207
  }}
208
208
  allowCustomText
@@ -226,7 +226,7 @@ describe('AskUserQuestionsCard', () => {
226
226
  payload={{
227
227
  intro: '请回答',
228
228
  questions: [
229
- { id: 'q1', text: '其他想法?', type: 'select', options: ['学习', '工作'] },
229
+ { id: 'q1', text: '其他想法?', type: 'select', options: ['学习', '工作'], multiSelect: false },
230
230
  ],
231
231
  }}
232
232
  customLabel="自定义"