Commit Graph
1704 Commits
Author SHA1 Message Date
LegGasai 854ebc768a Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-17 19:29:22 +08:00
gengruilin ec63133d62 Merge remote-tracking branch 'origin/master' into feat/mcp-oauth 2026-11-17 17:57:23 +08:00
gengruilin 0fbcdd4ddd Merge remote-tracking branch 'origin/master' into feat/mcp-oauth 2026-11-17 17:50:22 +08:00
gengruilin 359803a47f Merge remote-tracking branch 'origin/master' into feat/cli-account 2026-11-17 17:17:27 +08:00
LegGasai f5c3f3eb90 Merge remote-tracking branch 'origin/master' into refactor/deepseek-auth
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-17 16:52:18 +08:00
gengruilin 362213e2f5 Merge remote-tracking branch 'origin/master' into feat/cli-account 2026-11-17 16:51:52 +08:00
gengruilin 58ee5e2217 Merge remote-tracking branch 'origin/master' into feat/cli-account 2026-11-17 16:47:03 +08:00
LegGasai 1b952aa029 Merge remote-tracking branch 'origin/master' into refactor/deepseek-auth 2026-11-17 16:31:25 +08:00
Dudu-0223 e3c89ded3b Merge latest master and regenerate event tables 2026-11-17 16:30:11 +08:00
Dudu-0223 10a0b26af2 Merge pull request #8604 from deepseek-harness/fix/subagent-model-selection-live-setting
feat(subagent): read model-selection setting at each call
2026-11-17 16:26:53 +08:00
Dudu-0223 5e8d723c43 Merge master into feat/action-cards-without-tool 2026-11-17 16:18:44 +08:00
LegGasai 62a2f77b2b Merge remote-tracking branch 'origin/master' into refactor/deepseek-auth
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-17 16:15:48 +08:00
imccyu bd1d6dcd0c Merge pull request #8504 from deepseek-harness/feat/client-config-live-update
feat(client): sync volatile plugin config to the browser
2026-11-17 16:08:14 +08:00
Dudu-0223 ca58ae0f27 Merge remote-tracking branch 'origin/master' into fix/subagent-model-selection-live-setting 2026-11-17 16:01:34 +08:00
liukx0205 fa69e91481 Merge remote-tracking branch 'origin/master' into feat/session-persistence-sqlite 2026-11-17 15:12:22 +08:00
Dudu-0223 b0b5ad195f fix(subagent): restore misused-promises suppression and module graph 2026-11-17 13:07:43 +08:00
gengruilin f054f0f473 Merge remote-tracking branch 'origin/master' into feat/cli-account
Conflicts: docs/capability-seams.i18n.yaml and packages/README.i18n.yaml (pairing records, re-recorded from the merged pages).
2026-11-17 12:58:13 +08:00
gengruilin dc0d1cc4d8 Merge remote-tracking branch 'origin/master' into feat/mcp-oauth 2026-11-17 12:03:44 +08:00
LegGasai 53168773c2 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/persistence-schema.json
2026-11-17 11:35:50 +08:00
LegGasai 219f27c927 Merge branch 'refactor/llm-route-credential' into refactor/deepseek-auth
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	packages/experimental/translator/package.json
#	packages/experimental/translator/tests/paid-fixture.ts
#	packages/llm/llm/README.i18n.yaml
#	packages/web/web-deepseek-api/src/index.ts
2026-11-16 21:47:49 +08:00
LegGasai d36dbee3d6 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	packages/web/web-deepseek-api/src/index.ts
2026-11-16 21:23:43 +08:00
ZiyaZhang f3ace86cd7 Merge remote-tracking branch 'upstream/master' into feat/action-cards-without-tool
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/tool-catalog.i18n.yaml
#	packages/core/tools/tests/gen-tool-catalog.spec.ts
2026-11-16 02:27:35 -08:00
LegGasai 23734da2b6 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root
master moved the `workingDirectory` projection-key declaration to
`src/types.ts`; this branch's `workspaceRoot` key follows it there. The three
recorded scenarios master added (`session-list-tools`,
`computer-use-cua-driver-mcp-ptc`, `sdk/subagent-dsh-sdk-empty-route`) drop the
removed `working_directory` tool and the delegation `cwd` parameter from their
sidecars.
2026-11-16 17:59:21 +08:00
Dudu-0223 b8642db2bc Merge master and refresh tool catalog pairing record 2026-11-16 17:41:12 +08:00
Dudu-0223 f70ec1ac46 Merge pull request #8348 from deepseek-harness/feat/subagent-report-guidance
feat(subagent): tell delegated agents to report results with send_message
2026-11-16 09:35:17 +00:00
gengruilin d4a64240ba Merge remote-tracking branch 'origin/master' into feat/cli-account 2026-11-16 17:11:24 +08:00
gengruilin 88c0f6710a Merge remote-tracking branch 'origin/master' into feat/connector-accounts
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/capability-seams.md
#	docs/capability-seams.zh.md
#	packages/bundle/web-app/cordis.patch.yml
#	packages/client/README.i18n.yaml
#	packages/experimental/liveshare/src/endpoint-classification.ts
2026-11-16 15:33:50 +08:00
LegGasai a2b6b12429 Merge branch 'refactor/llm-route-credential' into refactor/deepseek-auth 2026-11-16 14:41:57 +08:00
liukx0205 9e0c4674b0 test(session): cover SQLite persistence and document the provider 2026-11-16 14:41:50 +08:00
LegGasai 8eda7cfb7c Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	scripts/empty-catch.baseline.json
2026-11-16 14:36:05 +08:00
ZiyaZhang 945d00378c feat(action-cards): offer cards from action-card blocks in answers instead of a tool
The kind skills tell the model to end its answer with an `action-card`
fenced block. The card projection reads the first valid block of a turn
from the answer text and names the card by its assistant message id; it
still reads `propose_action` cards and `callId` decision records of older
Sessions. The Web plugin hides the block through the Chat Markdown fence
slot, and the card still appears below the answer.

