@joripspace/cli 0.6.0 → 0.6.1

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
@@ -1,158 +1,243 @@
1
- # JoripSpace CLI
2
-
3
- **JoripSpace — Build and deploy web apps with AI agents. Powered by Cosmosfarm.**
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.
6
-
7
- [Website](https://joripspace.com) · [Support](mailto:support@cosmosfarm.com) · [GitHub](https://github.com/JoripSpace/joripspace-cli)
8
-
9
- ## Quick start
10
-
11
- Run with npx. No global installation is required:
12
-
13
- ```sh
14
- npx -y @joripspace/cli@latest --help
15
- npx -y @joripspace/cli@latest templates --json
16
- npx -y @joripspace/cli@latest realtime-v2 docs --json
17
- ```
18
-
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.
20
-
21
- ## Connect a project
22
-
23
- ### Start with your coding agent
24
-
25
- Paste this prompt into an agent that can run terminal commands and read project files. Replace `PROJECT` with your existing JoripSpace project name:
26
-
27
- ```text
28
- Help me get started with JoripSpace project "PROJECT".
29
- 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.
33
- ```
34
-
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.
36
-
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.
38
-
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.
40
-
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.
42
-
43
- ### Connect from your terminal
44
-
45
- Run commands from your project directory. Quote paths containing spaces or non-ASCII characters.
46
-
47
- ```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
52
- ```
53
-
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.
57
-
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.
59
-
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.
61
-
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.
63
-
64
- ## Optional global installation
65
-
66
- ```sh
67
- npm install -g @joripspace/cli@latest
68
- joripspace --help
69
- ```
70
-
71
- An existing global installation does not update automatically. Run the same install command to update, then check the installed version:
72
-
73
- ```sh
74
- npm install -g @joripspace/cli@latest
75
- joripspace --version
76
- ```
77
-
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.
79
-
80
- ## CLI language
81
-
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.
85
-
86
- ## Create a project
87
-
88
- To create a new Free project, run `joripspace create --name my-app --json` first. It returns all three required agreements
89
- in English with the Korean web originals. Login is verified with the server before any agreements are shown;
90
- missing or revoked credentials stop creation. Agents must present the agreements faithfully in the user's language
91
- and obtain explicit consent before rerunning with `--agree-noncommercial --agree-billing --agree-retention --json`. Interactive
92
- terminals ask each agreement separately. `--yes` cannot replace consent. Web/server name restrictions and uniqueness
93
- checks apply. Creation does not link or change local project source; use `start` separately when requested.
94
-
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.
104
-
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.
110
-
111
- ### Other commands
112
-
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.
114
-
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.
116
-
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.
118
-
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 `&`.
120
-
121
- ## Development and package verification
122
-
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.
124
-
125
- ```sh
126
- npm ci --ignore-scripts
127
- npm run check
128
- npm test
129
- npm run test:package
130
- ```
131
-
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.
133
-
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.
135
-
136
- To try a tarball before publishing, use its absolute path:
137
-
138
- ```sh
139
- npm exec --yes --package="/absolute/path/joripspace-cli-VERSION.tgz" -- joripspace --help
140
- ```
141
-
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).
143
-
144
- ## License
145
-
146
- JoripSpace CLI is available under the [MIT License](LICENSE).
147
-
148
- Copyright (c) 2026 Cosmosfarm Software
149
-
150
- Use of the JoripSpace cloud service is subject to separate service terms and pricing plans. Platform server, administration, and infrastructure code are not included in this CLI distribution. Included Worker examples are public customer templates.
151
-
152
- Third-party dependencies retain their original licenses and copyrights. See [Third-party notices](THIRD_PARTY_NOTICES.md) for the preserved license texts.
153
-
154
- ## Support
155
-
156
- - Website: [joripspace.com](https://joripspace.com)
157
- - Email: [support@cosmosfarm.com](mailto:support@cosmosfarm.com)
158
- - Bug reports: [GitHub Issues](https://github.com/JoripSpace/joripspace-cli/issues)
1
+ # JoripSpace CLI
2
+
3
+ **JoripSpace — Build and deploy web apps with AI agents. Powered by Cosmosfarm.**
4
+
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
+
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
+
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
+
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:
29
+
30
+ ```sh
31
+ npx -y @joripspace/cli@latest --help
32
+ npx -y @joripspace/cli@latest start PROJECT --json
33
+ ```
34
+
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.
36
+
37
+ ## Connect a project
38
+
39
+ Open your project folder and run:
40
+
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:
63
+
64
+ ```text
65
+ Help me get started with JoripSpace project "PROJECT".
66
+ 1. Install or update the official CLI with npm install -g @joripspace/cli@latest.
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.
72
+ ```
73
+
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:
75
+
76
+ ```sh
77
+ joripspace login --code "CONNECTION_CODE" --json
78
+ joripspace start PROJECT --json
79
+ ```
80
+
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
+ ## Find a command
92
+
93
+ Start with the CLI help, then open the help for the command you want to use:
94
+
95
+ ```sh
96
+ joripspace --help
97
+ joripspace deploy --help
98
+ joripspace report --help
99
+ ```
100
+
101
+ | Task | Commands |
102
+ | --- | --- |
103
+ | Connect and inspect a project | `login`, `start`, `projects`, `get` |
104
+ | Deploy and inspect history | `deploy`, `deployments`, `deployment get`, `deployment pull`, `rollback` |
105
+ | Find and install templates | `templates`, `template list`, `install-template`, `template pull` |
106
+ | Work with a database | `db schema`, `db query`, `db migrate` |
107
+ | Manage stored files | `storage list`, `storage get`, `storage put`, `storage delete` |
108
+ | Save and restore work | `checkpoint save`, `checkpoint list`, `checkpoint restore`, `checkpoint deploy` |
109
+ | Manage Secrets | `secret list`, `secret generate`, `secret set`, `secret update` |
110
+ | Manage realtime services | `realtime-v2 status`, `realtime-v2 activate`, `realtime-v2 keys` |
111
+ | Connect domains, schedules, and mail | `domain`, `cron`, `mail` |
112
+ | Inspect errors and usage | `events`, `usage-summary`, `usage-breakdown` |
113
+ | Prepare GitHub workflows or find guidance | `github prepare`, `knowledge search` |
114
+ | Report a problem or suggest an improvement | `report` |
115
+ | Identify or revoke a connection token | `tokens current`, `tokens revoke` |
116
+
117
+ 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.
118
+
119
+ ## Report a problem or suggest an improvement
120
+
121
+ Use `report` while connected to the relevant project. Choose `problem` for a general issue, `bug` for a defect, or `feedback` for an improvement idea:
122
+
123
+ ```sh
124
+ joripspace report --project PROJECT --category bug --summary "Deployment status is incorrect" --details "Steps to reproduce the issue" --json
125
+ joripspace report --project PROJECT --category feedback --summary "Add deployment history filters" --expected "Search by label" --json
126
+ ```
127
+
128
+ 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.
129
+
130
+ 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.
131
+
132
+ `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.
133
+
134
+ ## Revoke an exposed connection token
135
+
136
+ If a connection token has been exposed, you can disable it on the server. First check its ID, then revoke the current token:
137
+
138
+ ```sh
139
+ joripspace tokens current
140
+ joripspace tokens revoke --current
141
+ ```
142
+
143
+ `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.
144
+
145
+ To revoke a token from an older connection, sign in with another valid token in the same account and specify the exact ID:
146
+
147
+ ```sh
148
+ joripspace tokens revoke --token-id TOKEN_ID
149
+ ```
150
+
151
+ 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.
152
+
153
+ ## Saved logins
154
+
155
+ 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.
156
+
157
+ 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`.
158
+
159
+ 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.
160
+
161
+ `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.
162
+
163
+ 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.
164
+
165
+ ## Project Secrets
166
+
167
+ If your app needs a random value, such as a session signing key, generate one without displaying it:
168
+
169
+ ```sh
170
+ joripspace secret generate --name SESSION_SECRET --json
171
+ joripspace secret list --json
172
+ ```
173
+
174
+ 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.
175
+
176
+ 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.
177
+
178
+ ## Create a project
179
+
180
+ To create a new Free project, run `joripspace create --name my-app --json` first. It returns all three required agreements
181
+ in English with the Korean web originals. Login is verified with the server before any agreements are shown;
182
+ missing or revoked credentials stop creation. Agents must present the agreements faithfully in the user's language
183
+ and obtain explicit consent before rerunning with `--agree-noncommercial --agree-billing --agree-retention --json`. Interactive
184
+ terminals ask each agreement separately. `--yes` cannot replace consent. Web/server name restrictions and uniqueness
185
+ checks apply. Creation does not link or change local project source; use `start` separately when requested.
186
+
187
+ ## JSON output and agent integrations
188
+
189
+ 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.
190
+
191
+ 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.
192
+
193
+ 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.
194
+
195
+ 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.
196
+
197
+ ## What's new in 0.6.1
198
+
199
+ - Submit improvement suggestions with `report --category feedback` and read the dedicated `report --help`.
200
+ - Identify the current connection token and revoke exposed tokens with `tokens current` and `tokens revoke`.
201
+ - Keep user instructions separate from the managed JoripSpace section in `AGENTS.md`, with existing user content preserved.
202
+ - 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.
203
+ - Find current command options and task guidance as needed, with links to the public CLI, MCP, and workflow documentation.
204
+
205
+ ## Development and package verification
206
+
207
+ This repository works independently of the platform repository and runs without a compilation step. To check the source and package:
208
+
209
+ ```sh
210
+ npm ci --ignore-scripts
211
+ npm run check
212
+ npm test
213
+ npm run test:package
214
+ ```
215
+
216
+ The package's `prepack` check validates metadata, JavaScript syntax, the Node shebang, and executable permissions. There are no installation lifecycle hooks.
217
+
218
+ `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.
219
+
220
+ 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:
221
+
222
+ ```sh
223
+ npm exec --yes --package="/absolute/path/joripspace-cli-VERSION.tgz" -- joripspace --help
224
+ ```
225
+
226
+ 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.
227
+
228
+ ## License
229
+
230
+ JoripSpace CLI is available under the [MIT License](LICENSE).
231
+
232
+ Copyright (c) 2026 Cosmosfarm Software
233
+
234
+ Use of the JoripSpace cloud service is subject to separate service terms and pricing plans. Platform server, administration, and infrastructure code are not included in this CLI distribution. Included Worker examples are public customer templates.
235
+
236
+ Third-party dependencies retain their original licenses and copyrights. See [Third-party notices](THIRD_PARTY_NOTICES.md) for the preserved license texts.
237
+
238
+ ## Support
239
+
240
+ - 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/)
241
+ - Platform problems and suggestions: use `joripspace report` from a connected project.
242
+ - CLI repository issues: [GitHub Issues](https://github.com/JoripSpace/joripspace-cli/issues)
243
+ - Email: [support@cosmosfarm.com](mailto:support@cosmosfarm.com)