@catalyst-cloud/sdk 0.16.4 → 0.16.6

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 (2) hide show
  1. package/dist/node.js +177 -0
  2. package/package.json +5 -5
package/dist/node.js CHANGED
@@ -3910,12 +3910,31 @@ var durableEventTypes = {
3910
3910
  wakes: false,
3911
3911
  entity: "ticket"
3912
3912
  },
3913
+ "phase.implement.started": {
3914
+ rationale: "An agent began the implement phase. This is the agent's work boundary, paired with phase.implement.complete or phase.implement.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
3915
+ ingestVerb: "coordination.publish",
3916
+ wakes: false,
3917
+ entity: "ticket",
3918
+ publishers: ["host", "lease-holder"]
3919
+ },
3913
3920
  "phase.implement.complete": {
3914
3921
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
3915
3922
  ingestVerb: "coordination.publish",
3916
3923
  wakes: false,
3917
3924
  entity: "ticket"
3918
3925
  },
3926
+ "phase.implement.decision-raised": {
3927
+ rationale: "The mirror confirmed a blocking ask for a human question surfaced by an implement stage marker (CTC-5742).",
3928
+ ingestVerb: "coordination.publish",
3929
+ wakes: false,
3930
+ entity: "ticket"
3931
+ },
3932
+ "phase.implement.decision-surfaced": {
3933
+ rationale: "An implement stage marker surfaced a human question for the mirror's blocking-ask path (CTC-5742).",
3934
+ ingestVerb: "coordination.publish",
3935
+ wakes: false,
3936
+ entity: "ticket"
3937
+ },
3919
3938
  "phase.implement.escalated": {
3920
3939
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase escalated to a human.",
3921
3940
  ingestVerb: "coordination.publish",
@@ -4001,12 +4020,31 @@ var durableEventTypes = {
4001
4020
  wakes: false,
4002
4021
  entity: "ticket"
4003
4022
  },
4023
+ "phase.intake.started": {
4024
+ rationale: "An agent began the intake phase. This is the agent's work boundary, paired with phase.intake.complete or phase.intake.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4025
+ ingestVerb: "coordination.publish",
4026
+ wakes: false,
4027
+ entity: "ticket",
4028
+ publishers: ["host", "lease-holder"]
4029
+ },
4004
4030
  "phase.intake.complete": {
4005
4031
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4006
4032
  ingestVerb: "coordination.publish",
4007
4033
  wakes: false,
4008
4034
  entity: "ticket"
4009
4035
  },
4036
+ "phase.intake.decision-raised": {
4037
+ rationale: "The mirror confirmed a blocking ask for a human question surfaced by an intake stage marker (CTC-5742).",
4038
+ ingestVerb: "coordination.publish",
4039
+ wakes: false,
4040
+ entity: "ticket"
4041
+ },
4042
+ "phase.intake.decision-surfaced": {
4043
+ rationale: "An intake stage marker surfaced a human question for the mirror's blocking-ask path (CTC-5742).",
4044
+ ingestVerb: "coordination.publish",
4045
+ wakes: false,
4046
+ entity: "ticket"
4047
+ },
4010
4048
  "phase.intake.failed": {
4011
4049
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported failure.",
4012
4050
  ingestVerb: "coordination.publish",
@@ -4049,12 +4087,31 @@ var durableEventTypes = {
4049
4087
  wakes: false,
4050
4088
  entity: "ticket"
4051
4089
  },
4090
+ "phase.merge.started": {
4091
+ rationale: "An agent began the merge phase. This is the agent's work boundary, paired with phase.merge.complete or phase.merge.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4092
+ ingestVerb: "coordination.publish",
4093
+ wakes: false,
4094
+ entity: "ticket",
4095
+ publishers: ["host", "lease-holder"]
4096
+ },
4052
4097
  "phase.merge.complete": {
4053
4098
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4054
4099
  ingestVerb: "coordination.publish",
4055
4100
  wakes: false,
4056
4101
  entity: "ticket"
4057
4102
  },
4103
+ "phase.merge.decision-raised": {
4104
+ rationale: "The mirror confirmed a blocking ask for a human question surfaced by a merge stage marker (CTC-5742).",
4105
+ ingestVerb: "coordination.publish",
4106
+ wakes: false,
4107
+ entity: "ticket"
4108
+ },
4109
+ "phase.merge.decision-surfaced": {
4110
+ rationale: "A merge stage marker surfaced a human question for the mirror's blocking-ask path (CTC-5742).",
4111
+ ingestVerb: "coordination.publish",
4112
+ wakes: false,
4113
+ entity: "ticket"
4114
+ },
4058
4115
  "phase.merge.deferred": {
4059
4116
  rationale: "A merge run found checks or review evidence still pending. It wrote no receipt and is not a phase failure (CTC-3290).",
4060
4117
  ingestVerb: "coordination.publish",
@@ -4097,6 +4154,13 @@ var durableEventTypes = {
4097
4154
  wakes: false,
4098
4155
  entity: "ticket"
4099
4156
  },
4157
+ "phase.monitor-deploy.started": {
4158
+ rationale: "An agent began the monitor-deploy phase. This is the agent's work boundary, paired with phase.monitor-deploy.complete or phase.monitor-deploy.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4159
+ ingestVerb: "coordination.publish",
4160
+ wakes: false,
4161
+ entity: "ticket",
4162
+ publishers: ["host", "lease-holder"]
4163
+ },
4100
4164
  "phase.monitor-deploy.complete": {
4101
4165
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4102
4166
  ingestVerb: "coordination.publish",
@@ -4151,6 +4215,13 @@ var durableEventTypes = {
4151
4215
  wakes: false,
4152
4216
  entity: "ticket"
4153
4217
  },
4218
+ "phase.monitor-merge.started": {
4219
+ rationale: "An agent began the monitor-merge phase. This is the agent's work boundary, paired with phase.monitor-merge.complete or phase.monitor-merge.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4220
+ ingestVerb: "coordination.publish",
4221
+ wakes: false,
4222
+ entity: "ticket",
4223
+ publishers: ["host", "lease-holder"]
4224
+ },
4154
4225
  "phase.monitor-merge.complete": {
4155
4226
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4156
4227
  ingestVerb: "coordination.publish",
@@ -4223,12 +4294,31 @@ var durableEventTypes = {
4223
4294
  wakes: false,
4224
4295
  entity: "ticket"
4225
4296
  },
4297
+ "phase.plan.started": {
4298
+ rationale: "An agent began the plan phase. This is the agent's work boundary, paired with phase.plan.complete or phase.plan.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4299
+ ingestVerb: "coordination.publish",
4300
+ wakes: false,
4301
+ entity: "ticket",
4302
+ publishers: ["host", "lease-holder"]
4303
+ },
4226
4304
  "phase.plan.complete": {
4227
4305
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4228
4306
  ingestVerb: "coordination.publish",
4229
4307
  wakes: false,
4230
4308
  entity: "ticket"
4231
4309
  },
4310
+ "phase.plan.decision-raised": {
4311
+ rationale: "The mirror confirmed a blocking ask for a human question surfaced by a plan stage marker (CTC-5742).",
4312
+ ingestVerb: "coordination.publish",
4313
+ wakes: false,
4314
+ entity: "ticket"
4315
+ },
4316
+ "phase.plan.decision-surfaced": {
4317
+ rationale: "A plan stage marker surfaced a human question for the mirror's blocking-ask path (CTC-5742).",
4318
+ ingestVerb: "coordination.publish",
4319
+ wakes: false,
4320
+ entity: "ticket"
4321
+ },
4232
4322
  "phase.plan.escalated": {
4233
4323
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase escalated to a human.",
4234
4324
  ingestVerb: "coordination.publish",
@@ -4301,12 +4391,31 @@ var durableEventTypes = {
4301
4391
  wakes: false,
4302
4392
  entity: "ticket"
4303
4393
  },
4394
+ "phase.pr.started": {
4395
+ rationale: "An agent began the pr phase. This is the agent's work boundary, paired with phase.pr.complete or phase.pr.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4396
+ ingestVerb: "coordination.publish",
4397
+ wakes: false,
4398
+ entity: "ticket",
4399
+ publishers: ["host", "lease-holder"]
4400
+ },
4304
4401
  "phase.pr.complete": {
4305
4402
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4306
4403
  ingestVerb: "coordination.publish",
4307
4404
  wakes: false,
4308
4405
  entity: "ticket"
4309
4406
  },
4407
+ "phase.pr.decision-raised": {
4408
+ rationale: "The mirror confirmed a blocking ask for a human question surfaced by a PR stage marker (CTC-5742).",
4409
+ ingestVerb: "coordination.publish",
4410
+ wakes: false,
4411
+ entity: "ticket"
4412
+ },
4413
+ "phase.pr.decision-surfaced": {
4414
+ rationale: "A PR stage marker surfaced a human question for the mirror's blocking-ask path (CTC-5742).",
4415
+ ingestVerb: "coordination.publish",
4416
+ wakes: false,
4417
+ entity: "ticket"
4418
+ },
4310
4419
  "phase.pr.failed": {
4311
4420
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported failure.",
4312
4421
  ingestVerb: "coordination.publish",
@@ -4361,6 +4470,13 @@ var durableEventTypes = {
4361
4470
  wakes: false,
4362
4471
  entity: "ticket"
4363
4472
  },
4473
+ "phase.recovery-pass.started": {
4474
+ rationale: "An agent began the recovery-pass phase. This is the agent's work boundary, paired with phase.recovery-pass.complete or phase.recovery-pass.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4475
+ ingestVerb: "coordination.publish",
4476
+ wakes: false,
4477
+ entity: "ticket",
4478
+ publishers: ["host", "lease-holder"]
4479
+ },
4364
4480
  "phase.recovery-pass.complete": {
4365
4481
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4366
4482
  ingestVerb: "coordination.publish",
@@ -4403,6 +4519,13 @@ var durableEventTypes = {
4403
4519
  wakes: false,
4404
4520
  entity: "ticket"
4405
4521
  },
4522
+ "phase.remediate.started": {
4523
+ rationale: "An agent began the remediate phase. This is the agent's work boundary, paired with phase.remediate.complete or phase.remediate.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4524
+ ingestVerb: "coordination.publish",
4525
+ wakes: false,
4526
+ entity: "ticket",
4527
+ publishers: ["host", "lease-holder"]
4528
+ },
4406
4529
  "phase.remediate.complete": {
4407
4530
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4408
4531
  ingestVerb: "coordination.publish",
@@ -4517,12 +4640,31 @@ var durableEventTypes = {
4517
4640
  wakes: false,
4518
4641
  entity: "ticket"
4519
4642
  },
4643
+ "phase.research.started": {
4644
+ rationale: "An agent began the research phase. This is the agent's work boundary, paired with phase.research.complete or phase.research.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4645
+ ingestVerb: "coordination.publish",
4646
+ wakes: false,
4647
+ entity: "ticket",
4648
+ publishers: ["host", "lease-holder"]
4649
+ },
4520
4650
  "phase.research.complete": {
4521
4651
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4522
4652
  ingestVerb: "coordination.publish",
4523
4653
  wakes: false,
4524
4654
  entity: "ticket"
4525
4655
  },
4656
+ "phase.research.decision-raised": {
4657
+ rationale: "The mirror confirmed a blocking ask for a human question surfaced by a research stage marker (CTC-5742).",
4658
+ ingestVerb: "coordination.publish",
4659
+ wakes: false,
4660
+ entity: "ticket"
4661
+ },
4662
+ "phase.research.decision-surfaced": {
4663
+ rationale: "A research stage marker surfaced a human question for the mirror's blocking-ask path (CTC-5742).",
4664
+ ingestVerb: "coordination.publish",
4665
+ wakes: false,
4666
+ entity: "ticket"
4667
+ },
4526
4668
  "phase.research.failed": {
4527
4669
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported failure.",
4528
4670
  ingestVerb: "coordination.publish",
@@ -4595,6 +4737,13 @@ var durableEventTypes = {
4595
4737
  wakes: false,
4596
4738
  entity: "ticket"
4597
4739
  },
4740
+ "phase.review.started": {
4741
+ rationale: "An agent began the review phase. This is the agent's work boundary, paired with phase.review.complete or phase.review.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4742
+ ingestVerb: "coordination.publish",
4743
+ wakes: false,
4744
+ entity: "ticket",
4745
+ publishers: ["host", "lease-holder"]
4746
+ },
4598
4747
  "phase.review.complete": {
4599
4748
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4600
4749
  ingestVerb: "coordination.publish",
@@ -4667,6 +4816,13 @@ var durableEventTypes = {
4667
4816
  wakes: false,
4668
4817
  entity: "ticket"
4669
4818
  },
4819
+ "phase.teardown.started": {
4820
+ rationale: "An agent began the teardown phase. This is the agent's work boundary, paired with phase.teardown.complete or phase.teardown.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4821
+ ingestVerb: "coordination.publish",
4822
+ wakes: false,
4823
+ entity: "ticket",
4824
+ publishers: ["host", "lease-holder"]
4825
+ },
4670
4826
  "phase.teardown.complete": {
4671
4827
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4672
4828
  ingestVerb: "coordination.publish",
@@ -4708,6 +4864,13 @@ var durableEventTypes = {
4708
4864
  wakes: false,
4709
4865
  entity: "ticket"
4710
4866
  },
4867
+ "phase.triage.started": {
4868
+ rationale: "An agent began the triage phase. This is the agent's work boundary, paired with phase.triage.complete or phase.triage.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4869
+ ingestVerb: "coordination.publish",
4870
+ wakes: false,
4871
+ entity: "ticket",
4872
+ publishers: ["host", "lease-holder"]
4873
+ },
4711
4874
  "phase.triage.complete": {
4712
4875
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success. CTC-1597 renamed this phase to `intake`; this key is RETAINED to classify the historical corpus and any legacy re-publish \u2014 nothing emits it going forward.",
4713
4876
  ingestVerb: "coordination.publish",
@@ -4750,6 +4913,13 @@ var durableEventTypes = {
4750
4913
  wakes: false,
4751
4914
  entity: "ticket"
4752
4915
  },
4916
+ "phase.validate.started": {
4917
+ rationale: "An agent began the validate phase. This is the agent's work boundary, paired with phase.validate.complete or phase.validate.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4918
+ ingestVerb: "coordination.publish",
4919
+ wakes: false,
4920
+ entity: "ticket",
4921
+ publishers: ["host", "lease-holder"]
4922
+ },
4753
4923
  "phase.validate.complete": {
4754
4924
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4755
4925
  ingestVerb: "coordination.publish",
@@ -4810,6 +4980,13 @@ var durableEventTypes = {
4810
4980
  wakes: false,
4811
4981
  entity: "ticket"
4812
4982
  },
4983
+ "phase.verify.started": {
4984
+ rationale: "An agent began the verify phase. This is the agent's work boundary, paired with phase.verify.complete or phase.verify.failed; phase.dispatch.launched records the earlier cloud-to-worker handoff.",
4985
+ ingestVerb: "coordination.publish",
4986
+ wakes: false,
4987
+ entity: "ticket",
4988
+ publishers: ["host", "lease-holder"]
4989
+ },
4813
4990
  "phase.verify.complete": {
4814
4991
  rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
4815
4992
  ingestVerb: "coordination.publish",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@catalyst-cloud/sdk",
3
- "version": "0.16.4",
3
+ "version": "0.16.6",
4
4
  "description": "Read and update your Catalyst Cloud data, and receive live changes in your apps.",
5
5
  "license": "MIT",
6
6
  "author": "Coalesce Labs",
@@ -100,8 +100,8 @@
100
100
  ],
101
101
  "devDependencies": {
102
102
  "@catalyst-cloud/read-model": "^0.16.0",
103
- "@catalyst-cloud/replicate": "0.16.3",
104
- "@catalyst-cloud/schema": "0.16.3",
103
+ "@catalyst-cloud/replicate": "0.16.5",
104
+ "@catalyst-cloud/schema": "0.16.5",
105
105
  "@opentelemetry/api": "^1.9.0",
106
106
  "@opentelemetry/context-async-hooks": "^2.8.0",
107
107
  "@opentelemetry/resources": "^2.8.0",
@@ -119,8 +119,8 @@
119
119
  "@sqlite.org/sqlite-wasm": "*",
120
120
  "better-sqlite3": "*",
121
121
  "@catalyst-cloud/read-model": "^0.16.0",
122
- "@catalyst-cloud/replicate": "0.16.3",
123
- "@catalyst-cloud/schema": "0.16.3"
122
+ "@catalyst-cloud/replicate": "0.16.5",
123
+ "@catalyst-cloud/schema": "0.16.5"
124
124
  },
125
125
  "peerDependenciesMeta": {
126
126
  "@opentelemetry/api": {