@stll/chat 0.1.13 → 0.1.15

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.
Files changed (2) hide show
  1. package/dist/composer.js +2 -0
  2. package/package.json +5 -5
package/dist/composer.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { panic } from "better-result";
1
2
  import { ArrowUpIcon, RotateCcwIcon, SquareIcon } from "lucide-react";
2
3
  import { Button } from "@stll/ui/button";
3
4
  import { cn } from "@stll/ui/utils";
@@ -26,6 +27,7 @@ const ChatComposerAction = ({ canSend, className, isGenerating, labels, onRetry,
26
27
  case "retry":
27
28
  onRetry?.();
28
29
  return;
30
+ default: panic(`Unhandled mode: ${String(mode)}`);
29
31
  }
30
32
  };
31
33
  return /* @__PURE__ */ jsxs(Button, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/chat",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Typed React chat composer, message stream, model selector, and transport runtime primitives.",
5
5
  "keywords": [
6
6
  "ai",
@@ -57,12 +57,12 @@
57
57
  "typecheck": "bun ../../packages/scripts/src/tsc-native.ts --noEmit",
58
58
  "lint": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --report-unused-disable-directives-severity=error --deny-warnings --type-aware packages/chat",
59
59
  "lint:fix": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --type-aware --fix packages/chat",
60
- "format": "oxfmt .",
60
+ "format": "bun ../../scripts/run-oxfmt.ts .",
61
61
  "prepack": "bun run build"
62
62
  },
63
63
  "dependencies": {
64
- "@stll/ai-catalog": "^0.1.6",
65
- "@stll/ui": "^0.24.0",
64
+ "@stll/ai-catalog": "^0.1.8",
65
+ "@stll/ui": "^0.25.1",
66
66
  "better-result": "3.0.0",
67
67
  "lucide-react": "1.30.0"
68
68
  },
@@ -70,7 +70,7 @@
70
70
  "@stll/typescript-config": "0.0.0",
71
71
  "@types/react": "^19.2.17",
72
72
  "@types/react-dom": "^19.2.3",
73
- "bun-types": "1.4.0",
73
+ "bun-types": "1.4.2",
74
74
  "react": "^19.2.8",
75
75
  "react-dom": "^19.2.8",
76
76
  "tailwindcss": "4.3.3",