返回 CodeWhale
en.json
根目录 / web / gt-catalog / en.json
1 {
2 "project": {
3 "oneEngineBehindEverySurface": "One engine behind every surface",
4 "theTerminalCodewhaleExecTheLocalBrowser": "The terminal, codewhale exec, the local browser view and editors share one Rust engine. A fix there reaches all of them.",
5 "theLargestCratesStillNeedToBe": "The largest crates still need to be split.",
6 "everyModelIsAPeer": "Every model is a peer",
7 "useABuiltInProviderAnyOpenAI": "Use a built-in provider, any OpenAI-compatible endpoint or a local model. No provider is ranked above another.",
8 "providerBehaviorStillNeedsToMoveInto": "Provider behavior still needs to move into profiles, and many providers and models that people use have not been tested by anyone yet.",
9 "providerList": "Provider list",
10 "youStayInControl": "You stay in control",
11 "codewhaleAsksBeforeItActsOutsideWhat": "Codewhale asks before it acts outside what you allowed, and records each file, command and call. An unknown cost shows as unknown.",
12 "windowsStillHasNoSandboxApprovalPrompts": "Windows still has no sandbox, approval prompts could be clearer, and every report of a wrong refusal or a missed question helps.",
13 "sandboxGuide": "Sandbox guide",
14 "manyAgentsWorkInOnePlace": "Many agents work in one place",
15 "splitAJobAcrossSubAgentsA": "Split a job across sub-agents, a Fleet or a Workflow, and follow their progress together.",
16 "otherCodingAgentsCannotRunInsideCodewhale": "Other coding agents cannot run inside Codewhale yet, long work does not always survive a restart, and context needs to hold up better in long sessions.",
17 "bringWhatYouAlreadyHave": "Bring what you already have",
18 "codewhaleReadsAGENTSMdImportsClaudeCode": "Codewhale reads AGENTS.md, imports Claude Code settings and plugins, and connects MCP servers.",
19 "deepseekHarnessPluginsAreNotYetFully": "DeepSeek Harness plugins are not yet fully compatible on macOS, Linux and Windows.",
20 "compatibilityChecklist": "Compatibility checklist",
21 "itWorksInYourLanguageOnYour": "It works in your language on your machine",
22 "theTerminalTheREADMEAndThisSite": "The terminal, the README and this site are translated, and Codewhale runs on macOS, Linux and Windows.",
23 "moreTranslationsAreNeededAndInputMethods": "More translations are needed, and input methods, screen readers and new platforms all need people who use them.",
24 "localizationMatrix": "Localization matrix",
25 "aProjectThatHelpsBuildItself": "A project that helps build itself",
26 "codewhaleIsUsedToWorkOnCodewhale": "Codewhale is used to work on Codewhale. A clear issue is something an agent can finish and a person can review.",
27 "memoryAcrossSessionsAndSkillsLearnedWith": "Memory across sessions and skills learned with your approval are both still at the design stage.",
28 "inProgress": "In progress",
29 "planned": "Planned",
30 "later": "Later",
31 "thisReleaseSimplifiesTheWholeProduct": "This release simplifies the whole product: each change removes a path that does the same job as another.",
32 "thisReleaseReworksTheArchitectureWithSmaller": "This release reworks the architecture with smaller crates, provider profiles and one command contract.",
33 "thisReleaseBringsTheDesktopAppTo": "This release brings the desktop app to every platform and adds pluggable memory and approved skill learning.",
34 "roadmap": "Roadmap",
35 "whereCodewhaleIsGoing": "Where Codewhale is going",
36 "codewhaleHasSevenLongTermGoalsAnd": "Codewhale has seven long-term goals, and each one names what is still open because that is where your report or idea changes the outcome.",
37 "sevenLongTermGoals": "Seven long-term goals",
38 "eachOneNamesWhatIsStillOpen": "Each one names what is still open, because that is where your report or idea changes the outcome.",
39 "readTheRoadmap": "Read the roadmap",
40 "stillOpen": "Still open",
41 "whatEachReleaseIsFor": "What each release is for",
42 "aMilestoneIsAPlanNotA": "A milestone is a plan, not a date. A release exists when its tag and downloads do.",
43 "liveFromGitHub": "Live from GitHub",
44 "meetThePeopleBuildingCodewhale": "Meet the people building Codewhale",
45 "codewhaleImprovesThroughThePeopleWhoUse": "Codewhale improves through the people who use it and say what happened. These are their latest changes.",
46 "allActivity": "All activity",
47 "justMerged": "Just merged",
48 "mergedAge": "merged {age}",
49 "firstContribution": "First contribution",
50 "stars": "Stars",
51 "contributors": "Contributors",
52 "openPullRequests": "Open pull requests",
53 "openIssues": "Open issues",
54 "allCountContributors": "All {count} contributors",
55 "giveFeedback": "Give feedback",
56 "seeWhereToHelp": "See where to help",
57 "mergedInTheLastFewDays": "Merged in the last few days",
58 "eachOfThesePullRequestsMergedUnder": "Each of these changes landed with its author's GitHub credit.",
59 "pickUpSomethingOpenNow": "Pick up something open now",
60 "theseIssuesCarryTheHelpWantedLabel": "These issues carry the help wanted label on GitHub right now, and you can comment on one to claim it.",
61 "closedOfTotalClosed": "{closed} of {total} closed",
62 "findWhereYoursGoes": "Find where yours goes",
63 "ifYouAreNotSureOpenAn": "If you are not sure, open an issue and a maintainer will move it where it belongs.",
64 "newFeatures": "New features",
65 "startAFeatureWithAnIssue": "Start a feature with an issue",
66 "theQuestionsThatDecideAFeatureAre": "The questions that decide a feature are about the product, not the diff. Agreeing first keeps your change small and quick to integrate.",
67 "openAFeatureRequest": "Open a feature request",
68 "sayWhatYouAreTryingToDo": "Say what you are trying to do and what gets in the way. A design is welcome and optional.",
69 "agreeOnTheShape": "Agree on the shape",
70 "aMaintainerAnswersWithWhatFitsOr": "A maintainer answers with what fits, or with what is still undecided.",
71 "shareYourBranchOnTheIssue": "Share your branch on the issue",
72 "addADesignAFailingTestOrA": "Add a design, a failing test, or a link to a fork branch or patch on the same issue. A maintainer brings accepted work onto main and credits you on the commit.",
73 "sendTheseWithoutAsking": "Send these without asking",
74 "theseStandingProjectsAreAlwaysOpenAnd": "These standing projects are always open. Send work through a Contribution Issue; no earlier issue is needed.",
75 "seeWhereTheProjectIsHeaded": "See where the project is headed",
76 "status": "Status",
77 "aBugOrBehaviorThatSurprisedYou": "A bug, or behavior that surprised you",
78 "bugReport": "Bug report",
79 "anIdeaOrAFeatureYouWant": "An idea or a feature you want",
80 "featureRequest": "Feature request",
81 "feedbackOnHowItLooksReadsOr": "Feedback on how it looks, reads or feels",
82 "feedbackForm": "Feedback form",
83 "aQuestion": "A question",
84 "qAOrDiscord": "Q&A or Discord",
85 "aSecurityProblem": "A security problem",
86 "privateAdvisory": "Private advisory",
87 "aFixATranslationAProviderOr": "A fix, a branch or patch, a translation, a provider, or a docs or website change",
88 "contributionIssue": "Contribution Issue",
89 "aPluginCatalogEntry": "A plugin catalog entry",
90 "pluginMarketplace": "Plugin marketplace",
91 "aNewFeature": "A new feature",
92 "issueFirst": "Issue first",
93 "translations": "Translations",
94 "improveTheTerminalLanguagePacksTheTranslated": "Improve the terminal language packs, the translated READMEs, this site or the docs.",
95 "providersAndModels": "Providers and models",
96 "addAProviderOrAModelOr": "Add a provider or a model, or correct a price, a context size or a provider quirk.",
97 "documentation": "Documentation",
98 "fixATypoAnUnclearStepOr": "Fix a typo, an unclear step or an instruction that no longer matches the product.",
99 "bugFixes": "Bug fixes",
100 "ifThereIsNoIssueYetDescribe": "Open a Contribution Issue with a failing test or a link to your branch, and say what you ran, what happened and what you expected.",
101 "plannedWork": "Planned work",
102 "pickAnIssueLabelledHelpWantedOr": "Pick an issue labelled help wanted or one in a milestone, and comment on it to claim it."
103 },
104 "features": {
105 "title": "Check what Codewhale ships",
106 "description": "Browse Codewhale commands, tools and Runtime capabilities with availability and documentation.",
107 "notice": "This catalogue covers {count} entries in source v{version}. Names and descriptions are in English; check your installed version.",
108 "stable": "Stable",
109 "flagged": "Requires a flag",
110 "experimental": "Experimental",
111 "partial": "Partial",
112 "preview": "Preview",
113 "none": "Unavailable",
114 "docs": "Read documentation",
115 "source": "Read source entry",
116 "exportJson": "Download feature JSON"
117 },
118 "docs-skills": {
119 "metaTitle": "Manage skills · Codewhale Docs",
120 "metaDescription": "Find, install and trust SKILL.md instruction packages. Control user and model invocation and import compatible skill folders from other coding agents.",
121 "bodyClassName": "text-ink-soft leading-relaxed",
122 "title": "Manage reusable skills",
123 "lede": "Skills are SKILL.md instruction packages. Discover compatible folders, then review the source and trust before using a skill.",
124 "sections": [
125 {
126 "id": "manager",
127 "title": "Open the skills manager",
128 "blocks": [
129 {
130 "code": "/skills\n/skills manage\n/skills inspect\n/skill <name>",
131 "lang": "Codewhale"
132 },
133 {
134 "p": "The manager opens without network access and shows owned roots. Turn on compatible-root scanning to inspect external folders; importing targets a Codewhale-owned root."
135 },
136 {
137 "note": "`/skill <name>` activates instructions for the next turn; activation alone is not a model reply or proof that the model followed them. The plugin tutorial includes a greeting marker you can check after explicitly sending a message."
138 }
139 ]
140 },
141 {
142 "id": "install",
143 "title": "Install into an owned folder",
144 "blocks": [
145 {
146 "p": "Write and share a skill with the [two-file plugin tutorial](/docs/plugin-authoring)."
147 },
148 {
149 "code": "/skill install --project <spec>\n/skill install --global <spec>\n/skill trust --project <name>",
150 "lang": "Codewhale"
151 },
152 {
153 "p": "Owned roots are .codewhale/skills in your project and ~/.codewhale/skills globally. Compatible .agents/skills and .claude/skills directories are read-only import sources."
154 },
155 {
156 "note": "Project skills load only after you trust that workspace. A configured external skills_dir stays read-only; choosing a folder does not grant authority to mutate it."
157 }
158 ]
159 },
160 {
161 "id": "invocation",
162 "title": "Choose who can load a skill",
163 "blocks": [
164 {
165 "p": "Frontmatter disable-model-invocation: true removes a skill from model discovery. user-invocable: false hides it from user menus and refuses explicit activation; setting both disables both paths."
166 },
167 {
168 "p": "A skill body enters context when loaded. The compact catalogue contains bounded names, aliases and invocation metadata."
169 }
170 ]
171 }
172 ],
173 "next": [
174 {
175 "href": "/docs/claude-code",
176 "label": "Bring your settings from another coding agent",
177 "note": "Bring compatible skills and review a settings import."
178 },
179 {
180 "href": "/plugins",
181 "label": "Add plugins",
182 "note": "Install supported bundles through review and trust."
183 }
184 ],
185 "sourceNote": "Source: docs/SKILLS.md and docs/CLAUDE_PLUGIN_COMPAT.md."
186 },
187 "docs-claude-code": {
188 "metaTitle": "Bring your settings from another coding agent · Codewhale Docs",
189 "metaDescription": "Keep the project instructions and skill folders you already have, and review a settings and MCP import plan before applying it.",
190 "bodyClassName": "text-ink-soft leading-relaxed",
191 "title": "Bring your settings from another coding agent",
192 "lede": "Keep compatible project instructions and skill folders while choosing your own model connection. Review settings and plugin imports before applying them.",
193 "sections": [
194 {
195 "id": "instructions",
196 "title": "Keep your project instructions",
197 "blocks": [
198 {
199 "p": "AGENTS.md is the canonical project instruction file. If a project has only `CLAUDE.md` or `.claude/instructions.md`, Codewhale reads it as a compatibility fallback; neither overrides Codewhale security controls."
200 },
201 {
202 "p": "Plain `.claude/skills/<name>/SKILL.md` folders are discovered through the normal [skills registry](/docs/skills), with workspace trust and invocation controls."
203 }
204 ]
205 },
206 {
207 "id": "settings",
208 "title": "Review a settings import",
209 "blocks": [
210 {
211 "code": "/import-claude",
212 "lang": "Codewhale"
213 },
214 {
215 "p": "The command reads settings from an existing `.claude` folder and writes a reviewable report and unapplied config bundle. MCP servers use the existing import consent flow; permissions and hooks need separate review."
216 },
217 {
218 "note": "Secret-shaped and unknown environment values are not imported or echoed. Running the plan does not enable servers or apply permissions."
219 }
220 ]
221 },
222 {
223 "id": "plugins",
224 "title": "Install the supported plugin subset",
225 "blocks": [
226 {
227 "code": "/plugin install <spec>",
228 "lang": "Codewhale"
229 },
230 {
231 "p": "The declarative `.claude-plugin/plugin.json` subset supports skills, commands, agent profiles and MCP declarations. Codewhale review hashes and explicit trust and enablement still apply."
232 },
233 {
234 "note": "Codewhale does not run plugin runtimes from other agents. Hooks, plugin LSP declarations, build steps and TypeScript agents are outside this importer."
235 },
236 {
237 "p": "[Read the compatibility limits](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/CLAUDE_PLUGIN_COMPAT.md). Choose credentials and endpoints in [model setup](/models)."
238 }
239 ]
240 }
241 ],
242 "next": [
243 {
244 "href": "/docs/skills",
245 "label": "Manage skills",
246 "note": "Inspect compatible directories before importing."
247 },
248 {
249 "href": "/docs/auth",
250 "label": "Connect a provider",
251 "note": "Use your chosen hosted or local model."
252 }
253 ],
254 "sourceNote": "Source: docs/CONFIGURATION.md, docs/CLAUDE_PLUGIN_COMPAT.md and the claude-settings-import entry in docs/features.toml at the published release tag."
255 },
256 "chrome": {
257 "navDocs": "Docs",
258 "navContribute": "Contribute",
259 "navSignIn": "Sign in",
260 "navDesktop": "Desktop",
261 "navFeatures": "Capabilities",
262 "navModels": "Models",
263 "navPlugins": "Plugins",
264 "skipToContent": "Skip to main content",
265 "navPrimaryAria": "Primary",
266 "navHomeAria": "Codewhale home",
267 "installCta": "Install →",
268 "dateLocale": "en-US",
269 "menuOpen": "Open menu",
270 "menuClose": "Close menu",
271 "translationMachineDraft": "This translation is a machine draft with no native review yet.",
272 "themeAuto": "auto",
273 "themeLight": "light",
274 "themeDark": "dark",
275 "themeAria": "Theme: {mode} (click to cycle)",
276 "themeTitle": "Theme · auto / light / dark",
277 "footerProduct": "Product",
278 "footerProject": "Project",
279 "footerDocs": "Docs",
280 "footerGuide": "Getting started",
281 "footerInstall": "Install",
282 "footerModels": "Models",
283 "footerFaq": "FAQ",
284 "footerContribute": "Contribute",
285 "footerRoadmap": "Roadmap",
286 "footerLicense": "MIT license",
287 "footerMerch": "Merchandise",
288 "footerTerms": "Terms",
289 "footerPrivacy": "Privacy",
290 "footerChangelog": "Changelog",
291 "footerCanonicalSource": "Canonical source: ",
292 "footerReleases": " · Releases: ",
293 "footerReleasesLink": "GitHub Releases",
294 "footerSecurity": "Security",
295 "footerLegal": "Legal",
296 "switcherLabel": "Language",
297 "switcherSwitchTo": "Switch to {label}",
298 "partialBadge": "(partial)",
299 "stateReleased": "Released",
300 "stateAvailable": "Available",
301 "stateBeta": "Beta",
302 "stateDev": "Development build",
303 "stateOpen": "Open",
304 "stateInviteOnly": "Invite-only",
305 "stateNotOpen": "Not open yet",
306 "stateNotPublic": "Not public",
307 "stateInSource": "In source, not yet released",
308 "numbersAsOf": "As of {date}",
309 "downloadMacos": "Download for macOS",
310 "downloadVersion": "Version {version}",
311 "downloadSize": "Size {size}",
312 "downloadChecksum": "SHA-256 checksum",
313 "downloadSigned": "Signed and notarized",
314 "downloadLinux": "Linux",
315 "downloadAptTitle": "Install with apt",
316 "downloadAptTrust": "The apt repository is signed with Codewhale's key, and apt installs updates.",
317 "downloadAppImage": "Download the AppImage",
318 "downloadAppImageTrust": "Check the AppImage against the SHA-256 checksum shown. It does not update itself yet.",
319 "downloadAptFingerprint": "The signing key should have the fingerprint {fingerprint}. Compare it with the key you downloaded."
320 },
321 "home": {
322 "metaTitle": "Codewhale · The model can be anyone's. The agent should be yours.",
323 "metaDescription": "Codewhale is an open-source coding agent for your terminal, written in Rust. It works with any model, can split one task across several agents, and every line of it is yours to read.",
324 "heroTitle": "The model can be anyone's. The agent should be yours.",
325 "heroTitleLead": "The model can be anyone's.",
326 "heroIntro": "{brand} is an open-source coding agent for your terminal, written in Rust. It works with any model, can split one task across several agents, and every line of it is yours to read.",
327 "readTheCode": "Read the code",
328 "installNote": "Version {version} is released, and it needs no account.",
329 "captionReleased": "A real session with a live model, deepseek-flash through DeepSeek’s API: the model wrote the edit, and the edit and the test run happened as shown. Recorded on a 0.10.3 development build.",
330 "captureFrameNoPosture": "The Prompt and Result frames show the model name and the approval mode.",
331 "frameLabelPrompt": "Prompt",
332 "frameLabelEdit": "Edit",
333 "frameLabelApproval": "Approval",
334 "frameLabelResult": "Result",
335 "frameSummaryPrompt": "Codewhale in a terminal. The request “Add a --json flag to ls.py so the tests pass, then run the tests.” has been sent, and the status line shows Accept edits and the model deepseek-flash.",
336 "frameSummaryEdit": "Codewhale in a terminal, scrolled back while a command waits. It read ls.py and test_ls.py, then updated ls.py: the diff adds a --json flag to the script.",
337 "frameSummaryApproval": "Codewhale in a terminal. The change to ls.py is shown, and the command python3 -m unittest -v test_ls.py waits for approval. The card says it is waiting for approval and offers Allow and Deny.",
338 "frameSummaryResult": "Codewhale in a terminal. After approval the command ran 2 tests and printed OK. The model, deepseek-flash, says it added --json to ls.py and that both tests passed.",
339 "frameSummaryProvider": "Codewhale in a terminal. The model picker, searched for “deepseek-flash”, lists deepseek-flash from DeepSeek, Fireworks AI and OpenRouter, with DeepSeek selected.",
340 "frameSummaryReceipt": "Codewhale in a terminal. The receipt of the session: the file it changed and the command it ran, approved by you; the token totals and the session’s estimated cost; then the edit and the approved command.",
341 "getCodewhale": "Install Codewhale",
342 "heroInstallAria": "Install command",
343 "shotPreview": "Terminal session recording",
344 "sectionModelHeading": "Any model can work through your agent.",
345 "sectionModelBody": "Use a built-in provider, any OpenAI-compatible endpoint or a model on your own machine, and change models between turns. Codewhale runs in your repository with no account, and `codewhale web` lets you work with it in your browser on your own machine.",
346 "sectionControlHeading": "Your agent answers to you.",
347 "sectionControlBody": "You decide what Codewhale may do without asking, and its commands can run in a sandbox on macOS and Linux. Every session leaves a receipt of the files it changed, the commands it ran and who approved each step.",
348 "sectionAgentsHeading": "Several agents can share one task with you.",
349 "sectionAgentsBody": "Codewhale splits a job across agents with roles such as explorer, implementer and reviewer, and you can watch, inspect and stop each one. A Fleet keeps a ledger, so a run can pick up again after a restart.",
350 "agentsRolesLabel": "Three of the roles a sub-agent can take",
351 "agentRoleExplore": "Reads the code and maps what matters, without changing files.",
352 "agentRoleImplement": "Makes one specific change with the smallest edit.",
353 "agentRoleReviewer": "Reads a change and grades what it finds by severity, without changing files.",
354 "agentsLink": "Read how sub-agents work",
355 "directionShotAlt": "The Codewhale desktop app. On the left is the session list; in the middle a task to fix a failing test waits for permission to run python3 -m pytest, with Allow and Deny.",
356 "directionShotCaption": "The desktop app runs on the same engine. Here, running DeepSeek V4.1 Flash in Accept Edits, it asks before running the test command.",
357 "directionShotLink": "See the desktop app",
358 "sectionDirectionHeading": "Here is where your agent is going.",
359 "sectionDirectionBody": "Codewhale is becoming one environment across your terminal, a desktop app, the browser and cloud computers, all run by one engine, so your work can move between them and stay yours. Each part below says where it stands today.",
360 "sectionOpenHeading": "Codewhale is built in the open by the people who use it.",
361 "sectionOpenBody": "It began as an open-source terminal tool for one model and became a project that hundreds of people in many languages build together. You can read its code, change it, or ask it to explain itself.",
362 "sectionStartHeading": "Make your agent yours today.",
363 "sectionStartBody": "Install Codewhale and run it in a repository with a model key you already have or a model on your own computer. You need no account, and `codewhale update` keeps it current.",
364 "contributorsCount": {
365 "one": "{n} contributor",
366 "other": "{n} contributors"
367 },
368 "factsLabel": "Codewhale at a glance",
369 "factRust": "Written in Rust",
370 "factLicense": "Open source, {license} license",
371 "factProviders": {
372 "one": "{n} provider route",
373 "other": "{n} provider routes"
374 },
375 "factModels": {
376 "one": "{n} model",
377 "other": "{n} models"
378 },
379 "mapHeading": "One engine",
380 "mapStateReleased": "Released",
381 "mapStateDeveloping": "In development, no download",
382 "mapStateInviteOnly": "Invite-only",
383 "mapStateBeingBuilt": "Being built",
384 "mapTerminal": "Terminal app",
385 "mapTerminalSentence": "Install it on macOS, Linux or Windows and run `codewhale` in any repository.",
386 "mapLocalBrowser": "Local browser client",
387 "mapLocalBrowserSentence": "Run `codewhale web` to read the conversation, send a task and answer approvals in your browser; it comes with the terminal and needs no account.",
388 "mapManyAgents": "Many agents on one task",
389 "mapManyAgentsSentence": "Sub-agents, Fleets and workflows let several agents share one task, each with its own role.",
390 "mapDesktop": "Desktop app",
391 "mapDesktopSentence": "We are building a desktop app on the same engine, and it has no public download yet.",
392 "mapCloud": "Cloud computers",
393 "mapCloudSentence": "Cloud computers are invite-only, and we are building them so a session can keep working on a machine in the cloud.",
394 "mapOneSession": "One session across them",
395 "mapOneSessionSentence": "We are building one session that goes with you from the terminal to the desktop, the browser and the cloud, and stays yours the whole way.",
396 "copy": "Copy",
397 "copied": "Copied ✓"
398 },
399 "docs-guide": {
400 "metaTitle": "Start your first task · Codewhale Docs",
401 "metaDescription": "Install Codewhale, connect a model, and give it a task in your project. Add a Fleet later if you want several models and roles.",
402 "bodyClassName": "text-ink-soft leading-relaxed",
403 "overviewTitle": "Start your first task",
404 "overviewLead": "You need a terminal, an existing project folder, and a provider key or a running local model; replace /path/to/your/project with your folder. Install Codewhale, connect a model, and check its explanation of a real file before the optional Fleet setup.",
405 "sessionTitle": "Watch a real session",
406 "sessionLead": "Follow a task from the first request to the finished result.",
407 "nextTitle": "Next",
408 "sourceNote": "Source documents: docs/GUIDE.md, docs/INSTALL.md, docs/KEYBINDINGS.md · Update docs-map.ts when changing."
409 },
410 "docs-shell": {
411 "metaTitle": "Docs · Codewhale",
412 "metaDescription": "Install Codewhale, connect a provider, and get work done: modes and approvals, reviewing changes, workflows, sub-agents, MCP tools, hooks, the Runtime API, and troubleshooting.",
413 "heroTitle": "Install and use Codewhale",
414 "heroLead": "Find installation steps, model setup, tool configuration and troubleshooting. The guides include commands and examples you can run.",
415 "installCta": "Install Codewhale",
416 "releaseLabel": "Release",
417 "releasePublished": "Latest release {tag} · {date}",
418 "releaseDescribes": "These pages describe {tag}, the published release.",
419 "sourceLead": "This section describes behavior that exists in the project's source and is not in the published release. Check which version you have with `codewhale --version`.",
420 "releaseChangelog": "Changelog →",
421 "searchLabel": "Search the documentation",
422 "searchPlaceholder": "Search guides and reference",
423 "searchLoading": "Loading the documentation index. Your search stays in this browser.",
424 "searchUnavailable": "The full index could not load. Try again to search article text and reference commands.",
425 "searchRetry": "Load the index again",
426 "searchClear": "Clear",
427 "searchMatches": "{matched} of {total} entries match “{query}”",
428 "searchNoMatches": "Nothing matches “{query}”",
429 "tasksHeading": "By task",
430 "tasksLead": "Start from what you are trying to do.",
431 "topicsHeading": "By topic",
432 "webGuideTag": "Web guide",
433 "sourceDocTag": "Source doc",
434 "sourceDetails": "Details",
435 "emptyTitle": "No matching entry",
436 "emptyBody": "Try a different word — searches match English and Chinese — or browse the complete docs directory on GitHub.",
437 "emptyCta": "GitHub docs directory ↗",
438 "indexNote": "Web guides open on codewhale.net. Source docs open the full reference in the GitHub repository.",
439 "sidebarHeading": "Documentation",
440 "sidebarAria": "Documentation index",
441 "breadcrumbAria": "Breadcrumb",
442 "breadcrumbHome": "Home",
443 "breadcrumbDocs": "Docs",
444 "helpTitle": "Get help",
445 "helpLead": "Ask a question on Discord or report a documentation problem on GitHub.",
446 "helpSource": "Source: {name}",
447 "helpTroubleshooting": "Fix a problem",
448 "helpFaq": "FAQ",
449 "helpDiscord": "Ask on Discord ↗",
450 "helpIssue": "Report a docs problem ↗",
451 "nextHeading": "Next",
452 "noteLabel": "Note:",
453 "onThisPage": "On this page",
454 "mediaPendingNote": "There is no recording yet. When there is, it goes here with captions, a transcript, and an optional GIF download.",
455 "mediaPlanLink": "Recording plan and acceptance checklist ↗",
456 "mediaGifFallback": "GIF fallback download (no-video environments)",
457 "mediaTranscript": "Transcript ↗"
458 },
459 "docs-hooks": {
460 "metaTitle": "Run commands on events · Codewhale Docs",
461 "metaDescription": "Run your own scripts when a session starts, before a tool call, when a turn ends, or when Codewhale is waiting for you — to add context, enforce a rule, or get notified.",
462 "bodyClassName": "text-ink-soft leading-relaxed",
463 "title": "Run commands on events",
464 "lede": "Hooks run a command of yours at set moments in a Codewhale session. Use them to block a risky command, add context to a message, log what happened, or get told when Codewhale is waiting for you.",
465 "sections": [
466 {
467 "id": "first-hook",
468 "title": "Add your first hook",
469 "blocks": [
470 {
471 "p": "Hooks live in `~/.codewhale/config.toml`. This one prints a line whenever a session starts:"
472 },
473 {
474 "code": "[hooks]\nenabled = true\n\n[[hooks.hooks]]\nname = \"announce\"\nevent = \"session_start\"\ncommand = \"echo 'Codewhale session started'\"",
475 "lang": "config.toml"
476 },
477 {
478 "p": "Start a session, then run `/hooks` to see every configured hook, whether hooks are on, and any entry that was rejected. `/hooks events` lists the event names."
479 }
480 ]
481 },
482 {
483 "id": "gate",
484 "title": "Block a command before it runs",
485 "blocks": [
486 {
487 "p": "A `tool_call_before` hook sees each tool call before it executes and can allow it, deny it, or force an approval prompt. This POSIX-shell example denies every call named `bash`, rather than guessing what a shell command string will do."
488 },
489 {
490 "code": "#!/bin/sh\nprintf '%s\\n' '{\"decision\":\"deny\",\"reason\":\"Shell calls are blocked by this hook.\"}'",
491 "lang": "~/.codewhale/hooks/deny-shell.sh"
492 },
493 {
494 "p": "Create `~/.codewhale/hooks/`, save the script there as `deny-shell.sh`, and make it executable on macOS or Linux:"
495 },
496 {
497 "code": "chmod +x ~/.codewhale/hooks/deny-shell.sh",
498 "lang": "Terminal"
499 },
500 {
501 "code": "[[hooks.hooks]]\nname = \"deny-shell\"\nevent = \"tool_call_before\"\ncommand = \"~/.codewhale/hooks/deny-shell.sh\"\ncondition = { type = \"tool_name\", name = \"bash\" }\ncontinue_on_error = false",
502 "lang": "config.toml"
503 },
504 {
505 "p": "The hook reads the call from environment variables and answers with JSON on standard output: `allow`, `deny`, or `ask`, plus an optional `reason`, a rewritten input (`updatedInput`), or extra context for the model (`additionalContext`). Exit code 2 always denies. When several hooks answer, deny beats ask, and ask beats allow."
506 },
507 {
508 "note": "This example covers only the exact `bash` tool; it does not block other tools, external clients or commands you run yourself. A substring match for force-push flags is not a shell security boundary; use the execution policy and OS sandbox for broader restrictions."
509 },
510 {
511 "note": "`ask` forces a prompt wherever the active permission posture asks or reviews. Full Access does not add approval prompts, so `ask` does not add one there."
512 }
513 ]
514 },
515 {
516 "id": "events",
517 "title": "Choose the moment",
518 "blocks": [
519 {
520 "p": "Three events can change what happens next. The rest only observe; their output is ignored and a failure is a warning."
521 },
522 {
523 "rows": [
524 [
525 "message_submit",
526 "Before your message reaches the model. Can replace the text or block it."
527 ],
528 [
529 "tool_call_before",
530 "Before each tool call. Can allow, deny, ask, rewrite the input, or add context."
531 ],
532 [
533 "shell_env",
534 "Before each shell command. Can add environment variables."
535 ],
536 [
537 "session_start / session_end",
538 "When a session opens or closes cleanly."
539 ],
540 [
541 "turn_end",
542 "After a turn finishes, with its status, duration, and token usage."
543 ],
544 [
545 "tool_call_after",
546 "After each tool result, with its exit code when there is one."
547 ],
548 [
549 "waiting_for_user",
550 "When Codewhale starts waiting for an approval, an answer, or a paused goal."
551 ],
552 [
553 "session_idle / session_busy",
554 "When the session settles or starts working again."
555 ],
556 [
557 "session_error / on_error",
558 "When a turn fails for good, or on any error or failed tool."
559 ],
560 [
561 "mode_change",
562 "When you change the mode."
563 ],
564 [
565 "subagent_spawn / subagent_complete",
566 "When a sub-agent starts or finishes."
567 ]
568 ],
569 "codeTerms": true
570 },
571 {
572 "p": "A `condition` narrows when a hook fires: by tool name (with `*` globs), tool category, mode, or exit code, and combinations with `all` and `any`. A condition that can never match its event is rejected when the config loads, so a gate you think is armed never sits silently inert."
573 }
574 ]
575 },
576 {
577 "id": "options",
578 "title": "Set timeouts and failure behavior",
579 "blocks": [
580 {
581 "rows": [
582 [
583 "timeout_secs",
584 "How long the hook may run. Default 30."
585 ],
586 [
587 "continue_on_error",
588 "`true` (default): a failing hook only warns. `false`: the failure blocks."
589 ],
590 [
591 "background",
592 "`true` runs the hook as an observer only; it cannot block or rewrite."
593 ],
594 [
595 "working_dir",
596 "Under `[hooks]`: where hooks run. Default: the session's workspace."
597 ]
598 ],
599 "codeTerms": true
600 },
601 {
602 "note": "`[hooks] default_timeout_secs` replaces every hook's own `timeout_secs`, not just the missing ones. Leave it unset if you want per-hook timeouts."
603 }
604 ]
605 },
606 {
607 "id": "project",
608 "title": "Use hooks a repository ships",
609 "blocks": [
610 {
611 "p": "A repository can include hooks in `.codewhale/hooks.toml`. Because they run commands on your machine, they load only after you trust the workspace and approve that exact file:"
612 },
613 {
614 "code": "/hooks review\n/hooks approve <digest>\n/hooks revoke",
615 "lang": "Codewhale"
616 },
617 {
618 "p": "`/hooks review` shows the commands and a digest of the file; approving that digest enables those exact bytes from the next session. Any change to the file needs a new approval. Review the scripts the commands call, too."
619 }
620 ]
621 },
622 {
623 "id": "headless",
624 "title": "Use hooks in scripts and CI",
625 "blocks": [
626 {
627 "p": "Hooks run in the interactive session. `codewhale exec` fires none by default; add `--hooks` to fire `tool_call_before` and `shell_env`. With no one to answer, an `ask` becomes a deny."
628 },
629 {
630 "code": "codewhale exec --auto --sandbox workspace-write --hooks \"run the test suite and fix the first failure\"",
631 "lang": "Terminal"
632 }
633 ]
634 }
635 ],
636 "next": [
637 {
638 "href": "/docs/modes",
639 "label": "Set modes and approvals",
640 "note": "See how hook decisions combine with your approval setting."
641 },
642 {
643 "href": "/docs/mcp",
644 "label": "Connect tools with MCP",
645 "note": "Gate MCP tools with the same `tool_call_before` hooks."
646 },
647 {
648 "href": "/docs/configuration",
649 "label": "Change settings",
650 "note": "Where `config.toml` lives and what a project may override."
651 }
652 ],
653 "sourceNote": "Source documents: docs/HOOKS.md (authoritative), docs/CONFIGURATION.md · Update docs-map.ts when changing."
654 },
655 "docs-troubleshooting": {
656 "metaTitle": "Fix a problem · Codewhale Docs",
657 "metaDescription": "Diagnose Codewhale in one command, then fix the common problems: command not found, no reply, a rejected key, network errors, a stuck turn, a session that will not resume, and MCP servers.",
658 "bodyClassName": "text-ink-soft leading-relaxed",
659 "title": "Fix a problem",
660 "lede": "Start with one diagnostic command, then find your symptom below. Each fix names the exact message you will see.",
661 "sections": [
662 {
663 "id": "diagnose",
664 "title": "Run the diagnostics",
665 "blocks": [
666 {
667 "code": "codewhale --version\ncodewhale doctor\ncodewhale doctor --probe-api # one real test call to your provider\ncodewhale auth status --provider deepseek # which key is in use",
668 "lang": "Terminal"
669 },
670 {
671 "p": "`codewhale doctor --json` produces a diagnostics bundle without secrets, ready to attach to an issue. Plain `doctor` does not tell you which key is active and exits successfully even with no key; use `auth status` for that."
672 }
673 ]
674 },
675 {
676 "id": "install",
677 "title": "Install and update",
678 "blocks": [
679 {
680 "rows": [
681 [
682 "`codewhale: command not found`",
683 "`~/.local/bin` is not on your PATH in this terminal. Add `export PATH=\"$HOME/.local/bin:$PATH\"` to your shell profile and open a new terminal."
684 ],
685 [
686 "`npm error code EACCES`",
687 "Your Node install is owned by the system. Do not use sudo: point npm at a folder you own with `npm config set prefix \"$HOME/.npm-global\"`, add its `bin` to your PATH, and install again."
688 ],
689 [
690 "`refusing to replace existing ~/.local/bin/codewhale`",
691 "A different version is already there. Run `codewhale update`, or remove the old binaries first."
692 ],
693 [
694 "`checksum mismatch`",
695 "The download was corrupted or altered, and nothing was installed. Try again; if it repeats, do not use a mirror."
696 ],
697 [
698 "`Not updated: use the command above.`",
699 "You installed with npm, Cargo, or Homebrew. Run the command printed above that line, for example `npm install -g codewhale`. `codewhale uninstall` ends the same way with `Not removed: use the command above.` Versions before 0.10.5 print `The package-managed executable was not changed.` instead."
700 ]
701 ]
702 }
703 ]
704 },
705 {
706 "id": "model",
707 "title": "No reply, or the key is rejected",
708 "blocks": [
709 {
710 "rows": [
711 [
712 "No answer arrives",
713 "Check `codewhale --version`. If no model is connected, your message stays in the composer and provider setup opens, so connect a model and send it again. If setup is complete, check `codewhale auth status --provider <name>`, then run `codewhale doctor --probe-api` for your selected hosted route or `codewhale doctor --probe-local` for a local model; these probes contact the service."
714 ],
715 [
716 "`API key not found`",
717 "No key anywhere. Save one with `codewhale auth set --provider <name>`."
718 ],
719 [
720 "`Authentication Fails … is invalid`",
721 "The key is wrong or revoked. Run `auth status` to see which source is used — a saved key beats an environment variable — then save the right key or `codewhale auth clear --provider <name>`."
722 ],
723 [
724 "`Network error: SSE stream request failed …`",
725 "Usually no connection to the provider. Check with `curl -sI https://api.deepseek.com` (a 401 means it is reachable). Behind a proxy, export `HTTPS_PROXY`. On Windows or strict proxies, try `CODEWHALE_FORCE_HTTP1=1`."
726 ]
727 ]
728 }
729 ]
730 },
731 {
732 "id": "turn",
733 "title": "A turn is stuck",
734 "blocks": [
735 {
736 "list": [
737 "Press Esc to cancel the turn. Esc also closes menus first, so press it again if a menu was open.",
738 "If a long shell command is holding the turn, press Ctrl-B to move it into the background. The turn continues, and `/jobs` shows the command.",
739 "`/retry` sends the last request again."
740 ]
741 },
742 {
743 "p": "For a detailed record, start Codewhale with `RUST_LOG=codewhale_tui=debug` (or `RUST_LOG=codewhale_tui::client=debug` for connection retries). Logs are written to `~/.codewhale/logs/`."
744 }
745 ]
746 },
747 {
748 "id": "sessions",
749 "title": "Resume a session",
750 "blocks": [
751 {
752 "code": "codewhale sessions # list saved sessions\ncodewhale resume <id> # an id or a unique prefix\ncodewhale -c # the latest session in this folder",
753 "lang": "Terminal"
754 },
755 {
756 "p": "Inside Codewhale, Ctrl-R opens the session picker. `No saved sessions found for workspace` after `codewhale exec --continue` means the earlier run was an answer-only `exec --no-tools` with text or `--json` output, which is not saved; add `--output-format stream-json` to an answer-only run you want to continue."
757 },
758 {
759 "p": "Messages you send while offline wait in a queue, saved with the session. `/queue list` shows them. When the connection is back, open one with `/queue edit <n>` and press Enter to send it."
760 }
761 ]
762 },
763 {
764 "id": "mcp",
765 "title": "MCP tools are missing",
766 "blocks": [
767 {
768 "list": [
769 "After changing `mcp.json` or a server's credentials, run `/mcp reload`. `/mcp validate` only refreshes what you see.",
770 "Run the server's command yourself in a shell to confirm it starts.",
771 "If `mcp.json` is missing, `codewhale mcp init` can create it. Back up an existing file before repair; `--force` replaces its configuration."
772 ]
773 }
774 ]
775 },
776 {
777 "id": "docker",
778 "title": "Run in Docker",
779 "blocks": [
780 {
781 "code": "docker volume create codewhale-home\ndocker run --rm -it \\\n -e DEEPSEEK_API_KEY=\"$DEEPSEEK_API_KEY\" \\\n -v codewhale-home:/home/codewhale/.codewhale \\\n -v \"$PWD:/workspace\" -w /workspace \\\n ghcr.io/hmbown/codewhale:latest",
782 "lang": "Terminal"
783 },
784 {
785 "p": "This uses the published image documented in the [Docker guide](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/DOCKER.md) (pin a release tag for reproducible installs). It runs as a non-root user; keep settings in the named volume, use one volume per project and never bake keys into the image."
786 }
787 ]
788 }
789 ],
790 "next": [
791 {
792 "href": "/docs/auth",
793 "label": "Connect a provider",
794 "note": "Save a key, check which one is used, or switch to a local model."
795 },
796 {
797 "href": "/install",
798 "label": "Install Codewhale",
799 "note": "Every install method, with the output each step should print."
800 },
801 {
802 "href": "/docs/review",
803 "label": "Review what changed",
804 "note": "Roll files back to the snapshot before a turn went wrong."
805 }
806 ],
807 "sourceNote": "Source documents: docs/INSTALL.md §13, docs/OPERATIONS_RUNBOOK.md, docs/DOCKER.md · Update docs-map.ts when changing."
808 },
809 "docs-configuration": {
810 "metaTitle": "Change settings · Codewhale Docs",
811 "metaDescription": "Find Codewhale's config file, change a setting from the session or the shell, try one for a single run, and see what a repository is allowed to override.",
812 "bodyClassName": "text-ink-soft leading-relaxed",
813 "title": "Change settings",
814 "lede": "Most settings can be changed without opening a file: from the session with `/config`, or from the shell with `codewhale config`. This page shows where settings live, how to change them, and what a repository can and cannot change for you.",
815 "sections": [
816 {
817 "id": "file",
818 "title": "Find the config file",
819 "blocks": [
820 {
821 "p": "Your settings live in `~/.codewhale/config.toml`. Print the exact path, or open the file in your editor:"
822 },
823 {
824 "code": "codewhale config path\ncodewhale config edit",
825 "lang": "Terminal"
826 },
827 {
828 "p": "To use a different file, pass `--config <path>` or set `CODEWHALE_CONFIG_PATH`; the flag wins when both are set. Codewhale was once called DeepSeek-TUI: if only an old `~/.deepseek/` folder exists, it is still read, and new settings are always written to `~/.codewhale/`."
829 }
830 ]
831 },
832 {
833 "id": "change",
834 "title": "Change a setting",
835 "blocks": [
836 {
837 "p": "Inside a session, `/config` opens the settings editor and `/settings` opens the settings screen. `/config audit` lists which settings can change in this session, which can be saved, and which only take effect after a restart — check it before editing by hand."
838 },
839 {
840 "p": "From the shell:"
841 },
842 {
843 "code": "codewhale config get tools\ncodewhale config set telemetry false\ncodewhale config unset telemetry\ncodewhale config dump # the settings in effect, secrets redacted\ncodewhale config doctor # unknown keys, empty secrets, malformed URLs",
844 "lang": "Terminal"
845 },
846 {
847 "p": "`config set` handles its named keys; for anything else it tells you which TOML table to edit instead of guessing."
848 }
849 ]
850 },
851 {
852 "id": "one-run",
853 "title": "Try a setting for one run",
854 "blocks": [
855 {
856 "p": "`--set KEY=VALUE` changes a setting for one launch and saves nothing. It accepts `provider`, `model`, `verbosity`, `approval_policy`, `sandbox_mode`, and `telemetry`, and can be repeated."
857 },
858 {
859 "code": "codewhale --set model=deepseek-flash --set sandbox_mode=read-only",
860 "lang": "Terminal"
861 }
862 ]
863 },
864 {
865 "id": "project",
866 "title": "Share settings with a repository",
867 "blocks": [
868 {
869 "p": "A repository can include `.codewhale/config.toml` to suggest settings to everyone who works in it. Only a few keys are honored, and safety settings can only get stricter:"
870 },
871 {
872 "rows": [
873 [
874 "model",
875 "The default model for this repository."
876 ],
877 [
878 "reasoning_effort",
879 "For example `\"high\"` for a complex codebase."
880 ],
881 [
882 "approval_policy, sandbox_mode",
883 "Only values stricter than yours."
884 ],
885 [
886 "allow_shell",
887 "`false` turns shell commands off; `true` is ignored."
888 ],
889 [
890 "max_subagents",
891 "Fewer parallel sub-agents, from 1 to 128."
892 ]
893 ],
894 "codeTerms": true
895 },
896 {
897 "p": "Provider keys, endpoints and provider choice come from your own config. MCP servers can also come from `.codewhale/mcp.json` after you trust the workspace in user-owned settings; project entries override same-named global entries. Review that executable authority before trusting a repository. See [MCP configuration](/docs/mcp#config)."
898 },
899 {
900 "p": "Project instructions — how an agent should work in this repository — belong in `AGENTS.md` instead. Run `/init` to create one."
901 }
902 ]
903 }
904 ],
905 "next": [
906 {
907 "href": "/docs/auth",
908 "label": "Connect a provider",
909 "note": "Save a key and see which one Codewhale is using."
910 },
911 {
912 "href": "/docs/modes",
913 "label": "Set modes and approvals",
914 "note": "The settings most people change first."
915 },
916 {
917 "href": "/docs/hooks",
918 "label": "Run commands on events",
919 "note": "Add your own scripts to the `[hooks]` table."
920 }
921 ],
922 "sourceNote": "Source documents: docs/CONFIGURATION.md, docs/LEGACY_PATHS.md · Update docs-map.ts when changing."
923 },
924 "docs-fleet": {
925 "metaTitle": "Run a workflow · Codewhale Docs",
926 "metaDescription": "Save roles and models in a Fleet, write a repeatable Workflow, run it as a Lane you can watch and stop, and run batches of tasks with durable workers.",
927 "bodyClassName": "text-ink-soft leading-relaxed",
928 "title": "Run a workflow",
929 "lede": "In Work, ask Codewhale to plan a larger task and delegate independent steps to agents. Write a Workflow when you want to repeat an ordered plan with phases, parallel branches and a record of each run.",
930 "sections": [
931 {
932 "id": "fleet",
933 "title": "Save roles in a Fleet",
934 "blocks": [
935 {
936 "p": "Fleet keeps reusable roles and model choices. Connect a model first, then create a role profile inside a session:"
937 },
938 {
939 "code": "/fleet setup\n/fleet\n/fleet saved",
940 "lang": "Codewhale"
941 },
942 {
943 "p": "`/fleet setup` saves one role profile at a time. Choose its model or inherit the session route, then choose this project or your personal profiles. Review the exact file before saving. `/fleet` shows the selected team; `/fleet saved` switches among named teams that already exist. Ask for a task and use `/fleet workers` to watch its session agents."
944 },
945 {
946 "p": "A Fleet only chooses who does the work. What a worker may read, write, or run still comes from your workspace trust, [approval setting](/docs/modes), and sandbox."
947 }
948 ]
949 },
950 {
951 "id": "write",
952 "title": "Write a workflow",
953 "blocks": [
954 {
955 "p": "A saved Workflow describes a process the agents can repeat. Create a `workflows/` folder and save this declarative example as `workflows/docs_readiness.workflow.js`. It reviews two areas in parallel, then combines the findings. Replace `src` and `docs` with directories that exist in your project:"
956 },
957 {
958 "code": "export default workflow({\n \"id\": \"docs-readiness\",\n \"goal\": \"Review the docs and code for gaps, then summarize the next edit\",\n \"nodes\": [\n {\n \"branch\": {\n \"id\": \"parallel-review\",\n \"parallel\": true,\n \"children\": [\n { \"agent\": { \"id\": \"code-review\", \"prompt\": \"Inspect src/ for undocumented behavior.\",\n \"agent_type\": \"review\", \"mode\": \"read_only\", \"file_scope\": [\"src\"] } },\n { \"agent\": { \"id\": \"docs-review\", \"prompt\": \"Inspect docs/ for stale or missing steps.\",\n \"agent_type\": \"review\", \"mode\": \"read_only\", \"file_scope\": [\"docs\"] } }\n ]\n }\n },\n {\n \"reduce\": {\n \"id\": \"summary\",\n \"inputs\": [\"code-review\", \"docs-review\"],\n \"prompt\": \"Combine the findings into the safest next edit.\"\n }\n }\n ]\n});",
959 "lang": "workflows/docs_readiness.workflow.js"
960 },
961 {
962 "p": "This declarative form supports `agent`, `branch`, `sequence`, and `reduce`. It compiles to a validated plan and rejects constructs such as `import`, `fetch`, `eval`, and `async`. Advanced imperative JavaScript can use asynchronous `task()` and `parallel()` in a sandbox, still without direct filesystem, shell or network access. Workers perform those actions under the active policy."
963 },
964 {
965 "note": "Workflow caps how many agents are live at once, and admitted work waits for a slot. There is no default cumulative child limit or structural depth limit. Set positive `[workflow] max_children` or `max_depth` values to limit them. Runtime agent admission and delegation limits apply separately."
966 }
967 ]
968 },
969 {
970 "id": "run",
971 "title": "Run it",
972 "blocks": [
973 {
974 "code": "codewhale workflow run docs-readiness --runtime inline",
975 "lang": "Terminal"
976 },
977 {
978 "p": "This command finds `workflows/docs_readiness.workflow.js`, validates it and starts a model-backed run, so connect your provider first. `--runtime inline` waits in this terminal. The default backend requires `tmux` installed on the host and runs in a detached session. Add `--verify` to the launch command for the configured verifier gates after a successful finish. `--fleet <name>` selects an existing named Fleet."
979 },
980 {
981 "p": "To keep the work off your checkout, add `--worktree-repo . --branch <name>`: the run gets its own git worktree and branch."
982 },
983 {
984 "p": "Inside a session, `/workflow <objective>` drafts a proposal without executing it. To review this saved file, use `/workflow run workflows/docs_readiness.workflow.js`. Wait for the review, then run `/workflow confirm` to start the reviewed draft. `/workflow status` reads run state, `/workflow cancel <run-id>` cancels, and `/workflows` opens the session run dashboard."
985 }
986 ]
987 },
988 {
989 "id": "watch",
990 "title": "Watch and stop a run",
991 "blocks": [
992 {
993 "p": "Each run is a Lane. Lanes are saved to disk, so you can check on them from any terminal:"
994 },
995 {
996 "code": "codewhale lane list\ncodewhale lane status <lane-id>\ncodewhale lane logs <lane-id>\ncodewhale lane attach <lane-id>\ncodewhale lane interrupt <lane-id>",
997 "lang": "Terminal"
998 },
999 {
1000 "p": "`lane list`, `lane status`, and `lane interrupt` accept `--json`. Inside a session, use `/lane list`, `/lane status <lane-id>`, or `/lane interrupt <lane-id>`. Logs and tmux attachment use the shell commands above. Slash reads show the last recorded state; CLI list/status reconcile backend exits. Slash interrupt first returns a queued receipt, then its final result."
1001 }
1002 ]
1003 },
1004 {
1005 "id": "batch",
1006 "title": "Run a batch of tasks",
1007 "blocks": [
1008 {
1009 "p": "When you have a list of separate tasks rather than one plan, write them as a task file and run them as a Fleet run. Each task names its goal, its role, and the paths it may write. [The tutorial](/docs/workflow-tutorial) has a complete `tasks.json`."
1010 },
1011 {
1012 "code": "codewhale fleet init\ncodewhale fleet run tasks.json --check\ncodewhale fleet run tasks.json --max-workers 4\ncodewhale fleet status\ncodewhale fleet logs <worker-id>\ncodewhale fleet resume <run-id>\ncodewhale fleet stop --all",
1013 "lang": "Terminal"
1014 },
1015 {
1016 "p": "`fleet run --check` validates without creating a run; omit `--check` to start the foreground manager. Use another terminal for status and controls while it runs. After an interruption, `fleet resume <run-id>` reconciles stale leases and reports their state; it does not restart the manager or launch queued work. To explicitly retry a worker, inspect it and use `codewhale fleet restart <worker-id>`, which runs the manager for that run. `/fleet workers` and `/subagents` show current-session agents, not these durable runs."
1017 }
1018 ]
1019 }
1020 ],
1021 "next": [
1022 {
1023 "href": "/docs/workflow-tutorial",
1024 "label": "Read the full Fleet tutorial",
1025 "note": "Validate a complete task file and inspect recovery behavior before starting workers."
1026 },
1027 {
1028 "href": "/docs/subagents",
1029 "label": "Run agents in parallel",
1030 "note": "Hand independent pieces of one task to sub-agents without writing a workflow."
1031 },
1032 {
1033 "href": "/docs/review",
1034 "label": "Review what changed",
1035 "note": "Check the diff a run produced and get a review before you push."
1036 },
1037 {
1038 "href": "/docs/vocabulary",
1039 "label": "Product terms",
1040 "note": "Fleet, Workflow, Lane, and Runtime, each in one sentence."
1041 }
1042 ],
1043 "sourceNote": "Source documents: docs/FLEET.md, docs/FLEET_WORKFLOW_TUTORIAL.md, docs/WORKFLOW_AUTHORING.md · Update docs-map.ts when changing."
1044 },
1045 "docs-mcp": {
1046 "metaTitle": "Connect tools with MCP · Codewhale Docs",
1047 "metaDescription": "Connect local and remote MCP servers, understand authentication and plugin compatibility, and troubleshoot missing tools.",
1048 "bodyClassName": "text-ink-soft leading-relaxed",
1049 "title": "Connect tools with MCP",
1050 "lede": "Connect a local tool server or a remote service through Model Context Protocol. Codewhale discovers its tools and applies your tool permissions and approvals when you use them.",
1051 "sections": [
1052 {
1053 "id": "add",
1054 "title": "Try the Cloudflare Docs server",
1055 "blocks": [
1056 {
1057 "p": "The public [Cloudflare Documentation server](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/) provides documentation search and a Pages-to-Workers migration guide. [View its official source](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/docs-vectorize). Add it without credentials:"
1058 },
1059 {
1060 "code": "codewhale mcp add cloudflare-docs --url \"https://docs.mcp.cloudflare.com/mcp\"\ncodewhale mcp tools cloudflare-docs",
1061 "lang": "Terminal"
1062 },
1063 {
1064 "p": "The tool list should include `search_cloudflare_documentation` and `migrate_pages_to_workers_guide`. In an existing TUI session, run `/mcp reload` to load the new configuration into that session."
1065 },
1066 {
1067 "note": "Checked on November 7, 2026 with published CLI v0.10.2: both commands exited successfully and listed those two tools without credentials. This checked setup and discovery, not tool execution. See the [MCP source guide](https://github.com/codewhale-hq/Codewhale/blob/main/docs/MCP.md) for current details."
1068 },
1069 {
1070 "p": "Inside a session, `/mcp` opens the MCP manager: each server's state, transport, timeouts, errors, and discovered tools. The same actions are available there, for example `/mcp add stdio <name> <command>` and `/mcp add http <name> <url>`."
1071 },
1072 {
1073 "note": "Local MCP servers run with the permissions of the Codewhale process; remote calls use the access you grant that service. Add only servers you trust."
1074 }
1075 ]
1076 },
1077 {
1078 "id": "compatibility",
1079 "title": "What can connect",
1080 "blocks": [
1081 {
1082 "rows": [
1083 [
1084 "Local stdio",
1085 "Codewhale starts the executable you configure with `--command`; repeat `--arg` for its arguments. Install the server and its required runtime first."
1086 ],
1087 [
1088 "Remote HTTP / SSE",
1089 "Use `--url` for Streamable HTTP, with legacy SSE fallback. A legacy SSE endpoint can use `--transport sse`. A remote entry does not need `command`."
1090 ],
1091 [
1092 "Direct remote authentication",
1093 "Your own MCP configuration can use environment-backed headers, bearer tokens or OAuth. OAuth needs compatible server metadata and client registration."
1094 ],
1095 [
1096 "Plugin-contributed MCP",
1097 "A reviewed, enabled plugin can supply stdio or remote MCP servers. Plugin MCP supports environment-backed authentication, but plugin-contributed MCP OAuth is unsupported."
1098 ],
1099 [
1100 "Tools, resources and prompts",
1101 "Codewhale discovers what the server actually advertises. Resources, templates and prompts are available when the server implements them."
1102 ],
1103 [
1104 "Optional extensions and MCP Apps",
1105 "General MCP Apps UI support is not available. Basic MCP transport support does not guarantee support for every optional extension or server."
1106 ],
1107 [
1108 "Server requirements",
1109 "Each server keeps its own OS, executable, browser, dependency and account requirements. A local server runs on the computer hosting Codewhale; Computer Use has its own platform limits."
1110 ]
1111 ]
1112 },
1113 {
1114 "p": "A direct MCP entry does not require a plugin. [Plugins](/plugins) can package MCP tools with instructions and other components; each component still needs compatible dependencies, review and permissions."
1115 }
1116 ]
1117 },
1118 {
1119 "id": "remote-auth",
1120 "title": "Sign in to a remote server",
1121 "blocks": [
1122 {
1123 "p": "For a directly configured OAuth server, add its real URL, then log in using the name you gave it:"
1124 },
1125 {
1126 "code": "codewhale mcp login <server>\ncodewhale mcp logout <server>",
1127 "lang": "Terminal"
1128 },
1129 {
1130 "p": "For a bearer token, use `--bearer-token-env-var TOKEN_NAME` when adding the server, and set that variable in the environment launching Codewhale. `env_headers` maps header names to environment variable names. Literal `headers` values do not expand `${TOKEN_NAME}`. Plugin MCP entries cannot use OAuth; configure that server directly instead."
1131 },
1132 {
1133 "p": "An explicit Authorization header always wins: headers from config apply first, then the bearer-token variable, then a stored OAuth login. `codewhale mcp logout <name>` removes the stored login on this machine; the provider may keep its own grant until you revoke it there."
1134 }
1135 ]
1136 },
1137 {
1138 "id": "config",
1139 "title": "Edit the config file",
1140 "blocks": [
1141 {
1142 "p": "Global servers live in `~/.codewhale/mcp.json`; the legacy `~/.deepseek/mcp.json` is read when the Codewhale file is absent. `codewhale mcp init` writes a starter file. Use an absolute `mcp_config_path` or `CODEWHALE_MCP_CONFIG` to override it. The environment also accepts `DEEPSEEK_MCP_CONFIG`; the Codewhale name wins when both are set."
1143 },
1144 {
1145 "code": "{\n \"servers\": {\n \"cloudflare-docs\": {\n \"url\": \"https://docs.mcp.cloudflare.com/mcp\"\n }\n }\n}",
1146 "lang": "mcp.json"
1147 },
1148 {
1149 "p": "Use either `servers` or its `mcpServers` alias, never both in one file. `env_http_headers` is an alias for `env_headers`. Adapt the server's documented command, arguments and auth fields rather than assuming every client's configuration format is interchangeable."
1150 },
1151 {
1152 "p": "A trusted workspace can add `.codewhale/mcp.json`. Its entries override same-named global servers; the repository cannot grant itself that trust or override your global config path. Explicit global or trusted-project entries win over a colliding plugin server identity."
1153 },
1154 {
1155 "p": "After editing, run `/mcp reload` in the TUI; no restart is needed. Enabled, allowed servers connect at session start by default. Set `\"lazy\": true` on a user-configured server to connect on demand; `\"required\": true` still connects it at startup. Plugin MCP servers have no lazy manifest option. Headless runtimes need a restart after config changes."
1156 }
1157 ]
1158 },
1159 {
1160 "id": "tool-names",
1161 "title": "Find the tools",
1162 "blocks": [
1163 {
1164 "p": "Each tool appears to the model as `mcp_<server>_<tool>`. For this example, documentation search is `mcp_cloudflare-docs_search_cloudflare_documentation`. `codewhale mcp tools <server>` lists discovered tools in its own process; it does not attach those connections to a running session."
1165 },
1166 {
1167 "p": "MCP tools follow your [approval setting](/docs/modes), allow/deny rules and network policy. Whether a call asks first depends on that policy and posture. Full Access does not override repository rules or managed policy."
1168 }
1169 ]
1170 },
1171 {
1172 "id": "troubleshooting",
1173 "title": "When tools do not appear",
1174 "blocks": [
1175 {
1176 "rows": [
1177 [
1178 "Check configuration",
1179 "Run `codewhale doctor` for static path and configuration diagnostics. Shell `codewhale mcp validate` connects enabled, allowed servers in a separate process; it is a live check."
1180 ],
1181 [
1182 "Refresh this session",
1183 "TUI `/mcp validate` shows its last snapshot without reconnecting. Use `/mcp reload` after config changes, or `/mcp retry <name>` for one server."
1184 ],
1185 [
1186 "Connected, but missing a tool",
1187 "Check `codewhale mcp tools <server>`, the server's advertised tools, `enabled_tools` / `disabled_tools`, and the session's allow/deny rules. A connected transport alone does not mean a tool is available or permitted."
1188 ],
1189 [
1190 "Authentication required",
1191 "For a direct OAuth server, run `/mcp login <name>`. For token auth, check that the variable is present in Codewhale's launch environment. A successful login in one process does not attach its transport to another."
1192 ],
1193 [
1194 "Local command fails",
1195 "Check the server's executable, arguments, working directory and runtime. On Windows, package runners may need their `.cmd` name. Follow the server vendor's OS and dependency instructions."
1196 ],
1197 [
1198 "Plugin server is absent",
1199 "Check the owning plugin's review, trust and enabled state. MCP settings cannot activate an untrusted plugin or bypass a rejected manifest."
1200 ]
1201 ]
1202 }
1203 ]
1204 },
1205 {
1206 "id": "serve",
1207 "title": "Run Codewhale as an MCP server",
1208 "blocks": [
1209 {
1210 "p": "A client supporting Codewhale's advertised MCP protocol revisions can launch it as a stdio tool server. By default, it exposes only read-only `file_read` and `search` tools."
1211 },
1212 {
1213 "code": "codewhale mcp add-self\ncodewhale mcp tools codewhale",
1214 "lang": "Terminal"
1215 },
1216 {
1217 "p": "`add-self` registers `codewhale serve --mcp`; `codewhale mcp-server` is the equivalent entry point. This server reads its separate `[server]` settings from the legacy `~/.deepseek/mcp_server.toml`, not the client `mcp.json`. Write or shell tools require explicit exposure and `require_approval = false`; there is no interactive approval channel. [Runtime API](/docs/runtime-api) HTTP is separate from MCP."
1218 }
1219 ]
1220 },
1221 {
1222 "id": "code-mode",
1223 "title": "Compose tool calls with code mode (experimental)",
1224 "blocks": [
1225 {
1226 "note": "This section follows the main candidate's source and can include behavior newer than the latest published release."
1227 },
1228 {
1229 "p": "Code mode lets the model write one short JavaScript program that calls several tools, loops, and filters results, instead of making each call as a separate step. Only the program's final value goes back to the model, which keeps long lookups compact. It is on by default — `execute_tools` is advertised from the first request — and MCP and plugin tools compose inside a program the same way built-in ones do. Turning it off does not remove code mode: `execute_tools` goes back to being deferred, and the model can still find it through `tool_search`. To turn it off for one session, or in config:"
1230 },
1231 {
1232 "code": "codewhale --disable code_mode\n\n# ~/.codewhale/config.toml\n[features]\ncode_mode = false",
1233 "lang": "Terminal / config.toml"
1234 },
1235 {
1236 "list": [
1237 "Nested native, MCP and plugin calls pass the same gate as a direct call: allow/deny lists, ask-rules, and review still apply. A call that needs approval raises the normal approval card and pauses the program; allow resumes it, deny fails only that call. Approving the program itself grants nothing.",
1238 "MCP calls run through the session's MCP pool, and plugin tools are callable inside a program just like built-in ones.",
1239 "Limits per program: 4 nested calls at a time and 16 KiB returned. There is no fixed 30-second cap: a program runs on the turn's remaining wall clock, unbounded unless `[tui].turn_wall_clock_secs` is set.",
1240 "Code mode works in Plan mode too: every nested call still passes Plan's read-only gates."
1241 ]
1242 }
1243 ]
1244 }
1245 ],
1246 "next": [
1247 {
1248 "href": "/docs/hooks",
1249 "label": "Run commands on events",
1250 "note": "Check or rewrite a tool call before it runs, including MCP tools."
1251 },
1252 {
1253 "href": "/docs/modes",
1254 "label": "Set modes and approvals",
1255 "note": "Decide which MCP calls stop for your approval."
1256 },
1257 {
1258 "href": "/docs/runtime-api",
1259 "label": "Automate with the Runtime API",
1260 "note": "Drive Codewhale from your own app or script over HTTP."
1261 }
1262 ],
1263 "sourceNote": "Source documents: docs/MCP.md, crates/engine/src/tools/codemode.rs · Update docs-map.ts when changing."
1264 },
1265 "docs-modes": {
1266 "metaTitle": "Set modes and approvals · Codewhale Docs",
1267 "metaDescription": "Choose Plan or Work and set when Codewhale asks for approval. You decide what it may do without asking.",
1268 "bodyClassName": "text-ink-soft leading-relaxed",
1269 "title": "Set modes and approvals",
1270 "lede": "Plan lets you inspect and agree on an approach before making changes. Work edits files and runs commands within the permissions you choose. You decide what it may do without asking.",
1271 "sections": [
1272 {
1273 "id": "versions",
1274 "title": "Check which version you use",
1275 "blocks": [
1276 {
1277 "code": "codewhale --version",
1278 "lang": "Shell"
1279 },
1280 {
1281 "p": "This page describes the published release named at the top of the page. Behavior that exists only in the project's source is in the labelled section at the end."
1282 }
1283 ]
1284 },
1285 {
1286 "id": "modes",
1287 "title": "Choose Plan, Work or Operate",
1288 "until": {
1289 "feature": "modes",
1290 "describesCurrentRow": true
1291 },
1292 "blocks": [
1293 {
1294 "rows": [
1295 [
1296 "Plan",
1297 "Codewhale can read the workspace and perform permitted research, but it cannot edit files or run shell commands. Research may contact external services, and session state can still be saved."
1298 ],
1299 [
1300 "Work",
1301 "Codewhale reads, edits files and runs commands within the approval, sandbox and policy boundaries you set. It can delegate independent tasks to other agents."
1302 ],
1303 [
1304 "Operate",
1305 "The same tools and authority as Work, with more emphasis on delegating multi-part work to parallel agents and on checking results before calling the work done. It does not bypass the approval, sandbox or policy boundaries Work uses."
1306 ]
1307 ]
1308 },
1309 {
1310 "p": "With an empty composer, Tab cycles Plan → Work → Operate. Open `/mode` to choose a mode, or enter one of these commands:"
1311 },
1312 {
1313 "code": "/mode plan\n/mode work\n/mode operate",
1314 "lang": "Codewhale"
1315 },
1316 {
1317 "p": "After a successful Plan response, Codewhale asks whether to continue in Work with Ask or Auto-Review, or to keep planning. Switching to Work sends the approved plan as a follow-up."
1318 }
1319 ]
1320 },
1321 {
1322 "id": "approvals",
1323 "title": "Set when Codewhale asks",
1324 "until": {
1325 "feature": "permission-postures",
1326 "describesCurrentRow": true
1327 },
1328 "blocks": [
1329 {
1330 "p": "Press Shift+Tab to cycle the permission posture: Ask → Auto-Review → Full Access. A fresh install starts in Ask. The posture is separate from the mode."
1331 },
1332 {
1333 "rows": [
1334 [
1335 "Ask",
1336 "The default. Codewhale asks before a command runs. Saved approvals and policy rules still apply."
1337 ],
1338 [
1339 "Auto-Review",
1340 "Provably safe calls run, while the deterministic safety floor blocks publishing and destructive background actions. Other held calls receive one independent model review; high-risk calls and failed reviews are denied. Codewhale may still ask you to resolve a user choice."
1341 ],
1342 [
1343 "Full Access",
1344 "Commands can reach anything on this computer without approval prompts. Managed policy and repository law still apply."
1345 ]
1346 ]
1347 },
1348 {
1349 "note": "Use [Review what changed](/docs/review) to inspect edits and available restore points."
1350 }
1351 ]
1352 },
1353 {
1354 "id": "prompt",
1355 "title": "Answer an approval prompt",
1356 "blocks": [
1357 {
1358 "p": "Read the proposed tool call and the options on its card before answering. Ordinary tool approval cards support these keys when the matching option is offered:"
1359 },
1360 {
1361 "rows": [
1362 [
1363 "y",
1364 "Allow this call once."
1365 ],
1366 [
1367 "a",
1368 "Choose the displayed session approval option when it is offered."
1369 ],
1370 [
1371 "p",
1372 "Save the displayed exact repository allow rule when it is offered."
1373 ],
1374 [
1375 "n",
1376 "Deny the call and tell Codewhale it was refused."
1377 ],
1378 [
1379 "Esc",
1380 "Stop the current turn on its own approval card. On a child agent's card, hide the card while its approval remains pending."
1381 ]
1382 ],
1383 "codeTerms": true
1384 },
1385 {
1386 "p": "Workflow plan cards have different options, including editing or canceling the plan. Follow the labels on that card rather than the ordinary tool shortcuts above."
1387 },
1388 {
1389 "p": "A new approval card highlights Allow by default, so Enter allows the one action shown, once. Set `default_selection = \"deny\"` to make Enter refuse the call instead. Approval prompts wait indefinitely by default; set a timeout in your user configuration to deny unanswered prompts after 300 seconds:"
1390 },
1391 {
1392 "code": "[approval]\ndefault_selection = \"deny\"\ntimeout_seconds = 300",
1393 "lang": "config.toml"
1394 },
1395 {
1396 "p": "The default user configuration is `~/.codewhale/config.toml`; see [Change settings](/docs/configuration) if you use a custom configuration path. Prompt settings change how a required card behaves, rather than granting permission to tools."
1397 }
1398 ]
1399 }
1400 ],
1401 "sourceGroups": [
1402 {
1403 "claim": {
1404 "feature": "modes",
1405 "describesCurrentRow": true
1406 },
1407 "sections": [
1408 {
1409 "id": "source-modes",
1410 "title": "Plan and Work",
1411 "blocks": [
1412 {
1413 "rows": [
1414 [
1415 "Plan",
1416 "Codewhale can read the workspace and perform permitted research, but it cannot edit files or run shell commands. Research may contact external services, and session state can still be saved."
1417 ],
1418 [
1419 "Work",
1420 "Codewhale reads, edits files and runs commands within the approval, sandbox and policy boundaries you set. It can delegate independent tasks to other agents."
1421 ]
1422 ]
1423 },
1424 {
1425 "p": "Plan and Work are the two modes. `/mode operate` still works as an alias for Work and explains that Operate was retired. Tab only completes commands, file mentions and suggestions; it never changes modes or sends text."
1426 },
1427 {
1428 "code": "/mode plan\n/mode work",
1429 "lang": "Codewhale"
1430 },
1431 {
1432 "p": "After a successful Plan response, Codewhale asks whether to continue in Work with Ask, Accept Edits or Auto-Review, or to keep planning."
1433 }
1434 ]
1435 }
1436 ]
1437 },
1438 {
1439 "claim": {
1440 "feature": "permission-postures",
1441 "describesCurrentRow": true
1442 },
1443 "sections": [
1444 {
1445 "id": "source-approvals",
1446 "title": "One permission dial",
1447 "blocks": [
1448 {
1449 "p": "Shift+Tab steps one permission dial: Ask → Accept Edits → Plan → Auto-Review → Full Access → Ask. Plan is the Plan mode; every other stop uses Work."
1450 },
1451 {
1452 "rows": [
1453 [
1454 "Ask",
1455 "Codewhale asks before every file edit and command, including edits inside the workspace. Saved approvals and policy rules still apply."
1456 ],
1457 [
1458 "Accept Edits",
1459 "Ordinary file edits inside the workspace's git work tree can run without a prompt. Commands, network and MCP actions still ask, as do sensitive-file edits, edits outside the workspace and edits in a folder without git. ACP sessions treat this setting as Ask."
1460 ],
1461 [
1462 "Auto-Review",
1463 "Provably safe calls run, while the deterministic safety floor blocks publishing and destructive background actions. Other held calls receive one independent model review; high-risk calls and failed reviews are denied. Codewhale may still ask you to resolve a user choice."
1464 ],
1465 [
1466 "Full Access",
1467 "Commands can reach anything on this computer without approval prompts. Managed policy and repository law still apply."
1468 ]
1469 ]
1470 },
1471 {
1472 "note": "New installs start with Accept Edits when no posture is saved. An explicit saved choice stays in control; managed approval policy can lock the setting."
1473 },
1474 {
1475 "p": "The dial works while a turn is running unless another modal blocks it. A change applies at the agent's next step; a previously approved call runs only if the new posture is equal or broader. Each effective change appears in the transcript."
1476 },
1477 {
1478 "note": "Use [Review what changed](/docs/review) to inspect edits and available restore points."
1479 }
1480 ]
1481 }
1482 ]
1483 }
1484 ],
1485 "next": [
1486 {
1487 "href": "/docs/review",
1488 "label": "Review what changed",
1489 "note": "Inspect session changes and restore available file snapshots."
1490 },
1491 {
1492 "href": "/docs/sandbox",
1493 "label": "Limit what commands can touch",
1494 "note": "See what the operating system enforces on each platform."
1495 },
1496 {
1497 "href": "/docs/subagents",
1498 "label": "Run agents in parallel",
1499 "note": "Delegate independent tasks and follow each agent's progress."
1500 }
1501 ],
1502 "sourceNote": "Source: docs/MODES.md, docs/KEYBINDINGS.md and docs/CONFIGURATION.md at the published release tag; the in-source section follows main."
1503 },
1504 "docs-runtime-api": {
1505 "metaTitle": "Automate with the Runtime API · Codewhale Docs",
1506 "metaDescription": "Drive Codewhale from your own scripts and apps: run one-shot prompts in CI, or start the local HTTP API and send turns, stream events, and answer approvals.",
1507 "bodyClassName": "text-ink-soft leading-relaxed",
1508 "title": "Automate with the Runtime API",
1509 "lede": "Use `codewhale exec` for a one-shot job, or follow this tutorial to create a thread and stream a turn through the local Runtime API. The [complete reference](/docs/runtime-reference), generated from the repository's main branch, covers routes, request fields, events and compatibility limits.",
1510 "sections": [
1511 {
1512 "id": "exec",
1513 "title": "Run one job from a script",
1514 "blocks": [
1515 {
1516 "code": "codewhale exec --no-tools \"Reply with exactly: pong\"\ncodewhale exec --auto --sandbox workspace-write \"fix the failing test and run it again\"\ncodewhale exec --auto --sandbox workspace-write --output-format stream-json \"update the changelog\"",
1517 "lang": "Terminal"
1518 },
1519 {
1520 "p": "Plain `exec` runs the agent with the normal tool surface under your configured sandbox and approval settings; `--no-tools` answers once without tools. By default, `--auto` enables Full Access: tools run without asking, shell commands have no Codewhale sandbox, and trust mode lets file tools write outside the workspace. Any `--sandbox` other than `danger-full-access` (or the equivalent `sandbox_mode` in config) keeps trust mode off. Add `--sandbox workspace-write` for the [shell sandbox, where available](/docs/sandbox), and file-tool workspace restrictions; `external-sandbox` relies on your own isolation. Put flags before the prompt, and use `--` before prompt text that starts with `-` or contains literal exec flags. Runs that offer tools are saved in every output format. `--output-format stream-json` prints one JSON event per line and also saves answer-only runs so `--continue` can pick them up. `--max-turns` and `--allowed-tools` put limits on a run."
1521 }
1522 ]
1523 },
1524 {
1525 "id": "start",
1526 "title": "Start the Runtime API",
1527 "blocks": [
1528 {
1529 "p": "Use bash or zsh with `curl`, `jq` and `openssl`, and a Codewhale build that supports `app-server --http`. Run all steps in the same terminal so the token, server process id and thread id remain available."
1530 },
1531 {
1532 "note": "The commands on this page exist in the published release; check `codewhale --version` before comparing behavior. Connecting a provider is required for the turn below, and that request uses your provider's normal billing; starting the server and checking `/health` do not send a model request."
1533 },
1534 {
1535 "code": "export CODEWHALE_RUNTIME_TOKEN=\"$(openssl rand -hex 32)\"\ncodewhale app-server --http &\nCODEWHALE_RUNTIME_PID=$!\ncurl --fail --silent --show-error --retry 10 --retry-connrefused --retry-delay 1 http://127.0.0.1:7878/health",
1536 "lang": "Terminal"
1537 },
1538 {
1539 "p": "The health command must return successfully before you continue; inspect the server output if it fails or the port is occupied. Keep the generated token private and send it as `Authorization: Bearer <token>` on every `/v1/*` request."
1540 }
1541 ]
1542 },
1543 {
1544 "id": "turn",
1545 "title": "Send a turn and watch it",
1546 "blocks": [
1547 {
1548 "code": "API=http://127.0.0.1:7878\nauth() { printf 'Authorization: Bearer %s\\n' \"$CODEWHALE_RUNTIME_TOKEN\"; }\n\nTHREAD=$(curl -fsS -X POST \"$API/v1/threads\" -H @<(auth) \\\n -H \"Content-Type: application/json\" -d '{}' | jq -er .id)\n\ncurl -fsS -X POST \"$API/v1/threads/$THREAD/turns\" -H @<(auth) \\\n -H \"Content-Type: application/json\" -d '{\"prompt\": \"Summarize README.md\"}'\n\ncurl -fN \"$API/v1/threads/$THREAD/events?since_seq=0\" -H @<(auth)",
1549 "lang": "Terminal"
1550 },
1551 {
1552 "p": "Check that thread creation returns a nonempty id and the turn request returns an accepted turn; the events stream should then show the turn and its recorded result. Keep the last accepted `seq` for reconnects, handle the terminal `stream.end` frame, and follow the [replay contract](/docs/runtime-reference#ending-and-resuming-a-thread-stream) instead of assuming every disconnect is recoverable. The header reaches curl through a file descriptor so the token stays out of the process list; that form needs bash or zsh and curl 7.55 or newer."
1553 },
1554 {
1555 "rows": [
1556 [
1557 "Stop a turn",
1558 "`POST /v1/threads/{id}/turns/{turn_id}/interrupt`"
1559 ],
1560 [
1561 "Answer an approval",
1562 "`POST /v1/approvals/{approval_id}`"
1563 ],
1564 [
1565 "Steer a running turn",
1566 "`POST /v1/threads/{id}/turns/{turn_id}/steer`"
1567 ],
1568 [
1569 "List saved sessions",
1570 "`GET /v1/sessions`"
1571 ]
1572 ]
1573 },
1574 {
1575 "p": "The [Runtime API reference](/docs/runtime-reference) renders the contract from the repository's main branch, including endpoint tables, request fields, event envelopes and version limits."
1576 }
1577 ]
1578 },
1579 {
1580 "id": "stop",
1581 "title": "Stop the tutorial server",
1582 "blocks": [
1583 {
1584 "p": "Press Ctrl+C to close the event stream, then stop the server you started in this terminal. Closing the stream alone does not stop the server or interrupt an active model turn; use the interrupt endpoint above if needed."
1585 },
1586 {
1587 "code": "kill \"$CODEWHALE_RUNTIME_PID\"\nunset CODEWHALE_RUNTIME_TOKEN CODEWHALE_RUNTIME_PID",
1588 "lang": "Terminal"
1589 }
1590 ]
1591 },
1592 {
1593 "id": "other",
1594 "title": "Pick another connection",
1595 "blocks": [
1596 {
1597 "rows": [
1598 [
1599 "codewhale app-server --stdio",
1600 "JSON-RPC over standard input and output, with no network listener. Good for an SDK or a local probe."
1601 ],
1602 [
1603 "codewhale serve --acp",
1604 "Agent Client Protocol for editors such as Zed."
1605 ],
1606 [
1607 "codewhale serve --mcp",
1608 "Offer Codewhale's tools to another MCP client. See [Connect tools with MCP](/docs/mcp)."
1609 ],
1610 [
1611 "codewhale web",
1612 "The built-in [browser client](/docs/web), on the same API."
1613 ],
1614 [
1615 "codewhale doctor --json",
1616 "Health and capabilities as JSON, with no secrets."
1617 ]
1618 ],
1619 "codeTerms": true
1620 }
1621 ]
1622 },
1623 {
1624 "id": "security",
1625 "title": "Keep it private",
1626 "blocks": [
1627 {
1628 "list": [
1629 "The server listens on `127.0.0.1` by default. The token is a local guard, not a replacement for TLS or a VPN; do not expose the port to a network.",
1630 "`--insecure-no-auth` is accepted only on a loopback address.",
1631 "The API never returns your provider keys. Health and capability reports carry only metadata — no secrets, file contents, or messages."
1632 ]
1633 }
1634 ]
1635 }
1636 ],
1637 "next": [
1638 {
1639 "href": "/docs/runtime-reference",
1640 "label": "Read the Runtime API reference",
1641 "note": "Find exact routes, fields, event schemas and compatibility behavior."
1642 },
1643 {
1644 "href": "/docs/web",
1645 "label": "Open the browser client",
1646 "note": "A ready-made client for the same API."
1647 },
1648 {
1649 "href": "/docs/hooks",
1650 "label": "Run commands on events",
1651 "note": "React to session events without writing a client."
1652 },
1653 {
1654 "href": "/docs/fleet",
1655 "label": "Run a workflow",
1656 "note": "Durable, multi-step runs you can check from any terminal."
1657 }
1658 ],
1659 "sourceNote": "Source document: docs/RUNTIME_API.md · Update docs-map.ts when changing."
1660 },
1661 "docs-sandbox": {
1662 "metaTitle": "Limit what commands can touch · Codewhale Docs",
1663 "metaDescription": "See which operating-system sandbox wraps shell commands on macOS, Linux, and Windows, turn it on where it is optional, and choose how much a command may write.",
1664 "bodyClassName": "text-ink-soft leading-relaxed",
1665 "title": "Limit what commands can touch",
1666 "lede": "Approving a command decides whether it runs. A sandbox decides what it can reach once it does. Codewhale uses the operating system's sandbox where one is available and tells you plainly when there is none.",
1667 "sections": [
1668 {
1669 "id": "execution-policy",
1670 "title": "Inspect execution policy rules",
1671 "blocks": [
1672 {
1673 "code": "/permissions",
1674 "lang": "Codewhale"
1675 },
1676 {
1677 "p": "Typed permissions select User, Agent and BuiltinDefault rules in that order. Within one source layer, deny wins over ask and allow; specificity breaks ties."
1678 },
1679 {
1680 "p": "Hard denied command prefixes cannot be overridden by a typed allow. An allow never removes later safety checks, repository restrictions or sandbox limits."
1681 },
1682 {
1683 "p": "[Read the authorization order and matching rules](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/AUTHORIZATION_ORDER.md)"
1684 }
1685 ]
1686 },
1687 {
1688 "id": "platforms",
1689 "title": "Check what your platform provides",
1690 "blocks": [
1691 {
1692 "rows": [
1693 [
1694 "macOS",
1695 "Seatbelt, automatically, when its startup check succeeds. Commands get broad read access, writes limited by the sandbox mode, and network only when the mode allows it."
1696 ],
1697 [
1698 "Linux",
1699 "Bubblewrap, automatically, once it is installed and verified working (opt out below). Without it, commands run with no OS sandbox, and Codewhale shows the workspace limit as unenforced."
1700 ],
1701 [
1702 "Windows",
1703 "No OS sandbox. Codewhale shows the workspace limit as unenforced, and your approval setting and Windows permissions still apply."
1704 ],
1705 [
1706 "External service",
1707 "With `sandbox_backend = \"opensandbox\"`, shell commands run on an OpenSandbox-compatible service you configure; its isolation is that service's to guarantee."
1708 ]
1709 ]
1710 },
1711 {
1712 "p": "Ask Codewhale which one it found:"
1713 },
1714 {
1715 "code": "codewhale doctor\ncodewhale setup --status",
1716 "lang": "Terminal"
1717 },
1718 {
1719 "p": "Both report the sandbox that is actually available after your settings are applied. Codewhale never counts source code that is not wired in as a sandbox."
1720 }
1721 ]
1722 },
1723 {
1724 "id": "linux",
1725 "title": "Enable (or turn off) the Linux sandbox",
1726 "blocks": [
1727 {
1728 "p": "Install bubblewrap — Codewhale uses it by default. To run Linux commands unwrapped instead, opt out with one line in `~/.codewhale/config.toml`:"
1729 },
1730 {
1731 "code": "sudo apt install bubblewrap",
1732 "lang": "Debian / Ubuntu — Terminal"
1733 },
1734 {
1735 "code": "prefer_bwrap = false",
1736 "lang": "~/.codewhale/config.toml — optional opt-out"
1737 },
1738 {
1739 "p": "Codewhale uses `/usr/bin/bwrap` only when that file exists, is executable, and a probe shows it can create its sandbox namespaces — an installed-but-blocked bwrap is treated as absent, not used. Commands then see a read-only view of the system, write only where the sandbox mode allows, and have no network unless the mode enables it."
1740 }
1741 ]
1742 },
1743 {
1744 "id": "mode",
1745 "title": "Choose how much a command may write",
1746 "blocks": [
1747 {
1748 "code": "sandbox_mode = \"workspace-write\"",
1749 "lang": "config.toml"
1750 },
1751 {
1752 "rows": [
1753 [
1754 "read-only",
1755 "Commands can read but not write."
1756 ],
1757 [
1758 "workspace-write",
1759 "Commands can write inside the workspace and temporary folders, and nowhere else."
1760 ],
1761 [
1762 "danger-full-access",
1763 "No OS sandbox. Use only on a machine or container you are prepared to lose."
1764 ],
1765 [
1766 "external-sandbox",
1767 "You are already running inside isolation, so Codewhale adds none of its own."
1768 ]
1769 ],
1770 "codeTerms": true
1771 },
1772 {
1773 "p": "The first two are enforced only where a sandbox is available — on Linux without bubblewrap, and on Windows, they are settings without an OS wrapper behind them. A repository's own config can make the mode stricter, never looser. For one headless run, pass `--sandbox <mode>` before the prompt to `codewhale exec`. By default, `--auto` enables Full Access: tools run without asking, shell commands have no Codewhale sandbox, and trust mode lets file tools write outside the workspace. Any `--sandbox` other than `danger-full-access` (or the equivalent `sandbox_mode` in config) keeps trust mode off. Use `--sandbox workspace-write` for the shell sandbox, where available, and file-tool workspace restrictions; `external-sandbox` relies on your own isolation."
1774 }
1775 ]
1776 },
1777 {
1778 "id": "limits",
1779 "title": "Know the limits",
1780 "blocks": [
1781 {
1782 "list": [
1783 "Availability is checked before a command starts, but the sandbox can still fail at launch because of host policy or container restrictions.",
1784 "A “Permission denied” from a command is not proof that the sandbox blocked it. Codewhale labels a denial as the sandbox's only when the sandbox itself reported it.",
1785 "No sandbox protects against kernel vulnerabilities or every kind of resource exhaustion."
1786 ]
1787 }
1788 ]
1789 }
1790 ],
1791 "next": [
1792 {
1793 "href": "/docs/modes",
1794 "label": "Set modes and approvals",
1795 "note": "Decide which commands stop for your approval."
1796 },
1797 {
1798 "href": "/docs/trust",
1799 "label": "See what leaves your machine",
1800 "note": "What a provider receives, what stays local, and what telemetry sends."
1801 },
1802 {
1803 "href": "/docs/configuration",
1804 "label": "Change settings",
1805 "note": "Where these keys live and what a repository may override."
1806 }
1807 ],
1808 "sourceNote": "Source documents: docs/SANDBOX.md, docs/CONFIGURATION.md · Update docs-map.ts when changing."
1809 },
1810 "docs-subagents": {
1811 "metaTitle": "Run agents in parallel · Codewhale Docs",
1812 "metaDescription": "Let Codewhale hand independent parts of a task to sub-agents, choose their roles, keep their edits in separate worktrees, and watch them work.",
1813 "bodyClassName": "text-ink-soft leading-relaxed",
1814 "title": "Run agents in parallel",
1815 "lede": "Codewhale can hand a focused piece of work to a sub-agent and keep going while it runs. Use this when a task splits into independent parts — mapping a codebase, reviewing a change, running tests — so they happen at the same time.",
1816 "sections": [
1817 {
1818 "id": "ask",
1819 "title": "Ask for it",
1820 "blocks": [
1821 {
1822 "p": "In Work, ask Codewhale in plain words to delegate independent parts of a task. Say what you want split up:"
1823 },
1824 {
1825 "code": "Use three explore agents in parallel: one maps the auth code,\none maps the billing code, one lists the tests that cover both.\nThen summarize what would break if we changed the session format.",
1826 "lang": "Prompt"
1827 },
1828 {
1829 "p": "Each sub-agent starts in the background and reports back when it finishes. Your composer stays free, and the parent turn picks up the results."
1830 }
1831 ]
1832 },
1833 {
1834 "id": "roles",
1835 "title": "Pick a role",
1836 "blocks": [
1837 {
1838 "p": "A role is the stance a sub-agent takes. Name one in your request, or let Codewhale choose. A sub-agent never gets more permission than your session has."
1839 },
1840 {
1841 "rows": [
1842 [
1843 "general",
1844 "Does whatever the brief says; may edit and run commands. The default."
1845 ],
1846 [
1847 "explore",
1848 "Read-only. Maps the relevant code fast — “find every caller of this function.”"
1849 ],
1850 [
1851 "planner",
1852 "Designs an approach without changing anything."
1853 ],
1854 [
1855 "reviewer",
1856 "Reads and grades a change, with a severity for each finding."
1857 ],
1858 [
1859 "implement",
1860 "Lands one specific change with the smallest edit."
1861 ],
1862 [
1863 "test",
1864 "Runs tests and checks, then reports pass or fail. Does not edit code."
1865 ],
1866 [
1867 "advisor",
1868 "Short, careful second opinion on a judgment call. No commands."
1869 ],
1870 [
1871 "custom",
1872 "Only the tools you list, for tightly limited jobs."
1873 ]
1874 ],
1875 "codeTerms": true
1876 },
1877 {
1878 "p": "To give a role a specific model every time, save it with `/fleet setup` — see [Run a workflow](/docs/fleet)."
1879 }
1880 ]
1881 },
1882 {
1883 "id": "worktrees",
1884 "title": "Keep parallel edits apart",
1885 "blocks": [
1886 {
1887 "p": "When two sub-agents would edit the same repository, ask for each to work in its own worktree. Codewhale creates a fresh git worktree and branch for that agent beside your repository, under `.codewhale-worktrees/`, so your checkout stays clean until you merge."
1888 },
1889 {
1890 "p": "A worktree is isolation, not permission: a writer still needs a writing role and the paths it may change. When a new write claim overlaps an active claim in the same checkout, the host refuses the new claimant; it does not rewind or pause the existing writer."
1891 }
1892 ]
1893 },
1894 {
1895 "id": "watch",
1896 "title": "Watch and answer them",
1897 "blocks": [
1898 {
1899 "code": "/subagents",
1900 "lang": "Codewhale"
1901 },
1902 {
1903 "p": "`/subagents` (the same view as `/fleet workers`) lists the agents attached to this session and what each one is doing. Select one to read its transcript."
1904 },
1905 {
1906 "p": "Sub-agents follow your [approval setting](/docs/modes) and may be more restricted. In Ask, a call that needs approval appears in your session while the agent waits. Auto-Review handles tool approvals through policy and eligible independent review; blocked calls or failed reviews are refused. Check the child transcript for decisions and refusal reasons. OS and connected-service permissions may still need your action."
1907 }
1908 ]
1909 },
1910 {
1911 "id": "limits",
1912 "title": "Know the limits",
1913 "blocks": [
1914 {
1915 "rows": [
1916 [
1917 "Running at once",
1918 "64 by default. Set `max_subagents` (up to 128) in `~/.codewhale/config.toml`."
1919 ],
1920 [
1921 "Queued plus running",
1922 "Up to 1,024 admitted by default, configurable with `[subagents] max_admitted`. Admitted agents wait for an execution slot; launches beyond the admission limit are refused."
1923 ],
1924 [
1925 "Nesting",
1926 "No default product depth cap. Set `[subagents] max_depth` to an owner-selected limit; child requests cannot widen an inherited restriction."
1927 ]
1928 ]
1929 },
1930 {
1931 "p": "These are capacity controls, not targets. Keep each agent's scope clear. Durable [Fleet runs](/docs/fleet) record work across manager exits, but recovery is explicit: reconcile stale leases, inspect the result, then choose whether to restart a worker. They do not keep executing while your machine is asleep."
1932 }
1933 ]
1934 }
1935 ],
1936 "next": [
1937 {
1938 "href": "/docs/fleet",
1939 "label": "Run a workflow",
1940 "note": "Turn a plan you repeat into a Workflow with phases and a record of each run."
1941 },
1942 {
1943 "href": "/docs/work",
1944 "label": "Track progress",
1945 "note": "How the To-do list shows what is done, in progress, and left."
1946 },
1947 {
1948 "href": "/docs/review",
1949 "label": "Review what changed",
1950 "note": "Check what the agents changed before you keep it."
1951 }
1952 ],
1953 "sourceNote": "Source documents: docs/SUBAGENTS.md, docs/FLEET.md, docs/MODES.md · Update docs-map.ts when changing."
1954 },
1955 "docs-web": {
1956 "metaTitle": "Open the browser client · Codewhale Docs",
1957 "metaDescription": "Work with Codewhale in a browser tab on your own machine, or continue a running terminal session from the Codewhale web app with /rc.",
1958 "bodyClassName": "text-ink-soft leading-relaxed",
1959 "title": "Open the browser client",
1960 "lede": "Prefer a browser window to a terminal? Codewhale can serve its own client on your machine. It is another view of the same local session — same approvals, same sandbox, no account.",
1961 "sections": [
1962 {
1963 "id": "start",
1964 "title": "Start it",
1965 "blocks": [
1966 {
1967 "p": "Run this from the folder you want Codewhale to work in:"
1968 },
1969 {
1970 "code": "codewhale web\ncodewhale web --port 8788 # if 7878 is taken",
1971 "lang": "Terminal"
1972 },
1973 {
1974 "p": "Codewhale starts a local server at `http://127.0.0.1:7878`, prints a one-time link, and opens it in your default browser. If the browser does not open, use the printed link within ten minutes. Press Ctrl+C in the terminal to stop; the browser session ends with it."
1975 }
1976 ]
1977 },
1978 {
1979 "id": "use",
1980 "title": "Work in the browser",
1981 "blocks": [
1982 {
1983 "p": "The browser client lists and searches your threads, shows the transcript with each tool's result, and has a composer. You can start, steer, or interrupt a turn, answer approvals, and rename or archive threads. Your provider keys stay in Codewhale; nothing is copied into browser storage."
1984 }
1985 ]
1986 },
1987 {
1988 "id": "local",
1989 "title": "Keep it local",
1990 "blocks": [
1991 {
1992 "list": [
1993 "The server only listens on `127.0.0.1`. There is no option to open it to your network, and it cannot run without authentication.",
1994 "The link carries a single-use code, not your access token. Opening it swaps the code for a cookie tied to this process, and the code stops working.",
1995 "Do not forward the port through a router, a public proxy, or a tunnel. For a phone or another machine, see the [Runtime API](/docs/runtime-api) and read its authentication rules first."
1996 ]
1997 }
1998 ]
1999 },
2000 {
2001 "id": "remote",
2002 "title": "Continue a session from the web app",
2003 "blocks": [
2004 {
2005 "p": "This is different: it hands a session already running in your terminal to the signed-in Codewhale web app, so you can keep going from another device. It needs a [Codewhale account](/docs/auth#account)."
2006 },
2007 {
2008 "code": "/rc # in the running session; approve the one-time code in your browser\n/rc status # who controls the session now\n/rc link # print the session link\n/rc stop # hand control back to the terminal",
2009 "lang": "Codewhale"
2010 },
2011 {
2012 "p": "While the web app holds the session, new prompts and approvals come from the browser, and the terminal stays readable. Either side can interrupt. You can also start a session this way with `codewhale rc`."
2013 }
2014 ]
2015 },
2016 {
2017 "id": "fix",
2018 "title": "If something goes wrong",
2019 "blocks": [
2020 {
2021 "rows": [
2022 [
2023 "Port in use",
2024 "Pass a free port with `--port`."
2025 ],
2026 [
2027 "Browser did not open",
2028 "Copy the printed link into a browser on the same machine within ten minutes."
2029 ],
2030 [
2031 "Link expired or already used",
2032 "That is expected. Run `codewhale web` again for a new one."
2033 ],
2034 [
2035 "No model answers",
2036 "The web command does not set up providers. Check `codewhale doctor` and `/provider`."
2037 ]
2038 ]
2039 }
2040 ]
2041 }
2042 ],
2043 "next": [
2044 {
2045 "href": "/docs/runtime-api",
2046 "label": "Automate with the Runtime API",
2047 "note": "The local API the browser client is built on."
2048 },
2049 {
2050 "href": "/docs/auth",
2051 "label": "Connect a provider",
2052 "note": "Give the browser client a model to talk to."
2053 },
2054 {
2055 "href": "/docs/modes",
2056 "label": "Set modes and approvals",
2057 "note": "The same approvals apply in the browser."
2058 }
2059 ],
2060 "sourceNote": "Source document: docs/WEB.md · Update docs-map.ts when changing."
2061 },
2062 "docs-auth": {
2063 "metaTitle": "Connect a provider · Codewhale Docs",
2064 "metaDescription": "Give Codewhale a model: save a provider key, check which key is in use, or run a local model with no key. A Codewhale account is optional.",
2065 "bodyClassName": "text-ink-soft leading-relaxed",
2066 "title": "Connect a provider",
2067 "lede": "Codewhale needs a model to answer. Save a key for a hosted provider, or point Codewhale at a model running on your own machine. You pay the provider directly; no Codewhale account is involved.",
2068 "sections": [
2069 {
2070 "id": "save-key",
2071 "title": "Save a provider key",
2072 "blocks": [
2073 {
2074 "p": "Get an API key from your provider, then save it. Codewhale asks for the key and does not echo it. DeepSeek is the default provider, so it is the example here."
2075 },
2076 {
2077 "code": "codewhale auth set --provider deepseek\ncodewhale auth status --provider deepseek",
2078 "lang": "Terminal"
2079 },
2080 {
2081 "p": "`auth status` names the source in use — config file, secret store, or environment variable — and shows only the last four characters. In a script, pipe the key in with `--api-key-stdin` instead of typing it."
2082 },
2083 {
2084 "p": "You can also connect from inside Codewhale: press F3 (or type `/provider`), choose a provider, paste the key, then pick a model."
2085 }
2086 ]
2087 },
2088 {
2089 "id": "which-key",
2090 "title": "Know which key is used",
2091 "blocks": [
2092 {
2093 "p": "When a key is set in more than one place, the first match in this order wins:"
2094 },
2095 {
2096 "steps": [
2097 "`--api-key` on the command line, for one run.",
2098 "`api_key` in `~/.codewhale/config.toml`.",
2099 "The secret store written by `codewhale auth set`.",
2100 "The provider's environment variable, such as `DEEPSEEK_API_KEY`."
2101 ]
2102 },
2103 {
2104 "p": "Exporting a new environment variable therefore does not replace a key you saved earlier. If a rotated key keeps failing, run `auth status` to see which source is active, then save the new key or clear the stored one:"
2105 },
2106 {
2107 "code": "codewhale auth clear --provider deepseek",
2108 "lang": "Terminal"
2109 },
2110 {
2111 "note": "A reported credential source is not proof that a key is accepted by the provider. `doctor --json` is an offline structural report; `doctor --probe-api` explicitly contacts the selected service and may incur provider usage."
2112 },
2113 {
2114 "p": "On Linux the secret store is a private file (mode 0600) under `~/.codewhale/secrets/`, not an OS keyring. `codewhale doctor --probe-api` makes one test call to confirm that the key and the network both work."
2115 }
2116 ]
2117 },
2118 {
2119 "id": "other-providers",
2120 "title": "Use another provider or a local model",
2121 "blocks": [
2122 {
2123 "p": "`codewhale auth list` shows the credential state Codewhale reports for each provider. For an API-key route, use `codewhale auth set --provider <name>` or its documented environment variable; OAuth and local routes have their own setup."
2124 },
2125 {
2126 "p": "Save a key for another hosted provider, then select it and a model:"
2127 },
2128 {
2129 "code": "codewhale auth set --provider anthropic\ncodewhale --provider anthropic --model claude-sonnet-5-5",
2130 "lang": "Terminal"
2131 },
2132 {
2133 "p": "A server you run yourself (vLLM, SGLang, Ollama) needs no API key by default. Connect a loopback endpoint, then select the model tag it serves:"
2134 },
2135 {
2136 "code": "codewhale --provider vllm --model <model-tag>",
2137 "lang": "Terminal"
2138 },
2139 {
2140 "p": "The [models page](/models) lists providers, local setups, and how to switch models mid-session."
2141 }
2142 ]
2143 },
2144 {
2145 "id": "account",
2146 "title": "Codewhale accounts",
2147 "blocks": [
2148 {
2149 "p": "A provider key and a Codewhale account are different things. Local use never needs an account. Codewhale accounts are not open yet, and cloud computers are invite-only. Provider keys stay on your machine with `codewhale auth set`."
2150 },
2151 {
2152 "rows": [
2153 [
2154 "codewhale login",
2155 "Sign in through your browser with a one-time code."
2156 ],
2157 [
2158 "codewhale account status",
2159 "Show which account this profile is signed in to."
2160 ],
2161 [
2162 "codewhale account logout",
2163 "Remove this profile's session."
2164 ]
2165 ],
2166 "codeTerms": true
2167 },
2168 {
2169 "p": "`codewhale login` does not accept provider keys; those always go through `codewhale auth set`. The session is kept in your operating system's credential manager when one is available, and in the private Codewhale secrets file otherwise — for example over SSH or in a container. [Sign in to Codewhale](/docs/account) covers each surface step by step."
2170 }
2171 ]
2172 }
2173 ],
2174 "next": [
2175 {
2176 "href": "/docs/guide",
2177 "label": "Start your first task",
2178 "note": "Open Codewhale in a project and give it something concrete to do."
2179 },
2180 {
2181 "href": "/docs/modes",
2182 "label": "Set modes and approvals",
2183 "note": "Decide whether Codewhale asks before it runs commands."
2184 },
2185 {
2186 "href": "/docs/trust",
2187 "label": "See what leaves your machine",
2188 "note": "What the provider receives, what stays local, and how to turn usage counting off."
2189 }
2190 ],
2191 "sourceNote": "Source documents: docs/INSTALL.md §8, docs/PROVIDERS.md, docs/CODEWHALE_AGENT.md · Update docs-map.ts when changing."
2192 },
2193 "docs-trust": {
2194 "metaTitle": "See what leaves your machine · Codewhale Docs",
2195 "metaDescription": "What stays local, what a model provider receives, what usage counting sends and how to turn it off, where the audit log lives, and how to report a vulnerability.",
2196 "bodyClassName": "text-ink-soft leading-relaxed",
2197 "title": "See what leaves your machine",
2198 "lede": "Codewhale runs on your computer and talks to the model provider you choose. This page lists what goes where, what the anonymous usage count contains, and how to switch it off — as built today.",
2199 "sections": [
2200 {
2201 "id": "preview-request",
2202 "title": "See the request before sending",
2203 "blocks": [
2204 {
2205 "p": "/preview-request shows a redacted manifest of the next primary turn. This human command never sends a request or writes conversation or Work state."
2206 },
2207 {
2208 "code": "/preview-request\n/preview-request json\n/preview-request json --prompt explain this project",
2209 "lang": "Codewhale"
2210 },
2211 {
2212 "note": "Without --prompt, route and body are unavailable. A configured classifier, hooks or pending runtime work can also prevent an exact preview; the manifest states why."
2213 },
2214 {
2215 "p": "[Read the request preview contract](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/PREVIEW_REQUEST.md)"
2216 }
2217 ]
2218 },
2219 {
2220 "id": "boundaries",
2221 "title": "Where your work goes",
2222 "blocks": [
2223 {
2224 "rows": [
2225 [
2226 "Stays on your machine",
2227 "The runtime, your workspace, session history, snapshots, and the audit log."
2228 ],
2229 [
2230 "Goes to your provider",
2231 "The context each turn needs — your messages, the files and tool results Codewhale reads for that turn — goes directly to the provider you selected. There is no Codewhale relay in between."
2232 ],
2233 [
2234 "Stays local entirely",
2235 "With a model you run yourself, inference never leaves your machine."
2236 ],
2237 [
2238 "Needs no account",
2239 "Installing and running Codewhale locally needs no Codewhale account."
2240 ],
2241 [
2242 "Plan mode",
2243 "Cannot edit files or run shell commands. Research it is allowed to do may still contact outside services."
2244 ]
2245 ]
2246 },
2247 {
2248 "p": "Tools you add can send data elsewhere: an MCP server, a web search, or a hook runs with your permissions and reaches whatever it reaches. Add only ones you trust."
2249 }
2250 ]
2251 },
2252 {
2253 "id": "telemetry",
2254 "title": "Know what usage counting sends",
2255 "blocks": [
2256 {
2257 "p": "Codewhale counts anonymous usage by default and says so the first time you launch it, naming Codewhale as the sole first-party collector. Here is exactly what it covers:"
2258 },
2259 {
2260 "rows": [
2261 [
2262 "Never sent",
2263 "Prompts, responses, code, diffs, file contents, file or repository or branch names, paths, model ids outside the bundled public catalog, MCP server names, API keys or tokens, error message text, keystrokes, or any per-turn or per-tool timeline."
2264 ],
2265 [
2266 "Sent while on",
2267 "Version and platform classes, session length and outcome, built-in provider IDs, bundled public-catalog model IDs (custom/private/local models map to \"other\"), aggregate token totals, built-in tool call and error counts, feature and error counts as fixed categories, and a random install id that changes every 90 days."
2268 ],
2269 [
2270 "Where it goes",
2271 "`https://telemetry.codewhale.net/v1/telemetry`, a first-party service whose source is in the repository. It stores no IP address, country, or location, keeps no request logs, and holds raw data for three months; only aggregate daily totals with no install id are kept longer."
2272 ],
2273 [
2274 "First-party only",
2275 "Counts are stored only in Codewhale's Cloudflare Analytics Engine ingest; no third-party analytics processor is used."
2276 ]
2277 ]
2278 }
2279 ]
2280 },
2281 {
2282 "id": "turn-off",
2283 "title": "Turn usage counting off",
2284 "blocks": [
2285 {
2286 "code": "codewhale config set telemetry false # stop, and erase the local id and buffer\nCODEWHALE_TELEMETRY=0 codewhale # stop for this process, erase nothing",
2287 "lang": "Terminal"
2288 },
2289 {
2290 "p": "The config setting is the lasting choice: later versions keep it, and a command-line flag or environment variable cannot turn it back on. You can also switch it in `/settings`. Turning it off deletes what was kept on your machine; rows already sent are keyed only to the random id you just erased, and expire with the three-month window."
2291 },
2292 {
2293 "p": "To see exactly what would be sent without sending anything, set `telemetry_endpoint = \"\"` in `~/.codewhale/config.toml`. Each batch is then written to `$CODEWHALE_HOME/telemetry/dryrun.jsonl` on your machine, byte for byte, and no network connection is made."
2294 }
2295 ]
2296 },
2297 {
2298 "id": "audit",
2299 "title": "Check the local audit log",
2300 "blocks": [
2301 {
2302 "p": "Credential, approval, and elevation events are appended to `$CODEWHALE_HOME/audit.log` (by default `~/.codewhale/audit.log`). Writing is best-effort: if a write fails, the failure is logged rather than hidden. The log never leaves your machine."
2303 }
2304 ]
2305 },
2306 {
2307 "id": "report",
2308 "title": "Report a vulnerability",
2309 "blocks": [
2310 {
2311 "p": "Email security reports to the address below instead of opening a public issue. Include your Codewhale version (`codewhale --version`) and steps to reproduce if you have them."
2312 }
2313 ]
2314 }
2315 ],
2316 "next": [
2317 {
2318 "href": "/docs/sandbox",
2319 "label": "Limit what commands can touch",
2320 "note": "What the operating-system sandbox enforces on each platform."
2321 },
2322 {
2323 "href": "/docs/modes",
2324 "label": "Set modes and approvals",
2325 "note": "Decide what Codewhale may do without asking."
2326 },
2327 {
2328 "href": "/docs/auth",
2329 "label": "Connect a provider",
2330 "note": "Choose who receives your turns — or keep them local with a local model."
2331 }
2332 ],
2333 "sourceNote": "Source documents: docs/public-surface-facts.json (trust), docs/TELEMETRY.md, docs/SANDBOX.md · Update docs-map.ts when changing."
2334 },
2335 "docs-first-time": {
2336 "metaTitle": "Use Codewhale for the first time · Codewhale Docs",
2337 "metaDescription": "Open a terminal, install Codewhale, pick the folder it works in, connect a model and finish a first task, with no terminal experience needed.",
2338 "bodyClassName": "text-ink-soft leading-relaxed",
2339 "title": "Use Codewhale for the first time",
2340 "lede": "This page takes you from opening a terminal for the first time to finishing a small task with Codewhale. It also explains which folder to start in, because that folder decides what Codewhale can change.",
2341 "sections": [
2342 {
2343 "id": "what-you-need",
2344 "title": "Check what you need",
2345 "blocks": [
2346 {
2347 "p": "You need a Mac, a Windows x64 PC or a Linux computer, and an internet connection for the install. To get answers you also need a model: an API key from a hosted provider such as DeepSeek, or a model running on your own computer with Ollama."
2348 },
2349 {
2350 "p": "Codewhale is free and needs no account. A hosted provider bills you directly for what you use, and a model you run yourself needs no key."
2351 }
2352 ]
2353 },
2354 {
2355 "id": "open-terminal",
2356 "title": "Open a terminal",
2357 "blocks": [
2358 {
2359 "p": "A terminal is a window where you type commands instead of clicking. A command runs when you press Return, which is Enter on Windows."
2360 },
2361 {
2362 "rows": [
2363 [
2364 "macOS",
2365 "Press Cmd+Space, type Terminal and press Return."
2366 ],
2367 [
2368 "Windows",
2369 "Open the Start menu, type PowerShell and press Enter."
2370 ],
2371 [
2372 "Linux",
2373 "Open your applications menu and search for Terminal. On Ubuntu, Ctrl+Alt+T opens one."
2374 ]
2375 ]
2376 },
2377 {
2378 "note": "Paste with Cmd+V on a Mac and Ctrl+V on Windows. Most Linux terminals paste with Ctrl+Shift+V."
2379 }
2380 ]
2381 },
2382 {
2383 "id": "install",
2384 "title": "Install Codewhale",
2385 "blocks": [
2386 {
2387 "p": "On a Mac or Linux, paste this command and press Return. It downloads Codewhale, checks the download, and adds Codewhale to your PATH, the list of folders your terminal searches for commands."
2388 },
2389 {
2390 "code": "curl -fsSL https://codewhale.net/install.sh | sh",
2391 "lang": "macOS · Linux"
2392 },
2393 {
2394 "p": "On Windows, paste this command and press Enter:"
2395 },
2396 {
2397 "code": "winget install --id HunterBown.CodeWhale --exact --source winget",
2398 "lang": "Windows"
2399 },
2400 {
2401 "p": "When it finishes, open a new terminal window so it picks up the new PATH. Then check that it worked: a version number means Codewhale is installed."
2402 },
2403 {
2404 "code": "codewhale --version",
2405 "lang": "Terminal"
2406 },
2407 {
2408 "p": "If the terminal says `command not found`, follow [the PATH steps on the install page](/install#install-path)."
2409 }
2410 ]
2411 },
2412 {
2413 "id": "choose-folder",
2414 "title": "Choose the folder to work in",
2415 "blocks": [
2416 {
2417 "p": "Codewhale works in the folder your terminal is in when you start it. That folder is its workspace: Codewhale reads and changes files there, and its file tools cannot reach other folders unless you allow it."
2418 },
2419 {
2420 "p": "On a Mac, an operating-system sandbox also stops its commands from writing outside the workspace, apart from temporary files. Linux gets the same sandbox when bubblewrap is installed. Windows has no such sandbox yet, so Codewhale relies on asking you first."
2421 },
2422 {
2423 "rows": [
2424 [
2425 "A folder for one project",
2426 "The best choice for most work. Codewhale sees only that project, and `/undo` can take back what it changed."
2427 ],
2428 [
2429 "A new, empty folder",
2430 "A good start for something new, such as a website or a script. The next section shows how to make one."
2431 ],
2432 [
2433 "A folder that holds several projects",
2434 "Lets one task read and change files across all of them. Pick the smallest folder that holds everything the task needs; in a very large folder Codewhale turns snapshots off and tells you."
2435 ],
2436 [
2437 "Your home folder, Desktop, Documents or Downloads",
2438 "Codewhale runs there, but `/undo` and snapshots are off in these folders themselves because they are too broad to snapshot safely. A folder inside one of them works normally."
2439 ]
2440 ]
2441 },
2442 {
2443 "note": "Snapshots are Codewhale's own copies of the files it changes. It keeps them in its settings folder, not in your project, and they work without git."
2444 },
2445 {
2446 "p": "To let Codewhale reach one more folder, type `/trust add` and that folder's path in Codewhale. Full Access mode reaches every folder and runs commands without the sandbox, so use it only when you want Codewhale to work across your whole computer."
2447 },
2448 {
2449 "p": "By default, Codewhale makes file edits in a git repository without asking and shows you what changed. In a folder without git, it asks before each edit."
2450 }
2451 ]
2452 },
2453 {
2454 "id": "open-in-folder",
2455 "title": "Open a terminal in that folder",
2456 "blocks": [
2457 {
2458 "rows": [
2459 [
2460 "macOS Finder",
2461 "Control-click the folder and choose Services > New Terminal at Folder. If it is missing, turn it on in System Settings > Keyboard > Keyboard Shortcuts > Services > Files and Folders."
2462 ],
2463 [
2464 "Windows File Explorer",
2465 "Right-click the folder and choose Open in Terminal. On Windows 10, hold Shift while you right-click and choose Open PowerShell window here."
2466 ],
2467 [
2468 "Any terminal",
2469 "Type `cd` and a space, drag the folder from Finder or File Explorer into the window, and press Return."
2470 ],
2471 [
2472 "Without moving",
2473 "Start Codewhale with `-C` and the folder's path, for example `codewhale -C ~/Projects/my-site` on a Mac."
2474 ]
2475 ]
2476 },
2477 {
2478 "p": "These commands find your way around from inside a terminal. They work on a Mac, on Linux and in PowerShell."
2479 },
2480 {
2481 "codeTerms": true,
2482 "rows": [
2483 [
2484 "pwd",
2485 "Shows the folder you are in."
2486 ],
2487 [
2488 "ls",
2489 "Lists what is in it."
2490 ],
2491 [
2492 "cd Documents",
2493 "Moves into the Documents folder inside the current one."
2494 ],
2495 [
2496 "cd ..",
2497 "Moves up one folder."
2498 ],
2499 [
2500 "mkdir my-site",
2501 "Makes a new folder called my-site."
2502 ]
2503 ]
2504 },
2505 {
2506 "note": "Type the first letters of a folder name and press Tab, and the terminal finishes the name for you."
2507 }
2508 ]
2509 },
2510 {
2511 "id": "connect",
2512 "title": "Start Codewhale and connect a model",
2513 "blocks": [
2514 {
2515 "code": "codewhale",
2516 "lang": "Terminal"
2517 },
2518 {
2519 "p": "Codewhale opens a message box right away. When you send your first message, it asks where your model runs: pick a hosted provider and paste its API key, or pick Ollama when it is running on your computer."
2520 },
2521 {
2522 "p": "Keys you enter stay on your computer, in Codewhale's settings folder `~/.codewhale`. Change the provider later with `/provider`."
2523 },
2524 {
2525 "p": "If Codewhale asks whether to work with the instructions and files in this folder, answer yes for a folder you made yourself."
2526 }
2527 ]
2528 },
2529 {
2530 "id": "first-task",
2531 "title": "Give it a first task",
2532 "blocks": [
2533 {
2534 "p": "Type what you want in plain words and press Return. A safe first task changes nothing, for example: `Explain what is in this folder and what each file is for. Do not change anything.`"
2535 },
2536 {
2537 "p": "Then try one that makes a file, for example: `Make a file called packing-list.md with a packing list for a weekend trip.`"
2538 },
2539 {
2540 "p": "By default, Codewhale asks before it runs a command that is not read-only. Read what the approval says will run before you allow it."
2541 }
2542 ]
2543 },
2544 {
2545 "id": "stop-undo-quit",
2546 "title": "Stop, undo and quit",
2547 "blocks": [
2548 {
2549 "codeTerms": true,
2550 "rows": [
2551 [
2552 "Esc",
2553 "Stops the task that is running. Ctrl+C does the same."
2554 ],
2555 [
2556 "/undo",
2557 "Takes back your last request and the file changes it made."
2558 ],
2559 [
2560 "/diff",
2561 "Shows what changed in this folder."
2562 ],
2563 [
2564 "/receipts",
2565 "Lists what Codewhale did: files, commands and approvals."
2566 ],
2567 [
2568 "/exit",
2569 "Quits Codewhale. Ctrl+D also quits when the message box is empty."
2570 ],
2571 [
2572 "codewhale --continue",
2573 "Run it in the same folder to pick up your last conversation there."
2574 ]
2575 ]
2576 }
2577 ]
2578 },
2579 {
2580 "id": "help",
2581 "title": "Get help",
2582 "blocks": [
2583 {
2584 "p": "Type `/help` in Codewhale to list its commands. [Ask in the Codewhale Discord](https://discord.gg/37gfS3ksug), or read [what to do when something goes wrong](/docs/troubleshooting)."
2585 }
2586 ]
2587 }
2588 ],
2589 "next": [
2590 {
2591 "href": "/docs/guide",
2592 "label": "Start your first task",
2593 "note": "More first prompts and how to check the answer."
2594 },
2595 {
2596 "href": "/docs/auth",
2597 "label": "Connect a provider",
2598 "note": "Save a key, check which key is used, or run a local model."
2599 },
2600 {
2601 "href": "/docs/modes",
2602 "label": "Set modes and approvals",
2603 "note": "Decide which commands and edits stop for your approval."
2604 }
2605 ],
2606 "sourceNote": "Source documents: docs/GUIDE.md, docs/INSTALL.md, docs/MODES.md, docs/SANDBOX.md, docs/KEYBINDINGS.md · Update docs-map.ts when changing."
2607 },
2608 "states": {
2609 "loadingLabel": "Loading…",
2610 "emptyTitle": "Nothing here yet",
2611 "emptyBody": "There are no records to show yet.",
2612 "errorTitle": "This page did not finish loading",
2613 "errorBody": "Something went wrong. Try again, or report the problem if it continues.",
2614 "retry": "Try again",
2615 "reload": "Reload the page",
2616 "homeLink": "Back to the home page",
2617 "docsIndexLink": "Open the documentation index",
2618 "notFoundTitle": "Typo in the URL?",
2619 "notFoundBody": "This page doesn’t exist yet.\nNeither does this game.",
2620 "notFoundHomeLink": "Return to base",
2621 "notFoundPosterAlt": "A blue whale in tactical gear on the fictional Codwhale: Modern Whalefare game poster.",
2622 "unavailableTitle": "The live record has not loaded",
2623 "unavailableBody": "The latest information is unavailable. Try refreshing this page.",
2624 "offlineTitle": "You are offline",
2625 "offlineBody": "Actions are paused until the connection returns. Nothing shown here is refreshing.",
2626 "reconnectingTitle": "Reconnecting…",
2627 "reconnectingBody": "Checking the connection (attempt {attempt}).",
2628 "degradedTitle": "The connection is unstable",
2629 "degradedBody": "The server did not answer the last check. What you see may be stale.",
2630 "onlineTitle": "Back online",
2631 "onlineBody": "The connection is restored.",
2632 "retryNow": "Retry now",
2633 "dismiss": "Dismiss",
2634 "lastChecked": "Last checked {time}"
2635 },
2636 "changelog": {
2637 "metaTitle": "Changelog · Codewhale",
2638 "metaDescription": "Release notes for Codewhale and its Computer Use plugin, with published versions and upcoming changes.",
2639 "kicker": "Release record",
2640 "title": "What changed, and in which version.",
2641 "lead": "Published releases and upcoming changes.",
2642 "publishedLabel": "Latest published release",
2643 "publishedValue": "{tag} · published {date}",
2644 "candidateLabel": "Source candidate",
2645 "candidateValue": "{version} · unreleased",
2646 "candidateMatches": "{version} · matches the published release",
2647 "releasesLink": "GitHub Releases ↗",
2648 "unreleasedHeading": "Unreleased",
2649 "unreleasedNote": "Changes merged to the main branch since the last tag. They are part of the source candidate, not of any published package.",
2650 "compareLink": "Compare on GitHub ↗",
2651 "releasePageLink": "Release page ↗",
2652 "moreEntries": "{shown} of {total} entries shown",
2653 "fullNotes": "Full notes in CHANGELOG.md ↗",
2654 "releaseNotesLink": "Full notes for {version} ↗",
2655 "emptyTitle": "No release notes were derived",
2656 "emptyBody": "The build did not find a parsable CHANGELOG.md. The GitHub release list is still the record.",
2657 "versionMetaTitle": "Codewhale {version} release notes",
2658 "versionMetaDescription": "Every change in Codewhale {version}, section by section, drawn from CHANGELOG.md in the repository.",
2659 "versionKicker": "Release notes",
2660 "versionLead": "Released {date}. Every entry for this version, drawn from the repository's CHANGELOG.md.",
2661 "versionLeadUndated": "Every entry for this version, drawn from the repository's CHANGELOG.md.",
2662 "allReleasesLink": "All releases"
2663 },
2664 "computer-use": {
2665 "metaTitle": "Computer Use · Mac beta · Codewhale",
2666 "metaDescription": "Let an agent work in Mac apps while you keep using your computer. Download the notarized Computer Use helper and connect a compatible MCP host.",
2667 "title": "Computer Use",
2668 "lead": "Let your agent work in Mac apps while you keep using your computer.",
2669 "publisher": "By Codewhale",
2670 "download": "Download for Mac",
2671 "downloadZip": "ZIP archive (used by the in-app updater)",
2672 "requirements": "macOS 13.5 or later · Apple silicon and Intel",
2673 "included": "The Mac helper includes its runtime. Connect it to Computer Use in your MCP host; host setup is separate.",
2674 "pendingTitle": "Mac download in preparation",
2675 "pendingBody": "The public installer will appear here after Apple notarization and release checks are complete.",
2676 "unavailableTitle": "Download availability could not be checked",
2677 "unavailableBody": "Refresh this page to try again, or check the published releases below.",
2678 "releases": "Published releases",
2679 "receipt": "Download verification details",
2680 "setup": "Set up your Mac",
2681 "steps": [
2682 {
2683 "title": "Install the app",
2684 "body": "Open the disk image and drag Codewhale Computer Use into Applications. Open it from Applications, then choose Computer Use from the whale icon in your menu bar."
2685 },
2686 {
2687 "title": "Review permissions",
2688 "body": "Use the setup buttons to open Accessibility and Screen Recording in System Settings. You choose which permissions to grant."
2689 },
2690 {
2691 "title": "Connect your agent",
2692 "body": "Choose the Codewhale setup below for your CLI version. Other compatible MCP hosts use the repository setup guide."
2693 }
2694 ],
2695 "controlsTitle": "Stay in control",
2696 "controlsBody": "After you grant the macOS permissions, standard mode works without per-app prompts. Apps you deny stay off limits; Pause suspends computer use and Stop computer use ends current sessions. Strict approval is optional. Request a live preview when you want to watch.",
2697 "updateTitle": "Updates when you choose",
2698 "updateBody": "Choose Check for updates from the app. Before installing an update, it checks the download, Codewhale signature, and Apple notarization, and keeps the previous app for recovery.",
2699 "help": "Setup and troubleshooting",
2700 "notes": "Release notes",
2701 "demo": "See the background check",
2702 "source": "View on GitHub",
2703 "platforms": "The Mac helper is a beta, and the marketplace plugin supports Mac. Published releases also include an unsigned experimental Windows x64 preview; Linux requires experimental source or Docker setup. Windows and Linux input uses the shared desktop.",
2704 "connectTitle": "Connect Codewhale",
2705 "connectVersion": "Codewhale 0.10.2 includes an older Computer Use plugin. Installing the catalog entry does not upgrade it. Use the installed Mac helper directly over MCP.",
2706 "connectLimit": "Direct MCP adds tools without plugin skills. Do not use it alongside the older built-in plugin. If that plugin is enabled, run /plugin disable computer-use first.",
2707 "connectRuntime": "The app includes Node; no separate Node install is needed. If installed elsewhere, set APP to the actual app bundle path.",
2708 "connectReload": "In a running terminal session, run /mcp reload and ask:",
2709 "connectPrompt": "Check Computer Use permissions with request_access. Do not send input.",
2710 "connectExpected": "Check for via: app, the helper version and any missing permissions. If the helper is missing, stop and follow the setup hint. This checks the connection and permissions only.",
2711 "connectGuide": "MCP setup guide",
2712 "contributeTitle": "Help improve Computer Use",
2713 "contributeBody": "Improve the docs or test an app workflow and share reproducible results.",
2714 "contributeGuide": "Contribution guide",
2715 "contributeIssue": "Report an issue"
2716 }
2717 }
2718
2718 lines JSON