Commit Graph
65 Commits
Author SHA1 Message Date
bowenliang123 021db5f2a2 build: migrate tsup to tsdown, mirroring the official client-bundle preset
- banner/intro/footer three-part closure-factory wrap (verbatim from
  packages/client/tsdown.client.ts), intro now owns var module/exports
- deps.neverBundle/alwaysBundle guards: host keeps production deps
  external, client keeps only module-table specifiers external
- bundle purity gate: any non-requested @deepseek-ai/* value import is
  a build error (INLINE_SAFE / vendored-library / generated-remote
  allowances mirrored)
- NODE_ENV + import.meta.env defines for inlined node-idiom deps
- client sourcemap on, matching the official artifact contract
- client smoke test now runs the bundle verbatim through the
  __ModuleLoader__ handoff instead of slicing the factory body by
  exact output strings (decoupled from bundler layout)
2026-08-22 02:14:44 +08:00
bowenliang123 798d902c4d chore: bump version to 0.22.0 2026-08-22 01:43:37 +08:00
bowenliang123 bfb99a4827 chore: bump version to 0.21.1 2026-08-21 23:15:22 +08:00
bowenliang123 0a028ace6f chore: bump version to 0.21.0 2026-08-21 20:41:18 +08:00
bowenliang123 57f7ca013d chore: move zod from dependencies to peerDependencies (optional)
zod is already a dependency of @deepseek-ai/dsh-session-projection,
so the host dsh environment always provides it. Moving it to
peerDependencies avoids duplicate zod installations and lets the
plugin resolve the same zod instance as the framework.

- dependencies: remove zod (now empty)
- peerDependencies: add zod ^4.4.3
- peerDependenciesMeta: mark zod as optional
- tsup.config.ts: update comment to reflect peer dep status
- version: bump 0.20.0 -> 0.20.1
2026-08-21 18:00:41 +08:00
bowenliang123 52fbb1bfa7 chore: bump version to 0.20.0 2026-08-21 17:01:32 +08:00
bowenliang123 dec8b16e62 chore: shorten homepage link 2026-08-21 14:05:13 +08:00
Bowen Liang 85076ae10c chore: bump version to 0.19.2
Lower @deepseek-ai/dsh-client-ui-primitives, @deepseek-ai/dsh-session and
@deepseek-ai/dsh-session-projection peer and dev deps from ^0.1.0-rc.8 to
^0.1.0-rc.7 so the package declares compatibility with the DSH Community
Market desktop runtime (currently @deepseek-ai/dsh 0.1.0-rc.7).
2026-08-20 23:38:48 +08:00
Bowen Liang aa768c76a1 chore: bump version to 0.19.1 2026-08-20 22:44:29 +08:00
Bowen Liang ad5433bf34 chore: bump version to 0.19.0 2026-08-20 21:59:11 +08:00
bowenliang123 b34b24b971 build: add watch script for tsup 2026-08-20 17:06:26 +08:00
bowenliang123 54fadb8b83 chore: bump version to 0.18.0 2026-08-20 16:16:53 +08:00
bowenliang123 dab80c6232 build: switch to tsup and declare harness runtime deps as peers
Replace the hand-rolled esbuild script (scripts/build.mjs) with a single
tsup config that already existed but never ran: tsup re-bundles the config
into a temp .mjs, so import.meta.url pointed at the temp dir and the
package.json read failed, silently leaving no entries. Read the manifest
from process.cwd() instead. The host half now keeps @deepseek-ai/dsh-session
external (resolving to the harness's single runtime instance) instead of
inlining it; the client half keeps the __ModuleLoader__.load wrap.

Align deps with the official dsh convention: runtime harness packages
(cordis, dsh-session, client-ui-primitives, react) move to peerDependencies
with dev mirrors (client-only ones optional); zod stays a dependency;
exact rc pins become caret ranges (^0.1.0-rc.8) so rc9/0.2 releases don't
break installs. Drop the esbuild devDependency (tsup brings its own) and
add tsup itself.
2026-08-20 16:09:16 +08:00
Bowen Liang 19731afd86 chore: bump version to 0.17.0 2026-08-20 05:02:43 +08:00
Bowen Liang 9aad20a20e chore: bump version to 0.16.0 2026-08-20 01:29:37 +08:00
Bowen Liang c535c3b7bc chore: align @deepseek-ai/dsh-* devDeps with dsh 0.1.0-rc.8
Bump @deepseek-ai/dsh-session, dsh-session-projection, dsh-client-ui-primitives
to 0.1.0-rc.8 to match the released @deepseek-ai/dsh@0.1.0-rc.8 contract.

Drop @deepseek-ai/dsh-token-meter: only referenced in comments, never
imported. Runtime occupancy is read from the official 'contextPressure'
projection key registered by dsh itself; pricing is computed locally in
src/host/pricing.ts.

@deepseek-ai/cordis stays at ^4.0.1 (already matches dsh 0.1.0-rc.8).
2026-08-20 00:59:23 +08:00
Bowen Liang e06178795a chore: bump version to 0.15.0 2026-08-19 19:57:00 +08:00
Bowen Liang 9e3434d093 chore: move playwright-core to devDependencies 2026-08-19 19:56:45 +08:00
bowenliang123 15a822d237 doc: refresh social preview with updated context-overview screenshot
Add docs/social-preview/ template + Node.js generator (playwright-core,
2x render + high-quality downsample) and register npm run social-preview.
2026-08-19 17:37:29 +08:00
bowenliang123 485da5486e chore: bump version to 0.14.0 2026-08-19 15:54:03 +08:00
Bowen Liang 3cf7a94c90 chore: bump version to 0.13.0
Add the dsh-plugin-checker job to the release workflow, verifying the
plugin manifest, installability, and bundle layer before publishing.
2026-08-19 00:13:50 +08:00
Bowen Liang 02c2d3765b chore: move the register command into a scripts/register.sh script 2026-08-18 21:23:12 +08:00
Bowen Liang 8c24125153 chore: bump version to 0.12.2 2026-08-18 20:53:37 +08:00
Bowen Liang 2dab549f98 fix: remove the husky pre-commit check to comply with DeepSeek Harness Desktop's plugin install verification requirements 2026-08-18 20:52:24 +08:00
bowenliang123 1e4efc4e3e chore(release): bump version to 0.12.1 2026-08-18 15:28:53 +08:00
bowenliang123 fb3c79212c chore: add register npm script for dsh web plugin 2026-08-18 11:11:30 +08:00
Bowen Liang cf286766bc chore: bump version to 0.12.0 2026-08-18 04:27:36 +08:00
Bowen Liang 81b9ecd7f0 context browser 1 2026-08-18 02:34:58 +08:00
Bowen Liang c229fd1d9b chore(deps): bump @deepseek-ai/dsh-* dev deps from 0.1.0-rc.6 to 0.1.0-rc.7 2026-08-17 21:31:57 +08:00
bowenliang123 8b990ed08e chore: bump version to 0.11.2 2026-08-17 16:51:48 +08:00
bowenliang123 4ae0e2f560 chore: bump version to 0.11.1 2026-08-17 16:12:45 +08:00
bowenliang123 e34e03d1bd chore: bump version to 0.11.0 2026-08-17 15:58:09 +08:00
bowenliang123 66edd1dee9 docs: update project description 2026-08-17 14:49:18 +08:00
bowenliang123 ec108bb7a7 chore: bump version to 0.10.3 2026-08-17 11:39:06 +08:00
bowenliang123 19733b9a4d chore: bump version to 0.10.2 2026-08-17 07:01:55 +08:00
bowenliang123 a4deb93e21 chore: bump version to 0.10.1 2026-08-17 00:14:18 +08:00
bowenliang123 1c6fe29021 chore: bump version to 0.10.0 2026-08-16 23:40:42 +08:00
bowenliang123 23a8cb40f3 doc: fix the social image on readme and the description for pacakge 2026-08-16 22:47:40 +08:00
bowenliang123 008018a66f docs: refresh README with the /context command and a new hero shot
- Hero image is now a real capture of the /context centered dialog
  (docs/context-command.png).
- Intro rewritten around the two surfaces: the Context tab and the
  client-owned /context command (no model traffic, no message history).
- New "Use it" section documenting the command's invocation, closing
  interactions, and the deferred composer-token consumption.
- package.json description updated to match.
2026-08-16 22:45:06 +08:00
bowenliang123 38dbd2ad92 refactor(ui): move the context tab onto the harness's React stack
All view components are now tsx JSX function components instead of
hand-rolled h() factories; the bundle externalizes the framework seed words
(react, @deepseek-ai/dsh-client-ui-primitives) so the loader module table
resolves the single shared framework instance at runtime.

Reuses shared ui-primitives where a clean fit exists (injection and
model-switch event glyphs -> IconPlusOutline16/IconBranchOutline16); the
bespoke data-viz chrome (charts, shared-hover tooltip) intentionally stays
custom but continues to draw the shared --dsw-alias-* tokens.

esbuild uses the classic JSX transform, so the emitted createElement trees
are isomorphic to the previous h() calls and the element-parsing tests, the
chart-render assertions, and the real-React repro all stay green unchanged.
Adds @deepseek-ai/dsh-client-ui-primitives as a type devDep and documents the
framework-reuse findings in docs/redesign.md §8.
2026-08-16 03:51:00 +08:00
bowenliang123 6bebd495e9 feat: route context timeline through the harness session-projection pipeline
Replace the custom /dsh-context RPC channel + 2s client polling with a native
contextTimeline session-projection unit: the host registers one pure
init/apply/view unit on ctx.sessionProjections (framework-driven, persisted by
the projection cache, streamed via session/projection push frames), and the
client reads the finished value through the framework standard
useProjection seat. Deletes the client stale-while-revalidate cache and the
local service type stubs; grows the modern shelf registration (locale) and
adds the published @deepseek-ai/* types as devDeps plus zod as the single
runtime dependency (wire schema, kept external in the host bundle).

Fixes tool-result node attribution to read the durable source.callId /
content toolCallId instead of the never-present block.callId (tool labels had
silently never rendered).

Retention is tightened to trim by whole turn-runs deterministically (bounded
state, no 1200<->1500 oscillation under incremental folding).

Tests now drive the projection unit directly (host) and feed the view through
a useProjection stub (client); all chart/render assertions preserved. Adds
docs/redesign.md (review + target architecture, phases 0-3 landed) and
docs/CLIENT_SURFACE.md (client-side audit).
2026-08-16 03:25:01 +08:00
bowenliang123 a50a8f1b19 chore: bump version to 0.8.0 2026-08-16 01:33:43 +08:00
bowenliang123 b96eacad49 chore: bump version to 0.7.3 2026-08-15 03:25:08 +08:00
bowenliang123 a162876329 chore: bump version to 0.7.2 2026-08-15 03:11:31 +08:00
bowenliang123 4171e214f7 chore: bump version to 0.7.1 2026-08-15 02:57:22 +08:00
bowenliang123 82176d4f95 docs: user-focused README with badges and fresh feature screenshots 2026-08-15 02:48:33 +08:00
bowenliang123 4f3675b51a chore: bump version to 0.7.0 2026-08-15 02:23:54 +08:00
bowenliang123 4ad06a1ccc chore: move tests to tests/, add repro script, document the new structure 2026-08-15 02:19:39 +08:00
bowenliang123 fa85b6f37b chore: bump version to 0.6.2 2026-08-15 01:17:50 +08:00
bowenliang123 86b189e6e0 chore: bump version to 0.6.1 2026-08-14 23:52:04 +08:00