Commit Graph
8696 Commits
Author SHA1 Message Date
LegGasai 3ca18d169f fix(account): invalidate a rejected token on the account service mounted at rejection
- deepseek-account: the request credential's reject() re-resolves the
  account service through the resolving context, so a reload between a
  request and the destination's HTTP 401 still removes the stored grant;
  without a mounted service the grant stays for the next one to reject.
  resolveToken and rejectToken become private; the e2e sign-in stand-in
  and the generated API catalog follow.
- llm-deepseek: routeCredential().resolve() publishes the grant's headers,
  value, and rejection only, keeping the adapter's onRequestError behind
  the seam.
- web-deepseek-api: a route publishing an unparsable base URL becomes a
  misconfigured source instead of throwing from readiness or dispatch.
2026-11-11 20:29:37 +08:00
LegGasai 7d83af645c docs(llm): fix route credential contracts and the package index budget
- RouteCredential.configured: the owner may read its store to answer; the
  contract no longer claims "without reading the credential's value". Same
  text in the source JSDoc, both llm-streaming type-equiv blocks, and the
  seam Agent Note.
- llm-deepseek README: replace the stale resolveAuth(connection) summary
  with the resolveAuth(connection, endpoint) contract.
- llm-deepseek-account README: the listing cache is keyed by a SHA-256 of
  the credential headers, not of the token.
- web-deepseek-api tests/routes.ts: note that composition.spec.ts covers the
  real route plugins.
- packages/README: restore the document/, credentials/, and util/ rows and
  raise the verify-doc-budgets ceiling to 1,060 for the account/ row.
2026-11-11 19:33:52 +08:00
LegGasai 48a20b9d03 docs(upgrade-guide): move the route credential guide to v0.2.2-rc.2 2026-11-11 12:54:18 +08:00
LegGasai 1685f46873 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	packages/web/web/package.json
#	scripts/plugin-entry-existing-exports.ts
2026-11-11 12:52:40 +08:00
Yichen Jiang 8c192ad810 Merge pull request #8228 from deepseek-harness/feat/forge-extension-api
feat(forge): open change request review to plugins with lenses, line annotations, and slots
2026-11-11 12:07:19 +08:00
Yichen Jiang f1f987c4c2 docs(forge): name what review changes reread, when annotations draw, and brand lens ids 2026-11-11 11:34:04 +08:00
Yichen Jiang 8c8122ffb0 fix(forge-panel): settle lens runs with their plugins and keep review state through lenses
A lens registration's disposer now waits for the classification itself,
and a run whose registration ended or whose caller left before it started
never reaches the lens; changesLens refuses a lens withdrawn while the
files were read and a local result whose files changed during the run.
The extension state names each lens's version, so the view keys results
by source, files, lens, and version. Hunks holding an open comment form
or a saved browser comment stay unfolded, the view reads threads and
viewed marks again on reviewRevision, a thread jump clears a lens that
hides its file, and the Client entry re-exports the lens types.
2026-11-11 11:34:03 +08:00
imccyu 4861a5022a Merge pull request #8213 from deepseek-harness/split-exports-test-fixtures
refactor(exports): internalize test helpers and type fixtures
2026-11-11 10:13:15 +08:00
Turtle ce6ab42635 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:28:02 +08:00
imccyu 17d96e0f6d refactor(exports): internalize test helpers and type fixtures 2026-11-11 07:32:55 +08:00
creatixchu 2deb3189c6 Merge master and adapt scoped CUA replay to string window IDs 2026-11-10 22:38:49 +08:00
imccyu 37e0924f68 Merge pull request #8257 from deepseek-harness/ptc-scoped-repl-switch
feat(ptc): run the scoped REPL by default for persistent-in-memory execution
2026-11-10 22:34:59 +08:00
creatixchu 0874eb2217 fix(cua): retain macOS permission diagnostic process IDs 2026-11-10 22:22:09 +08:00
creatixchu c30a94a0c4 fix(cua): declare PID selectors, document Windows limits and check native PR builds 2026-11-10 21:41:16 +08:00
creatixchu 616dbd03bd fix(cua): preserve macOS process IDs in application discovery 2026-11-10 20:57:30 +08:00
creatixchu 1a62850eec Merge master into Windows CUA branch 2026-11-10 20:21:17 +08:00
LegGasai 7b03477365 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential 2026-11-10 20:00:23 +08:00
LegGasai d42563e4ba refactor(llm): publish DeepSeek route credentials through ctx.llm
`LlmAdapter.routeCredential(provider)` publishes the credential a route
currently sends: kind, resolved base URL, optional reference, a value-free
presence check, and per-endpoint grants carrying protocol headers, the bare
value, and an optional 401 invalidation. `LlmRuntime.routeCredential()`
forwards to the owning adapter.

