better-dsh 0.0.0 → 0.2.3
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/LICENSE +24 -0
- package/README.md +294 -4
- package/control-prompt.md +37 -0
- package/cordis.patch.yml +53 -0
- package/docs/00_adr/0001-bridge-tool-layer-not-service-layer.md +14 -0
- package/docs/00_adr/0002-masking-is-presentation-only.md +15 -0
- package/docs/10_plans/A2A-messaging-channel-test-archive.md +256 -0
- package/docs/10_plans/code-mode-vs-rlm-ipython-comparison.md +137 -0
- package/docs/10_plans/dashr-blueprint-review.md +201 -0
- package/docs/10_plans/dashr-blueprint.md +561 -0
- package/docs/10_plans/dashr-compaction-window-and-archive.md +307 -0
- package/docs/10_plans/dashr-profile-layer-feasibility.md +367 -0
- package/docs/10_plans/dashr-sandbox-escalation-semantics-gap.md +171 -0
- package/docs/10_plans/dashr-security-sandbox-analysis.md +187 -0
- package/docs/10_plans/dashr-surface-invariant-and-omp-imports.md +97 -0
- package/docs/10_plans/ipython-kernel-interactive-interface-test-report.md +152 -0
- package/docs/10_plans/kernel-refactoring/Dash-IPython-Control-Prompt-draft.md +146 -0
- package/docs/10_plans/kernel-refactoring/Dash-IPython-Control-Prompt-draft_v3.md +50 -0
- package/docs/10_plans/kernel-refactoring/Dash-IPython-Control-Prompt-draft_v4.md +79 -0
- package/docs/10_plans/kernel-refactoring/Dash-vs-PrimeAgent-systemprompt-toolcatalog-comparison.md +138 -0
- package/docs/10_plans/kernel-refactoring/RLM-system-prompt-injection-gap-report.md +161 -0
- package/docs/10_plans/kernel-refactoring/V0.1.5-development-plan.md +109 -0
- package/docs/10_plans/kernel-refactoring/actinoable-surface-to-llm-in-agent-runtime_dsh.md +50 -0
- package/docs/10_plans/kernel-refactoring/actinoable-surface-to-llm-in-agent-runtime_prime.md +113 -0
- package/docs/10_plans/recallable-compaction.md +147 -0
- package/docs/10_plans/spike-tag-repro.mjs +102 -0
- package/docs/10_plans/upstream-analysis.md +128 -0
- package/docs/50_test-reports/REPL-/345/267/245/345/205/267/350/260/203/347/224/250-/346/210/252/346/226/255/350/257/212/346/226/255.md +110 -0
- package/docs/50_test-reports/kernel-provisioning.md +44 -0
- package/docs/50_test-reports/repl-kernel-provisioning-test-report.md +87 -0
- package/docs/50_test-reports/upstream-dsh-0.1.2-alpha.5-local-test-report.md +81 -0
- package/docs/50_test-reports/upstream-dsh-0.1.2-alpha.5-report.md +93 -0
- package/docs/50_test-reports/v0.1.8-improved-/345/256/236/346/265/213/346/212/245/345/221/212.md +142 -0
- package/docs/50_test-reports/v0.1.8-/345/256/236/346/265/213/346/212/245/345/221/212.md +193 -0
- package/docs/50_test-reports/v0.1.8b-/345/256/236/346/265/213/346/212/245/345/221/212.md +96 -0
- package/docs/50_test-reports/v0.1.8c-/345/256/236/346/265/213/346/212/245/345/221/212.md +127 -0
- package/docs/50_test-reports/v0.1.8d-/345/256/236/346/265/213/346/212/245/345/221/212.md +150 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/README.md +138 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/code-mode-repl-only.observation.md +74 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/dsh-session-session-4a293388-9ae1-474b-87a0-9e17bb556d94.jsonl +3890 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/dsh-session-session-4a293388-9ae1-474b-87a0-9e17bb556d94.w-sample-0435.jsonl +544 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/functions.json +592 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/skills-catalog.snapshot.md +30 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/tools-sdk.output-schemas.json +1236 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/tools-sdk.python.txt +592 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/tools-sdk.typescript.txt +516 -0
- package/docs/50_test-reports/v0.1.8d_artifacts/wire-vs-transcription.diff.md +54 -0
- package/docs/50_test-reports/v0.1.8e-/345/256/236/346/265/213/346/212/245/345/221/212.md +224 -0
- package/docs/50_test-reports/v0.1.9a-/345/256/236/346/265/213/346/212/245/345/221/212.md +168 -0
- package/docs/50_test-reports/v0.2.0b-/345/256/236/346/265/213/346/212/245/345/221/212.md +123 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/f2probe/Cargo.lock +7 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/f2probe/Cargo.toml +6 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/f2probe/src/bin/messy.rs +8 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/f2probe/src/main.rs +4 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/hashline-probe.md +5 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/slowprobe/Cargo.lock +7 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/slowprobe/Cargo.toml +7 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/slowprobe/build.rs +4 -0
- package/docs/50_test-reports/v0.2.0b_artifacts/slowprobe/src/main.rs +13 -0
- package/docs/50_test-reports/v0.2.1-/345/256/236/346/265/213/346/212/245/345/221/212.md +110 -0
- package/docs/50_test-reports/v0.2.1b-/345/256/236/346/265/213/346/212/245/345/221/212.md +86 -0
- package/docs/50_test-reports/v0.2.1c-/345/256/236/346/265/213/346/212/245/345/221/212.md +66 -0
- package/docs/50_test-reports/v0.2.1d-/345/256/236/346/265/213/346/212/245/345/221/212.md +67 -0
- package/docs/50_test-reports/v0.2.1e-P1-/345/256/236/346/265/213/346/212/245/345/221/212.md +136 -0
- package/docs/50_test-reports/v0.2.1ef-dev-audit-report.md +73 -0
- package/docs/50_test-reports/v0.2.1f-plugin-shipped-ui-patches/345/256/236/346/265/213/346/212/245/345/221/212.md +102 -0
- package/docs/60_exploration-and-research/cordis-research.md +350 -0
- package/docs/60_exploration-and-research/dsh-web-profile-package-map.md +186 -0
- package/docs/60_exploration-and-research/dsh-web-ui-slot-system-research.md +310 -0
- package/docs/60_exploration-and-research/dsh-webui-strip-boundary-research.md +300 -0
- package/docs/60_exploration-and-research/ios-chat-app-bridge-research.md +324 -0
- package/docs/60_exploration-and-research/web-frontend-composability-research.md +191 -0
- package/docs/REPL-/345/267/245/345/205/267/350/260/203/347/224/250-/346/210/252/346/226/255/350/257/212/346/226/255.md +110 -0
- package/docs/adr/0001-bridge-tool-layer-not-service-layer.md +14 -0
- package/docs/adr/0002-masking-is-presentation-only.md +15 -0
- package/docs/distro-blueprint.md +81 -0
- package/docs/dsh-webUI-with-rlm-mode.png +0 -0
- package/docs/plans/A2A-messaging-channel-test-archive.md +256 -0
- package/docs/plans/code-mode-vs-rlm-ipython-comparison.md +137 -0
- package/docs/plans/dashr-blueprint-review.md +201 -0
- package/docs/plans/dashr-blueprint.md +561 -0
- package/docs/plans/dashr-compaction-window-and-archive.md +307 -0
- package/docs/plans/dashr-profile-layer-feasibility.md +367 -0
- package/docs/plans/dashr-sandbox-escalation-semantics-gap.md +171 -0
- package/docs/plans/dashr-security-sandbox-analysis.md +187 -0
- package/docs/plans/dashr-surface-invariant-and-omp-imports.md +97 -0
- package/docs/plans/ipython-kernel-interactive-interface-test-report.md +152 -0
- package/docs/plans/kernel-refactoring/Dash-IPython-Control-Prompt-draft.md +146 -0
- package/docs/plans/kernel-refactoring/Dash-IPython-Control-Prompt-draft_v3.md +50 -0
- package/docs/plans/kernel-refactoring/Dash-IPython-Control-Prompt-draft_v4.md +79 -0
- package/docs/plans/kernel-refactoring/Dash-vs-PrimeAgent-systemprompt-toolcatalog-comparison.md +138 -0
- package/docs/plans/kernel-refactoring/RLM-system-prompt-injection-gap-report.md +161 -0
- package/docs/plans/kernel-refactoring/V0.1.5-development-plan.md +109 -0
- package/docs/plans/kernel-refactoring/actinoable-surface-to-llm-in-agent-runtime_dsh.md +50 -0
- package/docs/plans/kernel-refactoring/actinoable-surface-to-llm-in-agent-runtime_prime.md +113 -0
- package/docs/plans/recallable-compaction.md +147 -0
- package/docs/plans/spike-tag-repro.mjs +102 -0
- package/docs/plans/upstream-analysis.md +128 -0
- package/docs/repositioning-and-rebranding.md +102 -0
- package/docs/v0.1.8-improved-/345/256/236/346/265/213/346/212/245/345/221/212.md +142 -0
- package/docs/v0.1.8-/345/256/236/346/265/213/346/212/245/345/221/212.md +193 -0
- package/docs/v0.1.8b-/345/256/236/346/265/213/346/212/245/345/221/212.md +96 -0
- package/docs/v0.1.8c-/345/256/236/346/265/213/346/212/245/345/221/212.md +127 -0
- package/docs/v0.1.8d-/345/256/236/346/265/213/346/212/245/345/221/212.md +150 -0
- package/docs/v0.1.8d_artifacts/README.md +138 -0
- package/docs/v0.1.8d_artifacts/code-mode-repl-only.observation.md +74 -0
- package/docs/v0.1.8d_artifacts/dsh-session-session-4a293388-9ae1-474b-87a0-9e17bb556d94.jsonl +3890 -0
- package/docs/v0.1.8d_artifacts/dsh-session-session-4a293388-9ae1-474b-87a0-9e17bb556d94.w-sample-0435.jsonl +544 -0
- package/docs/v0.1.8d_artifacts/functions.json +592 -0
- package/docs/v0.1.8d_artifacts/skills-catalog.snapshot.md +30 -0
- package/docs/v0.1.8d_artifacts/tools-sdk.output-schemas.json +1236 -0
- package/docs/v0.1.8d_artifacts/tools-sdk.python.txt +592 -0
- package/docs/v0.1.8d_artifacts/tools-sdk.typescript.txt +516 -0
- package/docs/v0.1.8d_artifacts/wire-vs-transcription.diff.md +54 -0
- package/docs/v0.1.8e-/345/256/236/346/265/213/346/212/245/345/221/212.md +224 -0
- package/docs/v0.1.9a-/345/256/236/346/265/213/346/212/245/345/221/212.md +168 -0
- package/docs/v0.2.0b-/345/256/236/346/265/213/346/212/245/345/221/212.md +123 -0
- package/docs/v0.2.0b_artifacts/f2probe/Cargo.lock +7 -0
- package/docs/v0.2.0b_artifacts/f2probe/Cargo.toml +6 -0
- package/docs/v0.2.0b_artifacts/f2probe/src/bin/messy.rs +8 -0
- package/docs/v0.2.0b_artifacts/f2probe/src/main.rs +4 -0
- package/docs/v0.2.0b_artifacts/hashline-probe.md +5 -0
- package/docs/v0.2.0b_artifacts/slowprobe/Cargo.lock +7 -0
- package/docs/v0.2.0b_artifacts/slowprobe/Cargo.toml +7 -0
- package/docs/v0.2.0b_artifacts/slowprobe/build.rs +4 -0
- package/docs/v0.2.0b_artifacts/slowprobe/src/main.rs +13 -0
- package/docs/v0.2.1-/345/256/236/346/265/213/346/212/245/345/221/212.md +110 -0
- package/docs/v0.2.1b-/345/256/236/346/265/213/346/212/245/345/221/212.md +86 -0
- package/docs/v0.2.1c-/345/256/236/346/265/213/346/212/245/345/221/212.md +66 -0
- package/lib/client/index.js +473 -0
- package/lib/index.d.ts +736 -0
- package/lib/index.js +11518 -0
- package/lib/kernel-env-hxaihi9C.js +195 -0
- package/lib/kernel-env.d.ts +80 -0
- package/lib/kernel-env.js +3 -0
- package/lib/py-sdk-BCaOGYz7.d.ts +125 -0
- package/lib/py-sdk-CbgYiX8O.js +691 -0
- package/lib/py-sdk.d.ts +2 -0
- package/lib/py-sdk.js +3 -0
- package/package.json +325 -4
- package/scripts/kernel-provision.mjs +35 -0
- package/index.js +0 -3
package/lib/py-sdk.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as renderReplBridgeInstructions, i as isFlatBindableName, n as REPL_BRIDGE_CATALOG_MODE, o as renderToolsSdkPy, r as ReplBridgeCatalogMode, t as DASHRSdkSchema } from "./py-sdk-BCaOGYz7.js";
|
|
2
|
+
export { DASHRSdkSchema, REPL_BRIDGE_CATALOG_MODE, ReplBridgeCatalogMode, isFlatBindableName, renderReplBridgeInstructions, renderToolsSdkPy };
|
package/lib/py-sdk.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,328 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-dsh",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./lib/index.d.ts",
|
|
10
|
+
"default": "./lib/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./py-sdk": {
|
|
13
|
+
"types": "./lib/py-sdk.d.ts",
|
|
14
|
+
"default": "./lib/py-sdk.js"
|
|
15
|
+
},
|
|
16
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
17
|
+
"./package.json": "./package.json",
|
|
18
|
+
"./client": {
|
|
19
|
+
"types": "./lib/client/index.d.ts",
|
|
20
|
+
"default": "./lib/client/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"lib",
|
|
25
|
+
"docs",
|
|
26
|
+
"cordis.patch.yml",
|
|
27
|
+
"control-prompt.md",
|
|
28
|
+
"scripts/kernel-provision.mjs"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"prebuild": "node -e \"fs.cpSync('../docs','docs',{recursive:true})\"",
|
|
32
|
+
"build": "tsdown && npm run build-client",
|
|
33
|
+
"typecheck": "tsc --noEmit",
|
|
34
|
+
"test": "vitest --run",
|
|
35
|
+
"test:watch": "vitest",
|
|
36
|
+
"kernel:venv": "node scripts/kernel-provision.mjs",
|
|
37
|
+
"build-client": "tsx scripts/build-client.ts"
|
|
38
|
+
},
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"dsh": {
|
|
41
|
+
"bundle": {
|
|
42
|
+
"patch": "./cordis.patch.yml"
|
|
43
|
+
},
|
|
44
|
+
"client": {
|
|
45
|
+
"inject": [
|
|
46
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
47
|
+
"@deepseek-ai/dsh-client-locale",
|
|
48
|
+
"@deepseek-ai/dsh-client-connection",
|
|
49
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-layout"
|
|
51
|
+
],
|
|
52
|
+
"platform": "web"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=22.18"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
60
|
+
"@deepseek-ai/cordis-plugin-include": "^1.0.6",
|
|
61
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
62
|
+
"@deepseek-ai/dsh": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
63
|
+
"@deepseek-ai/dsh-agent": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
64
|
+
"@deepseek-ai/dsh-agent-instructions": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
65
|
+
"@deepseek-ai/dsh-agent-loop": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
66
|
+
"@deepseek-ai/dsh-agent-presets": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
67
|
+
"@deepseek-ai/dsh-agent-tool-presentation": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
68
|
+
"@deepseek-ai/dsh-code-runtime": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
69
|
+
"@deepseek-ai/dsh-code-runtime-worker-thread": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
70
|
+
"@deepseek-ai/dsh-command-compact": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
71
|
+
"@deepseek-ai/dsh-fs": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
72
|
+
"@deepseek-ai/dsh-fs-local": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
73
|
+
"@deepseek-ai/dsh-home-paths": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
74
|
+
"@deepseek-ai/dsh-invariants": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
75
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
76
|
+
"@deepseek-ai/dsh-llm-retry": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
77
|
+
"@deepseek-ai/dsh-persona": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
78
|
+
"@deepseek-ai/dsh-plan-mode": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
79
|
+
"@deepseek-ai/dsh-sandbox": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
80
|
+
"@deepseek-ai/dsh-scope": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
81
|
+
"@deepseek-ai/dsh-session": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
82
|
+
"@deepseek-ai/dsh-settings": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
83
|
+
"@deepseek-ai/dsh-skill-filesystem": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
84
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
85
|
+
"@deepseek-ai/dsh-tool-ask-user": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
86
|
+
"@deepseek-ai/dsh-tool-bash": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
87
|
+
"@deepseek-ai/dsh-tool-fs": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
88
|
+
"@deepseek-ai/dsh-tool-fs-search": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
89
|
+
"@deepseek-ai/dsh-tool-goal": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
90
|
+
"@deepseek-ai/dsh-tool-jobs": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
91
|
+
"@deepseek-ai/dsh-tool-pwsh": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
92
|
+
"@deepseek-ai/dsh-tool-ralph": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
93
|
+
"@deepseek-ai/dsh-tool-skill": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
94
|
+
"@deepseek-ai/dsh-tool-subagent": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
95
|
+
"@deepseek-ai/dsh-tool-subagent-control": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
96
|
+
"@deepseek-ai/dsh-tool-todo": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
97
|
+
"@deepseek-ai/dsh-tool-web": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
98
|
+
"@deepseek-ai/dsh-tool-workflow": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
99
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
100
|
+
"@deepseek-ai/dsh-user-approval": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
101
|
+
"@deepseek-ai/dsh-workflow-worker-thread": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
102
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
103
|
+
"@deepseek-ai/dsh-api-gateway": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
104
|
+
"@deepseek-ai/dsh-api-remotes": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
105
|
+
"@deepseek-ai/dsh-client-connection": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
106
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
107
|
+
"@deepseek-ai/dsh-client-ui-conversation": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
108
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
109
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
110
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
111
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
112
|
+
"@deepseek-ai/dsh-commands": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
113
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
114
|
+
"@deepseek-ai/dsh-typert-registry": ">=0.1.2-alpha.1 <0.2.0-0",
|
|
115
|
+
"react": "^18.2.0"
|
|
116
|
+
},
|
|
117
|
+
"peerDependenciesMeta": {
|
|
118
|
+
"@deepseek-ai/cordis": {
|
|
119
|
+
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"@deepseek-ai/cordis-plugin-include": {
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"@deepseek-ai/cordis-plugin-loader": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
127
|
+
"@deepseek-ai/dsh": {
|
|
128
|
+
"optional": true
|
|
129
|
+
},
|
|
130
|
+
"@deepseek-ai/dsh-agent": {
|
|
131
|
+
"optional": true
|
|
132
|
+
},
|
|
133
|
+
"@deepseek-ai/dsh-agent-instructions": {
|
|
134
|
+
"optional": true
|
|
135
|
+
},
|
|
136
|
+
"@deepseek-ai/dsh-agent-loop": {
|
|
137
|
+
"optional": true
|
|
138
|
+
},
|
|
139
|
+
"@deepseek-ai/dsh-agent-presets": {
|
|
140
|
+
"optional": true
|
|
141
|
+
},
|
|
142
|
+
"@deepseek-ai/dsh-agent-tool-presentation": {
|
|
143
|
+
"optional": true
|
|
144
|
+
},
|
|
145
|
+
"@deepseek-ai/dsh-code-runtime": {
|
|
146
|
+
"optional": true
|
|
147
|
+
},
|
|
148
|
+
"@deepseek-ai/dsh-code-runtime-worker-thread": {
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
"@deepseek-ai/dsh-command-compact": {
|
|
152
|
+
"optional": true
|
|
153
|
+
},
|
|
154
|
+
"@deepseek-ai/dsh-fs": {
|
|
155
|
+
"optional": true
|
|
156
|
+
},
|
|
157
|
+
"@deepseek-ai/dsh-fs-local": {
|
|
158
|
+
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"@deepseek-ai/dsh-home-paths": {
|
|
161
|
+
"optional": true
|
|
162
|
+
},
|
|
163
|
+
"@deepseek-ai/dsh-invariants": {
|
|
164
|
+
"optional": true
|
|
165
|
+
},
|
|
166
|
+
"@deepseek-ai/dsh-llm": {
|
|
167
|
+
"optional": true
|
|
168
|
+
},
|
|
169
|
+
"@deepseek-ai/dsh-llm-retry": {
|
|
170
|
+
"optional": true
|
|
171
|
+
},
|
|
172
|
+
"@deepseek-ai/dsh-persona": {
|
|
173
|
+
"optional": true
|
|
174
|
+
},
|
|
175
|
+
"@deepseek-ai/dsh-plan-mode": {
|
|
176
|
+
"optional": true
|
|
177
|
+
},
|
|
178
|
+
"@deepseek-ai/dsh-sandbox": {
|
|
179
|
+
"optional": true
|
|
180
|
+
},
|
|
181
|
+
"@deepseek-ai/dsh-scope": {
|
|
182
|
+
"optional": true
|
|
183
|
+
},
|
|
184
|
+
"@deepseek-ai/dsh-session": {
|
|
185
|
+
"optional": true
|
|
186
|
+
},
|
|
187
|
+
"@deepseek-ai/dsh-settings": {
|
|
188
|
+
"optional": true
|
|
189
|
+
},
|
|
190
|
+
"@deepseek-ai/dsh-skill-filesystem": {
|
|
191
|
+
"optional": true
|
|
192
|
+
},
|
|
193
|
+
"@deepseek-ai/dsh-system-prompt": {
|
|
194
|
+
"optional": true
|
|
195
|
+
},
|
|
196
|
+
"@deepseek-ai/dsh-tool-ask-user": {
|
|
197
|
+
"optional": true
|
|
198
|
+
},
|
|
199
|
+
"@deepseek-ai/dsh-tool-bash": {
|
|
200
|
+
"optional": true
|
|
201
|
+
},
|
|
202
|
+
"@deepseek-ai/dsh-tool-fs": {
|
|
203
|
+
"optional": true
|
|
204
|
+
},
|
|
205
|
+
"@deepseek-ai/dsh-tool-fs-search": {
|
|
206
|
+
"optional": true
|
|
207
|
+
},
|
|
208
|
+
"@deepseek-ai/dsh-tool-goal": {
|
|
209
|
+
"optional": true
|
|
210
|
+
},
|
|
211
|
+
"@deepseek-ai/dsh-tool-jobs": {
|
|
212
|
+
"optional": true
|
|
213
|
+
},
|
|
214
|
+
"@deepseek-ai/dsh-tool-pwsh": {
|
|
215
|
+
"optional": true
|
|
216
|
+
},
|
|
217
|
+
"@deepseek-ai/dsh-tool-ralph": {
|
|
218
|
+
"optional": true
|
|
219
|
+
},
|
|
220
|
+
"@deepseek-ai/dsh-tool-skill": {
|
|
221
|
+
"optional": true
|
|
222
|
+
},
|
|
223
|
+
"@deepseek-ai/dsh-tool-subagent": {
|
|
224
|
+
"optional": true
|
|
225
|
+
},
|
|
226
|
+
"@deepseek-ai/dsh-tool-subagent-control": {
|
|
227
|
+
"optional": true
|
|
228
|
+
},
|
|
229
|
+
"@deepseek-ai/dsh-tool-todo": {
|
|
230
|
+
"optional": true
|
|
231
|
+
},
|
|
232
|
+
"@deepseek-ai/dsh-tool-web": {
|
|
233
|
+
"optional": true
|
|
234
|
+
},
|
|
235
|
+
"@deepseek-ai/dsh-tool-workflow": {
|
|
236
|
+
"optional": true
|
|
237
|
+
},
|
|
238
|
+
"@deepseek-ai/dsh-tools": {
|
|
239
|
+
"optional": true
|
|
240
|
+
},
|
|
241
|
+
"@deepseek-ai/dsh-user-approval": {
|
|
242
|
+
"optional": true
|
|
243
|
+
},
|
|
244
|
+
"@deepseek-ai/dsh-workflow-worker-thread": {
|
|
245
|
+
"optional": true
|
|
246
|
+
},
|
|
247
|
+
"@deepseek-ai/schemastery": {
|
|
248
|
+
"optional": true
|
|
249
|
+
},
|
|
250
|
+
"@deepseek-ai/dsh-api-gateway": {
|
|
251
|
+
"optional": true
|
|
252
|
+
},
|
|
253
|
+
"@deepseek-ai/dsh-api-remotes": {
|
|
254
|
+
"optional": true
|
|
255
|
+
},
|
|
256
|
+
"@deepseek-ai/dsh-client-connection": {
|
|
257
|
+
"optional": true
|
|
258
|
+
},
|
|
259
|
+
"@deepseek-ai/dsh-client-locale": {
|
|
260
|
+
"optional": true
|
|
261
|
+
},
|
|
262
|
+
"@deepseek-ai/dsh-client-ui-conversation": {
|
|
263
|
+
"optional": true
|
|
264
|
+
},
|
|
265
|
+
"@deepseek-ai/dsh-client-ui-primitives": {
|
|
266
|
+
"optional": true
|
|
267
|
+
},
|
|
268
|
+
"@deepseek-ai/dsh-client-ui-settings": {
|
|
269
|
+
"optional": true
|
|
270
|
+
},
|
|
271
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": {
|
|
272
|
+
"optional": true
|
|
273
|
+
},
|
|
274
|
+
"@deepseek-ai/dsh-client-ui-slots": {
|
|
275
|
+
"optional": true
|
|
276
|
+
},
|
|
277
|
+
"@deepseek-ai/dsh-commands": {
|
|
278
|
+
"optional": true
|
|
279
|
+
},
|
|
280
|
+
"@deepseek-ai/dsh-typert-protocol": {
|
|
281
|
+
"optional": true
|
|
282
|
+
},
|
|
283
|
+
"@deepseek-ai/dsh-typert-registry": {
|
|
284
|
+
"optional": true
|
|
285
|
+
},
|
|
286
|
+
"react": {
|
|
287
|
+
"optional": true
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"dependencies": {
|
|
291
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
292
|
+
"diff": "^8.0.2",
|
|
293
|
+
"file-type": "^21.3.0",
|
|
294
|
+
"puppeteer-core": "25.3.0",
|
|
295
|
+
"xxhash-wasm": "^1.1.0",
|
|
296
|
+
"zeromq": "^6.6.0",
|
|
297
|
+
"use-sync-external-store": "^1.6.0"
|
|
298
|
+
},
|
|
299
|
+
"optionalDependencies": {
|
|
300
|
+
"@oh-my-pi/pi-natives-linux-x64": "18.0.6",
|
|
301
|
+
"@oh-my-pi/pi-natives-linux-arm64": "18.0.6",
|
|
302
|
+
"@oh-my-pi/pi-natives-darwin-x64": "18.0.6",
|
|
303
|
+
"@oh-my-pi/pi-natives-darwin-arm64": "18.0.6",
|
|
304
|
+
"@oh-my-pi/pi-natives-win32-x64": "18.0.6"
|
|
305
|
+
},
|
|
306
|
+
"devDependencies": {
|
|
307
|
+
"@types/node": "^22.10.5",
|
|
308
|
+
"node-addon-require-builtin": "^0.1.5",
|
|
309
|
+
"tsdown": "^0.15.7",
|
|
310
|
+
"typescript": "^5.9.3",
|
|
311
|
+
"vitest": "^4.1.10",
|
|
312
|
+
"tsx": "^4.22.4"
|
|
313
|
+
},
|
|
314
|
+
"repository": {
|
|
315
|
+
"type": "git",
|
|
316
|
+
"url": "git+https://github.com/pgmi-builds/better-dsh.git"
|
|
317
|
+
},
|
|
318
|
+
"keywords": [
|
|
319
|
+
"dsh",
|
|
320
|
+
"deepseek-harness",
|
|
321
|
+
"repl",
|
|
322
|
+
"eval",
|
|
323
|
+
"ipython",
|
|
324
|
+
"kernel",
|
|
325
|
+
"agent",
|
|
326
|
+
"plugin"
|
|
327
|
+
]
|
|
7
328
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Best-effort kernel provisioning entry — the single code path behind BOTH
|
|
4
|
+
* `postinstall` and `npm run kernel:venv`.
|
|
5
|
+
*
|
|
6
|
+
* Fail-open by design (2026-09-03 ruling): any failure logs a remedy hint and
|
|
7
|
+
* exits 0. The installation must NEVER fail because the kernel could not be
|
|
8
|
+
* provisioned here — the daemon spin-up check (primary path) and first-use
|
|
9
|
+
* lazy provisioning (final fallback) complete the three-trigger ladder.
|
|
10
|
+
*/
|
|
11
|
+
import { access } from 'node:fs/promises'
|
|
12
|
+
|
|
13
|
+
const libUrl = new URL('../lib/kernel-env.js', import.meta.url)
|
|
14
|
+
|
|
15
|
+
try {
|
|
16
|
+
await access(libUrl)
|
|
17
|
+
} catch {
|
|
18
|
+
// Dev checkout before the first build, or a pruned install: nothing to call.
|
|
19
|
+
console.log('[dashr] kernel-env build output not present yet — skipping install-time pre-provision (the daemon spin-up check will provision on start)')
|
|
20
|
+
process.exit(0)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const { resolveKernelEnv } = await import(libUrl)
|
|
24
|
+
|
|
25
|
+
try {
|
|
26
|
+
const env = await resolveKernelEnv({
|
|
27
|
+
autoInstall: true,
|
|
28
|
+
log: (level, message) => console[level === 'warn' ? 'warn' : 'log'](`[dashr] ${message}`),
|
|
29
|
+
})
|
|
30
|
+
console.log(`[dashr] kernel ready: python ${env.version} at ${env.python}${env.dill ? '' : ' (dill missing — snapshots disabled)'}`)
|
|
31
|
+
} catch (error) {
|
|
32
|
+
console.warn(`[dashr] kernel pre-provision failed (non-blocking): ${error instanceof Error ? error.message : String(error)}`)
|
|
33
|
+
console.warn('[dashr] remedies: run "npm run kernel:venv" in the dashr package; or rely on the daemon spin-up check / first-use auto-install; or set python to a prepared interpreter')
|
|
34
|
+
process.exit(0)
|
|
35
|
+
}
|
package/index.js
DELETED