chat-js 1.0.0-alpha.1 → 1.0.0-alpha.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/README.md CHANGED
@@ -32,7 +32,7 @@ Run `bun --filter chat-js test:gateways` from the repository root to verify inde
32
32
 
33
33
  ## Installation and migration
34
34
 
35
- The `1.0.0-alpha.1` release continues the ChatJS 1.0 alpha series under the `chat-js` package name. Apps are usable, but APIs and generated source may change substantially before 1.0. Use `npx chat-js@alpha` for the examples below. This CLI supports Base UI and Radix with registry `0.2.0-beta.3`.
35
+ The `1.0.0-alpha.2` release continues the ChatJS 1.0 alpha series under the `chat-js` package name. Apps are usable, but APIs and generated source may change substantially before 1.0. Use `npx chat-js@alpha` for the examples below. This CLI supports Base UI and Radix with registry `0.2.0-beta.3`.
36
36
 
37
37
  Pass native shadcn visual options after `--`:
38
38
 
@@ -75,7 +75,7 @@ Migrate callers together with primitives. Base UI menu actions use `onClick` and
75
75
 
76
76
  This CLI candidate pins new apps to `@chat-js/registry@0.2.0-beta.3`. Matching registry builds preserve the root Base namespace and add complete `/base/{name}.json` and `/radix/{name}.json` namespaces. Fresh Radix generation selects `/radix/`; item IDs and installation targets remain the same. Subsequent `add` and `sync` retain the configured namespace and check the host's native `base-*` or `radix-*` style before writing source or registrations.
77
77
 
78
- UI-specific plugins and tools declare descriptor `contractVersion: 2` with matching `uiBase: "base"` or `uiBase: "radix"`. A mismatch stops installation; v2 descriptor versions do not prescribe npm major versions. Legacy v1 descriptors remain supported. Existing applications are not automatically migrated between libraries: changing `components.json` or a registry URL alone is insufficient. Keep the compatible registry namespace until migrating primitives and callers together. Publish the matching registry candidate under `beta` before publishing the CLI under `alpha`. The CLI’s `latest` tag also points to the explicitly approved `1.0.0-alpha.1` as an explicit default-install policy; the version remains an alpha until the stable 1.0 launch.
78
+ UI-specific plugins and tools declare descriptor `contractVersion: 2` with matching `uiBase: "base"` or `uiBase: "radix"`. A mismatch stops installation; v2 descriptor versions do not prescribe npm major versions. Legacy v1 descriptors remain supported. Existing applications are not automatically migrated between libraries: changing `components.json` or a registry URL alone is insufficient. Keep the compatible registry namespace until migrating primitives and callers together. Publish the matching registry candidate under `beta` before publishing the CLI under `alpha`. The CLI’s `latest` tag also points to the explicitly approved `1.0.0-alpha.2` as an explicit default-install policy; the version remains an alpha until the stable 1.0 launch.
79
79
 
80
80
  Run `bun --cwd packages/cli test:native-create` to generate a real standalone preset app with uploads, OpenRouter, S3 and Vercel Sandbox, verify native preset resolution and add/sync preservation, then typecheck the result. Set `CHATJS_KEEP_NATIVE_FIXTURE=1` to retain the generated app and logs. This check needs network access but no gateway or storage credentials.
81
81
 
package/dist/index.js CHANGED
@@ -23128,7 +23128,7 @@ var aiTitlesItem = {
23128
23128
  // ../registry/package.json
23129
23129
  var package_default = {
23130
23130
  name: "@chat-js/registry",
23131
- version: "0.2.0",
23131
+ version: "0.2.0-beta.3",
23132
23132
  private: false,
23133
23133
  description: "ChatJS tool and gateway registry items",
23134
23134
  keywords: [
@@ -55919,7 +55919,7 @@ var create = new Command().name("create").option("--code-execution-tool <item>",
55919
55919
  // package.json
55920
55920
  var package_default4 = {
55921
55921
  name: "chat-js",
55922
- version: "1.0.0-alpha.1",
55922
+ version: "1.0.0-alpha.2",
55923
55923
  private: false,
55924
55924
  description: "CLI for creating and extending ChatJS apps",
55925
55925
  keywords: [
@@ -55968,8 +55968,8 @@ var package_default4 = {
55968
55968
  format: "oxfmt --write ."
55969
55969
  },
55970
55970
  dependencies: {
55971
- "@chat-js/gateways": "workspace:*",
55972
- "@chat-js/sandboxes": "workspace:*",
55971
+ "@chat-js/gateways": "0.2.0",
55972
+ "@chat-js/sandboxes": "0.2.0",
55973
55973
  "@clack/prompts": "^1.0.1",
55974
55974
  commander: "^14.0.0",
55975
55975
  "files-sdk": "2.5.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chat-js",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
4
4
  "private": false,
5
5
  "description": "CLI for creating and extending ChatJS apps",
6
6
  "keywords": [
@@ -49,8 +49,8 @@
49
49
  "format": "oxfmt --write ."
50
50
  },
51
51
  "dependencies": {
52
- "@chat-js/gateways": "workspace:*",
53
- "@chat-js/sandboxes": "workspace:*",
52
+ "@chat-js/gateways": "0.2.0",
53
+ "@chat-js/sandboxes": "0.2.0",
54
54
  "@clack/prompts": "^1.0.1",
55
55
  "commander": "^14.0.0",
56
56
  "files-sdk": "2.5.0",
@@ -1,11 +1,5 @@
1
1
  # @chat-js/electron
2
2
 
3
- ## 0.3.3
4
-
5
- ### Patch Changes
6
-
7
- - [#906](https://github.com/FranciscoMoretti/chat-js/pull/906) [`95bfbcb`](https://github.com/FranciscoMoretti/chat-js/commit/95bfbcb3ef01c7d03a0b79a545e9fb425c4ed7c6) Thanks [@FranciscoMoretti](https://github.com/FranciscoMoretti)! - Extract Desktop into an optional registry plugin with authentication, navigation, and session synchronization contributions. Install the web integration and Electron companion together through create or add desktop, keep web-only apps free of desktop code and dependencies, and generate the companion's runtime configuration during prebuild.
8
-
9
3
  ## 0.3.2
10
4
 
11
5
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "__PROJECT_NAME__-electron",
3
- "version": "0.3.3",
3
+ "version": "0.3.2",
4
4
  "private": true,
5
5
  "description": "ChatJS desktop application",
6
6
  "homepage": "https://demo.chatjs.dev",