@touchine-ai/ojo 2.0.0 → 2.0.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.
Files changed (3) hide show
  1. package/README.md +16 -1
  2. package/dist/index.js +43 -43
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -89,7 +89,7 @@ Need an AccessKey for `--mode access-key`? Open the AccessKey manager directly:
89
89
  ## Projects
90
90
 
91
91
  ```bash
92
- ojo project create --name "Import target" --json # Create an empty server.v1 project
92
+ ojo project create --name "Import target" --json # Create a project with the default Team and Skills
93
93
  ojo project list # List your projects (default 20 per page)
94
94
  ojo project list --page-size 50 # Set page size
95
95
  ojo project list --page-token <token> # Go to next page
@@ -100,6 +100,21 @@ ojo project team set <projectId> --name "原型设计团队" --sync-skills --jso
100
100
  ojo project team get <projectId> --json # Verify saved project Team
101
101
  ```
102
102
 
103
+ `project create` and `chat` without `--project-id` configure each new project with
104
+ **原型设计团队** and synchronize its associated Skills before reporting success or
105
+ sending chat. Team and Skill IDs are resolved from the current server.v1 catalogs,
106
+ then saved and verified through the project workspace context. Continuing an
107
+ existing project keeps its current Team and Skills.
108
+ Each CLI chat turn reads that saved selection and sends it to the runtime. New
109
+ conversations on uploaded prototypes also bind the published source workspace;
110
+ configuration or source lookup failures stop dispatch rather than falling back to
111
+ a generic empty template.
112
+
113
+ If project creation succeeds but Team or Skill setup fails, the command returns an
114
+ error with the created project ID and an `ojo project team set ... --sync-skills`
115
+ recovery command. Recover that existing project; repeating project creation would
116
+ create another project. After recovery, continue chat with `--project-id`.
117
+
103
118
  ## Screen
104
119
 
105
120
  Fetch the current prototype preview image for a project.