camouflage-tui 2.3.0-beta.1 → 2.4.0-beta.2

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": "camouflage-tui",
3
- "version": "2.3.0-beta.1",
3
+ "version": "2.4.0-beta.2",
4
4
  "description": "High-performance terminal renderer for AI agent applications. A React Ink alternative built for streaming, persistence, and replay.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/src/types.d.ts CHANGED
@@ -52,7 +52,8 @@ export type EventType =
52
52
  | "TranscriptCleared"
53
53
  | "Splash"
54
54
  | "ShowToast"
55
- | "MentionQuery";
55
+ | "MentionQuery"
56
+ | "AssistantReasoningDelta";
56
57
 
57
58
  export type Direction = "inbound" | "outbound";
58
59
 
@@ -267,7 +268,7 @@ export type ShowKeyValueView = {
267
268
  items: KeyValueItem[];
268
269
  };
269
270
 
270
- export type FormFieldKind = "text" | "password";
271
+ export type FormFieldKind = "text" | "password" | "multiline";
271
272
  export type FormField = {
272
273
  name: string;
273
274
  label: string;
@@ -367,6 +368,8 @@ export type Event = EnvelopeMeta &
367
368
  | { event_type: "UserMessageCreated"; payload: UserMessage }
368
369
  | { event_type: "AssistantStreamStarted"; payload: AssistantStreamStarted }
369
370
  | { event_type: "AssistantTokenDelta"; payload: AssistantTokenDelta }
371
+ /** v2.4+: the model's reasoning, shown when the user presses Ctrl+R (inline UI). */
372
+ | { event_type: "AssistantReasoningDelta"; payload: AssistantTokenDelta }
370
373
  | { event_type: "AssistantMessageCompleted"; payload: AssistantMessageCompleted }
371
374
  | { event_type: "ToolExecutionStarted"; payload: ToolStarted }
372
375
  | { event_type: "ToolExecutionStdout"; payload: ToolOutput }
package/src/types.js CHANGED
@@ -23,6 +23,7 @@ const KNOWN_TYPES = new Set([
23
23
  "ShowWizard", "WizardCompleted", "WizardCancelled",
24
24
  "ModeChangeRequested", "CancelRequested",
25
25
  "TranscriptCleared", "Splash", "ShowToast", "MentionQuery",
26
+ "AssistantReasoningDelta",
26
27
  ]);
27
28
 
28
29
  /**