@cat-factory/contracts 0.88.0 → 0.90.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.
Files changed (36) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/entities.d.ts +109 -0
  3. package/dist/entities.d.ts.map +1 -1
  4. package/dist/entities.js +51 -0
  5. package/dist/entities.js.map +1 -1
  6. package/dist/initiative.d.ts +37 -4
  7. package/dist/initiative.d.ts.map +1 -1
  8. package/dist/initiative.js +29 -3
  9. package/dist/initiative.js.map +1 -1
  10. package/dist/result-views.d.ts +1 -1
  11. package/dist/result-views.d.ts.map +1 -1
  12. package/dist/result-views.js +1 -0
  13. package/dist/result-views.js.map +1 -1
  14. package/dist/routes/agent-runs.d.ts +20 -0
  15. package/dist/routes/agent-runs.d.ts.map +1 -1
  16. package/dist/routes/execution.d.ts +80 -0
  17. package/dist/routes/execution.d.ts.map +1 -1
  18. package/dist/routes/human-review.d.ts +10 -0
  19. package/dist/routes/human-review.d.ts.map +1 -1
  20. package/dist/routes/human-test.d.ts +50 -0
  21. package/dist/routes/human-test.d.ts.map +1 -1
  22. package/dist/routes/initiative.d.ts +410 -4
  23. package/dist/routes/initiative.d.ts.map +1 -1
  24. package/dist/routes/initiative.js +30 -2
  25. package/dist/routes/initiative.js.map +1 -1
  26. package/dist/routes/visual-confirm.d.ts +30 -0
  27. package/dist/routes/visual-confirm.d.ts.map +1 -1
  28. package/dist/routes/workspaces.d.ts +36 -4
  29. package/dist/routes/workspaces.d.ts.map +1 -1
  30. package/dist/service-connections.d.ts +13 -0
  31. package/dist/service-connections.d.ts.map +1 -1
  32. package/dist/service-connections.js +18 -0
  33. package/dist/service-connections.js.map +1 -1
  34. package/dist/snapshot.d.ts +18 -2
  35. package/dist/snapshot.d.ts.map +1 -1
  36. package/package.json +1 -1
@@ -363,6 +363,9 @@ export declare const approveVisualConfirmContract: {
363
363
  readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
364
364
  readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
365
365
  }, undefined>, undefined>, undefined>;
366
+ readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
367
+ readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
368
+ }, undefined>, undefined>, undefined>;
366
369
  readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
367
370
  readonly enabled: v.BooleanSchema<undefined>;
368
371
  readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
@@ -489,6 +492,13 @@ export declare const approveVisualConfirmContract: {
489
492
  }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
490
493
  }, undefined>], undefined>, undefined>, undefined>;
491
494
  }, undefined>, undefined>;
495
+ readonly deployEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
496
+ readonly status: v.PicklistSchema<["ready", "failed", "skipped"], undefined>;
497
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
498
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
499
+ }, undefined>, undefined>, undefined>;
500
+ readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
501
+ readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
492
502
  }, undefined>, undefined>;
493
503
  readonly currentStep: v.NumberSchema<undefined>;
494
504
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
@@ -900,6 +910,9 @@ export declare const requestVisualConfirmFixContract: {
900
910
  readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
901
911
  readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
902
912
  }, undefined>, undefined>, undefined>;
913
+ readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
914
+ readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
915
+ }, undefined>, undefined>, undefined>;
903
916
  readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
904
917
  readonly enabled: v.BooleanSchema<undefined>;
905
918
  readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
@@ -1026,6 +1039,13 @@ export declare const requestVisualConfirmFixContract: {
1026
1039
  }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
1027
1040
  }, undefined>], undefined>, undefined>, undefined>;
1028
1041
  }, undefined>, undefined>;
1042
+ readonly deployEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
1043
+ readonly status: v.PicklistSchema<["ready", "failed", "skipped"], undefined>;
1044
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1045
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1046
+ }, undefined>, undefined>, undefined>;
1047
+ readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1048
+ readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1029
1049
  }, undefined>, undefined>;
1030
1050
  readonly currentStep: v.NumberSchema<undefined>;
1031
1051
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
@@ -1435,6 +1455,9 @@ export declare const recaptureVisualConfirmContract: {
1435
1455
  readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1436
1456
  readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1437
1457
  }, undefined>, undefined>, undefined>;
1458
+ readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1459
+ readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1460
+ }, undefined>, undefined>, undefined>;
1438
1461
  readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1439
1462
  readonly enabled: v.BooleanSchema<undefined>;
1440
1463
  readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
@@ -1561,6 +1584,13 @@ export declare const recaptureVisualConfirmContract: {
1561
1584
  }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
1562
1585
  }, undefined>], undefined>, undefined>, undefined>;
1563
1586
  }, undefined>, undefined>;
1587
+ readonly deployEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
1588
+ readonly status: v.PicklistSchema<["ready", "failed", "skipped"], undefined>;
1589
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1590
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1591
+ }, undefined>, undefined>, undefined>;
1592
+ readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1593
+ readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1564
1594
  }, undefined>, undefined>;
