better-dsh 0.2.3-d → 0.2.3-e
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/docs/50_test-reports/2026-09-11-control-prompt-into-eval-description/345/256/236/346/265/213/346/212/245/345/221/212.md +222 -0
- package/docs/50_test-reports/2026-09-12-fs-scheme-resolution-/345/256/236/346/265/213/346/212/245/345/221/212.md +81 -0
- package/docs/50_test-reports/2026-09-12-url-schemes-grammar-matrix/344/270/216catalog-centralize-/345/256/236/346/265/213/346/212/245/345/221/212.md +234 -0
- package/docs/50_test-reports/2026-09-12-url-schemes-recallable-context-design/351/252/214/350/257/201/346/212/245/345/221/212.md +160 -0
- package/docs/50_test-reports/2026-09-12-url-schemes-recallable-context-/345/256/236/346/265/213/345/211/247/346/234/254.md +44 -0
- package/docs/50_test-reports/2026-09-12-url-schemes-recallable-context-/345/256/236/346/265/213/346/212/245/345/221/212.md +89 -0
- package/docs/50_test-reports/2026-09-12-url-schemes-/345/205/255scheme/345/206/222/347/203/237/344/270/216/350/276/271/347/225/214/345/256/236/346/265/213/346/212/245/345/221/212.md +198 -0
- package/docs/50_test-reports/2026-09-13-hashline-off/344/270/213scheme/345/217/257/350/276/276/346/200/247/345/267/245/345/205/267/351/235/242/344/270/215/345/257/271/347/247/260-/345/256/236/346/265/213/346/212/245/345/221/212.md +246 -0
- package/docs/50_test-reports/2026-09-13-preact-ui-shell/345/256/236/346/265/213/346/212/245/345/221/212.md +50 -0
- package/docs/50_test-reports/v0.2.3c-mobile-wave/345/256/236/346/265/213/346/212/245/345/221/212.md +47 -0
- package/lib/fs-aware/sandbox-plugin.d.ts +71 -0
- package/lib/fs-aware/sandbox-plugin.js +249 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +547 -705
- package/lib/wrap-DC8O3SYz.js +721 -0
- package/package.json +6 -1
- package/url-schemes-instruction.md +22 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-dsh",
|
|
3
|
-
"version": "0.2.3-
|
|
3
|
+
"version": "0.2.3-e",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
"types": "./lib/py-sdk.d.ts",
|
|
14
14
|
"default": "./lib/py-sdk.js"
|
|
15
15
|
},
|
|
16
|
+
"./fs-aware-sandbox": {
|
|
17
|
+
"types": "./lib/fs-aware/sandbox-plugin.d.ts",
|
|
18
|
+
"default": "./lib/fs-aware/sandbox-plugin.js"
|
|
19
|
+
},
|
|
16
20
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
17
21
|
"./package.json": "./package.json",
|
|
18
22
|
"./client": {
|
|
@@ -25,6 +29,7 @@
|
|
|
25
29
|
"docs",
|
|
26
30
|
"cordis.patch.yml",
|
|
27
31
|
"eval-description.md",
|
|
32
|
+
"url-schemes-instruction.md",
|
|
28
33
|
"scripts/kernel-provision.mjs"
|
|
29
34
|
],
|
|
30
35
|
"scripts": {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Internal URL Schemes
|
|
2
|
+
|
|
3
|
+
- Format: `scheme://<path>[:selector]`.
|
|
4
|
+
- Compatibility: Supported anywhere a filesystem path is accepted across `read`, `write`, `grep`, and `glob`.
|
|
5
|
+
- `skill://`, `agent://`, `ctx://`, `dsh://`, `dvc://`, `http(s)://`.
|
|
6
|
+
- Reading scheme:// lists available surfaces/help for that scheme.
|
|
7
|
+
|
|
8
|
+
**Selectors:**
|
|
9
|
+
- `:raw` — Accesses the full underlying content bypasses prepared faces/summaries.
|
|
10
|
+
- `:N-M[,N2-M2]` — Line range selection (1-based, inclusive; `N-` reads to end). Indexes canonical full content (so `:raw:N-M` ≡ `:N-M`).
|
|
11
|
+
- `:path/<a.b>` — Traverses JSON using dot-path notation.
|
|
12
|
+
- `?q=<q>` — Dot-path search or plain line filter.
|
|
13
|
+
|
|
14
|
+
**Schemes:**
|
|
15
|
+
- `skill://<name>[/<file>]` — a registered skill's files; first level = skill names.
|
|
16
|
+
- `agent://[<id>[/transcript]]` — agent roster / a LIVE agent's transcript.
|
|
17
|
+
- `dsh://docs[/<doc>]` and `dsh://config` — harness docs / live resolved config.
|
|
18
|
+
- `ctx://session/<face>` — THIS session's own log; faces: `transcript`, `compactions`, `compactions[<label|n>]`, `thinking`, `system`, `user_prompts[n]`, `tool_calls[n]`, `agent_responses[n]`.
|
|
19
|
+
- `dvc://<device>` — device registry; devices: `ast_edit`, `ast_grep`, `browser`, `lsp`; `write` executes.
|
|
20
|
+
- `http(s)://<host>/<path>` — plain fetch.
|
|
21
|
+
|
|
22
|
+
Bulk: prefer grep or `:N-M` line windows over full reads.
|