@agimon-ai/doompi-prompt 0.0.1-alpha.21 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/doompi-prompt",
3
- "version": "0.0.1-alpha.21",
3
+ "version": "0.0.1-alpha.22",
4
4
  "description": "Staged recent prompts and saved prompt templates for DoomPi",
5
5
  "keywords": [
6
6
  "ai",
@@ -63,27 +63,27 @@
63
63
  "access": "public"
64
64
  },
65
65
  "dependencies": {
66
+ "@agimon-ai/doompi-core": "0.0.1-alpha.72",
67
+ "@agimon-ai/doompi-ui": "0.0.1-alpha.72",
68
+ "@agimon-ai/doompi-web-components": "0.0.1-alpha.30",
69
+ "@agimon-ai/doompi-web-security": "0.0.1-alpha.32",
66
70
  "@deepseek-ai/cordis": "4.0.2",
67
- "hono": "4.13.5",
68
- "typebox": "1.3.25",
69
- "@agimon-ai/doompi-core": "0.0.1-alpha.71",
70
- "@agimon-ai/doompi-web-components": "0.0.1-alpha.29",
71
- "@agimon-ai/doompi-ui": "0.0.1-alpha.71",
72
- "@agimon-ai/doompi-web-security": "0.0.1-alpha.31"
71
+ "hono": "4.13.7",
72
+ "typebox": "1.3.30"
73
73
  },
74
74
  "devDependencies": {
75
+ "@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.67",
75
76
  "@earendil-works/pi-coding-agent": "0.85.1",
76
77
  "@earendil-works/pi-tui": "0.85.1",
77
- "@types/node": "26.4.1",
78
- "@types/react": "19.2.18",
79
- "@types/react-dom": "19.2.7",
78
+ "@types/node": "26.5.1",
79
+ "@types/react": "19.3.0",
80
+ "@types/react-dom": "19.3.0",
80
81
  "@vitest/coverage-v8": "5.0.0",
81
- "react": "19.2.8",
82
- "react-dom": "19.2.8",
82
+ "react": "19.3.0",
83
+ "react-dom": "19.3.0",
83
84
  "tsdown": "0.23.0",
84
85
  "typescript": "7.0.2",
85
- "vitest": "5.0.0",
86
- "@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.66"
86
+ "vitest": "5.0.0"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "@earendil-works/pi-coding-agent": "0.85.1",
@@ -1,3 +1,5 @@
1
+ import { sessionApiPath } from '@agimon-ai/doompi-core/web';
2
+
1
3
  import { PROMPTS_PATH } from '../constants/webPrompts';
2
4
  /**
3
5
  * The vocabulary this package's HTTP API and its cockpit plugin share.
@@ -12,7 +14,7 @@ import { PROMPTS_PATH } from '../constants/webPrompts';
12
14
  * - Importing anything from src/services or src/adapters here.
13
15
  */
14
16
 
15
- /** Where a host mounts this package's API; the segment after /api/plugin/. */
17
+ /** Where a host mounts this package's API; the segment after /api/plugins/. */
16
18
 
17
19
  /** The collection, relative to the API's own mount. */
18
20
 
@@ -22,9 +24,7 @@ export function promptPath(name: string): string {
22
24
  }
23
25
 
24
26
  function apiRoot(sessionId?: string | null): string {
25
- return sessionId == null
26
- ? '/api/global/plugin/prompts'
27
- : `/api/sessions/${encodeURIComponent(sessionId)}/plugin/prompts`;
27
+ return sessionId == null ? '/api/plugins/prompts' : `${sessionApiPath(sessionId)}/plugins/prompts`;
28
28
  }
29
29
 
30
30
  /** The absolute URL a page fetches for the collection. */