* feat(forge): let providers declare their hosts, names, sign-in, and review decisions Prepare the forge contract for a second provider: - ForgeProvider lists the hosts it serves and names itself (label, changeRequestNoun); registering a provider that lists a host another registered provider lists throws, so each URL has at most one provider. ctx.forge.describe(forge) returns the family's ForgeDescription. - ForgeReadiness carries the sign-in command, which the panel's sign-in banner shows instead of building `gh auth login` for the github family. - ForgeReviewData lists the review decisions the host lets the reader record; the review dialog offers only those instead of hardcoding the GitHub rule that a pull request's author may only comment. - ForgeReviewThread.original may name a later commit the host carried the thread to while its lines stayed unchanged. - The changes view names the code host and its word for a change request from the entry's ForgeDescription instead of hardcoding GitHub and PR. The GitHub provider declares its configured hosts, GitHub, pull requests, `gh auth login --hostname <host>`, and reads viewerDidAuthor for the review decisions. Upgrade guide: forge-provider-hosts. * feat(forge-gitlab): read GitLab merge requests through the GitLab CLI Add the experimental forge-gitlab provider. It serves the configured GitLab hosts through glab: status batches over GraphQL, head-pinned patches from merge request diff versions, commit listings, merge bases, pipeline jobs, closing issues, and review threads mapped from REST discussions, including outdated threads' hunks. The forge bundle composes the provider, disabled by default. * feat(forge-gitlab): write GitLab reviews, retry pipelines, request reviews, and rebase The GitLab provider now writes through glab as well as reading: comments start discussions at positions derived from the head's diff version, pending replies and comments are draft notes that a review publishes with its summary and review state, and approving checks the head through GitLab's sha parameter. Review reads carry the signed-in user's rights from GraphQL, their draft notes as the pending review, and the decisions GitLab lets them record. Snapshots name the head pipeline as every job's rerun, offer rebase as the branch update, and follow GitLab's permissions for reruns and review requests. updateBranch's contract now states how a provider whose host takes no expected head checks it. * feat(forge): let forge providers register the commands that bind change requests forge-session no longer recognizes gh commands by itself. A provider now registers a declarative ForgeCommandRule through ctx.forgeSession.registerCommands: its executable, creation and reference subcommands, change request page path, JSON URL members, declared options, and a pure select that maps one parsed reference command to a URL or a read-only lookup. forge-github registers gh and forge-gitlab registers glab, which adds glab mr create, view, update, and checkout, including numbers with -R: a full project URL binds directly, and other repository forms resolve through glab mr view in the call's shell. forge-session keeps the shared parts: the literal shell tokenizer, option parsing, output reading, lookups, and the projection. The forgeChangeRequests state version derives from the recognized rules, so a changed rule set refolds every Session, including commands that ran before the provider loaded. Ending a registration keeps its rule recognized until restart, so unloading providers at shutdown does not rewrite every checkpoint. * refactor(forge-gitlab): publish the GitLab provider as @deepseek-ai/dsh-forge-gitlab New experimental packages omit the experimental prefix so that promotion keeps their npm name. Register the directory in EXPERIMENTAL_PACKAGE_NAME_EXCEPTIONS instead of growing the legacy prefixed list, and rename every dependency, configuration row, path mapping, and document that names the package. * fix(forge-gitlab): keep review writes, comment positions, and reads within GitLab's facts and the limits - After GitLab refuses a publication, read the drafts again: delete them only when all remain, since GitLab can publish them before it refuses the summary, and report the outcome as unknown otherwise. A rollback that leaves drafts reports how many may remain. - Place comments on files GitLab collapsed through the diff compared from their texts, and let a file's new path name it over another file's old path after chained renames. - Keep the final newline of raw file reads. - Apply maxOutputBytes to the complete review result, and report a read whose rights stop early or skip a discussion's later notes as truncated. - Serve a version over maxCachedVersionBytes without keeping it. - Resolve uploaded avatars GitLab names by their path on the host. - Schedule bounded reads through p-limit. * fix(forge-session): run lookups only for live command rules and keep the projection registered - Reference lookups use the rules of live registrations, so a disposed provider's rule still folds but starts no gh or glab process. - A failed re-registration registers the projection again with the earlier rules, so clients keep its view; an error is logged only when that fails too. - Document the startup re-registration, test that the checkpointed state version survives a real Loader start, shutdown, and restart, and record that starting without a provider removes the bindings only its commands made. - Describe the changes view's pending review and single comment without naming GitHub, which keeps its own rule in forge-github, and render registerCommands as code in the generated service reference. * fix(forge-bundle): name GitLab merge requests in the bundle description The bundle now follows GitLab merge requests as well as GitHub pull requests, so the description's first sentence in every locale names both kinds of change request. * feat(forge): bind the change requests that gh api and glab api requests name Models often read a merge request through `glab api` or a pull request through `gh api` instead of `glab mr view` or `gh pr view`, which left the change request unbound. A command rule now declares raw API request subcommands beside its reference subcommands, each group with its own options, since `-f` is a value of `gh api` and a flag of `gh pr checkout`. An API request binds, as referenced, only the change request its REST path names, such as `projects/group%2Fapp/merge_requests/7/changes` or `repos/octo/demo/pulls/7/files`; its output is not read, since one request can list many change requests. A path whose host the command names binds directly, and one without a host, or with the current repository's placeholders, resolves through the CLI's view command in the call's shell. The gh and glab rules move to version 2. * docs(forge): add forge-gitlab and the forge-session peers to the module graph Regenerate docs/module-graph for the renamed GitLab provider and the optional forge-session peer of both providers. * test(web): refresh the forge bundle description in the recommended plugin catalog The creation recommendation recording carries every recommended plugin's description; refresh it for the forge bundle description that now names GitLab merge requests and the glab sign-in. * chore(forge-gitlab): carry the 0.2.2-rc.3 release version and move upgrade guides to v0.2.2-rc.3
12 KiB
description, kind
| description | kind |
|---|---|
| The experimental group map: publicly installable pre-stable prototypes. | package-group |
packages/experimental
English | 中文
Summary
Install and compose experimental capabilities explicitly, without a product-support commitment. Package naming and publication follow the experimental package policy. The optional-bundle rule determines which capabilities ship switched off with the installation for explicit selection in the GUI plugin manager’s Official group; the Liveshare owner bundle and its shared protocol package are among them. The plugin manager page owns which bundles appear by default and how to enable hidden ones.
Table of Contents
Experimental, optional, and Official
Experimental means the complete public capability remains under evaluation and is not a product-support commitment. Its behavior or API may change, and the capability may be withdrawn; engineering, security, documentation, testing, and released-data obligations still apply. A package belongs here only when its entire public contract is experimental or internal-only; an experimental option inside a product package stays with that product role.
Optional means a user explicitly selects the capability. Official means the project maintains and lists the package in the Plugins page. Neither describes maturity; publication, default installation, and GUI visibility do not determine maturity either. Product packages outside this group have maintained product roles, while their public APIs still follow the repository's pre-stable policy.
Promotion requires a named product role, documented public behavior and limitations, current consumers, release contents, and test evidence. Move the package to its product group and update affected consumers together. The subtree rules govern package naming, dependency isolation, and publication.
Packages
| Package | Role | ctx key |
|---|---|---|
action-cards |
Optional action cards below answers: the proposal tool, card state, user actions and status notices | ctx.actionCards |
client-ui-action-cards |
Card frame below completed answers, kind bodies and the proposal process row | — |
creation-recommendations |
Explicit-need creation of persistent removable interface plugins | — |
client-ui-creation-recommendations |
Personalized page card body with location selection and undo | — |
plugin-recommendations |
Explicit-need official plugin recommendations in conversations | ctx.pluginRecommendations |
client-ui-plugin-recommendations |
Official plugin card body with catalog text and enabling | — |
personalized-recommendations |
Default-disabled bundle of personalized pages, plugin recommendations and their action cards | — |
tool-session-query |
Workspace-authorized model session search, trace, and event reads | — |
session-search |
Optional experimental global session search tools | — |
deepseek-chat-import |
Optional upload of DeepSeek website chat exports as Sessions in a chosen Workspace | ctx.deepseekChatImport |
ralph-bundle |
Optional repeated delegation with an isolated workflow engine | — |
terminal-bundle |
Optional global persistent terminal tools | — |
badge-skill-bundle |
Optional powered-by-dsh badge skill | — |
session-titles-bundle |
Optional titles following human prompts in a conversation | — |
hook-protocol |
Hook bridge wire types and durable events | — |
hooks-claude-code |
Claude Code hook bridge | — |
hooks-codex |
Codex hook bridge | — |
webhook |
Authenticated delivery dispatch and Workspace Session creation | ctx.webhookRuntime |
webhook-github |
Signed GitHub webhook ingress | — |
session-title-all-prompts-llm |
Session titles from all human prompts | — |
tool-terminal |
Persistent terminal tools | — |
terminal-panel |
Agent terminals in the Web sidebar and read-only user terminal tools | — |
tool-ralph |
Bounded repeated delegated tasks | — |
skill-badge |
The powered-by-dsh badge skill | — |
translator |
Anonymous Google and Bing text translation | ctx.translator |
client-ui-cot-translation |
Expanded reasoning translation and original-text controls | ctx.cotTranslation |
cot-translation-bundle |
Default-disabled reasoning translation composition | — |
speech-to-text |
Named speech recognition providers | ctx.speechToText |
speech-to-text-sensevoice |
Managed local SenseVoice inference | — |
api-speech-to-text |
Authenticated transient transcription Remote | ctx.speechController |
client-ui-voice-input |
Microphone capture and guarded draft insertion | — |
plugin-market-bundle |
Default-disabled optional custom plugin indexes: the index service and the Discover tab | — |
liveshare |
Opt-in LiveShare host bundle: Relay-backed Session sharing at the view or write tier, with forking and attachment uploads as independent switches |
injects connection; serves the viewer page through the Host's web resources |
liveshare-protocol |
Wire frames and the identity contract shared by the owner bundle and the Relay | library and protocol — no ctx key |
voice-input-bundle |
Default-disabled optional voice input composition | — |
client-ui-stats |
Per-turn and per-step context, timing, cache, and tool cost for Web | — |
auto-review |
Explicit Web layer for same-model review before each native or PTC inner tool call | — |
subagent-oar |
Run standalone external coding-agent tasks through OAR | ctx.subagents |
tool-subagent-oar |
Select a configured external agent for each delegated task | ctx.tools |
claude-code-mods |
Run Claude Code mods as plugins: their hook chains on harness extension points and a band above the prompt | ctx.claudeCodeMods |
client-ui-claude-code-mods |
The Web band that draws a mod's tree above the prompt and sends button clicks back | — |
| CUA | Application/window objects, authorized execution, and permission controls. | ctx.cuaAccess |
| macOS CUA | Swift native execution and platform preparation. | ctx.computerUse |
| Windows CUA | Native application and window operations through Windows UI Automation. | ctx.computerUse |
cua-bundle |
Optional Computer Use switch for PTC sessions | — |
cua-mcp |
Computer Use as an MCP stdio server for external agent harnesses, served by the cua-mcp profile |
— |
timeline |
Task trees, progress bars, and interval reports for the current session | ctx.timeline |
computer-use-cua-driver-mcp |
Use an installed Cua Driver through MCP | ctx.computerUse |
computer-use-cua-driver-native |
Embed the Cua Driver native npm runtime | ctx.computerUse |
browser-use-playwright-mcp |
Playwright browser tools over MCP | ctx.browserUse |
browser-use-chrome-devtools-mcp |
Chrome DevTools inspection and browser control over MCP | ctx.browserUse |
browser-use-stagehand-native |
Stagehand browser operations with explicitly configured native models | ctx.browserUse |
browser-use-runtime |
Session-owned browser resources shared by experimental providers | — |
inspector |
Cross-realm CDP hub for Host debugging, Client Runtime inspection, network capture, and Cordis trees | ctx.inspector |
session-inspector |
Sidebar tables for raw Session logs and Chat nodes | — |
inspector-profile |
Optional Web bundle for Session log and Chat node inspection | — |
tool-worktree |
Optional bundle and model tool for creating and entering worktrees | ctx.tools |
webworker-packer |
Builds the gzip-compressed VFS image consumed by the browser worker preview | library and CLI — no ctx key |
webworker-runtime |
Runs the harness plugin tree inside a dedicated browser worker | library and worker entry — no ctx key |
worktree |
Creates a named Git worktree and changes the calling Session directory | ctx.worktrees |
forge |
Code host provider registry with shared change request polling | ctx.forge |
forge-github |
GitHub provider that reads pull requests through the host GitHub CLI | registers a provider on ctx.forge |
forge-gitlab |
GitLab provider that reads and writes merge requests through the host GitLab CLI | registers a provider on ctx.forge |
forge-session |
Binds change requests to the Sessions that created, pushed, or tracked them | ctx.forgeSession |
client-ui-forge |
GUI panel for a Session's Git checkout, worktrees, and bound pull requests | ctx.forgePanel |
forge-bundle |
Default-disabled pull request and worktree panel composition | — |
Related documentation
- Experimental publication reference — public defaults and private exceptions.
- Worktrees — explicit branch and checkout creation.
- Forges — change request providers, status polling, Session bindings, and the panel.
- Computer use — desktop provider choices.
- Browser use — browser provider choices and Session ownership.
- Agent Teams subsystem — durable Team types and the
ctx.agentTeamsservice API. - Experimental subtree rules — what experimental status does and does not relax.
Dev Note
Working context for maintainers — click to expand
None.