1565
1595
  readonly currentStep: v.NumberSchema<undefined>;
1566
1596
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
@@ -642,6 +642,9 @@ export declare const createWorkspaceContract: {
642
642
  readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
643
643
  readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
644
644
  }, undefined>, undefined>, undefined>;
645
+ readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
646
+ readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
647
+ }, undefined>, undefined>, undefined>;
645
648
  readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
646
649
  readonly enabled: v.BooleanSchema<undefined>;
647
650
  readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
@@ -768,6 +771,13 @@ export declare const createWorkspaceContract: {
768
771
  }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
769
772
  }, undefined>], undefined>, undefined>, undefined>;
770
773
  }, undefined>, undefined>;
774
+ readonly deployEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
775
+ readonly status: v.PicklistSchema<["ready", "failed", "skipped"], undefined>;
776
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
777
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
778
+ }, undefined>, undefined>, undefined>;
779
+ readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
780
+ readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
771
781
  }, undefined>, undefined>;
772
782
  readonly currentStep: v.NumberSchema<undefined>;
773
783
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
@@ -1057,7 +1067,7 @@ export declare const createWorkspaceContract: {
1057
1067
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
1058
1068
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1059
1069
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
1060
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker"], undefined>, undefined>;
1070
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning"], undefined>, undefined>;
1061
1071
  }, undefined>;
1062
1072
  readonly container: v.BooleanSchema<undefined>;
1063
1073
  }, undefined>, undefined>, undefined>;
@@ -1082,9 +1092,15 @@ export declare const createWorkspaceContract: {
1082
1092
  readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1083
1093
  readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1084
1094
  readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1095
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1085
1096
  readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1086
- readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1097
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1087
1098
  }, undefined>, undefined>, readonly []>;
1099
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1100
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1101
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1102
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1103
+ }, undefined>, undefined>, undefined>;
1088
1104
  readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1089
1105
  readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1090
1106
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
@@ -1772,6 +1788,9 @@ export declare const getWorkspaceContract: {
1772
1788
  readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1773
1789
  readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1774
1790
  }, undefined>, undefined>, undefined>;
1791
+ readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1792
+ readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1793
+ }, undefined>, undefined>, undefined>;
1775
1794
  readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1776
1795
  readonly enabled: v.BooleanSchema<undefined>;
1777
1796
  readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
@@ -1898,6 +1917,13 @@ export declare const getWorkspaceContract: {
1898
1917
  }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
1899
1918
  }, undefined>], undefined>, undefined>, undefined>;
1900
1919
  }, undefined>, undefined>;
1920
+ readonly deployEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
1921
+ readonly status: v.PicklistSchema<["ready", "failed", "skipped"], undefined>;
1922
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1923
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1924
+ }, undefined>, undefined>, undefined>;
1925
+ readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1926
+ readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1901
1927
  }, undefined>, undefined>;
1902
1928
  readonly currentStep: v.NumberSchema<undefined>;
1903
1929
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
@@ -2187,7 +2213,7 @@ export declare const getWorkspaceContract: {
2187
2213
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
2188
2214
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
2189
2215
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
2190
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker"], undefined>, undefined>;
2216
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning"], undefined>, undefined>;
2191
2217
  }, undefined>;
2192
2218
  readonly container: v.BooleanSchema<undefined>;
2193
2219
  }, undefined>, undefined>, undefined>;
@@ -2212,9 +2238,15 @@ export declare const getWorkspaceContract: {
2212
2238
  readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
2213
2239
  readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
2214
2240
  readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2241
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
2215
2242
  readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
2216
- readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
2243
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
2217
2244
  }, undefined>, undefined>, readonly []>;
2245
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2246
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2247
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
2248
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
2249
+ }, undefined>, undefined>, undefined>;
2218
2250
  readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
2219
2251
  readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2220
2252
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
@@ -47,4 +47,17 @@ export declare function connectionNeighborIds(blocks: ReadonlyArray<{
47
47
  id: string;
48
48
  serviceConnections?: ServiceConnection[];
49
49
  }>, frameId: string): Set<string>;
50
+ /**
51
+ * The connection `description` prose for the edge between two service frames, in either
52
+ * direction — the consumer→provider line explaining the relationship ("sends transactional
53
+ * email via it"). Prefers the edge `a` declares toward `b` (a uses b), falling back to the
54
+ * reverse (b uses a) so a task on either endpoint still gets the human/agent-facing prose.
55
+ * Returns undefined when neither frame declares the edge or the line is blank. Shared by the
56
+ * engine's involved-services resolution (folds it into the agent prompt) — pure like the
57
+ * other contracts helpers.
58
+ */
59
+ export declare function connectionDescription(blocks: ReadonlyArray<{
60
+ id: string;
61
+ serviceConnections?: ServiceConnection[];
62
+ }>, aFrameId: string, bFrameId: string): string | undefined;
50
63
  //# sourceMappingURL=service-connections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-connections.d.ts","sourceRoot":"","sources":["../src/service-connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB;IAClC,2FAA2F;;IAE3F;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,kEAAkE;AAClE,eAAO,MAAM,wBAAwB;IAZnC,2FAA2F;;IAE3F;;;;OAIG;;;;;qBAM4F,CAAA;AAEjG;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,aAAa,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAE,CAAC,EAC/E,OAAO,EAAE,MAAM,GACd,GAAG,CAAC,MAAM,CAAC,CAYb"}
