@tienne/gestalt 0.96.0 → 0.98.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/dist/package.json +1 -1
- package/dist/plugin/skills/architecture/SKILL.md +31 -5
- package/dist/plugin/skills/architecture/references/domain-flow.md +1 -0
- package/dist/plugin/skills/architecture/references/projections.md +56 -0
- package/dist/plugin/skills/architecture/references/rerun.md +3 -1
- package/dist/schemas/architecture-ir.schema.json +51 -3
- package/dist/src/architecture/blueprint-layout.d.ts +105 -0
- package/dist/src/architecture/blueprint-layout.d.ts.map +1 -0
- package/dist/src/architecture/blueprint-layout.js +297 -0
- package/dist/src/architecture/blueprint-layout.js.map +1 -0
- package/dist/src/architecture/delta-renderer.d.ts +35 -0
- package/dist/src/architecture/delta-renderer.d.ts.map +1 -0
- package/dist/src/architecture/delta-renderer.js +329 -0
- package/dist/src/architecture/delta-renderer.js.map +1 -0
- package/dist/src/architecture/delta.d.ts +70 -0
- package/dist/src/architecture/delta.d.ts.map +1 -0
- package/dist/src/architecture/delta.js +342 -0
- package/dist/src/architecture/delta.js.map +1 -0
- package/dist/src/architecture/drilldown.d.ts +19 -1
- package/dist/src/architecture/drilldown.d.ts.map +1 -1
- package/dist/src/architecture/drilldown.js +7 -7
- package/dist/src/architecture/drilldown.js.map +1 -1
- package/dist/src/architecture/er-layout.d.ts +97 -0
- package/dist/src/architecture/er-layout.d.ts.map +1 -0
- package/dist/src/architecture/er-layout.js +344 -0
- package/dist/src/architecture/er-layout.js.map +1 -0
- package/dist/src/architecture/flow-layout.d.ts +22 -1
- package/dist/src/architecture/flow-layout.d.ts.map +1 -1
- package/dist/src/architecture/flow-layout.js +13 -9
- package/dist/src/architecture/flow-layout.js.map +1 -1
- package/dist/src/architecture/html-client.d.ts.map +1 -1
- package/dist/src/architecture/html-client.js +53 -4
- package/dist/src/architecture/html-client.js.map +1 -1
- package/dist/src/architecture/html-renderer.d.ts +4 -0
- package/dist/src/architecture/html-renderer.d.ts.map +1 -1
- package/dist/src/architecture/html-renderer.js +462 -20
- package/dist/src/architecture/html-renderer.js.map +1 -1
- package/dist/src/architecture/html-theme.d.ts +18 -0
- package/dist/src/architecture/html-theme.d.ts.map +1 -1
- package/dist/src/architecture/html-theme.js +106 -2
- package/dist/src/architecture/html-theme.js.map +1 -1
- package/dist/src/architecture/ir-schema.d.ts +358 -117
- package/dist/src/architecture/ir-schema.d.ts.map +1 -1
- package/dist/src/architecture/ir-schema.js +33 -1
- package/dist/src/architecture/ir-schema.js.map +1 -1
- package/dist/src/architecture/layout.d.ts +6 -0
- package/dist/src/architecture/layout.d.ts.map +1 -1
- package/dist/src/architecture/layout.js +33 -1
- package/dist/src/architecture/layout.js.map +1 -1
- package/dist/src/architecture/lifecycle-layout.d.ts +94 -0
- package/dist/src/architecture/lifecycle-layout.d.ts.map +1 -0
- package/dist/src/architecture/lifecycle-layout.js +471 -0
- package/dist/src/architecture/lifecycle-layout.js.map +1 -0
- package/dist/src/architecture/merge.d.ts.map +1 -1
- package/dist/src/architecture/merge.js +72 -2
- package/dist/src/architecture/merge.js.map +1 -1
- package/dist/src/architecture/store.d.ts +6 -1
- package/dist/src/architecture/store.d.ts.map +1 -1
- package/dist/src/architecture/store.js +75 -8
- package/dist/src/architecture/store.js.map +1 -1
- package/dist/src/architecture/types.d.ts +35 -3
- package/dist/src/architecture/types.d.ts.map +1 -1
- package/dist/src/architecture/types.js +13 -1
- package/dist/src/architecture/types.js.map +1 -1
- package/dist/src/architecture/validator.d.ts +27 -3
- package/dist/src/architecture/validator.d.ts.map +1 -1
- package/dist/src/architecture/validator.js +331 -8
- package/dist/src/architecture/validator.js.map +1 -1
- package/dist/src/mcp/tools/architecture-passthrough.d.ts.map +1 -1
- package/dist/src/mcp/tools/architecture-passthrough.js +91 -2
- package/dist/src/mcp/tools/architecture-passthrough.js.map +1 -1
- package/package.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.mcp.json +1 -1
- package/plugin/mcp.json +1 -1
- package/plugin/skills/architecture/SKILL.md +31 -5
- package/plugin/skills/architecture/references/domain-flow.md +1 -0
- package/plugin/skills/architecture/references/projections.md +56 -0
- package/plugin/skills/architecture/references/rerun.md +3 -1
- package/schemas/architecture-ir.schema.json +51 -3
|
@@ -318,6 +318,107 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
318
318
|
commit?: string | undefined;
|
|
319
319
|
}>>;
|
|
320
320
|
owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
321
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
322
|
+
name: z.ZodString;
|
|
323
|
+
type: z.ZodOptional<z.ZodString>;
|
|
324
|
+
pk: z.ZodOptional<z.ZodBoolean>;
|
|
325
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
326
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
327
|
+
references: z.ZodOptional<z.ZodObject<{
|
|
328
|
+
table: z.ZodString;
|
|
329
|
+
column: z.ZodOptional<z.ZodString>;
|
|
330
|
+
onDelete: z.ZodOptional<z.ZodString>;
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
|
+
table: string;
|
|
333
|
+
column?: string | undefined;
|
|
334
|
+
onDelete?: string | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
table: string;
|
|
337
|
+
column?: string | undefined;
|
|
338
|
+
onDelete?: string | undefined;
|
|
339
|
+
}>>;
|
|
340
|
+
evidence: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
341
|
+
type: z.ZodEnum<["code", "spec", "doc", "user", "live"]>;
|
|
342
|
+
location: z.ZodString;
|
|
343
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
344
|
+
visibility: z.ZodEnum<["public", "private"]>;
|
|
345
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
346
|
+
command: z.ZodOptional<z.ZodString>;
|
|
347
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
350
|
+
location: string;
|
|
351
|
+
visibility: "public" | "private";
|
|
352
|
+
command?: string | undefined;
|
|
353
|
+
updatedAt?: string | undefined;
|
|
354
|
+
observedAt?: string | undefined;
|
|
355
|
+
excerpt?: string | undefined;
|
|
356
|
+
}, {
|
|
357
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
358
|
+
location: string;
|
|
359
|
+
visibility: "public" | "private";
|
|
360
|
+
command?: string | undefined;
|
|
361
|
+
updatedAt?: string | undefined;
|
|
362
|
+
observedAt?: string | undefined;
|
|
363
|
+
excerpt?: string | undefined;
|
|
364
|
+
}>, {
|
|
365
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
366
|
+
location: string;
|
|
367
|
+
visibility: "public" | "private";
|
|
368
|
+
command?: string | undefined;
|
|
369
|
+
updatedAt?: string | undefined;
|
|
370
|
+
observedAt?: string | undefined;
|
|
371
|
+
excerpt?: string | undefined;
|
|
372
|
+
}, {
|
|
373
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
374
|
+
location: string;
|
|
375
|
+
visibility: "public" | "private";
|
|
376
|
+
command?: string | undefined;
|
|
377
|
+
updatedAt?: string | undefined;
|
|
378
|
+
observedAt?: string | undefined;
|
|
379
|
+
excerpt?: string | undefined;
|
|
380
|
+
}>, "many">>;
|
|
381
|
+
}, "strip", z.ZodTypeAny, {
|
|
382
|
+
name: string;
|
|
383
|
+
type?: string | undefined;
|
|
384
|
+
nullable?: boolean | undefined;
|
|
385
|
+
evidence?: {
|
|
386
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
387
|
+
location: string;
|
|
388
|
+
visibility: "public" | "private";
|
|
389
|
+
command?: string | undefined;
|
|
390
|
+
updatedAt?: string | undefined;
|
|
391
|
+
observedAt?: string | undefined;
|
|
392
|
+
excerpt?: string | undefined;
|
|
393
|
+
}[] | undefined;
|
|
394
|
+
references?: {
|
|
395
|
+
table: string;
|
|
396
|
+
column?: string | undefined;
|
|
397
|
+
onDelete?: string | undefined;
|
|
398
|
+
} | undefined;
|
|
399
|
+
pk?: boolean | undefined;
|
|
400
|
+
unique?: boolean | undefined;
|
|
401
|
+
}, {
|
|
402
|
+
name: string;
|
|
403
|
+
type?: string | undefined;
|
|
404
|
+
nullable?: boolean | undefined;
|
|
405
|
+
evidence?: {
|
|
406
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
407
|
+
location: string;
|
|
408
|
+
visibility: "public" | "private";
|
|
409
|
+
command?: string | undefined;
|
|
410
|
+
updatedAt?: string | undefined;
|
|
411
|
+
observedAt?: string | undefined;
|
|
412
|
+
excerpt?: string | undefined;
|
|
413
|
+
}[] | undefined;
|
|
414
|
+
references?: {
|
|
415
|
+
table: string;
|
|
416
|
+
column?: string | undefined;
|
|
417
|
+
onDelete?: string | undefined;
|
|
418
|
+
} | undefined;
|
|
419
|
+
pk?: boolean | undefined;
|
|
420
|
+
unique?: boolean | undefined;
|
|
421
|
+
}>, "many">>;
|
|
321
422
|
}, "strip", z.ZodTypeAny, {
|
|
322
423
|
id: string;
|
|
323
424
|
kind: import("./packs/index.js").PackNodeKind;
|
|
@@ -402,6 +503,27 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
402
503
|
image: string;
|
|
403
504
|
commit?: string | undefined;
|
|
404
505
|
} | undefined;
|
|
506
|
+
columns?: {
|
|
507
|
+
name: string;
|
|
508
|
+
type?: string | undefined;
|
|
509
|
+
nullable?: boolean | undefined;
|
|
510
|
+
evidence?: {
|
|
511
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
512
|
+
location: string;
|
|
513
|
+
visibility: "public" | "private";
|
|
514
|
+
command?: string | undefined;
|
|
515
|
+
updatedAt?: string | undefined;
|
|
516
|
+
observedAt?: string | undefined;
|
|
517
|
+
excerpt?: string | undefined;
|
|
518
|
+
}[] | undefined;
|
|
519
|
+
references?: {
|
|
520
|
+
table: string;
|
|
521
|
+
column?: string | undefined;
|
|
522
|
+
onDelete?: string | undefined;
|
|
523
|
+
} | undefined;
|
|
524
|
+
pk?: boolean | undefined;
|
|
525
|
+
unique?: boolean | undefined;
|
|
526
|
+
}[] | undefined;
|
|
405
527
|
}, {
|
|
406
528
|
id: string;
|
|
407
529
|
kind: import("./packs/index.js").PackNodeKind;
|
|
@@ -486,6 +608,27 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
486
608
|
image: string;
|
|
487
609
|
commit?: string | undefined;
|
|
488
610
|
} | undefined;
|
|
611
|
+
columns?: {
|
|
612
|
+
name: string;
|
|
613
|
+
type?: string | undefined;
|
|
614
|
+
nullable?: boolean | undefined;
|
|
615
|
+
evidence?: {
|
|
616
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
617
|
+
location: string;
|
|
618
|
+
visibility: "public" | "private";
|
|
619
|
+
command?: string | undefined;
|
|
620
|
+
updatedAt?: string | undefined;
|
|
621
|
+
observedAt?: string | undefined;
|
|
622
|
+
excerpt?: string | undefined;
|
|
623
|
+
}[] | undefined;
|
|
624
|
+
references?: {
|
|
625
|
+
table: string;
|
|
626
|
+
column?: string | undefined;
|
|
627
|
+
onDelete?: string | undefined;
|
|
628
|
+
} | undefined;
|
|
629
|
+
pk?: boolean | undefined;
|
|
630
|
+
unique?: boolean | undefined;
|
|
631
|
+
}[] | undefined;
|
|
489
632
|
}>, {
|
|
490
633
|
id: string;
|
|
491
634
|
kind: import("./packs/index.js").PackNodeKind;
|
|
@@ -570,6 +713,27 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
570
713
|
image: string;
|
|
571
714
|
commit?: string | undefined;
|
|
572
715
|
} | undefined;
|
|
716
|
+
columns?: {
|
|
717
|
+
name: string;
|
|
718
|
+
type?: string | undefined;
|
|
719
|
+
nullable?: boolean | undefined;
|
|
720
|
+
evidence?: {
|
|
721
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
722
|
+
location: string;
|
|
723
|
+
visibility: "public" | "private";
|
|
724
|
+
command?: string | undefined;
|
|
725
|
+
updatedAt?: string | undefined;
|
|
726
|
+
observedAt?: string | undefined;
|
|
727
|
+
excerpt?: string | undefined;
|
|
728
|
+
}[] | undefined;
|
|
729
|
+
references?: {
|
|
730
|
+
table: string;
|
|
731
|
+
column?: string | undefined;
|
|
732
|
+
onDelete?: string | undefined;
|
|
733
|
+
} | undefined;
|
|
734
|
+
pk?: boolean | undefined;
|
|
735
|
+
unique?: boolean | undefined;
|
|
736
|
+
}[] | undefined;
|
|
573
737
|
}, {
|
|
574
738
|
id: string;
|
|
575
739
|
kind: import("./packs/index.js").PackNodeKind;
|
|
@@ -654,6 +818,27 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
654
818
|
image: string;
|
|
655
819
|
commit?: string | undefined;
|
|
656
820
|
} | undefined;
|
|
821
|
+
columns?: {
|
|
822
|
+
name: string;
|
|
823
|
+
type?: string | undefined;
|
|
824
|
+
nullable?: boolean | undefined;
|
|
825
|
+
evidence?: {
|
|
826
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
827
|
+
location: string;
|
|
828
|
+
visibility: "public" | "private";
|
|
829
|
+
command?: string | undefined;
|
|
830
|
+
updatedAt?: string | undefined;
|
|
831
|
+
observedAt?: string | undefined;
|
|
832
|
+
excerpt?: string | undefined;
|
|
833
|
+
}[] | undefined;
|
|
834
|
+
references?: {
|
|
835
|
+
table: string;
|
|
836
|
+
column?: string | undefined;
|
|
837
|
+
onDelete?: string | undefined;
|
|
838
|
+
} | undefined;
|
|
839
|
+
pk?: boolean | undefined;
|
|
840
|
+
unique?: boolean | undefined;
|
|
841
|
+
}[] | undefined;
|
|
657
842
|
}>, "many">;
|
|
658
843
|
edges: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
659
844
|
id: z.ZodString;
|
|
@@ -945,6 +1130,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
945
1130
|
description: z.ZodOptional<z.ZodString>;
|
|
946
1131
|
state: z.ZodOptional<z.ZodString>;
|
|
947
1132
|
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
1133
|
+
outcome: z.ZodOptional<z.ZodEnum<["done", "cancel", "fail"]>>;
|
|
948
1134
|
refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
949
1135
|
evidence: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
950
1136
|
type: z.ZodEnum<["code", "spec", "doc", "user", "live"]>;
|
|
@@ -1004,6 +1190,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1004
1190
|
description?: string | undefined;
|
|
1005
1191
|
state?: string | undefined;
|
|
1006
1192
|
refs?: string[] | undefined;
|
|
1193
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1007
1194
|
terminal?: boolean | undefined;
|
|
1008
1195
|
}, {
|
|
1009
1196
|
id: string;
|
|
@@ -1022,6 +1209,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1022
1209
|
description?: string | undefined;
|
|
1023
1210
|
state?: string | undefined;
|
|
1024
1211
|
refs?: string[] | undefined;
|
|
1212
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1025
1213
|
terminal?: boolean | undefined;
|
|
1026
1214
|
}>, {
|
|
1027
1215
|
id: string;
|
|
@@ -1040,6 +1228,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1040
1228
|
description?: string | undefined;
|
|
1041
1229
|
state?: string | undefined;
|
|
1042
1230
|
refs?: string[] | undefined;
|
|
1231
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1043
1232
|
terminal?: boolean | undefined;
|
|
1044
1233
|
}, {
|
|
1045
1234
|
id: string;
|
|
@@ -1058,6 +1247,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1058
1247
|
description?: string | undefined;
|
|
1059
1248
|
state?: string | undefined;
|
|
1060
1249
|
refs?: string[] | undefined;
|
|
1250
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1061
1251
|
terminal?: boolean | undefined;
|
|
1062
1252
|
}>, "many">;
|
|
1063
1253
|
transitions: z.ZodArray<z.ZodObject<{
|
|
@@ -1153,6 +1343,26 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1153
1343
|
}, "strip", z.ZodTypeAny, {
|
|
1154
1344
|
id: string;
|
|
1155
1345
|
title: string;
|
|
1346
|
+
transitions: {
|
|
1347
|
+
path: "main" | "side";
|
|
1348
|
+
id: string;
|
|
1349
|
+
from: string;
|
|
1350
|
+
to: string;
|
|
1351
|
+
evidence: {
|
|
1352
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
1353
|
+
location: string;
|
|
1354
|
+
visibility: "public" | "private";
|
|
1355
|
+
command?: string | undefined;
|
|
1356
|
+
updatedAt?: string | undefined;
|
|
1357
|
+
observedAt?: string | undefined;
|
|
1358
|
+
excerpt?: string | undefined;
|
|
1359
|
+
}[];
|
|
1360
|
+
lineStyle: "solid" | "dashed";
|
|
1361
|
+
label?: string | undefined;
|
|
1362
|
+
trigger?: string | undefined;
|
|
1363
|
+
condition?: string | undefined;
|
|
1364
|
+
actors?: string[] | undefined;
|
|
1365
|
+
}[];
|
|
1156
1366
|
steps: {
|
|
1157
1367
|
id: string;
|
|
1158
1368
|
actor: string;
|
|
@@ -1170,6 +1380,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1170
1380
|
description?: string | undefined;
|
|
1171
1381
|
state?: string | undefined;
|
|
1172
1382
|
refs?: string[] | undefined;
|
|
1383
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1173
1384
|
terminal?: boolean | undefined;
|
|
1174
1385
|
}[];
|
|
1175
1386
|
actors: {
|
|
@@ -1177,6 +1388,12 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1177
1388
|
kind: "system" | "agent" | "person";
|
|
1178
1389
|
label: string;
|
|
1179
1390
|
}[];
|
|
1391
|
+
description?: string | undefined;
|
|
1392
|
+
service?: string | undefined;
|
|
1393
|
+
stateLabels?: Record<string, string> | undefined;
|
|
1394
|
+
}, {
|
|
1395
|
+
id: string;
|
|
1396
|
+
title: string;
|
|
1180
1397
|
transitions: {
|
|
1181
1398
|
path: "main" | "side";
|
|
1182
1399
|
id: string;
|
|
@@ -1197,12 +1414,6 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1197
1414
|
condition?: string | undefined;
|
|
1198
1415
|
actors?: string[] | undefined;
|
|
1199
1416
|
}[];
|
|
1200
|
-
description?: string | undefined;
|
|
1201
|
-
service?: string | undefined;
|
|
1202
|
-
stateLabels?: Record<string, string> | undefined;
|
|
1203
|
-
}, {
|
|
1204
|
-
id: string;
|
|
1205
|
-
title: string;
|
|
1206
1417
|
steps: {
|
|
1207
1418
|
id: string;
|
|
1208
1419
|
actor: string;
|
|
@@ -1220,6 +1431,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1220
1431
|
description?: string | undefined;
|
|
1221
1432
|
state?: string | undefined;
|
|
1222
1433
|
refs?: string[] | undefined;
|
|
1434
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1223
1435
|
terminal?: boolean | undefined;
|
|
1224
1436
|
}[];
|
|
1225
1437
|
actors: {
|
|
@@ -1227,26 +1439,6 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1227
1439
|
kind: "system" | "agent" | "person";
|
|
1228
1440
|
label: string;
|
|
1229
1441
|
}[];
|
|
1230
|
-
transitions: {
|
|
1231
|
-
path: "main" | "side";
|
|
1232
|
-
id: string;
|
|
1233
|
-
from: string;
|
|
1234
|
-
to: string;
|
|
1235
|
-
evidence: {
|
|
1236
|
-
type: "spec" | "code" | "user" | "doc" | "live";
|
|
1237
|
-
location: string;
|
|
1238
|
-
visibility: "public" | "private";
|
|
1239
|
-
command?: string | undefined;
|
|
1240
|
-
updatedAt?: string | undefined;
|
|
1241
|
-
observedAt?: string | undefined;
|
|
1242
|
-
excerpt?: string | undefined;
|
|
1243
|
-
}[];
|
|
1244
|
-
lineStyle: "solid" | "dashed";
|
|
1245
|
-
label?: string | undefined;
|
|
1246
|
-
trigger?: string | undefined;
|
|
1247
|
-
condition?: string | undefined;
|
|
1248
|
-
actors?: string[] | undefined;
|
|
1249
|
-
}[];
|
|
1250
1442
|
description?: string | undefined;
|
|
1251
1443
|
service?: string | undefined;
|
|
1252
1444
|
stateLabels?: Record<string, string> | undefined;
|
|
@@ -1272,7 +1464,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1272
1464
|
}>, "many">>;
|
|
1273
1465
|
projections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1274
1466
|
id: z.ZodString;
|
|
1275
|
-
shape: z.ZodEnum<["sequence", "dataflow", "compare"]>;
|
|
1467
|
+
shape: z.ZodEnum<["sequence", "dataflow", "compare", "lifecycle", "blueprint", "er"]>;
|
|
1276
1468
|
title: z.ZodString;
|
|
1277
1469
|
question: z.ZodString;
|
|
1278
1470
|
participants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1344,8 +1536,8 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1344
1536
|
lineStyle: "solid" | "dashed";
|
|
1345
1537
|
branch?: string | undefined;
|
|
1346
1538
|
block?: string | undefined;
|
|
1347
|
-
reply?: boolean | undefined;
|
|
1348
1539
|
edge?: string | undefined;
|
|
1540
|
+
reply?: boolean | undefined;
|
|
1349
1541
|
}, {
|
|
1350
1542
|
id: string;
|
|
1351
1543
|
from: string;
|
|
@@ -1363,8 +1555,8 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1363
1555
|
lineStyle: "solid" | "dashed";
|
|
1364
1556
|
branch?: string | undefined;
|
|
1365
1557
|
block?: string | undefined;
|
|
1366
|
-
reply?: boolean | undefined;
|
|
1367
1558
|
edge?: string | undefined;
|
|
1559
|
+
reply?: boolean | undefined;
|
|
1368
1560
|
}>, "many">;
|
|
1369
1561
|
blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1370
1562
|
id: z.ZodString;
|
|
@@ -1408,10 +1600,11 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1408
1600
|
to: string;
|
|
1409
1601
|
label: string;
|
|
1410
1602
|
}>, "many">>;
|
|
1603
|
+
flow: z.ZodOptional<z.ZodString>;
|
|
1411
1604
|
}, "strip", z.ZodTypeAny, {
|
|
1412
1605
|
id: string;
|
|
1413
1606
|
question: string;
|
|
1414
|
-
shape: "sequence" | "dataflow" | "compare";
|
|
1607
|
+
shape: "sequence" | "dataflow" | "compare" | "lifecycle" | "blueprint" | "er";
|
|
1415
1608
|
title: string;
|
|
1416
1609
|
messages: {
|
|
1417
1610
|
id: string;
|
|
@@ -1430,9 +1623,16 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1430
1623
|
lineStyle: "solid" | "dashed";
|
|
1431
1624
|
branch?: string | undefined;
|
|
1432
1625
|
block?: string | undefined;
|
|
1433
|
-
reply?: boolean | undefined;
|
|
1434
1626
|
edge?: string | undefined;
|
|
1627
|
+
reply?: boolean | undefined;
|
|
1435
1628
|
}[];
|
|
1629
|
+
flow?: string | undefined;
|
|
1630
|
+
phases?: {
|
|
1631
|
+
id: string;
|
|
1632
|
+
from: string;
|
|
1633
|
+
to: string;
|
|
1634
|
+
label: string;
|
|
1635
|
+
}[] | undefined;
|
|
1436
1636
|
participants?: string[] | undefined;
|
|
1437
1637
|
blocks?: {
|
|
1438
1638
|
id: string;
|
|
@@ -1444,16 +1644,10 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1444
1644
|
nodes: string[];
|
|
1445
1645
|
label: string;
|
|
1446
1646
|
}[] | undefined;
|
|
1447
|
-
phases?: {
|
|
1448
|
-
id: string;
|
|
1449
|
-
from: string;
|
|
1450
|
-
to: string;
|
|
1451
|
-
label: string;
|
|
1452
|
-
}[] | undefined;
|
|
1453
1647
|
}, {
|
|
1454
1648
|
id: string;
|
|
1455
1649
|
question: string;
|
|
1456
|
-
shape: "sequence" | "dataflow" | "compare";
|
|
1650
|
+
shape: "sequence" | "dataflow" | "compare" | "lifecycle" | "blueprint" | "er";
|
|
1457
1651
|
title: string;
|
|
1458
1652
|
messages: {
|
|
1459
1653
|
id: string;
|
|
@@ -1472,9 +1666,16 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1472
1666
|
lineStyle: "solid" | "dashed";
|
|
1473
1667
|
branch?: string | undefined;
|
|
1474
1668
|
block?: string | undefined;
|
|
1475
|
-
reply?: boolean | undefined;
|
|
1476
1669
|
edge?: string | undefined;
|
|
1670
|
+
reply?: boolean | undefined;
|
|
1477
1671
|
}[];
|
|
1672
|
+
flow?: string | undefined;
|
|
1673
|
+
phases?: {
|
|
1674
|
+
id: string;
|
|
1675
|
+
from: string;
|
|
1676
|
+
to: string;
|
|
1677
|
+
label: string;
|
|
1678
|
+
}[] | undefined;
|
|
1478
1679
|
participants?: string[] | undefined;
|
|
1479
1680
|
blocks?: {
|
|
1480
1681
|
id: string;
|
|
@@ -1486,12 +1687,6 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1486
1687
|
nodes: string[];
|
|
1487
1688
|
label: string;
|
|
1488
1689
|
}[] | undefined;
|
|
1489
|
-
phases?: {
|
|
1490
|
-
id: string;
|
|
1491
|
-
from: string;
|
|
1492
|
-
to: string;
|
|
1493
|
-
label: string;
|
|
1494
|
-
}[] | undefined;
|
|
1495
1690
|
}>, "many">>;
|
|
1496
1691
|
}, "strip", z.ZodTypeAny, {
|
|
1497
1692
|
generatedAt: string;
|
|
@@ -1580,6 +1775,27 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1580
1775
|
image: string;
|
|
1581
1776
|
commit?: string | undefined;
|
|
1582
1777
|
} | undefined;
|
|
1778
|
+
columns?: {
|
|
1779
|
+
name: string;
|
|
1780
|
+
type?: string | undefined;
|
|
1781
|
+
nullable?: boolean | undefined;
|
|
1782
|
+
evidence?: {
|
|
1783
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
1784
|
+
location: string;
|
|
1785
|
+
visibility: "public" | "private";
|
|
1786
|
+
command?: string | undefined;
|
|
1787
|
+
updatedAt?: string | undefined;
|
|
1788
|
+
observedAt?: string | undefined;
|
|
1789
|
+
excerpt?: string | undefined;
|
|
1790
|
+
}[] | undefined;
|
|
1791
|
+
references?: {
|
|
1792
|
+
table: string;
|
|
1793
|
+
column?: string | undefined;
|
|
1794
|
+
onDelete?: string | undefined;
|
|
1795
|
+
} | undefined;
|
|
1796
|
+
pk?: boolean | undefined;
|
|
1797
|
+
unique?: boolean | undefined;
|
|
1798
|
+
}[] | undefined;
|
|
1583
1799
|
}[];
|
|
1584
1800
|
edges: {
|
|
1585
1801
|
id: string;
|
|
@@ -1636,6 +1852,26 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1636
1852
|
flows?: {
|
|
1637
1853
|
id: string;
|
|
1638
1854
|
title: string;
|
|
1855
|
+
transitions: {
|
|
1856
|
+
path: "main" | "side";
|
|
1857
|
+
id: string;
|
|
1858
|
+
from: string;
|
|
1859
|
+
to: string;
|
|
1860
|
+
evidence: {
|
|
1861
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
1862
|
+
location: string;
|
|
1863
|
+
visibility: "public" | "private";
|
|
1864
|
+
command?: string | undefined;
|
|
1865
|
+
updatedAt?: string | undefined;
|
|
1866
|
+
observedAt?: string | undefined;
|
|
1867
|
+
excerpt?: string | undefined;
|
|
1868
|
+
}[];
|
|
1869
|
+
lineStyle: "solid" | "dashed";
|
|
1870
|
+
label?: string | undefined;
|
|
1871
|
+
trigger?: string | undefined;
|
|
1872
|
+
condition?: string | undefined;
|
|
1873
|
+
actors?: string[] | undefined;
|
|
1874
|
+
}[];
|
|
1639
1875
|
steps: {
|
|
1640
1876
|
id: string;
|
|
1641
1877
|
actor: string;
|
|
@@ -1653,6 +1889,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1653
1889
|
description?: string | undefined;
|
|
1654
1890
|
state?: string | undefined;
|
|
1655
1891
|
refs?: string[] | undefined;
|
|
1892
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1656
1893
|
terminal?: boolean | undefined;
|
|
1657
1894
|
}[];
|
|
1658
1895
|
actors: {
|
|
@@ -1660,34 +1897,21 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1660
1897
|
kind: "system" | "agent" | "person";
|
|
1661
1898
|
label: string;
|
|
1662
1899
|
}[];
|
|
1663
|
-
transitions: {
|
|
1664
|
-
path: "main" | "side";
|
|
1665
|
-
id: string;
|
|
1666
|
-
from: string;
|
|
1667
|
-
to: string;
|
|
1668
|
-
evidence: {
|
|
1669
|
-
type: "spec" | "code" | "user" | "doc" | "live";
|
|
1670
|
-
location: string;
|
|
1671
|
-
visibility: "public" | "private";
|
|
1672
|
-
command?: string | undefined;
|
|
1673
|
-
updatedAt?: string | undefined;
|
|
1674
|
-
observedAt?: string | undefined;
|
|
1675
|
-
excerpt?: string | undefined;
|
|
1676
|
-
}[];
|
|
1677
|
-
lineStyle: "solid" | "dashed";
|
|
1678
|
-
label?: string | undefined;
|
|
1679
|
-
trigger?: string | undefined;
|
|
1680
|
-
condition?: string | undefined;
|
|
1681
|
-
actors?: string[] | undefined;
|
|
1682
|
-
}[];
|
|
1683
1900
|
description?: string | undefined;
|
|
1684
1901
|
service?: string | undefined;
|
|
1685
1902
|
stateLabels?: Record<string, string> | undefined;
|
|
1686
1903
|
}[] | undefined;
|
|
1904
|
+
stages?: {
|
|
1905
|
+
id: string;
|
|
1906
|
+
label: string;
|
|
1907
|
+
nodes?: string[] | undefined;
|
|
1908
|
+
repos?: string[] | undefined;
|
|
1909
|
+
kinds?: import("./packs/index.js").PackNodeKind[] | undefined;
|
|
1910
|
+
}[] | undefined;
|
|
1687
1911
|
projections?: {
|
|
1688
1912
|
id: string;
|
|
1689
1913
|
question: string;
|
|
1690
|
-
shape: "sequence" | "dataflow" | "compare";
|
|
1914
|
+
shape: "sequence" | "dataflow" | "compare" | "lifecycle" | "blueprint" | "er";
|
|
1691
1915
|
title: string;
|
|
1692
1916
|
messages: {
|
|
1693
1917
|
id: string;
|
|
@@ -1706,9 +1930,16 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1706
1930
|
lineStyle: "solid" | "dashed";
|
|
1707
1931
|
branch?: string | undefined;
|
|
1708
1932
|
block?: string | undefined;
|
|
1709
|
-
reply?: boolean | undefined;
|
|
1710
1933
|
edge?: string | undefined;
|
|
1934
|
+
reply?: boolean | undefined;
|
|
1711
1935
|
}[];
|
|
1936
|
+
flow?: string | undefined;
|
|
1937
|
+
phases?: {
|
|
1938
|
+
id: string;
|
|
1939
|
+
from: string;
|
|
1940
|
+
to: string;
|
|
1941
|
+
label: string;
|
|
1942
|
+
}[] | undefined;
|
|
1712
1943
|
participants?: string[] | undefined;
|
|
1713
1944
|
blocks?: {
|
|
1714
1945
|
id: string;
|
|
@@ -1720,26 +1951,13 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1720
1951
|
nodes: string[];
|
|
1721
1952
|
label: string;
|
|
1722
1953
|
}[] | undefined;
|
|
1723
|
-
phases?: {
|
|
1724
|
-
id: string;
|
|
1725
|
-
from: string;
|
|
1726
|
-
to: string;
|
|
1727
|
-
label: string;
|
|
1728
|
-
}[] | undefined;
|
|
1729
|
-
}[] | undefined;
|
|
1730
|
-
stages?: {
|
|
1731
|
-
id: string;
|
|
1732
|
-
label: string;
|
|
1733
|
-
nodes?: string[] | undefined;
|
|
1734
|
-
repos?: string[] | undefined;
|
|
1735
|
-
kinds?: import("./packs/index.js").PackNodeKind[] | undefined;
|
|
1736
1954
|
}[] | undefined;
|
|
1737
|
-
packs?: string[] | undefined;
|
|
1738
1955
|
groups?: {
|
|
1739
1956
|
id: string;
|
|
1740
1957
|
name: string;
|
|
1741
1958
|
members: string[];
|
|
1742
1959
|
}[] | undefined;
|
|
1960
|
+
packs?: string[] | undefined;
|
|
1743
1961
|
}, {
|
|
1744
1962
|
generatedAt: string;
|
|
1745
1963
|
view: "knowledge" | "screen-chain" | "deploy-path" | "knowledge-link";
|
|
@@ -1827,6 +2045,27 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1827
2045
|
image: string;
|
|
1828
2046
|
commit?: string | undefined;
|
|
1829
2047
|
} | undefined;
|
|
2048
|
+
columns?: {
|
|
2049
|
+
name: string;
|
|
2050
|
+
type?: string | undefined;
|
|
2051
|
+
nullable?: boolean | undefined;
|
|
2052
|
+
evidence?: {
|
|
2053
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
2054
|
+
location: string;
|
|
2055
|
+
visibility: "public" | "private";
|
|
2056
|
+
command?: string | undefined;
|
|
2057
|
+
updatedAt?: string | undefined;
|
|
2058
|
+
observedAt?: string | undefined;
|
|
2059
|
+
excerpt?: string | undefined;
|
|
2060
|
+
}[] | undefined;
|
|
2061
|
+
references?: {
|
|
2062
|
+
table: string;
|
|
2063
|
+
column?: string | undefined;
|
|
2064
|
+
onDelete?: string | undefined;
|
|
2065
|
+
} | undefined;
|
|
2066
|
+
pk?: boolean | undefined;
|
|
2067
|
+
unique?: boolean | undefined;
|
|
2068
|
+
}[] | undefined;
|
|
1830
2069
|
}[];
|
|
1831
2070
|
edges: {
|
|
1832
2071
|
id: string;
|
|
@@ -1883,6 +2122,26 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1883
2122
|
flows?: {
|
|
1884
2123
|
id: string;
|
|
1885
2124
|
title: string;
|
|
2125
|
+
transitions: {
|
|
2126
|
+
path: "main" | "side";
|
|
2127
|
+
id: string;
|
|
2128
|
+
from: string;
|
|
2129
|
+
to: string;
|
|
2130
|
+
evidence: {
|
|
2131
|
+
type: "spec" | "code" | "user" | "doc" | "live";
|
|
2132
|
+
location: string;
|
|
2133
|
+
visibility: "public" | "private";
|
|
2134
|
+
command?: string | undefined;
|
|
2135
|
+
updatedAt?: string | undefined;
|
|
2136
|
+
observedAt?: string | undefined;
|
|
2137
|
+
excerpt?: string | undefined;
|
|
2138
|
+
}[];
|
|
2139
|
+
lineStyle: "solid" | "dashed";
|
|
2140
|
+
label?: string | undefined;
|
|
2141
|
+
trigger?: string | undefined;
|
|
2142
|
+
condition?: string | undefined;
|
|
2143
|
+
actors?: string[] | undefined;
|
|
2144
|
+
}[];
|
|
1886
2145
|
steps: {
|
|
1887
2146
|
id: string;
|
|
1888
2147
|
actor: string;
|
|
@@ -1900,6 +2159,7 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1900
2159
|
description?: string | undefined;
|
|
1901
2160
|
state?: string | undefined;
|
|
1902
2161
|
refs?: string[] | undefined;
|
|
2162
|
+
outcome?: "done" | "cancel" | "fail" | undefined;
|
|
1903
2163
|
terminal?: boolean | undefined;
|
|
1904
2164
|
}[];
|
|
1905
2165
|
actors: {
|
|
@@ -1907,34 +2167,21 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1907
2167
|
kind: "system" | "agent" | "person";
|
|
1908
2168
|
label: string;
|
|
1909
2169
|
}[];
|
|
1910
|
-
transitions: {
|
|
1911
|
-
path: "main" | "side";
|
|
1912
|
-
id: string;
|
|
1913
|
-
from: string;
|
|
1914
|
-
to: string;
|
|
1915
|
-
evidence: {
|
|
1916
|
-
type: "spec" | "code" | "user" | "doc" | "live";
|
|
1917
|
-
location: string;
|
|
1918
|
-
visibility: "public" | "private";
|
|
1919
|
-
command?: string | undefined;
|
|
1920
|
-
updatedAt?: string | undefined;
|
|
1921
|
-
observedAt?: string | undefined;
|
|
1922
|
-
excerpt?: string | undefined;
|
|
1923
|
-
}[];
|
|
1924
|
-
lineStyle: "solid" | "dashed";
|
|
1925
|
-
label?: string | undefined;
|
|
1926
|
-
trigger?: string | undefined;
|
|
1927
|
-
condition?: string | undefined;
|
|
1928
|
-
actors?: string[] | undefined;
|
|
1929
|
-
}[];
|
|
1930
2170
|
description?: string | undefined;
|
|
1931
2171
|
service?: string | undefined;
|
|
1932
2172
|
stateLabels?: Record<string, string> | undefined;
|
|
1933
2173
|
}[] | undefined;
|
|
2174
|
+
stages?: {
|
|
2175
|
+
id: string;
|
|
2176
|
+
label: string;
|
|
2177
|
+
nodes?: string[] | undefined;
|
|
2178
|
+
repos?: string[] | undefined;
|
|
2179
|
+
kinds?: import("./packs/index.js").PackNodeKind[] | undefined;
|
|
2180
|
+
}[] | undefined;
|
|
1934
2181
|
projections?: {
|
|
1935
2182
|
id: string;
|
|
1936
2183
|
question: string;
|
|
1937
|
-
shape: "sequence" | "dataflow" | "compare";
|
|
2184
|
+
shape: "sequence" | "dataflow" | "compare" | "lifecycle" | "blueprint" | "er";
|
|
1938
2185
|
title: string;
|
|
1939
2186
|
messages: {
|
|
1940
2187
|
id: string;
|
|
@@ -1953,9 +2200,16 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1953
2200
|
lineStyle: "solid" | "dashed";
|
|
1954
2201
|
branch?: string | undefined;
|
|
1955
2202
|
block?: string | undefined;
|
|
1956
|
-
reply?: boolean | undefined;
|
|
1957
2203
|
edge?: string | undefined;
|
|
2204
|
+
reply?: boolean | undefined;
|
|
1958
2205
|
}[];
|
|
2206
|
+
flow?: string | undefined;
|
|
2207
|
+
phases?: {
|
|
2208
|
+
id: string;
|
|
2209
|
+
from: string;
|
|
2210
|
+
to: string;
|
|
2211
|
+
label: string;
|
|
2212
|
+
}[] | undefined;
|
|
1959
2213
|
participants?: string[] | undefined;
|
|
1960
2214
|
blocks?: {
|
|
1961
2215
|
id: string;
|
|
@@ -1967,26 +2221,13 @@ export declare const architectureIrSchema: z.ZodObject<{
|
|
|
1967
2221
|
nodes: string[];
|
|
1968
2222
|
label: string;
|
|
1969
2223
|
}[] | undefined;
|
|
1970
|
-
phases?: {
|
|
1971
|
-
id: string;
|
|
1972
|
-
from: string;
|
|
1973
|
-
to: string;
|
|
1974
|
-
label: string;
|
|
1975
|
-
}[] | undefined;
|
|
1976
|
-
}[] | undefined;
|
|
1977
|
-
stages?: {
|
|
1978
|
-
id: string;
|
|
1979
|
-
label: string;
|
|
1980
|
-
nodes?: string[] | undefined;
|
|
1981
|
-
repos?: string[] | undefined;
|
|
1982
|
-
kinds?: import("./packs/index.js").PackNodeKind[] | undefined;
|
|
1983
2224
|
}[] | undefined;
|
|
1984
|
-
packs?: string[] | undefined;
|
|
1985
2225
|
groups?: {
|
|
1986
2226
|
id: string;
|
|
1987
2227
|
name: string;
|
|
1988
2228
|
members: string[];
|
|
1989
2229
|
}[] | undefined;
|
|
2230
|
+
packs?: string[] | undefined;
|
|
1990
2231
|
}>;
|
|
1991
2232
|
export declare function parseArchitectureIr(input: unknown): Result<ArchitectureIr, ValidationError>;
|
|
1992
2233
|
//# sourceMappingURL=ir-schema.d.ts.map
|