`dsh-llm-deepseek` reads no credential: `resolveAuth(connection, endpoint)`
returns a grant or `undefined`, `missingCredential` names the failure, and
`credential` declares the publication. The route plugins own their
credentials through the new `dsh-credentials` reference helpers and the
account service's `resolveRequestCredential()`; the account route also owns
sign-out cancellation and registers a running-task report. The account
service inspects no Agents, drops its `dsh-agent` and `dsh-llm` peers, and
moves to `packages/account/`. The web providers consume route publications
and drop their dependencies on `dsh-llm-deepseek`, the route plugins, and the
Loader.

Documented in the Agent Note and the `llm-route-credential` upgrade guide.
2026-11-10 19:59:14 +08:00
imccyu 26cd436b86 docs(ptc): fold the scoped-repl format into the protocol 3 upgrade guide
Master's unreleased ptc-bootstrap-protocol guide already covers protocol
version 3, so the scoped-repl format, the PtcProgramFormat member and the
dsh-ssh bootstrapHash step join it instead of a second guide. Re-record the
README, Note and guide translation pairs after the rebase.
2026-11-10 18:52:19 +08:00
imccyu 793ce790a6 feat(ptc): add scoped REPL execution with copied top-level bindings
With replScoped: true, persistent-in-memory runs each call as a separate
VM Script in one retained context. Each call starts with copies of the
top-level bindings left by earlier calls, so a later call may declare any
earlier name again with any keyword while earlier functions and
still-running code keep their values. Results, top-level await, errors
and asynchronous failures follow the existing REPL evaluator; modules
load only through dynamic import(), resolved from the environment's first
working directory.

