super-dsh 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # super-dsh — Agent Worlds for the DeepSeek Harness
2
+
3
+ One [DSH](https://www.npmjs.com/package/@deepseek-ai/dsh) plugin that joins local
4
+ foreign-agent runtimes into the DSH Web UI: a runtime selector in the sidebar,
5
+ a live roster, and one zero-port world per runtime mounted under `/<label>` —
6
+ same browser shell, same auth domain, per-world session separation.
7
+
8
+ **Owns no runtimes and stores no conversations.** Every adapter keeps its
9
+ native home and session format (`~/.omp`, `~/.codex`, `~/.claude`, `~/.pi`,
10
+ Hermes native, Antigravity SDK); the DSH session log inside each world's nested
11
+ home is an explicit duplicate (producer/bridge architecture), never a fork of
12
+ the foreign store.
13
+
14
+ ## Install
15
+
16
+ ```bash
17
+ dsh plugin --profile <name> add super-dsh@0.1.0
18
+ ```
19
+
20
+ That single package composes the whole line (`@pgmi-builds/agent-hub` plus the
21
+ six `@pgmi-builds/agent-adapter-*` packages). Restart the profile and the
22
+ sidebar gains the runtime selector; each world provisions its own nested DSH
23
+ home under `<DSH_HOME>/agents/<label>/` on first boot.
24
+
25
+ ## Runtimes
26
+
27
+ | Label | Runtime | Integration |
28
+ |---|---|---|
29
+ | OMP | OMP (`~/.omp`) | in-process SDK sidecar, lazy per session |
30
+ | Codex | Codex CLI (`~/.codex`) | adapter world plugin |
31
+ | Claude | Claude Code (`~/.claude`) | standalone adapter, joined by the hub |
32
+ | Pi | pi coding agent (`~/.pi`) | in-process SDK |
33
+ | Hermes | Hermes (`~/.hermes`) | gateway child |
34
+ | Antigravity | agy SDK | Python bridge (`bridge/agy_bridge.py`) |
35
+
36
+ ## Design
37
+
38
+ - **S1** selector handoff is one hop; the dispatcher never addresses sessions.
39
+ - **S2** activation is roster membership; worlds spawn as sibling roots
40
+ (`boot()` on the CTX0 tree), never through `runProfile()`.
41
+ - **S3/S7** `<DSH_HOME>/agents/<runtime>/` is that runtime's whole world; native
42
+ app data stays in the native home; one-way valve — never read back.
43
+ - **S4** worlds own no port; delegation is in-process (zero-byte proxying).
44
+ - **S6** the router is dumb: consumer switching + new-session generator only.
45
+
46
+ Full topology: the `superd` monorepo (`github.com/pgmi-builds/superd`),
47
+ `super-dsh/AGENTS.md` + `docs/00-blueprint.md` (v0.4a) + ADR 0001–0007.
package/client.js ADDED
@@ -0,0 +1,4 @@
1
+ // super-dsh client face — re-export the hub's client half (selector mount:
2
+ // sidebar footer action + runtime seat). The dsh web app resolves this
3
+ // package's `./client` subpath via the `dsh.client` manifest in package.json.
4
+ export { apply, inject } from '@pgmi-builds/agent-hub/client'
@@ -0,0 +1,41 @@
1
+ # super-dsh — the Agent Worlds composite bundle (one `dsh plugin add` face).
2
+ #
3
+ # Composes the whole line onto the host profile, smoke.mjs ctx0 parity:
4
+ # - the hub (selector + roster + per-world mount carrier + V5 gateway
5
+ # delegation — wraps the live typertGateway, upstream dispatch untouched);
6
+ # - one world plugin per adapter (activation IS roster membership, S2) —
7
+ # each spawns its own zero-port sibling root and mounts under `/<label>`;
8
+ # - the generic hub joiner for the claude adapter (ships standalone, R2);
9
+ # - the directory-picker browse pair + auto picker off (the line's server
10
+ # posture: no DISPLAY/zenity dependency on the host machine).
11
+ #
12
+ # Per-guidelines (docs/06 §二.5): these insert rows are the plugin page's
13
+ # "Components" lines; profile-layer values (webserver port/host, settings
14
+ # path) stay in the USER's profile patch, never here.
15
+ - insert:
16
+ - id: agent-hub
17
+ name: '@pgmi-builds/agent-hub'
18
+ - id: aw-agent-adapter-omp
19
+ name: '@pgmi-builds/agent-adapter-omp/world'
20
+ - id: aw-agent-adapter-codex
21
+ name: '@pgmi-builds/agent-adapter-codex/world'
22
+ - id: aw-agent-adapter-pi
23
+ name: '@pgmi-builds/agent-adapter-pi/world'
24
+ - id: aw-agent-adapter-hermes
25
+ name: '@pgmi-builds/agent-adapter-hermes/world'
26
+ - id: aw-agent-adapter-agy
27
+ name: '@pgmi-builds/agent-adapter-agy/world'
28
+ # R2 (2026-09-16): the claude adapter ships STANDALONE only — its /world
29
+ # entry is inert. The HUB side joins it: one generic joiner row with the
30
+ # key; spawn/roster/mount wiring lives in @pgmi-builds/agent-hub/join.
31
+ - id: aw-world-join-claude
32
+ name: '@pgmi-builds/agent-hub/join'
33
+ config:
34
+ key: claude
35
+ label: Claude
36
+ - id: directory-picker-browse
37
+ name: '@deepseek-ai/dsh-host-directory-picker-browse'
38
+ - id: directory-picker-browse-surface
39
+ name: '@deepseek-ai/dsh-client-ui-directory-picker-browse'
40
+ - id: directory-picker
41
+ disabled: true
package/package.json ADDED
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "super-dsh",
3
+ "version": "0.1.0",
4
+ "description": "Agent Worlds for the DeepSeek Harness (DSH) — one dsh plugin that mounts the agent hub (runtime selector, roster, per-runtime worlds) and joins local foreign-agent runtimes (OMP, Codex, Claude, Pi, Hermes, Antigravity) into the DSH Web UI. Each runtime keeps its native home and session store; the hub only bridges.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/pgmi-builds/superd.git"
10
+ },
11
+ "exports": {
12
+ "./client": "./client.js"
13
+ },
14
+ "files": [
15
+ "cordis.patch.yml",
16
+ "client.js",
17
+ "README.md"
18
+ ],
19
+ "dsh": {
20
+ "bundle": {
21
+ "patch": "./cordis.patch.yml"
22
+ },
23
+ "client": {
24
+ "inject": [
25
+ "@deepseek-ai/dsh-client-ui-slots"
26
+ ],
27
+ "platform": "web"
28
+ }
29
+ },
30
+ "dependencies": {
31
+ "@pgmi-builds/agent-hub": "0.1.0",
32
+ "@pgmi-builds/agent-adapter-agy": "0.1.0",
33
+ "@pgmi-builds/agent-adapter-claude": "0.1.0",
34
+ "@pgmi-builds/agent-adapter-codex": "0.1.0",
35
+ "@pgmi-builds/agent-adapter-hermes": "0.1.0",
36
+ "@pgmi-builds/agent-adapter-omp": "0.1.0",
37
+ "@pgmi-builds/agent-adapter-pi": "0.1.0"
38
+ },
39
+ "peerDependencies": {
40
+ "@deepseek-ai/cordis": "^4.0.1",
41
+ "@deepseek-ai/dsh-agent": "0.1.5-rc.2",
42
+ "@deepseek-ai/dsh-agent-presets": "0.1.5-rc.2",
43
+ "@deepseek-ai/dsh-api-gateway": "*",
44
+ "@deepseek-ai/dsh-commands": "0.1.5-rc.2",
45
+ "@deepseek-ai/dsh-home-paths": "0.1.5-rc.2",
46
+ "@deepseek-ai/dsh-host-webserver": "*",
47
+ "@deepseek-ai/dsh-llm": "0.1.5-rc.2",
48
+ "@deepseek-ai/dsh-scope": "0.1.5-rc.2",
49
+ "@deepseek-ai/dsh-session": "0.1.5-rc.2",
50
+ "@deepseek-ai/dsh-session-persistence": "0.1.5-rc.2",
51
+ "@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.2",
52
+ "@deepseek-ai/dsh-user-approval": "0.1.5-rc.2",
53
+ "@deepseek-ai/dsh-user-questions": "0.1.5-rc.2"
54
+ },
55
+ "peerDependenciesMeta": {
56
+ "@deepseek-ai/cordis": { "optional": true },
57
+ "@deepseek-ai/dsh-agent": { "optional": true },
58
+ "@deepseek-ai/dsh-agent-presets": { "optional": true },
59
+ "@deepseek-ai/dsh-api-gateway": { "optional": true },
60
+ "@deepseek-ai/dsh-commands": { "optional": true },
61
+ "@deepseek-ai/dsh-home-paths": { "optional": true },
62
+ "@deepseek-ai/dsh-host-webserver": { "optional": true },
63
+ "@deepseek-ai/dsh-llm": { "optional": true },
64
+ "@deepseek-ai/dsh-scope": { "optional": true },
65
+ "@deepseek-ai/dsh-session": { "optional": true },
66
+ "@deepseek-ai/dsh-session-persistence": { "optional": true },
67
+ "@deepseek-ai/dsh-typert-protocol": { "optional": true },
68
+ "@deepseek-ai/dsh-user-approval": { "optional": true },
69
+ "@deepseek-ai/dsh-user-questions": { "optional": true }
70
+ },
71
+ "publishConfig": {
72
+ "access": "public"
73
+ }
74
+ }