@stll/chat 0.6.4 → 0.6.5
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { chatTurnResumeProbeSchema } from "./resume-contract.js";
|
|
2
|
-
import { EventType } from "@ag-ui/core";
|
|
3
|
-
import { fetchServerSentEvents } from "@tanstack/ai-client";
|
|
4
2
|
import { Result, TaggedError, panic } from "better-result";
|
|
5
3
|
import * as v from "valibot";
|
|
4
|
+
import { EventType } from "@ag-ui/core";
|
|
5
|
+
import { fetchServerSentEvents } from "@tanstack/ai-client";
|
|
6
6
|
// src/durable-transport.ts
|
|
7
7
|
var ChatReconnectError = class extends TaggedError("ChatReconnectError") {};
|
|
8
8
|
const RECONNECT_WINDOW_MS = 18e4;
|
package/dist/resume-contract.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
1
|
import { InterruptSchema } from "@ag-ui/core/schemas";
|
|
2
|
+
import * as v from "valibot";
|
|
3
3
|
// src/resume-contract.ts
|
|
4
4
|
/** Keep native interrupt validation tied to the protocol's owning schema. */
|
|
5
5
|
const chatResumeSnapshotSchema = v.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/chat",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "Typed React chat composer, message stream, model selector, and transport runtime primitives.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"clean": "git clean -xdf dist .cache .turbo node_modules",
|
|
82
|
-
"build": "tsdown",
|
|
82
|
+
"build": "bun --bun tsdown",
|
|
83
83
|
"pack:dry-run": "bun pm pack --dry-run",
|
|
84
84
|
"test": "bun test src",
|
|
85
85
|
"typecheck": "bun check --no-pretty --all --project=tsconfig.json",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@ag-ui/core": "1.0.4",
|
|
93
93
|
"@stll/ai-catalog": "^0.17.0",
|
|
94
94
|
"@stll/html": "0.1.2",
|
|
95
|
-
"@stll/ui": "^0.
|
|
95
|
+
"@stll/ui": "^0.79.0",
|
|
96
96
|
"@tanstack/ai-client": "1.1.0",
|
|
97
97
|
"@types/hast": "^3.0.5",
|
|
98
98
|
"better-result": "3.0.1",
|