The control protocol moves to version 3; the upgrade guide covers
preinstalled bootstraps and the new PtcProgramFormat member. The Agent
Note records the decision and its comparison with node:repl and
vm-script, and the ptc-scoped-repl snapshot pins the model guidance.
2026-11-10 18:52:19 +08:00
creatixchu 1aefd4de11 Merge master and migrate Windows CUA callers to explicit inspection 2026-11-10 18:24:02 +08:00
creatixchu 1991fa2b22 fix(cua): address shared API, packaging and migration review 2026-11-10 18:10:43 +08:00
creatixchu 5ee1c02eb8 fix(cua-windows): align provider, platform checks and replay with master 2026-11-10 16:47:17 +08:00
creatixchu 418f2ec405 Merge latest PTC inspect changes and align standalone CUA output 2026-11-10 16:40:06 +08:00
Turtleandsjw1231 51951b1593 feat(llm): report the booted profile in the provider User-Agent
Co-authored-by: sjw1231 <[email protected]>
2026-11-10 16:19:32 +08:00
_Kerman 4e9adccec7 Merge branch 'master' into xtr/ptc-inspect-output 2026-11-10 16:18:34 +08:00
_Kerman c7f1da5531 docs(ptc): complete protocol 3 migration details 2026-11-10 16:07:14 +08:00
_Kerman 5fd443618f fix(ptc): preserve raw text and cross-realm image inspection 2026-11-10 16:07:14 +08:00
Turtle d79851e05d Merge pull request #8180 from deepseek-harness/feat/cua-run-code-standard
feat(cua): 为标准模式提供持久 cua_run_code 工具
2026-11-10 07:59:40 +00:00
Yichen Jiang aae5b719a9 docs(forge): document the extension API and replay a fixture extension
Add the forge subsystem's extension API section, README and cookbook
coverage, the generated Cordis, config, slot, and event catalogs, and a
recorded forge-panel e2e case that loads a fixture plugin registering a
lens, annotations, and every new slot.
2026-11-10 14:53:09 +08:00
_Kerman b4e3e18867 docs(ptc): link the shared bootstrap upgrade guide 2026-11-10 14:40:43 +08:00
_Kerman 86984d8358 Merge branch 'feat/cua-run-code-standard' into xtr/ptc-inspect-output 2026-11-10 14:24:26 +08:00
_Kerman 0191dbb0cf refactor(ptc): collect nested images through custom inspection 2026-11-10 13:38:43 +08:00
creatixchu c2aa91c1ab Merge updated PTC inspect implementation into CUA output cleanup 2026-11-10 12:35:50 +08:00
creatixchu 5440d154f8 Document native and PTC output for CUA observations 2026-11-10 12:29:58 +08:00
_Kerman 5d0106771e fix(ptc): render inspected values with Node object formatting 2026-11-10 11:58:10 +08:00
creatixchu 7bba8aa868 Remove implicit observation output from the CUA object API 2026-11-10 11:57:34 +08:00
_Kerman 2bedbf2f2b fix(ptc): align JSON inspection tests and failure handling 2026-11-10 10:45:41 +08:00
Yichen Jiang 0eed137eca Merge pull request #8189 from deepseek-harness/feat/forge-overview
feat(forge): sync viewed files with GitHub and act on the change request overview
2026-11-10 10:18:54 +08:00
turtle1999 6729530215 chore(cua): merge current application selection semantics 2026-11-10 00:01:53 +08:00
turtle1999 8a898cac60 refactor(cua): make native connections own input cleanup 2026-11-09 23:13:36 +08:00
turtle1999 26427a26e1 refactor(ptc): initialize each environment through a registered hook 2026-11-09 22:19:35 +08:00
_Kerman 5bcee95efe fix(ptc): preserve automatic images for unadapted tools 2026-11-09 21:46:06 +08:00
_Kerman 8566fdb439 docs(ptc): complete runtime migration guidance 2026-11-09 21:42:31 +08:00
Yichen Jiang ef22fbe7d3 fix(forge): report unconfirmed writes and harden the overview actions
- ForgeActionFailure gains `unknown` for an answer that does not confirm
  the outcome; the GitHub provider passes it on instead of `failed`, the
  panel Remote refuses with `forgePanel/action-unknown`, a viewed mark
  stays, and the other actions ask the reader to check the browser.
- Reruns skip workflow runs with a pending check, try every finished run,
  and report the refused ones together; the card offers a rerun only when
  a failed check's run has finished.
- Review requests resolve users and teams to node ids and call
  `requestReviews`, which GitHub Enterprise Server 3.19 and 3.20 have;
  bots still go through `requestReviewsByLogin`.
- Viewed marks are kept per change request and head, so a reread at the
  same head keeps writes in flight and their locks, and paths named after
  object properties read only their own entries.
- The reviewer search never chooses from the listing of an earlier query.
- Documentation states the unknown code, the branch update evidence, and
  the `canBeRebased` approximation, and drops stray blank lines.
2026-11-09 20:56:46 +08:00
_Kerman dc240209e3 Merge origin/master into xtr/ptc-inspect-output 2026-11-09 20:27:19 +08:00
_Kerman 52f610de0f docs: refresh PTC runtime attachment dependencies 2026-11-09 19:17:09 +08:00
turtle1999 f0e9dc1c92 fix(cua): support clean source runs and preserve per-mode guidance 2026-11-09 18:17:56 +08:00
_Kerman e1f0a36193 fix(ptc): preserve native console methods 2026-11-09 18:17:19 +08:00
_Kerman a03cf79fc7 Merge origin/master into xtr/ptc-inspect-output 2026-11-09 18:03:41 +08:00