@cat-factory/node-server 0.87.8 → 0.87.10

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.
Files changed (64) hide show
  1. package/dist/cacheNotifications.d.ts +2 -1
  2. package/dist/cacheNotifications.d.ts.map +1 -1
  3. package/dist/container.d.ts +10 -2
  4. package/dist/container.d.ts.map +1 -1
  5. package/dist/container.js +8 -1
  6. package/dist/container.js.map +1 -1
  7. package/dist/environments.d.ts +0 -2
  8. package/dist/environments.d.ts.map +1 -1
  9. package/dist/environments.js +1 -1
  10. package/dist/environments.js.map +1 -1
  11. package/dist/execution/bootstrapRunner.d.ts +0 -8
  12. package/dist/execution/bootstrapRunner.d.ts.map +1 -1
  13. package/dist/execution/bootstrapRunner.js +1 -1
  14. package/dist/execution/bootstrapRunner.js.map +1 -1
  15. package/dist/execution/config.d.ts +0 -2
  16. package/dist/execution/config.d.ts.map +1 -1
  17. package/dist/execution/config.js +1 -1
  18. package/dist/execution/config.js.map +1 -1
  19. package/dist/execution/drive.d.ts +1 -1
  20. package/dist/execution/drive.d.ts.map +1 -1
  21. package/dist/execution/drive.js.map +1 -1
  22. package/dist/execution/envConfigRepairRunner.d.ts +0 -9
  23. package/dist/execution/envConfigRepairRunner.d.ts.map +1 -1
  24. package/dist/execution/envConfigRepairRunner.js +1 -1
  25. package/dist/execution/envConfigRepairRunner.js.map +1 -1
  26. package/dist/execution/reclaim.d.ts +2 -1
  27. package/dist/execution/reclaim.d.ts.map +1 -1
  28. package/dist/githubReconcile.d.ts +0 -2
  29. package/dist/githubReconcile.d.ts.map +1 -1
  30. package/dist/githubReconcile.js +1 -1
  31. package/dist/githubReconcile.js.map +1 -1
  32. package/dist/index.d.ts +2 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +6 -0
  35. package/dist/index.js.map +1 -1
  36. package/dist/initiativeLoop.d.ts +0 -2
  37. package/dist/initiativeLoop.d.ts.map +1 -1
  38. package/dist/initiativeLoop.js +1 -1
  39. package/dist/initiativeLoop.js.map +1 -1
  40. package/dist/kaizen.d.ts +0 -6
  41. package/dist/kaizen.d.ts.map +1 -1
  42. package/dist/kaizen.js +3 -3
  43. package/dist/kaizen.js.map +1 -1
  44. package/dist/notifications.d.ts +0 -2
  45. package/dist/notifications.d.ts.map +1 -1
  46. package/dist/notifications.js +1 -1
  47. package/dist/notifications.js.map +1 -1
  48. package/dist/recurring.d.ts +0 -2
  49. package/dist/recurring.d.ts.map +1 -1
  50. package/dist/recurring.js +1 -1
  51. package/dist/recurring.js.map +1 -1
  52. package/dist/repositories/drizzle.d.ts +1 -218
  53. package/dist/repositories/drizzle.d.ts.map +1 -1
  54. package/dist/repositories/drizzle.js +17 -17
  55. package/dist/repositories/drizzle.js.map +1 -1
  56. package/dist/retention.d.ts +0 -8
  57. package/dist/retention.d.ts.map +1 -1
  58. package/dist/retention.js +2 -2
  59. package/dist/retention.js.map +1 -1
  60. package/dist/server.d.ts +7 -0
  61. package/dist/server.d.ts.map +1 -1
  62. package/dist/server.js +1 -0
  63. package/dist/server.js.map +1 -1
  64. package/package.json +19 -19
