@catalyst-cloud/sdk 0.16.3 → 0.16.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/dist/node.js +109 -0
- package/package.json +5 -5
package/dist/node.js
CHANGED
|
@@ -3910,6 +3910,13 @@ 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",
|
|
@@ -4001,6 +4008,13 @@ var durableEventTypes = {
|
|
|
4001
4008
|
wakes: false,
|
|
4002
4009
|
entity: "ticket"
|
|
4003
4010
|
},
|
|
4011
|
+
"phase.intake.started": {
|
|
4012
|
+
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.",
|
|
4013
|
+
ingestVerb: "coordination.publish",
|
|
4014
|
+
wakes: false,
|
|
4015
|
+
entity: "ticket",
|
|
4016
|
+
publishers: ["host", "lease-holder"]
|
|
4017
|
+
},
|
|
4004
4018
|
"phase.intake.complete": {
|
|
4005
4019
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4006
4020
|
ingestVerb: "coordination.publish",
|
|
@@ -4049,6 +4063,13 @@ var durableEventTypes = {
|
|
|
4049
4063
|
wakes: false,
|
|
4050
4064
|
entity: "ticket"
|
|
4051
4065
|
},
|
|
4066
|
+
"phase.merge.started": {
|
|
4067
|
+
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.",
|
|
4068
|
+
ingestVerb: "coordination.publish",
|
|
4069
|
+
wakes: false,
|
|
4070
|
+
entity: "ticket",
|
|
4071
|
+
publishers: ["host", "lease-holder"]
|
|
4072
|
+
},
|
|
4052
4073
|
"phase.merge.complete": {
|
|
4053
4074
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4054
4075
|
ingestVerb: "coordination.publish",
|
|
@@ -4097,6 +4118,13 @@ var durableEventTypes = {
|
|
|
4097
4118
|
wakes: false,
|
|
4098
4119
|
entity: "ticket"
|
|
4099
4120
|
},
|
|
4121
|
+
"phase.monitor-deploy.started": {
|
|
4122
|
+
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.",
|
|
4123
|
+
ingestVerb: "coordination.publish",
|
|
4124
|
+
wakes: false,
|
|
4125
|
+
entity: "ticket",
|
|
4126
|
+
publishers: ["host", "lease-holder"]
|
|
4127
|
+
},
|
|
4100
4128
|
"phase.monitor-deploy.complete": {
|
|
4101
4129
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4102
4130
|
ingestVerb: "coordination.publish",
|
|
@@ -4151,6 +4179,13 @@ var durableEventTypes = {
|
|
|
4151
4179
|
wakes: false,
|
|
4152
4180
|
entity: "ticket"
|
|
4153
4181
|
},
|
|
4182
|
+
"phase.monitor-merge.started": {
|
|
4183
|
+
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.",
|
|
4184
|
+
ingestVerb: "coordination.publish",
|
|
4185
|
+
wakes: false,
|
|
4186
|
+
entity: "ticket",
|
|
4187
|
+
publishers: ["host", "lease-holder"]
|
|
4188
|
+
},
|
|
4154
4189
|
"phase.monitor-merge.complete": {
|
|
4155
4190
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4156
4191
|
ingestVerb: "coordination.publish",
|
|
@@ -4223,6 +4258,13 @@ var durableEventTypes = {
|
|
|
4223
4258
|
wakes: false,
|
|
4224
4259
|
entity: "ticket"
|
|
4225
4260
|
},
|
|
4261
|
+
"phase.plan.started": {
|
|
4262
|
+
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.",
|
|
4263
|
+
ingestVerb: "coordination.publish",
|
|
4264
|
+
wakes: false,
|
|
4265
|
+
entity: "ticket",
|
|
4266
|
+
publishers: ["host", "lease-holder"]
|
|
4267
|
+
},
|
|
4226
4268
|
"phase.plan.complete": {
|
|
4227
4269
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4228
4270
|
ingestVerb: "coordination.publish",
|
|
@@ -4301,6 +4343,13 @@ var durableEventTypes = {
|
|
|
4301
4343
|
wakes: false,
|
|
4302
4344
|
entity: "ticket"
|
|
4303
4345
|
},
|
|
4346
|
+
"phase.pr.started": {
|
|
4347
|
+
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.",
|
|
4348
|
+
ingestVerb: "coordination.publish",
|
|
4349
|
+
wakes: false,
|
|
4350
|
+
entity: "ticket",
|
|
4351
|
+
publishers: ["host", "lease-holder"]
|
|
4352
|
+
},
|
|
4304
4353
|
"phase.pr.complete": {
|
|
4305
4354
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4306
4355
|
ingestVerb: "coordination.publish",
|
|
@@ -4361,6 +4410,13 @@ var durableEventTypes = {
|
|
|
4361
4410
|
wakes: false,
|
|
4362
4411
|
entity: "ticket"
|
|
4363
4412
|
},
|
|
4413
|
+
"phase.recovery-pass.started": {
|
|
4414
|
+
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.",
|
|
4415
|
+
ingestVerb: "coordination.publish",
|
|
4416
|
+
wakes: false,
|
|
4417
|
+
entity: "ticket",
|
|
4418
|
+
publishers: ["host", "lease-holder"]
|
|
4419
|
+
},
|
|
4364
4420
|
"phase.recovery-pass.complete": {
|
|
4365
4421
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4366
4422
|
ingestVerb: "coordination.publish",
|
|
@@ -4403,6 +4459,13 @@ var durableEventTypes = {
|
|
|
4403
4459
|
wakes: false,
|
|
4404
4460
|
entity: "ticket"
|
|
4405
4461
|
},
|
|
4462
|
+
"phase.remediate.started": {
|
|
4463
|
+
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.",
|
|
4464
|
+
ingestVerb: "coordination.publish",
|
|
4465
|
+
wakes: false,
|
|
4466
|
+
entity: "ticket",
|
|
4467
|
+
publishers: ["host", "lease-holder"]
|
|
4468
|
+
},
|
|
4406
4469
|
"phase.remediate.complete": {
|
|
4407
4470
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4408
4471
|
ingestVerb: "coordination.publish",
|
|
@@ -4517,6 +4580,13 @@ var durableEventTypes = {
|
|
|
4517
4580
|
wakes: false,
|
|
4518
4581
|
entity: "ticket"
|
|
4519
4582
|
},
|
|
4583
|
+
"phase.research.started": {
|
|
4584
|
+
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.",
|
|
4585
|
+
ingestVerb: "coordination.publish",
|
|
4586
|
+
wakes: false,
|
|
4587
|
+
entity: "ticket",
|
|
4588
|
+
publishers: ["host", "lease-holder"]
|
|
4589
|
+
},
|
|
4520
4590
|
"phase.research.complete": {
|
|
4521
4591
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4522
4592
|
ingestVerb: "coordination.publish",
|
|
@@ -4595,6 +4665,13 @@ var durableEventTypes = {
|
|
|
4595
4665
|
wakes: false,
|
|
4596
4666
|
entity: "ticket"
|
|
4597
4667
|
},
|
|
4668
|
+
"phase.review.started": {
|
|
4669
|
+
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.",
|
|
4670
|
+
ingestVerb: "coordination.publish",
|
|
4671
|
+
wakes: false,
|
|
4672
|
+
entity: "ticket",
|
|
4673
|
+
publishers: ["host", "lease-holder"]
|
|
4674
|
+
},
|
|
4598
4675
|
"phase.review.complete": {
|
|
4599
4676
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4600
4677
|
ingestVerb: "coordination.publish",
|
|
@@ -4667,6 +4744,13 @@ var durableEventTypes = {
|
|
|
4667
4744
|
wakes: false,
|
|
4668
4745
|
entity: "ticket"
|
|
4669
4746
|
},
|
|
4747
|
+
"phase.teardown.started": {
|
|
4748
|
+
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.",
|
|
4749
|
+
ingestVerb: "coordination.publish",
|
|
4750
|
+
wakes: false,
|
|
4751
|
+
entity: "ticket",
|
|
4752
|
+
publishers: ["host", "lease-holder"]
|
|
4753
|
+
},
|
|
4670
4754
|
"phase.teardown.complete": {
|
|
4671
4755
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4672
4756
|
ingestVerb: "coordination.publish",
|
|
@@ -4708,6 +4792,13 @@ var durableEventTypes = {
|
|
|
4708
4792
|
wakes: false,
|
|
4709
4793
|
entity: "ticket"
|
|
4710
4794
|
},
|
|
4795
|
+
"phase.triage.started": {
|
|
4796
|
+
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.",
|
|
4797
|
+
ingestVerb: "coordination.publish",
|
|
4798
|
+
wakes: false,
|
|
4799
|
+
entity: "ticket",
|
|
4800
|
+
publishers: ["host", "lease-holder"]
|
|
4801
|
+
},
|
|
4711
4802
|
"phase.triage.complete": {
|
|
4712
4803
|
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
4804
|
ingestVerb: "coordination.publish",
|
|
@@ -4750,6 +4841,13 @@ var durableEventTypes = {
|
|
|
4750
4841
|
wakes: false,
|
|
4751
4842
|
entity: "ticket"
|
|
4752
4843
|
},
|
|
4844
|
+
"phase.validate.started": {
|
|
4845
|
+
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.",
|
|
4846
|
+
ingestVerb: "coordination.publish",
|
|
4847
|
+
wakes: false,
|
|
4848
|
+
entity: "ticket",
|
|
4849
|
+
publishers: ["host", "lease-holder"]
|
|
4850
|
+
},
|
|
4753
4851
|
"phase.validate.complete": {
|
|
4754
4852
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4755
4853
|
ingestVerb: "coordination.publish",
|
|
@@ -4810,6 +4908,13 @@ var durableEventTypes = {
|
|
|
4810
4908
|
wakes: false,
|
|
4811
4909
|
entity: "ticket"
|
|
4812
4910
|
},
|
|
4911
|
+
"phase.verify.started": {
|
|
4912
|
+
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.",
|
|
4913
|
+
ingestVerb: "coordination.publish",
|
|
4914
|
+
wakes: false,
|
|
4915
|
+
entity: "ticket",
|
|
4916
|
+
publishers: ["host", "lease-holder"]
|
|
4917
|
+
},
|
|
4813
4918
|
"phase.verify.complete": {
|
|
4814
4919
|
rationale: "ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported success.",
|
|
4815
4920
|
ingestVerb: "coordination.publish",
|
|
@@ -5275,6 +5380,10 @@ var telemetryEventTypes = {
|
|
|
5275
5380
|
reason: "CTC-289 \u2014 a verified, tenant-routable delivery whose repo/team is not a provisioned `projects` row. Carries the account, the scope key and the fence mode: the scope key is the entire diagnostic value (it answers 'why is repo Y in my mirror' and 'why is repo Y missing'), and the mode distinguishes an observed would-drop from an actual drop. Unsampled while the fence rolls out \u2014 the `observe` soak that gates enforcement reads exactly this signal, and a sampled soak cannot support a data-discarding flip. Revisit the class once enforce has been stable.",
|
|
5276
5381
|
sampling: { kind: "always" }
|
|
5277
5382
|
},
|
|
5383
|
+
"mirror.webhook.ci-skipped": {
|
|
5384
|
+
reason: "CTC-5300 \u2014 a verified, in-scope GitHub CI delivery the Worker edge withheld from the ingest queue (or, under `shadow`, would have): a non-final workflow_job, workflow_run or check_suite action nobody reads. Carries the account, the event type, the action and the filter mode; the mode distinguishes a would-skip from an actual skip. Unsampled for the same reason as mirror.webhook.out-of-scope: the `shadow` soak that gates a data-discarding flip reads exactly this signal, and a sampled soak cannot support it. Expected volume at enforce is about 31.6k/day fleet-wide. Revisit the class once enforce has been stable.",
|
|
5385
|
+
sampling: { kind: "always" }
|
|
5386
|
+
},
|
|
5278
5387
|
"mirror.dispatch-queue.derive-refused": {
|
|
5279
5388
|
reason: "CTC-1510 \u2014 one point per fail-closed `deriveDispatchQueue` refusal (an unresolved, missing or ambiguous team_workflow_mapping), carrying the team and WHICH resolution failed. Not durable: the refusal is a description of a configuration state, not a state transition, and it repeats every pass until the mapping is fixed \u2014 the durable fact is the mapping row itself. `always`-sampled: rare by design (a healthy tenant never emits it) and it is the ONLY machine-readable signal that a team's queue stopped advancing on purpose, which is exactly what a sampled-away point would hide. Repeats inside the DO's announce window are folded into `count`, never dropped.",
|
|
5280
5389
|
sampling: { kind: "always" }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@catalyst-cloud/sdk",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.5",
|
|
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.
|
|
104
|
-
"@catalyst-cloud/schema": "0.16.
|
|
103
|
+
"@catalyst-cloud/replicate": "0.16.4",
|
|
104
|
+
"@catalyst-cloud/schema": "0.16.4",
|
|
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.
|
|
123
|
-
"@catalyst-cloud/schema": "0.16.
|
|
122
|
+
"@catalyst-cloud/replicate": "0.16.4",
|
|
123
|
+
"@catalyst-cloud/schema": "0.16.4"
|
|
124
124
|
},
|
|
125
125
|
"peerDependenciesMeta": {
|
|
126
126
|
"@opentelemetry/api": {
|