@spunto/design-system 0.63.0 → 0.63.1

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": "@spunto/design-system",
3
- "version": "0.63.0",
3
+ "version": "0.63.1",
4
4
  "description": "Spunto's shared design system — green tokens (conservatory + sprout), color constants, and UI primitives.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,14 +42,15 @@ import type { DraftFile, TaskPendingAction } from "./types"
42
42
  * stream, and every agent app's runner (RFC 0048) — mirrors `isInteractive` of
43
43
  * `@spunto/build/agent-stream`, which this package does not depend on.
44
44
  */
45
- export const INTERACTIVE_PROTOCOLS: ReadonlySet<string> = new Set(["claude-stream", "claude-runner", "codex-runner"])
45
+ export const INTERACTIVE_PROTOCOLS: ReadonlySet<string> = new Set(["agent-v1", "claude-stream", "claude-runner", "codex-runner"])
46
46
 
47
47
  export interface TaskComposerProps {
48
48
  state: string
49
49
  /** Did the stream give us a session id to resume? Without one there is nothing to continue. */
50
50
  canResume?: boolean
51
51
  /**
52
- * How the session is read (`claude-stream`, or an agent app's `claude-runner` / `codex-runner`…).
52
+ * How the session is read (`agent-v1`, the Spunto agent contract every agent app's runner speaks;
53
+ * `claude-stream` or an app's older `claude-runner` / `codex-runner` for a session begun on them).
53
54
  * An interactive one is answered while it works, and stopped (`INTERACTIVE_PROTOCOLS`).
54
55
  */
55
56
  protocol: string
@@ -356,7 +356,7 @@ describe("TaskComposer", () => {
356
356
  })
357
357
 
358
358
  it("lets an agent app's session be answered while it works — every runner is interactive", () => {
359
- for (const protocol of ["claude-runner", "codex-runner"]) {
359
+ for (const protocol of ["agent-v1", "claude-runner", "codex-runner"]) {
360
360
  const onSubmit = vi.fn()
361
361
  const { unmount } = render(<TaskComposer state="running" canResume protocol={protocol} onSubmit={onSubmit} />)
362
362
  const box = screen.getByRole("textbox") as HTMLTextAreaElement