@joripspace/cli 0.6.0 → 0.7.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.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Cosmosfarm Software
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Cosmosfarm Software
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,86 +2,221 @@
2
2
 
3
3
  **JoripSpace — Build and deploy web apps with AI agents. Powered by Cosmosfarm.**
4
4
 
5
- The official Node.js command-line client for JoripSpace. Connect your projects and manage deployments, databases, storage, and realtime services from your terminal.
5
+ The official command-line client for JoripSpace. Connect a project, deploy your app, and manage its database, files, Secrets, and realtime services from your terminal or coding agent.
6
6
 
7
- [Website](https://joripspace.com) · [Support](mailto:support@cosmosfarm.com) · [GitHub](https://github.com/JoripSpace/joripspace-cli)
7
+ The CLI runs on Windows, macOS, and Linux with **Node.js 18 or later and npm**. It runs directly in Node.js, so you do not need a TypeScript compiler or native build tools to install it.
8
8
 
9
- ## Quick start
9
+ [Website](https://joripspace.com) · [Documentation](https://joripspace.com/en/docs/) · [CLI reference](https://joripspace.com/en/docs/cli/) · [GitHub](https://github.com/JoripSpace/joripspace-cli) · [Support](mailto:support@cosmosfarm.com)
10
10
 
11
- Run with npx. No global installation is required:
11
+ ## Install and update
12
+
13
+ Install the CLI, then check the version your terminal runs:
14
+
15
+ ```sh
16
+ npm install -g @joripspace/cli@latest
17
+ joripspace --version
18
+ ```
19
+
20
+ To update an existing installation, run the same install command again. Global installations do not update automatically. You can check the latest published version with:
21
+
22
+ ```sh
23
+ npm view @joripspace/cli@latest version
24
+ ```
25
+
26
+ If the version stays the same after an update, your terminal may still be using an older installation. Check its location with `Get-Command joripspace -All` in PowerShell or `command -v joripspace` on macOS and Linux. For an npm installation, `npm root -g` shows the directory containing `@joripspace/cli/bin/joripspace.js`, which you can run with Node.
27
+
28
+ You can also run the CLI without a global installation:
12
29
 
13
30
  ```sh
14
31
  npx -y @joripspace/cli@latest --help
15
- npx -y @joripspace/cli@latest templates --json
16
- npx -y @joripspace/cli@latest realtime-v2 docs --json
32
+ npx -y @joripspace/cli@latest start PROJECT --json
17
33
  ```
18
34
 
19
- Requires **Node.js 18 or later and npm** on Windows, macOS, or Linux. No TypeScript compiler or native build tools are needed. The CLI runs directly in Node.js; it does not download an OS-specific executable. Installation does not build source code, log you in, open a browser, or change project settings.
35
+ This selects the latest published npm release. Replace `PROJECT` with your existing project name. Installing the package does not log you in or change your project settings.
20
36
 
21
37
  ## Connect a project
22
38
 
23
- ### Start with your coding agent
39
+ Open your project folder and run:
24
40
 
25
- Paste this prompt into an agent that can run terminal commands and read project files. Replace `PROJECT` with your existing JoripSpace project name:
41
+ ```sh
42
+ joripspace login
43
+ joripspace projects
44
+ joripspace start PROJECT --json
45
+ ```
46
+
47
+ Follow the link to [JoripSpace Connect](https://joripspace.com/connect/), approve the connection in your browser, and enter the one-time code within five minutes. You can then connect a project and continue from its current source and deployment state.
48
+
49
+ `start` connects an existing project. It also prepares the project instructions for your agent and synchronizes source files when required by the connection. To create a project first, see [Create a project](#create-a-project) below.
50
+
51
+ To work in another folder, add `--cwd`. Quote paths that contain spaces:
52
+
53
+ ```sh
54
+ joripspace start my-app --cwd "my project" --json
55
+ joripspace get --cwd "my project" --json
56
+ ```
57
+
58
+ Without `--cwd`, the CLI uses the current folder and searches its parent folders for a project connection. The connected project name is recorded in `.joripspace/project`.
59
+
60
+ ## Work with a coding agent
61
+
62
+ Use an agent that can run terminal commands, edit files, and access the network. You can send it this prompt after replacing `PROJECT` with your project name:
26
63
 
27
64
  ```text
28
65
  Help me get started with JoripSpace project "PROJECT".
29
66
  1. Install or update the official CLI with npm install -g @joripspace/cli@latest.
30
- 2. Run joripspace start PROJECT --json. Read the returned onboarding instructions
31
- and agent documents, and complete the connection following those instructions.
32
- 3. Review the existing project and guide me through the next steps to build and deploy.
67
+ Compare the version that actually runs with the latest version on npm.
68
+ If an older executable is still selected, find and use the updated npm CLI.
69
+ 2. Run joripspace start PROJECT --json and read its onboarding guide
70
+ and the project instruction files to complete the connection.
71
+ 3. Review the existing project and explain the next steps for my task.
33
72
  ```
34
73
 
35
- `start` returns an inline guide and writes the same guide into the managed block of `AGENTS.md`. It preserves user content and maintains the existing `CLAUDE.md` reference. Agents must read these instructions in the current conversation even when automatic discovery is unavailable. No plugin, skill installation, or agent restart is required.
74
+ If approval is needed, the response includes a connection link and commands to sign in and resume. After approving the connection, give your agent the five-minute code. It can pass the code without waiting for terminal input:
36
75
 
37
- The additive `onboarding` object contains `schema_version`, `instructions`, `read_files`, `invocation`, and `commands`. `invocation.command` is an absolute executable; append arguments after `invocation.args` and use `invocation.cwd`. For npm installations this invokes Node with the JavaScript entrypoint. The same guide and structured login/resume commands are returned in `error.details.onboarding` when authentication is required. Replace only the `CONNECTION_CODE` argument with the approved code. Never log credentials.
76
+ ```sh
77
+ joripspace login --code "CONNECTION_CODE" --json
78
+ joripspace start PROJECT --json
79
+ ```
38
80
 
39
- If the global executable is not on PATH, run `npm root -g`, locate `@joripspace/cli/bin/joripspace.js` under that directory, and execute it with Node. If the global install directory is not writable, use `npx -y @joripspace/cli@latest start PROJECT --json` instead.
81
+ The CLI connection works without a plugin or MCP setup. If you also use MCP, its client has a separate sign-in process. Reuse a saved CLI login or complete the CLI connection flow when switching between them. See the [MCP connection guide](https://joripspace.com/en/docs/mcp/) for client setup and tool details.
82
+
83
+ ### Project instructions
84
+
85
+ `start` returns a guide and writes it into a marked JoripSpace section in `AGENTS.md`. New files place `User instructions` first, followed by `JoripSpace managed instructions`. Existing user content is preserved, and `CLAUDE.md` keeps a reference to `AGENTS.md`.
86
+
87
+ Your agent can use the returned guide immediately. If it does not load project files automatically, ask it to read the listed files in the current conversation. No agent restart is needed for this workflow.
88
+
89
+ The guide explains how to find relevant CLI help, MCP tools, and task guidance as needed. You do not have to copy every command option into your project instructions. The [task workflows](https://joripspace.com/en/docs/agent-workflows/) show how to use these tools for deployment, database changes, service connections, and reports.
90
+
91
+ ## Repeatable app deployment
92
+
93
+ For a direct-deployment project, build the app and identify the bundled Worker entrypoint and assets.
94
+ For example, when the output is `dist/worker.js`, deploy the output directory:
95
+
96
+ ```sh
97
+ npm run build
98
+ joripspace deploy --cwd . --dir dist --entrypoint worker.js --label "Update app" --json
99
+ ```
100
+
101
+ The entrypoint is relative to `--dir`. Select the output directory even when `dist` is ignored at the project root;
102
+ do not remove credential ignore rules or upload an unbundled source that imports excluded `node_modules`.
103
+ Record the verified command in the app's `package.json` so subsequent deployments reuse it:
104
+
105
+ ```json
106
+ {
107
+ "scripts": {
108
+ "build": "node build.mjs",
109
+ "joripspace:deploy": "npm run build && npx --yes @joripspace/cli@latest deploy --cwd . --dir \"dist\" --entrypoint \"worker.js\""
110
+ }
111
+ }
112
+ ```
113
+
114
+ Merge this into the existing scripts, preserving custom commands and using the actual build output paths.
115
+ When deployment is requested, run `npm run joripspace:deploy -- --label "Describe the change"`.
116
+ The build must succeed before upload. Check deployment status and the production root and changed routes afterward.
117
+ GitHub-connected projects use their configured workflow and trigger instead of this direct-deployment script.
118
+
119
+ The source tree also implements `deploy --prepare --dir dist --entrypoint worker.js --json`, which validates
120
+ the built output and saves that script without deploying. This option is available in 0.7.0 and later; check the executing
121
+ CLI's `deploy --help` before using it. Existing published CLIs can use the manual script above.
122
+
123
+ ## Refresh guidance without changing app source
124
+
125
+ `start` can synchronize GitHub source or restore a deployment into an empty workspace. Do not use it merely to
126
+ refresh instructions. For guide-only maintenance, authenticated MCP clients call `prepare_project_workspace`
127
+ with `guide_only: true`; the server omits source sync, legacy migrations, scaffold recovery, and service questions.
128
+ This is a server capability, not a new CLI option.
129
+
130
+ Without MCP, fetch `https://api.joripspace.com/onboarding.md` and use the section starting at the heading line
131
+ `# JoripSpace project onboarding` to refresh only the bounded JoripSpace block in `AGENTS.md` and maintain the
132
+ `CLAUDE.md` import. Preserve user instructions, the project marker, credentials, and application files.
133
+
134
+ ## Find a command
135
+
136
+ Start with the CLI help, then open the help for the command you want to use:
40
137
 
41
- The workflow requires terminal, filesystem, and network access. Individual agents may require tool approvals or manual reading of project instructions. Generating a document does not prove that an agent loaded it; follow the inline instructions and verify the actual commands.
138
+ ```sh
139
+ joripspace --help
140
+ joripspace deploy --help
141
+ joripspace report --help
142
+ ```
42
143
 
43
- ### Connect from your terminal
144
+ | Task | Commands |
145
+ | --- | --- |
146
+ | Connect and inspect a project | `login`, `start`, `projects`, `get` |
147
+ | Deploy and inspect history | `deploy`, `deployments`, `deployment get`, `deployment pull`, `rollback` |
148
+ | Find and install templates | `templates`, `template list`, `install-template`, `template pull` |
149
+ | Work with a database | `db schema`, `db query`, `db migrate` |
150
+ | Manage stored files | `storage list`, `storage get`, `storage put`, `storage delete` |
151
+ | Save and restore work | `checkpoint save`, `checkpoint list`, `checkpoint restore`, `checkpoint deploy` |
152
+ | Manage Secrets | `secret list`, `secret generate`, `secret set`, `secret update` |
153
+ | Manage realtime services | `realtime-v2 status`, `realtime-v2 activate`, `realtime-v2 keys` |
154
+ | Connect domains, schedules, and mail | `domain`, `cron`, `mail` |
155
+ | Inspect errors and usage | `events`, `usage-summary`, `usage-breakdown` |
156
+ | Prepare GitHub workflows or find guidance | `github prepare`, `knowledge search` |
157
+ | Report a problem or suggest an improvement | `report` |
158
+ | Identify or revoke a connection token | `tokens current`, `tokens revoke` |
44
159
 
45
- Run commands from your project directory. Quote paths containing spaces or non-ASCII characters.
160
+ The [CLI reference](https://joripspace.com/en/docs/cli/) covers the command groups and common options. GitHub source synchronization and template Git history features also require Git.
161
+
162
+ ## Report a problem or suggest an improvement
163
+
164
+ Use `report` while connected to the relevant project. Choose `problem` for a general issue, `bug` for a defect, or `feedback` for an improvement idea:
46
165
 
47
166
  ```sh
48
- npx -y @joripspace/cli@latest login
49
- npx -y @joripspace/cli@latest login --code "YOUR_CONNECTION_CODE" --cwd "my project"
50
- npx -y @joripspace/cli@latest start my-app --cwd "my project" --json
51
- npx -y @joripspace/cli@latest get --cwd "my project" --json
167
+ joripspace report --project PROJECT --category bug --summary "Deployment status is incorrect" --details "Steps to reproduce the issue" --json
168
+ joripspace report --project PROJECT --category feedback --summary "Add deployment history filters" --expected "Search by label" --json
52
169
  ```
53
170
 
54
- Follow the link from `login` to [JoripSpace Connect](https://joripspace.com/connect/), approve the connection, and copy the one-time code, which expires after five minutes. Replace `my-app` with your existing project slug.
55
-
56
- `login --code` prefers the OS credential store: Windows Credential Manager, macOS Keychain, or Linux Secret Service. When available, the project's Git-ignored `.env.joripspace` contains only the API URL, account ID, and connection source, without the token. A regular `.env` file is not used for authentication. Subsequent npx runs reuse the saved connection, so you do not need to log in each time. Credentials and project state are not stored inside the npm package or cache.
171
+ A summary is required. You can add context with `--details`, describe the desired and current behavior with `--expected` and `--actual`, or include an error code with `--error-code`. CLI, Node.js, and OS information is attached automatically.
57
172
 
58
- If the OS credential store is unavailable before writing, login saves the token in the project-local `.env.joripspace` instead. This fallback is reused only in that project and remains Git-ignored and excluded from deployment and checkpoints. Login returns `credential_storage: project-env-fallback` or `os-credential-store`. `logout` removes all saved token entries from the current project file and the matching OS account credential when available. OS login is shared across folders, including previously logged-out folders. If the OS store becomes available, running `login` migrates the token back and removes it from the file. Failed OS writes or readback verification still stop without falling back. For automation, supply `JORIPSPACE_API_TOKEN` and the matching `JORIPSPACE_API_URL` through the process environment.
173
+ Review the content before sending and leave out credentials, personal data, and private source code. If you are working with an agent, ask it to submit the report when you are ready. A successful response includes the report ID, `report_id`. If the response is interrupted, the report may already have been received, so avoid sending the same report repeatedly.
59
174
 
60
- Without `--cwd`, the CLI uses your current working directory and searches parent directories for the project connection. Existing `.joripspace/project` markers, the `--project` alias, environment variables, and legacy credential validation and migration remain supported. The default API is `https://api.joripspace.com`; use the existing `--api-url` option or `JORIPSPACE_API_URL` environment variable to override it.
175
+ `feedback` is a category of `report`, not a separate command. The feedback category and dedicated `report --help` are available in CLI 0.6.1 and later.
61
176
 
62
- `start` connects to or resumes an existing project; it does not create a new project. It maintains project guidance files and synchronizes the required source files using the existing CLI behavior. This npm package preserves the original commands and compatibility modules without adding agent detection, MCP registration, plugins, skills, or hooks.
177
+ ## Revoke an exposed connection token
63
178
 
64
- ## Optional global installation
179
+ If a connection token has been exposed, you can disable it on the server. First check its ID, then revoke the current token:
65
180
 
66
181
  ```sh
67
- npm install -g @joripspace/cli@latest
68
- joripspace --help
182
+ joripspace tokens current
183
+ joripspace tokens revoke --current
69
184
  ```
70
185
 
71
- An existing global installation does not update automatically. Run the same install command to update, then check the installed version:
186
+ `tokens current` shows the ID without revealing the token value. Revoking the token ends the current connection and any MCP sessions using the same token. Use a fresh connection code to connect again.
187
+
188
+ To revoke a token from an older connection, sign in with another valid token in the same account and specify the exact ID:
72
189
 
73
190
  ```sh
74
- npm install -g @joripspace/cli@latest
75
- joripspace --version
191
+ joripspace tokens revoke --token-id TOKEN_ID
76
192
  ```
77
193
 
78
- You can continue using `npx -y @joripspace/cli@latest ...` to select the latest published release on each invocation. Global installation and permanent PATH changes are not required.
194
+ Check the target ID before running the command. You can also disable tokens on the API token page in your web profile. These CLI commands are available in 0.6.1 and later. `logout` removes a saved local login; it does not revoke the server token.
195
+
196
+ ## Saved logins
79
197
 
80
- ## CLI language
198
+ The CLI saves new logins in Windows Credential Manager, macOS Keychain, or Linux Secret Service when available. You can reuse that login across project folders under the same OS account. The project's Git-ignored `.env.joripspace` then contains only connection details such as the API URL, account ID, and connection source. An ordinary application `.env` file is not used for CLI authentication.
81
199
 
82
- CLI notices and prompts follow the OS default locale: Korean for `ko`, English otherwise, including
83
- unsupported or unavailable locales. JSON field names and error codes stay unchanged. Agreement payloads
84
- keep English text and the Korean originals so agents can explain them in the user's conversation language.
200
+ If an OS credential store is unavailable before saving, the CLI stores the token in the selected project's `.env.joripspace` instead. This fallback is used only for that project. Keep the file out of Git, deployments, and checkpoints. The login response identifies the storage method as `os-credential-store` or `project-env-fallback`.
201
+
202
+ If an OS credential write or verification fails, login stops without creating a file fallback. Once the store is available, running `login` can move an existing project-file token into it and remove the token from the file.
203
+
204
+ `logout` removes the saved token entries in the current project file and the matching OS credential when available. Because an OS login is shared, removing it also affects other folders that use it. Other legacy folders and credentials supplied through environment variables are separate. A later OS login can be reused across folders, including folders where you previously logged out.
205
+
206
+ For automation, supply `JORIPSPACE_API_TOKEN` and its matching `JORIPSPACE_API_URL` through the process environment. The default API address is `https://api.joripspace.com`; `--api-url` can select another endpoint. Existing project markers, `--project`, environment authentication, and legacy credential migration remain supported.
207
+
208
+ ## Project Secrets
209
+
210
+ If your app needs a random value, such as a session signing key, generate one without displaying it:
211
+
212
+ ```sh
213
+ joripspace secret generate --name SESSION_SECRET --json
214
+ joripspace secret list --json
215
+ ```
216
+
217
+ An existing active value is preserved. For a key issued by an external provider, use `secret set --name API_KEY --value-stdin --json`, or its alias, `secret update`. Pass the exact value through standard input rather than command arguments, chat, logs, source, or temporary project files. Input must be 1–5120 UTF-8 bytes; whitespace and newlines are preserved. Secret values are never returned.
218
+
219
+ You can also enter a key on the selected project's Secret page. `start` and Secret command responses include its `secret_management_url`, which your agent can show as a clickable link. Choose **Register or replace** to save the value, then check the name, status, and change time with `secret list`. Test the service connection afterward. Secret deletion remains a web operation, and all changes require project access and valid, non-reserved key names.
85
220
 
86
221
  ## Create a project
87
222
 
@@ -92,35 +227,27 @@ and obtain explicit consent before rerunning with `--agree-noncommercial --agree
92
227
  terminals ask each agreement separately. `--yes` cannot replace consent. Web/server name restrictions and uniqueness
93
228
  checks apply. Creation does not link or change local project source; use `start` separately when requested.
94
229
 
95
- ## Commands and compatibility
96
-
97
- ### Project secrets
98
-
99
- Use `joripspace secret generate --name SESSION_SECRET --json` to generate and store an internal random value without
100
- seeing it. Existing active values are preserved. Use `joripspace secret set --name API_KEY --value-stdin --json`
101
- (alias: `secret update`) to create or replace a value received from an external server, provider, or another system.
102
- Send the exact value through process stdin; never put it in command arguments, chat, logs, source, or temporary project
103
- files. Input must be 1-5120 UTF-8 bytes. Whitespace and newlines are preserved. Values are never returned.
230
+ ## JSON output and agent integrations
104
231
 
105
- `start` onboarding and Secret command responses include the selected project's `secret_management_url`. Agents should
106
- show it as a clickable link after creation/replacement and whenever the user needs to enter a value, explaining the
107
- exact key name and purpose. The user can enter a value on that page and click **Register or replace**. Confirm the name,
108
- status, and change time with `joripspace secret list --json`, then verify the relevant integration. Secret deletion
109
- remains a web operation. Registration and replacement still require project access and valid, non-reserved key names.
232
+ Add `--json` for structured output without browser launch or interactive prompts. Successful results go to stdout, and errors go to stderr. Existing result fields and exit codes `0`, `1`, and `2` are preserved. The shared agent guide is English; CLI notices and prompts follow the OS locale, using Korean for `ko` and English otherwise. JSON field names and error codes remain unchanged. Agreement payloads retain the English text and Korean originals so agents can explain them in your conversation language.
110
233
 
111
- ### Other commands
234
+ The `onboarding` object provides `schema_version`, `instructions`, `read_files`, `invocation`, and `commands`. It also appears under `error.details.onboarding` when authentication is required, along with the login and resume steps.
112
235
 
113
- Use `--help`, `deploy --help`, `deploy-template --help`, or `install-template --help` for the supported commands and options. Existing functionality includes authentication, project inspection, deployment, templates, checkpoints, databases, storage, realtime v2, secrets, cron jobs, domains, mail, usage, and events. Operations restricted to the web interface remain restricted.
236
+ For tools that accept a command and argument list, run `invocation.command`, append CLI arguments after `invocation.args`, and use `invocation.cwd` as the working folder. With an npm installation, this runs Node with the absolute JavaScript entrypoint. The `executable`, `login_command`, `resume_command`, and `install_command` fields remain available for existing integrations. In PowerShell, use `&` before a quoted executable path.
114
237
 
115
- The CLI preserves existing result fields and exit codes `0`, `1`, and `2`, with the additive `onboarding` object described above. With `--json`, successful results go to stdout and errors go to stderr. User-facing explanations should follow the user's language; the shared agent guide is English.
238
+ If an interactive connection cannot open a browser, open the printed URL yourself. Interactive `start` uses Windows `cmd.exe`, macOS `open`, or Linux `xdg-open` for that step.
116
239
 
117
- Installation and ordinary API commands require only Node.js and npm. Existing GitHub source connection and Git history synchronization features also require Git. Interactive `start` opens the browser using Windows `cmd.exe`, macOS `open`, or Linux `xdg-open`. If opening a browser fails, you can open the printed URL yourself.
240
+ ## What's new in 0.6.1
118
241
 
119
- The `executable` field in a `start` response remains the absolute path to the JavaScript entrypoint. Prefer the new structured `onboarding.invocation` and `onboarding.commands` fields when your execution tool supports argument arrays. The legacy `login_command`, `resume_command`, and `install_command` strings remain available. In PowerShell, prefix a quoted executable path with the call operator `&`.
242
+ - Submit improvement suggestions with `report --category feedback` and read the dedicated `report --help`.
243
+ - Identify the current connection token and revoke exposed tokens with `tokens current` and `tokens revoke`.
244
+ - Keep user instructions separate from the managed JoripSpace section in `AGENTS.md`, with existing user content preserved.
245
+ - The onboarding guide now asks your coding agent to check the running CLI version against npm, use the CLI when available, and keep CLI and MCP logins separate.
246
+ - Find current command options and task guidance as needed, with links to the public CLI, MCP, and workflow documentation.
120
247
 
121
248
  ## Development and package verification
122
249
 
123
- This repository works independently of the platform repository. It reuses the existing JavaScript implementation and requires no compilation. `prepack` checks package metadata, JavaScript syntax, the Node shebang, and executable permissions. There are no installation lifecycle hooks.
250
+ This repository works independently of the platform repository and runs without a compilation step. To check the source and package:
124
251
 
125
252
  ```sh
126
253
  npm ci --ignore-scripts
@@ -129,17 +256,17 @@ npm test
129
256
  npm run test:package
130
257
  ```
131
258
 
132
- `test:package` creates a real tarball in `.artifacts/` and checks its files, hashes, licenses, and permissions. It verifies installation, npx, npm exec, arguments, output, exit codes, working directories, cancellation, and credential reuse through a local mock API. Tests run in temporary directories outside the repository, including paths with spaces and Korean characters. They do not modify production projects or actual user credentials.
259
+ The package's `prepack` check validates metadata, JavaScript syntax, the Node shebang, and executable permissions. There are no installation lifecycle hooks.
133
260
 
134
- Set `JORIPSPACE_BASELINE_CLI` to the original `bin/joripspace.js` path to compare against the original CLI; otherwise, comparisons use this repository's source. Run the checks locally before publishing; this repository does not use GitHub Actions for testing or npm releases.
261
+ `test:package` builds a tarball in `.artifacts/` and checks its contents, hashes, licenses, and permissions. It then verifies clean installation, npx, npm exec, arguments, output, exit codes, working folders, cancellation, and saved login reuse against a local mock API. Temporary test folders include paths with spaces and Korean characters. Production projects and real user credentials are not used.
135
262
 
136
- To try a tarball before publishing, use its absolute path:
263
+ Set `JORIPSPACE_BASELINE_CLI` to an original `bin/joripspace.js` to compare against that CLI. Otherwise, comparisons use this repository's source. To try the tarball before publishing:
137
264
 
138
265
  ```sh
139
266
  npm exec --yes --package="/absolute/path/joripspace-cli-VERSION.tgz" -- joripspace --help
140
267
  ```
141
268
 
142
- Replace `VERSION` with the version in the tarball filename. On Windows, use a path such as `C:/path/to/joripspace-cli-VERSION.tgz`. The local release procedure is documented in [release](docs/release.md).
269
+ Replace `VERSION` with the tarball version. On Windows, use a path such as `C:/path/to/joripspace-cli-VERSION.tgz`. See the [release guide](https://github.com/JoripSpace/joripspace-cli/blob/main/docs/release.md) for the local publishing procedure. Package checks and npm publishing run locally; this repository does not use GitHub Actions for them.
143
270
 
144
271
  ## License
145
272
 
@@ -153,6 +280,7 @@ Third-party dependencies retain their original licenses and copyrights. See [Thi
153
280
 
154
281
  ## Support
155
282
 
156
- - Website: [joripspace.com](https://joripspace.com)
283
+ - Documentation: [CLI reference](https://joripspace.com/en/docs/cli/) · [MCP connection and tools](https://joripspace.com/en/docs/mcp/) · [Task workflows](https://joripspace.com/en/docs/agent-workflows/)
284
+ - Platform problems and suggestions: use `joripspace report` from a connected project.
285
+ - CLI repository issues: [GitHub Issues](https://github.com/JoripSpace/joripspace-cli/issues)
157
286
  - Email: [support@cosmosfarm.com](mailto:support@cosmosfarm.com)
158
- - Bug reports: [GitHub Issues](https://github.com/JoripSpace/joripspace-cli/issues)