@ccode-si/cli 1.12.1 → 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.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. 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
 
@@ -47,15 +48,16 @@ ccode update # install the newest version
47
48
  - Every session is saved. `/session` browses, searches and resumes them; `/fork` copies one to try something else.
48
49
  - `/undo` and `/redo` step through the conversation; `/rewind` puts files and conversation back to before any turn.
49
50
  - Long conversations are summarized automatically, so a task can keep going.
50
- - Memory: CCode remembers your corrections and standing preferences across sessions (`/memory`).
51
+ - Memory: CCode remembers your corrections and standing preferences in each project across sessions (`/memory`).
51
52
 
52
53
  **Extend it**
53
54
  - **Subagents** take on searches and side tasks in their own context, also in the background. Add your own.
54
- - **Skills**: packaged instructions the agent loads when they fit, or that you run as `/<name>`.
55
+ - **Skills**: packaged instructions the agent loads when they fit, or that you run as `/<name>`. Turn any of them off for one session from `ctrl+p`.
55
56
  - **A browser, built in**: the agent drives your Chrome — reads pages, clicks, types, takes screenshots — to check the web apps it builds.
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.
@@ -90,6 +92,7 @@ ccode update # install the newest version
90
92
  | `/new` | start a fresh session |
91
93
  | `/cd <path>` | move to another folder |
92
94
  | `/compact` | summarize the conversation to free up context |
95
+ | `/context` | what fills the context, with each MCP server and skill |
93
96
  | `/btw <question>` | ask a side question without adding it to the conversation |
94
97
  | `/undo` `/redo` `/rewind` | step back and forward |
95
98
  | `/mcp` `/skills` `/hooks` `/memory` | what's installed and remembered |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccode-si/cli",
3
- "version": "1.12.1",
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.1",
19
- "@ccode-si/cli-darwin-x64": "1.12.1",
20
- "@ccode-si/cli-win32-x64": "1.12.1",
21
- "@ccode-si/cli-win32-arm64": "1.12.1",
22
- "@ccode-si/cli-linux-x64": "1.12.1",
23
- "@ccode-si/cli-linux-arm64": "1.12.1"
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
  }