@khorsheed/dsh-ankh-guard 0.1.0 → 0.2.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/CHANGELOG.md +28 -0
- package/README.en.md +75 -29
- package/README.i18n.yaml +2 -2
- package/README.md +74 -29
- package/lib/cli.js +2383 -209
- package/lib/client.js +257 -0
- package/lib/exit-agent.js +5 -2
- package/lib/index.js +722 -38
- package/lib/invariant.js +1 -1
- package/lib/preflight-runner.js +125 -47
- package/lib/processes-BjZgJjQr.js +344 -0
- package/lib/restart-context-D6nISh28.js +1245 -0
- package/lib/restart-context-DUyExi9O.js +1245 -0
- package/lib/{state-Dhx9VG44.js → state-4f7yny39.js} +60 -13
- package/lib/state-CZMypGkB.js +323 -0
- package/lib/test-seam-DnvLWTeO.js +119 -0
- package/lib/test-seam-cli.js +24 -0
- package/lib/test-seam-dwvaKjRp.js +459 -0
- package/lib/test-seam.js +2 -0
- package/lib/types/browser-handoff.d.ts +55 -0
- package/lib/types/browser-handoff.js +489 -0
- package/lib/types/cli.d.ts +34 -4
- package/lib/types/cli.js +1487 -225
- package/lib/types/client/index.d.ts +15 -0
- package/lib/types/client/index.js +264 -0
- package/lib/types/deployment-proof.d.ts +24 -0
- package/lib/types/deployment-proof.js +314 -0
- package/lib/types/exit-agent.js +2 -0
- package/lib/types/git.d.ts +12 -3
- package/lib/types/git.js +69 -7
- package/lib/types/index.d.ts +66 -3
- package/lib/types/index.js +157 -39
- package/lib/types/launch-spec.d.ts +263 -0
- package/lib/types/launch-spec.js +823 -0
- package/lib/types/preflight-runner.d.ts +23 -12
- package/lib/types/preflight-runner.js +152 -57
- package/lib/types/processes.d.ts +38 -6
- package/lib/types/processes.js +236 -10
- package/lib/types/restart-context.d.ts +50 -0
- package/lib/types/restart-context.js +106 -0
- package/lib/types/restart-request.d.ts +32 -0
- package/lib/types/restart-request.js +128 -0
- package/lib/types/state-files.d.ts +30 -0
- package/lib/types/state-files.js +55 -0
- package/lib/types/state.d.ts +29 -2
- package/lib/types/state.js +52 -7
- package/lib/types/temp-artifact.d.ts +15 -0
- package/lib/types/temp-artifact.js +17 -0
- package/lib/types/test-seam-cli.d.ts +3 -0
- package/lib/types/test-seam-cli.js +27 -0
- package/lib/types/test-seam.d.ts +55 -0
- package/lib/types/test-seam.js +112 -0
- package/lib/types/transition.d.ts +118 -0
- package/lib/types/transition.js +717 -0
- package/package.json +29 -9
- package/scripts/dsh-watchdog.sh +1388 -80
- package/scripts/install-launchd.sh +43 -5
- package/scripts/install-systemd.sh +43 -5
- package/scripts/on-install.js +1 -1
- package/skills/dsh-self-restart-guard/SKILL.md +38 -12
- package/lib/processes-hCAmwma-.js +0 -127
- package/lib/restart-context-DmnQXNf-.js +0 -421
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khorsheed/dsh-ankh-guard",
|
|
3
3
|
"description": "Hard gate for self-modification restarts: a green-build credential bound to the git HEAD, checked before any restart of the running instance",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"types": "./lib/types/cli.d.ts",
|
|
22
22
|
"default": "./lib/cli.js"
|
|
23
23
|
},
|
|
24
|
+
"./client": {
|
|
25
|
+
"types": "./lib/types/client/index.d.ts",
|
|
26
|
+
"default": "./lib/client.js"
|
|
27
|
+
},
|
|
24
28
|
"./package.json": "./package.json"
|
|
25
29
|
},
|
|
26
30
|
"files": [
|
|
@@ -40,19 +44,30 @@
|
|
|
40
44
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
41
45
|
"@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
|
|
42
46
|
"@deepseek-ai/dsh-agent-presets": "^0.1.0-rc.6",
|
|
47
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6",
|
|
48
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6",
|
|
43
49
|
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
44
50
|
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
|
|
45
51
|
"@deepseek-ai/dsh-session-persistence": "^0.1.0-rc.6",
|
|
46
52
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
47
53
|
},
|
|
54
|
+
"peerDependenciesMeta": {
|
|
55
|
+
"@deepseek-ai/dsh-client-connection": {
|
|
56
|
+
"optional": true
|
|
57
|
+
},
|
|
58
|
+
"@deepseek-ai/dsh-host-webserver": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
48
62
|
"devDependencies": {
|
|
49
63
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
50
64
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
51
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
52
|
-
"@deepseek-ai/dsh-agent-presets": "^0.1.
|
|
53
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
54
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
55
|
-
"@deepseek-ai/dsh-session-persistence": "^0.1.
|
|
65
|
+
"@deepseek-ai/dsh-agent": "^0.1.2-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-agent-presets": "^0.1.2-rc.1",
|
|
67
|
+
"@deepseek-ai/dsh-invariants": "^0.1.2-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-llm": "^0.1.2-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-session-persistence": "^0.1.2-rc.1",
|
|
70
|
+
"@deepseek-ai/dsh-skill": "^0.1.2-rc.1",
|
|
56
71
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
57
72
|
"@types/node": "^22.0.0",
|
|
58
73
|
"tsdown": "^0.22.2",
|
|
@@ -74,10 +89,15 @@
|
|
|
74
89
|
"bundle": {
|
|
75
90
|
"patch": "./cordis.patch.yml"
|
|
76
91
|
},
|
|
92
|
+
"client": {
|
|
93
|
+
"inject": [],
|
|
94
|
+
"platform": "web",
|
|
95
|
+
"immediately": true
|
|
96
|
+
},
|
|
77
97
|
"compat": {
|
|
78
|
-
"minHost": "0.1.
|
|
79
|
-
"notes": "composition-preflight
|
|
80
|
-
"verifiedHost": "0.1.
|
|
98
|
+
"minHost": "0.1.2-rc.1",
|
|
99
|
+
"notes": "composition-preflight runs via the standalone preflight-runner and degrades to a notice when no live harness checkout resolves; original-tab browser handoff feature-probes optional WebServer/connection auth seams; reversible state quarantine was exercised in a live 0.1.1-rc.2 to 0.1.2-alpha.4 cutover",
|
|
100
|
+
"verifiedHost": "0.1.2-rc.1"
|
|
81
101
|
}
|
|
82
102
|
}
|
|
83
103
|
}
|