@agimon-ai/doompi-cache 0.0.1-alpha.2 → 0.0.1-alpha.21

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.
@@ -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"}
@@ -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"}