@touchine-ai/ojo 2.0.0-next.13 → 2.0.0

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 (3) hide show
  1. package/README.md +7 -0
  2. package/dist/index.js +44 -44
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -67,6 +67,10 @@ The result uses `generate-prototype-build-gate.v1` and reports structured `manif
67
67
 
68
68
  ## Authentication
69
69
 
70
+ New CLI login links explicitly select `framework=irise`. Deploy the matching gateway CLI-auth routing and web continuation changes before releasing this CLI. Browser login failures return their original error and never start device authorization; select `--mode device` explicitly when that flow is wanted.
71
+
72
+ Authentication is stored separately for each normalized server.v1 API base under `~/.ojo/auth/server-v1/`. Existing unscoped CLI credentials cannot be identified reliably and are not imported: sign in again after upgrading. Project history stays in its existing database. Login and logout affect only the selected API environment; modern CLI and IDE clients still share credentials within that environment.
73
+
70
74
  ```bash
71
75
  ojo auth login # Web login (opens browser automatically)
72
76
  ojo auth login --mode web # Explicitly use web mode
@@ -91,6 +95,9 @@ ojo project list --page-size 50 # Set page size
91
95
  ojo project list --page-token <token> # Go to next page
92
96
  ojo project list --favorite # Show only favorited projects
93
97
  ojo project list --json # JSON output
98
+ ojo project team list --json # New-framework Team catalog
99
+ ojo project team set <projectId> --name "原型设计团队" --sync-skills --json
100
+ ojo project team get <projectId> --json # Verify saved project Team
94
101
  ```
95
102
 
96
103
  ## Screen