Commit Graph
155 Commits
Author SHA1 Message Date
涂轶翔 ae24f608a6 Merge pull request #7415 from deepseek-harness/feat/windows-writable-directory-sets
fix(sandbox): keep Windows extra directory grants in file tools
2026-11-05 11:39:50 +08:00
Turtle 38c7a9fbf4 feat(release): publish package source, declaration maps, and documentation (#5884)
* feat(release): publish package source, declaration maps, and documentation

Every release member publishes its TypeScript source and the declaration
maps that resolve into it, and @deepseek-ai/dsh publishes the repository
Markdown documentation staged from docs/ at prepack time.

The ./src/* export most members already declared now resolves for an
installed consumer, and a consumer editor follows a declaration to the
implementation. Bundled JavaScript maps stay unpublished; the vendored
family and the Desktop runtime file policy are unchanged.

Rationale: .agents/notes/implemented/process/2026-10-08-published-source-and-docs.md

* feat(release): publish JavaScript maps and compress bundles

Every emitted JavaScript map ships beside the bundle it describes, and the
workspace build and the client preset compress bundles without mangling
identifiers.

The documentation payload now mirrors the website publication manifest and
is removed again by `postpack`; Desktop and the Python executable exclude
the published source, documentation, and maps; `clean` removes a staged
copy. Typert's publication contract gains the Remote declaration map.

* fix(release): keep node bundles readable for the worker image

The browser worker image lowers `yield*` only as a whole statement and
rewrites `for await` loops by their source layout, so compressed node-side
entries either fail that lowering or lower to unparseable code. Only the
browser bundles keep compression, which removes about a third of their text.

The bundle-purity assertion now matches the module-loader call regardless of
the quote style compression picks, and the release-pack fixture exercises
the installed package's new documentation requirement.

* feat(release): publish the whole documentation tree

`@deepseek-ai/dsh` copies `docs/` in full instead of the website's page
set: the maintainer documents, the generated migration records, the
translation guidelines, and the `*.i18n.yaml` consistency records ship
with the installed package, so the documentation's own links resolve
without a checkout.

* feat(release): publish the upgrade guides with the documentation

The staged documentation keeps the website's page set and adds every
`docs/upgrade-guide/` document, which is what an installed reader consults
when a released change breaks something. The rest of the maintainer tree
stays out.

* test(release): expect source and maps in master's new payload cases

* feat(release): keep installed docs and source readable in Desktop

Desktop keeps the published src/ and docs/ trees inside app.asar, and
every model shell call receives DSH_INSTALL_DIR and DSH_NODE_EXECUTABLE
so an agent can read them through Electron's Node mode. Staging also
generates docs/upgrade-guide/README.md, an index of the upgrade guides
grouped by the release they upgrade from.

Minified client bundles print string literals with backticks: the
worker image packer now recognizes those chunk requests, client license
banners are prepended after minification so their text survives, and
the affected artifact tests accept either quote.

* test(desktop): read archived docs through the Windows PowerShell form

Regenerate the config catalog for the shifted shell-env source line.

* test(desktop): wait for the GUI-subsystem Electron process from PowerShell

* build(release): publish source and maps from the message-quotes package

* build(release): publish source and maps from packages new on master

* build(release): publish source and maps from the tool-office package
2026-11-05 00:22:36 +08:00
Yixiang Tu 69e6199cb7 test(sandbox): canonicalize roots allocated under home 2026-11-04 16:06:17 +08:00
imccyu abc0e7092b Merge remote-tracking branch 'origin/release/dsh-0.2.2' into merge/release-dsh-0.2.2-rc.1-to-master
# Conflicts:
#	packages/client/ui-agent-team/package.json
#	packages/client/ui-brand-official/package.json
#	packages/client/ui-open-in-app/package.json
#	packages/client/ui-settings-web-search/package.json
#	packages/experimental/agent-team-profile/package.json
#	packages/team/agent-team/package.json
#	packages/web/web-search-exa/package.json
#	packages/web/web-search-perplexity/package.json
2026-11-04 15:59:50 +08:00
imccyu 2f97f60455 release(dsh): 0.2.2-rc.1 2026-11-04 15:50:06 +08:00
Yixiang Tu e032300b4e fix(sandbox): use current grants after failed PTC startup 2026-11-04 15:11:17 +08:00
Yixiang Tu f5dea38671 feat(sandbox): add session-scoped writable directory effects 2026-11-04 15:11:17 +08:00
_Kerman ab2bee0051 Merge remote-tracking branch 'origin/master' into xtr/ptc-timeout-step-1 2026-11-03 20:12:59 +08:00
imccyu f590c13c92 Merge master into worktree-sync-dsh-0.2.2-to-master-1103b 2026-11-03 15:10:23 +08:00
imccyu 1c78d475bf release(dsh): 0.2.2-alpha.3 2026-11-03 13:37:26 +08:00
_Kerman 5cf9348314 refactor(ptc-runtime-node): reuse sequential RPC evaluation lifecycle 2026-10-30 20:55:23 +08:00
_Kerman adc54201f3 fix(ptc-runtime-node): preserve existing native output behavior 2026-10-30 20:54:53 +08:00
_Kerman 3ff5f9a034 refactor(ptc-runtime-node): separate interruption from termination 2026-10-30 20:27:25 +08:00
_Kerman 964231856d refactor(ptc): reuse run completion for cooperative stop 2026-10-30 17:00:42 +08:00
imccyu 5c2826eae5 Revert "feat(client): expose stable composer prefill API" 2026-10-30 13:59:08 +08:00
_Kerman 718f28ee9a refactor(ptc): simplify model-visible state and recovery messages 2026-10-30 11:30:37 +08:00
liukx0205 59ba482af7 Merge remote-tracking branch 'origin/master' into feat/composer-prefill-api
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
#	packages/client/ui-conversation/README.md
#	packages/client/ui-conversation/README.zh.md
#	packages/client/ui-sidebar-right/tests/expand-button.client.spec.tsx
#	packages/client/ui-sidebar-right/tests/guide-body.client.spec.tsx
#	packages/client/ui-sidebar-terminal/tests/terminal-guide.client.spec.tsx
#	packages/session-query/session-log-export/tests/header-action.client.spec.tsx
#	scripts/rescope-vendor.ts
2026-10-29 23:45:23 +08:00
_Kerman 7d20d1c361 fix(ptc-runtime-node): contain teardown and validate bootstrap readiness 2026-10-29 21:58:51 +08:00
_Kerman 9800c764ef feat(ptc-runtime-node): preserve state after cooperative cancellation 2026-10-29 21:22:25 +08:00
_Kerman c400f504e6 Merge remote-tracking branch 'origin/master' into xtr/ptc-runner-imports 2026-10-28 21:12:04 +08:00
imccyu 00d541438b release(dsh): 0.2.2-alpha.2 2026-10-28 02:03:15 +08:00
imccyu 69c389ae11 release(dsh): 0.2.2-alpha.1 2026-10-28 00:00:58 +08:00
liukx0205 f31ee74c28 test(ptc-runtime-node): synchronize hot-loop cancellation without RPC 2026-10-27 20:01:58 +08:00
_Kerman 7c0af3101b refactor(ptc): reuse native module format resolution 2026-10-26 22:05:56 +08:00
_Kerman 73f3c6c6f9 fix(ptc): pin private package metadata reader dependency 2026-10-26 21:08:02 +08:00
_Kerman cf6e05df6d fix(ptc): preserve import semantics across evaluation lifetimes 2026-10-26 21:07:10 +08:00
_Kerman 7fad73160d Merge remote-tracking branch 'origin/master' into xtr/ptc-runner-imports 2026-10-26 17:15:55 +08:00
imccyu 6a19d120c9 Merge master into DSH 0.2.1-rc.4 synchronization branch 2026-10-26 16:18:13 +08:00
imccyu 3014b0af0f Merge master into DSH 0.2.1-rc.4 synchronization branch 2026-10-26 01:29:12 +08:00
imccyu 341beb33c0 release(dsh): 0.2.1-rc.4 2026-10-26 00:57:37 +08:00
_Kerman dc3754d252 Merge remote-tracking branch 'origin/master' into xtr/ptc-vm-script
# Conflicts:
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/ptc-runtime/ptc-runtime-node/package.json
2026-10-23 17:09:31 +08:00
imccyu 14f0b2aafe Merge master into DSH 0.2.1-rc.3 synchronization branch 2026-10-23 11:56:34 +08:00
imccyu d02ea370ee release(dsh): 0.2.1-rc.3 2026-10-23 01:11:35 +08:00
07akioni 84edeadc2b feat(i18n): add Spanish French German Russian and Portuguese 2026-10-22 19:53:52 +08:00
_Kerman 9d56130730 fix(ptc): refresh imported process environment after scrubbing 2026-10-22 11:10:47 +08:00
_Kerman 8faf20f660 Merge latest xtr/ptc-vm-script into xtr/ptc-runner-imports 2026-10-22 11:07:30 +08:00
_Kerman 67911ed176 fix(ptc): describe fresh Script failures without retained state 2026-10-21 19:51:52 +08:00
_Kerman 09c7036e05 fix(ptc): retain control transport errors in worker exit diagnostics 2026-10-21 19:51:51 +08:00
_Kerman c905726461 fix(ptc): allow local process declarations in function bodies 2026-10-21 19:51:50 +08:00
_Kerman 25ede01a8b fix(ptc): preserve compact declarations and native syntax diagnostics 2026-10-21 19:51:49 +08:00
_Kerman 83b04dd138 Merge latest xtr/ptc-vm-script into xtr/ptc-runner-imports 2026-10-21 18:55:50 +08:00
_Kerman 7c86126642 Merge latest master into xtr/ptc-vm-script 2026-10-21 18:25:41 +08:00
_Kerman b43a01e285 Merge master into xtr/session-store-write-lifecycle 2026-10-21 18:16:23 +08:00
_Kerman 5dcb912b1b refactor(cua): delegate retained execution settings to Node provider 2026-10-21 16:47:32 +08:00
_Kerman ac0816e573 refactor(ptc-runtime-node): centralize cross-realm exception formatting 2026-10-21 16:47:08 +08:00
_Kerman 73a5e63894 fix(ptc-runtime-node): report clearing only for retained executions 2026-10-21 16:46:56 +08:00
_Kerman 8d0277d029 test(ptc-runtime-node): allow platform-sized REPL diagnostics 2026-10-21 16:46:26 +08:00
07akioni ed783066e6 fix(i18n): complete Japanese plugin metadata and guard locale coverage 2026-10-21 16:14:12 +08:00
_Kerman 4b06d5bf80 refactor(ptc-runtime-node): remove unused bootstrap paths 2026-10-21 16:00:30 +08:00
_Kerman 2b7b2a0ee6 refactor(ptc): share the program format type 2026-10-21 15:59:56 +08:00