diff --git a/.changeset/quiet-widgets-shrink.md b/.changeset/quiet-widgets-shrink.md deleted file mode 100644 index be1087879..000000000 --- a/.changeset/quiet-widgets-shrink.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@cossistant/react": minor -"@cossistant/next": minor -"@cossistant/core": patch -"@cossistant/types": patch ---- - -Add focused lazy Support entries for React and Next, defer and share built-in -sound loading, and reduce the precompiled widget stylesheet. Stop publishing -source and declaration maps from the SDK packages to substantially reduce -their registry payloads. diff --git a/.changeset/strict-support-provider-replay.md b/.changeset/strict-support-provider-replay.md deleted file mode 100644 index b5a6f786e..000000000 --- a/.changeset/strict-support-provider-replay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cossistant/react": patch ---- - -Fix internally owned SupportProvider controllers staying inactive after React StrictMode effect replay in development. diff --git a/.changeset/wild-mice-shake.md b/.changeset/wild-mice-shake.md deleted file mode 100644 index e6eb3f1b3..000000000 --- a/.changeset/wild-mice-shake.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"@cossistant/protocol": minor ---- - -Add `@cossistant/protocol`, the canonical HTTP and WebSocket wire contract for -the Cossistant API. - -The package owns all 65 public operations (64 REST routes plus the `/ws` -handshake) as `@hono/zod-openapi` route descriptors, along with the shared -security schemes, protocol headers, error responses, and operation-ID/tag -normalization. It is side-effect free: importing it initializes no database, -Redis, S3, billing, auth, or queue clients, and reads no environment variables. - -- `@cossistant/protocol/routes` — descriptors and the recursive mount table, - registerable with `app.openapi(route, yourHandler)` -- `@cossistant/protocol/openapi` — `buildCossistantOpenApiDocument()`, pure - and deterministic, with server URLs as arguments -- `@cossistant/protocol/testkit` — compatibility checking so a second - implementation can prove in its own CI that it still matches the contract -- `@cossistant/protocol/openapi.json` — the generated specification - -`apps/api` now imports its descriptors from this package and keeps its -handlers. The served document is byte-identical to before the extraction. diff --git a/bun.lock b/bun.lock index 770b24b1a..ca11d1b00 100644 --- a/bun.lock +++ b/bun.lock @@ -265,7 +265,7 @@ }, "examples/nextjs-tailwind": { "name": "@cossistant/example-nextjs-tailwind", - "version": "0.1.5", + "version": "0.1.6", "dependencies": { "@cossistant/core": "workspace:*", "@cossistant/next": "workspace:*", @@ -286,7 +286,7 @@ }, "examples/react-vite": { "name": "@cossistant/example-react-vite", - "version": "0.1.0", + "version": "0.1.1", "dependencies": { "@cossistant/core": "workspace:*", "@cossistant/react": "workspace:*", @@ -305,7 +305,7 @@ }, "packages/browser": { "name": "@cossistant/browser", - "version": "0.2.0", + "version": "0.3.0", "dependencies": { "@cossistant/core": "workspace:*", "@cossistant/react": "workspace:*", @@ -320,7 +320,7 @@ }, "packages/core": { "name": "@cossistant/core", - "version": "0.2.0", + "version": "0.3.0", "dependencies": { "@hono/zod-openapi": "^1.5.1", "nanoid": "^5.1.5", @@ -386,7 +386,7 @@ }, "packages/next": { "name": "@cossistant/next", - "version": "0.2.0", + "version": "0.3.0", "dependencies": { "@cossistant/react": "workspace:*", }, @@ -401,7 +401,7 @@ }, "packages/protocol": { "name": "@cossistant/protocol", - "version": "0.2.0", + "version": "0.3.0", "dependencies": { "@cossistant/types": "workspace:*", "@hono/zod-openapi": "^1.5.1", @@ -419,7 +419,7 @@ }, "packages/react": { "name": "@cossistant/react", - "version": "0.2.0", + "version": "0.3.0", "dependencies": { "@cossistant/core": "workspace:*", "@cossistant/tiny-markdown": "workspace:*", @@ -530,7 +530,7 @@ }, "packages/types": { "name": "@cossistant/types", - "version": "0.2.0", + "version": "0.3.0", "dependencies": { "@hono/zod-openapi": "^1.5.1", "zod": "^4.3.6", diff --git a/examples/nextjs-tailwind/CHANGELOG.md b/examples/nextjs-tailwind/CHANGELOG.md index 0c8f0a24d..a1f12b573 100644 --- a/examples/nextjs-tailwind/CHANGELOG.md +++ b/examples/nextjs-tailwind/CHANGELOG.md @@ -1,5 +1,13 @@ # @cossistant/example-nextjs-tailwind +## 0.1.6 + +### Patch Changes + +- Updated dependencies [[`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449)]: + - @cossistant/next@0.3.0 + - @cossistant/core@0.3.0 + ## 0.1.5 ### Patch Changes diff --git a/examples/nextjs-tailwind/package.json b/examples/nextjs-tailwind/package.json index 2e9c0a168..3ecab1b7b 100644 --- a/examples/nextjs-tailwind/package.json +++ b/examples/nextjs-tailwind/package.json @@ -1,6 +1,6 @@ { "name": "@cossistant/example-nextjs-tailwind", - "version": "0.1.5", + "version": "0.1.6", "private": true, "type": "module", "scripts": { diff --git a/examples/react-vite/CHANGELOG.md b/examples/react-vite/CHANGELOG.md new file mode 100644 index 000000000..90853128e --- /dev/null +++ b/examples/react-vite/CHANGELOG.md @@ -0,0 +1,9 @@ +# @cossistant/example-react-vite + +## 0.1.1 + +### Patch Changes + +- Updated dependencies [[`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449), [`41fd069`](https://github.com/cossistantcom/cossistant/commit/41fd069ddd795fc5588045e5dba0742b643d23eb)]: + - @cossistant/react@0.3.0 + - @cossistant/core@0.3.0 diff --git a/examples/react-vite/package.json b/examples/react-vite/package.json index 6cacf4a68..aa6e09775 100644 --- a/examples/react-vite/package.json +++ b/examples/react-vite/package.json @@ -1,6 +1,6 @@ { "name": "@cossistant/example-react-vite", - "version": "0.1.0", + "version": "0.1.1", "private": true, "type": "module", "scripts": { diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 165f4c0e7..42aa5ddf7 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,13 @@ # @cossistant/browser +## 0.3.0 + +### Patch Changes + +- Updated dependencies [[`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449), [`41fd069`](https://github.com/cossistantcom/cossistant/commit/41fd069ddd795fc5588045e5dba0742b643d23eb)]: + - @cossistant/react@0.3.0 + - @cossistant/core@0.3.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index 9a2a609c5..f6013a009 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,7 +1,7 @@ { "name": "@cossistant/browser", "type": "module", - "version": "0.2.0", + "version": "0.3.0", "private": false, "author": "Cossistant team", "description": "Browser runtime and CDN embed for the Cossistant support widget.", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 764ccf721..51a701efa 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,14 @@ # @cossistant/core +## 0.3.0 + +### Patch Changes + +- [`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449) Thanks [@Rieranthony](https://github.com/Rieranthony)! - Add focused lazy Support entries for React and Next, defer and share built-in + sound loading, and reduce the precompiled widget stylesheet. Stop publishing + source and declaration maps from the SDK packages to substantially reduce + their registry payloads. + ## 0.2.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index ef7f1af86..fa9501a6b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@cossistant/core", "type": "module", - "version": "0.2.0", + "version": "0.3.0", "private": false, "author": "Cossistant Team", "description": "Core library for connecting to Cossistant API and managing data fetching", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index f6051b70c..11c5d3c88 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,19 @@ # @cossistant/next +## 0.3.0 + +### Minor Changes + +- [`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449) Thanks [@Rieranthony](https://github.com/Rieranthony)! - Add focused lazy Support entries for React and Next, defer and share built-in + sound loading, and reduce the precompiled widget stylesheet. Stop publishing + source and declaration maps from the SDK packages to substantially reduce + their registry payloads. + +### Patch Changes + +- Updated dependencies [[`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449), [`41fd069`](https://github.com/cossistantcom/cossistant/commit/41fd069ddd795fc5588045e5dba0742b643d23eb)]: + - @cossistant/react@0.3.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/next/package.json b/packages/next/package.json index 0bf2441e5..1430d47b5 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,7 +1,7 @@ { "name": "@cossistant/next", "type": "module", - "version": "0.2.0", + "version": "0.3.0", "private": false, "author": "Cossistant team", "description": "Next.js-ready SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.", diff --git a/packages/protocol/CHANGELOG.md b/packages/protocol/CHANGELOG.md new file mode 100644 index 000000000..2637732aa --- /dev/null +++ b/packages/protocol/CHANGELOG.md @@ -0,0 +1,29 @@ +# @cossistant/protocol + +## 0.3.0 + +### Minor Changes + +- [#162](https://github.com/cossistantcom/cossistant/pull/162) [`ee31da8`](https://github.com/cossistantcom/cossistant/commit/ee31da86e0211cf321b139e191f255ce1a62ba63) Thanks [@Rieranthony](https://github.com/Rieranthony)! - Add `@cossistant/protocol`, the canonical HTTP and WebSocket wire contract for + the Cossistant API. + + The package owns all 65 public operations (64 REST routes plus the `/ws` + handshake) as `@hono/zod-openapi` route descriptors, along with the shared + security schemes, protocol headers, error responses, and operation-ID/tag + normalization. It is side-effect free: importing it initializes no database, + Redis, S3, billing, auth, or queue clients, and reads no environment variables. + - `@cossistant/protocol/routes` — descriptors and the recursive mount table, + registerable with `app.openapi(route, yourHandler)` + - `@cossistant/protocol/openapi` — `buildCossistantOpenApiDocument()`, pure + and deterministic, with server URLs as arguments + - `@cossistant/protocol/testkit` — compatibility checking so a second + implementation can prove in its own CI that it still matches the contract + - `@cossistant/protocol/openapi.json` — the generated specification + + `apps/api` now imports its descriptors from this package and keeps its + handlers. The served document is byte-identical to before the extraction. + +### Patch Changes + +- Updated dependencies [[`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449)]: + - @cossistant/types@0.3.0 diff --git a/packages/protocol/package.json b/packages/protocol/package.json index bb0ffd6d7..c6ba390bb 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,7 +1,7 @@ { "name": "@cossistant/protocol", "type": "module", - "version": "0.2.0", + "version": "0.3.0", "private": false, "author": "Cossistant Team", "description": "Canonical HTTP and WebSocket wire contract for the Cossistant API", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 5dd55bbaa..285095a18 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,22 @@ # @cossistant/react +## 0.3.0 + +### Minor Changes + +- [`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449) Thanks [@Rieranthony](https://github.com/Rieranthony)! - Add focused lazy Support entries for React and Next, defer and share built-in + sound loading, and reduce the precompiled widget stylesheet. Stop publishing + source and declaration maps from the SDK packages to substantially reduce + their registry payloads. + +### Patch Changes + +- [`41fd069`](https://github.com/cossistantcom/cossistant/commit/41fd069ddd795fc5588045e5dba0742b643d23eb) Thanks [@Rieranthony](https://github.com/Rieranthony)! - Fix internally owned SupportProvider controllers staying inactive after React StrictMode effect replay in development. + +- Updated dependencies [[`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449)]: + - @cossistant/core@0.3.0 + - @cossistant/types@0.3.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index ed8843a6b..8bb975cb7 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@cossistant/react", "type": "module", - "version": "0.2.0", + "version": "0.3.0", "private": false, "author": "Cossistant team", "description": "Headless React SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 65456db14..4b9300353 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,14 @@ # @cossistant/types +## 0.3.0 + +### Patch Changes + +- [`43d79f4`](https://github.com/cossistantcom/cossistant/commit/43d79f40caeaed8a0d72d8997643ef42654b0449) Thanks [@Rieranthony](https://github.com/Rieranthony)! - Add focused lazy Support entries for React and Next, defer and share built-in + sound loading, and reduce the precompiled widget stylesheet. Stop publishing + source and declaration maps from the SDK packages to substantially reduce + their registry payloads. + ## 0.2.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index 892c899d4..fd8eb14b3 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { "name": "@cossistant/types", "type": "module", - "version": "0.2.0", + "version": "0.3.0", "private": false, "author": "Cossistant Team", "description": "Shared TypeScript types for Cossistant packages",