@waniwani/sdk 0.12.4-beta.0 → 0.12.4-beta.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.
@@ -384,12 +384,6 @@ type WidgetSignal = {
384
384
  tool: string;
385
385
  /** Data to pass to the display tool */
386
386
  data: Record<string, unknown>;
387
- /**
388
- * @deprecated The engine now emits a standardized instruction telling the AI
389
- * to call the widget tool. Return any per-widget description from the widget
390
- * tool's own response instead — that's where it belongs.
391
- */
392
- description?: string;
393
387
  /**
394
388
  * Whether the user is expected to interact with the widget before the flow continues.
395
389
  * Defaults to true. Set to false for informational widgets that should render and then
@@ -472,11 +466,12 @@ type TypedInterrupt<TState> = (fields: {
472
466
  type TypedShowWidget<TState> = (tool: RegisteredTool | string, config: {
473
467
  data: Record<string, unknown>;
474
468
  /**
475
- * @deprecated The engine now emits a standardized instruction telling the AI
469
+ * REMOVED the engine now emits a standardized instruction telling the AI
476
470
  * to call the widget tool. Return any per-widget description from the widget
477
- * tool's own response instead that's where it belongs.
471
+ * tool's own response instead. Typed as `never` so passing it is a compile-
472
+ * time error pointing authors at the new channel.
478
473
  */
479
- description?: string;
474
+ description?: never;
480
475
  interactive?: boolean;
481
476
  field?: FieldPaths<TState>;
482
477
  }) => WidgetSignal;