dsh-caveman 0.1.3 → 0.1.4
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/lib/index.js +3 -2
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -21,7 +21,8 @@ import { appendFileSync, mkdirSync, readFileSync, renameSync, writeFileSync } fr
|
|
|
21
21
|
import { dirname, join } from 'node:path'
|
|
22
22
|
import { KNOWN_SESSION_EVENT_TYPES } from '@deepseek-ai/dsh-session'
|
|
23
23
|
import { dshHomePath } from '@deepseek-ai/dsh-home-paths'
|
|
24
|
-
|
|
24
|
+
// NOTE: no `settingsNamespace` import — the brand helper was removed from
|
|
25
|
+
// dsh-settings@0.1.2+ (see dsh-rtk for the same fix). Namespace is a literal.
|
|
25
26
|
import zs from '@deepseek-ai/schemastery'
|
|
26
27
|
|
|
27
28
|
const require = createRequire(import.meta.url)
|
|
@@ -82,7 +83,7 @@ export function apply(ctx) {
|
|
|
82
83
|
if (settings !== undefined) {
|
|
83
84
|
try {
|
|
84
85
|
cavemanScope = settings.register(
|
|
85
|
-
|
|
86
|
+
'caveman',
|
|
86
87
|
zs.object({ defaultMode: zs.union(VALID.map((v) => zs.const(v))).default('full') }),
|
|
87
88
|
{ applies: 'live' },
|
|
88
89
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-caveman",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"./client": "./lib/client.js",
|
|
9
9
|
"./package.json": "./package.json"
|
|
10
10
|
},
|
|
11
|
-
"description": "Per-session caveman mode state + composer dock badge + /caveman command + prompt-section injection. Writes NO session events: mode state lives in a $DSH_HOME/plugin-state sidecar keyed by session id (default from the 'caveman' settings namespace), and the badge reads GET /caveman/state (fetch mode). The KNOWN event-type registration is kept read-only for legacy sessions. Caveman skills ship from the deployment shared skill library (see ~/.dsh/skills), not from this package.",
|
|
11
|
+
"description": "Per-session caveman mode state + composer dock badge + /caveman command + prompt-section injection. Writes NO session events: mode state lives in a $DSH_HOME/plugin-state sidecar keyed by session id (default from the 'caveman' settings namespace), and the badge reads GET /caveman/state (fetch mode). The KNOWN event-type registration is kept read-only for legacy sessions. Caveman skills ship from the deployment shared skill library (see ~/.dsh/skills), not from this package. Compatible with @deepseek-ai/dsh-settings 0.1.2+: the namespace is passed as a literal string because the settingsNamespace brand helper was removed upstream (broken named import on 0.1.2-rc.1 boot).",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"dsh",
|