1
+ {"version":3,"file":"service-connections.d.ts","sourceRoot":"","sources":["../src/service-connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB;IAClC,2FAA2F;;IAE3F;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,kEAAkE;AAClE,eAAO,MAAM,wBAAwB;IAZnC,2FAA2F;;IAE3F;;;;OAIG;;;;;qBAM4F,CAAA;AAEjG;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,aAAa,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAE,CAAC,EAC/E,OAAO,EAAE,MAAM,GACd,GAAG,CAAC,MAAM,CAAC,CAYb;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,aAAa,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAE,CAAC,EAC/E,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,MAAM,GAAG,SAAS,CAUpB"}
@@ -44,4 +44,22 @@ export function connectionNeighborIds(blocks, frameId) {
44
44
  }
45
45
  return neighbors;
46
46
  }
47
+ /**
48
+ * The connection `description` prose for the edge between two service frames, in either
49
+ * direction — the consumer→provider line explaining the relationship ("sends transactional
50
+ * email via it"). Prefers the edge `a` declares toward `b` (a uses b), falling back to the
51
+ * reverse (b uses a) so a task on either endpoint still gets the human/agent-facing prose.
52
+ * Returns undefined when neither frame declares the edge or the line is blank. Shared by the
53
+ * engine's involved-services resolution (folds it into the agent prompt) — pure like the
54
+ * other contracts helpers.
55
+ */
56
+ export function connectionDescription(blocks, aFrameId, bFrameId) {
57
+ const byId = new Map(blocks.map((b) => [b.id, b]));
58
+ const edge = (fromId, toId) => {
59
+ const from = byId.get(fromId);
60
+ const description = from?.serviceConnections?.find((c) => c.serviceBlockId === toId)?.description;
61
+ return description?.trim() ? description : undefined;
62
+ };
63
+ return edge(aFrameId, bFrameId) ?? edge(bFrameId, aFrameId);
64
+ }
47
65
  //# sourceMappingURL=service-connections.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-connections.js","sourceRoot":"","sources":["../src/service-connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,2FAA2F;IAC3F,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,SAA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;;;;;GAQG;AACH,MAAM,UAAU,qBAAqB,CACnC,MAA+E,EAC/E,QAAgB,EAChB,QAAgB;IAEhB,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;IAClD,MAAM,IAAI,GAAG,CAAC,MAAc,EAAE,IAAY,EAAsB,EAAE;QAChE,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;QAC7B,MAAM,WAAW,GAAG,IAAI,EAAE,kBAAkB,EAAE,IAAI,CAChD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,KAAK,IAAI,CACjC,EAAE,WAAW,CAAA;QACd,OAAO,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAA;IACtD,CAAC,CAAA;IACD,OAAO,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;AAC7D,CAAC"}
@@ -587,6 +587,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
587
587
  readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
588
588
  readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
589
589
  }, undefined>, undefined>, undefined>;
590
+ readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
591
+ readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
592
+ }, undefined>, undefined>, undefined>;
590
593
  readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
591
594
  readonly enabled: v.BooleanSchema<undefined>;
592
595
  readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
@@ -713,6 +716,13 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
713
716
  }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
714
717
  }, undefined>], undefined>, undefined>, undefined>;
715
718
  }, undefined>, undefined>;
719
+ readonly deployEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
720
+ readonly status: v.PicklistSchema<["ready", "failed", "skipped"], undefined>;
721
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
722
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
723
+ }, undefined>, undefined>, undefined>;
724
+ readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
725
+ readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
716
726
  }, undefined>, undefined>;
717
727
  readonly currentStep: v.NumberSchema<undefined>;
718
728
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
@@ -1081,7 +1091,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1081
1091
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
1082
1092
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1083
1093
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
1084
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker"], undefined>, undefined>;
1094
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning"], undefined>, undefined>;
1085
1095
  }, undefined>;
1086
1096
  readonly container: v.BooleanSchema<undefined>;
1087
1097
  }, undefined>, undefined>, undefined>;
@@ -1150,9 +1160,15 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1150
1160
  readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1151
1161
  readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1152
1162
  readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1163
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1153
1164
  readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1154
- readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1165
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1155
1166
  }, undefined>, undefined>, readonly []>;
1167
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1168
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1169
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1170
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1171
+ }, undefined>, undefined>, undefined>;
1156
1172
  readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1157
1173
  readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1158
1174
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;IAOH;;;OAGG;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;OAIG;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;IAEH;;;;;;;;;OASG;;;;QA3HH;;;;;WAKG;;;;;;QALH;;;;;WAKG;;;IAyHH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.88.0",
3
+ "version": "0.90.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",