Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
4867a12
docs: add public community and release guides
Obed0101 Jun 13, 2026
5436921
ci: harden release supply chain gates
Obed0101 Jun 13, 2026
2e0ae10
docs: expand MendCode customization guide (#69)
Obed0101 Jun 13, 2026
ad9d4cd
docs: show mascot only in README header (#71)
Obed0101 Jun 13, 2026
1758ed5
docs: remove README mascot header (#74)
Obed0101 Jun 13, 2026
6b0e0b8
fix: show MendCode version on welcome
Obed0101 Jun 13, 2026
5c5e907
fix: align MendCode version and CLI name (#76)
Obed0101 Jun 13, 2026
60ca445
chore: sync main back to dev (#79)
Obed0101 Jun 13, 2026
b1da5d7
docs: add MendCode release flow skill (#81)
Obed0101 Jun 13, 2026
120c218
Add Agent View welcome date context (#80)
Obed0101 Jun 13, 2026
bfa5fd4
[codex] Backport OpenCode terminal and SDK fixes (#83)
Obed0101 Jun 13, 2026
f319f37
fix: prepare v0.1.4 compaction and prompt fixes (#85)
Obed0101 Jun 13, 2026
a745852
Backport OpenCode runtime updates for v0.1.5 (#88)
Obed0101 Jun 13, 2026
4923808
fix: release v0.1.6 memory injection (#91)
Obed0101 Jun 14, 2026
f58608f
feat: add usage insights dashboard (#95)
Obed0101 Jun 14, 2026
2d06971
fix: release v0.1.7 setup memory UX (#98)
Obed0101 Jun 14, 2026
3026de0
fix: complete v0.1.7 memory and docs (#100)
Obed0101 Jun 14, 2026
da84090
fix: release v0.1.8 stats cache and installer
Obed0101 Jun 14, 2026
14ce846
fix: simplify public cli and compaction resume (#107)
Obed0101 Jun 14, 2026
0096300
docs: add v0.1.9 changelog (#110)
Obed0101 Jun 14, 2026
37fa1cc
feat: prepare v0.1.10 tui and memory updates (#112)
Obed0101 Jun 15, 2026
cb0d14b
fix: prepare v0.1.11 tui and mflow updates (#115)
Obed0101 Jun 15, 2026
8f50f67
feat: prepare v0.1.12 rendering and installer updates (#118)
Obed0101 Jun 16, 2026
81543d6
chore: unblock v0.1.12 release dependencies (#122)
Obed0101 Jun 16, 2026
5a64c04
feat: prepare v0.1.13 release
Obed0101 Jun 16, 2026
20c6c6c
fix: update hono for v0.1.13 release
Obed0101 Jun 16, 2026
3cf5668
feat: prepare v0.1.14 package registry release (#132)
Obed0101 Jun 17, 2026
fb18a00
fix: update protobufjs for v0.1.14 release (#136)
Obed0101 Jun 17, 2026
741eedc
release: prepare v0.1.15
Obed0101 Jun 20, 2026
ff6b51c
fix: sync release dependency gates to dev
Obed0101 Jun 20, 2026
6ef1f04
fix: sync final OSV versions to dev
Obed0101 Jun 20, 2026
e8e9a86
fix: allow urgent OSV release versions through age gate (#145) (#146)
Obed0101 Jun 20, 2026
1bde962
Add Usage Insights screenshot (#147)
Obed0101 Jun 20, 2026
1eb370a
docs: sync v0.1.15 summary to dev (#149)
Obed0101 Jun 20, 2026
9b495a0
docs: expand memory center side agent guidance (#150)
Obed0101 Jun 20, 2026
e184095
fix: apply dream schedule proposals (#152)
Obed0101 Jun 20, 2026
e842d8f
docs: update website domain (#155)
Obed0101 Jun 20, 2026
96cb067
docs: remove personal release examples (#158)
Obed0101 Jun 20, 2026
eb8cab2
feat: add loop workflows and changes review
Obed0101 Jun 23, 2026
4c9a564
docs: add workflow screenshots (#163)
Obed0101 Jun 23, 2026
09a9f8a
fix: harden loop workflows (#165)
Obed0101 Jun 23, 2026
825d9b3
fix: keep loops cursor out of detail rows (#168)
Obed0101 Jun 24, 2026
d8a3920
fix: remove loops dashboard cursor sink (#171)
Obed0101 Jun 24, 2026
650323f
feat(loop): add goal budgets and optimize release ci
Obed0101 Jun 24, 2026
58eadd8
release: prepare v0.1.19 (#176)
Obed0101 Jun 26, 2026
9f49990
release: prepare v0.1.20 (#179)
Obed0101 Jul 27, 2026
69b7761
docs(readme): move branding to top and bottom (#181)
Obed0101 Jul 27, 2026
d30f242
fix: harden release dependencies and binary patches (#184)
Obed0101 Jul 28, 2026
0f99ed8
fix: update release dependency pins (#187)
Obed0101 Jul 28, 2026
47f40d6
docs: sync v0.1.20 changelog metadata (#189)
Obed0101 Jul 28, 2026
c7b27e7
feat: consolidate v0.1.20 TUI and runtime updates
Obed0101 Jul 28, 2026
6ace97a
fix: prevent hidden prompt leakage during questions (#194)
Obed0101 Jul 28, 2026
963afc6
docs: refresh README screenshots
Obed0101 Jul 29, 2026
21ba618
release: prepare v0.1.21
Obed0101 Jul 30, 2026
4e9f59f
fix(upgrade): show patch update notifications by default (#205)
Obed0101 Jul 30, 2026
d4fcff5
sync: carry v0.1.22 release fixes back to dev (#209)
Obed0101 Jul 30, 2026
38d47b5
release: prepare v0.1.23 session reliability update (#210)
Obed0101 Jul 31, 2026
582b0e6
fix(release): validate public help output across platforms (#213)
Obed0101 Jul 31, 2026
0e3abe3
fix(release): make help smoke test platform-independent (#215)
Obed0101 Jul 31, 2026
472e889
fix: harden runtime cleanup and session state (#218)
Obed0101 Aug 1, 2026
3743231
fix: repair compacted session cancellation state (#221)
Obed0101 Aug 1, 2026
5a9c608
fix(upgrade): make in-app updates transport-independent (#224)
Obed0101 Aug 2, 2026
e978f36
release: prepare v0.1.27 TUI reliability update (#226)
Obed0101 Aug 2, 2026
42386a5
feat: add durable workflows and harden background lifecycle (#230)
Obed0101 Aug 4, 2026
1d84441
fix: patch vulnerable release dependencies (#232)
Obed0101 Aug 4, 2026
df86414
fix(installer): skip setup prompt without TTY (#235)
Obed0101 Aug 4, 2026
4135338
fix(installer): make Windows downloads resilient
Obed0101 Aug 4, 2026
18ce846
release: prepare v0.1.29 Windows installer fixes
Obed0101 Aug 4, 2026
005bedf
release: prepare v0.1.30 runtime reliability update (#241)
Obed0101 Aug 5, 2026
0cd8ecf
fix(release): build Windows assets on native architectures (#244)
Obed0101 Aug 5, 2026
2cca2e4
fix(release): harden Windows baseline and long-running TUI state (#246)
Obed0101 Aug 5, 2026
1c371c3
fix(release): finalize v0.1.30 TUI recovery and notes (#249)
Obed0101 Aug 5, 2026
1f3ea62
fix(runtime): harden session and workflow recovery (#252)
Obed0101 Aug 8, 2026
50effea
release: integrate v0.1.30 runtime and TUI improvements (#254)
Obed0101 Aug 18, 2026
fa70a2f
chore(deps): bump dompurify to 3.4.13 (#258)
Obed0101 Aug 18, 2026
a40ca02
fix(deps): synchronize DOMPurify lockfile (#259) (#260)
Obed0101 Aug 18, 2026
7d07d19
fix(deps): patch release dependency vulnerabilities (#261) (#262)
Obed0101 Aug 18, 2026
08a736c
fix: stabilize Mermaid interaction and test isolation (#264)
Obed0101 Aug 18, 2026
5d65f77
release: prepare v0.1.31 Loop and Workflow verification (#266)
Obed0101 Aug 19, 2026
d050452
fix: harden long-running session controls (#269)
Obed0101 Aug 20, 2026
65ee075
fix: ship v0.1.33 reliability hotfix (#271)
Obed0101 Aug 20, 2026
ebe810c
fix: size short reasoning blocks (#274)
Obed0101 Aug 21, 2026
b21289f
fix: preserve v prefix in release names (#277)
Obed0101 Aug 21, 2026
2029d45
release: prepare v0.1.35 (#279)
Obed0101 Aug 22, 2026
d4b4cf1
release: prepare v0.1.36 (#281)
Obed0101 Aug 23, 2026
16e6bee
release: prepare v0.1.37
Obed0101 Aug 24, 2026
57a9f3a
release: prepare v0.1.38 (#288)
Obed0101 Aug 25, 2026
4bf92e3
docs: reorganize navigation and Mermaid fixtures
Obed0101 Aug 25, 2026
a4209c8
promote: docs navigation and Mermaid reference to main
Obed0101 Aug 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 39 additions & 73 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,53 @@

These docs describe the MendCode-owned product surface: the public `mendcode` CLI, `.mendcode/` configuration, setup flow, runtime packages, model roles, prompt modes, memory, permissions, TUI customization, Plan Mode, Changes Review, Loop Workflows, Usage Insights, mflow, optional TSM/worktrees, and release/security policy.

If you are deciding what to show on GitHub or the website, start with [Feature Map](features.md). If you only read one setup page after this index, read [CLI, setup, and configuration](cli-setup-configuration.md). If you are shaping the visual product experience, read [Customization](customization.md).
Use this index by intent. **Use MendCode** explains the public workflow, **Features and pages** describes what the TUI can do, and **Build and maintain** is for packages, extensions, source paths, and releases. The [Source Map](source-map.md) is intentionally separate so normal product docs do not repeat internal `opencode` paths.

## Start Here
## Use MendCode

1. [Feature Map](features.md): the full product inventory for README, website, screenshots, and demos.
2. [CLI, setup, and configuration](cli-setup-configuration.md): install/open commands, setup state, config paths, focus profiles, model roles, prompt modes (including named project-local `custom.md` context), budget posture, permissions, and memory.
3. [Customization](customization.md): prompt input, input marker, prompt status, home centered/split modes, Agent View, ASCII title/mascot, activity states, and team profile examples.
4. [Custom tool calls](custom-tool-calls.md): project-local and package-shared assistant tools with typed arguments, execution context, metadata, and permission checks.
5. [Plan Mode](plan-mode.md): interactive plan review modal, approve/edit/comment/reject flow, Mermaid support, and post-approval implementation handoff.
6. [Mermaid ASCII rendering](mermaid-ascii-rendering.md): chat canvas controls, fit and pan behavior, supported diagram families, stress fixtures, and exact expected ASCII output.
7. [Changes Review](changes-review.md): `/changes` diff workspace, keybinds, comments, responsive layout, and agent-visible review context.
8. [Loop Workflows](loop-workflows.md): verified goals, recurring scheduled jobs, bounded runs, Agent View loop roots, `/loop` creation, `/loops` supervision with live countdowns, durable permission waits, execution modes, and the per-project OS scheduler.
9. [Memory Center](memory-center.md): saved memories, proposals, categories, Dream status, project grouping, and the constrained memory side agent for questions, explanations, and draft proposals.
10. [Usage Insights](usage-insights.md): global/project activity dashboard, token heatmap, AI time, top tools/agents/models, cache behavior, and weather.
11. [Packages and team sharing](packages-and-team-sharing.md): package commands, agents, modes, skills, prompts, MCP files, widgets, TUI profiles, model policy, permissions, memory, and worktree policy for teams.
12. [Automation runtime](automation-runtime.md): session automation commands, versioned JSON envelopes, shared model selection, progress inspection, events, waiting, and cancellation.
- [CLI, setup, and configuration](cli-setup-configuration.md): install/open commands, setup state, config paths, focus profiles, model roles, prompt modes, permissions, and memory.
- [Session history](session-history.md): browse, inspect, and resume previous sessions.
- [Automation runtime](automation-runtime.md): JSON envelopes, shared model selection, progress inspection, events, waiting, and cancellation.
- [Independent Workflows](workflows.md): one-shot plans, task sequencing, completion evidence, and operator controls.
- [Loop Workflows](loop-workflows.md): verified goals, recurring jobs, bounded runs, durable permission waits, and `/loops` supervision.
- [mflow coordination](mflow.md): local-first coordination, relay modes, file locks, and same-worktree editing.
- [TSM and worktrees](tsm-and-worktrees.md): optional terminal sessions, worktree routing, registry ownership, and preview-first safety.
- [Packages and team sharing](packages-and-team-sharing.md): share commands, agents, modes, skills, prompts, MCP, widgets, profiles, and policy.

## Configure The Harness
## Features and pages

- [CLI, setup, and configuration](cli-setup-configuration.md): required setup steps, optional setup steps, config files, provider/model roles, prompt modes, permissions, and memory.
- [Package index](package-index.md): source package map and the distinction between npm workspace packages and runtime `.mendcode` packages.
- [Architecture and packages](architecture.md): repo layout, MendCode-owned runtime layer, public command router, package map, and safety model.
- [Provider-aware context continuity](features.md#provider-aware-context-continuity): OAuth Responses Lite continuity, local compaction, and provider-aware limits.
### Product features

## Shape The Terminal
- [Feature Map](features.md): complete inventory of product behavior, shortcuts, slash commands, and demo surfaces.
- [Customization](customization.md): prompt chrome, input marker, status placement, home identity, Agent View, mascot, activity states, and profiles.
- [Mermaid ASCII rendering](mermaid-ascii-rendering.md): terminal-native diagrams, fit/pan controls, local scrolling, supported families, and expanded fixtures.
- [Custom Tool Calls](custom-tool-calls.md): project-local and package-shared tools with typed context and permission checks.
- [TUI Plugins and Widgets](tui-plugins-and-widgets.md): status rows, widgets, slots, commands, dialogs, routes, themes, keybinds, and package distribution.
- [Themes](themes.md): terminal theme reference.

- [Feature Map](features.md): concise inventory of demo-worthy surfaces, shortcuts, slash commands, and feature claims.
- [Customization](customization.md): static TUI profile, prompt chrome, prompt marker, prompt status, home identity, Agent View, mascot/activity behavior, and screenshot guidance.
- [TUI plugins and widgets](tui-plugins-and-widgets.md): dynamic runtime extensions, custom status rows, widgets, slots, command palette entries, slash commands, dialogs, routes, themes, keybinds, and package distribution.
### TUI pages and operator surfaces

## Review, Memory, And Observability
- [Plan Mode](plan-mode.md): review, edit, comment, approve, or reject a plan before implementation.
- [Changes Review](changes-review.md): diff workspace, responsive layout, comments, and agent-visible review context.
- [Loop Workflows](loop-workflows.md): active/history dashboard, phases, runs, permissions, and recovery controls.
- [Memory Center](memory-center.md): saved memories, proposals, categories, Dream status, and constrained side chat.
- [Usage Insights](usage-insights.md): activity scopes, token heatmap, AI time, tools/agents/models, cache behavior, and weather.

- [Plan Mode](plan-mode.md): planning without silent implementation.
- [Changes Review](changes-review.md): working-tree diff review with comments, keybinds, and agent-visible review context.
- [Loop Workflows](loop-workflows.md): verified goals and recurring scheduled jobs with explicit completion, cadence, permission, and safety contracts.
- [Memory Center](memory-center.md): approval-first memory review, Dream maintenance, and constrained side-agent proposals.
- [Usage Insights](usage-insights.md): local usage visibility without overclaiming productivity.
- [Automation runtime](automation-runtime.md): machine-readable session control, progress events, lifecycle waiting, cancellation, and shared model selection.
- [CLI, setup, and configuration](cli-setup-configuration.md#permissions-and-memory): permission modes, smart reviewer role, memory scopes, search/preview, and approval-gated proposals.
## Build and maintain

## Coordinate Local Work
- [Architecture and packages](architecture.md): ownership, runtime boundary, repository layout, package map, and safety model.
- [Package index](package-index.md): workspace packages versus runtime `.mendcode` packages.
- [MendCode Source Map](source-map.md): one maintained map from public features to implementation and test paths.
- [Releasing](releasing.md): installer contract, checksums, release notes, and public installer smoke tests.
- [Changelog](../CHANGELOG.md): versioned behavior changes and regression coverage for recent releases.
- [Supply chain security](supply-chain-security.md): provenance, SBOM, pinned actions, dependency review, and scanner policy.
- [Public readiness audit](public-readiness-audit.md): branch, secret, dependency, legacy-reference, and public-surface checks.

- [mflow coordination](mflow.md): optional local-first coordination, relay modes, file locks, and same-worktree multi-agent editing.
- [TSM and worktrees](tsm-and-worktrees.md): `mendcode --worktree`, `mendcode --tsm`, optional TSM lifecycle, registry ownership, and preview-first worktree safety.
## Community and publication

## Release And Public Readiness

- [Releasing](releasing.md): release assets, installer contract, checksums, release notes, and public installer smoke tests.
- [Supply chain security](supply-chain-security.md): release provenance, SBOM, pinned actions, dependency review, and scanner policy.
- [Public readiness audit](public-readiness-audit.md): current branch, secret, old-repo-reference, and public-surface audit notes.
- [Community](community.md): issues, discussions, PRs, and labels.
- [Wiki](wiki.md): GitHub wiki setup and doc sync.
- [Lineage and acknowledgements](../ACKNOWLEDGEMENTS.md): opencode attribution and MendCode downstream scope.
- [Community](community.md): issues, discussions, pull requests, and labels.
- [Wiki](wiki.md): GitHub wiki structure and synchronization.
- [Lineage and acknowledgements](../ACKNOWLEDGEMENTS.md): upstream attribution and MendCode downstream scope.

## Main Commands

Expand Down Expand Up @@ -112,34 +106,6 @@ Ctrl+X then l -> Session switcher

CLI profile inspection exists for compatibility/debugging, but it is not the normal customization path.

## Source Map

- `src/mendcode/packages/opencode/src/mend/cli/public-bin.ts`: public `mendcode` command router.
- `src/mendcode/packages/opencode/src/mend/config/project.ts`: project config, focus profiles, generated runtime config, package metadata.
- `src/mendcode/packages/opencode/src/mend/config/models.ts`: model roles, projection, and shared prompt-model precedence.
- `src/mendcode/packages/opencode/src/cli/cmd/session.ts` and `src/mendcode/packages/opencode/src/cli/automation.ts`: session automation commands and the `mendcode.cli.v1` JSON envelope.
- `src/mendcode/packages/opencode/src/cli/cmd/run.ts` and `src/mendcode/packages/opencode/src/cli/model-selection.ts`: headless streaming and runtime model/agent resolution.
- `src/mendcode/packages/opencode/src/mend/config/permissions.ts`: global permission mode and smart-reviewer role config.
- `src/mendcode/packages/opencode/src/mend/prompt/mode.ts`: prompt modes: `minimal`, `focus`, `full`, and project-local `custom`.
- `src/mendcode/packages/opencode/src/mend/prompt/custom.ts`: bounded, root-safe loader for `.mendcode/prompts/custom.md`.
- `src/mendcode/packages/opencode/src/mend/memory/`: approval-gated memory storage, proposals, retrieval, graph, Dream, side chat, workspaces, and category policy.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/memory/index.tsx`: Memory Center route, category policy, Dream panel, inspector, and constrained memory side agent.
- `src/mendcode/packages/opencode/src/mend/config/mflow.ts`: local-first mflow setup, relay config, edit-lock enforcement.
- `src/mendcode/packages/opencode/src/mend/config/tsm.ts`: optional TSM lifecycle and detection.
- `src/mendcode/packages/opencode/src/mend/config/worktree.ts`: worktree status, dry-run planning, adoption, destructive previews.
- `src/mendcode/packages/opencode/src/mend/runtime/pack.ts`: runtime package snapshots.
- `src/mendcode/packages/opencode/src/mend/runtime/packages.ts`: installed package state and active package projection.
- `src/mendcode/packages/opencode/src/mend/profile.ts`: TUI profile schema and defaults.
- `src/mendcode/packages/opencode/src/tool/plan-review.ts`: Plan Review tool and post-approval agent switch.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/`: Changes Review route, diff loading, comments, responsive renderer, and review state.
- `src/mendcode/packages/opencode/src/tool/review.ts`: assistant-facing review workspace tool.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/loops/`: Loop Workflows dashboard route.
- `src/mendcode/packages/opencode/src/mend/runtime/loop-service.ts`: durable loop service, status, activation, and run state.
- `src/mendcode/packages/opencode/src/session/loop.ts`: loop workflow model and lifecycle.
- `src/mendcode/packages/opencode/src/session/loop-runner.ts`: loop wakeup execution path.
- `src/mendcode/packages/opencode/src/tool/loop.ts`: assistant-facing loop workflow tool.
- `src/mendcode/packages/opencode/src/server/routes/instance/loop.ts` and `src/mendcode/packages/opencode/src/server/routes/instance/httpapi/handlers/loop.ts`: legacy and Effect loop read/control routes.
- `src/mendcode/packages/opencode/src/mend/cli/control-plane.ts` and `src/mendcode/packages/opencode/src/mend/runtime/loop-service.ts`: public loop CLI controls and project OS service lifecycle.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/stats/index.tsx`: Usage Insights TUI route.
- `src/mendcode/packages/opencode/src/provider/claude-code.ts`: local Claude Code CLI provider bridge and validation.
- `src/mendcode/packages/plugin/src/tui.ts`: public TUI plugin/widget types.
## Implementation pointers

The maintained implementation and test paths now live in the dedicated [MendCode Source Map](source-map.md). This index stays focused on the public product documentation.
2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Architecture and Packages

MendCode has a MendCode-owned control plane wrapped around an adapted terminal coding runtime. The public surface is the `mendcode` CLI. The runtime source lives in `src/mendcode/packages/opencode`, but public commands are routed through MendCode modules under `src/mendcode/packages/opencode/src/mend`.
MendCode has a MendCode-owned control plane wrapped around an adapted terminal coding runtime. The public surface is the `mendcode` CLI. The internal runtime package is documented in the [MendCode Source Map](source-map.md#why-some-paths-say-opencode); public commands are routed through MendCode-owned control-plane modules.

## Lineage

Expand Down
24 changes: 3 additions & 21 deletions docs/changes-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,24 +176,6 @@ record. Clearing the active review state clears the cache for that workspace.
Durable review artifacts can be added later if comments need to survive process
restart, sync across terminals, or become part of a PR/review workflow.

## Source Map

- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/index.tsx`:
route shell, loading, key handling, reload, comments, and responsive layout.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/load-diff.ts`:
tracked and untracked diff loading.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/review-state.ts`:
parsed files, diff blocks, lines, selection, stats, and navigation.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/review-comments.ts`:
comment creation, filtering, clearing, and stale-anchor reconciliation.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/review-context.ts`:
bounded assistant summaries and optional selected-file patch access.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/review-actions.ts`:
process-local active review registry, local cache bridge, and imperative
actions.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/changes/renderer-adapter.tsx`:
header, file navigation, diff renderer, inline comments, and keybind bar.
- `src/mendcode/packages/opencode/src/tool/review.ts`: assistant-facing
`review` tool.
- `src/mendcode/packages/opencode/src/session/prompt.ts`: injects
`<mendcode_review_context>` into model turns when a review is active.
## Implementation paths

See [MendCode Source Map — Changes Review](source-map.md#tui-pages-and-product-surfaces) for the route, diff state, comments, renderer, tool, and prompt-context files. Paths are centralized there so this page remains readable for operators.
19 changes: 3 additions & 16 deletions docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,19 +530,6 @@ For a README, website, or creator demo, show these in order:
11. Packages show how a team shares commands, agents, modes, skills, prompts, TUI profile, widgets, permissions, memory defaults, and worktree policy.
12. mflow/TSM/worktree surfaces show parallel workflow coordination.

## Source Map

- `src/mendcode/packages/opencode/src/mend/cli/public-bin.ts`: public `mendcode` command router and help.
- `src/mendcode/packages/opencode/src/config/keybinds.ts`: default keybindings such as `Shift+Tab`, `Tab`, `F2`, and `F3`.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/app.tsx`: command palette entries, slash commands, route registration, and MendCode TUI actions.
- `src/mendcode/packages/opencode/src/mend/profile.ts`: TUI profile schema and defaults.
- `src/mendcode/packages/opencode/src/mend/tui/`: prompt chrome, prompt status, presentation, mascot, and profile actions.
- `src/mendcode/packages/opencode/src/tool/plan-review.ts`: Plan Mode tool and post-approval agent switch.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/session/plan-review.tsx`: Plan Review modal UI.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/stats/index.tsx`: Usage Insights route.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/util/usage-insights.ts`: Usage Insights aggregation.
- `src/mendcode/packages/opencode/src/mend/memory/`: memory config, store, retrieval, proposals, graph, Dream, side chat, workspaces, and category policy.
- `src/mendcode/packages/opencode/src/cli/cmd/tui/routes/memory/index.tsx`: route-level Memory page.
- `src/mendcode/packages/opencode/src/mend/runtime/pack.ts`: runtime package snapshot creation.
- `src/mendcode/packages/opencode/src/mend/runtime/packages.ts`: installed/enabled package projection.
- `src/mendcode/packages/plugin/src/tui.ts`: public TUI plugin/widget type contract.
## Implementation paths

The implementation and test paths for all product surfaces are maintained in the dedicated [MendCode Source Map](source-map.md). This feature page stays focused on behavior and user-visible contracts.
Loading
Loading