@agimon-ai/doompi-help 0.0.1-alpha.20 → 0.0.1-alpha.22
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 +1 -1
- package/package.json +13 -6
- package/web/index.ts +21 -0
- package/web/tsconfig.json +22 -0
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/doompi-help",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.22",
|
|
4
4
|
"description": "Activation-gated package guidance and help skills for DoomPi and Pi extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-documentation",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"dist",
|
|
30
|
+
"web",
|
|
30
31
|
"llms.txt",
|
|
31
32
|
"src/prompts",
|
|
32
33
|
"README.md",
|
|
@@ -55,19 +56,20 @@
|
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
58
|
"@deepseek-ai/cordis": "4.0.1",
|
|
58
|
-
"@agimon-ai/doompi-
|
|
59
|
+
"@agimon-ai/doompi-web-contracts": "0.0.1-alpha.2",
|
|
60
|
+
"@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.39"
|
|
59
61
|
},
|
|
60
62
|
"devDependencies": {
|
|
61
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
63
|
+
"@earendil-works/pi-coding-agent": "0.84.3",
|
|
62
64
|
"@types/node": "26.2.0",
|
|
63
65
|
"@vitest/coverage-v8": "4.1.11",
|
|
64
66
|
"tsdown": "0.22.14",
|
|
65
67
|
"typescript": "7.0.2",
|
|
66
68
|
"vitest": "4.1.11",
|
|
67
|
-
"@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.
|
|
69
|
+
"@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.37"
|
|
68
70
|
},
|
|
69
71
|
"peerDependencies": {
|
|
70
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
72
|
+
"@earendil-works/pi-coding-agent": "0.84.3"
|
|
71
73
|
},
|
|
72
74
|
"peerDependenciesMeta": {
|
|
73
75
|
"@earendil-works/pi-coding-agent": {
|
|
@@ -77,6 +79,11 @@
|
|
|
77
79
|
"engines": {
|
|
78
80
|
"node": ">=22.19.0"
|
|
79
81
|
},
|
|
82
|
+
"doompiWeb": {
|
|
83
|
+
"pluginId": "help",
|
|
84
|
+
"channels": [],
|
|
85
|
+
"client": "./web/index.ts"
|
|
86
|
+
},
|
|
80
87
|
"pi": {
|
|
81
88
|
"extensions": [
|
|
82
89
|
"./dist/extensions/pi.mjs"
|
|
@@ -85,7 +92,7 @@
|
|
|
85
92
|
"scripts": {
|
|
86
93
|
"build": "tsdown",
|
|
87
94
|
"test": "vitest --run",
|
|
88
|
-
"typecheck": "tsc --noEmit",
|
|
95
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p web/tsconfig.json",
|
|
89
96
|
"lint": "oxlint . && oxfmt . --check",
|
|
90
97
|
"fixcode": "oxlint . --fix && oxfmt ."
|
|
91
98
|
}
|
package/web/index.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineWebPlugin } from '@agimon-ai/doompi-web-contracts';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This package's cockpit presence: pure metadata. The selection bar renders
|
|
5
|
+
* the minor-mode entry and folds in what the session reports; no signal is published yet, so it shows as unavailable.
|
|
6
|
+
*/
|
|
7
|
+
export const webPlugin = defineWebPlugin({
|
|
8
|
+
id: 'help',
|
|
9
|
+
minorModes: [{ name: 'help', keys: 'h e', order: 10 }],
|
|
10
|
+
// The TUI's SPC h e, through the /minor command an RPC client can send.
|
|
11
|
+
leaderBindings: [
|
|
12
|
+
{
|
|
13
|
+
id: 'help.toggle',
|
|
14
|
+
path: [
|
|
15
|
+
{ key: 'h', label: 'help', detail: 'package docs and logs' },
|
|
16
|
+
{ key: 'e', label: 'toggle', detail: 'load or hide package Help' },
|
|
17
|
+
],
|
|
18
|
+
command: 'minor help',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"moduleResolution": "Bundler",
|
|
7
|
+
"jsx": "react-jsx",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"noImplicitAny": true,
|
|
10
|
+
"noUnusedLocals": true,
|
|
11
|
+
"noUnusedParameters": true,
|
|
12
|
+
"noImplicitReturns": true,
|
|
13
|
+
"noFallthroughCasesInSwitch": true,
|
|
14
|
+
"noEmit": true,
|
|
15
|
+
"resolveJsonModule": true,
|
|
16
|
+
"esModuleInterop": true,
|
|
17
|
+
"skipLibCheck": true,
|
|
18
|
+
"allowImportingTsExtensions": true,
|
|
19
|
+
"forceConsistentCasingInFileNames": true
|
|
20
|
+
},
|
|
21
|
+
"include": [".", "../src/types"]
|
|
22
|
+
}
|