Removes the `propose_action` tool, its skill-load tracking and the
`queuedMessageLimit` configuration, and renames card ids to `cardId`.
2026-11-15 21:42:35 -08:00
Dudu-0223 a977522f4e Merge remote-tracking branch 'origin/master' into pr8238-review
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/persistence-catalog.i18n.yaml
#	docs/persistence-catalog.md
#	docs/persistence-catalog.zh.md
#	docs/persistence-schema.json
#	docs/tool-catalog.i18n.yaml
#	packages/api/session-controller/tests/listeners.host.spec.ts
#	packages/api/session-controller/tests/state-controller.host.spec.ts
#	packages/api/session-controller/tests/transport.host.spec.ts
#	scripts/product-package-policy.ts
2026-11-16 12:34:08 +08:00
LegGasai 9b82fbb1c0 docs: regenerate the module graph for the DeepSeek web providers
The graph still drew the web providers' edges to dsh-llm, the account
service, and the launch environment, which they dropped when they began to
ask ctx.deepseekAuth.
2026-11-15 19:10:54 +08:00
LegGasai 2846506983 refactor(llm): connect the DeepSeek model routes to ctx.deepseekAuth
Both route plugins now require the DeepSeek authentication service and connect the deployment their settings name: the API-key route its base URL and key reference, the account route its base URL. Other DeepSeek consumers will bind each credential kind to that deployment through the service.

The `base` and `sdk-minimal` bundles mount the service, and the SDK server mounts it with its fallback route when the composition has none. Tests that mount a route plugin by hand mount the service first; the pinned row list of the `sdk-minimal` bundle gains the `deepseek-auth` row.
2026-11-15 16:03:18 +08:00
LegGasai ae7adb5d47 Merge remote-tracking branch 'origin/master' into feat/session-panel
Conflicts were all in generated files and pairing records: the config
catalog, the dsh-doc package list, and the README records of
packages/client and ui-conversation. Each takes master's side and is then
regenerated, so it differs from master only by this branch's entries.

Also in this merge:
- ui-session-panel follows master's release to 0.2.2-rc.3, and the
  lockfile is master's plus this package.
- The web-fetch-failure-row header capture, added on master, gains the
  Session panel toggle.
2026-11-15 12:27:49 +08:00
liukx0205 0d8fbdd956 chore(session): narrow storage PR to implementation 2026-11-15 01:42:34 +08:00
liukx0205 7ecfef7473 fix(session): repair SQLite CI fixtures and failure coverage 2026-11-15 01:41:28 +08:00
LegGasai 19f1314433 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-13 17:05:44 +08:00
LegGasai 51fc5804ab Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	packages/llm/llm-deepseek/src/adapter.ts
2026-11-13 16:56:23 +08:00
fz e198ef07b3 Merge pull request #8400 from deepseek-harness/feat/sdk-resume-permissions
feat(sdk): allow permission overrides when resuming sessions
2026-11-13 16:40:12 +08:00
LegGasai 1142963202 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-13 16:33:33 +08:00
LegGasai 6584464158 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-13 16:29:31 +08:00
TurtleandLegGasai 81aef2ec2d feat(client): show plugin settings on the Plugins page
Plugin settings pages registered through `settings.section` stay in the
Settings dialog. The Plugins page also shows such a page on the bundle row,
or bundle, whose package registered it when that row or bundle has no
configuration of its own. Both surfaces render the page through the new
`settings.section.view` Factory, which declares `settings.section`; the slot
runtime records the registering package on each entry.

Settings replaces the Built-in plugins section with a Plugins entry that
opens the Plugins page. The two packages behind that section are removed,
and the page-local client sync notice moves to the Plugins page.

Co-authored-by: LegGasai <[email protected]>
2026-11-13 16:06:36 +08:00
LegGasai 639c558fd3 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-13 16:02:53 +08:00
LegGasai cb44a3c2ee feat(forge): read, review, and bind GitLab merge requests (#8317)
* 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
2026-11-13 07:56:57 +00:00
LegGasai 18928a9014 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root
master's new `web/deepseek-chat-import` scenario listed the removed
`working_directory` tool and the delegation tools' `cwd` parameter; its
tool-schema sidecar is refreshed.
2026-11-13 15:22:56 +08:00
LegGasai b203bc06d0 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-13 15:18:12 +08:00
imccyu 42091205a5 docs(module-graph): regenerate after the chat import brand change 2026-11-13 14:59:32 +08:00
LegGasai 5d12271bad Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-13 14:56:49 +08:00
fz 145d2d8a49 docs(sdk): sync module graphs with the resume permission dependency 2026-11-13 14:52:22 +08:00