@segmentstream/ontology 0.181.0 → 0.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +23 -15
  3. package/dist/action.d.ts +11 -4
  4. package/dist/agent-chat.d.ts +8 -2
  5. package/dist/agent-chat.js +45 -29
  6. package/dist/agent-draft.d.ts +8 -8
  7. package/dist/analyze.d.ts +7 -9
  8. package/dist/analyze.js +159 -71
  9. package/dist/authoring.js +7 -1
  10. package/dist/chat.d.ts +32 -3
  11. package/dist/chat.js +33 -12
  12. package/dist/index.d.ts +1 -1
  13. package/dist/manifest.d.ts +174 -68
  14. package/dist/manifest.js +33 -2
  15. package/dist/migrate/model.d.ts +94 -50
  16. package/dist/permissions.d.ts +17 -0
  17. package/dist/permissions.js +17 -0
  18. package/dist/render.d.ts +6 -0
  19. package/dist/render.js +25 -10
  20. package/dist/runtime/agent-web.js +47 -26
  21. package/dist/runtime/agents.js +25 -0
  22. package/dist/runtime/guests.d.ts +4 -1
  23. package/dist/runtime/guests.js +24 -5
  24. package/dist/runtime/pipeline.d.ts +3 -3
  25. package/dist/runtime/pipeline.js +11 -4
  26. package/dist/service/agent/server.d.ts +0 -2
  27. package/dist/service/agent/server.js +42 -47
  28. package/dist/service/authentication.js +14 -3
  29. package/dist/service/catalog.js +3 -3
  30. package/dist/service/chat/chat-draft.d.ts +1 -1
  31. package/dist/service/chat/delivery.js +43 -22
  32. package/dist/service/chat/envelope.d.ts +8 -8
  33. package/dist/service/chat/local-reads.d.ts +5 -5
  34. package/dist/service/chat/routes.js +2 -0
  35. package/dist/service/chat/schemas.d.ts +40 -0
  36. package/dist/service/chat/schemas.js +3 -1
  37. package/dist/service/discovery-search.d.ts +1 -1
  38. package/dist/service/mcp/server.js +2 -0
  39. package/dist/service/mcp/tools.d.ts +10 -2
  40. package/dist/service/mcp/tools.js +11 -4
  41. package/dist/service/operations.js +10 -5
  42. package/dist/service/plan.d.ts +3 -1
  43. package/dist/service/plan.js +4 -2
  44. package/dist/service/runtime-contract.d.ts +3 -1
  45. package/dist/service/runtime-identity.d.ts +1 -0
  46. package/dist/service/runtime-identity.js +2 -0
  47. package/dist/service/schemas.d.ts +8 -0
  48. package/dist/service/service.js +2 -12
  49. package/dist/service/toolsets.d.ts +1 -1
  50. package/dist/service/toolsets.js +38 -4
  51. package/dist/sign-in.d.ts +14 -7
  52. package/dist/sign-in.js +4 -3
  53. package/dist/toolset.d.ts +17 -1
  54. package/package.json +1 -1
  55. package/dist/service/agent/public-group-action.d.ts +0 -23
  56. package/dist/service/agent/public-group-action.js +0 -53
@@ -113,6 +113,9 @@ import { type ResolvedGuest, type ResolvedSignInOptions, type SignInPolicy } fro
113
113
  * Within version 16, an entity may carry `erase_from_warehouse_on_delete: true`, written only when
114
114
  * declared: deleting a record erases its replicated history from the warehouse. The SDK's own
115
115
  * replication capture acts on it; readers ignore it.
116
+ * Within version 16, an action may carry `anyOf`, written only when several permissions open it,
117
+ * as the built-in `agent_chat.send` is: any one of them runs it, and `permission` is the first.
118
+ * Older readers show the action as requiring `permission` alone.
116
119
  */
117
120
  export declare const MANIFEST_VERSION = 16;
118
121
  /** The phrase used for a direction the author did not phrase. */
