@treeseed/sdk 0.13.0-rc.89 → 0.13.0-rc.91

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.
@@ -5,8 +5,8 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
5
5
  declaration: {
6
6
  schemaVersion: "treeseed.hosted-topology/v1";
7
7
  resources: {
8
- id: string;
9
8
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
9
+ id: string;
10
10
  provider: "cloudflare" | "railway";
11
11
  adoption: {
12
12
  mode: "adopt-or-create";
@@ -36,18 +36,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
36
36
  mutation: "agent-authorized";
37
37
  environment: "production" | "staging";
38
38
  artifacts: Record<string, {
39
+ kind: "archive";
39
40
  digest: string;
40
41
  source: string;
41
- kind: "archive";
42
42
  format: "tar+gzip";
43
43
  } | {
44
+ kind: "file";
44
45
  digest: string;
45
46
  source: string;
46
- kind: "file";
47
47
  mediaType: string;
48
48
  } | {
49
- digest: string;
50
49
  kind: "oci-image";
50
+ digest: string;
51
51
  identity: string;
52
52
  }>;
53
53
  deploymentId: string;
@@ -72,14 +72,14 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
72
72
  }[];
73
73
  planDigest: string;
74
74
  actions: {
75
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
75
76
  action: "noop" | "create" | "adopt" | "update";
76
77
  resourceId: string;
77
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
78
78
  provider: "cloudflare" | "railway";
79
79
  providerResourceId: string | null;
80
80
  desiredResource: {
81
- id: string;
82
81
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
82
+ id: string;
83
83
  provider: "cloudflare" | "railway";
84
84
  adoption: {
85
85
  mode: "adopt-or-create";
@@ -107,18 +107,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
107
107
  environment: "production" | "staging";
108
108
  executable: false;
109
109
  artifacts: Record<string, {
110
+ kind: "archive";
110
111
  digest: string;
111
112
  source: string;
112
- kind: "archive";
113
113
  format: "tar+gzip";
114
114
  } | {
115
+ kind: "file";
115
116
  digest: string;
116
117
  source: string;
117
- kind: "file";
118
118
  mediaType: string;
119
119
  } | {
120
- digest: string;
121
120
  kind: "oci-image";
121
+ digest: string;
122
122
  identity: string;
123
123
  }>;
124
124
  planId: string;
@@ -157,9 +157,9 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
157
157
  receipt: {
158
158
  schemaVersion: "treeseed.hosted-topology-receipt/v1";
159
159
  resources: {
160
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
160
161
  state: "missing" | "degraded" | "healthy";
161
162
  resourceId: string;
162
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
163
163
  provider: "cloudflare" | "railway";
164
164
  providerResourceId: string | null;
165
165
  managedBy: "external" | "treeseed" | null;
@@ -179,9 +179,9 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
179
179
  platformCommit: string;
180
180
  backendBindingDigest: string;
181
181
  previousResources: {
182
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
182
183
  state: "missing" | "degraded" | "healthy";
183
184
  resourceId: string;
184
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
185
185
  provider: "cloudflare" | "railway";
186
186
  providerResourceId: string | null;
187
187
  managedBy: "external" | "treeseed" | null;
@@ -232,14 +232,14 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
232
232
  }[];
233
233
  planDigest: string;
234
234
  actions: {
235
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
235
236
  action: "noop" | "create" | "adopt" | "update";
236
237
  resourceId: string;
237
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
238
238
  provider: "cloudflare" | "railway";
239
239
  providerResourceId: string | null;
240
240
  desiredResource: {
241
- id: string;
242
241
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
242
+ id: string;
243
243
  provider: "cloudflare" | "railway";
244
244
  adoption: {
245
245
  mode: "adopt-or-create";
@@ -267,18 +267,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
267
267
  environment: "production" | "staging";
268
268
  executable: false;
269
269
  artifacts: Record<string, {
270
+ kind: "archive";
270
271
  digest: string;
271
272
  source: string;
272
- kind: "archive";
273
273
  format: "tar+gzip";
274
274
  } | {
275
+ kind: "file";
275
276
  digest: string;
276
277
  source: string;
277
- kind: "file";
278
278
  mediaType: string;
279
279
  } | {
280
- digest: string;
281
280
  kind: "oci-image";
281
+ digest: string;
282
282
  identity: string;
283
283
  }>;
284
284
  planId: string;
@@ -318,14 +318,14 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
318
318
  }[];
319
319
  planDigest: string;
320
320
  actions: {
321
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
321
322
  action: "noop" | "create" | "adopt" | "update";
322
323
  resourceId: string;
323
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
324
324
  provider: "cloudflare" | "railway";
325
325
  providerResourceId: string | null;
326
326
  desiredResource: {
327
- id: string;
328
327
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
328
+ id: string;
329
329
  provider: "cloudflare" | "railway";
330
330
  adoption: {
331
331
  mode: "adopt-or-create";
@@ -353,18 +353,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
353
353
  environment: "production" | "staging";
354
354
  executable: false;
355
355
  artifacts: Record<string, {
356
+ kind: "archive";
356
357
  digest: string;
357
358
  source: string;
358
- kind: "archive";
359
359
  format: "tar+gzip";
360
360
  } | {
361
+ kind: "file";
361
362
  digest: string;
362
363
  source: string;
363
- kind: "file";
364
364
  mediaType: string;
365
365
  } | {
366
- digest: string;
367
366
  kind: "oci-image";
367
+ digest: string;
368
368
  identity: string;
369
369
  }>;
370
370
  planId: string;
@@ -2,21 +2,21 @@ export declare function inboxOperations(): {
2
2
  list: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
3
3
  teamId: string;
4
4
  }, {
5
+ kind?: "all" | "proposal" | "question" | undefined;
5
6
  projectId?: string | undefined;
6
7
  state?: "all" | "outstanding" | undefined;
7
- kind?: "all" | "proposal" | "question" | undefined;
8
8
  cursor?: string | undefined;
9
9
  limit?: number | undefined;
10
10
  }, undefined, {
11
11
  schemaVersion: "treeseed.inbox-page/v1";
12
12
  items: {
13
13
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
14
+ kind: "proposal" | "question";
14
15
  id: string;
15
16
  version: number;
16
17
  projectId: string;
17
18
  teamId: string;
18
19
  createdAt: string;
19
- kind: "proposal" | "question";
20
20
  projectSlug: string;
21
21
  updatedAt: string;
22
22
  authorId: string;
@@ -31,13 +31,13 @@ export declare function inboxOperations(): {
31
31
  itemId: string;
32
32
  }, {}, undefined, {
33
33
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
34
+ kind: "proposal" | "question";
34
35
  schemaVersion: "treeseed.inbox-item/v1";
35
36
  id: string;
36
37
  version: number;
37
38
  projectId: string;
38
39
  teamId: string;
39
40
  createdAt: string;
40
- kind: "proposal" | "question";
41
41
  provenance: {
42
42
  digest: string | null;
43
43
  repositoryId: string | null;
@@ -60,9 +60,9 @@ export declare function inboxOperations(): {
60
60
  requiresFeedback: boolean;
61
61
  }[];
62
62
  comments: {
63
+ kind: "comment" | "answer" | "reply";
63
64
  id: string;
64
65
  createdAt: string;
65
- kind: "comment" | "answer" | "reply";
66
66
  provenance: {
67
67
  digest: string | null;
68
68
  repositoryId: string | null;
@@ -109,13 +109,13 @@ export declare function inboxOperations(): {
109
109
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
110
110
  item: {
111
111
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
112
+ kind: "proposal" | "question";
112
113
  schemaVersion: "treeseed.inbox-item/v1";
113
114
  id: string;
114
115
  version: number;
115
116
  projectId: string;
116
117
  teamId: string;
117
118
  createdAt: string;
118
- kind: "proposal" | "question";
119
119
  provenance: {
120
120
  digest: string | null;
121
121
  repositoryId: string | null;
@@ -138,9 +138,9 @@ export declare function inboxOperations(): {
138
138
  requiresFeedback: boolean;
139
139
  }[];
140
140
  comments: {
141
+ kind: "comment" | "answer" | "reply";
141
142
  id: string;
142
143
  createdAt: string;
143
- kind: "comment" | "answer" | "reply";
144
144
  provenance: {
145
145
  digest: string | null;
146
146
  repositoryId: string | null;
@@ -209,13 +209,13 @@ export declare function inboxOperations(): {
209
209
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
210
210
  item: {
211
211
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
212
+ kind: "proposal" | "question";
212
213
  schemaVersion: "treeseed.inbox-item/v1";
213
214
  id: string;
214
215
  version: number;
215
216
  projectId: string;
216
217
  teamId: string;
217
218
  createdAt: string;
218
- kind: "proposal" | "question";
219
219
  provenance: {
220
220
  digest: string | null;
221
221
  repositoryId: string | null;
@@ -238,9 +238,9 @@ export declare function inboxOperations(): {
238
238
  requiresFeedback: boolean;
239
239
  }[];
240
240
  comments: {
241
+ kind: "comment" | "answer" | "reply";
241
242
  id: string;
242
243
  createdAt: string;
243
- kind: "comment" | "answer" | "reply";
244
244
  provenance: {
245
245
  digest: string | null;
246
246
  repositoryId: string | null;
@@ -39,12 +39,12 @@ export declare const communicationTopicEventSchema: z.ZodObject<{
39
39
  id: z.ZodString;
40
40
  handle: z.ZodNullable<z.ZodString>;
41
41
  }, "strict", z.ZodTypeAny, {
42
- id: string;
43
42
  kind: "control-plane" | "provider" | "agent" | "user";
43
+ id: string;
44
44
  handle: string | null;
45
45
  }, {
46
- id: string;
47
46
  kind: "control-plane" | "provider" | "agent" | "user";
47
+ id: string;
48
48
  handle: string | null;
49
49
  }>;
50
50
  summary: z.ZodString;
@@ -60,8 +60,8 @@ export declare const communicationTopicEventSchema: z.ZodObject<{
60
60
  sequence: number;
61
61
  payload: Record<string, unknown>;
62
62
  actor: {
63
- id: string;
64
63
  kind: "control-plane" | "provider" | "agent" | "user";
64
+ id: string;
65
65
  handle: string | null;
66
66
  };
67
67
  summary: string;
@@ -78,8 +78,8 @@ export declare const communicationTopicEventSchema: z.ZodObject<{
78
78
  sequence: number;
79
79
  payload: Record<string, unknown>;
80
80
  actor: {
81
- id: string;
82
81
  kind: "control-plane" | "provider" | "agent" | "user";
82
+ id: string;
83
83
  handle: string | null;
84
84
  };
85
85
  summary: string;
@@ -834,12 +834,12 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
834
834
  id: z.ZodString;
835
835
  handle: z.ZodNullable<z.ZodString>;
836
836
  }, "strict", z.ZodTypeAny, {
837
- id: string;
838
837
  kind: "control-plane" | "provider" | "agent" | "user";
838
+ id: string;
839
839
  handle: string | null;
840
840
  }, {
841
- id: string;
842
841
  kind: "control-plane" | "provider" | "agent" | "user";
842
+ id: string;
843
843
  handle: string | null;
844
844
  }>;
845
845
  summary: z.ZodString;
@@ -855,8 +855,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
855
855
  sequence: number;
856
856
  payload: Record<string, unknown>;
857
857
  actor: {
858
- id: string;
859
858
  kind: "control-plane" | "provider" | "agent" | "user";
859
+ id: string;
860
860
  handle: string | null;
861
861
  };
862
862
  summary: string;
@@ -873,8 +873,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
873
873
  sequence: number;
874
874
  payload: Record<string, unknown>;
875
875
  actor: {
876
- id: string;
877
876
  kind: "control-plane" | "provider" | "agent" | "user";
877
+ id: string;
878
878
  handle: string | null;
879
879
  };
880
880
  summary: string;
@@ -978,8 +978,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
978
978
  sequence: number;
979
979
  payload: Record<string, unknown>;
980
980
  actor: {
981
- id: string;
982
981
  kind: "control-plane" | "provider" | "agent" | "user";
982
+ id: string;
983
983
  handle: string | null;
984
984
  };
985
985
  summary: string;
@@ -1089,8 +1089,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
1089
1089
  sequence: number;
1090
1090
  payload: Record<string, unknown>;
1091
1091
  actor: {
1092
- id: string;
1093
1092
  kind: "control-plane" | "provider" | "agent" | "user";
1093
+ id: string;
1094
1094
  handle: string | null;
1095
1095
  };
1096
1096
  summary: string;
@@ -1505,12 +1505,12 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1505
1505
  id: z.ZodString;
1506
1506
  handle: z.ZodNullable<z.ZodString>;
1507
1507
  }, "strict", z.ZodTypeAny, {
1508
- id: string;
1509
1508
  kind: "control-plane" | "provider" | "agent" | "user";
1509
+ id: string;
1510
1510
  handle: string | null;
1511
1511
  }, {
1512
- id: string;
1513
1512
  kind: "control-plane" | "provider" | "agent" | "user";
1513
+ id: string;
1514
1514
  handle: string | null;
1515
1515
  }>;
1516
1516
  summary: z.ZodString;
@@ -1526,8 +1526,8 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1526
1526
  sequence: number;
1527
1527
  payload: Record<string, unknown>;
1528
1528
  actor: {
1529
- id: string;
1530
1529
  kind: "control-plane" | "provider" | "agent" | "user";
1530
+ id: string;
1531
1531
  handle: string | null;
1532
1532
  };
1533
1533
  summary: string;
@@ -1544,8 +1544,8 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1544
1544
  sequence: number;
1545
1545
  payload: Record<string, unknown>;
1546
1546
  actor: {
1547
- id: string;
1548
1547
  kind: "control-plane" | "provider" | "agent" | "user";
1548
+ id: string;
1549
1549
  handle: string | null;
1550
1550
  };
1551
1551
  summary: string;
@@ -1590,8 +1590,8 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1590
1590
  sequence: number;
1591
1591
  payload: Record<string, unknown>;
1592
1592
  actor: {
1593
- id: string;
1594
1593
  kind: "control-plane" | "provider" | "agent" | "user";
1594
+ id: string;
1595
1595
  handle: string | null;
1596
1596
  };
1597
1597
  summary: string;
@@ -1635,8 +1635,8 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1635
1635
  sequence: number;
1636
1636
  payload: Record<string, unknown>;
1637
1637
  actor: {
1638
- id: string;
1639
1638
  kind: "control-plane" | "provider" | "agent" | "user";
1639
+ id: string;
1640
1640
  handle: string | null;
1641
1641
  };
1642
1642
  summary: string;