@toolkit-cli/toolkode 1.9.0 → 1.12.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/README.md CHANGED
@@ -35,6 +35,52 @@ toolkode --prompt "fix the failing tests"
35
35
  toolkode serve
36
36
  ```
37
37
 
38
+ ## What's new in v1.12 "Cortex"
39
+
40
+ **Cross-tool memory import.** Toolkode now reads memories from other AI coding tools automatically — matching their path resolution, 200-line/25KB truncation, and git-root-aware directory layout. Your memories show up in every session without importing anything. Switching tools shouldn't mean losing your brain.
41
+
42
+ **Permission modes.** Choose how toolkode handles tool approvals per session: Default, Accept Edits, Plan, Auto, Bypass, or Don't Ask. Switch on the fly with Ctrl+1-6 in the permissions dialog, or set a default in `toolkode.json`. Auto mode classifies each tool call by risk level and auto-approves safe operations. Plan mode blocks all writes until you switch back.
43
+
44
+ **Navigator sidebar.** Press `<leader>1` to open a left-side navigator showing your recent sessions and active pairs. Collapsed mode shows just a thin gutter; expanded gives you a full session list with counts.
45
+
46
+ **`/pair` command.** Start, approve, reject, and manage pair sessions right from the prompt. `/pair start fix the login bug` kicks off a builder/reviewer loop without touching the dashboard. Onboarding messages guide you if you forget the syntax.
47
+
48
+ ## What's new in v1.11 "Pair"
49
+
50
+ **Your AI agents now review each other's work.** Pair Mode introduces a builder/reviewer loop where two LLM agents collaborate on a task — one builds, one reviews, and the loop continues until the reviewer approves or you escalate. Think code review, but both participants are tireless and available at 3am. Unlike certain other tools, ours was built on purpose and not accidentally pushed to npm at midnight.
51
+
52
+ **Live model reassignment.** Mid-task, your builder hitting rate limits? Provider lagging? Model not cutting it? Open the switch dialog (Ctrl+P > "Reassign pair builder"), pick a new provider and model, choose when to swap (next iteration, after current step, or immediately), and the new model picks up right where the old one left off. The system even suggests upgrades automatically when it detects repeated failures — because your AI should be smart enough to know when it needs a smarter AI.
53
+
54
+ **97 tests. 24 blocked command patterns. 0 trust in LLM output.** The pair validator runs every command the builder claims to need, but it won't let an LLM `rm -rf /` your machine, `sudo` anything, pipe curl to bash, or sneak in a `python -c` backdoor. We block 24 dangerous patterns including exotic interpreters like awk, php, lua, and osascript. The builder is semi-trusted. Semi.
55
+
56
+ **Sidebar toggle.** Click the `>>` caret in the top-right corner to hide the sidebar. Click `<<` to bring it back. Revolutionary, we know. But hey, while Anthropic was busy leaking Claude Code's source to the entire internet, we were up at 3am making sure a chevron rendered correctly in a terminal. Priorities.
57
+
58
+ **Agent inspector upgrades.** The sub-agent modal now adapts to your terminal width instead of overflowing, and you can press W to watch an agent's live session. Because staring at a loading spinner is so 2025.
59
+
60
+ > **A note on timing:** We apologize for any rough edges in this release. We had planned a more leisurely ship date, but when Anthropic accidentally published Claude Code's entire codebase to npm for the world to browse, we figured we should probably stop polishing and start shipping before someone else builds what we've been building. Nothing like a competitor's security incident to motivate a release. Thanks for the adrenaline, Anthropic. We'll send coffee.
61
+
62
+ ### Pair Mode at a glance
63
+
64
+ ```
65
+ /pair start "add input validation to the API"
66
+
67
+ Builder: implements the change, writes tests, produces HANDOFF.md
68
+ Validator: runs the test commands, checks for TODOs, verifies artifacts
69
+ Reviewer: audits the work, scores it, approves or rejects with reasons
70
+ Loop: rejected work goes back to builder with REWORK.md instructions
71
+
72
+ Press m/n to reassign builder/reviewer models on the fly
73
+ Press w to accept system suggestions when the model is struggling
74
+ Press p to manually approve, x to reject
75
+ ```
76
+
77
+ ### Fixes
78
+
79
+ - Agent inspector no longer overflows on terminals narrower than 140 columns
80
+ - Rejection toast now shows as warning (amber) instead of error (red) — rejecting is an action, not a failure
81
+ - Event log text is truncated to prevent layout breakage
82
+ - Pair panel in sidebar shows builder/reviewer model assignments
83
+
38
84
  ## What's new in v1.5
39
85
 
40
86
  **Your conversations last longer and remember more.** We completely rebuilt how Toolkode manages context. Long sessions no longer lose track of what you asked for, what files you were editing, or what errors you hit. When the context window fills up, Toolkode summarizes the older history while keeping your recent work intact — instead of compressing everything at once.
package/bin/toolkode.cjs CHANGED
Binary file
package/package.json CHANGED
@@ -12,9 +12,12 @@
12
12
  "scripts": {
13
13
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
14
14
  },
15
- "version": "1.9.0",
15
+ "version": "1.12.0",
16
16
  "license": "SEE LICENSE IN LICENSE",
17
17
  "optionalDependencies": {
18
- "@toolkit-cli/toolkode-darwin-arm64": "1.9.0"
18
+ "@toolkit-cli/toolkode-linux-arm64": "1.12.0",
19
+ "@toolkit-cli/toolkode-linux-x64": "1.12.0",
20
+ "@toolkit-cli/toolkode-darwin-arm64": "1.12.0",
21
+ "@toolkit-cli/toolkode-windows-x64": "1.12.0"
19
22
  }
20
23
  }