@ccode-si/cli 1.12.2 → 1.12.3
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 +2 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ ccode # start in the current folder
|
|
|
20
20
|
ccode -c # continue the latest session here
|
|
21
21
|
ccode -r <id> # resume a session by id
|
|
22
22
|
ccode -p "<prompt>" # one answer on stdout, for scripts
|
|
23
|
+
ccode -p "<prompt>" --output-format json # the answer as a JSON result, for programs
|
|
23
24
|
ccode update # install the newest version
|
|
24
25
|
```
|
|
25
26
|
|
|
@@ -56,6 +57,7 @@ ccode update # install the newest version
|
|
|
56
57
|
- **MCP servers**: `ccode mcp add …`, with the same syntax as other agents' install lines.
|
|
57
58
|
- **Hooks**: your own commands before and after tool calls, on each message, and when a task ends.
|
|
58
59
|
- **Instruction files**: `CCODE.md`, `AGENTS.md` and `CLAUDE.md` in a project are followed.
|
|
60
|
+
- **Scripting**: `ccode -p` answers as text, as one JSON result, or as a live stream of JSON events. A program can drive a whole session over stdin: send messages, approve tool calls, interrupt a turn, and stop background tasks. `ccode --help` lists the flags.
|
|
59
61
|
|
|
60
62
|
**A terminal UI that stays out of the way**
|
|
61
63
|
- Streaming answers, coloured diffs for edits, and quiet steps folded into one line.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccode-si/cli",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.3",
|
|
4
4
|
"description": "CCode — a coding agent for your terminal.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"bin": {
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"node": ">=18"
|
|
16
16
|
},
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"@ccode-si/cli-darwin-arm64": "1.12.
|
|
19
|
-
"@ccode-si/cli-darwin-x64": "1.12.
|
|
20
|
-
"@ccode-si/cli-win32-x64": "1.12.
|
|
21
|
-
"@ccode-si/cli-win32-arm64": "1.12.
|
|
22
|
-
"@ccode-si/cli-linux-x64": "1.12.
|
|
23
|
-
"@ccode-si/cli-linux-arm64": "1.12.
|
|
18
|
+
"@ccode-si/cli-darwin-arm64": "1.12.3",
|
|
19
|
+
"@ccode-si/cli-darwin-x64": "1.12.3",
|
|
20
|
+
"@ccode-si/cli-win32-x64": "1.12.3",
|
|
21
|
+
"@ccode-si/cli-win32-arm64": "1.12.3",
|
|
22
|
+
"@ccode-si/cli-linux-x64": "1.12.3",
|
|
23
|
+
"@ccode-si/cli-linux-arm64": "1.12.3"
|
|
24
24
|
}
|
|
25
25
|
}
|