@wairon/cli 5.1.1-dev.111 → 5.1.1-dev.113

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/index.d.ts CHANGED
@@ -3772,6 +3772,10 @@ interface ExportUse {
3772
3772
  specs?: string[];
3773
3773
  /** Per member reached, the consumer's specs whose references reach THAT member, sorted. */
3774
3774
  memberSpecs?: Record<string, string[]>;
3775
+ /** On a rename's published list: the entry's former public names (its rename trace). */
3776
+ formerNames?: string[];
3777
+ /** On a rename's published list: per member, its former method names (previousNames). */
3778
+ formerMembers?: Record<string, string[]>;
3775
3779
  }
3776
3780
  /**
3777
3781
  * export_usage — what one project's references reach in another, mapped onto
@@ -3890,12 +3894,14 @@ interface BindingMember {
3890
3894
  name: string;
3891
3895
  /** A method's parameter names in order ('' for a destructured one); absent for a data field. */
3892
3896
  params?: string[];
3897
+ /** A data field's declared type as written, when it declares one. */
3898
+ type?: string;
3893
3899
  }
3894
3900
  /** binding_declaration — one exported declaration of a binding module. */
3895
3901
  interface BindingDeclaration {
3896
3902
  name: string;
3897
- /** function | interface | class | type (an object type alias) | alias (any other type alias) | enum. */
3898
- kind: 'function' | 'interface' | 'class' | 'type' | 'alias' | 'enum';
3903
+ /** function | interface | class | object (a CommonJS object literal) | type (an object type alias) | alias (any other type alias) | enum. */
3904
+ kind: 'function' | 'interface' | 'class' | 'object' | 'type' | 'alias' | 'enum';
3899
3905
  /** A function's parameter names in order. */
3900
3906
  params?: string[];
3901
3907
  /** The members an interface, class or object type declares; an enum's member names as fields. */
@@ -3910,6 +3916,8 @@ interface BindingModule {
3910
3916
  path: string;
3911
3917
  status: 'read' | 'missing' | 'escaped' | 'unreadable' | 'unsupported';
3912
3918
  declarations: BindingDeclaration[];
3919
+ /** The export forms met but not seen into (`module.exports = require(…)`); absent when none. */
3920
+ unreadForms?: string[];
3913
3921
  }
3914
3922
 
3915
3923
  /** primitive | named | list | set | map | optional | union | async | applied | result. */
@@ -5095,12 +5103,12 @@ declare const ProfileDefSchema: z.ZodObject<{
5095
5103
  to: z.ZodArray<z.ZodString, "many">;
5096
5104
  reason: z.ZodString;
5097
5105
  }, "strip", z.ZodTypeAny, {
5098
- from: string[];
5099
5106
  reason: string;
5107
+ from: string[];
5100
5108
  to: string[];
5101
5109
  }, {
5102
- from: string[];
5103
5110
  reason: string;
5111
+ from: string[];
5104
5112
  to: string[];
5105
5113
  }>, "many">>;
5106
5114
  rules: z.ZodOptional<z.ZodObject<{
@@ -5439,8 +5447,8 @@ declare const ProfileDefSchema: z.ZodObject<{
5439
5447
  reason: string;
5440
5448
  }[];
5441
5449
  allowedEdges: {
5442
- from: string[];
5443
5450
  reason: string;
5451
+ from: string[];
5444
5452
  to: string[];
5445
5453
  }[];
5446
5454
  rules?: {
@@ -5580,8 +5588,8 @@ declare const ProfileDefSchema: z.ZodObject<{
5580
5588
  reason: string;
5581
5589
  }[] | undefined;
5582
5590
  allowedEdges?: {
5583
- from: string[];
5584
5591
  reason: string;
5592
+ from: string[];
5585
5593
  to: string[];
5586
5594
  }[] | undefined;
5587
5595
  }>;
@@ -5738,14 +5746,14 @@ declare const PackAssertionSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<
5738
5746
  }, "strip", z.ZodTypeAny, {
5739
5747
  code: string;
5740
5748
  kind: "forbid-edge";
5749
+ severity: "error" | "warning";
5750
+ reason: string;
5741
5751
  from: {
5742
5752
  id?: string | undefined;
5743
5753
  profile?: string[] | undefined;
5744
5754
  componentType?: string[] | undefined;
5745
5755
  };
5746
- reason: string;
5747
5756
  relation: ("owns" | "dependsOn")[];
5748
- severity: "error" | "warning";
5749
5757
  to: {
5750
5758
  id?: string | undefined;
5751
5759
  profile?: string[] | undefined;
@@ -5754,19 +5762,19 @@ declare const PackAssertionSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<
5754
5762
  }, {
5755
5763
  code: string;
5756
5764
  kind: "forbid-edge";
5765
+ reason: string;
5757
5766
  from: {
5758
5767
  id?: string | undefined;
5759
5768
  profile?: string[] | undefined;
5760
5769
  componentType?: string[] | undefined;
5761
5770
  };
5762
- reason: string;
5763
5771
  to: {
5764
5772
  id?: string | undefined;
5765
5773
  profile?: string[] | undefined;
5766
5774
  componentType?: string[] | undefined;
5767
5775
  };
5768
- relation?: ("owns" | "dependsOn")[] | undefined;
5769
5776
  severity?: "error" | "warning" | undefined;
5777
+ relation?: ("owns" | "dependsOn")[] | undefined;
5770
5778
  }>, z.ZodObject<{
5771
5779
  on: z.ZodObject<{
5772
5780
  componentType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5796,14 +5804,14 @@ declare const PackAssertionSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<
5796
5804
  code: string;
5797
5805
  kind: "require-field";
5798
5806
  field: string;
5799
- reason: string;
5800
5807
  severity: "error" | "warning";
5808
+ reason: string;
5809
+ level: "interface" | "implementation" | "component";
5801
5810
  on: {
5802
5811
  id?: string | undefined;
5803
5812
  profile?: string[] | undefined;
5804
5813
  componentType?: string[] | undefined;
5805
5814
  };
5806
- level: "interface" | "implementation" | "component";
5807
5815
  values?: string[] | undefined;
5808
5816
  }, {
5809
5817
  code: string;
@@ -5845,8 +5853,8 @@ declare const PackAssertionSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<
5845
5853
  }, "strip", z.ZodTypeAny, {
5846
5854
  code: string;
5847
5855
  kind: "endpoint-shape";
5848
- reason: string;
5849
5856
  severity: "error" | "warning";
5857
+ reason: string;
5850
5858
  on: {
5851
5859
  id?: string | undefined;
5852
5860
  profile?: string[] | undefined;
@@ -5912,12 +5920,12 @@ declare const DeclarativePackSchema: z.ZodObject<{
5912
5920
  to: z.ZodArray<z.ZodString, "many">;
5913
5921
  reason: z.ZodString;
5914
5922
  }, "strip", z.ZodTypeAny, {
5915
- from: string[];
5916
5923
  reason: string;
5924
+ from: string[];
5917
5925
  to: string[];
5918
5926
  }, {
5919
- from: string[];
5920
5927
  reason: string;
5928
+ from: string[];
5921
5929
  to: string[];
5922
5930
  }>, "many">>;
5923
5931
  rules: z.ZodOptional<z.ZodObject<{
@@ -6256,8 +6264,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6256
6264
  reason: string;
6257
6265
  }[];
6258
6266
  allowedEdges: {
6259
- from: string[];
6260
6267
  reason: string;
6268
+ from: string[];
6261
6269
  to: string[];
6262
6270
  }[];
6263
6271
  rules?: {
@@ -6397,8 +6405,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6397
6405
  reason: string;
6398
6406
  }[] | undefined;
6399
6407
  allowedEdges?: {
6400
- from: string[];
6401
6408
  reason: string;
6409
+ from: string[];
6402
6410
  to: string[];
6403
6411
  }[] | undefined;
6404
6412
  }>>>;
@@ -6504,14 +6512,14 @@ declare const DeclarativePackSchema: z.ZodObject<{
6504
6512
  }, "strip", z.ZodTypeAny, {
6505
6513
  code: string;
6506
6514
  kind: "forbid-edge";
6515
+ severity: "error" | "warning";
6516
+ reason: string;
6507
6517
  from: {
6508
6518
  id?: string | undefined;
6509
6519
  profile?: string[] | undefined;
6510
6520
  componentType?: string[] | undefined;
6511
6521
  };
6512
- reason: string;
6513
6522
  relation: ("owns" | "dependsOn")[];
6514
- severity: "error" | "warning";
6515
6523
  to: {
6516
6524
  id?: string | undefined;
6517
6525
  profile?: string[] | undefined;
@@ -6520,19 +6528,19 @@ declare const DeclarativePackSchema: z.ZodObject<{
6520
6528
  }, {
6521
6529
  code: string;
6522
6530
  kind: "forbid-edge";
6531
+ reason: string;
6523
6532
  from: {
6524
6533
  id?: string | undefined;
6525
6534
  profile?: string[] | undefined;
6526
6535
  componentType?: string[] | undefined;
6527
6536
  };
6528
- reason: string;
6529
6537
  to: {
6530
6538
  id?: string | undefined;
6531
6539
  profile?: string[] | undefined;
6532
6540
  componentType?: string[] | undefined;
6533
6541
  };
6534
- relation?: ("owns" | "dependsOn")[] | undefined;
6535
6542
  severity?: "error" | "warning" | undefined;
6543
+ relation?: ("owns" | "dependsOn")[] | undefined;
6536
6544
  }>, z.ZodObject<{
6537
6545
  on: z.ZodObject<{
6538
6546
  componentType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -6562,14 +6570,14 @@ declare const DeclarativePackSchema: z.ZodObject<{
6562
6570
  code: string;
6563
6571
  kind: "require-field";
6564
6572
  field: string;
6565
- reason: string;
6566
6573
  severity: "error" | "warning";
6574
+ reason: string;
6575
+ level: "interface" | "implementation" | "component";
6567
6576
  on: {
6568
6577
  id?: string | undefined;
6569
6578
  profile?: string[] | undefined;
6570
6579
  componentType?: string[] | undefined;
6571
6580
  };
6572
- level: "interface" | "implementation" | "component";
6573
6581
  values?: string[] | undefined;
6574
6582
  }, {
6575
6583
  code: string;
@@ -6611,8 +6619,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6611
6619
  }, "strip", z.ZodTypeAny, {
6612
6620
  code: string;
6613
6621
  kind: "endpoint-shape";
6614
- reason: string;
6615
6622
  severity: "error" | "warning";
6623
+ reason: string;
6616
6624
  on: {
6617
6625
  id?: string | undefined;
6618
6626
  profile?: string[] | undefined;
@@ -6665,13 +6673,13 @@ declare const DeclarativePackSchema: z.ZodObject<{
6665
6673
  }, "strip", z.ZodTypeAny, {
6666
6674
  name: string;
6667
6675
  instructions: PackInstructionBlock[];
6676
+ guarantees: string[];
6668
6677
  patterns: {
6669
6678
  id: string;
6670
6679
  version: string;
6671
6680
  description?: string | undefined;
6672
6681
  metadata?: Record<string, unknown> | undefined;
6673
6682
  }[];
6674
- guarantees: string[];
6675
6683
  profiles: Record<string, {
6676
6684
  family: "backend-like" | "frontend-like" | "neutral";
6677
6685
  forbiddenStereotypes: {
@@ -6683,8 +6691,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6683
6691
  reason: string;
6684
6692
  }[];
6685
6693
  allowedEdges: {
6686
- from: string[];
6687
6694
  reason: string;
6695
+ from: string[];
6688
6696
  to: string[];
6689
6697
  }[];
6690
6698
  rules?: {
@@ -6764,14 +6772,14 @@ declare const DeclarativePackSchema: z.ZodObject<{
6764
6772
  assertions: ({
6765
6773
  code: string;
6766
6774
  kind: "forbid-edge";
6775
+ severity: "error" | "warning";
6776
+ reason: string;
6767
6777
  from: {
6768
6778
  id?: string | undefined;
6769
6779
  profile?: string[] | undefined;
6770
6780
  componentType?: string[] | undefined;
6771
6781
  };
6772
- reason: string;
6773
6782
  relation: ("owns" | "dependsOn")[];
6774
- severity: "error" | "warning";
6775
6783
  to: {
6776
6784
  id?: string | undefined;
6777
6785
  profile?: string[] | undefined;
@@ -6781,20 +6789,20 @@ declare const DeclarativePackSchema: z.ZodObject<{
6781
6789
  code: string;
6782
6790
  kind: "require-field";
6783
6791
  field: string;
6784
- reason: string;
6785
6792
  severity: "error" | "warning";
6793
+ reason: string;
6794
+ level: "interface" | "implementation" | "component";
6786
6795
  on: {
6787
6796
  id?: string | undefined;
6788
6797
  profile?: string[] | undefined;
6789
6798
  componentType?: string[] | undefined;
6790
6799
  };
6791
- level: "interface" | "implementation" | "component";
6792
6800
  values?: string[] | undefined;
6793
6801
  } | {
6794
6802
  code: string;
6795
6803
  kind: "endpoint-shape";
6796
- reason: string;
6797
6804
  severity: "error" | "warning";
6805
+ reason: string;
6798
6806
  on: {
6799
6807
  id?: string | undefined;
6800
6808
  profile?: string[] | undefined;
@@ -6810,13 +6818,13 @@ declare const DeclarativePackSchema: z.ZodObject<{
6810
6818
  name: string;
6811
6819
  version?: string | undefined;
6812
6820
  instructions?: unknown;
6821
+ guarantees?: string[] | undefined;
6813
6822
  patterns?: {
6814
6823
  id: string;
6815
6824
  version: string;
6816
6825
  description?: string | undefined;
6817
6826
  metadata?: Record<string, unknown> | undefined;
6818
6827
  }[] | undefined;
6819
- guarantees?: string[] | undefined;
6820
6828
  profiles?: Record<string, {
6821
6829
  rules?: {
6822
6830
  noOverlappingOwnership?: boolean | undefined;
@@ -6891,8 +6899,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6891
6899
  reason: string;
6892
6900
  }[] | undefined;
6893
6901
  allowedEdges?: {
6894
- from: string[];
6895
6902
  reason: string;
6903
+ from: string[];
6896
6904
  to: string[];
6897
6905
  }[] | undefined;
6898
6906
  }> | undefined;
@@ -6909,19 +6917,19 @@ declare const DeclarativePackSchema: z.ZodObject<{
6909
6917
  assertions?: ({
6910
6918
  code: string;
6911
6919
  kind: "forbid-edge";
6920
+ reason: string;
6912
6921
  from: {
6913
6922
  id?: string | undefined;
6914
6923
  profile?: string[] | undefined;
6915
6924
  componentType?: string[] | undefined;
6916
6925
  };
6917
- reason: string;
6918
6926
  to: {
6919
6927
  id?: string | undefined;
6920
6928
  profile?: string[] | undefined;
6921
6929
  componentType?: string[] | undefined;
6922
6930
  };
6923
- relation?: ("owns" | "dependsOn")[] | undefined;
6924
6931
  severity?: "error" | "warning" | undefined;
6932
+ relation?: ("owns" | "dependsOn")[] | undefined;
6925
6933
  } | {
6926
6934
  code: string;
6927
6935
  kind: "require-field";
@@ -7666,7 +7674,49 @@ interface ParameterFact {
7666
7674
  type?: string;
7667
7675
  /** Whether a caller may leave it out — marked optional, given a default, or a rest parameter. */
7668
7676
  optional: boolean;
7677
+ /**
7678
+ * True when the parameter is named and PROVABLY unused: no identifier of its
7679
+ * name appears in the function's body or in another parameter's default
7680
+ * value, and the body never reads `arguments`. A shadowing local counts as a
7681
+ * use, which can only keep a parameter judged.
7682
+ */
7683
+ unused?: boolean;
7684
+ /**
7685
+ * The kind of value the type checker says the parameter takes, nullability
7686
+ * set aside; absent when the checker settles no one kind (any, unknown, an
7687
+ * unresolvable name, a union of kinds). What tells a substitution from a
7688
+ * rename where the annotation's own spelling cannot.
7689
+ */
7690
+ kind?: ParameterKind;
7691
+ /**
7692
+ * The property names the type checker says an OBJECT-kind parameter's type
7693
+ * has, nullability set aside; absent for any other kind, where no checker
7694
+ * read the file, and for a type with no property it can name. What a
7695
+ * declared record type is compared with structurally: an object sharing
7696
+ * none of the record's fields is a different argument, whatever either side
7697
+ * calls it.
7698
+ */
7699
+ fields?: string[];
7700
+ /**
7701
+ * True when the annotation names a platform transport class — a request, a
7702
+ * response, a socket, a URL or its headers (node:http's IncomingMessage, a
7703
+ * fetch Request…) — resolved or not: a handle whatever serves the method
7704
+ * hands it, never a domain record.
7705
+ */
7706
+ transport?: boolean;
7707
+ /**
7708
+ * The member names and literal keys the body reads off the parameter, at
7709
+ * any depth of a chain (`req.params.code` reads params and code;
7710
+ * `req.query['limit']` reads query and limit), and the property names a
7711
+ * destructuring of such a read binds (`const { code } = req.params`).
7712
+ * Absent when the parameter is unnamed or nothing is read off it. What says
7713
+ * a contract parameter an injected request handle carries is realized
7714
+ * through it.
7715
+ */
7716
+ reads?: string[];
7669
7717
  }
7718
+ /** The kinds of value a parameter can take, as the type checker settles them. */
7719
+ type ParameterKind = 'string' | 'number' | 'boolean' | 'list' | 'object' | 'function';
7670
7720
  /**
7671
7721
  * One route a router function handles, rebuilt from the conditions that guard
7672
7722
  * the branch serving it — the branch's own AND every enclosing one on the path
@@ -7679,10 +7729,13 @@ interface ParameterFact {
7679
7729
  * already guarantees, which the router never re-checks — so it is left open
7680
7730
  * here and completed by whoever knows the mount.
7681
7731
  *
7682
- * Only one idiom is read: a method comparison together with comparisons on the
7683
- * path's split segments and their count. A router written another way yields
7684
- * nothing, and the reader reports that as unread rather than passing it — a
7685
- * check that cannot see a router must say so rather than stay quiet.
7732
+ * Two idioms are read: a method comparison together with comparisons on the
7733
+ * path's split segments and their count (with a prefix the router strips
7734
+ * before splitting folded in front, where its value settles), and an entry of
7735
+ * a route table pairing a method with a path pattern. Every compared value is
7736
+ * a literal or one the code's constants settle. A router written another way
7737
+ * yields nothing, and the reader reports that as unread rather than passing it
7738
+ * — a check that cannot see a router must say so rather than stay quiet.
7686
7739
  */
7687
7740
  interface RouteFact {
7688
7741
  /** The HTTP method the branch requires. */
@@ -7695,6 +7748,47 @@ interface RouteFact {
7695
7748
  * with the same leading segments.
7696
7749
  */
7697
7750
  exactLength: boolean;
7751
+ /**
7752
+ * True when the segments are the whole request path the router compares — a
7753
+ * stripped prefix the router spells out folded in front, or a route-table
7754
+ * pattern — so no leading segment is left for a mount to supply.
7755
+ */
7756
+ fullPath?: boolean;
7757
+ /**
7758
+ * True when the route is an entry of a route TABLE rather than a guard: a
7759
+ * table is written under whatever prefix the router strips before matching
7760
+ * it, which a reader folds in front from SourceFileFacts.routePrefixes.
7761
+ */
7762
+ table?: boolean;
7763
+ }
7764
+ /**
7765
+ * One import a file makes from ANOTHER project's source: one that resolves to
7766
+ * nothing — the module is gone, or it does not export the name imported (a
7767
+ * type-only import of another project is erased at run time, so nothing but a
7768
+ * compiler notices, and the gate reads the file with one) — or one that
7769
+ * resolves, under each name it binds (`resolved`), which reaches into that
7770
+ * project's code.
7771
+ */
7772
+ interface CrossProjectImportFact {
7773
+ /** The module specifier as the import writes it. */
7774
+ specifier: string;
7775
+ /** The name imported from it that the module does not export; absent when the module itself does not resolve. */
7776
+ name?: string;
7777
+ /** The other project's root the import reaches into, relative to the analyzed project's root. */
7778
+ project: string;
7779
+ /** The 1-based line of the import. */
7780
+ line: number;
7781
+ /** Whether the import binds the name as a type only. */
7782
+ typeOnly: boolean;
7783
+ /**
7784
+ * True when the import RESOLVES — the module is there and binds the name
7785
+ * (`*` for a namespace import, absent for a side-effect import): code
7786
+ * reaching into the other project's source, which the gate holds to what
7787
+ * that project exports. Absent for an import that resolves to nothing.
7788
+ */
7789
+ resolved?: boolean;
7790
+ /** For a resolved import: the module it lands in, relative to the other project's root. */
7791
+ module?: string;
7698
7792
  }
7699
7793
  /** How a type shape's members were read: listed by the shape itself, or followed one hop from an alias to the value its shape comes from. */
7700
7794
  type ShapeOrigin = 'declared' | 'derived';
@@ -7940,9 +8034,19 @@ interface SourceFileFacts {
7940
8034
  * empty one — an empty guess would read as "a router with no routes", and
7941
8035
  * the reader needs to tell a router it could not read from one it read.
7942
8036
  * Same-named bodies union their routes; nested NAMED functions carry their
7943
- * own entries, while anonymous callbacks count into the enclosing one.
8037
+ * own entries, while anonymous callbacks count into the enclosing one. A
8038
+ * route TABLE bound to a top-level const records an entry under the const's
8039
+ * name too, so a router linkage may name the table itself.
7944
8040
  */
7945
8041
  functionRoutes?: Record<string, RouteFact[]>;
8042
+ /**
8043
+ * The ONE prefix each named function strips off a path before matching it
8044
+ * (`path.slice(BASE.length)`, `.replace(BASE, '')`), as the text it settles
8045
+ * on, by function name; a function stripping none, several, or one that
8046
+ * does not settle has no entry. What a route table read by the same router
8047
+ * is written under.
8048
+ */
8049
+ routePrefixes?: Record<string, string>;
7946
8050
  /**
7947
8051
  * The named function-likes in the file that complete LATER — declared
7948
8052
  * `async`, or annotated to return a Promise — listed once per such BODY, in
@@ -7996,6 +8100,16 @@ interface SourceFileFacts {
7996
8100
  * the shape facts follow the spellings they know.
7997
8101
  */
7998
8102
  resolvedCalls?: ResolvedCallFact[];
8103
+ /**
8104
+ * Each import of the file — a runtime or a type-only one — from ANOTHER
8105
+ * project's source (a folder holding its own .wai/project.yaml that is not
8106
+ * the analyzed project's root): one the type checker resolves to nothing —
8107
+ * the module is gone, or it does not export the name imported — and, marked
8108
+ * `resolved`, one that lands, under each name it binds. Recorded only where
8109
+ * a type checker read the file; absent when the file imports no other
8110
+ * project's source.
8111
+ */
8112
+ crossProjectImports?: CrossProjectImportFact[];
7999
8113
  }
8000
8114
  /**
8001
8115
  * One place a call the type checker resolved can land in THIS project's code:
@@ -8065,6 +8179,13 @@ interface ResolvedCallFact {
8065
8179
  * can be invoked anywhere the value travels.
8066
8180
  */
8067
8181
  reference?: boolean;
8182
+ /**
8183
+ * True when every place the call lands is a member declared in an interface
8184
+ * or type shape that no class of the project realizes — a port nothing
8185
+ * written implements yet, or one implemented by a value the checker cannot
8186
+ * name. Its landings name the port alone, never what will answer it.
8187
+ */
8188
+ port?: boolean;
8068
8189
  }
8069
8190
  interface CodeModel {
8070
8191
  /** One facts entry per distinct resolved sourcePath (missing/escaped/unreadable included). */
@@ -8222,6 +8343,18 @@ declare function bodySitesOf(facts: SourceFileFacts, fn: string, container?: str
8222
8343
  * itself rather than read "no body" into "not measured".
8223
8344
  */
8224
8345
  declare function hasFunctionBody(facts: SourceFileFacts, symbol: string): boolean;
8346
+ /**
8347
+ * implementation_spec.router — what a Portal's router linkage names, read off
8348
+ * its three spellings: `name` (an entry the Portal's own files export),
8349
+ * `path#name` (an entry or route table another module exports — a central
8350
+ * routes.ts), and `path` alone (that module, every route-bearing export of it
8351
+ * read as one router). A value is a path when it holds a `/` or ends in a
8352
+ * source extension; the path is project-relative.
8353
+ */
8354
+ declare function routerLinkage(router: string): {
8355
+ file?: string;
8356
+ name?: string;
8357
+ };
8225
8358
  /**
8226
8359
  * The language a source file is analyzed as, read from its extension; undefined
8227
8360
  * for a file no analyzer reads. The one table the analyzer and the implementer
@@ -8640,6 +8773,19 @@ interface ProjectApproval {
8640
8773
  release?: ReleaseVerdict;
8641
8774
  /** On a drifted entry whose record carries gate parts: the inputs that moved (lock_record.movedGateParts). */
8642
8775
  inputsMoved?: string[];
8776
+ /**
8777
+ * Set when the record's gateParts do not break down its stateId
8778
+ * (lock_record.partsProblem): why. They are ignored — they name no input
8779
+ * and carry no approval over — and every surface says so as a notice.
8780
+ */
8781
+ partsIgnored?: string;
8782
+ /**
8783
+ * Set when the record's release stamp is missing, no wairon version or
8784
+ * newer than the running release (lock_record.stampProblem) and no release
8785
+ * verdict already names it: every surface reports it as a notice, and
8786
+ * `wairon lock` replaces the stamp. Never decides the state on its own.
8787
+ */
8788
+ stampProblem?: string;
8643
8789
  }
8644
8790
  /**
8645
8791
  * release_verdict — an approval whose gate identity moved only because the
@@ -8657,6 +8803,13 @@ interface ReleaseVerdict {
8657
8803
  count?: number;
8658
8804
  /** The first few of them, `CODE [spec] message`. */
8659
8805
  findings?: string[];
8806
+ /**
8807
+ * Set on a verdict that is not carried because the change of the release
8808
+ * cannot be judged by re-validation at all — the record cannot prove the
8809
+ * project's own inputs unchanged — as one sentence naming why. count and
8810
+ * findings are absent then.
8811
+ */
8812
+ reason?: string;
8660
8813
  }
8661
8814
  /** lock_restamp — provenance of a release stamp refreshed by `wairon lock` without a re-approval. */
8662
8815
  interface LockRestamp {
@@ -8664,6 +8817,12 @@ interface LockRestamp {
8664
8817
  fromVersion: string;
8665
8818
  toVersion: string;
8666
8819
  by: string;
8820
+ /**
8821
+ * The composition subject of the human approval this restamp carried over
8822
+ * (kept through every later restamp): what a parent pins of this project,
8823
+ * so a restamp never reads as a re-approval one level up.
8824
+ */
8825
+ subject?: string;
8667
8826
  }
8668
8827
 
8669
8828
  /**
@@ -9367,7 +9526,7 @@ type WritableSpecKind = 'system' | 'subsystem' | 'component' | 'interface' | 'im
9367
9526
  /** One stored spec of any level — what the kind-generic load answers and save takes. */
9368
9527
  type StoredSpec = SystemSpec | SubsystemSpec | ComponentSpec | InterfaceSpec | ImplementationSpec | TypeSpec;
9369
9528
  /** What a write did at one path of a stored spec. */
9370
- type SpecChangeKind = 'set' | 'added' | 'removed' | 'cleared' | 'renumbered' | 'relocated';
9529
+ type SpecChangeKind = 'set' | 'added' | 'removed' | 'cleared' | 'renumbered' | 'relocated' | 'reordered';
9371
9530
  /**
9372
9531
  * ONE change a write made to a stored spec, addressed by a dotted path with
9373
9532
  * names and indexes: `methods.createMember.narrative.step 7.type`,
@@ -9445,6 +9604,19 @@ interface SpecChangeReport {
9445
9604
  * on a write that changes nothing, because nothing is re-serialized then.
9446
9605
  */
9447
9606
  strippedKeys?: string[];
9607
+ /**
9608
+ * Each implementation method entry the write removed with a contract method
9609
+ * it removed, as `<implementation>.<method>` (on a dry run, would remove).
9610
+ * Absent when the write removed no contract method.
9611
+ */
9612
+ cascaded?: string[];
9613
+ /**
9614
+ * Every public name a consumer reaches a contract method this write removed
9615
+ * through, read before the write. Absent when no removed method is published.
9616
+ */
9617
+ published?: ExportUse[];
9618
+ /** The consumers whose specs call a removed method on a published name. Filled by the door that read them. */
9619
+ breaks?: ExternalConsumer[];
9448
9620
  }
9449
9621
  /**
9450
9622
  * One component considered as a home for a set of moved methods, and what
@@ -9747,6 +9919,24 @@ declare function saveSpec(kind: WritableSpecKind, spec: StoredSpec): string[];
9747
9919
  */
9748
9920
  declare function deleteSpec(kind: WritableSpecKind, id: string): boolean;
9749
9921
  declare function updateSpec(kind: WritableSpecKind, id: string, delta: Record<string, any>, hooks?: SpecWriteHooks, dryRun?: boolean): SpecChangeReport;
9922
+ /**
9923
+ * Inside a hosted request, judge every spec a multi-spec write would change —
9924
+ * by kind and id, as the loader keys them — against the request's write reach
9925
+ * before the first write, refusing (SubsystemWriteDenied) with every subsystem
9926
+ * it may not change named. `projectRung` adds a write of project configuration
9927
+ * (the debt register). Outside a hosted request nothing is judged.
9928
+ */
9929
+ /**
9930
+ * core_orchestrator.crossProjectWriteRefusal — the project boundary of every
9931
+ * authored write: the sentence refusing a write any of whose targets lives in
9932
+ * another project (a member's spec, or one named through an external's alias),
9933
+ * naming that project's folder and the call to make in a session there; or
9934
+ * undefined when every target is the bound project's own. Reads only.
9935
+ */
9936
+ declare function crossProjectWriteRefusal(targets: {
9937
+ kind: string;
9938
+ id: string;
9939
+ }[], tool: string): string | undefined;
9750
9940
  declare function moveMethods(from: string, to: string, methods: string[], hooks?: SpecWriteHooks, dryRun?: boolean): MethodMoveReport;
9751
9941
 
9752
9942
  /**
@@ -10633,7 +10823,7 @@ declare const PublicInterfaceSchema: z.ZodEffects<z.ZodObject<{
10633
10823
  /** What consumers do with the entry: call it (the default) or implement it (an extension point an Adapter may back). */
10634
10824
  role: z.ZodOptional<z.ZodEnum<["call", "implement"]>>;
10635
10825
  }, "strip", z.ZodTypeAny, {
10636
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
10826
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10637
10827
  as?: string | undefined;
10638
10828
  interface?: string | undefined;
10639
10829
  component?: string | undefined;
@@ -10643,7 +10833,7 @@ declare const PublicInterfaceSchema: z.ZodEffects<z.ZodObject<{
10643
10833
  from?: string | undefined;
10644
10834
  consumers?: string[] | undefined;
10645
10835
  }, {
10646
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
10836
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10647
10837
  as?: string | undefined;
10648
10838
  interface?: string | undefined;
10649
10839
  component?: string | undefined;
@@ -10653,7 +10843,7 @@ declare const PublicInterfaceSchema: z.ZodEffects<z.ZodObject<{
10653
10843
  from?: string | undefined;
10654
10844
  consumers?: string[] | undefined;
10655
10845
  }>, {
10656
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
10846
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10657
10847
  as?: string | undefined;
10658
10848
  interface?: string | undefined;
10659
10849
  component?: string | undefined;
@@ -10663,7 +10853,7 @@ declare const PublicInterfaceSchema: z.ZodEffects<z.ZodObject<{
10663
10853
  from?: string | undefined;
10664
10854
  consumers?: string[] | undefined;
10665
10855
  }, {
10666
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
10856
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10667
10857
  as?: string | undefined;
10668
10858
  interface?: string | undefined;
10669
10859
  component?: string | undefined;
@@ -10693,11 +10883,11 @@ declare const TrustedLinkSchema: z.ZodObject<{
10693
10883
  /** Why this coupling is sanctioned (e.g. "runtime dispatch latency — bus round-trip too slow"). */
10694
10884
  reason: z.ZodString;
10695
10885
  }, "strip", z.ZodTypeAny, {
10696
- subsystem: string;
10697
10886
  reason: string;
10698
- }, {
10699
10887
  subsystem: string;
10888
+ }, {
10700
10889
  reason: string;
10890
+ subsystem: string;
10701
10891
  }>;
10702
10892
  type TrustedLink = z.infer<typeof TrustedLinkSchema>;
10703
10893
  /**
@@ -10900,7 +11090,7 @@ declare const SubsystemSpecSchema: z.ZodObject<{
10900
11090
  /** What consumers do with the entry: call it (the default) or implement it (an extension point an Adapter may back). */
10901
11091
  role: z.ZodOptional<z.ZodEnum<["call", "implement"]>>;
10902
11092
  }, "strip", z.ZodTypeAny, {
10903
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
11093
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10904
11094
  as?: string | undefined;
10905
11095
  interface?: string | undefined;
10906
11096
  component?: string | undefined;
@@ -10910,7 +11100,7 @@ declare const SubsystemSpecSchema: z.ZodObject<{
10910
11100
  from?: string | undefined;
10911
11101
  consumers?: string[] | undefined;
10912
11102
  }, {
10913
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
11103
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10914
11104
  as?: string | undefined;
10915
11105
  interface?: string | undefined;
10916
11106
  component?: string | undefined;
@@ -10920,7 +11110,7 @@ declare const SubsystemSpecSchema: z.ZodObject<{
10920
11110
  from?: string | undefined;
10921
11111
  consumers?: string[] | undefined;
10922
11112
  }>, {
10923
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
11113
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10924
11114
  as?: string | undefined;
10925
11115
  interface?: string | undefined;
10926
11116
  component?: string | undefined;
@@ -10930,7 +11120,7 @@ declare const SubsystemSpecSchema: z.ZodObject<{
10930
11120
  from?: string | undefined;
10931
11121
  consumers?: string[] | undefined;
10932
11122
  }, {
10933
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
11123
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
10934
11124
  as?: string | undefined;
10935
11125
  interface?: string | undefined;
10936
11126
  component?: string | undefined;
@@ -10978,11 +11168,11 @@ declare const SubsystemSpecSchema: z.ZodObject<{
10978
11168
  /** Why this coupling is sanctioned (e.g. "runtime dispatch latency — bus round-trip too slow"). */
10979
11169
  reason: z.ZodString;
10980
11170
  }, "strip", z.ZodTypeAny, {
10981
- subsystem: string;
10982
11171
  reason: string;
10983
- }, {
10984
11172
  subsystem: string;
11173
+ }, {
10985
11174
  reason: string;
11175
+ subsystem: string;
10986
11176
  }>, "many">>;
10987
11177
  /**
10988
11178
  * Per-subsystem design-depth override (components | interfaces |
@@ -11068,7 +11258,7 @@ declare const SubsystemSpecSchema: z.ZodObject<{
11068
11258
  updatedAt: string;
11069
11259
  parentSystem: string;
11070
11260
  publicInterfaces: {
11071
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
11261
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
11072
11262
  as?: string | undefined;
11073
11263
  interface?: string | undefined;
11074
11264
  component?: string | undefined;
@@ -11079,8 +11269,8 @@ declare const SubsystemSpecSchema: z.ZodObject<{
11079
11269
  consumers?: string[] | undefined;
11080
11270
  }[];
11081
11271
  trustedLinks: {
11082
- subsystem: string;
11083
11272
  reason: string;
11273
+ subsystem: string;
11084
11274
  }[];
11085
11275
  profile?: string | undefined;
11086
11276
  designDepth?: "components" | "interfaces" | "implementations" | "narratives" | undefined;
@@ -11090,8 +11280,7 @@ declare const SubsystemSpecSchema: z.ZodObject<{
11090
11280
  phase: "init" | "shutdown" | "cyclic" | "interrupt" | "scheduled";
11091
11281
  description?: string | undefined;
11092
11282
  }[] | undefined;
11093
- projectPath?: string | undefined;
11094
- targetLanguage?: string | undefined;
11283
+ ext?: Record<string, unknown> | undefined;
11095
11284
  lint?: {
11096
11285
  allow: {
11097
11286
  code: string;
@@ -11100,7 +11289,8 @@ declare const SubsystemSpecSchema: z.ZodObject<{
11100
11289
  covers?: string[] | undefined;
11101
11290
  }[];
11102
11291
  } | undefined;
11103
- ext?: Record<string, unknown> | undefined;
11292
+ projectPath?: string | undefined;
11293
+ targetLanguage?: string | undefined;
11104
11294
  }, {
11105
11295
  id: string;
11106
11296
  name: string;
@@ -11111,8 +11301,23 @@ declare const SubsystemSpecSchema: z.ZodObject<{
11111
11301
  status?: "draft" | "design" | "complete" | undefined;
11112
11302
  profile?: string | undefined;
11113
11303
  designDepth?: "components" | "interfaces" | "implementations" | "narratives" | undefined;
11304
+ lifecycle?: {
11305
+ method: string;
11306
+ component: string;
11307
+ phase: "init" | "shutdown" | "cyclic" | "interrupt" | "scheduled";
11308
+ description?: string | undefined;
11309
+ }[] | undefined;
11310
+ ext?: Record<string, unknown> | undefined;
11311
+ lint?: {
11312
+ allow?: {
11313
+ code: string;
11314
+ reason: string;
11315
+ at?: string | undefined;
11316
+ covers?: string[] | undefined;
11317
+ }[] | undefined;
11318
+ } | undefined;
11114
11319
  publicInterfaces?: {
11115
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
11320
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
11116
11321
  as?: string | undefined;
11117
11322
  interface?: string | undefined;
11118
11323
  component?: string | undefined;
@@ -11122,27 +11327,12 @@ declare const SubsystemSpecSchema: z.ZodObject<{
11122
11327
  from?: string | undefined;
11123
11328
  consumers?: string[] | undefined;
11124
11329
  }[] | undefined;
11125
- lifecycle?: {
11126
- method: string;
11127
- component: string;
11128
- phase: "init" | "shutdown" | "cyclic" | "interrupt" | "scheduled";
11129
- description?: string | undefined;
11130
- }[] | undefined;
11131
11330
  projectPath?: string | undefined;
11132
11331
  targetLanguage?: string | undefined;
11133
11332
  trustedLinks?: {
11134
- subsystem: string;
11135
11333
  reason: string;
11334
+ subsystem: string;
11136
11335
  }[] | undefined;
11137
- lint?: {
11138
- allow?: {
11139
- code: string;
11140
- reason: string;
11141
- at?: string | undefined;
11142
- covers?: string[] | undefined;
11143
- }[] | undefined;
11144
- } | undefined;
11145
- ext?: Record<string, unknown> | undefined;
11146
11336
  }>;
11147
11337
  type SubsystemSpec = z.infer<typeof SubsystemSpecSchema>;
11148
11338
  /** subsystem_spec.isDraft — whether the subsystem's status is draft or design. */
@@ -11315,7 +11505,7 @@ declare const PortalAuthSchema: z.ZodObject<{
11315
11505
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
11316
11506
  name?: string | undefined;
11317
11507
  description?: string | undefined;
11318
- in?: "header" | "query" | "cookie" | undefined;
11508
+ in?: "query" | "header" | "cookie" | undefined;
11319
11509
  bearerFormat?: string | undefined;
11320
11510
  authorizationUrl?: string | undefined;
11321
11511
  tokenUrl?: string | undefined;
@@ -11331,7 +11521,7 @@ declare const PortalAuthSchema: z.ZodObject<{
11331
11521
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
11332
11522
  name?: string | undefined;
11333
11523
  description?: string | undefined;
11334
- in?: "header" | "query" | "cookie" | undefined;
11524
+ in?: "query" | "header" | "cookie" | undefined;
11335
11525
  bearerFormat?: string | undefined;
11336
11526
  authorizationUrl?: string | undefined;
11337
11527
  tokenUrl?: string | undefined;
@@ -11469,7 +11659,7 @@ declare const ComponentSpecSchema: z.ZodObject<{
11469
11659
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
11470
11660
  name?: string | undefined;
11471
11661
  description?: string | undefined;
11472
- in?: "header" | "query" | "cookie" | undefined;
11662
+ in?: "query" | "header" | "cookie" | undefined;
11473
11663
  bearerFormat?: string | undefined;
11474
11664
  authorizationUrl?: string | undefined;
11475
11665
  tokenUrl?: string | undefined;
@@ -11485,7 +11675,7 @@ declare const ComponentSpecSchema: z.ZodObject<{
11485
11675
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
11486
11676
  name?: string | undefined;
11487
11677
  description?: string | undefined;
11488
- in?: "header" | "query" | "cookie" | undefined;
11678
+ in?: "query" | "header" | "cookie" | undefined;
11489
11679
  bearerFormat?: string | undefined;
11490
11680
  authorizationUrl?: string | undefined;
11491
11681
  tokenUrl?: string | undefined;
@@ -11665,6 +11855,13 @@ declare const ComponentSpecSchema: z.ZodObject<{
11665
11855
  owns: string[];
11666
11856
  dependsOn: string[];
11667
11857
  previousIds?: string[] | undefined;
11858
+ transport?: "HTTP" | "gRPC" | "GraphQL" | "MessageBus" | "NamedPipe" | "IPC" | "CLI" | "JSONRPC" | "Custom" | "InProcess" | undefined;
11859
+ invokedBy?: {
11860
+ kind: "entry" | "runtime";
11861
+ caller?: string | undefined;
11862
+ scope?: "network" | "outside" | undefined;
11863
+ } | undefined;
11864
+ ext?: Record<string, unknown> | undefined;
11668
11865
  lint?: {
11669
11866
  allow: {
11670
11867
  code: string;
@@ -11673,20 +11870,13 @@ declare const ComponentSpecSchema: z.ZodObject<{
11673
11870
  covers?: string[] | undefined;
11674
11871
  }[];
11675
11872
  } | undefined;
11676
- ext?: Record<string, unknown> | undefined;
11677
- transport?: "GraphQL" | "MessageBus" | "Custom" | "HTTP" | "gRPC" | "CLI" | "NamedPipe" | "IPC" | "JSONRPC" | "InProcess" | undefined;
11678
11873
  abi?: string | undefined;
11679
- invokedBy?: {
11680
- kind: "entry" | "runtime";
11681
- caller?: string | undefined;
11682
- scope?: "network" | "outside" | undefined;
11683
- } | undefined;
11684
11874
  basePath?: string | undefined;
11685
11875
  auth?: {
11686
11876
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
11687
11877
  name?: string | undefined;
11688
11878
  description?: string | undefined;
11689
- in?: "header" | "query" | "cookie" | undefined;
11879
+ in?: "query" | "header" | "cookie" | undefined;
11690
11880
  bearerFormat?: string | undefined;
11691
11881
  authorizationUrl?: string | undefined;
11692
11882
  tokenUrl?: string | undefined;
@@ -11706,7 +11896,7 @@ declare const ComponentSpecSchema: z.ZodObject<{
11706
11896
  description?: string | undefined;
11707
11897
  }[] | undefined;
11708
11898
  durability?: "ram-projection" | "durable" | "read-through" | "cache" | undefined;
11709
- dependencyClass?: "pure" | "read" | undefined;
11899
+ dependencyClass?: "read" | "pure" | undefined;
11710
11900
  emits?: {
11711
11901
  topic: string;
11712
11902
  description?: string | undefined;
@@ -11737,6 +11927,13 @@ declare const ComponentSpecSchema: z.ZodObject<{
11737
11927
  componentType: "Portal" | "Orchestrator" | "Supervisor" | "Actor" | "Store" | "Index" | "Query" | "Registry" | "Adapter" | "Observer" | "View" | "Repository" | "FeatureComponent" | "RouterComponent" | "Specialist" | "Gateway";
11738
11928
  status?: "draft" | "design" | "complete" | undefined;
11739
11929
  previousIds?: string[] | undefined;
11930
+ transport?: "HTTP" | "gRPC" | "GraphQL" | "MessageBus" | "NamedPipe" | "IPC" | "CLI" | "JSONRPC" | "Custom" | "InProcess" | undefined;
11931
+ invokedBy?: {
11932
+ kind: "entry" | "runtime";
11933
+ caller?: string | undefined;
11934
+ scope?: "network" | "outside" | undefined;
11935
+ } | undefined;
11936
+ ext?: Record<string, unknown> | undefined;
11740
11937
  lint?: {
11741
11938
  allow?: {
11742
11939
  code: string;
@@ -11745,22 +11942,15 @@ declare const ComponentSpecSchema: z.ZodObject<{
11745
11942
  covers?: string[] | undefined;
11746
11943
  }[] | undefined;
11747
11944
  } | undefined;
11748
- ext?: Record<string, unknown> | undefined;
11749
11945
  owns?: string[] | undefined;
11750
11946
  dependsOn?: string[] | undefined;
11751
- transport?: "GraphQL" | "MessageBus" | "Custom" | "HTTP" | "gRPC" | "CLI" | "NamedPipe" | "IPC" | "JSONRPC" | "InProcess" | undefined;
11752
11947
  abi?: string | undefined;
11753
- invokedBy?: {
11754
- kind: "entry" | "runtime";
11755
- caller?: string | undefined;
11756
- scope?: "network" | "outside" | undefined;
11757
- } | undefined;
11758
11948
  basePath?: string | undefined;
11759
11949
  auth?: {
11760
11950
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
11761
11951
  name?: string | undefined;
11762
11952
  description?: string | undefined;
11763
- in?: "header" | "query" | "cookie" | undefined;
11953
+ in?: "query" | "header" | "cookie" | undefined;
11764
11954
  bearerFormat?: string | undefined;
11765
11955
  authorizationUrl?: string | undefined;
11766
11956
  tokenUrl?: string | undefined;
@@ -11780,7 +11970,7 @@ declare const ComponentSpecSchema: z.ZodObject<{
11780
11970
  description?: string | undefined;
11781
11971
  }[] | undefined;
11782
11972
  durability?: "ram-projection" | "durable" | "read-through" | "cache" | undefined;
11783
- dependencyClass?: "pure" | "read" | undefined;
11973
+ dependencyClass?: "read" | "pure" | undefined;
11784
11974
  emits?: {
11785
11975
  topic: string;
11786
11976
  description?: string | undefined;
@@ -11861,14 +12051,17 @@ declare const EndpointSchema: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<
11861
12051
  transport: z.ZodLiteral<"HTTP">;
11862
12052
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
11863
12053
  path: z.ZodString;
12054
+ status: z.ZodOptional<z.ZodNumber>;
11864
12055
  }, "strip", z.ZodTypeAny, {
11865
12056
  path: string;
11866
12057
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
11867
12058
  transport: "HTTP";
12059
+ status?: number | undefined;
11868
12060
  }, {
11869
12061
  path: string;
11870
12062
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
11871
12063
  transport: "HTTP";
12064
+ status?: number | undefined;
11872
12065
  }>, z.ZodObject<{
11873
12066
  transport: z.ZodLiteral<"gRPC">;
11874
12067
  service: z.ZodString;
@@ -11900,15 +12093,15 @@ declare const EndpointSchema: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<
11900
12093
  queue: z.ZodOptional<z.ZodString>;
11901
12094
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
11902
12095
  }, "strip", z.ZodTypeAny, {
12096
+ transport: "MessageBus";
11903
12097
  topic: string;
11904
12098
  event: string;
11905
- transport: "MessageBus";
11906
12099
  direction: "subscribe" | "publish";
11907
12100
  queue?: string | undefined;
11908
12101
  }, {
12102
+ transport: "MessageBus";
11909
12103
  topic: string;
11910
12104
  event: string;
11911
- transport: "MessageBus";
11912
12105
  queue?: string | undefined;
11913
12106
  direction?: "subscribe" | "publish" | undefined;
11914
12107
  }>, z.ZodObject<{
@@ -12105,14 +12298,17 @@ declare const MethodSignatureSchema: z.ZodObject<{
12105
12298
  transport: z.ZodLiteral<"HTTP">;
12106
12299
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
12107
12300
  path: z.ZodString;
12301
+ status: z.ZodOptional<z.ZodNumber>;
12108
12302
  }, "strip", z.ZodTypeAny, {
12109
12303
  path: string;
12110
12304
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12111
12305
  transport: "HTTP";
12306
+ status?: number | undefined;
12112
12307
  }, {
12113
12308
  path: string;
12114
12309
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12115
12310
  transport: "HTTP";
12311
+ status?: number | undefined;
12116
12312
  }>, z.ZodObject<{
12117
12313
  transport: z.ZodLiteral<"gRPC">;
12118
12314
  service: z.ZodString;
@@ -12144,15 +12340,15 @@ declare const MethodSignatureSchema: z.ZodObject<{
12144
12340
  queue: z.ZodOptional<z.ZodString>;
12145
12341
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
12146
12342
  }, "strip", z.ZodTypeAny, {
12343
+ transport: "MessageBus";
12147
12344
  topic: string;
12148
12345
  event: string;
12149
- transport: "MessageBus";
12150
12346
  direction: "subscribe" | "publish";
12151
12347
  queue?: string | undefined;
12152
12348
  }, {
12349
+ transport: "MessageBus";
12153
12350
  topic: string;
12154
12351
  event: string;
12155
- transport: "MessageBus";
12156
12352
  queue?: string | undefined;
12157
12353
  direction?: "subscribe" | "publish" | undefined;
12158
12354
  }>, z.ZodObject<{
@@ -12294,20 +12490,15 @@ declare const MethodSignatureSchema: z.ZodObject<{
12294
12490
  severity: "error" | "warning" | "notice";
12295
12491
  summary: string;
12296
12492
  }[] | undefined;
12297
- ext?: Record<string, unknown> | undefined;
12298
- invokedBy?: {
12299
- kind: "entry" | "runtime";
12300
- caller?: string | undefined;
12301
- scope?: "network" | "outside" | undefined;
12302
- } | undefined;
12303
- previousNames?: string[] | undefined;
12304
- signature?: string | undefined;
12305
12493
  returns?: string | undefined;
12494
+ signature?: string | undefined;
12495
+ previousNames?: string[] | undefined;
12306
12496
  signatureFrom?: string | undefined;
12307
12497
  endpoint?: {
12308
12498
  path: string;
12309
12499
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12310
12500
  transport: "HTTP";
12501
+ status?: number | undefined;
12311
12502
  } | {
12312
12503
  method: string;
12313
12504
  transport: "gRPC";
@@ -12317,9 +12508,9 @@ declare const MethodSignatureSchema: z.ZodObject<{
12317
12508
  transport: "GraphQL";
12318
12509
  operation: "query" | "mutation" | "subscription";
12319
12510
  } | {
12511
+ transport: "MessageBus";
12320
12512
  topic: string;
12321
12513
  event: string;
12322
- transport: "MessageBus";
12323
12514
  direction: "subscribe" | "publish";
12324
12515
  queue?: string | undefined;
12325
12516
  } | {
@@ -12339,7 +12530,13 @@ declare const MethodSignatureSchema: z.ZodObject<{
12339
12530
  address: string;
12340
12531
  } | undefined;
12341
12532
  guarantees?: string[] | undefined;
12342
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
12533
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
12534
+ invokedBy?: {
12535
+ kind: "entry" | "runtime";
12536
+ caller?: string | undefined;
12537
+ scope?: "network" | "outside" | undefined;
12538
+ } | undefined;
12539
+ ext?: Record<string, unknown> | undefined;
12343
12540
  }, {
12344
12541
  name: string;
12345
12542
  description: string;
@@ -12355,20 +12552,15 @@ declare const MethodSignatureSchema: z.ZodObject<{
12355
12552
  severity: "error" | "warning" | "notice";
12356
12553
  summary: string;
12357
12554
  }[] | undefined;
12358
- ext?: Record<string, unknown> | undefined;
12359
- invokedBy?: {
12360
- kind: "entry" | "runtime";
12361
- caller?: string | undefined;
12362
- scope?: "network" | "outside" | undefined;
12363
- } | undefined;
12364
- previousNames?: string[] | undefined;
12365
- signature?: string | undefined;
12366
12555
  returns?: string | undefined;
12556
+ signature?: string | undefined;
12557
+ previousNames?: string[] | undefined;
12367
12558
  signatureFrom?: string | undefined;
12368
12559
  endpoint?: {
12369
12560
  path: string;
12370
12561
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12371
12562
  transport: "HTTP";
12563
+ status?: number | undefined;
12372
12564
  } | {
12373
12565
  method: string;
12374
12566
  transport: "gRPC";
@@ -12378,9 +12570,9 @@ declare const MethodSignatureSchema: z.ZodObject<{
12378
12570
  transport: "GraphQL";
12379
12571
  operation: "query" | "mutation" | "subscription";
12380
12572
  } | {
12573
+ transport: "MessageBus";
12381
12574
  topic: string;
12382
12575
  event: string;
12383
- transport: "MessageBus";
12384
12576
  queue?: string | undefined;
12385
12577
  direction?: "subscribe" | "publish" | undefined;
12386
12578
  } | {
@@ -12400,7 +12592,13 @@ declare const MethodSignatureSchema: z.ZodObject<{
12400
12592
  address: string;
12401
12593
  } | undefined;
12402
12594
  guarantees?: string[] | undefined;
12403
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
12595
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
12596
+ invokedBy?: {
12597
+ kind: "entry" | "runtime";
12598
+ caller?: string | undefined;
12599
+ scope?: "network" | "outside" | undefined;
12600
+ } | undefined;
12601
+ ext?: Record<string, unknown> | undefined;
12404
12602
  }>;
12405
12603
  /** A method as a spec file holds it: what the writer writes and the loader parses. */
12406
12604
  type StoredMethodSignature = z.infer<typeof MethodSignatureSchema>;
@@ -12453,14 +12651,17 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12453
12651
  transport: z.ZodLiteral<"HTTP">;
12454
12652
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
12455
12653
  path: z.ZodString;
12654
+ status: z.ZodOptional<z.ZodNumber>;
12456
12655
  }, "strip", z.ZodTypeAny, {
12457
12656
  path: string;
12458
12657
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12459
12658
  transport: "HTTP";
12659
+ status?: number | undefined;
12460
12660
  }, {
12461
12661
  path: string;
12462
12662
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12463
12663
  transport: "HTTP";
12664
+ status?: number | undefined;
12464
12665
  }>, z.ZodObject<{
12465
12666
  transport: z.ZodLiteral<"gRPC">;
12466
12667
  service: z.ZodString;
@@ -12492,15 +12693,15 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12492
12693
  queue: z.ZodOptional<z.ZodString>;
12493
12694
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
12494
12695
  }, "strip", z.ZodTypeAny, {
12696
+ transport: "MessageBus";
12495
12697
  topic: string;
12496
12698
  event: string;
12497
- transport: "MessageBus";
12498
12699
  direction: "subscribe" | "publish";
12499
12700
  queue?: string | undefined;
12500
12701
  }, {
12702
+ transport: "MessageBus";
12501
12703
  topic: string;
12502
12704
  event: string;
12503
- transport: "MessageBus";
12504
12705
  queue?: string | undefined;
12505
12706
  direction?: "subscribe" | "publish" | undefined;
12506
12707
  }>, z.ZodObject<{
@@ -12642,20 +12843,15 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12642
12843
  severity: "error" | "warning" | "notice";
12643
12844
  summary: string;
12644
12845
  }[] | undefined;
12645
- ext?: Record<string, unknown> | undefined;
12646
- invokedBy?: {
12647
- kind: "entry" | "runtime";
12648
- caller?: string | undefined;
12649
- scope?: "network" | "outside" | undefined;
12650
- } | undefined;
12651
- previousNames?: string[] | undefined;
12652
- signature?: string | undefined;
12653
12846
  returns?: string | undefined;
12847
+ signature?: string | undefined;
12848
+ previousNames?: string[] | undefined;
12654
12849
  signatureFrom?: string | undefined;
12655
12850
  endpoint?: {
12656
12851
  path: string;
12657
12852
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12658
12853
  transport: "HTTP";
12854
+ status?: number | undefined;
12659
12855
  } | {
12660
12856
  method: string;
12661
12857
  transport: "gRPC";
@@ -12665,9 +12861,9 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12665
12861
  transport: "GraphQL";
12666
12862
  operation: "query" | "mutation" | "subscription";
12667
12863
  } | {
12864
+ transport: "MessageBus";
12668
12865
  topic: string;
12669
12866
  event: string;
12670
- transport: "MessageBus";
12671
12867
  direction: "subscribe" | "publish";
12672
12868
  queue?: string | undefined;
12673
12869
  } | {
@@ -12687,7 +12883,13 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12687
12883
  address: string;
12688
12884
  } | undefined;
12689
12885
  guarantees?: string[] | undefined;
12690
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
12886
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
12887
+ invokedBy?: {
12888
+ kind: "entry" | "runtime";
12889
+ caller?: string | undefined;
12890
+ scope?: "network" | "outside" | undefined;
12891
+ } | undefined;
12892
+ ext?: Record<string, unknown> | undefined;
12691
12893
  }, {
12692
12894
  name: string;
12693
12895
  description: string;
@@ -12703,20 +12905,15 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12703
12905
  severity: "error" | "warning" | "notice";
12704
12906
  summary: string;
12705
12907
  }[] | undefined;
12706
- ext?: Record<string, unknown> | undefined;
12707
- invokedBy?: {
12708
- kind: "entry" | "runtime";
12709
- caller?: string | undefined;
12710
- scope?: "network" | "outside" | undefined;
12711
- } | undefined;
12712
- previousNames?: string[] | undefined;
12713
- signature?: string | undefined;
12714
12908
  returns?: string | undefined;
12909
+ signature?: string | undefined;
12910
+ previousNames?: string[] | undefined;
12715
12911
  signatureFrom?: string | undefined;
12716
12912
  endpoint?: {
12717
12913
  path: string;
12718
12914
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12719
12915
  transport: "HTTP";
12916
+ status?: number | undefined;
12720
12917
  } | {
12721
12918
  method: string;
12722
12919
  transport: "gRPC";
@@ -12726,9 +12923,9 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12726
12923
  transport: "GraphQL";
12727
12924
  operation: "query" | "mutation" | "subscription";
12728
12925
  } | {
12926
+ transport: "MessageBus";
12729
12927
  topic: string;
12730
12928
  event: string;
12731
- transport: "MessageBus";
12732
12929
  queue?: string | undefined;
12733
12930
  direction?: "subscribe" | "publish" | undefined;
12734
12931
  } | {
@@ -12748,7 +12945,13 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12748
12945
  address: string;
12749
12946
  } | undefined;
12750
12947
  guarantees?: string[] | undefined;
12751
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
12948
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
12949
+ invokedBy?: {
12950
+ kind: "entry" | "runtime";
12951
+ caller?: string | undefined;
12952
+ scope?: "network" | "outside" | undefined;
12953
+ } | undefined;
12954
+ ext?: Record<string, unknown> | undefined;
12752
12955
  }>, {
12753
12956
  name: string;
12754
12957
  description: string;
@@ -12764,20 +12967,15 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12764
12967
  severity: "error" | "warning" | "notice";
12765
12968
  summary: string;
12766
12969
  }[] | undefined;
12767
- ext?: Record<string, unknown> | undefined;
12768
- invokedBy?: {
12769
- kind: "entry" | "runtime";
12770
- caller?: string | undefined;
12771
- scope?: "network" | "outside" | undefined;
12772
- } | undefined;
12773
- previousNames?: string[] | undefined;
12774
- signature?: string | undefined;
12775
12970
  returns?: string | undefined;
12971
+ signature?: string | undefined;
12972
+ previousNames?: string[] | undefined;
12776
12973
  signatureFrom?: string | undefined;
12777
12974
  endpoint?: {
12778
12975
  path: string;
12779
12976
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12780
12977
  transport: "HTTP";
12978
+ status?: number | undefined;
12781
12979
  } | {
12782
12980
  method: string;
12783
12981
  transport: "gRPC";
@@ -12787,9 +12985,9 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12787
12985
  transport: "GraphQL";
12788
12986
  operation: "query" | "mutation" | "subscription";
12789
12987
  } | {
12988
+ transport: "MessageBus";
12790
12989
  topic: string;
12791
12990
  event: string;
12792
- transport: "MessageBus";
12793
12991
  direction: "subscribe" | "publish";
12794
12992
  queue?: string | undefined;
12795
12993
  } | {
@@ -12809,7 +13007,13 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12809
13007
  address: string;
12810
13008
  } | undefined;
12811
13009
  guarantees?: string[] | undefined;
12812
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13010
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13011
+ invokedBy?: {
13012
+ kind: "entry" | "runtime";
13013
+ caller?: string | undefined;
13014
+ scope?: "network" | "outside" | undefined;
13015
+ } | undefined;
13016
+ ext?: Record<string, unknown> | undefined;
12813
13017
  }, {
12814
13018
  name: string;
12815
13019
  description: string;
@@ -12825,20 +13029,15 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12825
13029
  severity: "error" | "warning" | "notice";
12826
13030
  summary: string;
12827
13031
  }[] | undefined;
12828
- ext?: Record<string, unknown> | undefined;
12829
- invokedBy?: {
12830
- kind: "entry" | "runtime";
12831
- caller?: string | undefined;
12832
- scope?: "network" | "outside" | undefined;
12833
- } | undefined;
12834
- previousNames?: string[] | undefined;
12835
- signature?: string | undefined;
12836
13032
  returns?: string | undefined;
13033
+ signature?: string | undefined;
13034
+ previousNames?: string[] | undefined;
12837
13035
  signatureFrom?: string | undefined;
12838
13036
  endpoint?: {
12839
13037
  path: string;
12840
13038
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12841
13039
  transport: "HTTP";
13040
+ status?: number | undefined;
12842
13041
  } | {
12843
13042
  method: string;
12844
13043
  transport: "gRPC";
@@ -12848,9 +13047,9 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12848
13047
  transport: "GraphQL";
12849
13048
  operation: "query" | "mutation" | "subscription";
12850
13049
  } | {
13050
+ transport: "MessageBus";
12851
13051
  topic: string;
12852
13052
  event: string;
12853
- transport: "MessageBus";
12854
13053
  queue?: string | undefined;
12855
13054
  direction?: "subscribe" | "publish" | undefined;
12856
13055
  } | {
@@ -12870,7 +13069,13 @@ declare const StoredMethodSignatureSchema: z.ZodEffects<z.ZodObject<{
12870
13069
  address: string;
12871
13070
  } | undefined;
12872
13071
  guarantees?: string[] | undefined;
12873
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13072
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13073
+ invokedBy?: {
13074
+ kind: "entry" | "runtime";
13075
+ caller?: string | undefined;
13076
+ scope?: "network" | "outside" | undefined;
13077
+ } | undefined;
13078
+ ext?: Record<string, unknown> | undefined;
12874
13079
  }>;
12875
13080
  /**
12876
13081
  * The RESOLVED method every consumer reads: the loader always fills the
@@ -12914,14 +13119,17 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
12914
13119
  transport: z.ZodLiteral<"HTTP">;
12915
13120
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
12916
13121
  path: z.ZodString;
13122
+ status: z.ZodOptional<z.ZodNumber>;
12917
13123
  }, "strip", z.ZodTypeAny, {
12918
13124
  path: string;
12919
13125
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12920
13126
  transport: "HTTP";
13127
+ status?: number | undefined;
12921
13128
  }, {
12922
13129
  path: string;
12923
13130
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
12924
13131
  transport: "HTTP";
13132
+ status?: number | undefined;
12925
13133
  }>, z.ZodObject<{
12926
13134
  transport: z.ZodLiteral<"gRPC">;
12927
13135
  service: z.ZodString;
@@ -12953,15 +13161,15 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
12953
13161
  queue: z.ZodOptional<z.ZodString>;
12954
13162
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
12955
13163
  }, "strip", z.ZodTypeAny, {
13164
+ transport: "MessageBus";
12956
13165
  topic: string;
12957
13166
  event: string;
12958
- transport: "MessageBus";
12959
13167
  direction: "subscribe" | "publish";
12960
13168
  queue?: string | undefined;
12961
13169
  }, {
13170
+ transport: "MessageBus";
12962
13171
  topic: string;
12963
13172
  event: string;
12964
- transport: "MessageBus";
12965
13173
  queue?: string | undefined;
12966
13174
  direction?: "subscribe" | "publish" | undefined;
12967
13175
  }>, z.ZodObject<{
@@ -13058,8 +13266,8 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
13058
13266
  }, "strip", z.ZodTypeAny, {
13059
13267
  name: string;
13060
13268
  description: string;
13061
- signature: string;
13062
13269
  returns: string;
13270
+ signature: string;
13063
13271
  params?: {
13064
13272
  type: string;
13065
13273
  name: string;
@@ -13072,18 +13280,13 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
13072
13280
  severity: "error" | "warning" | "notice";
13073
13281
  summary: string;
13074
13282
  }[] | undefined;
13075
- ext?: Record<string, unknown> | undefined;
13076
- invokedBy?: {
13077
- kind: "entry" | "runtime";
13078
- caller?: string | undefined;
13079
- scope?: "network" | "outside" | undefined;
13080
- } | undefined;
13081
13283
  previousNames?: string[] | undefined;
13082
13284
  signatureFrom?: string | undefined;
13083
13285
  endpoint?: {
13084
13286
  path: string;
13085
13287
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13086
13288
  transport: "HTTP";
13289
+ status?: number | undefined;
13087
13290
  } | {
13088
13291
  method: string;
13089
13292
  transport: "gRPC";
@@ -13093,9 +13296,9 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
13093
13296
  transport: "GraphQL";
13094
13297
  operation: "query" | "mutation" | "subscription";
13095
13298
  } | {
13299
+ transport: "MessageBus";
13096
13300
  topic: string;
13097
13301
  event: string;
13098
- transport: "MessageBus";
13099
13302
  direction: "subscribe" | "publish";
13100
13303
  queue?: string | undefined;
13101
13304
  } | {
@@ -13115,12 +13318,18 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
13115
13318
  address: string;
13116
13319
  } | undefined;
13117
13320
  guarantees?: string[] | undefined;
13118
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13321
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13322
+ invokedBy?: {
13323
+ kind: "entry" | "runtime";
13324
+ caller?: string | undefined;
13325
+ scope?: "network" | "outside" | undefined;
13326
+ } | undefined;
13327
+ ext?: Record<string, unknown> | undefined;
13119
13328
  }, {
13120
13329
  name: string;
13121
13330
  description: string;
13122
- signature: string;
13123
13331
  returns: string;
13332
+ signature: string;
13124
13333
  params?: {
13125
13334
  type: string;
13126
13335
  name: string;
@@ -13133,18 +13342,13 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
13133
13342
  severity: "error" | "warning" | "notice";
13134
13343
  summary: string;
13135
13344
  }[] | undefined;
13136
- ext?: Record<string, unknown> | undefined;
13137
- invokedBy?: {
13138
- kind: "entry" | "runtime";
13139
- caller?: string | undefined;
13140
- scope?: "network" | "outside" | undefined;
13141
- } | undefined;
13142
13345
  previousNames?: string[] | undefined;
13143
13346
  signatureFrom?: string | undefined;
13144
13347
  endpoint?: {
13145
13348
  path: string;
13146
13349
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13147
13350
  transport: "HTTP";
13351
+ status?: number | undefined;
13148
13352
  } | {
13149
13353
  method: string;
13150
13354
  transport: "gRPC";
@@ -13154,9 +13358,9 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
13154
13358
  transport: "GraphQL";
13155
13359
  operation: "query" | "mutation" | "subscription";
13156
13360
  } | {
13361
+ transport: "MessageBus";
13157
13362
  topic: string;
13158
13363
  event: string;
13159
- transport: "MessageBus";
13160
13364
  queue?: string | undefined;
13161
13365
  direction?: "subscribe" | "publish" | undefined;
13162
13366
  } | {
@@ -13176,7 +13380,13 @@ declare const ResolvedMethodSignatureSchema: z.ZodObject<{
13176
13380
  address: string;
13177
13381
  } | undefined;
13178
13382
  guarantees?: string[] | undefined;
13179
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13383
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13384
+ invokedBy?: {
13385
+ kind: "entry" | "runtime";
13386
+ caller?: string | undefined;
13387
+ scope?: "network" | "outside" | undefined;
13388
+ } | undefined;
13389
+ ext?: Record<string, unknown> | undefined;
13180
13390
  }>;
13181
13391
  type MethodSignature = z.infer<typeof ResolvedMethodSignatureSchema>;
13182
13392
  /**
@@ -13261,14 +13471,17 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13261
13471
  transport: z.ZodLiteral<"HTTP">;
13262
13472
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
13263
13473
  path: z.ZodString;
13474
+ status: z.ZodOptional<z.ZodNumber>;
13264
13475
  }, "strip", z.ZodTypeAny, {
13265
13476
  path: string;
13266
13477
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13267
13478
  transport: "HTTP";
13479
+ status?: number | undefined;
13268
13480
  }, {
13269
13481
  path: string;
13270
13482
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13271
13483
  transport: "HTTP";
13484
+ status?: number | undefined;
13272
13485
  }>, z.ZodObject<{
13273
13486
  transport: z.ZodLiteral<"gRPC">;
13274
13487
  service: z.ZodString;
@@ -13300,15 +13513,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13300
13513
  queue: z.ZodOptional<z.ZodString>;
13301
13514
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
13302
13515
  }, "strip", z.ZodTypeAny, {
13516
+ transport: "MessageBus";
13303
13517
  topic: string;
13304
13518
  event: string;
13305
- transport: "MessageBus";
13306
13519
  direction: "subscribe" | "publish";
13307
13520
  queue?: string | undefined;
13308
13521
  }, {
13522
+ transport: "MessageBus";
13309
13523
  topic: string;
13310
13524
  event: string;
13311
- transport: "MessageBus";
13312
13525
  queue?: string | undefined;
13313
13526
  direction?: "subscribe" | "publish" | undefined;
13314
13527
  }>, z.ZodObject<{
@@ -13450,20 +13663,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13450
13663
  severity: "error" | "warning" | "notice";
13451
13664
  summary: string;
13452
13665
  }[] | undefined;
13453
- ext?: Record<string, unknown> | undefined;
13454
- invokedBy?: {
13455
- kind: "entry" | "runtime";
13456
- caller?: string | undefined;
13457
- scope?: "network" | "outside" | undefined;
13458
- } | undefined;
13459
- previousNames?: string[] | undefined;
13460
- signature?: string | undefined;
13461
13666
  returns?: string | undefined;
13667
+ signature?: string | undefined;
13668
+ previousNames?: string[] | undefined;
13462
13669
  signatureFrom?: string | undefined;
13463
13670
  endpoint?: {
13464
13671
  path: string;
13465
13672
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13466
13673
  transport: "HTTP";
13674
+ status?: number | undefined;
13467
13675
  } | {
13468
13676
  method: string;
13469
13677
  transport: "gRPC";
@@ -13473,9 +13681,9 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13473
13681
  transport: "GraphQL";
13474
13682
  operation: "query" | "mutation" | "subscription";
13475
13683
  } | {
13684
+ transport: "MessageBus";
13476
13685
  topic: string;
13477
13686
  event: string;
13478
- transport: "MessageBus";
13479
13687
  direction: "subscribe" | "publish";
13480
13688
  queue?: string | undefined;
13481
13689
  } | {
@@ -13495,7 +13703,13 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13495
13703
  address: string;
13496
13704
  } | undefined;
13497
13705
  guarantees?: string[] | undefined;
13498
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13706
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13707
+ invokedBy?: {
13708
+ kind: "entry" | "runtime";
13709
+ caller?: string | undefined;
13710
+ scope?: "network" | "outside" | undefined;
13711
+ } | undefined;
13712
+ ext?: Record<string, unknown> | undefined;
13499
13713
  }, {
13500
13714
  name: string;
13501
13715
  description: string;
@@ -13511,20 +13725,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13511
13725
  severity: "error" | "warning" | "notice";
13512
13726
  summary: string;
13513
13727
  }[] | undefined;
13514
- ext?: Record<string, unknown> | undefined;
13515
- invokedBy?: {
13516
- kind: "entry" | "runtime";
13517
- caller?: string | undefined;
13518
- scope?: "network" | "outside" | undefined;
13519
- } | undefined;
13520
- previousNames?: string[] | undefined;
13521
- signature?: string | undefined;
13522
13728
  returns?: string | undefined;
13729
+ signature?: string | undefined;
13730
+ previousNames?: string[] | undefined;
13523
13731
  signatureFrom?: string | undefined;
13524
13732
  endpoint?: {
13525
13733
  path: string;
13526
13734
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13527
13735
  transport: "HTTP";
13736
+ status?: number | undefined;
13528
13737
  } | {
13529
13738
  method: string;
13530
13739
  transport: "gRPC";
@@ -13534,9 +13743,9 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13534
13743
  transport: "GraphQL";
13535
13744
  operation: "query" | "mutation" | "subscription";
13536
13745
  } | {
13746
+ transport: "MessageBus";
13537
13747
  topic: string;
13538
13748
  event: string;
13539
- transport: "MessageBus";
13540
13749
  queue?: string | undefined;
13541
13750
  direction?: "subscribe" | "publish" | undefined;
13542
13751
  } | {
@@ -13556,7 +13765,13 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13556
13765
  address: string;
13557
13766
  } | undefined;
13558
13767
  guarantees?: string[] | undefined;
13559
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13768
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13769
+ invokedBy?: {
13770
+ kind: "entry" | "runtime";
13771
+ caller?: string | undefined;
13772
+ scope?: "network" | "outside" | undefined;
13773
+ } | undefined;
13774
+ ext?: Record<string, unknown> | undefined;
13560
13775
  }>, {
13561
13776
  name: string;
13562
13777
  description: string;
@@ -13572,20 +13787,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13572
13787
  severity: "error" | "warning" | "notice";
13573
13788
  summary: string;
13574
13789
  }[] | undefined;
13575
- ext?: Record<string, unknown> | undefined;
13576
- invokedBy?: {
13577
- kind: "entry" | "runtime";
13578
- caller?: string | undefined;
13579
- scope?: "network" | "outside" | undefined;
13580
- } | undefined;
13581
- previousNames?: string[] | undefined;
13582
- signature?: string | undefined;
13583
13790
  returns?: string | undefined;
13791
+ signature?: string | undefined;
13792
+ previousNames?: string[] | undefined;
13584
13793
  signatureFrom?: string | undefined;
13585
13794
  endpoint?: {
13586
13795
  path: string;
13587
13796
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13588
13797
  transport: "HTTP";
13798
+ status?: number | undefined;
13589
13799
  } | {
13590
13800
  method: string;
13591
13801
  transport: "gRPC";
@@ -13595,9 +13805,9 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13595
13805
  transport: "GraphQL";
13596
13806
  operation: "query" | "mutation" | "subscription";
13597
13807
  } | {
13808
+ transport: "MessageBus";
13598
13809
  topic: string;
13599
13810
  event: string;
13600
- transport: "MessageBus";
13601
13811
  direction: "subscribe" | "publish";
13602
13812
  queue?: string | undefined;
13603
13813
  } | {
@@ -13617,7 +13827,13 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13617
13827
  address: string;
13618
13828
  } | undefined;
13619
13829
  guarantees?: string[] | undefined;
13620
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13830
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13831
+ invokedBy?: {
13832
+ kind: "entry" | "runtime";
13833
+ caller?: string | undefined;
13834
+ scope?: "network" | "outside" | undefined;
13835
+ } | undefined;
13836
+ ext?: Record<string, unknown> | undefined;
13621
13837
  }, {
13622
13838
  name: string;
13623
13839
  description: string;
@@ -13633,20 +13849,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13633
13849
  severity: "error" | "warning" | "notice";
13634
13850
  summary: string;
13635
13851
  }[] | undefined;
13636
- ext?: Record<string, unknown> | undefined;
13637
- invokedBy?: {
13638
- kind: "entry" | "runtime";
13639
- caller?: string | undefined;
13640
- scope?: "network" | "outside" | undefined;
13641
- } | undefined;
13642
- previousNames?: string[] | undefined;
13643
- signature?: string | undefined;
13644
13852
  returns?: string | undefined;
13853
+ signature?: string | undefined;
13854
+ previousNames?: string[] | undefined;
13645
13855
  signatureFrom?: string | undefined;
13646
13856
  endpoint?: {
13647
13857
  path: string;
13648
13858
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13649
13859
  transport: "HTTP";
13860
+ status?: number | undefined;
13650
13861
  } | {
13651
13862
  method: string;
13652
13863
  transport: "gRPC";
@@ -13656,9 +13867,9 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13656
13867
  transport: "GraphQL";
13657
13868
  operation: "query" | "mutation" | "subscription";
13658
13869
  } | {
13870
+ transport: "MessageBus";
13659
13871
  topic: string;
13660
13872
  event: string;
13661
- transport: "MessageBus";
13662
13873
  queue?: string | undefined;
13663
13874
  direction?: "subscribe" | "publish" | undefined;
13664
13875
  } | {
@@ -13678,7 +13889,13 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13678
13889
  address: string;
13679
13890
  } | undefined;
13680
13891
  guarantees?: string[] | undefined;
13681
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
13892
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
13893
+ invokedBy?: {
13894
+ kind: "entry" | "runtime";
13895
+ caller?: string | undefined;
13896
+ scope?: "network" | "outside" | undefined;
13897
+ } | undefined;
13898
+ ext?: Record<string, unknown> | undefined;
13682
13899
  }>, "many">>;
13683
13900
  /** The rename trace (see PreviousIdsSchema). */
13684
13901
  previousIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -13775,20 +13992,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13775
13992
  severity: "error" | "warning" | "notice";
13776
13993
  summary: string;
13777
13994
  }[] | undefined;
13778
- ext?: Record<string, unknown> | undefined;
13779
- invokedBy?: {
13780
- kind: "entry" | "runtime";
13781
- caller?: string | undefined;
13782
- scope?: "network" | "outside" | undefined;
13783
- } | undefined;
13784
- previousNames?: string[] | undefined;
13785
- signature?: string | undefined;
13786
13995
  returns?: string | undefined;
13996
+ signature?: string | undefined;
13997
+ previousNames?: string[] | undefined;
13787
13998
  signatureFrom?: string | undefined;
13788
13999
  endpoint?: {
13789
14000
  path: string;
13790
14001
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13791
14002
  transport: "HTTP";
14003
+ status?: number | undefined;
13792
14004
  } | {
13793
14005
  method: string;
13794
14006
  transport: "gRPC";
@@ -13798,9 +14010,9 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13798
14010
  transport: "GraphQL";
13799
14011
  operation: "query" | "mutation" | "subscription";
13800
14012
  } | {
14013
+ transport: "MessageBus";
13801
14014
  topic: string;
13802
14015
  event: string;
13803
- transport: "MessageBus";
13804
14016
  direction: "subscribe" | "publish";
13805
14017
  queue?: string | undefined;
13806
14018
  } | {
@@ -13820,12 +14032,19 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13820
14032
  address: string;
13821
14033
  } | undefined;
13822
14034
  guarantees?: string[] | undefined;
13823
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
14035
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
14036
+ invokedBy?: {
14037
+ kind: "entry" | "runtime";
14038
+ caller?: string | undefined;
14039
+ scope?: "network" | "outside" | undefined;
14040
+ } | undefined;
14041
+ ext?: Record<string, unknown> | undefined;
13824
14042
  }[];
13825
14043
  createdAt: string;
13826
14044
  updatedAt: string;
13827
14045
  component: string;
13828
14046
  previousIds?: string[] | undefined;
14047
+ ext?: Record<string, unknown> | undefined;
13829
14048
  lint?: {
13830
14049
  allow: {
13831
14050
  code: string;
@@ -13834,7 +14053,6 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13834
14053
  covers?: string[] | undefined;
13835
14054
  }[];
13836
14055
  } | undefined;
13837
- ext?: Record<string, unknown> | undefined;
13838
14056
  implements?: string | undefined;
13839
14057
  }, {
13840
14058
  id: string;
@@ -13860,20 +14078,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13860
14078
  severity: "error" | "warning" | "notice";
13861
14079
  summary: string;
13862
14080
  }[] | undefined;
13863
- ext?: Record<string, unknown> | undefined;
13864
- invokedBy?: {
13865
- kind: "entry" | "runtime";
13866
- caller?: string | undefined;
13867
- scope?: "network" | "outside" | undefined;
13868
- } | undefined;
13869
- previousNames?: string[] | undefined;
13870
- signature?: string | undefined;
13871
14081
  returns?: string | undefined;
14082
+ signature?: string | undefined;
14083
+ previousNames?: string[] | undefined;
13872
14084
  signatureFrom?: string | undefined;
13873
14085
  endpoint?: {
13874
14086
  path: string;
13875
14087
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
13876
14088
  transport: "HTTP";
14089
+ status?: number | undefined;
13877
14090
  } | {
13878
14091
  method: string;
13879
14092
  transport: "gRPC";
@@ -13883,9 +14096,9 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13883
14096
  transport: "GraphQL";
13884
14097
  operation: "query" | "mutation" | "subscription";
13885
14098
  } | {
14099
+ transport: "MessageBus";
13886
14100
  topic: string;
13887
14101
  event: string;
13888
- transport: "MessageBus";
13889
14102
  queue?: string | undefined;
13890
14103
  direction?: "subscribe" | "publish" | undefined;
13891
14104
  } | {
@@ -13905,8 +14118,15 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13905
14118
  address: string;
13906
14119
  } | undefined;
13907
14120
  guarantees?: string[] | undefined;
13908
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
14121
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
14122
+ invokedBy?: {
14123
+ kind: "entry" | "runtime";
14124
+ caller?: string | undefined;
14125
+ scope?: "network" | "outside" | undefined;
14126
+ } | undefined;
14127
+ ext?: Record<string, unknown> | undefined;
13909
14128
  }[] | undefined;
14129
+ ext?: Record<string, unknown> | undefined;
13910
14130
  lint?: {
13911
14131
  allow?: {
13912
14132
  code: string;
@@ -13915,7 +14135,6 @@ declare const InterfaceSpecSchema: z.ZodObject<{
13915
14135
  covers?: string[] | undefined;
13916
14136
  }[] | undefined;
13917
14137
  } | undefined;
13918
- ext?: Record<string, unknown> | undefined;
13919
14138
  implements?: string | undefined;
13920
14139
  }>;
13921
14140
  /** An interface as a spec file holds it: each method in its stored form. */
@@ -14033,14 +14252,17 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14033
14252
  transport: z.ZodLiteral<"HTTP">;
14034
14253
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
14035
14254
  path: z.ZodString;
14255
+ status: z.ZodOptional<z.ZodNumber>;
14036
14256
  }, "strip", z.ZodTypeAny, {
14037
14257
  path: string;
14038
14258
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
14039
14259
  transport: "HTTP";
14260
+ status?: number | undefined;
14040
14261
  }, {
14041
14262
  path: string;
14042
14263
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
14043
14264
  transport: "HTTP";
14265
+ status?: number | undefined;
14044
14266
  }>, z.ZodObject<{
14045
14267
  transport: z.ZodLiteral<"gRPC">;
14046
14268
  service: z.ZodString;
@@ -14072,15 +14294,15 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14072
14294
  queue: z.ZodOptional<z.ZodString>;
14073
14295
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
14074
14296
  }, "strip", z.ZodTypeAny, {
14297
+ transport: "MessageBus";
14075
14298
  topic: string;
14076
14299
  event: string;
14077
- transport: "MessageBus";
14078
14300
  direction: "subscribe" | "publish";
14079
14301
  queue?: string | undefined;
14080
14302
  }, {
14303
+ transport: "MessageBus";
14081
14304
  topic: string;
14082
14305
  event: string;
14083
- transport: "MessageBus";
14084
14306
  queue?: string | undefined;
14085
14307
  direction?: "subscribe" | "publish" | undefined;
14086
14308
  }>, z.ZodObject<{
@@ -14177,8 +14399,8 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14177
14399
  }, "strip", z.ZodTypeAny, {
14178
14400
  name: string;
14179
14401
  description: string;
14180
- signature: string;
14181
14402
  returns: string;
14403
+ signature: string;
14182
14404
  params?: {
14183
14405
  type: string;
14184
14406
  name: string;
@@ -14191,18 +14413,13 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14191
14413
  severity: "error" | "warning" | "notice";
14192
14414
  summary: string;
14193
14415
  }[] | undefined;
14194
- ext?: Record<string, unknown> | undefined;
14195
- invokedBy?: {
14196
- kind: "entry" | "runtime";
14197
- caller?: string | undefined;
14198
- scope?: "network" | "outside" | undefined;
14199
- } | undefined;
14200
14416
  previousNames?: string[] | undefined;
14201
14417
  signatureFrom?: string | undefined;
14202
14418
  endpoint?: {
14203
14419
  path: string;
14204
14420
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
14205
14421
  transport: "HTTP";
14422
+ status?: number | undefined;
14206
14423
  } | {
14207
14424
  method: string;
14208
14425
  transport: "gRPC";
@@ -14212,9 +14429,9 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14212
14429
  transport: "GraphQL";
14213
14430
  operation: "query" | "mutation" | "subscription";
14214
14431
  } | {
14432
+ transport: "MessageBus";
14215
14433
  topic: string;
14216
14434
  event: string;
14217
- transport: "MessageBus";
14218
14435
  direction: "subscribe" | "publish";
14219
14436
  queue?: string | undefined;
14220
14437
  } | {
@@ -14234,12 +14451,18 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14234
14451
  address: string;
14235
14452
  } | undefined;
14236
14453
  guarantees?: string[] | undefined;
14237
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
14454
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
14455
+ invokedBy?: {
14456
+ kind: "entry" | "runtime";
14457
+ caller?: string | undefined;
14458
+ scope?: "network" | "outside" | undefined;
14459
+ } | undefined;
14460
+ ext?: Record<string, unknown> | undefined;
14238
14461
  }, {
14239
14462
  name: string;
14240
14463
  description: string;
14241
- signature: string;
14242
14464
  returns: string;
14465
+ signature: string;
14243
14466
  params?: {
14244
14467
  type: string;
14245
14468
  name: string;
@@ -14252,18 +14475,13 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14252
14475
  severity: "error" | "warning" | "notice";
14253
14476
  summary: string;
14254
14477
  }[] | undefined;
14255
- ext?: Record<string, unknown> | undefined;
14256
- invokedBy?: {
14257
- kind: "entry" | "runtime";
14258
- caller?: string | undefined;
14259
- scope?: "network" | "outside" | undefined;
14260
- } | undefined;
14261
14478
  previousNames?: string[] | undefined;
14262
14479
  signatureFrom?: string | undefined;
14263
14480
  endpoint?: {
14264
14481
  path: string;
14265
14482
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
14266
14483
  transport: "HTTP";
14484
+ status?: number | undefined;
14267
14485
  } | {
14268
14486
  method: string;
14269
14487
  transport: "gRPC";
@@ -14273,9 +14491,9 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14273
14491
  transport: "GraphQL";
14274
14492
  operation: "query" | "mutation" | "subscription";
14275
14493
  } | {
14494
+ transport: "MessageBus";
14276
14495
  topic: string;
14277
14496
  event: string;
14278
- transport: "MessageBus";
14279
14497
  queue?: string | undefined;
14280
14498
  direction?: "subscribe" | "publish" | undefined;
14281
14499
  } | {
@@ -14295,7 +14513,13 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14295
14513
  address: string;
14296
14514
  } | undefined;
14297
14515
  guarantees?: string[] | undefined;
14298
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
14516
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
14517
+ invokedBy?: {
14518
+ kind: "entry" | "runtime";
14519
+ caller?: string | undefined;
14520
+ scope?: "network" | "outside" | undefined;
14521
+ } | undefined;
14522
+ ext?: Record<string, unknown> | undefined;
14299
14523
  }>, "many">>;
14300
14524
  }, "strip", z.ZodTypeAny, {
14301
14525
  id: string;
@@ -14305,8 +14529,8 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14305
14529
  methods: {
14306
14530
  name: string;
14307
14531
  description: string;
14308
- signature: string;
14309
14532
  returns: string;
14533
+ signature: string;
14310
14534
  params?: {
14311
14535
  type: string;
14312
14536
  name: string;
@@ -14319,18 +14543,13 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14319
14543
  severity: "error" | "warning" | "notice";
14320
14544
  summary: string;
14321
14545
  }[] | undefined;
14322
- ext?: Record<string, unknown> | undefined;
14323
- invokedBy?: {
14324
- kind: "entry" | "runtime";
14325
- caller?: string | undefined;
14326
- scope?: "network" | "outside" | undefined;
14327
- } | undefined;
14328
14546
  previousNames?: string[] | undefined;
14329
14547
  signatureFrom?: string | undefined;
14330
14548
  endpoint?: {
14331
14549
  path: string;
14332
14550
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
14333
14551
  transport: "HTTP";
14552
+ status?: number | undefined;
14334
14553
  } | {
14335
14554
  method: string;
14336
14555
  transport: "gRPC";
@@ -14340,9 +14559,9 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14340
14559
  transport: "GraphQL";
14341
14560
  operation: "query" | "mutation" | "subscription";
14342
14561
  } | {
14562
+ transport: "MessageBus";
14343
14563
  topic: string;
14344
14564
  event: string;
14345
- transport: "MessageBus";
14346
14565
  direction: "subscribe" | "publish";
14347
14566
  queue?: string | undefined;
14348
14567
  } | {
@@ -14362,12 +14581,19 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14362
14581
  address: string;
14363
14582
  } | undefined;
14364
14583
  guarantees?: string[] | undefined;
14365
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
14584
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
14585
+ invokedBy?: {
14586
+ kind: "entry" | "runtime";
14587
+ caller?: string | undefined;
14588
+ scope?: "network" | "outside" | undefined;
14589
+ } | undefined;
14590
+ ext?: Record<string, unknown> | undefined;
14366
14591
  }[];
14367
14592
  createdAt: string;
14368
14593
  updatedAt: string;
14369
14594
  component: string;
14370
14595
  previousIds?: string[] | undefined;
14596
+ ext?: Record<string, unknown> | undefined;
14371
14597
  lint?: {
14372
14598
  allow: {
14373
14599
  code: string;
@@ -14376,7 +14602,6 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14376
14602
  covers?: string[] | undefined;
14377
14603
  }[];
14378
14604
  } | undefined;
14379
- ext?: Record<string, unknown> | undefined;
14380
14605
  implements?: string | undefined;
14381
14606
  }, {
14382
14607
  id: string;
@@ -14390,8 +14615,8 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14390
14615
  methods?: {
14391
14616
  name: string;
14392
14617
  description: string;
14393
- signature: string;
14394
14618
  returns: string;
14619
+ signature: string;
14395
14620
  params?: {
14396
14621
  type: string;
14397
14622
  name: string;
@@ -14404,18 +14629,13 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14404
14629
  severity: "error" | "warning" | "notice";
14405
14630
  summary: string;
14406
14631
  }[] | undefined;
14407
- ext?: Record<string, unknown> | undefined;
14408
- invokedBy?: {
14409
- kind: "entry" | "runtime";
14410
- caller?: string | undefined;
14411
- scope?: "network" | "outside" | undefined;
14412
- } | undefined;
14413
14632
  previousNames?: string[] | undefined;
14414
14633
  signatureFrom?: string | undefined;
14415
14634
  endpoint?: {
14416
14635
  path: string;
14417
14636
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
14418
14637
  transport: "HTTP";
14638
+ status?: number | undefined;
14419
14639
  } | {
14420
14640
  method: string;
14421
14641
  transport: "gRPC";
@@ -14425,9 +14645,9 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14425
14645
  transport: "GraphQL";
14426
14646
  operation: "query" | "mutation" | "subscription";
14427
14647
  } | {
14648
+ transport: "MessageBus";
14428
14649
  topic: string;
14429
14650
  event: string;
14430
- transport: "MessageBus";
14431
14651
  queue?: string | undefined;
14432
14652
  direction?: "subscribe" | "publish" | undefined;
14433
14653
  } | {
@@ -14447,8 +14667,15 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14447
14667
  address: string;
14448
14668
  } | undefined;
14449
14669
  guarantees?: string[] | undefined;
14450
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
14670
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
14671
+ invokedBy?: {
14672
+ kind: "entry" | "runtime";
14673
+ caller?: string | undefined;
14674
+ scope?: "network" | "outside" | undefined;
14675
+ } | undefined;
14676
+ ext?: Record<string, unknown> | undefined;
14451
14677
  }[] | undefined;
14678
+ ext?: Record<string, unknown> | undefined;
14452
14679
  lint?: {
14453
14680
  allow?: {
14454
14681
  code: string;
@@ -14457,7 +14684,6 @@ declare const ResolvedInterfaceSpecSchema: z.ZodObject<{
14457
14684
  covers?: string[] | undefined;
14458
14685
  }[] | undefined;
14459
14686
  } | undefined;
14460
- ext?: Record<string, unknown> | undefined;
14461
14687
  implements?: string | undefined;
14462
14688
  }>;
14463
14689
  type InterfaceSpec = z.infer<typeof ResolvedInterfaceSpecSchema>;
@@ -14988,8 +15214,8 @@ declare const MethodImplementationSchema: z.ZodObject<{
14988
15214
  conformance?: "off" | "declared" | "anchored" | undefined;
14989
15215
  sourcePath?: string | undefined;
14990
15216
  ext?: Record<string, unknown> | undefined;
14991
- intent?: string | undefined;
14992
15217
  detail?: "full" | "calls-only" | "intent" | undefined;
15218
+ intent?: string | undefined;
14993
15219
  calls?: string[] | undefined;
14994
15220
  exportedVia?: string | undefined;
14995
15221
  }, {
@@ -14998,6 +15224,7 @@ declare const MethodImplementationSchema: z.ZodObject<{
14998
15224
  conformance?: "off" | "declared" | "anchored" | undefined;
14999
15225
  sourcePath?: string | undefined;
15000
15226
  ext?: Record<string, unknown> | undefined;
15227
+ detail?: "full" | "calls-only" | "intent" | undefined;
15001
15228
  intent?: string | undefined;
15002
15229
  narrative?: {
15003
15230
  type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
@@ -15039,7 +15266,6 @@ declare const MethodImplementationSchema: z.ZodObject<{
15039
15266
  detach?: boolean | undefined;
15040
15267
  outcome?: string | undefined;
15041
15268
  }[] | undefined;
15042
- detail?: "full" | "calls-only" | "intent" | undefined;
15043
15269
  calls?: string[] | undefined;
15044
15270
  exportedVia?: string | undefined;
15045
15271
  }>;
@@ -15446,8 +15672,8 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15446
15672
  conformance?: "off" | "declared" | "anchored" | undefined;
15447
15673
  sourcePath?: string | undefined;
15448
15674
  ext?: Record<string, unknown> | undefined;
15449
- intent?: string | undefined;
15450
15675
  detail?: "full" | "calls-only" | "intent" | undefined;
15676
+ intent?: string | undefined;
15451
15677
  calls?: string[] | undefined;
15452
15678
  exportedVia?: string | undefined;
15453
15679
  }, {
@@ -15456,6 +15682,7 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15456
15682
  conformance?: "off" | "declared" | "anchored" | undefined;
15457
15683
  sourcePath?: string | undefined;
15458
15684
  ext?: Record<string, unknown> | undefined;
15685
+ detail?: "full" | "calls-only" | "intent" | undefined;
15459
15686
  intent?: string | undefined;
15460
15687
  narrative?: {
15461
15688
  type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
@@ -15497,7 +15724,6 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15497
15724
  detach?: boolean | undefined;
15498
15725
  outcome?: string | undefined;
15499
15726
  }[] | undefined;
15500
- detail?: "full" | "calls-only" | "intent" | undefined;
15501
15727
  calls?: string[] | undefined;
15502
15728
  exportedVia?: string | undefined;
15503
15729
  }>, "many">>, {
@@ -15546,8 +15772,8 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15546
15772
  conformance?: "off" | "declared" | "anchored" | undefined;
15547
15773
  sourcePath?: string | undefined;
15548
15774
  ext?: Record<string, unknown> | undefined;
15549
- intent?: string | undefined;
15550
15775
  detail?: "full" | "calls-only" | "intent" | undefined;
15776
+ intent?: string | undefined;
15551
15777
  calls?: string[] | undefined;
15552
15778
  exportedVia?: string | undefined;
15553
15779
  }[], {
@@ -15556,6 +15782,7 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15556
15782
  conformance?: "off" | "declared" | "anchored" | undefined;
15557
15783
  sourcePath?: string | undefined;
15558
15784
  ext?: Record<string, unknown> | undefined;
15785
+ detail?: "full" | "calls-only" | "intent" | undefined;
15559
15786
  intent?: string | undefined;
15560
15787
  narrative?: {
15561
15788
  type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
@@ -15597,7 +15824,6 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15597
15824
  detach?: boolean | undefined;
15598
15825
  outcome?: string | undefined;
15599
15826
  }[] | undefined;
15600
- detail?: "full" | "calls-only" | "intent" | undefined;
15601
15827
  calls?: string[] | undefined;
15602
15828
  exportedVia?: string | undefined;
15603
15829
  }[] | undefined>;
@@ -15723,8 +15949,8 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15723
15949
  conformance?: "off" | "declared" | "anchored" | undefined;
15724
15950
  sourcePath?: string | undefined;
15725
15951
  ext?: Record<string, unknown> | undefined;
15726
- intent?: string | undefined;
15727
15952
  detail?: "full" | "calls-only" | "intent" | undefined;
15953
+ intent?: string | undefined;
15728
15954
  calls?: string[] | undefined;
15729
15955
  exportedVia?: string | undefined;
15730
15956
  }[];
@@ -15734,6 +15960,7 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15734
15960
  previousIds?: string[] | undefined;
15735
15961
  conformance?: "off" | "declared" | "anchored" | undefined;
15736
15962
  sourcePath?: string | undefined;
15963
+ ext?: Record<string, unknown> | undefined;
15737
15964
  lint?: {
15738
15965
  allow: {
15739
15966
  code: string;
@@ -15742,7 +15969,6 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15742
15969
  covers?: string[] | undefined;
15743
15970
  }[];
15744
15971
  } | undefined;
15745
- ext?: Record<string, unknown> | undefined;
15746
15972
  detail?: "full" | "calls-only" | "intent" | undefined;
15747
15973
  simPath?: string | undefined;
15748
15974
  bindings?: string[] | undefined;
@@ -15767,6 +15993,7 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15767
15993
  conformance?: "off" | "declared" | "anchored" | undefined;
15768
15994
  sourcePath?: string | undefined;
15769
15995
  ext?: Record<string, unknown> | undefined;
15996
+ detail?: "full" | "calls-only" | "intent" | undefined;
15770
15997
  intent?: string | undefined;
15771
15998
  narrative?: {
15772
15999
  type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
@@ -15808,12 +16035,12 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15808
16035
  detach?: boolean | undefined;
15809
16036
  outcome?: string | undefined;
15810
16037
  }[] | undefined;
15811
- detail?: "full" | "calls-only" | "intent" | undefined;
15812
16038
  calls?: string[] | undefined;
15813
16039
  exportedVia?: string | undefined;
15814
16040
  }[] | undefined;
15815
16041
  conformance?: "off" | "declared" | "anchored" | undefined;
15816
16042
  sourcePath?: string | undefined;
16043
+ ext?: Record<string, unknown> | undefined;
15817
16044
  lint?: {
15818
16045
  allow?: {
15819
16046
  code: string;
@@ -15822,7 +16049,6 @@ declare const ImplementationSpecSchema: z.ZodObject<{
15822
16049
  covers?: string[] | undefined;
15823
16050
  }[] | undefined;
15824
16051
  } | undefined;
15825
- ext?: Record<string, unknown> | undefined;
15826
16052
  detail?: "full" | "calls-only" | "intent" | undefined;
15827
16053
  simPath?: string | undefined;
15828
16054
  bindings?: string[] | undefined;
@@ -16059,8 +16285,8 @@ declare const ResolvedTypeMethodSchema: z.ZodObject<{
16059
16285
  signature: z.ZodString;
16060
16286
  }, "strip", z.ZodTypeAny, {
16061
16287
  name: string;
16062
- signature: string;
16063
16288
  returns: string;
16289
+ signature: string;
16064
16290
  symbol?: string | undefined;
16065
16291
  params?: {
16066
16292
  type: string;
@@ -16073,8 +16299,8 @@ declare const ResolvedTypeMethodSchema: z.ZodObject<{
16073
16299
  sourcePath?: string | undefined;
16074
16300
  }, {
16075
16301
  name: string;
16076
- signature: string;
16077
16302
  returns: string;
16303
+ signature: string;
16078
16304
  symbol?: string | undefined;
16079
16305
  params?: {
16080
16306
  type: string;
@@ -16610,7 +16836,9 @@ declare const TypeSpecSchema: z.ZodObject<{
16610
16836
  previousIds?: string[] | undefined;
16611
16837
  description?: string | undefined;
16612
16838
  sourcePath?: string | undefined;
16613
- subsystem?: string | undefined;
16839
+ returns?: string | undefined;
16840
+ holds?: string | undefined;
16841
+ ext?: Record<string, unknown> | undefined;
16614
16842
  lint?: {
16615
16843
  allow: {
16616
16844
  code: string;
@@ -16619,8 +16847,7 @@ declare const TypeSpecSchema: z.ZodObject<{
16619
16847
  covers?: string[] | undefined;
16620
16848
  }[];
16621
16849
  } | undefined;
16622
- ext?: Record<string, unknown> | undefined;
16623
- returns?: string | undefined;
16850
+ subsystem?: string | undefined;
16624
16851
  group?: string | undefined;
16625
16852
  componentClass?: string | undefined;
16626
16853
  invariants?: {
@@ -16630,7 +16857,6 @@ declare const TypeSpecSchema: z.ZodObject<{
16630
16857
  database?: string | undefined;
16631
16858
  table?: string | undefined;
16632
16859
  linkedEntity?: string | undefined;
16633
- holds?: string | undefined;
16634
16860
  }, {
16635
16861
  id: string;
16636
16862
  name: string;
@@ -16676,7 +16902,9 @@ declare const TypeSpecSchema: z.ZodObject<{
16676
16902
  references?: string | undefined;
16677
16903
  }[] | undefined;
16678
16904
  sourcePath?: string | undefined;
16679
- subsystem?: string | undefined;
16905
+ returns?: string | undefined;
16906
+ holds?: string | undefined;
16907
+ ext?: Record<string, unknown> | undefined;
16680
16908
  lint?: {
16681
16909
  allow?: {
16682
16910
  code: string;
@@ -16685,8 +16913,7 @@ declare const TypeSpecSchema: z.ZodObject<{
16685
16913
  covers?: string[] | undefined;
16686
16914
  }[] | undefined;
16687
16915
  } | undefined;
16688
- ext?: Record<string, unknown> | undefined;
16689
- returns?: string | undefined;
16916
+ subsystem?: string | undefined;
16690
16917
  group?: string | undefined;
16691
16918
  componentClass?: string | undefined;
16692
16919
  invariants?: {
@@ -16696,7 +16923,6 @@ declare const TypeSpecSchema: z.ZodObject<{
16696
16923
  database?: string | undefined;
16697
16924
  table?: string | undefined;
16698
16925
  linkedEntity?: string | undefined;
16699
- holds?: string | undefined;
16700
16926
  }>;
16701
16927
  /** A type as a spec file holds it: each method in its stored form. */
16702
16928
  type StoredTypeSpec = z.infer<typeof TypeSpecSchema>;
@@ -16910,8 +17136,8 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
16910
17136
  signature: z.ZodString;
16911
17137
  }, "strip", z.ZodTypeAny, {
16912
17138
  name: string;
16913
- signature: string;
16914
17139
  returns: string;
17140
+ signature: string;
16915
17141
  symbol?: string | undefined;
16916
17142
  params?: {
16917
17143
  type: string;
@@ -16924,8 +17150,8 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
16924
17150
  sourcePath?: string | undefined;
16925
17151
  }, {
16926
17152
  name: string;
16927
- signature: string;
16928
17153
  returns: string;
17154
+ signature: string;
16929
17155
  symbol?: string | undefined;
16930
17156
  params?: {
16931
17157
  type: string;
@@ -16942,8 +17168,8 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
16942
17168
  name: string;
16943
17169
  methods: {
16944
17170
  name: string;
16945
- signature: string;
16946
17171
  returns: string;
17172
+ signature: string;
16947
17173
  symbol?: string | undefined;
16948
17174
  params?: {
16949
17175
  type: string;
@@ -16982,7 +17208,9 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
16982
17208
  previousIds?: string[] | undefined;
16983
17209
  description?: string | undefined;
16984
17210
  sourcePath?: string | undefined;
16985
- subsystem?: string | undefined;
17211
+ returns?: string | undefined;
17212
+ holds?: string | undefined;
17213
+ ext?: Record<string, unknown> | undefined;
16986
17214
  lint?: {
16987
17215
  allow: {
16988
17216
  code: string;
@@ -16991,8 +17219,7 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
16991
17219
  covers?: string[] | undefined;
16992
17220
  }[];
16993
17221
  } | undefined;
16994
- ext?: Record<string, unknown> | undefined;
16995
- returns?: string | undefined;
17222
+ subsystem?: string | undefined;
16996
17223
  group?: string | undefined;
16997
17224
  componentClass?: string | undefined;
16998
17225
  invariants?: {
@@ -17002,7 +17229,6 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
17002
17229
  database?: string | undefined;
17003
17230
  table?: string | undefined;
17004
17231
  linkedEntity?: string | undefined;
17005
- holds?: string | undefined;
17006
17232
  }, {
17007
17233
  id: string;
17008
17234
  name: string;
@@ -17025,8 +17251,8 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
17025
17251
  description?: string | undefined;
17026
17252
  methods?: {
17027
17253
  name: string;
17028
- signature: string;
17029
17254
  returns: string;
17255
+ signature: string;
17030
17256
  symbol?: string | undefined;
17031
17257
  params?: {
17032
17258
  type: string;
@@ -17048,7 +17274,9 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
17048
17274
  references?: string | undefined;
17049
17275
  }[] | undefined;
17050
17276
  sourcePath?: string | undefined;
17051
- subsystem?: string | undefined;
17277
+ returns?: string | undefined;
17278
+ holds?: string | undefined;
17279
+ ext?: Record<string, unknown> | undefined;
17052
17280
  lint?: {
17053
17281
  allow?: {
17054
17282
  code: string;
@@ -17057,8 +17285,7 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
17057
17285
  covers?: string[] | undefined;
17058
17286
  }[] | undefined;
17059
17287
  } | undefined;
17060
- ext?: Record<string, unknown> | undefined;
17061
- returns?: string | undefined;
17288
+ subsystem?: string | undefined;
17062
17289
  group?: string | undefined;
17063
17290
  componentClass?: string | undefined;
17064
17291
  invariants?: {
@@ -17068,7 +17295,6 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
17068
17295
  database?: string | undefined;
17069
17296
  table?: string | undefined;
17070
17297
  linkedEntity?: string | undefined;
17071
- holds?: string | undefined;
17072
17298
  }>;
17073
17299
  type TypeSpec = z.infer<typeof ResolvedTypeSpecSchema>;
17074
17300
  /**
@@ -17532,116 +17758,17 @@ declare const SCHEMA_OF_KIND: {
17532
17758
  conformance?: "off" | "declared" | "anchored" | undefined;
17533
17759
  sourcePath?: string | undefined;
17534
17760
  ext?: Record<string, unknown> | undefined;
17535
- intent?: string | undefined;
17536
17761
  detail?: "full" | "calls-only" | "intent" | undefined;
17537
- calls?: string[] | undefined;
17538
- exportedVia?: string | undefined;
17539
- }, {
17540
- name: string;
17541
- symbol?: string | undefined;
17542
- conformance?: "off" | "declared" | "anchored" | undefined;
17543
- sourcePath?: string | undefined;
17544
- ext?: Record<string, unknown> | undefined;
17545
17762
  intent?: string | undefined;
17546
- narrative?: {
17547
- type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
17548
- description: string;
17549
- stepNumber: number;
17550
- label?: string | undefined;
17551
- error?: string | undefined;
17552
- capability?: string | undefined;
17553
- auth?: {
17554
- from: string;
17555
- note?: string | undefined;
17556
- } | undefined;
17557
- targetComponent?: string | undefined;
17558
- targetMethod?: string | undefined;
17559
- assertsGuarantees?: string[] | undefined;
17560
- assertsInvariants?: string[] | undefined;
17561
- condition?: string | undefined;
17562
- onTrueStep?: number | undefined;
17563
- onFalseStep?: number | undefined;
17564
- on?: string | undefined;
17565
- cases?: {
17566
- value: string;
17567
- step: number;
17568
- }[] | undefined;
17569
- defaultStep?: number | undefined;
17570
- loopKind?: "forEach" | "for" | "while" | "doWhile" | undefined;
17571
- over?: string | undefined;
17572
- endStep?: number | undefined;
17573
- catches?: {
17574
- error: string;
17575
- step: number;
17576
- }[] | undefined;
17577
- finallyStep?: number | undefined;
17578
- branches?: {
17579
- step: number;
17580
- name?: string | undefined;
17581
- }[] | undefined;
17582
- toStep?: number | undefined;
17583
- detach?: boolean | undefined;
17584
- outcome?: string | undefined;
17585
- }[] | undefined;
17586
- detail?: "full" | "calls-only" | "intent" | undefined;
17587
17763
  calls?: string[] | undefined;
17588
17764
  exportedVia?: string | undefined;
17589
- }>, "many">>, {
17765
+ }, {
17590
17766
  name: string;
17591
- narrative: {
17592
- type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
17593
- description: string;
17594
- stepNumber: number;
17595
- label?: string | undefined;
17596
- error?: string | undefined;
17597
- capability?: string | undefined;
17598
- auth?: {
17599
- from: string;
17600
- note?: string | undefined;
17601
- } | undefined;
17602
- targetComponent?: string | undefined;
17603
- targetMethod?: string | undefined;
17604
- assertsGuarantees?: string[] | undefined;
17605
- assertsInvariants?: string[] | undefined;
17606
- condition?: string | undefined;
17607
- onTrueStep?: number | undefined;
17608
- onFalseStep?: number | undefined;
17609
- on?: string | undefined;
17610
- cases?: {
17611
- value: string;
17612
- step: number;
17613
- }[] | undefined;
17614
- defaultStep?: number | undefined;
17615
- loopKind?: "forEach" | "for" | "while" | "doWhile" | undefined;
17616
- over?: string | undefined;
17617
- endStep?: number | undefined;
17618
- catches?: {
17619
- error: string;
17620
- step: number;
17621
- }[] | undefined;
17622
- finallyStep?: number | undefined;
17623
- branches?: {
17624
- step: number;
17625
- name?: string | undefined;
17626
- }[] | undefined;
17627
- toStep?: number | undefined;
17628
- detach?: boolean | undefined;
17629
- outcome?: string | undefined;
17630
- }[];
17631
17767
  symbol?: string | undefined;
17632
17768
  conformance?: "off" | "declared" | "anchored" | undefined;
17633
17769
  sourcePath?: string | undefined;
17634
17770
  ext?: Record<string, unknown> | undefined;
17635
- intent?: string | undefined;
17636
17771
  detail?: "full" | "calls-only" | "intent" | undefined;
17637
- calls?: string[] | undefined;
17638
- exportedVia?: string | undefined;
17639
- }[], {
17640
- name: string;
17641
- symbol?: string | undefined;
17642
- conformance?: "off" | "declared" | "anchored" | undefined;
17643
- sourcePath?: string | undefined;
17644
- ext?: Record<string, unknown> | undefined;
17645
17772
  intent?: string | undefined;
17646
17773
  narrative?: {
17647
17774
  type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
@@ -17683,7 +17810,106 @@ declare const SCHEMA_OF_KIND: {
17683
17810
  detach?: boolean | undefined;
17684
17811
  outcome?: string | undefined;
17685
17812
  }[] | undefined;
17813
+ calls?: string[] | undefined;
17814
+ exportedVia?: string | undefined;
17815
+ }>, "many">>, {
17816
+ name: string;
17817
+ narrative: {
17818
+ type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
17819
+ description: string;
17820
+ stepNumber: number;
17821
+ label?: string | undefined;
17822
+ error?: string | undefined;
17823
+ capability?: string | undefined;
17824
+ auth?: {
17825
+ from: string;
17826
+ note?: string | undefined;
17827
+ } | undefined;
17828
+ targetComponent?: string | undefined;
17829
+ targetMethod?: string | undefined;
17830
+ assertsGuarantees?: string[] | undefined;
17831
+ assertsInvariants?: string[] | undefined;
17832
+ condition?: string | undefined;
17833
+ onTrueStep?: number | undefined;
17834
+ onFalseStep?: number | undefined;
17835
+ on?: string | undefined;
17836
+ cases?: {
17837
+ value: string;
17838
+ step: number;
17839
+ }[] | undefined;
17840
+ defaultStep?: number | undefined;
17841
+ loopKind?: "forEach" | "for" | "while" | "doWhile" | undefined;
17842
+ over?: string | undefined;
17843
+ endStep?: number | undefined;
17844
+ catches?: {
17845
+ error: string;
17846
+ step: number;
17847
+ }[] | undefined;
17848
+ finallyStep?: number | undefined;
17849
+ branches?: {
17850
+ step: number;
17851
+ name?: string | undefined;
17852
+ }[] | undefined;
17853
+ toStep?: number | undefined;
17854
+ detach?: boolean | undefined;
17855
+ outcome?: string | undefined;
17856
+ }[];
17857
+ symbol?: string | undefined;
17858
+ conformance?: "off" | "declared" | "anchored" | undefined;
17859
+ sourcePath?: string | undefined;
17860
+ ext?: Record<string, unknown> | undefined;
17686
17861
  detail?: "full" | "calls-only" | "intent" | undefined;
17862
+ intent?: string | undefined;
17863
+ calls?: string[] | undefined;
17864
+ exportedVia?: string | undefined;
17865
+ }[], {
17866
+ name: string;
17867
+ symbol?: string | undefined;
17868
+ conformance?: "off" | "declared" | "anchored" | undefined;
17869
+ sourcePath?: string | undefined;
17870
+ ext?: Record<string, unknown> | undefined;
17871
+ detail?: "full" | "calls-only" | "intent" | undefined;
17872
+ intent?: string | undefined;
17873
+ narrative?: {
17874
+ type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
17875
+ description: string;
17876
+ stepNumber: number;
17877
+ label?: string | undefined;
17878
+ error?: string | undefined;
17879
+ capability?: string | undefined;
17880
+ auth?: {
17881
+ from: string;
17882
+ note?: string | undefined;
17883
+ } | undefined;
17884
+ targetComponent?: string | undefined;
17885
+ targetMethod?: string | undefined;
17886
+ assertsGuarantees?: string[] | undefined;
17887
+ assertsInvariants?: string[] | undefined;
17888
+ condition?: string | undefined;
17889
+ onTrueStep?: number | undefined;
17890
+ onFalseStep?: number | undefined;
17891
+ on?: string | undefined;
17892
+ cases?: {
17893
+ value: string;
17894
+ step: number;
17895
+ }[] | undefined;
17896
+ defaultStep?: number | undefined;
17897
+ loopKind?: "forEach" | "for" | "while" | "doWhile" | undefined;
17898
+ over?: string | undefined;
17899
+ endStep?: number | undefined;
17900
+ catches?: {
17901
+ error: string;
17902
+ step: number;
17903
+ }[] | undefined;
17904
+ finallyStep?: number | undefined;
17905
+ branches?: {
17906
+ step: number;
17907
+ name?: string | undefined;
17908
+ }[] | undefined;
17909
+ toStep?: number | undefined;
17910
+ detach?: boolean | undefined;
17911
+ outcome?: string | undefined;
17912
+ }[] | undefined;
17687
17913
  calls?: string[] | undefined;
17688
17914
  exportedVia?: string | undefined;
17689
17915
  }[] | undefined>;
@@ -17809,8 +18035,8 @@ declare const SCHEMA_OF_KIND: {
17809
18035
  conformance?: "off" | "declared" | "anchored" | undefined;
17810
18036
  sourcePath?: string | undefined;
17811
18037
  ext?: Record<string, unknown> | undefined;
17812
- intent?: string | undefined;
17813
18038
  detail?: "full" | "calls-only" | "intent" | undefined;
18039
+ intent?: string | undefined;
17814
18040
  calls?: string[] | undefined;
17815
18041
  exportedVia?: string | undefined;
17816
18042
  }[];
@@ -17820,6 +18046,7 @@ declare const SCHEMA_OF_KIND: {
17820
18046
  previousIds?: string[] | undefined;
17821
18047
  conformance?: "off" | "declared" | "anchored" | undefined;
17822
18048
  sourcePath?: string | undefined;
18049
+ ext?: Record<string, unknown> | undefined;
17823
18050
  lint?: {
17824
18051
  allow: {
17825
18052
  code: string;
@@ -17828,7 +18055,6 @@ declare const SCHEMA_OF_KIND: {
17828
18055
  covers?: string[] | undefined;
17829
18056
  }[];
17830
18057
  } | undefined;
17831
- ext?: Record<string, unknown> | undefined;
17832
18058
  detail?: "full" | "calls-only" | "intent" | undefined;
17833
18059
  simPath?: string | undefined;
17834
18060
  bindings?: string[] | undefined;
@@ -17853,6 +18079,7 @@ declare const SCHEMA_OF_KIND: {
17853
18079
  conformance?: "off" | "declared" | "anchored" | undefined;
17854
18080
  sourcePath?: string | undefined;
17855
18081
  ext?: Record<string, unknown> | undefined;
18082
+ detail?: "full" | "calls-only" | "intent" | undefined;
17856
18083
  intent?: string | undefined;
17857
18084
  narrative?: {
17858
18085
  type: "loop" | "return" | "call" | "local" | "dispatch" | "register" | "branch" | "switch" | "try" | "parallel" | "jump" | "throw";
@@ -17894,12 +18121,12 @@ declare const SCHEMA_OF_KIND: {
17894
18121
  detach?: boolean | undefined;
17895
18122
  outcome?: string | undefined;
17896
18123
  }[] | undefined;
17897
- detail?: "full" | "calls-only" | "intent" | undefined;
17898
18124
  calls?: string[] | undefined;
17899
18125
  exportedVia?: string | undefined;
17900
18126
  }[] | undefined;
17901
18127
  conformance?: "off" | "declared" | "anchored" | undefined;
17902
18128
  sourcePath?: string | undefined;
18129
+ ext?: Record<string, unknown> | undefined;
17903
18130
  lint?: {
17904
18131
  allow?: {
17905
18132
  code: string;
@@ -17908,7 +18135,6 @@ declare const SCHEMA_OF_KIND: {
17908
18135
  covers?: string[] | undefined;
17909
18136
  }[] | undefined;
17910
18137
  } | undefined;
17911
- ext?: Record<string, unknown> | undefined;
17912
18138
  detail?: "full" | "calls-only" | "intent" | undefined;
17913
18139
  simPath?: string | undefined;
17914
18140
  bindings?: string[] | undefined;
@@ -18297,7 +18523,9 @@ declare const SCHEMA_OF_KIND: {
18297
18523
  previousIds?: string[] | undefined;
18298
18524
  description?: string | undefined;
18299
18525
  sourcePath?: string | undefined;
18300
- subsystem?: string | undefined;
18526
+ returns?: string | undefined;
18527
+ holds?: string | undefined;
18528
+ ext?: Record<string, unknown> | undefined;
18301
18529
  lint?: {
18302
18530
  allow: {
18303
18531
  code: string;
@@ -18306,8 +18534,7 @@ declare const SCHEMA_OF_KIND: {
18306
18534
  covers?: string[] | undefined;
18307
18535
  }[];
18308
18536
  } | undefined;
18309
- ext?: Record<string, unknown> | undefined;
18310
- returns?: string | undefined;
18537
+ subsystem?: string | undefined;
18311
18538
  group?: string | undefined;
18312
18539
  componentClass?: string | undefined;
18313
18540
  invariants?: {
@@ -18317,7 +18544,6 @@ declare const SCHEMA_OF_KIND: {
18317
18544
  database?: string | undefined;
18318
18545
  table?: string | undefined;
18319
18546
  linkedEntity?: string | undefined;
18320
- holds?: string | undefined;
18321
18547
  }, {
18322
18548
  id: string;
18323
18549
  name: string;
@@ -18363,7 +18589,9 @@ declare const SCHEMA_OF_KIND: {
18363
18589
  references?: string | undefined;
18364
18590
  }[] | undefined;
18365
18591
  sourcePath?: string | undefined;
18366
- subsystem?: string | undefined;
18592
+ returns?: string | undefined;
18593
+ holds?: string | undefined;
18594
+ ext?: Record<string, unknown> | undefined;
18367
18595
  lint?: {
18368
18596
  allow?: {
18369
18597
  code: string;
@@ -18372,8 +18600,7 @@ declare const SCHEMA_OF_KIND: {
18372
18600
  covers?: string[] | undefined;
18373
18601
  }[] | undefined;
18374
18602
  } | undefined;
18375
- ext?: Record<string, unknown> | undefined;
18376
- returns?: string | undefined;
18603
+ subsystem?: string | undefined;
18377
18604
  group?: string | undefined;
18378
18605
  componentClass?: string | undefined;
18379
18606
  invariants?: {
@@ -18383,7 +18610,6 @@ declare const SCHEMA_OF_KIND: {
18383
18610
  database?: string | undefined;
18384
18611
  table?: string | undefined;
18385
18612
  linkedEntity?: string | undefined;
18386
- holds?: string | undefined;
18387
18613
  }>;
18388
18614
  readonly component: z.ZodObject<{
18389
18615
  id: z.ZodString;
@@ -18461,7 +18687,7 @@ declare const SCHEMA_OF_KIND: {
18461
18687
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
18462
18688
  name?: string | undefined;
18463
18689
  description?: string | undefined;
18464
- in?: "header" | "query" | "cookie" | undefined;
18690
+ in?: "query" | "header" | "cookie" | undefined;
18465
18691
  bearerFormat?: string | undefined;
18466
18692
  authorizationUrl?: string | undefined;
18467
18693
  tokenUrl?: string | undefined;
@@ -18477,7 +18703,7 @@ declare const SCHEMA_OF_KIND: {
18477
18703
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
18478
18704
  name?: string | undefined;
18479
18705
  description?: string | undefined;
18480
- in?: "header" | "query" | "cookie" | undefined;
18706
+ in?: "query" | "header" | "cookie" | undefined;
18481
18707
  bearerFormat?: string | undefined;
18482
18708
  authorizationUrl?: string | undefined;
18483
18709
  tokenUrl?: string | undefined;
@@ -18657,6 +18883,13 @@ declare const SCHEMA_OF_KIND: {
18657
18883
  owns: string[];
18658
18884
  dependsOn: string[];
18659
18885
  previousIds?: string[] | undefined;
18886
+ transport?: "HTTP" | "gRPC" | "GraphQL" | "MessageBus" | "NamedPipe" | "IPC" | "CLI" | "JSONRPC" | "Custom" | "InProcess" | undefined;
18887
+ invokedBy?: {
18888
+ kind: "entry" | "runtime";
18889
+ caller?: string | undefined;
18890
+ scope?: "network" | "outside" | undefined;
18891
+ } | undefined;
18892
+ ext?: Record<string, unknown> | undefined;
18660
18893
  lint?: {
18661
18894
  allow: {
18662
18895
  code: string;
@@ -18665,20 +18898,13 @@ declare const SCHEMA_OF_KIND: {
18665
18898
  covers?: string[] | undefined;
18666
18899
  }[];
18667
18900
  } | undefined;
18668
- ext?: Record<string, unknown> | undefined;
18669
- transport?: "GraphQL" | "MessageBus" | "Custom" | "HTTP" | "gRPC" | "CLI" | "NamedPipe" | "IPC" | "JSONRPC" | "InProcess" | undefined;
18670
18901
  abi?: string | undefined;
18671
- invokedBy?: {
18672
- kind: "entry" | "runtime";
18673
- caller?: string | undefined;
18674
- scope?: "network" | "outside" | undefined;
18675
- } | undefined;
18676
18902
  basePath?: string | undefined;
18677
18903
  auth?: {
18678
18904
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
18679
18905
  name?: string | undefined;
18680
18906
  description?: string | undefined;
18681
- in?: "header" | "query" | "cookie" | undefined;
18907
+ in?: "query" | "header" | "cookie" | undefined;
18682
18908
  bearerFormat?: string | undefined;
18683
18909
  authorizationUrl?: string | undefined;
18684
18910
  tokenUrl?: string | undefined;
@@ -18698,7 +18924,7 @@ declare const SCHEMA_OF_KIND: {
18698
18924
  description?: string | undefined;
18699
18925
  }[] | undefined;
18700
18926
  durability?: "ram-projection" | "durable" | "read-through" | "cache" | undefined;
18701
- dependencyClass?: "pure" | "read" | undefined;
18927
+ dependencyClass?: "read" | "pure" | undefined;
18702
18928
  emits?: {
18703
18929
  topic: string;
18704
18930
  description?: string | undefined;
@@ -18729,6 +18955,13 @@ declare const SCHEMA_OF_KIND: {
18729
18955
  componentType: "Portal" | "Orchestrator" | "Supervisor" | "Actor" | "Store" | "Index" | "Query" | "Registry" | "Adapter" | "Observer" | "View" | "Repository" | "FeatureComponent" | "RouterComponent" | "Specialist" | "Gateway";
18730
18956
  status?: "draft" | "design" | "complete" | undefined;
18731
18957
  previousIds?: string[] | undefined;
18958
+ transport?: "HTTP" | "gRPC" | "GraphQL" | "MessageBus" | "NamedPipe" | "IPC" | "CLI" | "JSONRPC" | "Custom" | "InProcess" | undefined;
18959
+ invokedBy?: {
18960
+ kind: "entry" | "runtime";
18961
+ caller?: string | undefined;
18962
+ scope?: "network" | "outside" | undefined;
18963
+ } | undefined;
18964
+ ext?: Record<string, unknown> | undefined;
18732
18965
  lint?: {
18733
18966
  allow?: {
18734
18967
  code: string;
@@ -18737,22 +18970,15 @@ declare const SCHEMA_OF_KIND: {
18737
18970
  covers?: string[] | undefined;
18738
18971
  }[] | undefined;
18739
18972
  } | undefined;
18740
- ext?: Record<string, unknown> | undefined;
18741
18973
  owns?: string[] | undefined;
18742
18974
  dependsOn?: string[] | undefined;
18743
- transport?: "GraphQL" | "MessageBus" | "Custom" | "HTTP" | "gRPC" | "CLI" | "NamedPipe" | "IPC" | "JSONRPC" | "InProcess" | undefined;
18744
18975
  abi?: string | undefined;
18745
- invokedBy?: {
18746
- kind: "entry" | "runtime";
18747
- caller?: string | undefined;
18748
- scope?: "network" | "outside" | undefined;
18749
- } | undefined;
18750
18976
  basePath?: string | undefined;
18751
18977
  auth?: {
18752
18978
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
18753
18979
  name?: string | undefined;
18754
18980
  description?: string | undefined;
18755
- in?: "header" | "query" | "cookie" | undefined;
18981
+ in?: "query" | "header" | "cookie" | undefined;
18756
18982
  bearerFormat?: string | undefined;
18757
18983
  authorizationUrl?: string | undefined;
18758
18984
  tokenUrl?: string | undefined;
@@ -18772,7 +18998,7 @@ declare const SCHEMA_OF_KIND: {
18772
18998
  description?: string | undefined;
18773
18999
  }[] | undefined;
18774
19000
  durability?: "ram-projection" | "durable" | "read-through" | "cache" | undefined;
18775
- dependencyClass?: "pure" | "read" | undefined;
19001
+ dependencyClass?: "read" | "pure" | undefined;
18776
19002
  emits?: {
18777
19003
  topic: string;
18778
19004
  description?: string | undefined;
@@ -18827,7 +19053,7 @@ declare const SCHEMA_OF_KIND: {
18827
19053
  /** What consumers do with the entry: call it (the default) or implement it (an extension point an Adapter may back). */
18828
19054
  role: z.ZodOptional<z.ZodEnum<["call", "implement"]>>;
18829
19055
  }, "strip", z.ZodTypeAny, {
18830
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
19056
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
18831
19057
  as?: string | undefined;
18832
19058
  interface?: string | undefined;
18833
19059
  component?: string | undefined;
@@ -18837,7 +19063,7 @@ declare const SCHEMA_OF_KIND: {
18837
19063
  from?: string | undefined;
18838
19064
  consumers?: string[] | undefined;
18839
19065
  }, {
18840
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
19066
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
18841
19067
  as?: string | undefined;
18842
19068
  interface?: string | undefined;
18843
19069
  component?: string | undefined;
@@ -18847,7 +19073,7 @@ declare const SCHEMA_OF_KIND: {
18847
19073
  from?: string | undefined;
18848
19074
  consumers?: string[] | undefined;
18849
19075
  }>, {
18850
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
19076
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
18851
19077
  as?: string | undefined;
18852
19078
  interface?: string | undefined;
18853
19079
  component?: string | undefined;
@@ -18857,7 +19083,7 @@ declare const SCHEMA_OF_KIND: {
18857
19083
  from?: string | undefined;
18858
19084
  consumers?: string[] | undefined;
18859
19085
  }, {
18860
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
19086
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
18861
19087
  as?: string | undefined;
18862
19088
  interface?: string | undefined;
18863
19089
  component?: string | undefined;
@@ -18905,11 +19131,11 @@ declare const SCHEMA_OF_KIND: {
18905
19131
  /** Why this coupling is sanctioned (e.g. "runtime dispatch latency — bus round-trip too slow"). */
18906
19132
  reason: z.ZodString;
18907
19133
  }, "strip", z.ZodTypeAny, {
18908
- subsystem: string;
18909
19134
  reason: string;
18910
- }, {
18911
19135
  subsystem: string;
19136
+ }, {
18912
19137
  reason: string;
19138
+ subsystem: string;
18913
19139
  }>, "many">>;
18914
19140
  /**
18915
19141
  * Per-subsystem design-depth override (components | interfaces |
@@ -18995,7 +19221,7 @@ declare const SCHEMA_OF_KIND: {
18995
19221
  updatedAt: string;
18996
19222
  parentSystem: string;
18997
19223
  publicInterfaces: {
18998
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
19224
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
18999
19225
  as?: string | undefined;
19000
19226
  interface?: string | undefined;
19001
19227
  component?: string | undefined;
@@ -19006,8 +19232,8 @@ declare const SCHEMA_OF_KIND: {
19006
19232
  consumers?: string[] | undefined;
19007
19233
  }[];
19008
19234
  trustedLinks: {
19009
- subsystem: string;
19010
19235
  reason: string;
19236
+ subsystem: string;
19011
19237
  }[];
19012
19238
  profile?: string | undefined;
19013
19239
  designDepth?: "components" | "interfaces" | "implementations" | "narratives" | undefined;
@@ -19017,8 +19243,7 @@ declare const SCHEMA_OF_KIND: {
19017
19243
  phase: "init" | "shutdown" | "cyclic" | "interrupt" | "scheduled";
19018
19244
  description?: string | undefined;
19019
19245
  }[] | undefined;
19020
- projectPath?: string | undefined;
19021
- targetLanguage?: string | undefined;
19246
+ ext?: Record<string, unknown> | undefined;
19022
19247
  lint?: {
19023
19248
  allow: {
19024
19249
  code: string;
@@ -19027,7 +19252,8 @@ declare const SCHEMA_OF_KIND: {
19027
19252
  covers?: string[] | undefined;
19028
19253
  }[];
19029
19254
  } | undefined;
19030
- ext?: Record<string, unknown> | undefined;
19255
+ projectPath?: string | undefined;
19256
+ targetLanguage?: string | undefined;
19031
19257
  }, {
19032
19258
  id: string;
19033
19259
  name: string;
@@ -19038,8 +19264,23 @@ declare const SCHEMA_OF_KIND: {
19038
19264
  status?: "draft" | "design" | "complete" | undefined;
19039
19265
  profile?: string | undefined;
19040
19266
  designDepth?: "components" | "interfaces" | "implementations" | "narratives" | undefined;
19267
+ lifecycle?: {
19268
+ method: string;
19269
+ component: string;
19270
+ phase: "init" | "shutdown" | "cyclic" | "interrupt" | "scheduled";
19271
+ description?: string | undefined;
19272
+ }[] | undefined;
19273
+ ext?: Record<string, unknown> | undefined;
19274
+ lint?: {
19275
+ allow?: {
19276
+ code: string;
19277
+ reason: string;
19278
+ at?: string | undefined;
19279
+ covers?: string[] | undefined;
19280
+ }[] | undefined;
19281
+ } | undefined;
19041
19282
  publicInterfaces?: {
19042
- type?: "REST" | "GraphQL" | "MessageBus" | "RPC" | "Custom" | undefined;
19283
+ type?: "GraphQL" | "MessageBus" | "Custom" | "REST" | "RPC" | undefined;
19043
19284
  as?: string | undefined;
19044
19285
  interface?: string | undefined;
19045
19286
  component?: string | undefined;
@@ -19049,27 +19290,12 @@ declare const SCHEMA_OF_KIND: {
19049
19290
  from?: string | undefined;
19050
19291
  consumers?: string[] | undefined;
19051
19292
  }[] | undefined;
19052
- lifecycle?: {
19053
- method: string;
19054
- component: string;
19055
- phase: "init" | "shutdown" | "cyclic" | "interrupt" | "scheduled";
19056
- description?: string | undefined;
19057
- }[] | undefined;
19058
19293
  projectPath?: string | undefined;
19059
19294
  targetLanguage?: string | undefined;
19060
19295
  trustedLinks?: {
19061
- subsystem: string;
19062
19296
  reason: string;
19297
+ subsystem: string;
19063
19298
  }[] | undefined;
19064
- lint?: {
19065
- allow?: {
19066
- code: string;
19067
- reason: string;
19068
- at?: string | undefined;
19069
- covers?: string[] | undefined;
19070
- }[] | undefined;
19071
- } | undefined;
19072
- ext?: Record<string, unknown> | undefined;
19073
19299
  }>;
19074
19300
  readonly interface: z.ZodObject<{
19075
19301
  id: z.ZodString;
@@ -19124,14 +19350,17 @@ declare const SCHEMA_OF_KIND: {
19124
19350
  transport: z.ZodLiteral<"HTTP">;
19125
19351
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
19126
19352
  path: z.ZodString;
19353
+ status: z.ZodOptional<z.ZodNumber>;
19127
19354
  }, "strip", z.ZodTypeAny, {
19128
19355
  path: string;
19129
19356
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19130
19357
  transport: "HTTP";
19358
+ status?: number | undefined;
19131
19359
  }, {
19132
19360
  path: string;
19133
19361
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19134
19362
  transport: "HTTP";
19363
+ status?: number | undefined;
19135
19364
  }>, z.ZodObject<{
19136
19365
  transport: z.ZodLiteral<"gRPC">;
19137
19366
  service: z.ZodString;
@@ -19163,15 +19392,15 @@ declare const SCHEMA_OF_KIND: {
19163
19392
  queue: z.ZodOptional<z.ZodString>;
19164
19393
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
19165
19394
  }, "strip", z.ZodTypeAny, {
19395
+ transport: "MessageBus";
19166
19396
  topic: string;
19167
19397
  event: string;
19168
- transport: "MessageBus";
19169
19398
  direction: "subscribe" | "publish";
19170
19399
  queue?: string | undefined;
19171
19400
  }, {
19401
+ transport: "MessageBus";
19172
19402
  topic: string;
19173
19403
  event: string;
19174
- transport: "MessageBus";
19175
19404
  queue?: string | undefined;
19176
19405
  direction?: "subscribe" | "publish" | undefined;
19177
19406
  }>, z.ZodObject<{
@@ -19313,20 +19542,15 @@ declare const SCHEMA_OF_KIND: {
19313
19542
  severity: "error" | "warning" | "notice";
19314
19543
  summary: string;
19315
19544
  }[] | undefined;
19316
- ext?: Record<string, unknown> | undefined;
19317
- invokedBy?: {
19318
- kind: "entry" | "runtime";
19319
- caller?: string | undefined;
19320
- scope?: "network" | "outside" | undefined;
19321
- } | undefined;
19322
- previousNames?: string[] | undefined;
19323
- signature?: string | undefined;
19324
19545
  returns?: string | undefined;
19546
+ signature?: string | undefined;
19547
+ previousNames?: string[] | undefined;
19325
19548
  signatureFrom?: string | undefined;
19326
19549
  endpoint?: {
19327
19550
  path: string;
19328
19551
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19329
19552
  transport: "HTTP";
19553
+ status?: number | undefined;
19330
19554
  } | {
19331
19555
  method: string;
19332
19556
  transport: "gRPC";
@@ -19336,9 +19560,9 @@ declare const SCHEMA_OF_KIND: {
19336
19560
  transport: "GraphQL";
19337
19561
  operation: "query" | "mutation" | "subscription";
19338
19562
  } | {
19563
+ transport: "MessageBus";
19339
19564
  topic: string;
19340
19565
  event: string;
19341
- transport: "MessageBus";
19342
19566
  direction: "subscribe" | "publish";
19343
19567
  queue?: string | undefined;
19344
19568
  } | {
@@ -19358,7 +19582,13 @@ declare const SCHEMA_OF_KIND: {
19358
19582
  address: string;
19359
19583
  } | undefined;
19360
19584
  guarantees?: string[] | undefined;
19361
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
19585
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
19586
+ invokedBy?: {
19587
+ kind: "entry" | "runtime";
19588
+ caller?: string | undefined;
19589
+ scope?: "network" | "outside" | undefined;
19590
+ } | undefined;
19591
+ ext?: Record<string, unknown> | undefined;
19362
19592
  }, {
19363
19593
  name: string;
19364
19594
  description: string;
@@ -19374,20 +19604,15 @@ declare const SCHEMA_OF_KIND: {
19374
19604
  severity: "error" | "warning" | "notice";
19375
19605
  summary: string;
19376
19606
  }[] | undefined;
19377
- ext?: Record<string, unknown> | undefined;
19378
- invokedBy?: {
19379
- kind: "entry" | "runtime";
19380
- caller?: string | undefined;
19381
- scope?: "network" | "outside" | undefined;
19382
- } | undefined;
19383
- previousNames?: string[] | undefined;
19384
- signature?: string | undefined;
19385
19607
  returns?: string | undefined;
19608
+ signature?: string | undefined;
19609
+ previousNames?: string[] | undefined;
19386
19610
  signatureFrom?: string | undefined;
19387
19611
  endpoint?: {
19388
19612
  path: string;
19389
19613
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19390
19614
  transport: "HTTP";
19615
+ status?: number | undefined;
19391
19616
  } | {
19392
19617
  method: string;
19393
19618
  transport: "gRPC";
@@ -19397,9 +19622,9 @@ declare const SCHEMA_OF_KIND: {
19397
19622
  transport: "GraphQL";
19398
19623
  operation: "query" | "mutation" | "subscription";
19399
19624
  } | {
19625
+ transport: "MessageBus";
19400
19626
  topic: string;
19401
19627
  event: string;
19402
- transport: "MessageBus";
19403
19628
  queue?: string | undefined;
19404
19629
  direction?: "subscribe" | "publish" | undefined;
19405
19630
  } | {
@@ -19419,7 +19644,13 @@ declare const SCHEMA_OF_KIND: {
19419
19644
  address: string;
19420
19645
  } | undefined;
19421
19646
  guarantees?: string[] | undefined;
19422
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
19647
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
19648
+ invokedBy?: {
19649
+ kind: "entry" | "runtime";
19650
+ caller?: string | undefined;
19651
+ scope?: "network" | "outside" | undefined;
19652
+ } | undefined;
19653
+ ext?: Record<string, unknown> | undefined;
19423
19654
  }>, {
19424
19655
  name: string;
19425
19656
  description: string;
@@ -19435,20 +19666,15 @@ declare const SCHEMA_OF_KIND: {
19435
19666
  severity: "error" | "warning" | "notice";
19436
19667
  summary: string;
19437
19668
  }[] | undefined;
19438
- ext?: Record<string, unknown> | undefined;
19439
- invokedBy?: {
19440
- kind: "entry" | "runtime";
19441
- caller?: string | undefined;
19442
- scope?: "network" | "outside" | undefined;
19443
- } | undefined;
19444
- previousNames?: string[] | undefined;
19445
- signature?: string | undefined;
19446
19669
  returns?: string | undefined;
19670
+ signature?: string | undefined;
19671
+ previousNames?: string[] | undefined;
19447
19672
  signatureFrom?: string | undefined;
19448
19673
  endpoint?: {
19449
19674
  path: string;
19450
19675
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19451
19676
  transport: "HTTP";
19677
+ status?: number | undefined;
19452
19678
  } | {
19453
19679
  method: string;
19454
19680
  transport: "gRPC";
@@ -19458,9 +19684,9 @@ declare const SCHEMA_OF_KIND: {
19458
19684
  transport: "GraphQL";
19459
19685
  operation: "query" | "mutation" | "subscription";
19460
19686
  } | {
19687
+ transport: "MessageBus";
19461
19688
  topic: string;
19462
19689
  event: string;
19463
- transport: "MessageBus";
19464
19690
  direction: "subscribe" | "publish";
19465
19691
  queue?: string | undefined;
19466
19692
  } | {
@@ -19480,7 +19706,13 @@ declare const SCHEMA_OF_KIND: {
19480
19706
  address: string;
19481
19707
  } | undefined;
19482
19708
  guarantees?: string[] | undefined;
19483
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
19709
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
19710
+ invokedBy?: {
19711
+ kind: "entry" | "runtime";
19712
+ caller?: string | undefined;
19713
+ scope?: "network" | "outside" | undefined;
19714
+ } | undefined;
19715
+ ext?: Record<string, unknown> | undefined;
19484
19716
  }, {
19485
19717
  name: string;
19486
19718
  description: string;
@@ -19496,20 +19728,15 @@ declare const SCHEMA_OF_KIND: {
19496
19728
  severity: "error" | "warning" | "notice";
19497
19729
  summary: string;
19498
19730
  }[] | undefined;
19499
- ext?: Record<string, unknown> | undefined;
19500
- invokedBy?: {
19501
- kind: "entry" | "runtime";
19502
- caller?: string | undefined;
19503
- scope?: "network" | "outside" | undefined;
19504
- } | undefined;
19505
- previousNames?: string[] | undefined;
19506
- signature?: string | undefined;
19507
19731
  returns?: string | undefined;
19732
+ signature?: string | undefined;
19733
+ previousNames?: string[] | undefined;
19508
19734
  signatureFrom?: string | undefined;
19509
19735
  endpoint?: {
19510
19736
  path: string;
19511
19737
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19512
19738
  transport: "HTTP";
19739
+ status?: number | undefined;
19513
19740
  } | {
19514
19741
  method: string;
19515
19742
  transport: "gRPC";
@@ -19519,9 +19746,9 @@ declare const SCHEMA_OF_KIND: {
19519
19746
  transport: "GraphQL";
19520
19747
  operation: "query" | "mutation" | "subscription";
19521
19748
  } | {
19749
+ transport: "MessageBus";
19522
19750
  topic: string;
19523
19751
  event: string;
19524
- transport: "MessageBus";
19525
19752
  queue?: string | undefined;
19526
19753
  direction?: "subscribe" | "publish" | undefined;
19527
19754
  } | {
@@ -19541,7 +19768,13 @@ declare const SCHEMA_OF_KIND: {
19541
19768
  address: string;
19542
19769
  } | undefined;
19543
19770
  guarantees?: string[] | undefined;
19544
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
19771
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
19772
+ invokedBy?: {
19773
+ kind: "entry" | "runtime";
19774
+ caller?: string | undefined;
19775
+ scope?: "network" | "outside" | undefined;
19776
+ } | undefined;
19777
+ ext?: Record<string, unknown> | undefined;
19545
19778
  }>, "many">>;
19546
19779
  /** The rename trace (see PreviousIdsSchema). */
19547
19780
  previousIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -19638,20 +19871,15 @@ declare const SCHEMA_OF_KIND: {
19638
19871
  severity: "error" | "warning" | "notice";
19639
19872
  summary: string;
19640
19873
  }[] | undefined;
19641
- ext?: Record<string, unknown> | undefined;
19642
- invokedBy?: {
19643
- kind: "entry" | "runtime";
19644
- caller?: string | undefined;
19645
- scope?: "network" | "outside" | undefined;
19646
- } | undefined;
19647
- previousNames?: string[] | undefined;
19648
- signature?: string | undefined;
19649
19874
  returns?: string | undefined;
19875
+ signature?: string | undefined;
19876
+ previousNames?: string[] | undefined;
19650
19877
  signatureFrom?: string | undefined;
19651
19878
  endpoint?: {
19652
19879
  path: string;
19653
19880
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19654
19881
  transport: "HTTP";
19882
+ status?: number | undefined;
19655
19883
  } | {
19656
19884
  method: string;
19657
19885
  transport: "gRPC";
@@ -19661,9 +19889,9 @@ declare const SCHEMA_OF_KIND: {
19661
19889
  transport: "GraphQL";
19662
19890
  operation: "query" | "mutation" | "subscription";
19663
19891
  } | {
19892
+ transport: "MessageBus";
19664
19893
  topic: string;
19665
19894
  event: string;
19666
- transport: "MessageBus";
19667
19895
  direction: "subscribe" | "publish";
19668
19896
  queue?: string | undefined;
19669
19897
  } | {
@@ -19683,12 +19911,19 @@ declare const SCHEMA_OF_KIND: {
19683
19911
  address: string;
19684
19912
  } | undefined;
19685
19913
  guarantees?: string[] | undefined;
19686
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
19914
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
19915
+ invokedBy?: {
19916
+ kind: "entry" | "runtime";
19917
+ caller?: string | undefined;
19918
+ scope?: "network" | "outside" | undefined;
19919
+ } | undefined;
19920
+ ext?: Record<string, unknown> | undefined;
19687
19921
  }[];
19688
19922
  createdAt: string;
19689
19923
  updatedAt: string;
19690
19924
  component: string;
19691
19925
  previousIds?: string[] | undefined;
19926
+ ext?: Record<string, unknown> | undefined;
19692
19927
  lint?: {
19693
19928
  allow: {
19694
19929
  code: string;
@@ -19697,7 +19932,6 @@ declare const SCHEMA_OF_KIND: {
19697
19932
  covers?: string[] | undefined;
19698
19933
  }[];
19699
19934
  } | undefined;
19700
- ext?: Record<string, unknown> | undefined;
19701
19935
  implements?: string | undefined;
19702
19936
  }, {
19703
19937
  id: string;
@@ -19723,20 +19957,15 @@ declare const SCHEMA_OF_KIND: {
19723
19957
  severity: "error" | "warning" | "notice";
19724
19958
  summary: string;
19725
19959
  }[] | undefined;
19726
- ext?: Record<string, unknown> | undefined;
19727
- invokedBy?: {
19728
- kind: "entry" | "runtime";
19729
- caller?: string | undefined;
19730
- scope?: "network" | "outside" | undefined;
19731
- } | undefined;
19732
- previousNames?: string[] | undefined;
19733
- signature?: string | undefined;
19734
19960
  returns?: string | undefined;
19961
+ signature?: string | undefined;
19962
+ previousNames?: string[] | undefined;
19735
19963
  signatureFrom?: string | undefined;
19736
19964
  endpoint?: {
19737
19965
  path: string;
19738
19966
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
19739
19967
  transport: "HTTP";
19968
+ status?: number | undefined;
19740
19969
  } | {
19741
19970
  method: string;
19742
19971
  transport: "gRPC";
@@ -19746,9 +19975,9 @@ declare const SCHEMA_OF_KIND: {
19746
19975
  transport: "GraphQL";
19747
19976
  operation: "query" | "mutation" | "subscription";
19748
19977
  } | {
19978
+ transport: "MessageBus";
19749
19979
  topic: string;
19750
19980
  event: string;
19751
- transport: "MessageBus";
19752
19981
  queue?: string | undefined;
19753
19982
  direction?: "subscribe" | "publish" | undefined;
19754
19983
  } | {
@@ -19768,8 +19997,15 @@ declare const SCHEMA_OF_KIND: {
19768
19997
  address: string;
19769
19998
  } | undefined;
19770
19999
  guarantees?: string[] | undefined;
19771
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
20000
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
20001
+ invokedBy?: {
20002
+ kind: "entry" | "runtime";
20003
+ caller?: string | undefined;
20004
+ scope?: "network" | "outside" | undefined;
20005
+ } | undefined;
20006
+ ext?: Record<string, unknown> | undefined;
19772
20007
  }[] | undefined;
20008
+ ext?: Record<string, unknown> | undefined;
19773
20009
  lint?: {
19774
20010
  allow?: {
19775
20011
  code: string;
@@ -19778,7 +20014,6 @@ declare const SCHEMA_OF_KIND: {
19778
20014
  covers?: string[] | undefined;
19779
20015
  }[] | undefined;
19780
20016
  } | undefined;
19781
- ext?: Record<string, unknown> | undefined;
19782
20017
  implements?: string | undefined;
19783
20018
  }>;
19784
20019
  };
@@ -20003,8 +20238,8 @@ declare const SurfaceTypeDefSchema: z.ZodObject<{
20003
20238
  description: z.ZodOptional<z.ZodString>;
20004
20239
  }, "strip", z.ZodTypeAny, {
20005
20240
  name: string;
20006
- signature: string;
20007
20241
  returns: string;
20242
+ signature: string;
20008
20243
  params?: {
20009
20244
  type: string;
20010
20245
  name: string;
@@ -20014,8 +20249,8 @@ declare const SurfaceTypeDefSchema: z.ZodObject<{
20014
20249
  description?: string | undefined;
20015
20250
  }, {
20016
20251
  name: string;
20017
- signature: string;
20018
20252
  returns: string;
20253
+ signature: string;
20019
20254
  params?: {
20020
20255
  type: string;
20021
20256
  name: string;
@@ -20054,8 +20289,8 @@ declare const SurfaceTypeDefSchema: z.ZodObject<{
20054
20289
  }[] | undefined;
20055
20290
  methods?: {
20056
20291
  name: string;
20057
- signature: string;
20058
20292
  returns: string;
20293
+ signature: string;
20059
20294
  params?: {
20060
20295
  type: string;
20061
20296
  name: string;
@@ -20083,8 +20318,8 @@ declare const SurfaceTypeDefSchema: z.ZodObject<{
20083
20318
  }[] | undefined;
20084
20319
  methods?: {
20085
20320
  name: string;
20086
- signature: string;
20087
20321
  returns: string;
20322
+ signature: string;
20088
20323
  params?: {
20089
20324
  type: string;
20090
20325
  name: string;
@@ -20176,14 +20411,17 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20176
20411
  transport: z.ZodLiteral<"HTTP">;
20177
20412
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
20178
20413
  path: z.ZodString;
20414
+ status: z.ZodOptional<z.ZodNumber>;
20179
20415
  }, "strip", z.ZodTypeAny, {
20180
20416
  path: string;
20181
20417
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20182
20418
  transport: "HTTP";
20419
+ status?: number | undefined;
20183
20420
  }, {
20184
20421
  path: string;
20185
20422
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20186
20423
  transport: "HTTP";
20424
+ status?: number | undefined;
20187
20425
  }>, z.ZodObject<{
20188
20426
  transport: z.ZodLiteral<"gRPC">;
20189
20427
  service: z.ZodString;
@@ -20215,15 +20453,15 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20215
20453
  queue: z.ZodOptional<z.ZodString>;
20216
20454
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
20217
20455
  }, "strip", z.ZodTypeAny, {
20456
+ transport: "MessageBus";
20218
20457
  topic: string;
20219
20458
  event: string;
20220
- transport: "MessageBus";
20221
20459
  direction: "subscribe" | "publish";
20222
20460
  queue?: string | undefined;
20223
20461
  }, {
20462
+ transport: "MessageBus";
20224
20463
  topic: string;
20225
20464
  event: string;
20226
- transport: "MessageBus";
20227
20465
  queue?: string | undefined;
20228
20466
  direction?: "subscribe" | "publish" | undefined;
20229
20467
  }>, z.ZodObject<{
@@ -20322,8 +20560,8 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20322
20560
  }, "strip", z.ZodTypeAny, {
20323
20561
  name: string;
20324
20562
  description: string;
20325
- signature: string;
20326
20563
  returns: string;
20564
+ signature: string;
20327
20565
  params?: {
20328
20566
  type: string;
20329
20567
  name: string;
@@ -20336,18 +20574,13 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20336
20574
  severity: "error" | "warning" | "notice";
20337
20575
  summary: string;
20338
20576
  }[] | undefined;
20339
- ext?: Record<string, unknown> | undefined;
20340
- invokedBy?: {
20341
- kind: "entry" | "runtime";
20342
- caller?: string | undefined;
20343
- scope?: "network" | "outside" | undefined;
20344
- } | undefined;
20345
20577
  previousNames?: string[] | undefined;
20346
20578
  signatureFrom?: string | undefined;
20347
20579
  endpoint?: {
20348
20580
  path: string;
20349
20581
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20350
20582
  transport: "HTTP";
20583
+ status?: number | undefined;
20351
20584
  } | {
20352
20585
  method: string;
20353
20586
  transport: "gRPC";
@@ -20357,9 +20590,9 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20357
20590
  transport: "GraphQL";
20358
20591
  operation: "query" | "mutation" | "subscription";
20359
20592
  } | {
20593
+ transport: "MessageBus";
20360
20594
  topic: string;
20361
20595
  event: string;
20362
- transport: "MessageBus";
20363
20596
  direction: "subscribe" | "publish";
20364
20597
  queue?: string | undefined;
20365
20598
  } | {
@@ -20379,13 +20612,19 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20379
20612
  address: string;
20380
20613
  } | undefined;
20381
20614
  guarantees?: string[] | undefined;
20382
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
20615
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
20616
+ invokedBy?: {
20617
+ kind: "entry" | "runtime";
20618
+ caller?: string | undefined;
20619
+ scope?: "network" | "outside" | undefined;
20620
+ } | undefined;
20621
+ ext?: Record<string, unknown> | undefined;
20383
20622
  formerly?: string[] | undefined;
20384
20623
  }, {
20385
20624
  name: string;
20386
20625
  description: string;
20387
- signature: string;
20388
20626
  returns: string;
20627
+ signature: string;
20389
20628
  params?: {
20390
20629
  type: string;
20391
20630
  name: string;
@@ -20398,18 +20637,13 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20398
20637
  severity: "error" | "warning" | "notice";
20399
20638
  summary: string;
20400
20639
  }[] | undefined;
20401
- ext?: Record<string, unknown> | undefined;
20402
- invokedBy?: {
20403
- kind: "entry" | "runtime";
20404
- caller?: string | undefined;
20405
- scope?: "network" | "outside" | undefined;
20406
- } | undefined;
20407
20640
  previousNames?: string[] | undefined;
20408
20641
  signatureFrom?: string | undefined;
20409
20642
  endpoint?: {
20410
20643
  path: string;
20411
20644
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20412
20645
  transport: "HTTP";
20646
+ status?: number | undefined;
20413
20647
  } | {
20414
20648
  method: string;
20415
20649
  transport: "gRPC";
@@ -20419,9 +20653,9 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20419
20653
  transport: "GraphQL";
20420
20654
  operation: "query" | "mutation" | "subscription";
20421
20655
  } | {
20656
+ transport: "MessageBus";
20422
20657
  topic: string;
20423
20658
  event: string;
20424
- transport: "MessageBus";
20425
20659
  queue?: string | undefined;
20426
20660
  direction?: "subscribe" | "publish" | undefined;
20427
20661
  } | {
@@ -20441,7 +20675,13 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20441
20675
  address: string;
20442
20676
  } | undefined;
20443
20677
  guarantees?: string[] | undefined;
20444
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
20678
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
20679
+ invokedBy?: {
20680
+ kind: "entry" | "runtime";
20681
+ caller?: string | undefined;
20682
+ scope?: "network" | "outside" | undefined;
20683
+ } | undefined;
20684
+ ext?: Record<string, unknown> | undefined;
20445
20685
  formerly?: string[] | undefined;
20446
20686
  }>, "many">>;
20447
20687
  /** The backing portal's capability dispatch table, when generic-dispatch. */
@@ -20496,7 +20736,7 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20496
20736
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
20497
20737
  name?: string | undefined;
20498
20738
  description?: string | undefined;
20499
- in?: "header" | "query" | "cookie" | undefined;
20739
+ in?: "query" | "header" | "cookie" | undefined;
20500
20740
  bearerFormat?: string | undefined;
20501
20741
  authorizationUrl?: string | undefined;
20502
20742
  tokenUrl?: string | undefined;
@@ -20512,7 +20752,7 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20512
20752
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
20513
20753
  name?: string | undefined;
20514
20754
  description?: string | undefined;
20515
- in?: "header" | "query" | "cookie" | undefined;
20755
+ in?: "query" | "header" | "cookie" | undefined;
20516
20756
  bearerFormat?: string | undefined;
20517
20757
  authorizationUrl?: string | undefined;
20518
20758
  tokenUrl?: string | undefined;
@@ -20550,6 +20790,14 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20550
20790
  abi: z.ZodOptional<z.ZodString>;
20551
20791
  /** The entry's export role, call (the default) or implement. */
20552
20792
  role: z.ZodOptional<z.ZodString>;
20793
+ /**
20794
+ * On a PINNED snapshot only: the method names an earlier pin of this entry
20795
+ * held that the producer has since removed (gone, and in no method's
20796
+ * `formerly`), carried forward while they stay absent — so a binding still
20797
+ * declaring a removed verb is told so. Provenance: no digest, no carried
20798
+ * fact and no drift comparison reads it; a fresh projection never has it.
20799
+ */
20800
+ retired: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20553
20801
  }, "strip", z.ZodTypeAny, {
20554
20802
  id: string;
20555
20803
  type: string;
@@ -20557,8 +20805,8 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20557
20805
  methods: {
20558
20806
  name: string;
20559
20807
  description: string;
20560
- signature: string;
20561
20808
  returns: string;
20809
+ signature: string;
20562
20810
  params?: {
20563
20811
  type: string;
20564
20812
  name: string;
@@ -20571,18 +20819,13 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20571
20819
  severity: "error" | "warning" | "notice";
20572
20820
  summary: string;
20573
20821
  }[] | undefined;
20574
- ext?: Record<string, unknown> | undefined;
20575
- invokedBy?: {
20576
- kind: "entry" | "runtime";
20577
- caller?: string | undefined;
20578
- scope?: "network" | "outside" | undefined;
20579
- } | undefined;
20580
20822
  previousNames?: string[] | undefined;
20581
20823
  signatureFrom?: string | undefined;
20582
20824
  endpoint?: {
20583
20825
  path: string;
20584
20826
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20585
20827
  transport: "HTTP";
20828
+ status?: number | undefined;
20586
20829
  } | {
20587
20830
  method: string;
20588
20831
  transport: "gRPC";
@@ -20592,9 +20835,9 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20592
20835
  transport: "GraphQL";
20593
20836
  operation: "query" | "mutation" | "subscription";
20594
20837
  } | {
20838
+ transport: "MessageBus";
20595
20839
  topic: string;
20596
20840
  event: string;
20597
- transport: "MessageBus";
20598
20841
  direction: "subscribe" | "publish";
20599
20842
  queue?: string | undefined;
20600
20843
  } | {
@@ -20614,7 +20857,13 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20614
20857
  address: string;
20615
20858
  } | undefined;
20616
20859
  guarantees?: string[] | undefined;
20617
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
20860
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
20861
+ invokedBy?: {
20862
+ kind: "entry" | "runtime";
20863
+ caller?: string | undefined;
20864
+ scope?: "network" | "outside" | undefined;
20865
+ } | undefined;
20866
+ ext?: Record<string, unknown> | undefined;
20618
20867
  formerly?: string[] | undefined;
20619
20868
  }[];
20620
20869
  component: string;
@@ -20622,17 +20871,17 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20622
20871
  audience: string;
20623
20872
  version?: string | undefined;
20624
20873
  interface?: string | undefined;
20874
+ transport?: string | undefined;
20625
20875
  componentType?: string | undefined;
20626
20876
  stability?: string | undefined;
20627
20877
  role?: string | undefined;
20628
- transport?: string | undefined;
20629
20878
  abi?: string | undefined;
20630
20879
  basePath?: string | undefined;
20631
20880
  auth?: {
20632
20881
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
20633
20882
  name?: string | undefined;
20634
20883
  description?: string | undefined;
20635
- in?: "header" | "query" | "cookie" | undefined;
20884
+ in?: "query" | "header" | "cookie" | undefined;
20636
20885
  bearerFormat?: string | undefined;
20637
20886
  authorizationUrl?: string | undefined;
20638
20887
  tokenUrl?: string | undefined;
@@ -20652,6 +20901,7 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20652
20901
  description?: string | undefined;
20653
20902
  }[] | undefined;
20654
20903
  formerly?: string[] | undefined;
20904
+ retired?: string[] | undefined;
20655
20905
  }, {
20656
20906
  id: string;
20657
20907
  name: string;
@@ -20661,8 +20911,8 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20661
20911
  methods?: {
20662
20912
  name: string;
20663
20913
  description: string;
20664
- signature: string;
20665
20914
  returns: string;
20915
+ signature: string;
20666
20916
  params?: {
20667
20917
  type: string;
20668
20918
  name: string;
@@ -20675,18 +20925,13 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20675
20925
  severity: "error" | "warning" | "notice";
20676
20926
  summary: string;
20677
20927
  }[] | undefined;
20678
- ext?: Record<string, unknown> | undefined;
20679
- invokedBy?: {
20680
- kind: "entry" | "runtime";
20681
- caller?: string | undefined;
20682
- scope?: "network" | "outside" | undefined;
20683
- } | undefined;
20684
20928
  previousNames?: string[] | undefined;
20685
20929
  signatureFrom?: string | undefined;
20686
20930
  endpoint?: {
20687
20931
  path: string;
20688
20932
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20689
20933
  transport: "HTTP";
20934
+ status?: number | undefined;
20690
20935
  } | {
20691
20936
  method: string;
20692
20937
  transport: "gRPC";
@@ -20696,9 +20941,9 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20696
20941
  transport: "GraphQL";
20697
20942
  operation: "query" | "mutation" | "subscription";
20698
20943
  } | {
20944
+ transport: "MessageBus";
20699
20945
  topic: string;
20700
20946
  event: string;
20701
- transport: "MessageBus";
20702
20947
  queue?: string | undefined;
20703
20948
  direction?: "subscribe" | "publish" | undefined;
20704
20949
  } | {
@@ -20718,23 +20963,29 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20718
20963
  address: string;
20719
20964
  } | undefined;
20720
20965
  guarantees?: string[] | undefined;
20721
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
20966
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
20967
+ invokedBy?: {
20968
+ kind: "entry" | "runtime";
20969
+ caller?: string | undefined;
20970
+ scope?: "network" | "outside" | undefined;
20971
+ } | undefined;
20972
+ ext?: Record<string, unknown> | undefined;
20722
20973
  formerly?: string[] | undefined;
20723
20974
  }[] | undefined;
20724
20975
  interface?: string | undefined;
20976
+ transport?: string | undefined;
20725
20977
  componentType?: string | undefined;
20726
20978
  details?: string | undefined;
20727
20979
  audience?: string | undefined;
20728
20980
  stability?: string | undefined;
20729
20981
  role?: string | undefined;
20730
- transport?: string | undefined;
20731
20982
  abi?: string | undefined;
20732
20983
  basePath?: string | undefined;
20733
20984
  auth?: {
20734
20985
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
20735
20986
  name?: string | undefined;
20736
20987
  description?: string | undefined;
20737
- in?: "header" | "query" | "cookie" | undefined;
20988
+ in?: "query" | "header" | "cookie" | undefined;
20738
20989
  bearerFormat?: string | undefined;
20739
20990
  authorizationUrl?: string | undefined;
20740
20991
  tokenUrl?: string | undefined;
@@ -20754,6 +21005,7 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
20754
21005
  description?: string | undefined;
20755
21006
  }[] | undefined;
20756
21007
  formerly?: string[] | undefined;
21008
+ retired?: string[] | undefined;
20757
21009
  }>;
20758
21010
  type SurfaceContractEntry = z.infer<typeof SurfaceContractEntrySchema>;
20759
21011
  /**
@@ -20838,14 +21090,17 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
20838
21090
  transport: z.ZodLiteral<"HTTP">;
20839
21091
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"]>;
20840
21092
  path: z.ZodString;
21093
+ status: z.ZodOptional<z.ZodNumber>;
20841
21094
  }, "strip", z.ZodTypeAny, {
20842
21095
  path: string;
20843
21096
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20844
21097
  transport: "HTTP";
21098
+ status?: number | undefined;
20845
21099
  }, {
20846
21100
  path: string;
20847
21101
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
20848
21102
  transport: "HTTP";
21103
+ status?: number | undefined;
20849
21104
  }>, z.ZodObject<{
20850
21105
  transport: z.ZodLiteral<"gRPC">;
20851
21106
  service: z.ZodString;
@@ -20877,15 +21132,15 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
20877
21132
  queue: z.ZodOptional<z.ZodString>;
20878
21133
  direction: z.ZodDefault<z.ZodEnum<["subscribe", "publish"]>>;
20879
21134
  }, "strip", z.ZodTypeAny, {
21135
+ transport: "MessageBus";
20880
21136
  topic: string;
20881
21137
  event: string;
20882
- transport: "MessageBus";
20883
21138
  direction: "subscribe" | "publish";
20884
21139
  queue?: string | undefined;
20885
21140
  }, {
21141
+ transport: "MessageBus";
20886
21142
  topic: string;
20887
21143
  event: string;
20888
- transport: "MessageBus";
20889
21144
  queue?: string | undefined;
20890
21145
  direction?: "subscribe" | "publish" | undefined;
20891
21146
  }>, z.ZodObject<{
@@ -20984,8 +21239,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
20984
21239
  }, "strip", z.ZodTypeAny, {
20985
21240
  name: string;
20986
21241
  description: string;
20987
- signature: string;
20988
21242
  returns: string;
21243
+ signature: string;
20989
21244
  params?: {
20990
21245
  type: string;
20991
21246
  name: string;
@@ -20998,18 +21253,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
20998
21253
  severity: "error" | "warning" | "notice";
20999
21254
  summary: string;
21000
21255
  }[] | undefined;
21001
- ext?: Record<string, unknown> | undefined;
21002
- invokedBy?: {
21003
- kind: "entry" | "runtime";
21004
- caller?: string | undefined;
21005
- scope?: "network" | "outside" | undefined;
21006
- } | undefined;
21007
21256
  previousNames?: string[] | undefined;
21008
21257
  signatureFrom?: string | undefined;
21009
21258
  endpoint?: {
21010
21259
  path: string;
21011
21260
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
21012
21261
  transport: "HTTP";
21262
+ status?: number | undefined;
21013
21263
  } | {
21014
21264
  method: string;
21015
21265
  transport: "gRPC";
@@ -21019,9 +21269,9 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21019
21269
  transport: "GraphQL";
21020
21270
  operation: "query" | "mutation" | "subscription";
21021
21271
  } | {
21272
+ transport: "MessageBus";
21022
21273
  topic: string;
21023
21274
  event: string;
21024
- transport: "MessageBus";
21025
21275
  direction: "subscribe" | "publish";
21026
21276
  queue?: string | undefined;
21027
21277
  } | {
@@ -21041,13 +21291,19 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21041
21291
  address: string;
21042
21292
  } | undefined;
21043
21293
  guarantees?: string[] | undefined;
21044
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
21294
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
21295
+ invokedBy?: {
21296
+ kind: "entry" | "runtime";
21297
+ caller?: string | undefined;
21298
+ scope?: "network" | "outside" | undefined;
21299
+ } | undefined;
21300
+ ext?: Record<string, unknown> | undefined;
21045
21301
  formerly?: string[] | undefined;
21046
21302
  }, {
21047
21303
  name: string;
21048
21304
  description: string;
21049
- signature: string;
21050
21305
  returns: string;
21306
+ signature: string;
21051
21307
  params?: {
21052
21308
  type: string;
21053
21309
  name: string;
@@ -21060,18 +21316,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21060
21316
  severity: "error" | "warning" | "notice";
21061
21317
  summary: string;
21062
21318
  }[] | undefined;
21063
- ext?: Record<string, unknown> | undefined;
21064
- invokedBy?: {
21065
- kind: "entry" | "runtime";
21066
- caller?: string | undefined;
21067
- scope?: "network" | "outside" | undefined;
21068
- } | undefined;
21069
21319
  previousNames?: string[] | undefined;
21070
21320
  signatureFrom?: string | undefined;
21071
21321
  endpoint?: {
21072
21322
  path: string;
21073
21323
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
21074
21324
  transport: "HTTP";
21325
+ status?: number | undefined;
21075
21326
  } | {
21076
21327
  method: string;
21077
21328
  transport: "gRPC";
@@ -21081,9 +21332,9 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21081
21332
  transport: "GraphQL";
21082
21333
  operation: "query" | "mutation" | "subscription";
21083
21334
  } | {
21335
+ transport: "MessageBus";
21084
21336
  topic: string;
21085
21337
  event: string;
21086
- transport: "MessageBus";
21087
21338
  queue?: string | undefined;
21088
21339
  direction?: "subscribe" | "publish" | undefined;
21089
21340
  } | {
@@ -21103,7 +21354,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21103
21354
  address: string;
21104
21355
  } | undefined;
21105
21356
  guarantees?: string[] | undefined;
21106
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
21357
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
21358
+ invokedBy?: {
21359
+ kind: "entry" | "runtime";
21360
+ caller?: string | undefined;
21361
+ scope?: "network" | "outside" | undefined;
21362
+ } | undefined;
21363
+ ext?: Record<string, unknown> | undefined;
21107
21364
  formerly?: string[] | undefined;
21108
21365
  }>, "many">>;
21109
21366
  /** The backing portal's capability dispatch table, when generic-dispatch. */
@@ -21158,7 +21415,7 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21158
21415
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
21159
21416
  name?: string | undefined;
21160
21417
  description?: string | undefined;
21161
- in?: "header" | "query" | "cookie" | undefined;
21418
+ in?: "query" | "header" | "cookie" | undefined;
21162
21419
  bearerFormat?: string | undefined;
21163
21420
  authorizationUrl?: string | undefined;
21164
21421
  tokenUrl?: string | undefined;
@@ -21174,7 +21431,7 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21174
21431
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
21175
21432
  name?: string | undefined;
21176
21433
  description?: string | undefined;
21177
- in?: "header" | "query" | "cookie" | undefined;
21434
+ in?: "query" | "header" | "cookie" | undefined;
21178
21435
  bearerFormat?: string | undefined;
21179
21436
  authorizationUrl?: string | undefined;
21180
21437
  tokenUrl?: string | undefined;
@@ -21212,6 +21469,14 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21212
21469
  abi: z.ZodOptional<z.ZodString>;
21213
21470
  /** The entry's export role, call (the default) or implement. */
21214
21471
  role: z.ZodOptional<z.ZodString>;
21472
+ /**
21473
+ * On a PINNED snapshot only: the method names an earlier pin of this entry
21474
+ * held that the producer has since removed (gone, and in no method's
21475
+ * `formerly`), carried forward while they stay absent — so a binding still
21476
+ * declaring a removed verb is told so. Provenance: no digest, no carried
21477
+ * fact and no drift comparison reads it; a fresh projection never has it.
21478
+ */
21479
+ retired: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21215
21480
  }, "strip", z.ZodTypeAny, {
21216
21481
  id: string;
21217
21482
  type: string;
@@ -21219,8 +21484,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21219
21484
  methods: {
21220
21485
  name: string;
21221
21486
  description: string;
21222
- signature: string;
21223
21487
  returns: string;
21488
+ signature: string;
21224
21489
  params?: {
21225
21490
  type: string;
21226
21491
  name: string;
@@ -21233,18 +21498,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21233
21498
  severity: "error" | "warning" | "notice";
21234
21499
  summary: string;
21235
21500
  }[] | undefined;
21236
- ext?: Record<string, unknown> | undefined;
21237
- invokedBy?: {
21238
- kind: "entry" | "runtime";
21239
- caller?: string | undefined;
21240
- scope?: "network" | "outside" | undefined;
21241
- } | undefined;
21242
21501
  previousNames?: string[] | undefined;
21243
21502
  signatureFrom?: string | undefined;
21244
21503
  endpoint?: {
21245
21504
  path: string;
21246
21505
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
21247
21506
  transport: "HTTP";
21507
+ status?: number | undefined;
21248
21508
  } | {
21249
21509
  method: string;
21250
21510
  transport: "gRPC";
@@ -21254,9 +21514,9 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21254
21514
  transport: "GraphQL";
21255
21515
  operation: "query" | "mutation" | "subscription";
21256
21516
  } | {
21517
+ transport: "MessageBus";
21257
21518
  topic: string;
21258
21519
  event: string;
21259
- transport: "MessageBus";
21260
21520
  direction: "subscribe" | "publish";
21261
21521
  queue?: string | undefined;
21262
21522
  } | {
@@ -21276,7 +21536,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21276
21536
  address: string;
21277
21537
  } | undefined;
21278
21538
  guarantees?: string[] | undefined;
21279
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
21539
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
21540
+ invokedBy?: {
21541
+ kind: "entry" | "runtime";
21542
+ caller?: string | undefined;
21543
+ scope?: "network" | "outside" | undefined;
21544
+ } | undefined;
21545
+ ext?: Record<string, unknown> | undefined;
21280
21546
  formerly?: string[] | undefined;
21281
21547
  }[];
21282
21548
  component: string;
@@ -21284,17 +21550,17 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21284
21550
  audience: string;
21285
21551
  version?: string | undefined;
21286
21552
  interface?: string | undefined;
21553
+ transport?: string | undefined;
21287
21554
  componentType?: string | undefined;
21288
21555
  stability?: string | undefined;
21289
21556
  role?: string | undefined;
21290
- transport?: string | undefined;
21291
21557
  abi?: string | undefined;
21292
21558
  basePath?: string | undefined;
21293
21559
  auth?: {
21294
21560
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
21295
21561
  name?: string | undefined;
21296
21562
  description?: string | undefined;
21297
- in?: "header" | "query" | "cookie" | undefined;
21563
+ in?: "query" | "header" | "cookie" | undefined;
21298
21564
  bearerFormat?: string | undefined;
21299
21565
  authorizationUrl?: string | undefined;
21300
21566
  tokenUrl?: string | undefined;
@@ -21314,6 +21580,7 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21314
21580
  description?: string | undefined;
21315
21581
  }[] | undefined;
21316
21582
  formerly?: string[] | undefined;
21583
+ retired?: string[] | undefined;
21317
21584
  }, {
21318
21585
  id: string;
21319
21586
  name: string;
@@ -21323,8 +21590,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21323
21590
  methods?: {
21324
21591
  name: string;
21325
21592
  description: string;
21326
- signature: string;
21327
21593
  returns: string;
21594
+ signature: string;
21328
21595
  params?: {
21329
21596
  type: string;
21330
21597
  name: string;
@@ -21337,18 +21604,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21337
21604
  severity: "error" | "warning" | "notice";
21338
21605
  summary: string;
21339
21606
  }[] | undefined;
21340
- ext?: Record<string, unknown> | undefined;
21341
- invokedBy?: {
21342
- kind: "entry" | "runtime";
21343
- caller?: string | undefined;
21344
- scope?: "network" | "outside" | undefined;
21345
- } | undefined;
21346
21607
  previousNames?: string[] | undefined;
21347
21608
  signatureFrom?: string | undefined;
21348
21609
  endpoint?: {
21349
21610
  path: string;
21350
21611
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
21351
21612
  transport: "HTTP";
21613
+ status?: number | undefined;
21352
21614
  } | {
21353
21615
  method: string;
21354
21616
  transport: "gRPC";
@@ -21358,9 +21620,9 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21358
21620
  transport: "GraphQL";
21359
21621
  operation: "query" | "mutation" | "subscription";
21360
21622
  } | {
21623
+ transport: "MessageBus";
21361
21624
  topic: string;
21362
21625
  event: string;
21363
- transport: "MessageBus";
21364
21626
  queue?: string | undefined;
21365
21627
  direction?: "subscribe" | "publish" | undefined;
21366
21628
  } | {
@@ -21380,23 +21642,29 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21380
21642
  address: string;
21381
21643
  } | undefined;
21382
21644
  guarantees?: string[] | undefined;
21383
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
21645
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
21646
+ invokedBy?: {
21647
+ kind: "entry" | "runtime";
21648
+ caller?: string | undefined;
21649
+ scope?: "network" | "outside" | undefined;
21650
+ } | undefined;
21651
+ ext?: Record<string, unknown> | undefined;
21384
21652
  formerly?: string[] | undefined;
21385
21653
  }[] | undefined;
21386
21654
  interface?: string | undefined;
21655
+ transport?: string | undefined;
21387
21656
  componentType?: string | undefined;
21388
21657
  details?: string | undefined;
21389
21658
  audience?: string | undefined;
21390
21659
  stability?: string | undefined;
21391
21660
  role?: string | undefined;
21392
- transport?: string | undefined;
21393
21661
  abi?: string | undefined;
21394
21662
  basePath?: string | undefined;
21395
21663
  auth?: {
21396
21664
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
21397
21665
  name?: string | undefined;
21398
21666
  description?: string | undefined;
21399
- in?: "header" | "query" | "cookie" | undefined;
21667
+ in?: "query" | "header" | "cookie" | undefined;
21400
21668
  bearerFormat?: string | undefined;
21401
21669
  authorizationUrl?: string | undefined;
21402
21670
  tokenUrl?: string | undefined;
@@ -21416,6 +21684,7 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21416
21684
  description?: string | undefined;
21417
21685
  }[] | undefined;
21418
21686
  formerly?: string[] | undefined;
21687
+ retired?: string[] | undefined;
21419
21688
  }>, "many">>;
21420
21689
  /** Transitive type closure of every exported signature and exported type — self-contained. */
21421
21690
  types: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -21510,8 +21779,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21510
21779
  description: z.ZodOptional<z.ZodString>;
21511
21780
  }, "strip", z.ZodTypeAny, {
21512
21781
  name: string;
21513
- signature: string;
21514
21782
  returns: string;
21783
+ signature: string;
21515
21784
  params?: {
21516
21785
  type: string;
21517
21786
  name: string;
@@ -21521,8 +21790,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21521
21790
  description?: string | undefined;
21522
21791
  }, {
21523
21792
  name: string;
21524
- signature: string;
21525
21793
  returns: string;
21794
+ signature: string;
21526
21795
  params?: {
21527
21796
  type: string;
21528
21797
  name: string;
@@ -21561,8 +21830,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21561
21830
  }[] | undefined;
21562
21831
  methods?: {
21563
21832
  name: string;
21564
- signature: string;
21565
21833
  returns: string;
21834
+ signature: string;
21566
21835
  params?: {
21567
21836
  type: string;
21568
21837
  name: string;
@@ -21590,8 +21859,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21590
21859
  }[] | undefined;
21591
21860
  methods?: {
21592
21861
  name: string;
21593
- signature: string;
21594
21862
  returns: string;
21863
+ signature: string;
21595
21864
  params?: {
21596
21865
  type: string;
21597
21866
  name: string;
@@ -21673,8 +21942,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21673
21942
  methods: {
21674
21943
  name: string;
21675
21944
  description: string;
21676
- signature: string;
21677
21945
  returns: string;
21946
+ signature: string;
21678
21947
  params?: {
21679
21948
  type: string;
21680
21949
  name: string;
@@ -21687,18 +21956,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21687
21956
  severity: "error" | "warning" | "notice";
21688
21957
  summary: string;
21689
21958
  }[] | undefined;
21690
- ext?: Record<string, unknown> | undefined;
21691
- invokedBy?: {
21692
- kind: "entry" | "runtime";
21693
- caller?: string | undefined;
21694
- scope?: "network" | "outside" | undefined;
21695
- } | undefined;
21696
21959
  previousNames?: string[] | undefined;
21697
21960
  signatureFrom?: string | undefined;
21698
21961
  endpoint?: {
21699
21962
  path: string;
21700
21963
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
21701
21964
  transport: "HTTP";
21965
+ status?: number | undefined;
21702
21966
  } | {
21703
21967
  method: string;
21704
21968
  transport: "gRPC";
@@ -21708,9 +21972,9 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21708
21972
  transport: "GraphQL";
21709
21973
  operation: "query" | "mutation" | "subscription";
21710
21974
  } | {
21975
+ transport: "MessageBus";
21711
21976
  topic: string;
21712
21977
  event: string;
21713
- transport: "MessageBus";
21714
21978
  direction: "subscribe" | "publish";
21715
21979
  queue?: string | undefined;
21716
21980
  } | {
@@ -21730,7 +21994,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21730
21994
  address: string;
21731
21995
  } | undefined;
21732
21996
  guarantees?: string[] | undefined;
21733
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
21997
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
21998
+ invokedBy?: {
21999
+ kind: "entry" | "runtime";
22000
+ caller?: string | undefined;
22001
+ scope?: "network" | "outside" | undefined;
22002
+ } | undefined;
22003
+ ext?: Record<string, unknown> | undefined;
21734
22004
  formerly?: string[] | undefined;
21735
22005
  }[];
21736
22006
  component: string;
@@ -21738,17 +22008,17 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21738
22008
  audience: string;
21739
22009
  version?: string | undefined;
21740
22010
  interface?: string | undefined;
22011
+ transport?: string | undefined;
21741
22012
  componentType?: string | undefined;
21742
22013
  stability?: string | undefined;
21743
22014
  role?: string | undefined;
21744
- transport?: string | undefined;
21745
22015
  abi?: string | undefined;
21746
22016
  basePath?: string | undefined;
21747
22017
  auth?: {
21748
22018
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
21749
22019
  name?: string | undefined;
21750
22020
  description?: string | undefined;
21751
- in?: "header" | "query" | "cookie" | undefined;
22021
+ in?: "query" | "header" | "cookie" | undefined;
21752
22022
  bearerFormat?: string | undefined;
21753
22023
  authorizationUrl?: string | undefined;
21754
22024
  tokenUrl?: string | undefined;
@@ -21768,6 +22038,7 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21768
22038
  description?: string | undefined;
21769
22039
  }[] | undefined;
21770
22040
  formerly?: string[] | undefined;
22041
+ retired?: string[] | undefined;
21771
22042
  }[];
21772
22043
  types: {
21773
22044
  id: string;
@@ -21793,8 +22064,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21793
22064
  }[] | undefined;
21794
22065
  methods?: {
21795
22066
  name: string;
21796
- signature: string;
21797
22067
  returns: string;
22068
+ signature: string;
21798
22069
  params?: {
21799
22070
  type: string;
21800
22071
  name: string;
@@ -21839,8 +22110,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21839
22110
  methods?: {
21840
22111
  name: string;
21841
22112
  description: string;
21842
- signature: string;
21843
22113
  returns: string;
22114
+ signature: string;
21844
22115
  params?: {
21845
22116
  type: string;
21846
22117
  name: string;
@@ -21853,18 +22124,13 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21853
22124
  severity: "error" | "warning" | "notice";
21854
22125
  summary: string;
21855
22126
  }[] | undefined;
21856
- ext?: Record<string, unknown> | undefined;
21857
- invokedBy?: {
21858
- kind: "entry" | "runtime";
21859
- caller?: string | undefined;
21860
- scope?: "network" | "outside" | undefined;
21861
- } | undefined;
21862
22127
  previousNames?: string[] | undefined;
21863
22128
  signatureFrom?: string | undefined;
21864
22129
  endpoint?: {
21865
22130
  path: string;
21866
22131
  method: "HEAD" | "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
21867
22132
  transport: "HTTP";
22133
+ status?: number | undefined;
21868
22134
  } | {
21869
22135
  method: string;
21870
22136
  transport: "gRPC";
@@ -21874,9 +22140,9 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21874
22140
  transport: "GraphQL";
21875
22141
  operation: "query" | "mutation" | "subscription";
21876
22142
  } | {
22143
+ transport: "MessageBus";
21877
22144
  topic: string;
21878
22145
  event: string;
21879
- transport: "MessageBus";
21880
22146
  queue?: string | undefined;
21881
22147
  direction?: "subscribe" | "publish" | undefined;
21882
22148
  } | {
@@ -21896,23 +22162,29 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21896
22162
  address: string;
21897
22163
  } | undefined;
21898
22164
  guarantees?: string[] | undefined;
21899
- effect?: "none" | "lifecycle" | "read" | "write" | "io" | undefined;
22165
+ effect?: "none" | "read" | "write" | "lifecycle" | "io" | undefined;
22166
+ invokedBy?: {
22167
+ kind: "entry" | "runtime";
22168
+ caller?: string | undefined;
22169
+ scope?: "network" | "outside" | undefined;
22170
+ } | undefined;
22171
+ ext?: Record<string, unknown> | undefined;
21900
22172
  formerly?: string[] | undefined;
21901
22173
  }[] | undefined;
21902
22174
  interface?: string | undefined;
22175
+ transport?: string | undefined;
21903
22176
  componentType?: string | undefined;
21904
22177
  details?: string | undefined;
21905
22178
  audience?: string | undefined;
21906
22179
  stability?: string | undefined;
21907
22180
  role?: string | undefined;
21908
- transport?: string | undefined;
21909
22181
  abi?: string | undefined;
21910
22182
  basePath?: string | undefined;
21911
22183
  auth?: {
21912
22184
  scheme: "custom" | "none" | "apiKey" | "bearer" | "basic" | "oauth2" | "openIdConnect";
21913
22185
  name?: string | undefined;
21914
22186
  description?: string | undefined;
21915
- in?: "header" | "query" | "cookie" | undefined;
22187
+ in?: "query" | "header" | "cookie" | undefined;
21916
22188
  bearerFormat?: string | undefined;
21917
22189
  authorizationUrl?: string | undefined;
21918
22190
  tokenUrl?: string | undefined;
@@ -21932,6 +22204,7 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21932
22204
  description?: string | undefined;
21933
22205
  }[] | undefined;
21934
22206
  formerly?: string[] | undefined;
22207
+ retired?: string[] | undefined;
21935
22208
  }[] | undefined;
21936
22209
  types?: {
21937
22210
  id: string;
@@ -21949,8 +22222,8 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
21949
22222
  }[] | undefined;
21950
22223
  methods?: {
21951
22224
  name: string;
21952
- signature: string;
21953
22225
  returns: string;
22226
+ signature: string;
21954
22227
  params?: {
21955
22228
  type: string;
21956
22229
  name: string;
@@ -22414,6 +22687,58 @@ declare const GroupSpecSchema: z.ZodObject<{
22414
22687
  description?: string | undefined;
22415
22688
  }>;
22416
22689
  type GroupSpec = z.infer<typeof GroupSpecSchema>;
22690
+ /** sdd_core::SpecRef — one spec addressed by its kind and id. */
22691
+ interface SpecRef {
22692
+ kind: 'system' | 'subsystem' | 'component' | 'interface' | 'implementation' | 'type';
22693
+ id: string;
22694
+ }
22695
+ /** sdd_core::SpecReference — one reference a spec holds to another: who holds it, where, and what it names. */
22696
+ interface SpecReference {
22697
+ kind: SpecRef['kind'];
22698
+ id: string;
22699
+ /** Where the reference sits, as a dotted path (dependsOn, publicInterfaces, methods.run.narrative.step 3). */
22700
+ position: string;
22701
+ target: SpecRef;
22702
+ }
22703
+ /** The specs of an index the two methods read; the L0 is not in a scan's index, so it is passed beside it. */
22704
+ interface SpecTreeIndex {
22705
+ subsystems: ReadonlyArray<SubsystemSpec>;
22706
+ components: ReadonlyArray<ComponentSpec>;
22707
+ interfaces: ReadonlyArray<InterfaceSpec>;
22708
+ implementations: ReadonlyArray<ImplementationSpec>;
22709
+ types: ReadonlyArray<TypeSpec>;
22710
+ }
22711
+ /**
22712
+ * spec_index.subtreeOf — every spec deleting this one takes with it, the spec
22713
+ * itself last and its content innermost first: an implementation is only
22714
+ * itself; a contract takes its implementations; a component takes its
22715
+ * contracts (each with its implementations) and the members it owns, each with
22716
+ * its own subtree; a subsystem takes its components and the types it owns.
22717
+ * Empty when no spec of the kind holds the id. A type is addressed by its id
22718
+ * or by `subsystem::id`.
22719
+ */
22720
+ declare function specIndexSubtreeOf(index: SpecTreeIndex, kind: SpecRef['kind'], id: string): SpecRef[];
22721
+ /**
22722
+ * spec_index.referencesTo — every reference a spec OUTSIDE the targets holds
22723
+ * to one of them, each with its position: a component's subsystem, owns,
22724
+ * dependsOn and dispatch; a contract's component and the head of a signature
22725
+ * source; an implementation's contract, a step's target and a declared call; a
22726
+ * subsystem's published interfaces, lifecycle entrypoints and trusted links;
22727
+ * the L0's export table; and every type position naming a target type by its
22728
+ * name or id. A reference from one target to another leaves with both.
22729
+ */
22730
+ declare function specIndexReferencesTo(index: SpecTreeIndex, targets: ReadonlyArray<SpecRef>, system?: SystemSpec | null): SpecReference[];
22731
+ /**
22732
+ * spec_index.methodReferencesTo — every reference a spec holds to one of the
22733
+ * named contract methods of `component`, each with its position: a call,
22734
+ * register or dispatch narrative step naming component and method, a declared
22735
+ * call `<component>.<method>`, a dispatch-table binding, a subsystem lifecycle
22736
+ * entrypoint, and a contract method taking its signature from it
22737
+ * (signatureFrom). Each target is the component's contract declaring the
22738
+ * method (the component itself when no contract of the index declares it).
22739
+ * What a removal of those methods would leave dangling. Pure.
22740
+ */
22741
+ declare function specIndexMethodReferences(index: SpecTreeIndex, component: string, methods: ReadonlyArray<string>): SpecReference[];
22417
22742
 
22418
22743
  /** identifier — one identifier as written: a spec id, a project id, an alias, or a method, parameter or field name. */
22419
22744
  type Identifier = string;
@@ -42272,7 +42597,7 @@ type DesignExport = z.infer<typeof DesignExportSchema>;
42272
42597
 
42273
42598
  declare const DEFAULT_TARGET_DIRS: Record<string, string>;
42274
42599
  declare function defaultTargetConfig(type: 'claude' | 'gemini' | 'agy' | 'cursor' | 'copilot' | 'codex'): BuiltinTargetConfig;
42275
- declare const WAIRON_VERSION = "5.1.1-dev.111";
42600
+ declare const WAIRON_VERSION = "5.1.1-dev.113";
42276
42601
  declare const GITHUB_REPO = "SYW-Apps/Waffle-AIron";
42277
42602
  declare const ARCHITECT_AGENT_ID = "agent-architect";
42278
42603
  declare const ARCHITECT_TEMPLATE_ID = "architect";
@@ -42500,6 +42825,8 @@ interface PromoteResult {
42500
42825
  pathsRebased: string[];
42501
42826
  /** One line per contract or type method whose stored signature text the respelling left stale and was re-derived. */
42502
42827
  signaturesRederived: string[];
42828
+ /** One line per external the new project declared for another project its moved specs name (a sibling of the family, or the parent's own external). */
42829
+ externalsDeclared?: string[];
42503
42830
  }
42504
42831
  /**
42505
42832
  * internalize_result — what internalizing a member did with each thing the
@@ -42522,8 +42849,9 @@ interface InternalizeResult {
42522
42849
  */
42523
42850
  consumersRestored: string[];
42524
42851
  /**
42525
- * Demote only: one line per contract or type method whose stored signature
42526
- * text the respelling back left stale and was re-derived from its params.
42852
+ * Internalize and demote: one line per contract or type method whose stored
42853
+ * signature text the respelling across the old boundary left stale and was
42854
+ * re-derived from its params.
42527
42855
  */
42528
42856
  signaturesRederived?: string[];
42529
42857
  }
@@ -42614,6 +42942,65 @@ interface ComponentRename {
42614
42942
  * (id-taken).
42615
42943
  */
42616
42944
  declare function renameComponent(componentId: string, newId: string, dryRun?: boolean): ComponentRename;
42945
+ /** What renaming one contract or implementation on its own changed (spec_id_rename). */
42946
+ interface SpecIdRename {
42947
+ /** interface or implementation. */
42948
+ kind: WritableSpecKind;
42949
+ /** The spec with its old and new id. */
42950
+ renamed: SpecRename[];
42951
+ /** Ids of the other specs whose references to the renamed id were rewritten. */
42952
+ rewritten: string[];
42953
+ /** Every edit the rename made to the debt register. */
42954
+ carried: CarriedRekey[];
42955
+ /** The export entries whose public name derived from the renamed contract's id: `as` written, the published name kept. */
42956
+ keptPublicNames: string[];
42957
+ /** True when this report is a dry run: nothing was written. */
42958
+ dryRun?: boolean;
42959
+ }
42960
+ /** What moving a component or a type to another subsystem changed (spec_move). */
42961
+ interface SpecMove {
42962
+ /** component or type. */
42963
+ kind: WritableSpecKind;
42964
+ /** The moved spec's id. */
42965
+ id: string;
42966
+ /** The subsystem it lived in; empty for a system-level type. */
42967
+ from: string;
42968
+ /** The subsystem it lives in now; empty for a type made system-level. */
42969
+ to: string;
42970
+ /** Every spec the move relocated: the addressed spec, the members it owns, their contracts and implementations. */
42971
+ moved: SpecRef[];
42972
+ /** Ids of the other specs whose references were rewritten to follow the move. */
42973
+ rewritten: string[];
42974
+ /** What the authoring gate said of the moved specs: a curable boundary finding the move introduces. */
42975
+ notices: string[];
42976
+ /** True when this report is a dry run: nothing was written. */
42977
+ dryRun?: boolean;
42978
+ }
42979
+ /**
42980
+ * core_orchestrator.renameSpecId — rename one contract or one implementation
42981
+ * on its own and every reference to it: an implementation's contract and an
42982
+ * export entry's interface (a public name derived from the old id kept with
42983
+ * `as`), lint allows and debt-register entries keyed on it. The spec moves to
42984
+ * its new id and file beside its owner, its old id in its rename trace.
42985
+ * Every refusal happens before the first write; a dry run writes nothing.
42986
+ */
42987
+ declare function renameSpecId(kind: WritableSpecKind, id: string, newId: string, dryRun?: boolean): SpecIdRename;
42988
+ /**
42989
+ * core_orchestrator.moveSpec — move a component or a type to another
42990
+ * subsystem of the bound project with everything that follows it. Ids never
42991
+ * change, so references by id stay; what names the OLD subsystem follows. A
42992
+ * dry run answers the plan and writes nothing; every refusal happens first.
42993
+ */
42994
+ declare function moveSpec(kind: WritableSpecKind, id: string, subsystem?: string, dryRun?: boolean): SpecMove;
42995
+ /**
42996
+ * core_orchestrator.publishedUsesOf — every public name of the bound
42997
+ * project's export tables a consumer reaches something a removal takes away
42998
+ * through, with the members carrying it: a removed component's or contract's
42999
+ * entries (all its methods), a removed type's carriers, and each removed
43000
+ * contract method's publishing entries and forwarding verbs. Read before the
43001
+ * removal; writes nothing.
43002
+ */
43003
+ declare function publishedUsesOf(removed: SpecRef[], methods: string[]): ExportUse[];
42617
43004
  /** What renaming a contract method changed (method_rename). */
42618
43005
  interface MethodRename {
42619
43006
  /** The component whose method was renamed. */
@@ -42672,6 +43059,8 @@ interface TypeRename {
42672
43059
  rewritten: string[];
42673
43060
  /** The export entries (L0 and L1) that exported the type without an `as`: the rename wrote `as: <old name>` on them. */
42674
43061
  keptPublicNames: string[];
43062
+ /** Every public name a consumer reaches the type through: an exported type that is or embeds it (member `type`), an exported contract whose methods name one in their signature closure (those methods). */
43063
+ publishedIn: ExportUse[];
42675
43064
  /** Every edit the rename made to the debt register: an entry anchored on the type. */
42676
43065
  carried: CarriedRekey[];
42677
43066
  /** True when this report is a dry run: nothing was written. */
@@ -42726,8 +43115,12 @@ interface ParamRename {
42726
43115
  movedIn: string[];
42727
43116
  /** The endpoint path placeholders respelled, `<interface>.<method>: {old} -> {new}` — the method's own bindings and every follower's that takes its signature through signatureFrom. */
42728
43117
  rewritten: string[];
42729
- /** The public names of the export entries (L0 and L1) whose contract carries the method. */
43118
+ /** The public names of the export entries (L0 and L1) carrying the method — its own contract's, and every follower's that takes its signature. */
42730
43119
  publishedIn: string[];
43120
+ /** publishedIn method-granular: each public name with the verbs a consumer calls the method by there, their former names carried. */
43121
+ published?: ExportUse[];
43122
+ /** The method asked for, `<component>.<method>`, when it forwards its signature and the rename was made on its source. */
43123
+ routedFrom?: string;
42731
43124
  /** True when this report is a dry run: nothing was written. */
42732
43125
  dryRun?: boolean;
42733
43126
  /** The consumers whose specs call the method on one of publishedIn: the ones that must follow. Filled by the caller that read them. */
@@ -43802,6 +44195,8 @@ interface SurfaceExportResult {
43802
44195
  /** EVERY written path. A multi-portal openapi export with no portal selection
43803
44196
  * writes one file per portal, so callers can report all of them. */
43804
44197
  writtenPaths?: string[];
44198
+ /** The type names a rendered OpenAPI document still reads as `Unresolved type`, sorted; absent when every one resolved. */
44199
+ unresolvedTypes?: string[];
43805
44200
  }
43806
44201
 
43807
44202
  declare function exportSurface(maxAudience: string, format: string, outPath?: string, portalId?: string): SurfaceExportResult;
@@ -43841,4 +44236,4 @@ declare function schemaFingerprint(): string;
43841
44236
  */
43842
44237
  declare function loadProjectConfig(): ProjectConfig;
43843
44238
 
43844
- export { AI_PATHS, ARCHITECT_AGENT_ID, ARCHITECT_TEMPLATE_ID, type AgentBrief, AgentBriefSchema, type AgentRecord, AgentRecordSchema, type AgentStatus, AgentStatusSchema, type AgentTemplate, AgentTemplateSchema, type AnalysisGrade, type ApiKeyLocation, ApiKeyLocationSchema, type ApprovalDiff, type ApprovalVerdict, type ApprovedRevision, type ArchProfile, type AuthoredReference, BACKEND_COMMANDS, BUILTIN_PROFILES, type BoundaryItem, BoundaryItemSchema, type BuildContextOptions, type BuiltinTarget, type BuiltinTargetConfig, BuiltinTargetConfigSchema, BuiltinTargetSchema, BundleNotFoundError, type CallSiteFact, type CallTargetFact, type CarriedDebt, type CarriedDebtKind, CarriedDebtKindSchema, CarriedDebtSchema, type CarriedFinding, type CarriedFindingEntry, CarriedFindingSchema, type CatchClause, CatchClauseSchema, ChainingMigrationRefusedError, ClaudeExporter, type ClaudeExporterOptions, type CodeIndex, type CodeModel, type ComplexityRuleConfig, ComplexityRuleConfigSchema, type ComponentPlacement, type ComponentRename, type ComponentSpec, ComponentSpecSchema, type ComponentType, ComponentTypeSchema, type CompositionConfig, CompositionConfigSchema, ConfigValidationError, type ConformanceRuleConfig, ConformanceRuleConfigSchema, type ConformanceTier, ConformanceTierSchema, type CrossProjectReference, CustomExporter, type CustomTarget, type CustomTargetConfig, CustomTargetConfigSchema, CustomTargetSchema, DEFAULT_TARGET_DIRS, DESIGN_APPROVALS, DESIGN_DEPENDENCY_ROLES, DESIGN_FORMAT, DESIGN_FORMAT_VERSION, DESIGN_VIEW_FIELDS, type DatabaseSpec, DatabaseSpecSchema, type DeclarativePack, type DeclaredCall, type DeclaredExternal, type DeclaredInvocation, DeclaredInvocationSchema, type DeclaredMember, type DependencyClass, DependencyClassSchema, type DependencyEdge, type DependencyEdges, type DesignApproval, DesignApprovalSchema, type DesignComponent, DesignComponentSchema, type DesignDependency, type DesignDependencyRole, DesignDependencyRoleSchema, DesignDependencySchema, type DesignDepth, DesignDepthSchema, type DesignExport, type DesignExportEntry, DesignExportEntrySchema, DesignExportSchema, type DesignField, DesignFieldSchema, type DesignImplementation, DesignImplementationSchema, type DesignInterface, DesignInterfaceSchema, type DesignMethod, type DesignMethodBody, DesignMethodBodySchema, DesignMethodSchema, type DesignParam, DesignParamSchema, type DesignProject, DesignProjectSchema, type DesignSource, DesignSourceSchema, type DesignSubsystem, DesignSubsystemSchema, type DesignType, type DesignTypeRef, DesignTypeRefSchema, DesignTypeSchema, type DetectedDomainCandidate, type DiagramConfig, DiagramConfigSchema, type DiagramLineStyle, DiagramLineStyleSchema, type DiagramView, DiagramViewSchema, type DispatchBinding, DispatchBindingSchema, type DisplayName, DisplayNameSchema, DoctorOptionsError, type DocumentationRuleConfig, DocumentationRuleConfigSchema, type Domain, DomainSchema, type DomainType, DomainTypeSchema, type Durability, DurabilitySchema, EXTERNAL_ALIAS_RE, EXTERNAL_SOURCE_FORMS, type EdgeReach, type Endpoint, EndpointSchema, type EndpointTransport, type EntryScope, EntryScopeSchema, type EnumValue, EnumValueSchema, type EventBinding, EventBindingSchema, type ExportAliasFact, type ExportContext, type ExportKind, type ExportProblem, type ExportProblemKind, type ExportResult, type ExportRole, ExportRoleSchema, type ExportTableLevel, type ExportUsage, type ExportUse, type Exporter, type ExtData, ExtDataSchema, type ExtensionPack, type ExternalAddition, type ExternalBinding, type ExternalConsumer, type ExternalDeclaration, ExternalDeclarationSchema, type ExternalLink, ExternalLinkSchema, type ExternalLinkType, ExternalLinkTypeSchema, type ExternalListing, type ExternalLockEntry, ExternalLockEntrySchema, type ExternalPin, type ExternalPinOutcome, type ExternalRelation, type ExternalRemoval, type ExternalRemovalPlan, type ExternalRequest, type ExternalRole, type ExternalSource, type ExternalSourceKind, ExternalSourceSchema, type ExternalStatus, type ExternalUseChange, type ExternalUseRequest, type ExternalUseState, type ExternalUseStatus, type ExternalsLock, ExternalsLockSchema, FULL_COMMIT_RE, type FamilyProblemKind, type FamilySwitches, FieldNameSchema, type FieldRename, type FieldRenameReading, type FindingDeclaration, FindingDeclarationSchema, type FindingParts, type ForeignFieldRepair, type ForwardedName, type FunctionBodyFact, GITHUB_REPO, GeminiExporter, type GenerateOptions, type GenerateSummary, type GroupSpec, GroupSpecSchema, type Guarantee, GuaranteeSchema, HOLDABLE_PRIMITIVES, type HostedRecordLookup, type HttpMethod, HttpMethodSchema, INVISIBLE_CHARACTERS, type Identifier, type IdentifierKind, type ImplementationSpec, ImplementationSpecSchema, type ImportBindingFact, type ImportGraph, type ImportSection, type InstalledPack, type InterfaceSpec, InterfaceSpecSchema, type InternalizeDestination, type InternalizeResult, type Invariant, InvariantSchema, type InvocationKind, InvocationKindSchema, type IssueSeverity, type LegacySpecFile, type LifecycleEntrypoint, LifecycleEntrypointSchema, type LifecyclePhase, LifecyclePhaseSchema, type LintAllow, LintAllowSchema, type LintConfig, LintConfigSchema, type LoadedExtensions, type LoadedPackSkill, type LockRecord, LockRecordUnreadableError, type LockStatus, type LogLevel, type LoopKind, LoopKindSchema, MAX_IDENTIFIER_LENGTH, MAX_SPEC_ID_LENGTH, type MemberAdvance, type MemberCreation, type MemberDeclaration, MemberDeclarationSchema, type MemberKind, type MemberPin, type MemberSource, type MemberStorage, type MethodEffect, MethodEffectSchema, type MethodImplementation, MethodImplementationSchema, type MethodLike, MethodNameSchema, type MethodParam, MethodParamSchema, type MethodRename, type MethodSignature, MethodSignatureSchema, type ModelledCall, type ModuleImports, type MountForm, type NamedOpenApiSpec, NamedOpenApiSpecSchema, type NamingRuleConfig, NamingRuleConfigSchema, type NarrativeDetail, NarrativeDetailSchema, type NarrativeStep, NarrativeStepSchema, type NarrativeStepType, NarrativeStepTypeSchema, type NetworkBoundary, type NetworkDeclaration, NetworkDeclarationSchema, NetworkOptionsError, type OAuthFlow, OAuthFlowSchema, type OutputTarget, OutputTargetSchema, type OwnershipIndex, PATTERN_TYPES, PRIMITIVE_TYPES, PROJECT_ID_RE, PROJECT_KINDS, PUBLIC_NAME_RE, type PackDiagnosis, type PackEntry, type PackPath, type PackRef, type PackRequirement, PackRequirementSchema, type PackScope, type PackSelection, PackSelectionSchema, type ParallelBranch, ParallelBranchSchema, ParamNameSchema, type ParamRename, type ParameterFact, type ParentExcerpt, ParentExcerptSchema, type ParsedMemberSource, type PartOf, PartOfSchema, type PathsConfig, PathsConfigSchema, type PatternRef, PatternRefSchema, type PinnedExternal, type PinnedParent, type PortalAuth, PortalAuthSchema, type PortalAuthScheme, PortalAuthSchemeSchema, PreviousIdsSchema, PreviousNamesSchema, ProfileSelectionSubjectSchema, type ProjectBinding, type ProjectBindingVia, type ProjectConfig, ProjectConfigSchema, type ProjectFamily, type ProjectFamilyProblem, type ProjectIdOrigin, type ProjectIdSource, type ProjectIdentity, type ProjectIdentityProblem, type ProjectImport, type ProjectNode, ProjectNotInitializedError, type ProjectProfileSelection, ProjectProfileSelectionSchema, type ProjectRelations, type PromoteResult, type PublicInterface, PublicInterfaceSchema, type PublicInterfaceType, PublicInterfaceTypeSchema, RETIRED_INVOCATION_KINDS, RETIRED_PORTAL_TYPE_SPELLINGS, RETIRED_STEREOTYPES, type ReachFinding, type ReachModel, type ReachRewrite, type ReachabilityMigrationPlan, type ReadExternalSource, type ReadableProject, type RealizationIndex, type ReexportBindingFact, type ReferenceBinding, type ReferenceEdit, type ReferenceForm, type ReferenceLanding, type ReferenceResolution, type Registry, RegistrySchema, type RelationHealth, type RenameTraceHolders, type RequirementItem, RequirementItemSchema, type ResolutionOutcome, type ResolvedBody, type ResolvedCallFact, type ResolvedDetail, type ResolvedExport, type ResolvedExportTable, type ResolvedExternal, ResolvedInterfaceSpecSchema, type ResolvedMethod, ResolvedMethodSignatureSchema, ResolvedTypeMethodSchema, ResolvedTypeSpecSchema, type RetiredMount, type RetiredReachFact, type RetiredReachForm, RetiredReachFormSchema, type RetiredReachHolder, type RouteFact, type RuleCode, type RuleContext, type RuleJudgement, type RuleScope, type RulesConfig, RulesConfigSchema, SCAN_EXCLUDE_DIRS, SDD_RULES, SEMANTIC_GUARANTEES, STEP_COMMON_FIELDS, STEP_LABEL_TWINS, STEP_TYPE_FIELDS, SUPPORTED_ALIASES, SURFACE_AUDIENCES, type ScopeFilterOptions, type SddRule, type Severity, type ShapeMemberFact, type ShapeOrigin, type SignatureFacts, type SignatureResolution, type SignatureSourceFact, type SignatureTextRepair, type SourceFileFacts, type SourceFileStatus, type SpecId, type SpecIdKind, SpecIdSchema, type SpecIndex, type SpecScanOptions, type SpecStatus, SpecStatusSchema, type SpecialistRetirement, type SpecialistRetype, type StaleSignatureText, type StateId, type StatusDecor, type StatusOptions, type StatusReport, type StepConfigCode, type StepConfigProblem, type StepConfigVerdict, type StepGraph, type StoredInterfaceSpec, type StoredMethodSignature, StoredMethodSignatureSchema, type StoredTypeMethod, StoredTypeMethodSchema, type StoredTypeSpec, type SubsystemSpec, SubsystemSpecSchema, type SubsystemWriteRule, type SupportedAlias, type SurfaceAudience, SurfaceAudienceSchema, type SurfaceChange, type SurfaceChangeKind, type SurfaceContractEntry, SurfaceContractEntrySchema, type SurfaceOrigin, SurfaceOriginSchema, type SurfaceRefResolution, type SurfaceSnapshot, SurfaceSnapshotSchema, type SurfaceTypeDef, SurfaceTypeDefSchema, type SurfaceTypeExport, SurfaceTypeExportSchema, type SurfaceUnresolvedExport, SurfaceUnresolvedExportSchema, type SwitchCase, SwitchCaseSchema, type SyncResult, type SystemPublicInterface, SystemPublicInterfaceSchema, type SystemSpec, SystemSpecSchema, TECHNOLOGY_PACKAGES, type TargetConfig, TargetConfigSchema, type Technology, TechnologySchema, type Template, TemplateNotFoundError, TemplateSchema, type TopicEnd, type TopologyConfig, TopologyConfigSchema, type TracedRename, type Transport, type TransportKind, TransportKindSchema, TransportSchema, type TreeExportResult, type TreeImportOptions, type TreeImportResult, type TrustedLink, TrustedLinkSchema, type TypeCanonicalization, type TypeDialect, type TypeEnumProposal, type TypeExpression, type TypeExpressionProblem, TypeExpressionSchema, type TypeField, TypeFieldSchema, type TypeForm, type TypeKind, TypeKindSchema, type TypeMethod, TypeMethodSchema, type TypeParse, type TypePosition, type TypeProblemCode, type TypeRename, type TypeRespelling, type TypeShapeFact, type TypeSpec, TypeSpecSchema, type TypeSpellingFacts, type TypeSpellingRepair, type TypedSpecKind, USE_ENTRY_RE, type VerbReach, WAIRON_MANAGED_BANNER, WAIRON_MANAGED_MARKER, WAIRON_VERSION, WINDOWS_RESERVED_NAME_RE, type WaiPaths, WaironError, type WriteReach, YamlSyntaxError, activeTargetTypes, addDomain, admits, advanceMember, aiDir, aiDirAt, aiPathsAt, aliasGrammarProblem, aliasTargetOf, ambiguityMessage, approvalKeyIn, approvalRecord, approvalVerdict, approvedRevision, approvedStatuses, asSchemaReads, assertContainedProjectPath, assertProjectInitialized, attachRetiredMounts, backendCommand, backfillChainedSubprojectConfigs, backupBeside, bindDeclaredExternal, bodySitesOf, buildCanvasDataModel, buildProjectGraph, buildRuleContext, builtinProfileIds, builtinProjectKinds, callSitesOf, callersOf, canonicalTypeRef, canonicalTypeText, captureApprovedSpecs, carriedFactChanges, carryRetiredReachForms, checkDeclarativePack, clearLoaderIssues, cognitiveScore, complexityLevel, componentDesignView, componentEntryFor, composeAgentBrief, composeRuleSequence, computeGateStateId, computeOwnDesignStateId as computeOwnDesignId, computeOwnDesignStateIdAsRecorded as computeOwnDesignIdAsRecorded, computeOwnStateId, computeStateId, computeStateIdAt, conceptNoun, consumedContractInputs, consumerReaches, containedPathOf, contentDigest, createAgentRecord, createEmptyRegistry, createEmptyTopologyConfig, createMember, createProjectConfig, currentRootBinding, declareExternal, declareMember, declaredExternals, declaredMembers, declaredPackNames, declaredProfileIds, declares, declaresGlobalPacks, defaultConformanceTier, defaultNarrativeDetail, defaultPackSelections, defaultTargetConfig, deleteSpec, demoteMember, dependencyCycles, deregisterPackRef, deriveExecutionProfile, deriveMethodSignature, deriveTypeSignature, derivedDocPaths, describeProject, detectDomainCandidates, diagnoseProjectPacks, diagramSetIndex, dialectOf, diffAgainstApproval, diffSize, discoverPacks, displayNameProblem, dryRunSerializeSpecs, effectiveDetail, effectiveProjectId, emptyExtensions, emptyTypeSpellingFacts, enclosing, ensureDir, ensureProjectInitialized, excerpt as excerptParent, exportDesign, exportSpecTree, exportSurface, exportTargetKey, exportUsage, externalizeSubsystem, extractTypeIdentifiers, factsFor, familyApprovals, familyNode, familyRelations, fieldRenames, fieldRenamesSince, fieldTypeRefs, fieldTypesOf, findChainingParent, findChainingSubprojectsMissingConfig, findLegacySpecFiles, findOrphanedSpecFiles, findProjectRoot, findSystemRoot, findTestsReferencing, fitsMethodCasing, fromProjectRoot, generateAgent, generateAll, generateComponentDiagram, generateDiagramSet, generateSequenceDiagram, getExporter, getExternalsStatus, getHostedLookup, getLoaderIssues, getProjectRoot, getProjectRootOverride, getRequestParentReach, getRequestProjectRoot, getSnapshot, getStatusReport, getWriteReach, globalGuideFilePath, globalPacksDir, globalPacksEnabled, globalTemplatesDir, hasContext, hasFunctionBody, headNoun, holdsState, identifierProblem, implementationDesignView, implementationSourceFiles, importBindingOf, importNames, importSpecTree, importSurface, injectGuide, installPackFromDirectory, interfaceCanonicalTypes, interfaceDesignView, interfaceGenericParameters, internalizeMember, isDraftSubsystem, isInProcessAddress, isLogic, isOutsideRoot, isOwnComponentEntry, isPart, isPattern, isProjectInitialized, isProvidedBy, isRetired, isSilent, isTypeVocabulary, isWindowsReservedName, judgesCode, keyIn, landReference, languageOfSourcePath, lineEndingFor, listDirectChainedSubprojects, listConsumers as listExternalConsumers, listExternals, listFiles, listFilesRecursive, listInstalledPacks, listPinnedExternals, listRules, listSnapshots, loadComponentSpec, loadComponentSpecs, loadExtensionPacks, loadExtensions, loadFor as loadExtensionsFor, loadImplementationSpec, loadImplementationSpecs, loadInterfaceSpec, loadInterfaceSpecs, loadProjectConfig, loadProjectExtensions, loadProjectVariants, loadRegistry, loadSpec, loadSpecGraph, loadSubsystemSpec, loadSubsystemSpecs, loadSystemSpec, loadTopologyConfig, loadTypeSpec, loadTypeSpecs, localApprover, localGuideFilePath, localTypesOf, logger, makeScopeFilter, markSelectionsBundled, matchTypeRef, measurePackDoctrine, measurePackImpact, memberDeclarationOf, memberDigest, memberLocationOf, memberTypesOf, methodCasingFor, methodGenericParameters, methodSourceFile, methodTypeRefs, migrate as migrateReachability, moveMember, moveMethods, moveMountToMembers, nameKey, namesAnInteger, narrativeStepForeignFields, narrowedToMember, narrowedToUses, normalizeReferences, ownerOf, packDirEntry, packEntryLabel, packEntryRef, manifestOf as packManifest, packStoreDir, parseDeclarativePack, parseDeclaredCall, parseMemberSource, parseTypeExpression, parseTypePosition, parseYaml, passesIntentFloor, pathExists, pathKey, pinExternals, pinnedParent, producerOf, projectConfigExists, graph as projectFamily, projectIdentity, promoteMember, provisionProject, qualifiedTypeId, rangeProblem, readCodeAnnotation, readExternalSource, readFileOrNull, readJsonFile, readLockRecord, readLockState, readRetiredReachForms, readStampVersion, readYamlFile, recordProfileSelection, reexpress, registerExporter, registerPackRef, registerProjectServer, reinjectLocalGuides, relationHealth, removeDomain, removeExternal, removeMember, removePackSelection, removeSnapshot, renameAlias, renameComponent, renameField, renameProjectId as renameId, renameMethod, renameParam, renameType, renderDiagram, repairForeignStepFields, repairSignatures, repairTypeSpellings, repointExternal, requiredPolicies, reservedWordProblem, resolveAgentTopology, resolveBudget, resolveChainingParent, resolveDomains, resolveExpectedOutputPaths, resolveCandidate as resolveExternalCandidate, resolveDeclared as resolveExternals, resolveImport, resolveInstalledPack, resolveProjectBinding, resolveProjectExports, resolveSignatures, resolveSubprojectForNamespace, resolveSubsystemExports, resolveVariantGuidance, retireSpecialists, retiredInvocationReadAs, retiredMountsOf, retiredReachFacts, returnTypeOf, rewriteReferences, runWithHostedLookup, runWithProjectBinding, runWithProjectRoot, sameContract, saveSpec, saveTopologyConfig, scanAllSpecs, schemaFingerprint, seedDemoTree, selectsFamily, serializeYaml, setExecutionTier, setProjectId as setId, setLogLevel, setNetwork, setProjectRoot, setProjectType, settledSpecPaths, signatureFacts, signatureTypeRefs, specIndexRetiredBy, specPathsInScope, splitNamespace, staleDerivedDocs, stepConfigVerdict, stepFieldsFor, stepGraph, storedMethodSignature, storedTypeMethod, subsystemDesignView, surfaceChanges, syncContextFiles, technologyName, technologyPackages, technologyTokens, toMarkdown, transportExportKind, transportKind, transportRequiresEndpoint, typeBindingOf, typeCanonicalTypes, typeDesignView, typeDialectFor, typeGenericParameters, typeIsMany, typeMappingFor, typeMatchesRef, typeNamedRefs, typeProblemEnumProposal, typeProblemIntProposal, typeSourceFiles, typeSpellingFacts, uninstallPack, updateMember, updateSpec, upsertPackSelection, validateAsComplete, validateComponentCandidate, validateFamily, validateProject, validateProjectConfig, validateRegistry, withLineEndings, withPack, writeFile, writeFileIfChanged, writeJsonFile, writeLockRecord, writeReachDenials, writeReachPermits, writeRootGuideDelegator, writeYamlFile, writtenTypeRefs };
44239
+ export { AI_PATHS, ARCHITECT_AGENT_ID, ARCHITECT_TEMPLATE_ID, type AgentBrief, AgentBriefSchema, type AgentRecord, AgentRecordSchema, type AgentStatus, AgentStatusSchema, type AgentTemplate, AgentTemplateSchema, type AnalysisGrade, type ApiKeyLocation, ApiKeyLocationSchema, type ApprovalDiff, type ApprovalVerdict, type ApprovedRevision, type ArchProfile, type AuthoredReference, BACKEND_COMMANDS, BUILTIN_PROFILES, type BoundaryItem, BoundaryItemSchema, type BuildContextOptions, type BuiltinTarget, type BuiltinTargetConfig, BuiltinTargetConfigSchema, BuiltinTargetSchema, BundleNotFoundError, type CallSiteFact, type CallTargetFact, type CarriedDebt, type CarriedDebtKind, CarriedDebtKindSchema, CarriedDebtSchema, type CarriedFinding, type CarriedFindingEntry, CarriedFindingSchema, type CatchClause, CatchClauseSchema, ChainingMigrationRefusedError, ClaudeExporter, type ClaudeExporterOptions, type CodeIndex, type CodeModel, type ComplexityRuleConfig, ComplexityRuleConfigSchema, type ComponentPlacement, type ComponentRename, type ComponentSpec, ComponentSpecSchema, type ComponentType, ComponentTypeSchema, type CompositionConfig, CompositionConfigSchema, ConfigValidationError, type ConformanceRuleConfig, ConformanceRuleConfigSchema, type ConformanceTier, ConformanceTierSchema, type CrossProjectImportFact, type CrossProjectReference, CustomExporter, type CustomTarget, type CustomTargetConfig, CustomTargetConfigSchema, CustomTargetSchema, DEFAULT_TARGET_DIRS, DESIGN_APPROVALS, DESIGN_DEPENDENCY_ROLES, DESIGN_FORMAT, DESIGN_FORMAT_VERSION, DESIGN_VIEW_FIELDS, type DatabaseSpec, DatabaseSpecSchema, type DeclarativePack, type DeclaredCall, type DeclaredExternal, type DeclaredInvocation, DeclaredInvocationSchema, type DeclaredMember, type DependencyClass, DependencyClassSchema, type DependencyEdge, type DependencyEdges, type DesignApproval, DesignApprovalSchema, type DesignComponent, DesignComponentSchema, type DesignDependency, type DesignDependencyRole, DesignDependencyRoleSchema, DesignDependencySchema, type DesignDepth, DesignDepthSchema, type DesignExport, type DesignExportEntry, DesignExportEntrySchema, DesignExportSchema, type DesignField, DesignFieldSchema, type DesignImplementation, DesignImplementationSchema, type DesignInterface, DesignInterfaceSchema, type DesignMethod, type DesignMethodBody, DesignMethodBodySchema, DesignMethodSchema, type DesignParam, DesignParamSchema, type DesignProject, DesignProjectSchema, type DesignSource, DesignSourceSchema, type DesignSubsystem, DesignSubsystemSchema, type DesignType, type DesignTypeRef, DesignTypeRefSchema, DesignTypeSchema, type DetectedDomainCandidate, type DiagramConfig, DiagramConfigSchema, type DiagramLineStyle, DiagramLineStyleSchema, type DiagramView, DiagramViewSchema, type DispatchBinding, DispatchBindingSchema, type DisplayName, DisplayNameSchema, DoctorOptionsError, type DocumentationRuleConfig, DocumentationRuleConfigSchema, type Domain, DomainSchema, type DomainType, DomainTypeSchema, type Durability, DurabilitySchema, EXTERNAL_ALIAS_RE, EXTERNAL_SOURCE_FORMS, type EdgeReach, type Endpoint, EndpointSchema, type EndpointTransport, type EntryScope, EntryScopeSchema, type EnumValue, EnumValueSchema, type EventBinding, EventBindingSchema, type ExportAliasFact, type ExportContext, type ExportKind, type ExportProblem, type ExportProblemKind, type ExportResult, type ExportRole, ExportRoleSchema, type ExportTableLevel, type ExportUsage, type ExportUse, type Exporter, type ExtData, ExtDataSchema, type ExtensionPack, type ExternalAddition, type ExternalBinding, type ExternalConsumer, type ExternalDeclaration, ExternalDeclarationSchema, type ExternalLink, ExternalLinkSchema, type ExternalLinkType, ExternalLinkTypeSchema, type ExternalListing, type ExternalLockEntry, ExternalLockEntrySchema, type ExternalPin, type ExternalPinOutcome, type ExternalRelation, type ExternalRemoval, type ExternalRemovalPlan, type ExternalRequest, type ExternalRole, type ExternalSource, type ExternalSourceKind, ExternalSourceSchema, type ExternalStatus, type ExternalUseChange, type ExternalUseRequest, type ExternalUseState, type ExternalUseStatus, type ExternalsLock, ExternalsLockSchema, FULL_COMMIT_RE, type FamilyProblemKind, type FamilySwitches, FieldNameSchema, type FieldRename, type FieldRenameReading, type FindingDeclaration, FindingDeclarationSchema, type FindingParts, type ForeignFieldRepair, type ForwardedName, type FunctionBodyFact, GITHUB_REPO, GeminiExporter, type GenerateOptions, type GenerateSummary, type GroupSpec, GroupSpecSchema, type Guarantee, GuaranteeSchema, HOLDABLE_PRIMITIVES, type HostedRecordLookup, type HttpMethod, HttpMethodSchema, INVISIBLE_CHARACTERS, type Identifier, type IdentifierKind, type ImplementationSpec, ImplementationSpecSchema, type ImportBindingFact, type ImportGraph, type ImportSection, type InstalledPack, type InterfaceSpec, InterfaceSpecSchema, type InternalizeDestination, type InternalizeResult, type Invariant, InvariantSchema, type InvocationKind, InvocationKindSchema, type IssueSeverity, type LegacySpecFile, type LifecycleEntrypoint, LifecycleEntrypointSchema, type LifecyclePhase, LifecyclePhaseSchema, type LintAllow, LintAllowSchema, type LintConfig, LintConfigSchema, type LoadedExtensions, type LoadedPackSkill, type LockRecord, LockRecordUnreadableError, type LockStatus, type LogLevel, type LoopKind, LoopKindSchema, MAX_IDENTIFIER_LENGTH, MAX_SPEC_ID_LENGTH, type MemberAdvance, type MemberCreation, type MemberDeclaration, MemberDeclarationSchema, type MemberKind, type MemberPin, type MemberSource, type MemberStorage, type MethodEffect, MethodEffectSchema, type MethodImplementation, MethodImplementationSchema, type MethodLike, MethodNameSchema, type MethodParam, MethodParamSchema, type MethodRename, type MethodSignature, MethodSignatureSchema, type ModelledCall, type ModuleImports, type MountForm, type NamedOpenApiSpec, NamedOpenApiSpecSchema, type NamingRuleConfig, NamingRuleConfigSchema, type NarrativeDetail, NarrativeDetailSchema, type NarrativeStep, NarrativeStepSchema, type NarrativeStepType, NarrativeStepTypeSchema, type NetworkBoundary, type NetworkDeclaration, NetworkDeclarationSchema, NetworkOptionsError, type OAuthFlow, OAuthFlowSchema, type OutputTarget, OutputTargetSchema, type OwnershipIndex, PATTERN_TYPES, PRIMITIVE_TYPES, PROJECT_ID_RE, PROJECT_KINDS, PUBLIC_NAME_RE, type PackDiagnosis, type PackEntry, type PackPath, type PackRef, type PackRequirement, PackRequirementSchema, type PackScope, type PackSelection, PackSelectionSchema, type ParallelBranch, ParallelBranchSchema, ParamNameSchema, type ParamRename, type ParameterFact, type ParameterKind, type ParentExcerpt, ParentExcerptSchema, type ParsedMemberSource, type PartOf, PartOfSchema, type PathsConfig, PathsConfigSchema, type PatternRef, PatternRefSchema, type PinnedExternal, type PinnedParent, type PortalAuth, PortalAuthSchema, type PortalAuthScheme, PortalAuthSchemeSchema, PreviousIdsSchema, PreviousNamesSchema, ProfileSelectionSubjectSchema, type ProjectBinding, type ProjectBindingVia, type ProjectConfig, ProjectConfigSchema, type ProjectFamily, type ProjectFamilyProblem, type ProjectIdOrigin, type ProjectIdSource, type ProjectIdentity, type ProjectIdentityProblem, type ProjectImport, type ProjectNode, ProjectNotInitializedError, type ProjectProfileSelection, ProjectProfileSelectionSchema, type ProjectRelations, type PromoteResult, type PublicInterface, PublicInterfaceSchema, type PublicInterfaceType, PublicInterfaceTypeSchema, RETIRED_INVOCATION_KINDS, RETIRED_PORTAL_TYPE_SPELLINGS, RETIRED_STEREOTYPES, type ReachFinding, type ReachModel, type ReachRewrite, type ReachabilityMigrationPlan, type ReadExternalSource, type ReadableProject, type RealizationIndex, type ReexportBindingFact, type ReferenceBinding, type ReferenceEdit, type ReferenceForm, type ReferenceLanding, type ReferenceResolution, type Registry, RegistrySchema, type RelationHealth, type RenameTraceHolders, type RequirementItem, RequirementItemSchema, type ResolutionOutcome, type ResolvedBody, type ResolvedCallFact, type ResolvedDetail, type ResolvedExport, type ResolvedExportTable, type ResolvedExternal, ResolvedInterfaceSpecSchema, type ResolvedMethod, ResolvedMethodSignatureSchema, ResolvedTypeMethodSchema, ResolvedTypeSpecSchema, type RetiredMount, type RetiredReachFact, type RetiredReachForm, RetiredReachFormSchema, type RetiredReachHolder, type RouteFact, type RuleCode, type RuleContext, type RuleJudgement, type RuleScope, type RulesConfig, RulesConfigSchema, SCAN_EXCLUDE_DIRS, SDD_RULES, SEMANTIC_GUARANTEES, STEP_COMMON_FIELDS, STEP_LABEL_TWINS, STEP_TYPE_FIELDS, SUPPORTED_ALIASES, SURFACE_AUDIENCES, type ScopeFilterOptions, type SddRule, type Severity, type ShapeMemberFact, type ShapeOrigin, type SignatureFacts, type SignatureResolution, type SignatureSourceFact, type SignatureTextRepair, type SourceFileFacts, type SourceFileStatus, type SpecId, type SpecIdKind, type SpecIdRename, SpecIdSchema, type SpecIndex, type SpecMove, type SpecRef, type SpecReference, type SpecScanOptions, type SpecStatus, SpecStatusSchema, type SpecTreeIndex, type SpecialistRetirement, type SpecialistRetype, type StaleSignatureText, type StateId, type StatusDecor, type StatusOptions, type StatusReport, type StepConfigCode, type StepConfigProblem, type StepConfigVerdict, type StepGraph, type StoredInterfaceSpec, type StoredMethodSignature, StoredMethodSignatureSchema, type StoredTypeMethod, StoredTypeMethodSchema, type StoredTypeSpec, type SubsystemSpec, SubsystemSpecSchema, type SubsystemWriteRule, type SupportedAlias, type SurfaceAudience, SurfaceAudienceSchema, type SurfaceChange, type SurfaceChangeKind, type SurfaceContractEntry, SurfaceContractEntrySchema, type SurfaceOrigin, SurfaceOriginSchema, type SurfaceRefResolution, type SurfaceSnapshot, SurfaceSnapshotSchema, type SurfaceTypeDef, SurfaceTypeDefSchema, type SurfaceTypeExport, SurfaceTypeExportSchema, type SurfaceUnresolvedExport, SurfaceUnresolvedExportSchema, type SwitchCase, SwitchCaseSchema, type SyncResult, type SystemPublicInterface, SystemPublicInterfaceSchema, type SystemSpec, SystemSpecSchema, TECHNOLOGY_PACKAGES, type TargetConfig, TargetConfigSchema, type Technology, TechnologySchema, type Template, TemplateNotFoundError, TemplateSchema, type TopicEnd, type TopologyConfig, TopologyConfigSchema, type TracedRename, type Transport, type TransportKind, TransportKindSchema, TransportSchema, type TreeExportResult, type TreeImportOptions, type TreeImportResult, type TrustedLink, TrustedLinkSchema, type TypeCanonicalization, type TypeDialect, type TypeEnumProposal, type TypeExpression, type TypeExpressionProblem, TypeExpressionSchema, type TypeField, TypeFieldSchema, type TypeForm, type TypeKind, TypeKindSchema, type TypeMethod, TypeMethodSchema, type TypeParse, type TypePosition, type TypeProblemCode, type TypeRename, type TypeRespelling, type TypeShapeFact, type TypeSpec, TypeSpecSchema, type TypeSpellingFacts, type TypeSpellingRepair, type TypedSpecKind, USE_ENTRY_RE, type VerbReach, WAIRON_MANAGED_BANNER, WAIRON_MANAGED_MARKER, WAIRON_VERSION, WINDOWS_RESERVED_NAME_RE, type WaiPaths, WaironError, type WriteReach, YamlSyntaxError, activeTargetTypes, addDomain, admits, advanceMember, aiDir, aiDirAt, aiPathsAt, aliasGrammarProblem, aliasTargetOf, ambiguityMessage, approvalKeyIn, approvalRecord, approvalVerdict, approvedRevision, approvedStatuses, asSchemaReads, assertContainedProjectPath, assertProjectInitialized, attachRetiredMounts, backendCommand, backfillChainedSubprojectConfigs, backupBeside, bindDeclaredExternal, bodySitesOf, buildCanvasDataModel, buildProjectGraph, buildRuleContext, builtinProfileIds, builtinProjectKinds, callSitesOf, callersOf, canonicalTypeRef, canonicalTypeText, captureApprovedSpecs, carriedFactChanges, carryRetiredReachForms, checkDeclarativePack, clearLoaderIssues, cognitiveScore, complexityLevel, componentDesignView, componentEntryFor, composeAgentBrief, composeRuleSequence, computeGateStateId, computeOwnDesignStateId as computeOwnDesignId, computeOwnDesignStateIdAsRecorded as computeOwnDesignIdAsRecorded, computeOwnStateId, computeStateId, computeStateIdAt, conceptNoun, consumedContractInputs, consumerReaches, containedPathOf, contentDigest, createAgentRecord, createEmptyRegistry, createEmptyTopologyConfig, createMember, createProjectConfig, crossProjectWriteRefusal, currentRootBinding, declareExternal, declareMember, declaredExternals, declaredMembers, declaredPackNames, declaredProfileIds, declares, declaresGlobalPacks, defaultConformanceTier, defaultNarrativeDetail, defaultPackSelections, defaultTargetConfig, deleteSpec, demoteMember, dependencyCycles, deregisterPackRef, deriveExecutionProfile, deriveMethodSignature, deriveTypeSignature, derivedDocPaths, describeProject, detectDomainCandidates, diagnoseProjectPacks, diagramSetIndex, dialectOf, diffAgainstApproval, diffSize, discoverPacks, displayNameProblem, dryRunSerializeSpecs, effectiveDetail, effectiveProjectId, emptyExtensions, emptyTypeSpellingFacts, enclosing, ensureDir, ensureProjectInitialized, excerpt as excerptParent, exportDesign, exportSpecTree, exportSurface, exportTargetKey, exportUsage, externalizeSubsystem, extractTypeIdentifiers, factsFor, familyApprovals, familyNode, familyRelations, fieldRenames, fieldRenamesSince, fieldTypeRefs, fieldTypesOf, findChainingParent, findChainingSubprojectsMissingConfig, findLegacySpecFiles, findOrphanedSpecFiles, findProjectRoot, findSystemRoot, findTestsReferencing, fitsMethodCasing, fromProjectRoot, generateAgent, generateAll, generateComponentDiagram, generateDiagramSet, generateSequenceDiagram, getExporter, getExternalsStatus, getHostedLookup, getLoaderIssues, getProjectRoot, getProjectRootOverride, getRequestParentReach, getRequestProjectRoot, getSnapshot, getStatusReport, getWriteReach, globalGuideFilePath, globalPacksDir, globalPacksEnabled, globalTemplatesDir, hasContext, hasFunctionBody, headNoun, holdsState, identifierProblem, implementationDesignView, implementationSourceFiles, importBindingOf, importNames, importSpecTree, importSurface, injectGuide, installPackFromDirectory, interfaceCanonicalTypes, interfaceDesignView, interfaceGenericParameters, internalizeMember, isDraftSubsystem, isInProcessAddress, isLogic, isOutsideRoot, isOwnComponentEntry, isPart, isPattern, isProjectInitialized, isProvidedBy, isRetired, isSilent, isTypeVocabulary, isWindowsReservedName, judgesCode, keyIn, landReference, languageOfSourcePath, lineEndingFor, listDirectChainedSubprojects, listConsumers as listExternalConsumers, listExternals, listFiles, listFilesRecursive, listInstalledPacks, listPinnedExternals, listRules, listSnapshots, loadComponentSpec, loadComponentSpecs, loadExtensionPacks, loadExtensions, loadFor as loadExtensionsFor, loadImplementationSpec, loadImplementationSpecs, loadInterfaceSpec, loadInterfaceSpecs, loadProjectConfig, loadProjectExtensions, loadProjectVariants, loadRegistry, loadSpec, loadSpecGraph, loadSubsystemSpec, loadSubsystemSpecs, loadSystemSpec, loadTopologyConfig, loadTypeSpec, loadTypeSpecs, localApprover, localGuideFilePath, localTypesOf, logger, makeScopeFilter, markSelectionsBundled, matchTypeRef, measurePackDoctrine, measurePackImpact, memberDeclarationOf, memberDigest, memberLocationOf, memberTypesOf, methodCasingFor, methodGenericParameters, methodSourceFile, methodTypeRefs, migrate as migrateReachability, moveMember, moveMethods, moveMountToMembers, moveSpec, nameKey, namesAnInteger, narrativeStepForeignFields, narrowedToMember, narrowedToUses, normalizeReferences, ownerOf, packDirEntry, packEntryLabel, packEntryRef, manifestOf as packManifest, packStoreDir, parseDeclarativePack, parseDeclaredCall, parseMemberSource, parseTypeExpression, parseTypePosition, parseYaml, passesIntentFloor, pathExists, pathKey, pinExternals, pinnedParent, producerOf, projectConfigExists, graph as projectFamily, projectIdentity, promoteMember, provisionProject, publishedUsesOf, qualifiedTypeId, rangeProblem, readCodeAnnotation, readExternalSource, readFileOrNull, readJsonFile, readLockRecord, readLockState, readRetiredReachForms, readStampVersion, readYamlFile, recordProfileSelection, reexpress, registerExporter, registerPackRef, registerProjectServer, reinjectLocalGuides, relationHealth, removeDomain, removeExternal, removeMember, removePackSelection, removeSnapshot, renameAlias, renameComponent, renameField, renameProjectId as renameId, renameMethod, renameParam, renameSpecId, renameType, renderDiagram, repairForeignStepFields, repairSignatures, repairTypeSpellings, repointExternal, requiredPolicies, reservedWordProblem, resolveAgentTopology, resolveBudget, resolveChainingParent, resolveDomains, resolveExpectedOutputPaths, resolveCandidate as resolveExternalCandidate, resolveDeclared as resolveExternals, resolveImport, resolveInstalledPack, resolveProjectBinding, resolveProjectExports, resolveSignatures, resolveSubprojectForNamespace, resolveSubsystemExports, resolveVariantGuidance, retireSpecialists, retiredInvocationReadAs, retiredMountsOf, retiredReachFacts, returnTypeOf, rewriteReferences, routerLinkage, runWithHostedLookup, runWithProjectBinding, runWithProjectRoot, sameContract, saveSpec, saveTopologyConfig, scanAllSpecs, schemaFingerprint, seedDemoTree, selectsFamily, serializeYaml, setExecutionTier, setProjectId as setId, setLogLevel, setNetwork, setProjectRoot, setProjectType, settledSpecPaths, signatureFacts, signatureTypeRefs, specIndexMethodReferences, specIndexReferencesTo, specIndexRetiredBy, specIndexSubtreeOf, specPathsInScope, splitNamespace, staleDerivedDocs, stepConfigVerdict, stepFieldsFor, stepGraph, storedMethodSignature, storedTypeMethod, subsystemDesignView, surfaceChanges, syncContextFiles, technologyName, technologyPackages, technologyTokens, toMarkdown, transportExportKind, transportKind, transportRequiresEndpoint, typeBindingOf, typeCanonicalTypes, typeDesignView, typeDialectFor, typeGenericParameters, typeIsMany, typeMappingFor, typeMatchesRef, typeNamedRefs, typeProblemEnumProposal, typeProblemIntProposal, typeSourceFiles, typeSpellingFacts, uninstallPack, updateMember, updateSpec, upsertPackSelection, validateAsComplete, validateComponentCandidate, validateFamily, validateProject, validateProjectConfig, validateRegistry, withLineEndings, withPack, writeFile, writeFileIfChanged, writeJsonFile, writeLockRecord, writeReachDenials, writeReachPermits, writeRootGuideDelegator, writeYamlFile, writtenTypeRefs };