|
135 | 135 | "pass": { "client": "agentInfo.name starts with \"interop-\"." } |
136 | 136 | }, |
137 | 137 | { |
138 | | - "id": "init.config-boolean", "group": "init", "prompt": "#echo-caps", "phaseB": "P6", |
| 138 | + "id": "init.config-boolean", "group": "init", "prompt": "#echo-caps", |
139 | 139 | "requires": ["client.session.configOptions.boolean"], |
140 | 140 | "client": "session/new, then the prompt.", |
141 | 141 | "agent": "#echo-caps", |
|
154 | 154 | "pass": { "client": "A non-error response." } |
155 | 155 | }, |
156 | 156 | { |
157 | | - "id": "auth.logout-capability", "group": "auth", "phaseB": "P7", |
| 157 | + "id": "auth.logout-capability", "group": "auth", |
158 | 158 | "client": "Check the stored initialize response.", |
159 | 159 | "pass": { "client": "agentCapabilities.auth.logout is present." } |
160 | 160 | }, |
161 | 161 | { |
162 | | - "id": "auth.terminal", "group": "auth", "phaseB": "P5", |
| 162 | + "id": "auth.terminal", "group": "auth", |
163 | 163 | "requires": ["client.auth.terminal"], |
164 | 164 | "client": "Check the stored initialize response.", |
165 | 165 | "agent": "List fixtures.agent.terminalAuthMethod in authMethods iff the client advertised auth.terminal.", |
|
248 | 248 | "pass": { "client": "tool_call call-1, then tool_call_update call-1 with status completed and text content \"tool output\"." } |
249 | 249 | }, |
250 | 250 | { |
251 | | - "id": "update.tool_call-name", "group": "update", "prompt": "#emit tool_call name=read_file", "phaseB": "P3", |
| 251 | + "id": "update.tool_call-name", "group": "update", "prompt": "#emit tool_call name=read_file", |
252 | 252 | "client": "session/new; the prompt.", |
253 | 253 | "pass": { "client": "The received tool_call has name \"read_file\"." } |
254 | 254 | }, |
|
273 | 273 | "pass": { "client": "A config_option_update whose model option has currentValue model-b." } |
274 | 274 | }, |
275 | 275 | { |
276 | | - "id": "update.session_info_update", "group": "update", "prompt": "#emit session_info_update", "phaseB": "P1", |
| 276 | + "id": "update.session_info_update", "group": "update", "prompt": "#emit session_info_update", |
277 | 277 | "client": "session/new; the prompt.", |
278 | 278 | "pass": { "client": "A session_info_update with title \"interop title\"." } |
279 | 279 | }, |
|
283 | 283 | "pass": { "client": "A usage_update with used 100, size 1000 and cost 0.01 USD." } |
284 | 284 | }, |
285 | 285 | { |
286 | | - "id": "update.unknown", "group": "update", "prompt": "#emit unknown", "phaseB": "P1", |
| 286 | + "id": "update.unknown", "group": "update", "prompt": "#emit unknown", |
287 | 287 | "client": "session/new; the prompt.", |
288 | 288 | "agent": "Send the unknown variant through an untyped/raw notification send if the typed API refuses it.", |
289 | 289 | "pass": { "client": "The chunk \"after-unknown\" arrives and the prompt answers end_turn: the unknown update was dropped or surfaced, never fatal." } |
|
310 | 310 | "pass": { "client": "session/new returned availableModes with interop-mode-b, and set_mode answers without error.", "agent": "STEP agent.mode.set PASS when set_mode named a known session and interop-mode-b." } |
311 | 311 | }, |
312 | 312 | { |
313 | | - "id": "config.on-new", "group": "config", "phaseB": "P1b", |
| 313 | + "id": "config.on-new", "group": "config", |
314 | 314 | "client": "session/new.", |
315 | 315 | "agent": "Return fixtures.configOptions (verbose only if the client advertised configOptions.boolean) on session/new, session/load and session/resume.", |
316 | 316 | "pass": { "client": "The response has a select option model with currentValue model-a." } |
|
321 | 321 | "pass": { "client": "The response is the complete list of options, with model at currentValue model-b." } |
322 | 322 | }, |
323 | 323 | { |
324 | | - "id": "config.boolean", "group": "config", "phaseB": "P6", |
| 324 | + "id": "config.boolean", "group": "config", |
325 | 325 | "requires": ["client.session.configOptions.boolean"], |
326 | 326 | "client": "session/new; session/set_config_option {configId: verbose, type: boolean, value: true}.", |
327 | 327 | "pass": { "client": "The response has verbose at currentValue true." } |
|
388 | 388 | "pass": { "client": "The chunk \"elicit: accept {\\\"name\\\":\\\"interop\\\"}\" (JSON compared semantically).", "agent": "STEP agent.elicit.form PASS when the action is accept with content name == interop." } |
389 | 389 | }, |
390 | 390 | { |
391 | | - "id": "elicit.complete", "group": "elicit", "prompt": "#elicit url", "phaseB": "P4", |
| 391 | + "id": "elicit.complete", "group": "elicit", "prompt": "#elicit url", |
392 | 392 | "requires": ["client.elicitation.url"], |
393 | 393 | "client": "session/new; the prompt; accept the url-mode elicitation.", |
394 | 394 | "agent": "#elicit url", |
|
414 | 414 | "pass": { "client": "stopReason cancelled within 6 s of the cancel: the SDK answered for the handler (G0f)." } |
415 | 415 | }, |
416 | 416 | { |
417 | | - "id": "cancel-request.client", "group": "cancel-request", "prompt": "#slow", "phaseB": "P2", |
| 417 | + "id": "cancel-request.client", "group": "cancel-request", "prompt": "#slow", |
418 | 418 | "client": "session/new; the prompt; after the first tick, $/cancel_request {requestId: <the prompt's id>}.", |
419 | 419 | "agent": "#slow; the SDK surfaces the cancel request to the handler.", |
420 | 420 | "pass": { "client": "The prompt ends within 5 s, with error -32800 or stopReason cancelled.", "agent": "STEP agent.cancel-request.client PASS when the handler observed the cancel request." } |
421 | 421 | }, |
422 | 422 | { |
423 | | - "id": "cancel-request.agent", "group": "cancel-request", "prompt": "#fs read-slow {dir}/slow.txt", "phaseB": "P2", |
| 423 | + "id": "cancel-request.agent", "group": "cancel-request", "prompt": "#fs read-slow {dir}/slow.txt", |
424 | 424 | "requires": ["client.fs.readTextFile"], |
425 | 425 | "client": "session/new; the prompt. The fs/read_text_file handler, for a path ending slow.txt, waits up to 10 s or until cancelled.", |
426 | 426 | "agent": "#fs read-slow", |
427 | 427 | "pass": { "client": "The chunk \"cancel-request sent\" and end_turn within 5 s.", "agent": "STEP agent.cancel-request.agent PASS when the fs request ended with error -32800 within 5 s." } |
428 | 428 | }, |
429 | 429 | { |
430 | | - "id": "cancel-request.unknown", "group": "cancel-request", "phaseB": "P2", |
| 430 | + "id": "cancel-request.unknown", "group": "cancel-request", |
431 | 431 | "client": "$/cancel_request for requestId 999999, and for the id of a request that already completed; then session/new and prompt \"after cancel-request\".", |
432 | 432 | "pass": { "client": "No error comes back for either cancel request, and the prompt answers end_turn." } |
433 | 433 | }, |
|
444 | 444 | "pass": { "client": "The notification arrived with params {n: 1}." } |
445 | 445 | }, |
446 | 446 | { |
447 | | - "id": "ext.client-request", "group": "ext", "phaseB": "P9", |
| 447 | + "id": "ext.client-request", "group": "ext", |
448 | 448 | "client": "Send the request _interop/ping {n: 1} to the agent.", |
449 | 449 | "agent": "Answer fixtures.ext.result.", |
450 | 450 | "pass": { "client": "The result is {pong: 1}." } |
451 | 451 | }, |
452 | 452 | { |
453 | | - "id": "ext.client-notification", "group": "ext", "prompt": "#ext last-notification", "phaseB": "P9", |
| 453 | + "id": "ext.client-notification", "group": "ext", "prompt": "#ext last-notification", |
454 | 454 | "client": "Send the notification _interop/note {n: 1}; session/new; the prompt.", |
455 | 455 | "agent": "Record extension notifications; #ext last-notification.", |
456 | 456 | "pass": { "client": "The chunk \"ext last: _interop/note\"." } |
|
462 | 462 | "pass": { "client": "The \"meta\" chunk's update _meta and the PromptResponse _meta both have interop == m1." } |
463 | 463 | }, |
464 | 464 | { |
465 | | - "id": "meta.permission", "group": "meta", "prompt": "#permission allow meta", "phaseB": "P8", |
| 465 | + "id": "meta.permission", "group": "meta", "prompt": "#permission allow meta", |
466 | 466 | "client": "As perm.selected, and put the request's _meta into the RequestPermissionResponse's _meta.", |
467 | 467 | "agent": "#permission allow meta", |
468 | 468 | "pass": { "client": "The request carried _meta interop == m1.", "agent": "STEP agent.meta.permission PASS when the response carried _meta interop == m1." } |
|
0 commit comments