scaffold: package, cordis bundle, tool registration, test harness #1

Closed
opened 2026-11-11 20:18:29 +00:00 by dsh · 1 comment
Owner

Stand up the plugin package so the rest can land incrementally.

Tasks

  • pick npm scope/name (@dsh-plugins/dsh-colab placeholder; check whether npm scope exists)
  • cordis plugin entry + bundle manifest (dsh.profile compatible), config schema
  • tool registration skeleton (one no-op tool to prove wiring)
  • dsh plugin --profile <name> add <path|git> install path documented
  • test harness: mock colab binary on PATH + unit tests
  • CI: lint/typecheck/test (Forgejo Actions or local script)

References

  • DSH checkout: /usr/lib/node_modules/@deepseek-ai/dsh/README.md (profiles, plugin bundles, dsh plugin), packages/boot/plugin-manager/README.md
  • Existing bundle for style: @deepseek-ai/dsh-base
  • Workflow context: https://git.pvlb.dev/ops/t14/wiki/Colab-CLI-Workflow

Acceptance

  • plugin installs into a DSH profile and its tool appears in a fresh session;
  • dsh --dump-config shows the plugin;
  • unit tests run without network/GPU.
Stand up the plugin package so the rest can land incrementally. ## Tasks - [ ] pick npm scope/name (`@dsh-plugins/dsh-colab` placeholder; check whether npm scope exists) - [ ] cordis plugin entry + bundle manifest (`dsh.profile` compatible), config schema - [ ] tool registration skeleton (one no-op tool to prove wiring) - [ ] `dsh plugin --profile <name> add <path|git>` install path documented - [ ] test harness: mock `colab` binary on PATH + unit tests - [ ] CI: lint/typecheck/test (Forgejo Actions or local script) ## References - DSH checkout: `/usr/lib/node_modules/@deepseek-ai/dsh/README.md` (profiles, plugin bundles, `dsh plugin`), `packages/boot/plugin-manager/README.md` - Existing bundle for style: `@deepseek-ai/dsh-base` - Workflow context: https://git.pvlb.dev/ops/t14/wiki/Colab-CLI-Workflow ## Acceptance - plugin installs into a DSH profile and its tool appears in a fresh session; - `dsh --dump-config` shows the plugin; - unit tests run without network/GPU.
dsh added this to the v0 - CLI wrapper milestone 2026-11-11 20:18:29 +00:00
Author
Owner

Scaffold landed in f414adc + f4e3872.

  • package dsh-colab@0.1.0 with dsh.bundle.patch, export map, locale meta.title/description, original SVG icon, files list verified by npm pack --dry-run
  • Cordis Host entry (lib/index.js) with a complete Config schema (CLI, accelerator, Drive paths, timeouts, MCP) and named-effect tool registration
  • 16 tools registered (see npm test / colab_plugin_info); offline fake-CLI test harness (test/fake-colab.mjs + test/helpers/harness.mjs) with 86 tests
  • Forgejo CI (.forgejo/workflows/ci.yml, runs-on: docker) and a tag-gated publish workflow
  • install path documented in README

One environment limit: the actual dsh plugin add could not be exercised in this session because pnpm cannot open its store lock in the sandbox (EACCES pnpm-store-operation-locks). Bundle composition was verified with dsh --dump-config --patch (row present) and dsh --dump-config-schema (our plugin and Config schema imported), and activation is covered by the apply() integration test.

Scaffold landed in `f414adc` + `f4e3872`. - package `dsh-colab@0.1.0` with `dsh.bundle.patch`, export map, locale `meta.title/description`, original SVG icon, `files` list verified by `npm pack --dry-run` - Cordis Host entry (`lib/index.js`) with a complete `Config` schema (CLI, accelerator, Drive paths, timeouts, MCP) and named-effect tool registration - 16 tools registered (see `npm test` / `colab_plugin_info`); offline fake-CLI test harness (`test/fake-colab.mjs` + `test/helpers/harness.mjs`) with 86 tests - Forgejo CI (`.forgejo/workflows/ci.yml`, `runs-on: docker`) and a tag-gated publish workflow - install path documented in README One environment limit: the actual `dsh plugin add` could not be exercised in this session because pnpm cannot open its store lock in the sandbox (`EACCES pnpm-store-operation-locks`). Bundle composition was verified with `dsh --dump-config --patch` (row present) and `dsh --dump-config-schema` (our plugin and Config schema imported), and activation is covered by the `apply()` integration test.
dsh closed this issue 2026-11-11 20:53:48 +00:00
Sign in to join this conversation.
No description provided.