@cosmicdrift/kumiko-framework 0.241.0 → 0.242.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-framework",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.242.0",
|
|
4
4
|
"description": "Framework core — engine, pipeline, API, DB, and every other bit that makes Kumiko go.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"./package.json": "./package.json"
|
|
199
199
|
},
|
|
200
200
|
"dependencies": {
|
|
201
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
201
|
+
"@cosmicdrift/kumiko-types": "0.242.0",
|
|
202
202
|
"bullmq": "^5.76.7",
|
|
203
203
|
"bun-types": "^1.3.13",
|
|
204
204
|
"hono": "^4.13.1",
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"zod": "^4.4.3"
|
|
215
215
|
},
|
|
216
216
|
"devDependencies": {
|
|
217
|
-
"@cosmicdrift/kumiko-dispatcher-live": "0.
|
|
217
|
+
"@cosmicdrift/kumiko-dispatcher-live": "0.242.0",
|
|
218
218
|
"bun-types": "^1.3.13",
|
|
219
219
|
"pino-pretty": "^13.1.3"
|
|
220
220
|
},
|
package/src/engine/index.ts
CHANGED
|
@@ -473,7 +473,13 @@ export type {
|
|
|
473
473
|
WriteHandlerFn,
|
|
474
474
|
WriteResult,
|
|
475
475
|
} from "./types";
|
|
476
|
-
export {
|
|
476
|
+
export {
|
|
477
|
+
DEFAULT_CURRENCIES,
|
|
478
|
+
DEFAULT_LOCALES,
|
|
479
|
+
HookPhases,
|
|
480
|
+
isAgentVisibleScreen,
|
|
481
|
+
resolveAgentExposure,
|
|
482
|
+
} from "./types";
|
|
477
483
|
export { isSystemTenant, isUuid, parseTenantId, SYSTEM_TENANT_ID } from "./types/identifiers";
|
|
478
484
|
export type {
|
|
479
485
|
AwaitedEventType,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
// Barrel: re-exports all types from @cosmicdrift/kumiko-types, plus the
|
|
2
2
|
// runtime helpers below that stay framework-side.
|
|
3
3
|
|
|
4
|
-
export {
|
|
4
|
+
export {
|
|
5
|
+
isAgentVisibleScreen,
|
|
6
|
+
resolveAgentExposure,
|
|
7
|
+
} from "@cosmicdrift/kumiko-types/agent-exposure";
|
|
5
8
|
export type {
|
|
6
9
|
ConfigAccessor,
|
|
7
10
|
ConfigAccessorFactory,
|
|
@@ -103,8 +103,8 @@ describe("event-store performance — Gate A", () => {
|
|
|
103
103
|
);
|
|
104
104
|
|
|
105
105
|
expect(p95).toBeLessThan(30);
|
|
106
|
-
// Tail budget: cold-checkpoint/fsync spikes
|
|
107
|
-
expect(p99).toBeLessThan(
|
|
106
|
+
// Tail budget: absorbs cold-checkpoint/fsync spikes (observed up to 102ms at p50=1.2ms) while still catching order-of-magnitude regressions.
|
|
107
|
+
expect(p99).toBeLessThan(250);
|
|
108
108
|
});
|
|
109
109
|
|
|
110
110
|
test("read-latency p95 < 25ms for loadAggregate detail reads", async () => {
|
|
@@ -145,7 +145,7 @@ describe("event-store performance — Gate A", () => {
|
|
|
145
145
|
// 25ms budget kept from the original spike doc's 10ms — an
|
|
146
146
|
// order-of-magnitude gate, not an idle-best-case one. Tracking: #325.
|
|
147
147
|
expect(p95).toBeLessThan(25);
|
|
148
|
-
expect(p99).toBeLessThan(
|
|
148
|
+
expect(p99).toBeLessThan(250);
|
|
149
149
|
});
|
|
150
150
|
|
|
151
151
|
test("update-latency p95 < 30ms — exercises predecessor-check WHERE EXISTS path", async () => {
|
|
@@ -205,7 +205,7 @@ describe("event-store performance — Gate A", () => {
|
|
|
205
205
|
);
|
|
206
206
|
|
|
207
207
|
expect(p95).toBeLessThan(30);
|
|
208
|
-
expect(p99).toBeLessThan(
|
|
208
|
+
expect(p99).toBeLessThan(250);
|
|
209
209
|
});
|
|
210
210
|
|
|
211
211
|
test("snapshot-load < 50ms for 1000-event aggregate (Gate A)", async () => {
|