@steerable/agent-protocol 0.6.1 → 0.6.4
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.
|
@@ -7,14 +7,204 @@ export interface AskUserQuestionsPayload {
|
|
|
7
7
|
answers?: {
|
|
8
8
|
[k: string]: string | string[];
|
|
9
9
|
} | null;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @minItems 1
|
|
12
|
+
* @maxItems 4
|
|
13
|
+
*/
|
|
14
|
+
questions: [
|
|
15
|
+
{
|
|
16
|
+
id: string;
|
|
17
|
+
text: string;
|
|
18
|
+
/**
|
|
19
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
20
|
+
*/
|
|
21
|
+
header?: string;
|
|
22
|
+
type?: "select" | "text" | "password";
|
|
23
|
+
/**
|
|
24
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
25
|
+
*
|
|
26
|
+
* @minItems 2
|
|
27
|
+
* @maxItems 4
|
|
28
|
+
*/
|
|
29
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
30
|
+
placeholder?: string | null;
|
|
31
|
+
multiSelect?: boolean;
|
|
32
|
+
[k: string]: any;
|
|
33
|
+
}
|
|
34
|
+
] | [
|
|
35
|
+
{
|
|
36
|
+
id: string;
|
|
37
|
+
text: string;
|
|
38
|
+
/**
|
|
39
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
40
|
+
*/
|
|
41
|
+
header?: string;
|
|
42
|
+
type?: "select" | "text" | "password";
|
|
43
|
+
/**
|
|
44
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
45
|
+
*
|
|
46
|
+
* @minItems 2
|
|
47
|
+
* @maxItems 4
|
|
48
|
+
*/
|
|
49
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
50
|
+
placeholder?: string | null;
|
|
51
|
+
multiSelect?: boolean;
|
|
52
|
+
[k: string]: any;
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: string;
|
|
56
|
+
text: string;
|
|
57
|
+
/**
|
|
58
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
59
|
+
*/
|
|
60
|
+
header?: string;
|
|
61
|
+
type?: "select" | "text" | "password";
|
|
62
|
+
/**
|
|
63
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
64
|
+
*
|
|
65
|
+
* @minItems 2
|
|
66
|
+
* @maxItems 4
|
|
67
|
+
*/
|
|
68
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
69
|
+
placeholder?: string | null;
|
|
70
|
+
multiSelect?: boolean;
|
|
71
|
+
[k: string]: any;
|
|
72
|
+
}
|
|
73
|
+
] | [
|
|
74
|
+
{
|
|
75
|
+
id: string;
|
|
76
|
+
text: string;
|
|
77
|
+
/**
|
|
78
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
79
|
+
*/
|
|
80
|
+
header?: string;
|
|
81
|
+
type?: "select" | "text" | "password";
|
|
82
|
+
/**
|
|
83
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
84
|
+
*
|
|
85
|
+
* @minItems 2
|
|
86
|
+
* @maxItems 4
|
|
87
|
+
*/
|
|
88
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
89
|
+
placeholder?: string | null;
|
|
90
|
+
multiSelect?: boolean;
|
|
91
|
+
[k: string]: any;
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: string;
|
|
95
|
+
text: string;
|
|
96
|
+
/**
|
|
97
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
98
|
+
*/
|
|
99
|
+
header?: string;
|
|
100
|
+
type?: "select" | "text" | "password";
|
|
101
|
+
/**
|
|
102
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
103
|
+
*
|
|
104
|
+
* @minItems 2
|
|
105
|
+
* @maxItems 4
|
|
106
|
+
*/
|
|
107
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
108
|
+
placeholder?: string | null;
|
|
109
|
+
multiSelect?: boolean;
|
|
110
|
+
[k: string]: any;
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: string;
|
|
114
|
+
text: string;
|
|
115
|
+
/**
|
|
116
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
117
|
+
*/
|
|
118
|
+
header?: string;
|
|
119
|
+
type?: "select" | "text" | "password";
|
|
120
|
+
/**
|
|
121
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
122
|
+
*
|
|
123
|
+
* @minItems 2
|
|
124
|
+
* @maxItems 4
|
|
125
|
+
*/
|
|
126
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
127
|
+
placeholder?: string | null;
|
|
128
|
+
multiSelect?: boolean;
|
|
129
|
+
[k: string]: any;
|
|
130
|
+
}
|
|
131
|
+
] | [
|
|
132
|
+
{
|
|
133
|
+
id: string;
|
|
134
|
+
text: string;
|
|
135
|
+
/**
|
|
136
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
137
|
+
*/
|
|
138
|
+
header?: string;
|
|
139
|
+
type?: "select" | "text" | "password";
|
|
140
|
+
/**
|
|
141
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
142
|
+
*
|
|
143
|
+
* @minItems 2
|
|
144
|
+
* @maxItems 4
|
|
145
|
+
*/
|
|
146
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
147
|
+
placeholder?: string | null;
|
|
148
|
+
multiSelect?: boolean;
|
|
149
|
+
[k: string]: any;
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: string;
|
|
153
|
+
text: string;
|
|
154
|
+
/**
|
|
155
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
156
|
+
*/
|
|
157
|
+
header?: string;
|
|
158
|
+
type?: "select" | "text" | "password";
|
|
159
|
+
/**
|
|
160
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
161
|
+
*
|
|
162
|
+
* @minItems 2
|
|
163
|
+
* @maxItems 4
|
|
164
|
+
*/
|
|
165
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
166
|
+
placeholder?: string | null;
|
|
167
|
+
multiSelect?: boolean;
|
|
168
|
+
[k: string]: any;
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: string;
|
|
172
|
+
text: string;
|
|
173
|
+
/**
|
|
174
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
175
|
+
*/
|
|
176
|
+
header?: string;
|
|
177
|
+
type?: "select" | "text" | "password";
|
|
178
|
+
/**
|
|
179
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
180
|
+
*
|
|
181
|
+
* @minItems 2
|
|
182
|
+
* @maxItems 4
|
|
183
|
+
*/
|
|
184
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
185
|
+
placeholder?: string | null;
|
|
186
|
+
multiSelect?: boolean;
|
|
187
|
+
[k: string]: any;
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
id: string;
|
|
191
|
+
text: string;
|
|
192
|
+
/**
|
|
193
|
+
* Short chip label shown above the question (Claude Code AskUserQuestion parity). Optional; hosts derive one from `text` when absent.
|
|
194
|
+
*/
|
|
195
|
+
header?: string;
|
|
196
|
+
type?: "select" | "text" | "password";
|
|
197
|
+
/**
|
|
198
|
+
* Choices for a select question (2-4, CC parity). The host auto-appends an 'Other' free-text escape; the model does not list it.
|
|
199
|
+
*
|
|
200
|
+
* @minItems 2
|
|
201
|
+
* @maxItems 4
|
|
202
|
+
*/
|
|
203
|
+
options?: [string, string] | [string, string, string] | [string, string, string, string];
|
|
204
|
+
placeholder?: string | null;
|
|
205
|
+
multiSelect?: boolean;
|
|
206
|
+
[k: string]: any;
|
|
207
|
+
}
|
|
208
|
+
];
|
|
19
209
|
[k: string]: any;
|
|
20
210
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steerable/agent-protocol",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Steerable framework Tier 1 — wire-format types (SSEEvent, ChatMessage, ToolCall, ToolResult, AgentSession, HarnessTrace, sidecar JSON-RPC) shared by every Steerable client and server.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://steerableframework.com/",
|