b20dbfd8c314387bbd76e742e60733c401c7dbc6
25
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
da7f9b4c5a |
feat(liveshare): open the viewer capabilities a share can serve (#8304)
* feat(liveshare): open reader capabilities the share can serve (cherry picked from commit 3c893b488900fff776a21eebee4eb2d95b878764) * feat(liveshare): let a reader run the session's slash commands (cherry picked from commit ae02bcc0f819e55ebf066de7581d4d89994930a4) * fix(liveshare): allow a reader to list the workspace file references (cherry picked from commit fffaa864b9d790a0aab30da639d5ef50ff8f303c) * fix(liveshare): bind the job endpoints to their session resource (cherry picked from commit 357d1f6efe5b161a4ce1b616e66599c4e75a6ab1) * chore: refresh the Cordis surface catalog (cherry picked from commit 88f88b225f0fcff0a5a88f09b0f555749dd62756) * test(job-controller): read the Session resources the Remote methods declare The job roster, the follow stream, and a kill each declare the request's Session as the resource they touch, and an unowned job's follow names none. Read those declarations off the mounted Controller and pin what they answer. (cherry picked from commit fa3f92427a6bd56ad2a949dc74315505cb75533b) * feat(liveshare): offer a shareable core component to viewers The terminal controller reaches the catalog from a core profile bundle, which the catalog excludes so no application plumbing is offered. Mark such a component shareable: PluginMetadata gains the mark, and the host names the packages that carry it, so a marked core component enters the catalog and every other core component stays out. The terminal namespace leaves the exclusion list for the same reason, and the marked component carries the title its dialog row shows. (cherry picked from commit b0e9e390719aab519fd82cf39c85c60e4f77b588) * fix(liveshare): classify the terminal methods as owner-selected The nine terminal methods leave owner-only for plugin-offered: the owner picks them in the share dialog, no reader role grants one, and a share that names none still refuses every terminal call. (cherry picked from commit 718c1b45a1b01320cbe9be46ece9deca37225fe2) * docs(liveshare): state that terminals open per method Terminals are no longer unconditionally owner-only: the share dialog offers the terminal controller's methods and opens none until the owner picks them. (cherry picked from commit 505c1193571b16431731f69bd5ca1b59a1059a13) * test(liveshare): cover a viewer reaching the Session's terminals The end-to-end case mounts a real terminal controller beside the share host: the catalog offers it as a shareable core component, a share that selects nothing refuses every terminal call, and a selected terminal/create through the reader's own Peer binds the shell to the Session its agentId names. (cherry picked from commit 25955a936dc5b58ebfd8e1d24f495d62d59f7b70) * fix(workspace-files): confine non-owner reads to the session workspace A non-owner Peer now reads and watches files only inside the connected Session workspace. stat, read, readBytes (including baseFile) and changes resolve the target canonically and refuse an outside one with workspace-file/outside-workspace before reporting its kind. Owner and trusted in-process callers keep the filesystem read authority. (cherry picked from commit 7ae855e12ba6c5bc99c7ae75d65d984661f3bbb5) * refactor(workspace-files): name the file access confinement Replace the contain boolean with a named FileConfinement carried by the service, and move the outside-workspace refusal into one helper shared by file reads and watches. No Remote interface or behavior changes. (cherry picked from commit 1c4dbd68220df7c559f84cf2782f9626c5b2ef4b) * refactor(workspace-files): name the path mode PathScope Replace the FileConfinement/confinement vocabulary with PathScope, and rename its module and test. The values and behavior are unchanged. # Conflicts: # packages/api/workspace-files/src/index.ts # packages/api/workspace-files/tsconfig.host.json (cherry picked from commit 5d3f7b31dc6a1dbcf44c5fdd59295402bf40cf76) * refactor(workspace-files): accept several workspace roots in the path check The confinement helper and change feed now take several resolved roots; the current scope still supplies one. WorkspaceFileScope.workspaceRoot remains the primary root, so a future multi-workspace Session can add optional roots without changing endpoint signatures, path arguments, or the client address. (cherry picked from commit 73fd59be92c421c378b7fe5606d8d7c5806b13cb) * fix(workspace-files): keep the multi-root watch check covered Pass the primary watch root separately and iterate the roots list, so the feed keeps full coverage for the multi-root preparation. Add braces to the multi-root test arrow for the lint rule. (cherry picked from commit 1286aac6a6d93e693dbb33f2feaa71e6252424e0) * test(workspace-files): assert a refusal never reports the target kind The outside-workspace failure carries only the path, so a share reader learns nothing about what it was refused. stat, read, readBytes, list, and a relative escape are each asserted not to carry a kind. (cherry picked from commit a9495de0ff63a1aac325d1cb62b8111c188ae8a5) * test(workspace-files): keep the search caps in the shared harness config Rebasing over the search endpoint left configOf() without the search limits the master harness passed inline, so every search call reached the subprocess provider with an undefined graceMs. configOf and peer() now take Caps and supply the suite defaults. (cherry picked from commit 70cecb9b352ce5c1e17482429b1539483e101d60) * docs(workspace-files): describe the read confinement against the search-era structure The master README added the search section and rewrote the file-read checks without a workspace-containment check. Those paragraphs now state which caller the check applies to, the change feed mentions the non-owner watch, and the source map lists path-scope.ts. Bilingual hashes re-recorded with verify-translation-pairing --write. (cherry picked from commit e61fdabaf2fb9b0c0bc507ef5ceea0f213f70683) * fix(liveshare): keep workspaceFiles/search in the reader session-read role The classification table is the single source for POLICY_DECIDED_ACTIONS, so the new search endpoint must also appear in the read role's actions. (cherry picked from commit 665093b07cfee87be105fdc71a7d58fe25974788) * docs(catalog): regenerate the client and config catalogs Removing the viewer share-path tab drops its client slot entry, and the workspace file import shifts the Config source line. (cherry picked from commit 7bb9295a18b011971b4338171a60d16ff82eebd1) * docs(catalog): regenerate the config catalog source line (cherry picked from commit 2d98a59afc8aa6e2a9ac268d4446bcd8cd5eeb26) * fix(liveshare): let share readers preview workspace files The served page keeps the shipped Sidebar and now reads the shared Session workspace through workspaceFiles: stat, read, readBytes, list and changes join the Session read role, while the file service confines every non-owner read to that workspace root. The viewer tab type that answered each file address with "a share hands over paths, not contents" is removed, so the shipped document preview opens the file. Refs #7901 (cherry picked from 5e0ceac3faa)(partial: liveshare files only) * fix(ui-jobs): offer the stop control only with job/kill access (cherry picked from commit 804956ece9c09b2fac6180cd78da7aa7393ae0de) * fix(ui-chat): attribute a reader's steering row while it is pending Chat declared the message-source seat on the user node registration, so an admitted steering row rendered the shared bubble without asking for it and a Host-pending steering occurrence carried no source to ask with. Move the seat to the flow: it renders user rows, admitted steering rows, and pending steering occurrences, and hands the same renderer to each. Liveshare's selector now elects a share-viewer source of either kind, so a reader's interjection states its author from the moment it is sent. (cherry picked from c802aef8392)(partial: liveshare client files only) * docs(liveshare): state when a reader's interjection shows its author A local submission echo carries no source, so the author line appears once the Host records the input in the Inbox, not when the reader sends it. (cherry picked from 42001b1294d)(partial: liveshare client files only) * docs(liveshare): describe the seat source arriving as row props (cherry picked from commit 466e25328c5c42c792bfb30bba05ff790259bf99) * fix(liveshare): refuse /permission to share readers The commands executor runs a command handler inside the owner Host with no reader-specific narrowing, so a reader line such as `/permission danger-full-access` left the shared Session unconfined with no approval. The read role's condition now parses the `commands/execute` line and refuses the owner-only command names, starting with `/permission`, with the new `command-owner-only` reason the viewer page classifies. Every other command keeps following visibility. * feat(permission-presets): add the permissionPresets/set Remote The `/permission` command switches a Session's sandbox mode and approval policy inside the owner Host's own handler, which gives a share reader that reaches `commands/execute` no endpoint decision to meet. The switch now has a Remote face: `permissionPresets/set` names the Session it writes as its `session` resource, so the Gateway decides who may call it before any preset is resolved or any knob changes. The request carries the Session id and the preset name only. An unknown preset and a Session this process does not hold live both refuse with `gateway/bad-request` before writing. The call reports the selection the Session reads back after the switch. The command reaches the same switch, keeping its ordering and its `success` and `error` text. Because a Remote parameter cannot carry an Agent, the command supplies the approval write itself so its model-visible policy notice still follows the switch. Co-Authored-By: DeepSeek Harness <[email protected]> * fix(liveshare): classify permissionPresets/set owner-only The new preset endpoint writes the source Session's sandbox mode and approval policy, so no share reader role may reach it at any tier. The viewer endpoint classification records it as owner-only, and the viewer access policy spec proves a reader is refused on the shared Session, on its own forks, and on a Session outside the share, and that no reader grant carries the action. The owner-only command whitelist stays as the second defense: the commands handler runs inside the owner Host, so a reader line must not depend on that handler continuing to route through the endpoint. Co-Authored-By: DeepSeek Harness <[email protected]> * test(liveshare): keep every permission preset endpoint owner-only The classification table's completeness gate proves a new generated endpoint has a row, but not that the row keeps a reader out. This case reads the table and fails when any `permissionPresets/*` endpoint is classified as anything other than owner-only, so an endpoint added there without its class checked turns the suite red instead of widening a reader's reach. Co-Authored-By: DeepSeek Harness <[email protected]> * docs(catalog): regenerate for the preset set Remote The new `permissionPresets/set` Remote adds its signature and its request type to the generated service and type catalogs, maps the request type to the permission presets subsystem page, and shifts the permission preset config source line. The permission presets subsystem pages describe the write path and its Remote face on both sides. Co-Authored-By: DeepSeek Harness <[email protected]> * test: construct SessionId values and keep the approval notice lock The rebased specs called SessionId as a value while importing it as a type, so every case threw ReferenceError. Construct the ids the way the packages already do, and keep the /permission case that locks the single model-visible approval notice. * test(liveshare): load the terminal controller without a built artifact The spec resolved a generated typert artifact at module load, so a clean checkout failed before any case ran. * docs(liveshare): state the reader limits the review asked about Marks the answer path's dependence on timed asks, records that @ mentions list every host session, and explains which commands stay owner-only. * feat(liveshare): let a viewer manage the goal of a visible Session The goal is Session data, not the workspace sandbox, so the same visibility rule that already covers goals/get and goals/edit applies to create, pause, resume, complete and clear. The /goal command reaches the same service, so the endpoint and the command now agree. # Conflicts: # packages/experimental/liveshare/README.i18n.yaml * fix(liveshare): keep the terminal component titles The shareable mark's localized titles were spread onto the metadata record, which put `en` and `zh` at the top level instead of in the `titles` field the catalog reads. A core bundle without display metadata therefore offered the terminal with no product name at all. * fix(workspace-files): decide the path scope before stat A non-owner read probed the path with `lstat` before it checked containment, so reading an absent path outside the workspace answered `not-found` while an existing one answered `outside-workspace`. That let a share reader probe whether any path on the owner's machine exists. Every confined read now resolves and confines its target first: `read`, `stat`, `readBytes` (including a path relative to a base file) and `list`. The final `lstat` still reports the component's own kind, and the owner keeps the filesystem's authority, including its previous answer for an absent path. * docs(liveshare): drop the queue-verb mention `session/updateQueue` is not in the viewer Session read role, and viewer queue management is not part of this change. The role's rationale now names the reach it actually carries, and the workspace file actions no longer leak whether a path outside the workspace exists. * test(liveshare): describe the terminal suite's actual coverage * chore: regenerate the catalogs the viewer capability change moves session-reference, user-questions and the permission presets all feed the Cordis, persistence and doc-graph generators, so their artifacts were stale. * fix(liveshare): keep the command refusal copy paired and cover the file paths The English notice read "/permission on", which the locale gate tokenised together while the translations kept the command alone. The workspace-file and preset paths the coverage lane flagged now have cases of their own. * test(workspace-files): accept either refusal code for a UNC base Windows resolves an unreachable UNC host through the local backend's ancestor walk, which reports an IO failure instead of the not-found POSIX reads. Both refuse the read; the code belongs to that backend, not to the path-scope decision this case covers. * refactor(liveshare): leave the command surface to its own change Running a slash command is a separate decision from what a reader may read: the executor wraps several capabilities in one opaque call, so the endpoint that admits it is not the place to decide them. This change keeps the reader capabilities and the preset endpoint, and returns the command wiring when the command surface itself is reshaped. * refactor(liveshare): leave the workspace file preview and terminal grant out Reading a Session's data and reaching into the owner's workspace or shell are different promises: the first follows visibility, the second changes what the owner's machine does. This change keeps the reader capabilities that describe Session data and returns the other two for their own discussion. * refactor(jobs): let the session resolver name the job endpoints' Session The session resource resolver already reads a top-level sessionId, so the explicit readers restated what it derives. Removing them keeps one rule for how a Session resource is named. * test(liveshare): drop the workspace preview stubs the strip left behind The viewer shell no longer opens workspace files, so the fixture route and the assertion about it no longer describe anything. * fix(jobs): bind the job endpoints to the Session they name The session resolver reads a top-level sessionId, but these methods take a request object and no lookup parameter, so the request fell through to the global resource and a reader was refused. The explicit readers state the Session the Gateway must authorise. * refactor(jobs): let the session resolver name the job endpoints' Session The session controller's resolver already reads the sessionId of the first object argument, so an explicit reader on these methods restated a rule the Gateway already applies. The tests now install the session controller and assert the resource the production composition produces. * refactor(session-controller): take the resolve input as one argument An exported function cannot destructure its parameters, because the JSDoc gate names them one by one. * docs(liveshare): describe the capabilities this change actually opens The workspace file preview, the terminal grant and the command surface moved out of this change, so the package reference and the PR description now state what remains. * docs(persistence): refresh the catalog after the preset JSDoc edit The permission-presets module doc grew a line, so the recorded source line for its persisted event moved from 60 to 61. --------- Co-authored-by: DeepSeek Harness <[email protected]> |
||
|
|
a5bdc28238 |
refactor(client): converge search lists on shared multilingual fuzzy filter
Fixes #6681 |
||
|
|
e39b5f58c2 | refactor(agent): persist model selection in session state | ||
|
|
da7dc34f7d | fix(client): align subagent sidebar references | ||
|
|
e62587c163 | feat(client): open subagent chats in sidebar | ||
|
|
52475cbf50 | fix: spill truncated session-reference captures for retrieval | ||
|
|
72ce6964ac | fix(session-reference): retain fallback for adapterless routes | ||
|
|
36a3a1188d | fix(session-reference): size default budget from selected model | ||
|
|
d1521ea783 | feat(session)!: add released format migration | ||
|
|
160706be60 | test(api): refresh Remote migration artifacts | ||
|
|
8e9da9debf |
refactor(session-reference): label discovery from projections alone
A title now comes from an attached session's live projection cut or a cold one's durable checkpoint, and from nothing else. Attachment is decided by the session store at read time, so a session that attached after the listing is no longer answered from a checkpoint its log has moved past — the stale-title case `api-session.list` already handles this way. The log fold and its per-log memo are gone. Folding one title costs a whole log, and this call sits under every keystroke; a session no projection answers for is labeled by its id and regains its title the first time it is opened. `lib` leaves the default exclusions: Ruby gems and many npm packages keep sources there, and the miss would be silent and total. A traversal whose root is unreadable now rejects instead of publishing an empty index over entries that are still good, which is what the stale-while-revalidate path claimed but could not do while every readdir error was swallowed. A drill marks the menu drilled only when its edit actually reached the draft. Refs #3154 Refs #3180 |
||
|
|
97e0299f74 |
feat(web): trim @ mention rows and cut their discovery cost
Session candidates labelled from projection checkpoints instead of a full log fold per keystroke, with the uncheckpointed remainder folded once and memoized while its log stays cold. The file index keeps answering while an invalidated traversal rebuilds behind the caret, and its default exclusions now cover build outputs so deep sources stay reachable. Rows carry only what distinguishes them: a file names its parent directory, a session names its workspace only when that workspace is not the current one, and a drilled listing names none because its new breadcrumb does. Resolves #3180 Related to #3154 |
||
|
|
93a1b569ac |
Merge remote-tracking branch 'origin/master' into codex/remove-cordis-catalog-line-numbers
# Conflicts: # docs/subsystems/agent-team.i18n.yaml # docs/subsystems/approval.i18n.yaml # docs/subsystems/client-modules.i18n.yaml # docs/subsystems/client-modules.md # docs/subsystems/client-modules.zh.md # docs/subsystems/code-runtime.i18n.yaml # docs/subsystems/commands.i18n.yaml # docs/subsystems/commands.md # docs/subsystems/commands.zh.md # docs/subsystems/compaction.i18n.yaml # docs/subsystems/compaction.md # docs/subsystems/compaction.zh.md # docs/subsystems/core.i18n.yaml # docs/subsystems/core.md # docs/subsystems/core.zh.md # docs/subsystems/credentials.i18n.yaml # docs/subsystems/credentials.md # docs/subsystems/credentials.zh.md # docs/subsystems/feedback.i18n.yaml # docs/subsystems/filesystem.i18n.yaml # docs/subsystems/goal.i18n.yaml # docs/subsystems/http-server.md # docs/subsystems/http-server.zh.md # docs/subsystems/invariants.i18n.yaml # docs/subsystems/invariants.md # docs/subsystems/invariants.zh.md # docs/subsystems/jobs.i18n.yaml # docs/subsystems/llm-streaming.i18n.yaml # docs/subsystems/llm-streaming.md # docs/subsystems/llm-streaming.zh.md # docs/subsystems/permission-presets.md # docs/subsystems/permission-presets.zh.md # docs/subsystems/persistence.i18n.yaml # docs/subsystems/persistence.md # docs/subsystems/persistence.zh.md # docs/subsystems/plan.i18n.yaml # docs/subsystems/plan.md # docs/subsystems/plan.zh.md # docs/subsystems/sandbox.i18n.yaml # docs/subsystems/sandbox.md # docs/subsystems/sandbox.zh.md # docs/subsystems/schedule.i18n.yaml # docs/subsystems/session-projection.i18n.yaml # docs/subsystems/session-projection.md # docs/subsystems/session-projection.zh.md # docs/subsystems/session-query.i18n.yaml # docs/subsystems/session-reference.i18n.yaml # docs/subsystems/session-reference.md # docs/subsystems/session-reference.zh.md # docs/subsystems/session-telemetry.md # docs/subsystems/session-telemetry.zh.md # docs/subsystems/session-title.i18n.yaml # docs/subsystems/session.i18n.yaml # docs/subsystems/session.md # docs/subsystems/session.zh.md # docs/subsystems/settings.i18n.yaml # docs/subsystems/settings.md # docs/subsystems/settings.zh.md # docs/subsystems/shell.i18n.yaml # docs/subsystems/shell.md # docs/subsystems/shell.zh.md # docs/subsystems/skills.i18n.yaml # docs/subsystems/skills.md # docs/subsystems/skills.zh.md # docs/subsystems/spill.i18n.yaml # docs/subsystems/storage.i18n.yaml # docs/subsystems/subagent.i18n.yaml # docs/subsystems/subagent.md # docs/subsystems/subagent.zh.md # docs/subsystems/subprocess.i18n.yaml # docs/subsystems/system-prompt.i18n.yaml # docs/subsystems/system-prompt.md # docs/subsystems/system-prompt.zh.md # docs/subsystems/tasks.md # docs/subsystems/tasks.zh.md # docs/subsystems/terminal.md # docs/subsystems/terminal.zh.md # docs/subsystems/token-meter.i18n.yaml # docs/subsystems/tools.i18n.yaml # docs/subsystems/tools.md # docs/subsystems/tools.zh.md # docs/subsystems/typert.i18n.yaml # docs/subsystems/typert.md # docs/subsystems/typert.zh.md # docs/subsystems/user-interaction.i18n.yaml # docs/subsystems/user-questions.i18n.yaml # docs/subsystems/user-questions.md # docs/subsystems/user-questions.zh.md # docs/subsystems/web.i18n.yaml # docs/subsystems/workflow.i18n.yaml # docs/subsystems/workflow.md # docs/subsystems/workflow.zh.md # docs/subsystems/workspace.i18n.yaml # docs/subsystems/workspace.md # docs/subsystems/workspace.zh.md # packages/typert/generator/tests/cordis-catalog.spec.ts |
||
|
|
84cbec28e9 |
Merge remote-tracking branch 'origin/master' into codex/localized-chinese-doc-links
# Conflicts: # .agents/notes/implemented/architecture/2026-06-11-content-block-vocabulary.i18n.yaml # .agents/notes/implemented/architecture/2026-06-11-content-block-vocabulary.zh.md # .agents/notes/implemented/architecture/2026-06-18-shared-persistence-write-coordinator.i18n.yaml # .agents/notes/implemented/architecture/2026-07-10-single-file-executable-sdk-runtime-distribution.i18n.yaml # .agents/notes/implemented/architecture/2026-07-10-single-file-executable-sdk-runtime-distribution.zh.md # .agents/notes/implemented/bug-fix/2026-07-29-pnpm-setup-runner-isolation.i18n.yaml # .agents/notes/implemented/bug-fix/2026-07-29-pnpm-setup-runner-isolation.zh.md # .agents/notes/implemented/bug-fix/2026-08-18-request-image-payload-bound.i18n.yaml # .agents/notes/implemented/bug-fix/2026-08-18-request-image-payload-bound.zh.md # .agents/notes/implemented/feature/2026-07-06-sandbox.i18n.yaml # .agents/notes/implemented/feature/2026-07-06-sandbox.zh.md # .agents/notes/implemented/feature/2026-07-16-persistent-pty-sessions.i18n.yaml # .agents/notes/implemented/feature/2026-07-21-cross-session-references.i18n.yaml # .agents/notes/implemented/feature/2026-07-21-cross-session-references.zh.md # .agents/notes/implemented/feature/2026-07-22-web-multimodal-image-input-and-durable-attachments.i18n.yaml # .agents/notes/implemented/feature/2026-07-22-web-multimodal-image-input-and-durable-attachments.zh.md # .agents/notes/implemented/feature/2026-07-27-web-subagent-conversations.i18n.yaml # .agents/notes/implemented/feature/2026-07-31-permission-default-for-new-sessions.i18n.yaml # .agents/notes/implemented/feature/2026-08-03-web-search-source-scroll.i18n.yaml # .agents/notes/implemented/feature/2026-08-03-web-search-source-scroll.zh.md # .agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.i18n.yaml # .agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.zh.md # .agents/notes/implemented/feature/2026-08-05-agent-teams.i18n.yaml # .agents/notes/implemented/feature/2026-08-05-agent-teams.zh.md # .agents/notes/implemented/feature/2026-08-11-workspace-sidebar-order-and-folding.i18n.yaml # .agents/notes/implemented/feature/2026-08-15-product-subagent-noninteractive-permissions.i18n.yaml # .agents/notes/implemented/process/2026-07-21-serial-cross-platform-ci-reference.i18n.yaml # .agents/notes/implemented/process/2026-07-21-serial-cross-platform-ci-reference.zh.md # .agents/notes/implemented/process/2026-07-22-evidence-based-larger-hosted-runners.i18n.yaml # .agents/notes/implemented/process/2026-07-22-evidence-based-larger-hosted-runners.zh.md # .agents/notes/implemented/process/2026-07-23-portable-required-pull-request-ci.i18n.yaml # .agents/notes/implemented/process/2026-07-23-portable-required-pull-request-ci.zh.md # .agents/notes/implemented/testing/2026-07-24-web-gui-browser-e2e-lane.i18n.yaml # .agents/notes/implemented/testing/2026-07-24-web-gui-browser-e2e-lane.zh.md # .agents/notes/implemented/testing/2026-07-30-web-browser-snapshot-ci-gate.i18n.yaml # .agents/notes/implemented/testing/2026-07-30-web-browser-snapshot-ci-gate.zh.md # .agents/notes/proposed/architecture/2026-07-27-session-projection-and-command-log.i18n.yaml # README.i18n.yaml # README.zh.md # docs/architecture.i18n.yaml # docs/architecture.zh.md # docs/development.i18n.yaml # docs/development.zh.md # docs/persistence-catalog.i18n.yaml # docs/persistence-catalog.zh.md # docs/subsystems/README.i18n.yaml # docs/subsystems/README.zh.md # docs/subsystems/agent-team.i18n.yaml # docs/subsystems/agent-team.zh.md # docs/subsystems/client-modules.i18n.yaml # docs/subsystems/client-modules.zh.md # docs/subsystems/commands.i18n.yaml # docs/subsystems/commands.zh.md # docs/subsystems/persistence.i18n.yaml # docs/subsystems/persistence.zh.md # docs/subsystems/session-reference.i18n.yaml # docs/tool-catalog.i18n.yaml # docs/tool-catalog.zh.md # docs/user/guide/providers.i18n.yaml # docs/user/guide/providers.zh.md # packages/README.i18n.yaml # packages/README.zh.md # packages/bundle/web-app/README.i18n.yaml # packages/bundle/web-app/README.zh.md # packages/client/README.i18n.yaml # packages/client/README.zh.md # packages/client/connection/README.i18n.yaml # packages/client/connection/README.zh.md # packages/client/ui-conversation/README.i18n.yaml # packages/client/ui-conversation/README.zh.md # packages/client/ui-primitives/README.i18n.yaml # packages/client/ui-primitives/README.zh.md # packages/client/ui-sidebar/README.i18n.yaml # packages/client/ui-sidebar/README.zh.md # packages/client/ui-workspace/README.i18n.yaml # packages/client/ui-workspace/README.zh.md # packages/context/README.i18n.yaml # packages/context/README.zh.md # packages/core/agent-loop/README.i18n.yaml # packages/credentials/README.i18n.yaml # packages/credentials/README.zh.md # packages/experimental/agent-team/README.i18n.yaml # packages/experimental/agent-team/README.zh.md # packages/experimental/tool-agent-team/README.i18n.yaml # packages/experimental/tool-agent-team/README.zh.md # packages/host/frontend-static/README.i18n.yaml # packages/host/frontend-static/README.zh.md # packages/host/webserver/README.i18n.yaml # packages/host/webserver/README.zh.md # packages/interaction/commands/README.i18n.yaml # packages/interaction/commands/README.zh.md # packages/plan/plan-mode/README.i18n.yaml # packages/plan/plan-mode/README.zh.md # packages/sandbox/sandbox-local/README.i18n.yaml # packages/sandbox/sandbox-local/README.zh.md # packages/session/README.i18n.yaml # packages/session/README.zh.md # packages/session/session-persistence-sqlite/README.i18n.yaml # packages/session/session-persistence-sqlite/README.zh.md # packages/session/session-projection-cache/README.i18n.yaml # packages/session/session-projection-cache/README.zh.md # packages/shell/tool-pwsh/README.i18n.yaml # packages/shell/tool-pwsh/README.zh.md # packages/subagent/subagent-codex/README.i18n.yaml # packages/subagent/subagent-codex/README.zh.md # packages/subagent/subagent/README.i18n.yaml # packages/subagent/subagent/README.zh.md # packages/web/tool-web/README.i18n.yaml # packages/web/tool-web/README.zh.md # scripts/snapshots/translation-prompt-v4/request-response.expected.json |
||
|
|
ad6516933b | fix(i18n): close automated review findings | ||
|
|
29de639e99 | fix(web): 按评审意见调整引用职责 | ||
|
|
6bb79911ba |
refactor(reference): serve discovery through typert Remote faces
Replace the legacy reference.* API Proxy domain with @Remote methods on the owning services, following the typert gateway design master adopted on 2026-08-02 (message-feedback and plugin-inventory precedents): - FileReferenceService and SessionReferenceResolver extend TypertRemoteService; fileReferences/list and sessionReferenceResolver/candidates are unary Remote methods cancelled through the reserved trailing signal, and the candidates face attaches each candidate's canonical mention under the configured limit - move the wire types to type-only ./types subpaths (FileReferenceCandidate, SessionReferenceMentionCandidate) and export ./typert plus ./remote artifacts - mount both contributions in the api-remotes client assembly; ui-reference consumes ctx.remote instead of connection.api.references and registers zh/en locale dictionaries for its sections and labels - delete the reference.* routes, schemas, map rows, client stubs, and fixtures; the connection fixture serves the Remote endpoints instead - release deliverPrompt admission listeners when the agent is disposed with the prepared prompt still pending, and cover the reference-* RpcError codes in the schema spec - add the missing tsconfig paths for the /grammar and /types subpaths (clean- tree vitest could not resolve @deepseek-ai/dsh-file-reference/grammar) - regenerate the cordis catalog, capability seams, and event matrix; update the owning bilingual READMEs, Agent Notes, and the reference-composer golden |
||
|
|
9b0f6f9017 |
Merge remote-tracking branch 'origin/master' into worktree/web-file-session-references
# Conflicts: # .agents/notes/implemented/architecture/2026-07-25-web-command-surfaces-and-assembly.i18n.yaml # .agents/notes/implemented/architecture/2026-07-25-web-command-surfaces-and-assembly.md # .agents/notes/implemented/architecture/2026-07-25-web-command-surfaces-and-assembly.zh.md # .agents/notes/implemented/feature/2026-07-21-cross-session-references.i18n.yaml # .agents/notes/implemented/feature/2026-07-21-cross-session-references.md # .agents/notes/implemented/feature/2026-07-21-cross-session-references.zh.md # .agents/notes/implemented/feature/2026-07-27-web-subagent-conversations.i18n.yaml # apps/cli/config/web.cordis.yml # apps/cli/package.json # apps/web/tests/scaffold.ts # docs/capability-seams.md # docs/config-catalog.md # docs/cordis-catalog/services.md # docs/event-producer-consumer.md # docs/module-graph.md # packages/client/connection/src/client/api.ts # packages/client/connection/src/client/fixture.ts # packages/client/connection/src/client/index.ts # packages/client/runtime/src/client/contract/session.ts # packages/client/runtime/src/client/sessions/session.ts # packages/client/runtime/tests/session.client.spec.ts # packages/client/ui-conversation/README.i18n.yaml # packages/client/ui-conversation/README.md # packages/client/ui-conversation/README.zh.md # packages/client/ui-conversation/src/client/chat/ChatView.tsx # packages/client/ui-conversation/src/client/chat/MessageItem.tsx # packages/client/ui-conversation/src/client/chat/chat-flow.ts # packages/client/ui-conversation/src/client/input/facade.ts # packages/client/ui-conversation/src/client/input/hub.ts # packages/client/ui-conversation/tests/apply-inject.client.spec.tsx # packages/client/ui-conversation/tests/chat-branch-tails.client.spec.tsx # packages/client/ui-conversation/tests/chat-view.client.spec.tsx # packages/client/ui-conversation/tests/input-bar.client.spec.tsx # packages/client/ui-conversation/tests/input-matrix.client.spec.tsx # packages/client/ui-conversation/tests/input-scenarios.client.spec.tsx # packages/client/ui-conversation/tests/skeleton.client.spec.tsx # packages/client/ui-input-trigger/package.json # packages/client/ui-input-trigger/src/types.ts # packages/client/ui-jobs/README.i18n.yaml # packages/client/ui-slash/README.md # packages/client/ui-slash/README.zh.md # packages/client/ui-subagent/README.i18n.yaml # packages/client/ui-subagent/README.md # packages/client/ui-subagent/README.zh.md # packages/client/ui-subagent/package.json # packages/client/ui-subagent/src/client/index.ts # packages/client/ui-subagent/tests/browser-plugin.client.spec.ts # packages/client/ui-subagent/tsconfig.json # packages/context/session-reference/README.i18n.yaml # packages/context/session-reference/README.md # packages/context/session-reference/README.zh.md # packages/cordis/tool-cordis/src/api-catalog.ts # packages/core/session/README.i18n.yaml # packages/core/session/README.zh.md # packages/host/apiproxy/README.i18n.yaml # packages/host/apiproxy/README.md # packages/host/apiproxy/README.zh.md # packages/host/apiproxy/src/api-proxy.ts # packages/host/apiproxy/src/api/index.ts # packages/host/apiproxy/src/api/rpc-map.ts # packages/host/apiproxy/src/api/rpc.schema.ts # packages/host/apiproxy/src/api/rpc.ts # packages/host/apiproxy/src/api/sessions.ts # packages/host/apiproxy/src/fetch/client.ts # packages/host/apiproxy/src/fetch/handler.ts # packages/host/apiproxy/src/index.ts # packages/host/apiproxy/tests/client-handler.spec.ts # packages/host/apiproxy/tsconfig.json # pnpm-lock.yaml # scripts/gen-cordis-catalog.ts # scripts/gen-doc-graphs.ts # scripts/verify-package-readme-model-experience.ts # tsconfig.base.json # tsconfig.client.json # vitest.config.ts |
||
|
|
a2d0f7f411 |
refactor: apply repository naming contract
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change. |
||
|
|
0c708cb10d | refactor: replace overloaded surface terminology | ||
|
|
a27efdef36 | docs: make technical prose concrete | ||
|
|
f248dc3773 | docs: remove line numbers from subsystem catalog links | ||
|
|
aa0ca6c836 |
docs: anchor each subsystem page to its package group; make group READMEs thin tables
core.md read as a type grab-bag: LLM wire vocabulary up front, the agent/loop story buried, and no correspondence to packages/core. It now opens on the packages/core control spine — the package-by-package loop map with a Page column into session/system-prompt/tools/scope — and keeps only what the spine group declares plus the repo-wide patterns: the Agent handle with its delivery/cancellation/interception contracts, the SessionEvent envelope, branded ids, the …Map pattern. The conversation vocabulary (Message/ContentBlock, the model request, adapters — 17 type-equiv blocks) moves to llm-streaming.md, which now declares packages/llm end-to-end; the duplicate ContentBlockMap paste near its seam section folds into the moved section, and the manifest, LINK_MAP, README table rows, website label (Core data structures → Core), and inbound anchors follow. Every packages/<group>/README pair is now a thin front door in one shape: a why-first intro (bash's seam-pattern-first paragraph rewritten as 'shell execution for the agent'), the package table, and a closing pointer to the owning docs/subsystems page — the bash-style table stays the load-bearing middle. Load-bearing trailing paragraphs relocate rather than vanish: the fs no-timeout rationale becomes a filesystem.md section (both languages), session's four sectioned tables merge into one 12-row table, examples' legacy-bin H2 collapses to a pointer at jsonrpc-demo's README, and design rationale that already lives in an Agent Note or subsystem page is now linked instead of restated. All 40 pair records re-recorded. |
||
|
|
f7323354bb |
docs: generate each subsystem's cordis surface into its own page; delete the flat catalogs
Rebuild of the region machinery (PR3) on the post-#904 Typert projection: renderPageRegion/renderInheritedPage live in dsh-typert-generator beside the projection; scripts/gen-cordis-catalog.ts owns the curated SERVICE_PAGE / EVENT_SCOPE_PAGE / SERVICE_WALK_EXEMPTIONS / LINK_MAP partition (fail-loud in both directions, with the independent Context-merge scan backstopping the projection's blind spot), spliceRegion, and the guarded pair auto-record. docs/cordis-catalog/ is deleted: the flat events/services catalogs dissolve into per-page regions and docs/cordis-catalog/core moves to docs/cordis-api/ with the inherited tier as its own generated page. The partition absorbs the post-regrouping surface: ctx.typert → invariants.md, ctx.directoryPicker → workspace.md, skills/* events → skills.md, and the four launcher-provided tui accessor values join the named exemptions. |
||
|
|
ba3125234a |
docs: rename core-data-structures/ to subsystems/
The folder is becoming the home of one-doc-per-subsystem pages (intro + data structures + cordis services/events), so the name must describe the whole contract, not just the type-vocabulary third of it. Mechanical rename rebuilt on current master: every inbound Markdown link, generator constant, website route, type-equiv manifest path, and spec expectation moves together; the zh sides of the notes whose prose names the folder are aligned (子系统) in the same change; touched bilingual pairs re-recorded; translation-prompt snapshot re-recorded (its example embeds development.md). Historical Agent Note slugs keep their dated filenames. |