@agimon-ai/doompi-cache 0.0.1-alpha.3 → 0.0.1-alpha.5
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 +2 -12
- package/dist/extensions/pi.cjs +1 -2
- package/dist/extensions/pi.cjs.map +1 -1
- package/dist/extensions/pi.d.cts.map +1 -1
- package/dist/extensions/pi.d.mts.map +1 -1
- package/dist/extensions/pi.mjs +1 -2
- package/dist/extensions/pi.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -1
- package/dist/pi-cache-optimizer-B7B911Pz.cjs.map +1 -1
- package/dist/pi-cache-optimizer-CjPVk06Q.mjs.map +1 -1
- package/llms.txt +1 -1
- package/package.json +6 -6
- package/src/prompts/doompi-use-cache/SKILL.md +1 -2
- package/dist/services/status.cjs +0 -3
- package/dist/services/status.cjs.map +0 -1
- package/dist/services/status.d.cts +0 -6
- package/dist/services/status.d.cts.map +0 -1
- package/dist/services/status.d.mts +0 -6
- package/dist/services/status.d.mts.map +0 -1
- package/dist/services/status.mjs +0 -3
- package/dist/services/status.mjs.map +0 -1
package/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@ Package-owned guidance for Provider prompt cache policy and deterministic routin
|
|
|
4
4
|
|
|
5
5
|
## How to use
|
|
6
6
|
|
|
7
|
-
- [Use Cache](./src/prompts/doompi-use-cache/SKILL.md):
|
|
7
|
+
- [Use Cache](./src/prompts/doompi-use-cache/SKILL.md): Package-specific usage guidance.
|
|
8
8
|
|
|
9
9
|
## Resources
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/doompi-cache",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.5",
|
|
4
4
|
"description": "Provider prompt cache policy and deterministic routing for DoomPi",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -60,20 +60,20 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@deepseek-ai/cordis": "4.0.1",
|
|
62
62
|
"pi-cache-optimizer": "2.8.3",
|
|
63
|
-
"@agimon-ai/doompi-config": "0.0.1-alpha.
|
|
64
|
-
"@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.
|
|
63
|
+
"@agimon-ai/doompi-config": "0.0.1-alpha.38",
|
|
64
|
+
"@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.38"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
67
|
+
"@earendil-works/pi-coding-agent": "0.84.3",
|
|
68
68
|
"@types/node": "26.2.0",
|
|
69
69
|
"@vitest/coverage-v8": "4.1.11",
|
|
70
70
|
"tsdown": "0.22.14",
|
|
71
71
|
"typescript": "7.0.2",
|
|
72
72
|
"vitest": "4.1.11",
|
|
73
|
-
"@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.
|
|
73
|
+
"@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.1-alpha.36"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
76
|
+
"@earendil-works/pi-coding-agent": "0.84.3"
|
|
77
77
|
},
|
|
78
78
|
"peerDependenciesMeta": {
|
|
79
79
|
"@earendil-works/pi-coding-agent": {
|
|
@@ -5,10 +5,9 @@ description: 'Use @agimon-ai/doompi-cache: Provider prompt cache policy and dete
|
|
|
5
5
|
|
|
6
6
|
# Use Cache
|
|
7
7
|
|
|
8
|
-
Read the package [README](../../../README.md) for its exact installation,
|
|
8
|
+
Read the package [README](../../../README.md) for its exact installation, configuration, and behavior.
|
|
9
9
|
|
|
10
10
|
## Guidance
|
|
11
11
|
|
|
12
|
-
- Use `/doom-cache` as the package's primary Pi entrypoint.
|
|
13
12
|
- Treat the package README and its linked resources as the source of truth for package-specific behavior.
|
|
14
13
|
- Do not require DoomPi Help for runtime activation. Help only makes this package guidance discoverable while the minor mode is active.
|
package/dist/services/status.cjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
function e(e){let t=e.lastObservation;return t?`Last provider observation: cacheRead=${t.cacheRead}, cacheWrite=${t.cacheWrite}, input=${t.totalInput}`:`Last provider observation: none`}function t(t){return[`DoomPi provider prompt cache`,`Capability: ${t.capability}`,`Requested retention: ${t.requestedRetention??`provider default`}`,`Namespace key: ${t.keySuffix?`…${t.keySuffix}`:`unavailable`}`,e(t),`Current provider residency: unknown`,`UI CH and optimizer counters are aggregate reuse metrics, not residency guarantees.`].join(`
|
|
2
|
-
`)}exports.formatPromptCacheStatus=t;
|
|
3
|
-
//# sourceMappingURL=status.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.cjs","names":[],"sources":["../../src/services/status.ts"],"sourcesContent":["import type { PromptCacheTelemetrySnapshot } from '../types/cache.ts';\n\nfunction observationLine(snapshot: PromptCacheTelemetrySnapshot): string {\n const observation = snapshot.lastObservation;\n if (!observation) return 'Last provider observation: none';\n return `Last provider observation: cacheRead=${observation.cacheRead}, cacheWrite=${observation.cacheWrite}, input=${observation.totalInput}`;\n}\n\nexport function formatPromptCacheStatus(snapshot: PromptCacheTelemetrySnapshot): string {\n return [\n 'DoomPi provider prompt cache',\n `Capability: ${snapshot.capability}`,\n `Requested retention: ${snapshot.requestedRetention ?? 'provider default'}`,\n `Namespace key: ${snapshot.keySuffix ? `…${snapshot.keySuffix}` : 'unavailable'}`,\n observationLine(snapshot),\n 'Current provider residency: unknown',\n 'UI CH and optimizer counters are aggregate reuse metrics, not residency guarantees.',\n ].join('\\n');\n}\n"],"mappings":"AAEA,SAAS,EAAgB,EAAgD,CACvE,IAAM,EAAc,EAAS,gBAE7B,OADK,EACE,wCAAwC,EAAY,UAAU,eAAe,EAAY,WAAW,UAAU,EAAY,aADxG,iCAE3B,CAEA,SAAgB,EAAwB,EAAgD,CACtF,MAAO,CACL,+BACA,eAAe,EAAS,aACxB,wBAAwB,EAAS,oBAAsB,qBACvD,kBAAkB,EAAS,UAAY,IAAI,EAAS,YAAc,gBAClE,EAAgB,CAAQ,EACxB,sCACA,qFACF,CAAC,CAAC,KAAK;CAAI,CACb"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PromptCacheTelemetrySnapshot } from "../types/cache.cjs";
|
|
2
|
-
//#region src/services/status.d.ts
|
|
3
|
-
declare function formatPromptCacheStatus(snapshot: PromptCacheTelemetrySnapshot): string;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { formatPromptCacheStatus };
|
|
6
|
-
//# sourceMappingURL=status.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.cts","names":[],"sources":["../../src/services/status.ts"],"mappings":";;iBAQgB,wBAAwB,UAAU"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PromptCacheTelemetrySnapshot } from "../types/cache.mjs";
|
|
2
|
-
//#region src/services/status.d.ts
|
|
3
|
-
declare function formatPromptCacheStatus(snapshot: PromptCacheTelemetrySnapshot): string;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { formatPromptCacheStatus };
|
|
6
|
-
//# sourceMappingURL=status.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.mts","names":[],"sources":["../../src/services/status.ts"],"mappings":";;iBAQgB,wBAAwB,UAAU"}
|
package/dist/services/status.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
function e(e){let t=e.lastObservation;return t?`Last provider observation: cacheRead=${t.cacheRead}, cacheWrite=${t.cacheWrite}, input=${t.totalInput}`:`Last provider observation: none`}function t(t){return[`DoomPi provider prompt cache`,`Capability: ${t.capability}`,`Requested retention: ${t.requestedRetention??`provider default`}`,`Namespace key: ${t.keySuffix?`…${t.keySuffix}`:`unavailable`}`,e(t),`Current provider residency: unknown`,`UI CH and optimizer counters are aggregate reuse metrics, not residency guarantees.`].join(`
|
|
2
|
-
`)}export{t as formatPromptCacheStatus};
|
|
3
|
-
//# sourceMappingURL=status.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.mjs","names":[],"sources":["../../src/services/status.ts"],"sourcesContent":["import type { PromptCacheTelemetrySnapshot } from '../types/cache.ts';\n\nfunction observationLine(snapshot: PromptCacheTelemetrySnapshot): string {\n const observation = snapshot.lastObservation;\n if (!observation) return 'Last provider observation: none';\n return `Last provider observation: cacheRead=${observation.cacheRead}, cacheWrite=${observation.cacheWrite}, input=${observation.totalInput}`;\n}\n\nexport function formatPromptCacheStatus(snapshot: PromptCacheTelemetrySnapshot): string {\n return [\n 'DoomPi provider prompt cache',\n `Capability: ${snapshot.capability}`,\n `Requested retention: ${snapshot.requestedRetention ?? 'provider default'}`,\n `Namespace key: ${snapshot.keySuffix ? `…${snapshot.keySuffix}` : 'unavailable'}`,\n observationLine(snapshot),\n 'Current provider residency: unknown',\n 'UI CH and optimizer counters are aggregate reuse metrics, not residency guarantees.',\n ].join('\\n');\n}\n"],"mappings":"AAEA,SAAS,EAAgB,EAAgD,CACvE,IAAM,EAAc,EAAS,gBAE7B,OADK,EACE,wCAAwC,EAAY,UAAU,eAAe,EAAY,WAAW,UAAU,EAAY,aADxG,iCAE3B,CAEA,SAAgB,EAAwB,EAAgD,CACtF,MAAO,CACL,+BACA,eAAe,EAAS,aACxB,wBAAwB,EAAS,oBAAsB,qBACvD,kBAAkB,EAAS,UAAY,IAAI,EAAS,YAAc,gBAClE,EAAgB,CAAQ,EACxB,sCACA,qFACF,CAAC,CAAC,KAAK;CAAI,CACb"}
|