Commit Graph
55 Commits
Author SHA1 Message Date
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
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
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
creatixchu 4247226074 refactor(plugins): drop catalog listedByDefault after Computer Use leaves the on-demand catalog
No on-demand catalog entry declares listedByDefault once Computer Use
ships with the installation, so the generator field, catalog type, and
plugin-manager propagation lose their only consumer. Also correct the
packed-worker comment and the Computer Use README wording.

Refs #7514
2026-10-29 13:40:54 +08:00
creatixchu 3b544b0416 feat(cua): ship Computer Use as an optional bundle in the Experimental plugins list
Refs #7514
2026-10-29 13:40:54 +08:00
creatixchu 077ec64ac2 Merge remote-tracking branch 'origin/master' into feat/cua-desktop-delivery
# Conflicts:
#	apps/web/tests/preview-boot.e2e.ts
#	packages/client/ui-plugin-manager/README.i18n.yaml
#	scripts/tests/ci-release-selfhosted.spec.ts
#	snapshots/web/creation-recommendations/session.v4.jsonl
2026-10-28 14:08:20 +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
creatixchu e6adfaeab2 Merge remote-tracking branch 'origin/feat/cua-helper-permissions' into feat/cua-desktop-delivery
# Conflicts:
#	snapshots/web/creation-recommendations/session.v4.jsonl
2026-10-27 18:20:31 +08:00
creatixchu 650df8360a fix(cua): validate archive entries and preserve installed plugin controls 2026-10-27 17:10:36 +08:00
creatixchu dbd881ab46 feat(cua): deliver notarized helpers through on-demand plugin installation 2026-10-27 17:07:25 +08:00
imccyu 6d4faf5423 release(dsh): align master packages with 0.2.1-rc.4 2026-10-26 01:31:00 +08:00
creatixchu 8860e05045 docs(cua): keep documentation changes focused on consent 2026-10-25 16:23:53 +08:00
creatixchu fc6e370457 Merge master after platform support landed 2026-10-25 13:41:24 +08:00
creatixchu cf65ee6e01 Merge master into bundle Host platform support 2026-10-25 11:58:20 +08:00
CreatixChu 17b13383af fix(plugins): 默认隐藏 CUA 并保留已启用用户的管理入口 (#7068)
* fix(plugins): temporarily hide the CUA bundle

* test(plugins): update expectations for hidden CUA

* fix(cua): preserve management for enabled bundles

* test(cua): cover default-hidden activation and retained details

* test(cua): verify installed state survives disabling

* test(cua): use the native provider display name
2026-10-23 22:54:03 +08:00
creatixchu 205a465046 feat(plugins): hide unsupported bundles from default discovery 2026-10-23 14:10:57 +08:00
creatixchu d7e6274489 Merge platform review fixes and master into CUA permissions 2026-10-23 13:19:31 +08:00
creatixchu 82bbf85894 fix(plugins): report unsupported bundle activation and address review 2026-10-23 13:15:05 +08:00
creatixchu 2e0cc478e8 Merge master into bundle Host platform support 2026-10-23 13:12:09 +08:00
imccyu 00e06cfac9 release(dsh): align master packages with 0.2.1-rc.3 2026-10-23 12:02:11 +08:00
07akioni 84edeadc2b feat(i18n): add Spanish French German Russian and Portuguese 2026-10-22 19:53:52 +08:00
creatixchu 47e16be285 Merge updated platform base into CUA permissions 2026-10-21 16:27:33 +08:00
creatixchu 684bb206af Merge master into bundle platform support 2026-10-21 16:22:55 +08:00
07akioni ed783066e6 fix(i18n): complete Japanese plugin metadata and guard locale coverage 2026-10-21 16:14:12 +08:00
Turtle b9d049d041 fix(plugins): use sentence case for built-in plugin English copy
Refs #6790
2026-10-21 11:28:26 +08:00
creatixchu 433fd441eb Merge updated platform base into CUA permissions 2026-10-21 10:45:37 +08:00
creatixchu be0c971766 Merge updated approval base into bundle platform support 2026-10-21 10:42:25 +08:00
creatixchu 2a29b3f3b4 style(cua): restore the selected third headline position 2026-10-20 21:09:36 +08:00
creatixchu 7edaabb421 style(cua): align Latin lettering with the Chinese headline baseline 2026-10-20 20:49:52 +08:00
creatixchu 1a53ab50fb style(cua): use DSH headlines with serif lettering in previews 2026-10-20 20:31:09 +08:00
creatixchu 920ef4bf5e docs(cua): describe preview content and remove duplicate layout prose 2026-10-20 19:49:44 +08:00
creatixchu cb2f2bca47 feat(cua): replace the plugin icon with the supplied pointer artwork 2026-10-20 19:39:53 +08:00
creatixchu 97a571556e refactor(cua): remove redundant bundle metadata and build prewarm 2026-10-20 15:31:28 +08:00
creatixchu c7b6fba276 feat(plugins): enforce bundle Host platform support 2026-10-20 15:28:55 +08:00
creatixchu ebe5e587eb feat(cua): show a localized feature preview in plugin details 2026-10-20 14:17:03 +08:00
creatixchu 3c3e0583e5 Merge remote-tracking branch 'origin/feat/cua-approval-format' into feat/cua-permission-onboarding
# Conflicts:
#	apps/web/tests/cua-optin.e2e.ts
#	apps/web/tests/expected/plugin-config/official.expected.md
#	apps/web/tests/expected/plugin-manager/live-enabled.expected.md
#	apps/web/tests/expected/plugin-manager/manager.expected.md
#	apps/web/tests/plugin-manager.e2e.ts
#	packages/api/session-controller/README.i18n.yaml
#	packages/client/ui-plugin-manager/README.i18n.yaml
#	packages/client/ui-plugin-manager/src/client/presentation.ts
#	packages/experimental/cua-bundle/README.i18n.yaml
#	packages/experimental/cua-bundle/README.md
#	packages/experimental/cua-bundle/README.zh.md
#	packages/experimental/cua/tests/application-access.spec.ts
2026-10-20 13:13:41 +08:00
creatixchu d779dda9ab fix(web): move CUA to experimental plugins page 2026-10-20 12:16:39 +08:00
creatixchu 0c59501534 Merge master with CUA onboarding and platform delivery updates 2026-10-19 22:39:36 +08:00
creatixchu 539716d112 test(cua): satisfy type-aware lint for permission and platform regressions 2026-10-19 22:00:42 +08:00
creatixchu 35ba8ad66d test(cua): cover platform inference and disabled native provider in preview 2026-10-19 21:33:04 +08:00
creatixchu 587ee17853 test(cua): isolate package manager caches and narrow Loader importer 2026-10-19 21:31:32 +08:00
creatixchu 2e215f20f9 fix(cua): restrict native package delivery to macOS targets 2026-10-19 21:30:07 +08:00
creatixchu 98f126e032 merge(cua): integrate combined Host and Client package from basic onboarding 2026-10-19 19:53:37 +08:00
creatixchu b40d335e3d refactor(cua): colocate permission UI and narrow package exports 2026-10-19 19:46:13 +08:00
creatixchu 9199e1a795 feat(cua): persist profile and conversation consent in domain storage 2026-10-19 18:47:55 +08:00
creatixchu 4b7df02769 test(cua): separate Coding Tools and preset selection scenarios 2026-10-19 15:53:14 +08:00
creatixchu 74e178cb03 refactor(cua): remove automatic Coding Tools configuration 2026-10-19 15:48:20 +08:00