@@ -2275,7 +2275,7 @@ function rowToKaizenGrading(row) {
2275
2275
  * are a JSON array. The unique (execution_id, step_index) index keeps scheduling
2276
2276
  * idempotent across durable re-drives.
2277
2277
  */
2278
- export class DrizzleKaizenGradingRepository {
2278
+ class DrizzleKaizenGradingRepository {
2279
2279
  db;
2280
2280
  constructor(db) {
2281
2281
  this.db = db;
@@ -2385,7 +2385,7 @@ function rowToKaizenVerifiedCombo(row) {
2385
2385
  * Kaizen verified-combo progress over Postgres (the Drizzle mirror of the Worker's
2386
2386
  * `D1KaizenVerifiedComboRepository`, migration 0015).
2387
2387
  */
2388
- export class DrizzleKaizenVerifiedComboRepository {
2388
+ class DrizzleKaizenVerifiedComboRepository {
2389
2389
  db;
2390
2390
  constructor(db) {
2391
2391
  this.db = db;
@@ -2488,7 +2488,7 @@ function rowToClarityReview(row) {
2488
2488
  * {@link D1ConsensusSessionRepository}. One row per (execution, step); the
2489
2489
  * participants/rounds/dissent live as JSON columns, upserted as the process streams.
2490
2490
  */
2491
- export class DrizzleConsensusSessionRepository {
2491
+ class DrizzleConsensusSessionRepository {
2492
2492
  db;
2493
2493
  constructor(db) {
2494
2494
  this.db = db;
@@ -2656,7 +2656,7 @@ function rowToBrainstormSession(row) {
2656
2656
  * stores. Keyed per (block, stage): a block may hold a live `requirements` AND `architecture`
2657
2657
  * session at once.
2658
2658
  */
2659
- export class DrizzleBrainstormSessionRepository {
2659
+ class DrizzleBrainstormSessionRepository {
2660
2660
  db;
2661
2661
  constructor(db) {
2662
2662
  this.db = db;
@@ -2726,7 +2726,7 @@ const rowToInitiative = decodeInitiativeRow;
2726
2726
  * cross-runtime conformance suite asserts the same CRUD + rev-guarded CAS against
2727
2727
  * both stores.
2728
2728
  */
2729
- export class DrizzleInitiativeRepository {
2729
+ class DrizzleInitiativeRepository {
2730
2730
  db;
2731
2731
  constructor(db) {
2732
2732
  this.db = db;
@@ -2829,7 +2829,7 @@ function rowToMergePreset(row) {
2829
2829
  * rule too; the DELETE also guards `is_default = 0`). Behaviourally identical to the
2830
2830
  * D1 repo so the cross-runtime conformance suite asserts the same preset resolution.
2831
2831
  */
2832
- export class DrizzleMergePresetRepository {
2832
+ class DrizzleMergePresetRepository {
2833
2833
  db;
2834
2834
  constructor(db) {
2835
2835
  this.db = db;
@@ -2972,7 +2972,7 @@ function rowToSharedStack(row) {
2972
2972
  * `allow_host_commands` as 0/1; behaviourally identical to the D1 repo so the cross-runtime
2973
2973
  * conformance suite asserts the same round-trip.
2974
2974
  */
2975
- export class DrizzleSharedStackRepository {
2975
+ class DrizzleSharedStackRepository {
2976
2976
  db;
2977
2977
  constructor(db) {
2978
2978
  this.db = db;
@@ -3046,7 +3046,7 @@ export class DrizzleSharedStackRepository {
3046
3046
  // The Drizzle mirror of the Worker's five `D1Sandbox*Repository` classes. JSON-shaped
3047
3047
  // fields are stored as text JSON, parsed defensively; behaviourally identical to the D1
3048
3048
  // repos so the cross-runtime conformance suite asserts the same Sandbox behaviour.
3049
- export class DrizzleSandboxPromptVersionRepository {
3049
+ class DrizzleSandboxPromptVersionRepository {
3050
3050
  db;
3051
3051
  constructor(db) {
3052
3052
  this.db = db;
@@ -3119,7 +3119,7 @@ export class DrizzleSandboxPromptVersionRepository {
3119
3119
  .where(and(eq(sandboxPromptVersions.workspace_id, workspaceId), eq(sandboxPromptVersions.id, id)));
3120
3120
  }
3121
3121
  }
3122
- export class DrizzleSandboxFixtureRepository {
3122
+ class DrizzleSandboxFixtureRepository {
3123
3123
  db;
3124
3124
  constructor(db) {
3125
3125
  this.db = db;
@@ -3173,7 +3173,7 @@ export class DrizzleSandboxFixtureRepository {
3173
3173
  .where(and(eq(sandboxFixtures.workspace_id, workspaceId), eq(sandboxFixtures.id, id)));
3174
3174
  }
3175
3175
  }
3176
- export class DrizzleSandboxExperimentRepository {
3176
+ class DrizzleSandboxExperimentRepository {
3177
3177
  db;
3178
3178
  constructor(db) {
3179
3179
  this.db = db;
@@ -3243,7 +3243,7 @@ export class DrizzleSandboxExperimentRepository {
3243
3243
  return rows.length > 0;
3244
3244
  }
3245
3245
  }
3246
- export class DrizzleSandboxRunRepository {
3246
+ class DrizzleSandboxRunRepository {
3247
3247
  db;
3248
3248
  constructor(db) {
3249
3249
  this.db = db;
@@ -3332,7 +3332,7 @@ export class DrizzleSandboxRunRepository {
3332
3332
  .where(and(eq(sandboxRuns.workspace_id, workspaceId), eq(sandboxRuns.experiment_id, experimentId)));
3333
3333
  }
3334
3334
  }
3335
- export class DrizzleSandboxGradeRepository {
3335
+ class DrizzleSandboxGradeRepository {
3336
3336
  db;
3337
3337
  constructor(db) {
3338
3338
  this.db = db;
@@ -3491,7 +3491,7 @@ export class DrizzleWorkspaceSettingsRepository {
3491
3491
  * provider-specific credentials are stored as a sealed JSON blob (encrypted by the caller),
3492
3492
  * with a non-secret `summary` blob for display.
3493
3493
  */
3494
- export class DrizzleObservabilityConnectionRepository {
3494
+ class DrizzleObservabilityConnectionRepository {
3495
3495
  db;
3496
3496
  constructor(db) {
3497
3497
  this.db = db;
@@ -3548,7 +3548,7 @@ export class DrizzleObservabilityConnectionRepository {
3548
3548
  * workspace; the registry entries are stored as ONE sealed JSON array (encrypted by the
3549
3549
  * caller), with a non-secret `summary` blob for display.
3550
3550
  */
3551
- export class DrizzlePackageRegistryConnectionRepository {
3551
+ class DrizzlePackageRegistryConnectionRepository {
3552
3552
  db;
3553
3553
  constructor(db) {
3554
3554
  this.db = db;
@@ -3602,7 +3602,7 @@ export class DrizzlePackageRegistryConnectionRepository {
3602
3602
  * workspace; both PagerDuty + incident.io credentials live in ONE sealed JSON blob
3603
3603
  * (encrypted by the caller), with a non-secret `summary` presence blob.
3604
3604
  */
3605
- export class DrizzleIncidentEnrichmentConnectionRepository {
3605
+ class DrizzleIncidentEnrichmentConnectionRepository {
3606
3606
  db;
3607
3607
  constructor(db) {
3608
3608
  this.db = db;
@@ -3655,7 +3655,7 @@ export class DrizzleIncidentEnrichmentConnectionRepository {
3655
3655
  * `D1AccountSettingsRepository`, migration 0014). One row per account; `config` + `summary`
3656
3656
  * are non-secret JSON, the ONE sealed `secrets_cipher` blob is encrypted by the caller.
3657
3657
  */
3658
- export class DrizzleAccountSettingsRepository {
3658
+ class DrizzleAccountSettingsRepository {
3659
3659
  db;
3660
3660
  constructor(db) {
3661
3661
  this.db = db;
@@ -3775,7 +3775,7 @@ function rowToReleaseHealthConfig(row) {
3775
3775
  * Per-block monitor/SLO mapping for the post-release-health gate over Postgres (the
3776
3776
  * Drizzle mirror of the Worker's `D1ReleaseHealthConfigRepository`, migration 0003).
3777
3777
  */
3778
- export class DrizzleReleaseHealthConfigRepository {
3778
+ class DrizzleReleaseHealthConfigRepository {
3779
3779
  db;
3780
3780
  constructor(db) {
3781
3781
  this.db = db;