@coltonkirsten/a12s 0.12.0 → 0.12.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.
@@ -512,6 +512,13 @@ export type TurnSteeredEvent = Ev<"turn.steered", TurnSteeredData>;
512
512
  export type TextDeltaEvent = Ev<"text.delta", {
513
513
  text: string;
514
514
  }>;
515
+ /** Claude Code only: the model started writing a tool call of the agent's own; its tool.started, with the same `id`, follows once the input is complete. */
516
+ export type ToolComposingEvent = Ev<"tool.composing", {
517
+ id: string;
518
+ name: string;
519
+ }>;
520
+ /** Claude Code only: the model started a thinking block of the agent's own. */
521
+ export type ThinkingEvent = Ev<"thinking", Record<string, never>>;
515
522
  export type ToolStartedEvent = Ev<"tool.started", ToolStartedData>;
516
523
  export type ToolFinishedEvent = Ev<"tool.finished", ToolFinishedData>;
517
524
  export type PermissionEvent = Ev<"permission", {
@@ -556,7 +563,7 @@ export type ServicePhaseEvent = Ev<"service.phase", ServicePhaseData>;
556
563
  /** Made by the SDK, never journaled: the stream could not resume from its cursor and events were lost. */
557
564
  export type GapEvent = Ev<"gap", GapData>;
558
565
  /** One event of an agent computer's journal, or the Controller's own on the fleet-wide stream. Narrow on `type` to get typed `data`. */
559
- export type A12sEvent = TurnStartedEvent | TurnDispatchedEvent | TurnSteeredEvent | TextDeltaEvent | ToolStartedEvent | ToolFinishedEvent | PermissionEvent | DiagnosticEvent | TurnFinishedEvent | SessionChangedEvent | ResumeFailedEvent | LifecycleEvent | HarnessRestartedEvent | ContinuationAbandonedEvent | TurnRefusedEvent | InboxDiscardedEvent | EgressDeniedEvent | TaskStartedEvent | TaskFinishedEvent | FleetChangedEvent | PhaseEvent | InboxChangedEvent | ServicePhaseEvent | GapEvent;
566
+ export type A12sEvent = TurnStartedEvent | TurnDispatchedEvent | TurnSteeredEvent | TextDeltaEvent | ToolComposingEvent | ThinkingEvent | ToolStartedEvent | ToolFinishedEvent | PermissionEvent | DiagnosticEvent | TurnFinishedEvent | SessionChangedEvent | ResumeFailedEvent | LifecycleEvent | HarnessRestartedEvent | ContinuationAbandonedEvent | TurnRefusedEvent | InboxDiscardedEvent | EgressDeniedEvent | TaskStartedEvent | TaskFinishedEvent | FleetChangedEvent | PhaseEvent | InboxChangedEvent | ServicePhaseEvent | GapEvent;
560
567
  export type EventType = A12sEvent["type"];
561
568
  /** One tool call in a Turn. A `send` to another Computer is `mcp__a12s__send` with `input.body`. */
562
569
  export interface ToolCall {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coltonkirsten/a12s",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "TypeScript client for a12s: send work to agent Computers, stream their events and Turns, in Node or the browser",
5
5
  "license": "MIT",
6
6
  "type": "module",