@@ -201,6 +204,11 @@ export declare const ActionManifest: Schema.Struct<{
201
204
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
202
205
  */
203
206
  readonly permission: Schema.optionalKey<Schema.String>;
207
+ /**
208
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
209
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
210
+ */
211
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
204
212
  /** JSON Schema (draft 2020-12) of the input object. */
205
213
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
206
214
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -376,6 +384,11 @@ export declare const EntityManifest: Schema.Struct<{
376
384
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
377
385
  */
378
386
  readonly permission: Schema.optionalKey<Schema.String>;
387
+ /**
388
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
389
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
390
+ */
391
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
379
392
  /** JSON Schema (draft 2020-12) of the input object. */
380
393
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
381
394
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -742,6 +755,11 @@ export declare const ToolsetManifest: Schema.Struct<{
742
755
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
743
756
  */
744
757
  readonly permission: Schema.optionalKey<Schema.String>;
758
+ /**
759
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
760
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
761
+ */
762
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
745
763
  /** JSON Schema (draft 2020-12) of the input object. */
746
764
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
747
765
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -812,6 +830,8 @@ export declare const SignUpManifest: Schema.Struct<{
812
830
  * know admit nobody.
813
831
  */
814
832
  export declare const GuestManifest: Schema.encodeKeys<Schema.Struct<{
833
+ readonly openOnInvite: Schema.optionalKey<Schema.$Array<Schema.String>>;
834
+ readonly byChannel: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
815
835
  readonly channels: Schema.$Array<Schema.String>;
816
836
  readonly origins: Schema.$Array<Schema.String>;
817
837
  /** The challenge a new guest passes, and the workspace secret holding its secret key. */
@@ -849,6 +869,8 @@ export declare const SignInManifest: Schema.encodeKeys<Schema.Struct<{
849
869
  }>>;
850
870
  readonly onSignUp: Schema.optionalKey<Schema.String>;
851
871
  readonly guest: Schema.optionalKey<Schema.encodeKeys<Schema.Struct<{
872
+ readonly openOnInvite: Schema.optionalKey<Schema.$Array<Schema.String>>;
873
+ readonly byChannel: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
852
874
  readonly channels: Schema.$Array<Schema.String>;
853
875
  readonly origins: Schema.$Array<Schema.String>;
854
876
  /** The challenge a new guest passes, and the workspace secret holding its secret key. */
@@ -1114,6 +1136,11 @@ export declare const OntologyManifestWire: Schema.encodeKeys<Schema.Struct<{
1114
1136
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
1115
1137
  */
1116
1138
  readonly permission: Schema.optionalKey<Schema.String>;
1139
+ /**
1140
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
1141
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
1142
+ */
1143
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
1117
1144
  /** JSON Schema (draft 2020-12) of the input object. */
1118
1145
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1119
1146
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -1232,6 +1259,8 @@ export declare const OntologyManifestWire: Schema.encodeKeys<Schema.Struct<{
1232
1259
  }>>;
1233
1260
  readonly onSignUp: Schema.optionalKey<Schema.String>;
1234
1261
  readonly guest: Schema.optionalKey<Schema.encodeKeys<Schema.Struct<{
1262
+ readonly openOnInvite: Schema.optionalKey<Schema.$Array<Schema.String>>;
1263
+ readonly byChannel: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
1235
1264
  readonly channels: Schema.$Array<Schema.String>;
1236
1265
  readonly origins: Schema.$Array<Schema.String>;
1237
1266
  /** The challenge a new guest passes, and the workspace secret holding its secret key. */
@@ -1509,6 +1538,11 @@ export declare const OntologyManifestWire: Schema.encodeKeys<Schema.Struct<{
1509
1538
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
1510
1539
  */
1511
1540
  readonly permission: Schema.optionalKey<Schema.String>;
1541
+ /**
1542
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
1543
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
1544
+ */
1545
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
1512
1546
  /** JSON Schema (draft 2020-12) of the input object. */
1513
1547
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1514
1548
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -1607,9 +1641,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1607
1641
  readonly entity: string;
1608
1642
  readonly property: string;
1609
1643
  }[] | undefined;
1644
+ readonly connections?: readonly string[] | undefined;
1645
+ readonly anyOf?: readonly string[] | undefined;
1610
1646
  readonly retryOnDeadlock?: boolean | undefined;
1611
1647
  readonly writes?: readonly string[] | undefined;
1612
- readonly connections?: readonly string[] | undefined;
1613
1648
  readonly hints?: {
1614
1649
  readonly readOnly?: boolean | undefined;
1615
1650
  readonly connectionsReadOnly?: boolean | undefined;
@@ -1648,7 +1683,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1648
1683
  readonly unlink?: string | undefined;
1649
1684
  } | undefined;
1650
1685
  readonly renamedFrom?: string | undefined;
1651
- readonly writes?: "actions" | undefined;
1652
1686
  readonly source?: {
1653
1687
  readonly key: readonly string[];
1654
1688
  readonly asset: string;
@@ -1664,6 +1698,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1664
1698
  readonly balanceOver?: string | undefined;
1665
1699
  }[] | undefined;
1666
1700
  readonly guide?: string | undefined;
1701
+ readonly writes?: "actions" | undefined;
1667
1702
  readonly eraseFromWarehouseOnDelete?: true | undefined;
1668
1703
  }[];
1669
1704
  readonly chat?: {
@@ -1714,11 +1749,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1714
1749
  readonly workflows?: readonly {
1715
1750
  readonly description: string;
1716
1751
  readonly name: string;
1752
+ readonly connections: readonly string[];
1717
1753
  readonly input: {
1718
1754
  readonly [x: string]: Schema.Json;
1719
1755
  };
1720
- readonly connections: readonly string[];
1721
1756
  readonly triggers: readonly ({
1757
+ readonly [x: string]: Schema.Json;
1758
+ } | {
1722
1759
  readonly kind: "cron";
1723
1760
  readonly name: string;
1724
1761
  readonly description: string;
@@ -1751,13 +1788,12 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1751
1788
  } | undefined;
1752
1789
  readonly timestamp?: {
1753
1790
  readonly unit?: string | undefined;
1754
- readonly header?: string | undefined;
1755
1791
  readonly entry?: string | undefined;
1756
1792
  readonly tolerance?: number | undefined;
1793
+ readonly header?: string | undefined;
1757
1794
  } | undefined;
1758
1795
  readonly generated?: true | undefined;
1759
1796
  readonly input?: string | undefined;
1760
- readonly secret?: string | undefined;
1761
1797
  readonly algorithm?: string | undefined;
1762
1798
  readonly encoding?: string | undefined;
1763
1799
  readonly signatures?: {
@@ -1769,14 +1805,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1769
1805
  } | undefined;
1770
1806
  readonly prefix?: string | undefined;
1771
1807
  } | undefined;
1808
+ readonly secret?: string | undefined;
1772
1809
  } | undefined;
1773
1810
  readonly verification?: {
1774
1811
  readonly scheme: string;
1775
1812
  readonly input?: string | undefined;
1776
1813
  readonly verifyToken?: string | undefined;
1777
1814
  } | undefined;
1778
- } | {
1779
- readonly [x: string]: Schema.Json;
1780
1815
  })[];
1781
1816
  readonly role: string;
1782
1817
  readonly action?: {
@@ -1817,6 +1852,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1817
1852
  readonly guest?: {
1818
1853
  readonly channels: readonly string[];
1819
1854
  readonly origins: readonly string[];
1855
+ readonly openOnInvite?: readonly string[] | undefined;
1856
+ readonly byChannel?: {
1857
+ readonly [x: string]: readonly string[];
1858
+ } | undefined;
1820
1859
  readonly botCheck?: {
1821
1860
  readonly scheme: string;
1822
1861
  readonly connection?: string | undefined;
@@ -1859,6 +1898,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1859
1898
  readonly subject: string;
1860
1899
  readonly heading: string;
1861
1900
  readonly action: string;
1901
+ readonly replyTo?: string | undefined;
1862
1902
  readonly eyebrow?: string | undefined;
1863
1903
  readonly card?: {
1864
1904
  readonly title: string;
@@ -1881,7 +1921,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1881
1921
  } | undefined;
1882
1922
  }[] | undefined;
1883
1923
  readonly footer?: string | undefined;
1884
- readonly replyTo?: string | undefined;
1885
1924
  };
1886
1925
  } | undefined;
1887
1926
  readonly inbox?: {
@@ -1915,9 +1954,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1915
1954
  readonly entity: string;
1916
1955
  readonly property: string;
1917
1956
  }[] | undefined;
1957
+ readonly connections?: readonly string[] | undefined;
1958
+ readonly anyOf?: readonly string[] | undefined;
1918
1959
  readonly retryOnDeadlock?: boolean | undefined;
1919
1960
  readonly writes?: readonly string[] | undefined;
1920
- readonly connections?: readonly string[] | undefined;
1921
1961
  readonly hints?: {
1922
1962
  readonly readOnly?: boolean | undefined;
1923
1963
  readonly connectionsReadOnly?: boolean | undefined;
@@ -1985,9 +2025,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
1985
2025
  readonly entity: string;
1986
2026
  readonly property: string;
1987
2027
  }[] | undefined;
2028
+ readonly connections?: readonly string[] | undefined;
2029
+ readonly anyOf?: readonly string[] | undefined;
1988
2030
  readonly retryOnDeadlock?: boolean | undefined;
1989
2031
  readonly writes?: readonly string[] | undefined;
1990
- readonly connections?: readonly string[] | undefined;
1991
2032
  readonly hints?: {
1992
2033
  readonly readOnly?: boolean | undefined;
1993
2034
  readonly connectionsReadOnly?: boolean | undefined;
@@ -2026,7 +2067,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2026
2067
  readonly unlink?: string | undefined;
2027
2068
  } | undefined;
2028
2069
  readonly renamedFrom?: string | undefined;
2029
- readonly writes?: "actions" | undefined;
2030
2070
  readonly source?: {
2031
2071
  readonly key: readonly string[];
2032
2072
  readonly asset: string;
@@ -2042,6 +2082,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2042
2082
  readonly balanceOver?: string | undefined;
2043
2083
  }[] | undefined;
2044
2084
  readonly guide?: string | undefined;
2085
+ readonly writes?: "actions" | undefined;
2045
2086
  readonly eraseFromWarehouseOnDelete?: true | undefined;
2046
2087
  }[];
2047
2088
  readonly chat?: {
@@ -2092,11 +2133,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2092
2133
  readonly workflows?: readonly {
2093
2134
  readonly description: string;
2094
2135
  readonly name: string;
2136
+ readonly connections: readonly string[];
2095
2137
  readonly input: {
2096
2138
  readonly [x: string]: Schema.Json;
2097
2139
  };
2098
- readonly connections: readonly string[];
2099
2140
  readonly triggers: readonly ({
2141
+ readonly [x: string]: Schema.Json;
2142
+ } | {
2100
2143
  readonly kind: "cron";
2101
2144
  readonly name: string;
2102
2145
  readonly description: string;
@@ -2129,13 +2172,12 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2129
2172
  } | undefined;
2130
2173
  readonly timestamp?: {
2131
2174
  readonly unit?: string | undefined;
2132
- readonly header?: string | undefined;
2133
2175
  readonly entry?: string | undefined;
2134
2176
  readonly tolerance?: number | undefined;
2177
+ readonly header?: string | undefined;
2135
2178
  } | undefined;
2136
2179
  readonly generated?: true | undefined;
2137
2180
  readonly input?: string | undefined;
2138
- readonly secret?: string | undefined;
2139
2181
  readonly algorithm?: string | undefined;
2140
2182
  readonly encoding?: string | undefined;
2141
2183
  readonly signatures?: {
@@ -2147,14 +2189,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2147
2189
  } | undefined;
2148
2190
  readonly prefix?: string | undefined;
2149
2191
  } | undefined;
2192
+ readonly secret?: string | undefined;
2150
2193
  } | undefined;
2151
2194
  readonly verification?: {
2152
2195
  readonly scheme: string;
2153
2196
  readonly input?: string | undefined;
2154
2197
  readonly verifyToken?: string | undefined;
2155
2198
  } | undefined;
2156
- } | {
2157
- readonly [x: string]: Schema.Json;
2158
2199
  })[];
2159
2200
  readonly role: string;
2160
2201
  readonly action?: {
@@ -2195,6 +2236,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2195
2236
  readonly guest?: {
2196
2237
  readonly channels: readonly string[];
2197
2238
  readonly origins: readonly string[];
2239
+ readonly openOnInvite?: readonly string[] | undefined;
2240
+ readonly byChannel?: {
2241
+ readonly [x: string]: readonly string[];
2242
+ } | undefined;
2198
2243
  readonly botCheck?: {
2199
2244
  readonly scheme: string;
2200
2245
  readonly connection?: string | undefined;
@@ -2237,6 +2282,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2237
2282
  readonly subject: string;
2238
2283
  readonly heading: string;
2239
2284
  readonly action: string;
2285
+ readonly replyTo?: string | undefined;
2240
2286
  readonly eyebrow?: string | undefined;
2241
2287
  readonly card?: {
2242
2288
  readonly title: string;
@@ -2259,7 +2305,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2259
2305
  } | undefined;
2260
2306
  }[] | undefined;
2261
2307
  readonly footer?: string | undefined;
2262
- readonly replyTo?: string | undefined;
2263
2308
  };
2264
2309
  } | undefined;
2265
2310
  readonly inbox?: {
@@ -2293,9 +2338,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2293
2338
  readonly entity: string;
2294
2339
  readonly property: string;
2295
2340
  }[] | undefined;
2341
+ readonly connections?: readonly string[] | undefined;
2342
+ readonly anyOf?: readonly string[] | undefined;
2296
2343
  readonly retryOnDeadlock?: boolean | undefined;
2297
2344
  readonly writes?: readonly string[] | undefined;
2298
- readonly connections?: readonly string[] | undefined;
2299
2345
  readonly hints?: {
2300
2346
  readonly readOnly?: boolean | undefined;
2301
2347
  readonly connectionsReadOnly?: boolean | undefined;
@@ -2363,9 +2409,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2363
2409
  readonly entity: string;
2364
2410
  readonly property: string;
2365
2411
  }[] | undefined;
2412
+ readonly connections?: readonly string[] | undefined;
2413
+ readonly anyOf?: readonly string[] | undefined;
2366
2414
  readonly retryOnDeadlock?: boolean | undefined;
2367
2415
  readonly writes?: readonly string[] | undefined;
2368
- readonly connections?: readonly string[] | undefined;
2369
2416
  readonly hints?: {
2370
2417
  readonly readOnly?: boolean | undefined;
2371
2418
  readonly connectionsReadOnly?: boolean | undefined;
@@ -2403,7 +2450,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2403
2450
  readonly link?: string | undefined;
2404
2451
  readonly unlink?: string | undefined;
2405
2452
  } | undefined;
2406
- readonly writes?: "actions" | undefined;
2407
2453
  readonly source?: {
2408
2454
  readonly key: readonly string[];
2409
2455
  readonly asset: string;
@@ -2419,6 +2465,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2419
2465
  readonly balance_over?: string | undefined;
2420
2466
  }[] | undefined;
2421
2467
  readonly guide?: string | undefined;
2468
+ readonly writes?: "actions" | undefined;
2422
2469
  readonly renamed_from?: string | undefined;
2423
2470
  readonly erase_from_warehouse_on_delete?: true | undefined;
2424
2471
  }[];
@@ -2470,10 +2517,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2470
2517
  readonly workflows?: readonly {
2471
2518
  readonly description: string;
2472
2519
  readonly name: string;
2520
+ readonly connections: readonly string[];
2473
2521
  readonly input: {
2474
2522
  readonly [x: string]: Schema.Json;
2475
2523
  };
2476
- readonly connections: readonly string[];
2477
2524
  readonly triggers: readonly ({
2478
2525
  readonly [x: string]: Schema.Json;
2479
2526
  } | {
@@ -2509,13 +2556,12 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2509
2556
  } | undefined;
2510
2557
  readonly timestamp?: {
2511
2558
  readonly unit?: string | undefined;
2512
- readonly header?: string | undefined;
2513
2559
  readonly entry?: string | undefined;
2514
2560
  readonly tolerance?: number | undefined;
2561
+ readonly header?: string | undefined;
2515
2562
  } | undefined;
2516
2563
  readonly generated?: true | undefined;
2517
2564
  readonly input?: string | undefined;
2518
- readonly secret?: string | undefined;
2519
2565
  readonly algorithm?: string | undefined;
2520
2566
  readonly encoding?: string | undefined;
2521
2567
  readonly signatures?: {
@@ -2527,6 +2573,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2527
2573
  } | undefined;
2528
2574
  readonly prefix?: string | undefined;
2529
2575
  } | undefined;
2576
+ readonly secret?: string | undefined;
2530
2577
  } | undefined;
2531
2578
  readonly verification?: {
2532
2579
  readonly scheme: string;
@@ -2578,6 +2625,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2578
2625
  readonly subject: string;
2579
2626
  readonly heading: string;
2580
2627
  readonly action: string;
2628
+ readonly reply_to?: string | undefined;
2581
2629
  readonly eyebrow?: string | undefined;
2582
2630
  readonly card?: {
2583
2631
  readonly title: string;
@@ -2600,7 +2648,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2600
2648
  } | undefined;
2601
2649
  }[] | undefined;
2602
2650
  readonly footer?: string | undefined;
2603
- readonly reply_to?: string | undefined;
2604
2651
  };
2605
2652
  } | undefined;
2606
2653
  readonly inbox?: {
@@ -2634,9 +2681,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2634
2681
  readonly entity: string;
2635
2682
  readonly property: string;
2636
2683
  }[] | undefined;
2684
+ readonly connections?: readonly string[] | undefined;
2685
+ readonly anyOf?: readonly string[] | undefined;
2637
2686
  readonly retryOnDeadlock?: boolean | undefined;
2638
2687
  readonly writes?: readonly string[] | undefined;
2639
- readonly connections?: readonly string[] | undefined;
2640
2688
  readonly hints?: {
2641
2689
  readonly readOnly?: boolean | undefined;
2642
2690
  readonly connectionsReadOnly?: boolean | undefined;
@@ -2651,6 +2699,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2651
2699
  readonly guest?: {
2652
2700
  readonly channels: readonly string[];
2653
2701
  readonly origins: readonly string[];
2702
+ readonly openOnInvite?: readonly string[] | undefined;
2703
+ readonly byChannel?: {
2704
+ readonly [x: string]: readonly string[];
2705
+ } | undefined;
2654
2706
  readonly confirmations?: boolean | undefined;
2655
2707
  readonly bot_check?: {
2656
2708
  readonly scheme: string;
@@ -2741,9 +2793,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2741
2793
  readonly entity: string;
2742
2794
  readonly property: string;
2743
2795
  }[] | undefined;
2796
+ readonly connections?: readonly string[] | undefined;
2797
+ readonly anyOf?: readonly string[] | undefined;
2744
2798
  readonly retryOnDeadlock?: boolean | undefined;
2745
2799
  readonly writes?: readonly string[] | undefined;
2746
- readonly connections?: readonly string[] | undefined;
2747
2800
  readonly hints?: {
2748
2801
  readonly readOnly?: boolean | undefined;
2749
2802
  readonly connectionsReadOnly?: boolean | undefined;
@@ -2782,7 +2835,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2782
2835
  readonly unlink?: string | undefined;
2783
2836
  } | undefined;
2784
2837
  readonly renamedFrom?: string | undefined;
2785
- readonly writes?: "actions" | undefined;
2786
2838
  readonly source?: {
2787
2839
  readonly key: readonly string[];
2788
2840
  readonly asset: string;
@@ -2798,6 +2850,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2798
2850
  readonly balanceOver?: string | undefined;
2799
2851
  }[] | undefined;
2800
2852
  readonly guide?: string | undefined;
2853
+ readonly writes?: "actions" | undefined;
2801
2854
  readonly eraseFromWarehouseOnDelete?: true | undefined;
2802
2855
  }[];
2803
2856
  readonly chat?: {
@@ -2848,10 +2901,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2848
2901
  readonly workflows?: readonly {
2849
2902
  readonly description: string;
2850
2903
  readonly name: string;
2904
+ readonly connections: readonly string[];
2851
2905
  readonly input: {
2852
2906
  readonly [x: string]: Schema.Json;
2853
2907
  };
2854
- readonly connections: readonly string[];
2855
2908
  readonly triggers: readonly ({
2856
2909
  readonly [x: string]: Schema.Json;
2857
2910
  } | {
@@ -2887,13 +2940,12 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2887
2940
  } | undefined;
2888
2941
  readonly timestamp?: {
2889
2942
  readonly unit?: string | undefined;
2890
- readonly header?: string | undefined;
2891
2943
  readonly entry?: string | undefined;
2892
2944
  readonly tolerance?: number | undefined;
2945
+ readonly header?: string | undefined;
2893
2946
  } | undefined;
2894
2947
  readonly generated?: true | undefined;
2895
2948
  readonly input?: string | undefined;
2896
- readonly secret?: string | undefined;
2897
2949
  readonly algorithm?: string | undefined;
2898
2950
  readonly encoding?: string | undefined;
2899
2951
  readonly signatures?: {
@@ -2905,6 +2957,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2905
2957
  } | undefined;
2906
2958
  readonly prefix?: string | undefined;
2907
2959
  } | undefined;
2960
+ readonly secret?: string | undefined;
2908
2961
  } | undefined;
2909
2962
  readonly verification?: {
2910
2963
  readonly scheme: string;
@@ -2951,6 +3004,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2951
3004
  readonly guest?: {
2952
3005
  readonly channels: readonly string[];
2953
3006
  readonly origins: readonly string[];
3007
+ readonly openOnInvite?: readonly string[] | undefined;
3008
+ readonly byChannel?: {
3009
+ readonly [x: string]: readonly string[];
3010
+ } | undefined;
2954
3011
  readonly confirmations?: boolean | undefined;
2955
3012
  readonly bot_check?: {
2956
3013
  readonly scheme: string;
@@ -2993,6 +3050,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
2993
3050
  readonly subject: string;
2994
3051
  readonly heading: string;
2995
3052
  readonly action: string;
3053
+ readonly reply_to?: string | undefined;
2996
3054
  readonly eyebrow?: string | undefined;
2997
3055
  readonly card?: {
2998
3056
  readonly title: string;
@@ -3015,7 +3073,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
3015
3073
  } | undefined;
3016
3074
  }[] | undefined;
3017
3075
  readonly footer?: string | undefined;
3018
- readonly reply_to?: string | undefined;
3019
3076
  };
3020
3077
  } | undefined;
3021
3078
  readonly inbox?: {
@@ -3049,9 +3106,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
3049
3106
  readonly entity: string;
3050
3107
  readonly property: string;
3051
3108
  }[] | undefined;
3109
+ readonly connections?: readonly string[] | undefined;
3110
+ readonly anyOf?: readonly string[] | undefined;
3052
3111
  readonly retryOnDeadlock?: boolean | undefined;
3053
3112
  readonly writes?: readonly string[] | undefined;
3054
- readonly connections?: readonly string[] | undefined;
3055
3113
  readonly hints?: {
3056
3114
  readonly readOnly?: boolean | undefined;
3057
3115
  readonly connectionsReadOnly?: boolean | undefined;
@@ -3158,6 +3216,11 @@ export declare const OntologyManifest: Schema.declareConstructor<{
3158
3216
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
3159
3217
  */
3160
3218
  readonly permission: Schema.optionalKey<Schema.String>;
3219
+ /**
3220
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
3221
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
3222
+ */
3223
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
3161
3224
  /** JSON Schema (draft 2020-12) of the input object. */
3162
3225
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
3163
3226
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -3276,6 +3339,8 @@ export declare const OntologyManifest: Schema.declareConstructor<{
3276
3339
  }>>;
3277
3340
  readonly onSignUp: Schema.optionalKey<Schema.String>;
3278
3341
  readonly guest: Schema.optionalKey<Schema.encodeKeys<Schema.Struct<{
3342
+ readonly openOnInvite: Schema.optionalKey<Schema.$Array<Schema.String>>;
3343
+ readonly byChannel: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
3279
3344
  readonly channels: Schema.$Array<Schema.String>;
3280
3345
  readonly origins: Schema.$Array<Schema.String>;
3281
3346
  /** The challenge a new guest passes, and the workspace secret holding its secret key. */
@@ -3553,6 +3618,11 @@ export declare const OntologyManifest: Schema.declareConstructor<{
3553
3618
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
3554
3619
  */
3555
3620
  readonly permission: Schema.optionalKey<Schema.String>;
3621
+ /**
3622
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
3623
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
3624
+ */
3625
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
3556
3626
  /** JSON Schema (draft 2020-12) of the input object. */
3557
3627
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
3558
3628
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -3697,6 +3767,11 @@ export declare const OntologyManifest: Schema.declareConstructor<{
3697
3767
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
3698
3768
  */
3699
3769
  readonly permission: Schema.optionalKey<Schema.String>;
3770
+ /**
3771
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
3772
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
3773
+ */
3774
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
3700
3775
  /** JSON Schema (draft 2020-12) of the input object. */
3701
3776
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
3702
3777
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -3793,6 +3868,8 @@ export declare const OntologyManifest: Schema.declareConstructor<{
3793
3868
  }>>;
3794
3869
  readonly onSignUp: Schema.optionalKey<Schema.String>;
3795
3870
  readonly guest: Schema.optionalKey<Schema.encodeKeys<Schema.Struct<{
3871
+ readonly openOnInvite: Schema.optionalKey<Schema.$Array<Schema.String>>;
3872
+ readonly byChannel: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
3796
3873
  readonly channels: Schema.$Array<Schema.String>;
3797
3874
  readonly origins: Schema.$Array<Schema.String>;
3798
3875
  /** The challenge a new guest passes, and the workspace secret holding its secret key. */
@@ -4070,6 +4147,11 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4070
4147
  * written; absent from version 1 manifests, where it reads as `<entity>:<action name>`.
4071
4148
  */
4072
4149
  readonly permission: Schema.optionalKey<Schema.String>;
4150
+ /**
4151
+ * For an action several permissions open, each of them, any one of which runs it; `permission` is
4152
+ * the first. Written only then; an older reader shows the action as requiring `permission` alone.
4153
+ */
4154
+ readonly anyOf: Schema.optionalKey<Schema.$Array<Schema.String>>;
4073
4155
  /** JSON Schema (draft 2020-12) of the input object. */
4074
4156
  readonly input: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
4075
4157
  /** Opt-in SQL handler replay after a confirmed deadlock rollback; absent means disabled. */
@@ -4160,9 +4242,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4160
4242
  readonly entity: string;
4161
4243
  readonly property: string;
4162
4244
  }[] | undefined;
4245
+ readonly connections?: readonly string[] | undefined;
4246
+ readonly anyOf?: readonly string[] | undefined;
4163
4247
  readonly retryOnDeadlock?: boolean | undefined;
4164
4248
  readonly writes?: readonly string[] | undefined;
4165
- readonly connections?: readonly string[] | undefined;
4166
4249
  readonly hints?: {
4167
4250
  readonly readOnly?: boolean | undefined;
4168
4251
  readonly connectionsReadOnly?: boolean | undefined;
@@ -4201,7 +4284,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4201
4284
  readonly unlink?: string | undefined;
4202
4285
  } | undefined;
4203
4286
  readonly renamedFrom?: string | undefined;
4204
- readonly writes?: "actions" | undefined;
4205
4287
  readonly source?: {
4206
4288
  readonly key: readonly string[];
4207
4289
  readonly asset: string;
@@ -4217,6 +4299,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4217
4299
  readonly balanceOver?: string | undefined;
4218
4300
  }[] | undefined;
4219
4301
  readonly guide?: string | undefined;
4302
+ readonly writes?: "actions" | undefined;
4220
4303
  readonly eraseFromWarehouseOnDelete?: true | undefined;
4221
4304
  }[];
4222
4305
  readonly chat?: {
@@ -4267,11 +4350,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4267
4350
  readonly workflows?: readonly {
4268
4351
  readonly description: string;
4269
4352
  readonly name: string;
4353
+ readonly connections: readonly string[];
4270
4354
  readonly input: {
4271
4355
  readonly [x: string]: Schema.Json;
4272
4356
  };
4273
- readonly connections: readonly string[];
4274
4357
  readonly triggers: readonly ({
4358
+ readonly [x: string]: Schema.Json;
4359
+ } | {
4275
4360
  readonly kind: "cron";
4276
4361
  readonly name: string;
4277
4362
  readonly description: string;
@@ -4304,13 +4389,12 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4304
4389
  } | undefined;
4305
4390
  readonly timestamp?: {
4306
4391
  readonly unit?: string | undefined;
4307
- readonly header?: string | undefined;
4308
4392
  readonly entry?: string | undefined;
4309
4393
  readonly tolerance?: number | undefined;
4394
+ readonly header?: string | undefined;
4310
4395
  } | undefined;
4311
4396
  readonly generated?: true | undefined;
4312
4397
  readonly input?: string | undefined;
4313
- readonly secret?: string | undefined;
4314
4398
  readonly algorithm?: string | undefined;
4315
4399
  readonly encoding?: string | undefined;
4316
4400
  readonly signatures?: {
@@ -4322,14 +4406,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4322
4406
  } | undefined;
4323
4407
  readonly prefix?: string | undefined;
4324
4408
  } | undefined;
4409
+ readonly secret?: string | undefined;
4325
4410
  } | undefined;
4326
4411
  readonly verification?: {
4327
4412
  readonly scheme: string;
4328
4413
  readonly input?: string | undefined;
4329
4414
  readonly verifyToken?: string | undefined;
4330
4415
  } | undefined;
4331
- } | {
4332
- readonly [x: string]: Schema.Json;
4333
4416
  })[];
4334
4417
  readonly role: string;
4335
4418
  readonly action?: {
@@ -4370,6 +4453,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4370
4453
  readonly guest?: {
4371
4454
  readonly channels: readonly string[];
4372
4455
  readonly origins: readonly string[];
4456
+ readonly openOnInvite?: readonly string[] | undefined;
4457
+ readonly byChannel?: {
4458
+ readonly [x: string]: readonly string[];
4459
+ } | undefined;
4373
4460
  readonly botCheck?: {
4374
4461
  readonly scheme: string;
4375
4462
  readonly connection?: string | undefined;
@@ -4412,6 +4499,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4412
4499
  readonly subject: string;
4413
4500
  readonly heading: string;
4414
4501
  readonly action: string;
4502
+ readonly replyTo?: string | undefined;
4415
4503
  readonly eyebrow?: string | undefined;
4416
4504
  readonly card?: {
4417
4505
  readonly title: string;
@@ -4434,7 +4522,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4434
4522
  } | undefined;
4435
4523
  }[] | undefined;
4436
4524
  readonly footer?: string | undefined;
4437
- readonly replyTo?: string | undefined;
4438
4525
  };
4439
4526
  } | undefined;
4440
4527
  readonly inbox?: {
@@ -4468,9 +4555,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4468
4555
  readonly entity: string;
4469
4556
  readonly property: string;
4470
4557
  }[] | undefined;
4558
+ readonly connections?: readonly string[] | undefined;
4559
+ readonly anyOf?: readonly string[] | undefined;
4471
4560
  readonly retryOnDeadlock?: boolean | undefined;
4472
4561
  readonly writes?: readonly string[] | undefined;
4473
- readonly connections?: readonly string[] | undefined;
4474
4562
  readonly hints?: {
4475
4563
  readonly readOnly?: boolean | undefined;
4476
4564
  readonly connectionsReadOnly?: boolean | undefined;
@@ -4538,9 +4626,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4538
4626
  readonly entity: string;
4539
4627
  readonly property: string;
4540
4628
  }[] | undefined;
4629
+ readonly connections?: readonly string[] | undefined;
4630
+ readonly anyOf?: readonly string[] | undefined;
4541
4631
  readonly retryOnDeadlock?: boolean | undefined;
4542
4632
  readonly writes?: readonly string[] | undefined;
4543
- readonly connections?: readonly string[] | undefined;
4544
4633
  readonly hints?: {
4545
4634
  readonly readOnly?: boolean | undefined;
4546
4635
  readonly connectionsReadOnly?: boolean | undefined;
@@ -4579,7 +4668,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4579
4668
  readonly unlink?: string | undefined;
4580
4669
  } | undefined;
4581
4670
  readonly renamedFrom?: string | undefined;
4582
- readonly writes?: "actions" | undefined;
4583
4671
  readonly source?: {
4584
4672
  readonly key: readonly string[];
4585
4673
  readonly asset: string;
@@ -4595,6 +4683,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4595
4683
  readonly balanceOver?: string | undefined;
4596
4684
  }[] | undefined;
4597
4685
  readonly guide?: string | undefined;
4686
+ readonly writes?: "actions" | undefined;
4598
4687
  readonly eraseFromWarehouseOnDelete?: true | undefined;
4599
4688
  }[];
4600
4689
  readonly chat?: {
@@ -4645,11 +4734,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4645
4734
  readonly workflows?: readonly {
4646
4735
  readonly description: string;
4647
4736
  readonly name: string;
4737
+ readonly connections: readonly string[];
4648
4738
  readonly input: {
4649
4739
  readonly [x: string]: Schema.Json;
4650
4740
  };
4651
- readonly connections: readonly string[];
4652
4741
  readonly triggers: readonly ({
4742
+ readonly [x: string]: Schema.Json;
4743
+ } | {
4653
4744
  readonly kind: "cron";
4654
4745
  readonly name: string;
4655
4746
  readonly description: string;
@@ -4682,13 +4773,12 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4682
4773
  } | undefined;
4683
4774
  readonly timestamp?: {
4684
4775
  readonly unit?: string | undefined;
4685
- readonly header?: string | undefined;
4686
4776
  readonly entry?: string | undefined;
4687
4777
  readonly tolerance?: number | undefined;
4778
+ readonly header?: string | undefined;
4688
4779
  } | undefined;
4689
4780
  readonly generated?: true | undefined;
4690
4781
  readonly input?: string | undefined;
4691
- readonly secret?: string | undefined;
4692
4782
  readonly algorithm?: string | undefined;
4693
4783
  readonly encoding?: string | undefined;
4694
4784
  readonly signatures?: {
@@ -4700,14 +4790,13 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4700
4790
  } | undefined;
4701
4791
  readonly prefix?: string | undefined;
4702
4792
  } | undefined;
4793
+ readonly secret?: string | undefined;
4703
4794
  } | undefined;
4704
4795
  readonly verification?: {
4705
4796
  readonly scheme: string;
4706
4797
  readonly input?: string | undefined;
4707
4798
  readonly verifyToken?: string | undefined;
4708
4799
  } | undefined;
4709
- } | {
4710
- readonly [x: string]: Schema.Json;
4711
4800
  })[];
4712
4801
  readonly role: string;
4713
4802
  readonly action?: {
@@ -4748,6 +4837,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4748
4837
  readonly guest?: {
4749
4838
  readonly channels: readonly string[];
4750
4839
  readonly origins: readonly string[];
4840
+ readonly openOnInvite?: readonly string[] | undefined;
4841
+ readonly byChannel?: {
4842
+ readonly [x: string]: readonly string[];
4843
+ } | undefined;
4751
4844
  readonly botCheck?: {
4752
4845
  readonly scheme: string;
4753
4846
  readonly connection?: string | undefined;
@@ -4790,6 +4883,7 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4790
4883
  readonly subject: string;
4791
4884
  readonly heading: string;
4792
4885
  readonly action: string;
4886
+ readonly replyTo?: string | undefined;
4793
4887
  readonly eyebrow?: string | undefined;
4794
4888
  readonly card?: {
4795
4889
  readonly title: string;
@@ -4812,7 +4906,6 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4812
4906
  } | undefined;
4813
4907
  }[] | undefined;
4814
4908
  readonly footer?: string | undefined;
4815
- readonly replyTo?: string | undefined;
4816
4909
  };
4817
4910
  } | undefined;
4818
4911
  readonly inbox?: {
@@ -4846,9 +4939,10 @@ export declare const OntologyManifest: Schema.declareConstructor<{
4846
4939
  readonly entity: string;
4847
4940
  readonly property: string;
4848
4941
  }[] | undefined;
4942
+ readonly connections?: readonly string[] | undefined;
4943
+ readonly anyOf?: readonly string[] | undefined;
4849
4944
  readonly retryOnDeadlock?: boolean | undefined;
4850
4945
  readonly writes?: readonly string[] | undefined;
4851
- readonly connections?: readonly string[] | undefined;
4852
4946
  readonly hints?: {
4853
4947
  readonly readOnly?: boolean | undefined;
4854
4948
  readonly connectionsReadOnly?: boolean | undefined;
@@ -4922,9 +5016,10 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
4922
5016
  readonly entity: string;
4923
5017
  readonly property: string;
4924
5018
  }[] | undefined;
5019
+ readonly connections?: readonly string[] | undefined;
5020
+ readonly anyOf?: readonly string[] | undefined;
4925
5021
  readonly retryOnDeadlock?: boolean | undefined;
4926
5022
  readonly writes?: readonly string[] | undefined;
4927
- readonly connections?: readonly string[] | undefined;
4928
5023
  readonly hints?: {
4929
5024
  readonly readOnly?: boolean | undefined;
4930
5025
  readonly connectionsReadOnly?: boolean | undefined;
@@ -4963,7 +5058,6 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
4963
5058
  readonly unlink?: string | undefined;
4964
5059
  } | undefined;
4965
5060
  readonly renamedFrom?: string | undefined;
4966
- readonly writes?: "actions" | undefined;
4967
5061
  readonly source?: {
4968
5062
  readonly key: readonly string[];
4969
5063
  readonly asset: string;
@@ -4979,6 +5073,7 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
4979
5073
  readonly balanceOver?: string | undefined;
4980
5074
  }[] | undefined;
4981
5075
  readonly guide?: string | undefined;
5076
+ readonly writes?: "actions" | undefined;
4982
5077
  readonly eraseFromWarehouseOnDelete?: true | undefined;
4983
5078
  }[];
4984
5079
  readonly chat?: {
@@ -5029,11 +5124,13 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5029
5124
  readonly workflows?: readonly {
5030
5125
  readonly description: string;
5031
5126
  readonly name: string;
5127
+ readonly connections: readonly string[];
5032
5128
  readonly input: {
5033
5129
  readonly [x: string]: Schema.Json;
5034
5130
  };
5035
- readonly connections: readonly string[];
5036
5131
  readonly triggers: readonly ({
5132
+ readonly [x: string]: Schema.Json;
5133
+ } | {
5037
5134
  readonly kind: "cron";
5038
5135
  readonly name: string;
5039
5136
  readonly description: string;
@@ -5066,13 +5163,12 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5066
5163
  } | undefined;
5067
5164
  readonly timestamp?: {
5068
5165
  readonly unit?: string | undefined;
5069
- readonly header?: string | undefined;
5070
5166
  readonly entry?: string | undefined;
5071
5167
  readonly tolerance?: number | undefined;
5168
+ readonly header?: string | undefined;
5072
5169
  } | undefined;
5073
5170
  readonly generated?: true | undefined;
5074
5171
  readonly input?: string | undefined;
5075
- readonly secret?: string | undefined;
5076
5172
  readonly algorithm?: string | undefined;
5077
5173
  readonly encoding?: string | undefined;
5078
5174
  readonly signatures?: {
@@ -5084,14 +5180,13 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5084
5180
  } | undefined;
5085
5181
  readonly prefix?: string | undefined;
5086
5182
  } | undefined;
5183
+ readonly secret?: string | undefined;
5087
5184
  } | undefined;
5088
5185
  readonly verification?: {
5089
5186
  readonly scheme: string;
5090
5187
  readonly input?: string | undefined;
5091
5188
  readonly verifyToken?: string | undefined;
5092
5189
  } | undefined;
5093
- } | {
5094
- readonly [x: string]: Schema.Json;
5095
5190
  })[];
5096
5191
  readonly role: string;
5097
5192
  readonly action?: {
@@ -5132,6 +5227,10 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5132
5227
  readonly guest?: {
5133
5228
  readonly channels: readonly string[];
5134
5229
  readonly origins: readonly string[];
5230
+ readonly openOnInvite?: readonly string[] | undefined;
5231
+ readonly byChannel?: {
5232
+ readonly [x: string]: readonly string[];
5233
+ } | undefined;
5135
5234
  readonly botCheck?: {
5136
5235
  readonly scheme: string;
5137
5236
  readonly connection?: string | undefined;
@@ -5174,6 +5273,7 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5174
5273
  readonly subject: string;
5175
5274
  readonly heading: string;
5176
5275
  readonly action: string;
5276
+ readonly replyTo?: string | undefined;
5177
5277
  readonly eyebrow?: string | undefined;
5178
5278
  readonly card?: {
5179
5279
  readonly title: string;
@@ -5196,7 +5296,6 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5196
5296
  } | undefined;
5197
5297
  }[] | undefined;
5198
5298
  readonly footer?: string | undefined;
5199
- readonly replyTo?: string | undefined;
5200
5299
  };
5201
5300
  } | undefined;
5202
5301
  readonly inbox?: {
@@ -5230,9 +5329,10 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5230
5329
  readonly entity: string;
5231
5330
  readonly property: string;
5232
5331
  }[] | undefined;
5332
+ readonly connections?: readonly string[] | undefined;
5333
+ readonly anyOf?: readonly string[] | undefined;
5233
5334
  readonly retryOnDeadlock?: boolean | undefined;
5234
5335
  readonly writes?: readonly string[] | undefined;
5235
- readonly connections?: readonly string[] | undefined;
5236
5336
  readonly hints?: {
5237
5337
  readonly readOnly?: boolean | undefined;
5238
5338
  readonly connectionsReadOnly?: boolean | undefined;
@@ -5300,9 +5400,10 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5300
5400
  readonly entity: string;
5301
5401
  readonly property: string;
5302
5402
  }[] | undefined;
5403
+ readonly connections?: readonly string[] | undefined;
5404
+ readonly anyOf?: readonly string[] | undefined;
5303
5405
  readonly retryOnDeadlock?: boolean | undefined;
5304
5406
  readonly writes?: readonly string[] | undefined;
5305
- readonly connections?: readonly string[] | undefined;
5306
5407
  readonly hints?: {
5307
5408
  readonly readOnly?: boolean | undefined;
5308
5409
  readonly connectionsReadOnly?: boolean | undefined;
@@ -5341,7 +5442,6 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5341
5442
  readonly unlink?: string | undefined;
5342
5443
  } | undefined;
5343
5444
  readonly renamedFrom?: string | undefined;
5344
- readonly writes?: "actions" | undefined;
5345
5445
  readonly source?: {
5346
5446
  readonly key: readonly string[];
5347
5447
  readonly asset: string;
@@ -5357,6 +5457,7 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5357
5457
  readonly balanceOver?: string | undefined;
5358
5458
  }[] | undefined;
5359
5459
  readonly guide?: string | undefined;
5460
+ readonly writes?: "actions" | undefined;
5360
5461
  readonly eraseFromWarehouseOnDelete?: true | undefined;
5361
5462
  }[];
5362
5463
  readonly chat?: {
@@ -5407,11 +5508,13 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5407
5508
  readonly workflows?: readonly {
5408
5509
  readonly description: string;
5409
5510
  readonly name: string;
5511
+ readonly connections: readonly string[];
5410
5512
  readonly input: {
5411
5513
  readonly [x: string]: Schema.Json;
5412
5514
  };
5413
- readonly connections: readonly string[];
5414
5515
  readonly triggers: readonly ({
5516
+ readonly [x: string]: Schema.Json;
5517
+ } | {
5415
5518
  readonly kind: "cron";
5416
5519
  readonly name: string;
5417
5520
  readonly description: string;
@@ -5444,13 +5547,12 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5444
5547
  } | undefined;
5445
5548
  readonly timestamp?: {
5446
5549
  readonly unit?: string | undefined;
5447
- readonly header?: string | undefined;
5448
5550
  readonly entry?: string | undefined;
5449
5551
  readonly tolerance?: number | undefined;
5552
+ readonly header?: string | undefined;
5450
5553
  } | undefined;
5451
5554
  readonly generated?: true | undefined;
5452
5555
  readonly input?: string | undefined;
5453
- readonly secret?: string | undefined;
5454
5556
  readonly algorithm?: string | undefined;
5455
5557
  readonly encoding?: string | undefined;
5456
5558
  readonly signatures?: {
@@ -5462,14 +5564,13 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5462
5564
  } | undefined;
5463
5565
  readonly prefix?: string | undefined;
5464
5566
  } | undefined;
5567
+ readonly secret?: string | undefined;
5465
5568
  } | undefined;
5466
5569
  readonly verification?: {
5467
5570
  readonly scheme: string;
5468
5571
  readonly input?: string | undefined;
5469
5572
  readonly verifyToken?: string | undefined;
5470
5573
  } | undefined;
5471
- } | {
5472
- readonly [x: string]: Schema.Json;
5473
5574
  })[];
5474
5575
  readonly role: string;
5475
5576
  readonly action?: {
@@ -5510,6 +5611,10 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5510
5611
  readonly guest?: {
5511
5612
  readonly channels: readonly string[];
5512
5613
  readonly origins: readonly string[];
5614
+ readonly openOnInvite?: readonly string[] | undefined;
5615
+ readonly byChannel?: {
5616
+ readonly [x: string]: readonly string[];
5617
+ } | undefined;
5513
5618
  readonly botCheck?: {
5514
5619
  readonly scheme: string;
5515
5620
  readonly connection?: string | undefined;
@@ -5552,6 +5657,7 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5552
5657
  readonly subject: string;
5553
5658
  readonly heading: string;
5554
5659
  readonly action: string;
5660
+ readonly replyTo?: string | undefined;
5555
5661
  readonly eyebrow?: string | undefined;
5556
5662
  readonly card?: {
5557
5663
  readonly title: string;
@@ -5574,7 +5680,6 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5574
5680
  } | undefined;
5575
5681
  }[] | undefined;
5576
5682
  readonly footer?: string | undefined;
5577
- readonly replyTo?: string | undefined;
5578
5683
  };
5579
5684
  } | undefined;
5580
5685
  readonly inbox?: {
@@ -5608,9 +5713,10 @@ export declare const decodeManifestDocument: (value: unknown) => Effect.Effect<{
5608
5713
  readonly entity: string;
5609
5714
  readonly property: string;
5610
5715
  }[] | undefined;
5716
+ readonly connections?: readonly string[] | undefined;
5717
+ readonly anyOf?: readonly string[] | undefined;
5611
5718
  readonly retryOnDeadlock?: boolean | undefined;
5612
5719
  readonly writes?: readonly string[] | undefined;
5613
- readonly connections?: readonly string[] | undefined;
5614
5720
  readonly hints?: {
5615
5721
  readonly readOnly?: boolean | undefined;
5616
5722
  readonly connectionsReadOnly?: boolean | undefined;