@0perator/operator 0.1.45 → 0.1.47
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/CHANGELOG.md +116 -0
- package/dist/cli.js +39 -6
- package/dist/tools/chauffeur.js +6 -0
- package/dist/tools/registry.js +73 -0
- package/package.json +3 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Operator (kode-tsi) — Changelog
|
|
2
|
+
|
|
3
|
+
Operator is AXE's terminal coding agent (npm `@0perator/operator`), running on the local Aurora model.
|
|
4
|
+
Newest first. Every release bumps `src/cli.tsx` VERSION + `package.json`, adds an entry here, and ships to
|
|
5
|
+
npm + both git remotes (memjar/kode, axetechnologies/kode). Test counts are the full suite at that release.
|
|
6
|
+
|
|
7
|
+
## 0.1.47 — 2026-09-21
|
|
8
|
+
- Added: agent-cursor overlay tools curated into chauffeur's unprompted read set
|
|
9
|
+
(`set_agent_cursor_enabled`, `set_agent_cursor_theme`, `get_agent_cursor_state`) so the owner can SEE the
|
|
10
|
+
agent's mouse move on screen instead of driving blind.
|
|
11
|
+
- Added: `verify_state` (bounded read-only post-condition check) curated as a read, so the model can confirm
|
|
12
|
+
an action landed instead of guessing from the next screenshot.
|
|
13
|
+
- Strengthened: EMBODIMENT_GUIDE now has a firm directive — for ANY on-screen/click/read/drive request the
|
|
14
|
+
model MUST call the chauffeur tools (first call: `list_windows`), never answer from memory or claim it
|
|
15
|
+
can't see the screen. It also now enables the agent cursor at the start of any on-screen task.
|
|
16
|
+
- Tests: +3 chauffeur curated-set tests (cursor tools land as unprompted reads, no duplicates and set stays
|
|
17
|
+
focused at 26 tools, no destructive/session-ending/recording/update tool sneaks in). Suite 280/280.
|
|
18
|
+
|
|
19
|
+
## 0.1.46 — 2026-09-21
|
|
20
|
+
- Added: `scratchpad` tool — a private per-session notes file OUTSIDE the workspace (read with no args;
|
|
21
|
+
append, or mode:"overwrite"), so the model can think/track progress without cluttering the repo.
|
|
22
|
+
- Added: `session_handoff` tool — write a note for your FUTURE self in this directory (what you did, state,
|
|
23
|
+
next steps); it is auto-loaded into the system prompt at the start of the next session here, so Operator
|
|
24
|
+
resumes seamlessly. Files live under ~/.axe/operator/{scratch,handoff}.
|
|
25
|
+
- Tests: +4 scratchpad/handoff (append/read/overwrite, save/read-back, fail-safe). Suite 277/277.
|
|
26
|
+
|
|
27
|
+
## 0.1.45 — 2026-09-21
|
|
28
|
+
- Fixed: chauffeur computer-use looped ("session has ended", stale window ids, fell back to hand-written
|
|
29
|
+
osascript). Root cause: the MCP client discarded each tool result's `structuredContent`, where chauffeur
|
|
30
|
+
returns the real data (window list with ids, accessibility tree) while the text is only a summary
|
|
31
|
+
("Found 76 windows."). `flattenResult` now includes structuredContent. Verified live end-to-end.
|
|
32
|
+
- Added: chauffeur session-lifecycle tools (start_session/get_session/list_sessions) so the model recovers
|
|
33
|
+
instead of looping; rewrote embodiment guidance (no `session` arg, fresh window_id per read, never
|
|
34
|
+
osascript a GUI).
|
|
35
|
+
- Added: honest token/prefill telemetry — live line shows "reading your prompt..." during prefill (not a
|
|
36
|
+
frozen "0 tokens"); settled metric shows output tok @ decode tok/s + prefill size; a cumulative session
|
|
37
|
+
token total (ΣNk) on the status rule.
|
|
38
|
+
- Tests: +5 MCP (flattenResult surfaces structuredContent). Suite 273/273.
|
|
39
|
+
|
|
40
|
+
## 0.1.44 — 2026-09-21
|
|
41
|
+
- Fixed: tool-step lines truncated the whole args blob, hiding the file path behind `content`. Now
|
|
42
|
+
identifying args (path/command/url/...) show first and in full; bulky payloads (content/text) show as a
|
|
43
|
+
size. file_write/edit/read/shell_exec always show the exact file + path.
|
|
44
|
+
- Tests: +5 tool-step. Suite 268/268.
|
|
45
|
+
|
|
46
|
+
## 0.1.43 — 2026-09-21
|
|
47
|
+
- Fixed: the render "everything scrolls to the top" collapse. The streaming answer rendered in Ink's
|
|
48
|
+
dynamic (non-Static) frame; once taller than the window Ink cleared to the top and scrolled the
|
|
49
|
+
transcript away at the live->settle transition. `Transcript.liveTail` bounds the live view to a small
|
|
50
|
+
wrap-counted tail; the full answer still renders via <Static>. Reproduced + verified with a pty+pyte
|
|
51
|
+
harness at 315x65.
|
|
52
|
+
- Tests: +4 transcript (height bound). Suite 263/263.
|
|
53
|
+
|
|
54
|
+
## 0.1.42 — 2026-09-21
|
|
55
|
+
- Added: ask_user always offers a final free-text "Chat about it - type your own reply" option beyond the
|
|
56
|
+
model's choices; typed text returns to the model verbatim. Keystroke logic is a pure, tested reducer.
|
|
57
|
+
- Changed: computer tasks run end-to-end from one instruction - chauffeur READS run unprompted, only
|
|
58
|
+
ACTIONS ask; system prompt tells the model to read/decide/act itself, not walk the owner through steps.
|
|
59
|
+
- Tests: +7 ask_user reducer. Suite 259/259.
|
|
60
|
+
|
|
61
|
+
## 0.1.41 — 2026-09-21
|
|
62
|
+
- Added: chauffeur computer-use driver wired into embodiment as a curated 19-tool MCP hub (scoped, not the
|
|
63
|
+
whole fleet), plus a general `tools` allowlist on MCP server config. System prompt steers Aurora to read
|
|
64
|
+
UIs via chauffeur's textual accessibility tree instead of hand-rolling osascript. Enable with
|
|
65
|
+
KODE_COMPUTER=1. Suite 252/252.
|
|
66
|
+
|
|
67
|
+
## 0.1.40 — 2026-09-21
|
|
68
|
+
- Fixed: status-rule wrap-creep — the rule mixed box-drawing with dingbat glyphs and could render at
|
|
69
|
+
exactly the terminal width, wrapping and creeping the frame. Now measured with a conservative cellWidth
|
|
70
|
+
and truncated so it is always cols-1.
|
|
71
|
+
- Fixed: file tools ignored a leading `~` (file_write "~/Downloads/x.md" wrote to a literal "~" folder and
|
|
72
|
+
claimed success). A shared expandPath now runs before the sandbox check on every path tool.
|
|
73
|
+
- Tests: +43 status-rule width, +2 path. Suite 252/252.
|
|
74
|
+
|
|
75
|
+
## 0.1.39 — refactor: dedup the exec helper; close a destructive-rm signature-line gap.
|
|
76
|
+
## 0.1.38 — /remotecontrol prints a shareable 0perator.co follower link.
|
|
77
|
+
## 0.1.37 — /think and /ultrathink extended-reasoning modes.
|
|
78
|
+
## 0.1.36 — ask_user interactive clarification tool.
|
|
79
|
+
## 0.1.35 — @file mentions: inline a file by typing @path.
|
|
80
|
+
## 0.1.34 — Plan Mode: read-only research + propose, then approve to execute.
|
|
81
|
+
## 0.1.33 — grep_search survives special files (sockets/FIFOs); AXE identity.
|
|
82
|
+
## 0.1.32 — warm a cold-started Aurora so the first turn is fast.
|
|
83
|
+
## 0.1.31 — swarm dashboard live-tails events.jsonl; /dashboard command.
|
|
84
|
+
## 0.1.30 — control-plane visibility: permission tier seat badge + /audit.
|
|
85
|
+
## 0.1.29 — human-signature lines: money/prod/destructive always require a human.
|
|
86
|
+
## 0.1.28 — control plane: tool tiering (admin/enterprise/readonly) + frozen OperatorEvent stream.
|
|
87
|
+
## 0.1.27 — service lever: ensure Aurora/autopilot are up on start; /services.
|
|
88
|
+
## 0.1.26 — /remotecontrol host + WebSocket relay broker (remote-drive a session), live E2E.
|
|
89
|
+
## 0.1.25 — pin SearXNG to independent non-Microsoft engines by default.
|
|
90
|
+
## 0.1.24 — publish the web_search fixes (SearXNG lifecycle + default engine).
|
|
91
|
+
## 0.1.23 — Operator auto-manages a local SearXNG container; autopilot fallback.
|
|
92
|
+
## 0.1.22 — web_search backend is a first-class setting.
|
|
93
|
+
## 0.1.21 — Gradient Constellation masthead as the boot banner.
|
|
94
|
+
## 0.1.20 — fix CI-red sandbox symlink tests (component-wise readlink resolution).
|
|
95
|
+
## 0.1.19 — enterprise header polish (✷ mark + bright wordmark + info), reflow-safe.
|
|
96
|
+
## 0.1.18 — fix input area creeping to the top on keystroke (exact-width status-rule wrap).
|
|
97
|
+
## 0.1.17 — fix empty-turn recovery 400 (no second system message), caught by a live test.
|
|
98
|
+
## 0.1.16 — background/detached shell + task-management tools.
|
|
99
|
+
## 0.1.15 — grandmaster sub-agents: 4 engine mechanisms.
|
|
100
|
+
## 0.1.14 — fix launch crash (Rules of Hooks) + turn metrics readout.
|
|
101
|
+
## 0.1.13 — web_search backed by AXE autopilot (drop DDG/Playwright scrape).
|
|
102
|
+
## 0.1.12 — web_search tool + auto-load project context (AGENTS.md/CLAUDE.md).
|
|
103
|
+
## 0.1.11 — finish_reason handling + fix the empty-turn user-directive leak.
|
|
104
|
+
## 0.1.10 — render markdown in the transcript (was showing raw ** / backticks).
|
|
105
|
+
## 0.1.9 — sandbox read-containment for credentials (security P1).
|
|
106
|
+
## 0.1.8 — close the sandbox symlink-write bypass (security P1).
|
|
107
|
+
## 0.1.7 — stream the model's thinking, dimmed above the answer.
|
|
108
|
+
## 0.1.6 — computer control (macOS embodiment) with per-action approval.
|
|
109
|
+
## 0.1.5 — smooth email-code sign-in as the default `operator auth login`.
|
|
110
|
+
## 0.1.4 — input bounded between two rules (status rule above, plain rule below).
|
|
111
|
+
## 0.1.3 — live turn timer: token count, tok/s, and elapsed all tick during a turn.
|
|
112
|
+
## 0.1.2 — minimal masthead: drop divider rules, status text in the corner.
|
|
113
|
+
## 0.1.1 — device-login opens the browser with the code embedded (one-click connect).
|
|
114
|
+
## 0.1.0 — reliable local-file search + clearer `operator update`.
|
|
115
|
+
## 0.0.3–0.0.9 — Operator persona default; 1M-context awareness; status-rule metrics; media-attachment
|
|
116
|
+
chips; context self-poisoning fix (session file out of cwd + grep line cap); platform:neutral bundle fix.
|
package/dist/cli.js
CHANGED
|
@@ -16,10 +16,12 @@ import { loadSettings } from "./config/settings.js";
|
|
|
16
16
|
import { EventSink } from "./telemetry/events.js";
|
|
17
17
|
import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
|
|
18
18
|
import { expandFileMentions } from "./util/mentions.js";
|
|
19
|
-
import { join } from "node:path";
|
|
19
|
+
import { join, dirname } from "node:path";
|
|
20
20
|
import { homedir, hostname } from "node:os";
|
|
21
21
|
import { createHash } from "node:crypto";
|
|
22
|
-
|
|
22
|
+
// RELEASE CHECKLIST (every bump): update this + package.json "version", ADD A CHANGELOG.md ENTRY
|
|
23
|
+
// (improvements / fixes / tests), run the suite, then publish to npm + push both remotes.
|
|
24
|
+
const VERSION = "0.1.47";
|
|
23
25
|
// operator/settings.json (override path via KODE_TSI_SETTINGS), env vars still win — see config/settings.ts.
|
|
24
26
|
const settings = loadSettings();
|
|
25
27
|
// Propagate the resolved sandbox mode to the tool layer (registry reads KODE_SANDBOX at exec time).
|
|
@@ -101,6 +103,17 @@ const RESUME = process.argv.includes("--resume") || process.argv.includes("-r")
|
|
|
101
103
|
// The sink always exists so the audit trail works even with telemetry off; turn/service events are gated
|
|
102
104
|
// on telemetry.enabled so the metrics stream honors the off switch.
|
|
103
105
|
const SESSION_ID = createHash("sha1").update(`${process.cwd()}:${Date.now()}`).digest("hex").slice(0, 12);
|
|
106
|
+
// Scratchpad (per session) + handoff (per working directory). Projected to env for the scratchpad /
|
|
107
|
+
// session_handoff tools; the handoff is auto-loaded into the system prompt below so the next session in
|
|
108
|
+
// this directory resumes from it. Kept under ~/.axe/operator, never in the workspace.
|
|
109
|
+
const WORKSPACE_HASH = createHash("sha1").update(process.cwd()).digest("hex").slice(0, 16);
|
|
110
|
+
process.env.KODE_SCRATCH_FILE = join(homedir(), ".axe", "operator", "scratch", `${SESSION_ID}.md`);
|
|
111
|
+
process.env.KODE_HANDOFF_FILE = join(homedir(), ".axe", "operator", "handoff", `${WORKSPACE_HASH}.md`);
|
|
112
|
+
try {
|
|
113
|
+
mkdirSync(dirname(process.env.KODE_SCRATCH_FILE), { recursive: true });
|
|
114
|
+
mkdirSync(dirname(process.env.KODE_HANDOFF_FILE), { recursive: true });
|
|
115
|
+
}
|
|
116
|
+
catch { /* best-effort; the tools guard too */ }
|
|
104
117
|
const EVENT_ACTOR = { tier: settings.permissions.tier ?? "admin", surface: "cli" };
|
|
105
118
|
const eventSink = new EventSink();
|
|
106
119
|
const emitTelemetry = settings.telemetry.enabled !== false;
|
|
@@ -132,6 +145,18 @@ function loadProjectContext() {
|
|
|
132
145
|
}
|
|
133
146
|
return "";
|
|
134
147
|
}
|
|
148
|
+
// Session handoff: the note the previous session in THIS directory wrote for its future self (via the
|
|
149
|
+
// session_handoff tool). Auto-loaded here so the agent resumes seamlessly. Capped so a runaway handoff
|
|
150
|
+
// can't dominate the prompt.
|
|
151
|
+
function loadHandoff() {
|
|
152
|
+
try {
|
|
153
|
+
const t = readFileSync(process.env.KODE_HANDOFF_FILE ?? "", "utf8").trim();
|
|
154
|
+
if (t)
|
|
155
|
+
return `\n\n## Handoff from your previous session here (you wrote this for yourself)\n${t.slice(0, 6000)}\n\nContinue from where it leaves off, and update it with session_handoff before you finish.`;
|
|
156
|
+
}
|
|
157
|
+
catch { /* none yet */ }
|
|
158
|
+
return "";
|
|
159
|
+
}
|
|
135
160
|
// Embodiment guidance, appended only when computer control is on. It steers Aurora to READ the screen
|
|
136
161
|
// with chauffeur's textual accessibility tree instead of hand-rolling osascript — the exact loop that
|
|
137
162
|
// failed on Slack (AppleScript can't read Electron UIs). chauffeur is reachable either via the scoped
|
|
@@ -142,10 +167,14 @@ const EMBODIMENT_GUIDE = settings.computer.enabled
|
|
|
142
167
|
`computer_app_open / computer_app_activate, computer_type, computer_key, computer_click, computer_screenshot.` +
|
|
143
168
|
(chauffeurReady
|
|
144
169
|
? ` To SEE the screen use the chauffeur tools — NEVER shell_exec/osascript/System Events to read or drive ` +
|
|
145
|
-
`a GUI (AppleScript cannot read Electron apps like Slack/VS Code/Discord and just errors).
|
|
146
|
-
`
|
|
170
|
+
`a GUI (AppleScript cannot read Electron apps like Slack/VS Code/Discord and just errors). For ANY ` +
|
|
171
|
+
`request about what is on screen, or to click/read/drive an app, you MUST call the chauffeur tools — ` +
|
|
172
|
+
`never answer from memory and never say you cannot see the screen. First call: chauffeur:list_windows. ` +
|
|
173
|
+
`Correct usage, follow it exactly:\n` +
|
|
147
174
|
`- Do NOT pass a "session" argument to any chauffeur tool. Omit it — the implicit session is used ` +
|
|
148
175
|
`automatically. (Inventing a session label causes "session has ended" errors.)\n` +
|
|
176
|
+
`- At the START of any on-screen task, call chauffeur:set_agent_cursor_enabled {enabled: true} so the ` +
|
|
177
|
+
`owner can watch the agent's cursor move — do this before the first click/type/drag.\n` +
|
|
149
178
|
`- To read a window: call chauffeur:list_windows, take a window_id + pid FROM THAT RESULT, then ` +
|
|
150
179
|
`immediately chauffeur:get_window_state {pid, window_id} → a TEXT accessibility tree (roles, labels, ` +
|
|
151
180
|
`values, clickable elements + coordinates). window_ids go stale, so always list_windows again right ` +
|
|
@@ -182,8 +211,12 @@ const SYSTEM_PROMPT = (settings.systemPrompt ??
|
|
|
182
211
|
`never killed mid-search — shell_exec {"command":"find ~ -maxdepth 4 -iname \\"*name*\\" 2>/dev/null | ` +
|
|
183
212
|
`head -80","timeout_ms":60000}. Do NOT use an unbounded find / (too slow, it times out). Also check ` +
|
|
184
213
|
`~/.axe/repos and any folder ls ~ revealed, and widen the pattern (a repo may be named slightly ` +
|
|
185
|
-
`differently). Only report not-found after this real search, and say exactly where you looked.`
|
|
186
|
-
|
|
214
|
+
`differently). Only report not-found after this real search, and say exactly where you looked.` +
|
|
215
|
+
`\n## Scratchpad & handoff\nUse the scratchpad tool for private working notes, plans, and intermediate ` +
|
|
216
|
+
`results — think there, not in the workspace or your reply. Before you finish a substantial task, or ` +
|
|
217
|
+
`when you're running low on context, call session_handoff to record what you did, the state, and the ` +
|
|
218
|
+
`next steps: your next session in this directory loads it automatically, so write it for your future self.`) +
|
|
219
|
+
loadProjectContext() + loadHandoff() + EMBODIMENT_GUIDE;
|
|
187
220
|
const MAX_BG = 4; // concurrent background sub-agents — all share the single Aurora 1M endpoint, so cap fan-out
|
|
188
221
|
const HELP = [
|
|
189
222
|
"commands:",
|
package/dist/tools/chauffeur.js
CHANGED
|
@@ -16,6 +16,12 @@ export const CHAUFFEUR_READ_TOOLS = [
|
|
|
16
16
|
// Session lifecycle (control, non-mutating → unprompted). Chauffeur is session-based: without these the
|
|
17
17
|
// model can't recover from a "session has ended" error and every stateful read fails in a loop.
|
|
18
18
|
"start_session", "get_session", "list_sessions",
|
|
19
|
+
// Agent-cursor overlay (control, non-mutating → unprompted). Lets the owner SEE the agent's mouse move
|
|
20
|
+
// on screen instead of driving blind; toggling/theming/reading the overlay changes nothing it acts on.
|
|
21
|
+
"set_agent_cursor_enabled", "set_agent_cursor_theme", "get_agent_cursor_state",
|
|
22
|
+
// Bounded post-condition check (read-only verification, not an input event) — lets the model confirm an
|
|
23
|
+
// action landed instead of guessing from the next screenshot.
|
|
24
|
+
"verify_state",
|
|
19
25
|
];
|
|
20
26
|
export const CHAUFFEUR_ACTION_TOOLS = [
|
|
21
27
|
"launch_app", "bring_to_front", // window/app management
|
package/dist/tools/registry.js
CHANGED
|
@@ -124,6 +124,62 @@ async function fileEdit(args) {
|
|
|
124
124
|
return `error: ${e.message}`;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
+
// Scratchpad — a private, per-session notes file OUTSIDE the workspace (so working notes never litter the
|
|
128
|
+
// repo or get grepped back into context). No `content` = read it; `content` = append (or mode:"overwrite").
|
|
129
|
+
// Path is injected by cli.tsx as KODE_SCRATCH_FILE.
|
|
130
|
+
async function scratchpad(args) {
|
|
131
|
+
const file = process.env.KODE_SCRATCH_FILE;
|
|
132
|
+
if (!file)
|
|
133
|
+
return "error: scratchpad is not configured in this session";
|
|
134
|
+
const { readFile, writeFile, appendFile, mkdir } = await nodeImport("node:fs/promises");
|
|
135
|
+
const { dirname } = await nodeImport("node:path");
|
|
136
|
+
if (args.content == null) {
|
|
137
|
+
try {
|
|
138
|
+
return (await readFile(file, "utf8")) || "(scratchpad is empty)";
|
|
139
|
+
}
|
|
140
|
+
catch {
|
|
141
|
+
return "(scratchpad is empty)";
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
const content = str(args.content);
|
|
145
|
+
try {
|
|
146
|
+
await mkdir(dirname(file), { recursive: true });
|
|
147
|
+
if (str(args.mode) === "overwrite")
|
|
148
|
+
await writeFile(file, content, "utf8");
|
|
149
|
+
else
|
|
150
|
+
await appendFile(file, content.endsWith("\n") ? content : content + "\n", "utf8");
|
|
151
|
+
return `scratchpad ${str(args.mode) === "overwrite" ? "written" : "appended"} → ${file}`;
|
|
152
|
+
}
|
|
153
|
+
catch (e) {
|
|
154
|
+
return `error: ${e.message}`;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
// Session handoff — a note the agent writes for its FUTURE self working in this same directory. It is
|
|
158
|
+
// auto-loaded into the system prompt at the start of the next session here (cli.tsx). No `content` = read
|
|
159
|
+
// the current handoff; `content` = save one (overwrites, timestamped). Path is KODE_HANDOFF_FILE.
|
|
160
|
+
async function sessionHandoff(args) {
|
|
161
|
+
const file = process.env.KODE_HANDOFF_FILE;
|
|
162
|
+
if (!file)
|
|
163
|
+
return "error: session handoff is not configured in this session";
|
|
164
|
+
const { readFile, writeFile, mkdir } = await nodeImport("node:fs/promises");
|
|
165
|
+
const { dirname } = await nodeImport("node:path");
|
|
166
|
+
if (args.content == null) {
|
|
167
|
+
try {
|
|
168
|
+
return (await readFile(file, "utf8")) || "(no handoff saved yet)";
|
|
169
|
+
}
|
|
170
|
+
catch {
|
|
171
|
+
return "(no handoff saved yet)";
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
try {
|
|
175
|
+
await mkdir(dirname(file), { recursive: true });
|
|
176
|
+
await writeFile(file, `# Operator session handoff\n_updated ${new Date().toISOString()}_\n\n${str(args.content)}\n`, "utf8");
|
|
177
|
+
return `handoff saved → ${file} — your next session in this directory loads it automatically`;
|
|
178
|
+
}
|
|
179
|
+
catch (e) {
|
|
180
|
+
return `error: ${e.message}`;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
127
183
|
async function grepSearch(args) {
|
|
128
184
|
const pattern = str(args.pattern);
|
|
129
185
|
const path = expandPath(str(args.path, "."));
|
|
@@ -501,6 +557,23 @@ const TOOLS = [
|
|
|
501
557
|
}, required: ["path", "old_string", "new_string"] },
|
|
502
558
|
run: fileEdit,
|
|
503
559
|
},
|
|
560
|
+
{
|
|
561
|
+
name: "scratchpad", safe: true,
|
|
562
|
+
description: "Your PRIVATE scratchpad for working notes, plans, and intermediate results that must NOT go in the workspace. Call with no args to read it; with `content` to append (or mode:\"overwrite\" to replace). Persists for this session — use it to think, track progress, and stash findings instead of cluttering the repo or your reply.",
|
|
563
|
+
parameters: { type: "object", properties: {
|
|
564
|
+
content: { type: "string", description: "text to add; omit to READ the scratchpad" },
|
|
565
|
+
mode: { type: "string", enum: ["append", "overwrite"], description: "default append" },
|
|
566
|
+
} },
|
|
567
|
+
run: scratchpad,
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
name: "session_handoff", safe: true,
|
|
571
|
+
description: "Write a handoff for your FUTURE self working in THIS directory: what you did, the current state, decisions, and the next steps. It is auto-loaded into your context at the start of the next session here, so you resume seamlessly. Call with no args to read the current handoff; with `content` to save one (overwrites). Update it before you finish or when you're running low on context.",
|
|
572
|
+
parameters: { type: "object", properties: {
|
|
573
|
+
content: { type: "string", description: "the handoff (markdown); omit to READ the current handoff" },
|
|
574
|
+
} },
|
|
575
|
+
run: sessionHandoff,
|
|
576
|
+
},
|
|
504
577
|
{
|
|
505
578
|
name: "grep_search", safe: true,
|
|
506
579
|
description: "Recursively grep for a regex pattern under a path.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0perator/operator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"description": "Operator (KODE) — TypeScript + Ink terminal coding agent. Full-frame render, single-engine core shared across CLI/web/mobile; runs against a local Aurora model.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
12
|
"dashboard",
|
|
13
|
-
"README.md"
|
|
13
|
+
"README.md",
|
|
14
|
+
"CHANGELOG.md"
|
|
14
15
|
],
|
|
15
16
|
"engines": {
|
|
16
17
|
"node": ">=20"
|