@treeseed/sdk 0.13.0-rc.90 → 0.13.0-rc.92
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +6 -6
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +144 -144
- package/dist/capacity-provider/environment-catalog.d.ts +12 -12
- package/dist/capacity-provider/index.d.ts +1 -0
- package/dist/capacity-provider/index.js +1 -0
- package/dist/capacity-provider/install-configuration.d.ts +39 -0
- package/dist/capacity-provider/install-configuration.js +18 -0
- package/dist/configuration/secrets-capability.d.ts +3 -0
- package/dist/configuration/secrets-capability.js +3 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +16 -16
- package/dist/content/validation/auxiliary-content-schemas.d.ts +20 -20
- package/dist/content/validation/content-model-schemas.d.ts +304 -304
- package/dist/content/validation/portable-content-data.d.ts +28 -28
- package/dist/deployment/ai-hosting.d.ts +297 -0
- package/dist/deployment/ai-hosting.js +63 -0
- package/dist/deployment/ai-instance.d.ts +48 -0
- package/dist/deployment/ai-instance.js +23 -0
- package/dist/deployment/hosted-topology-template.d.ts +24 -24
- package/dist/deployment/hosted-topology.d.ts +114 -114
- package/dist/deployment/index.d.ts +2 -0
- package/dist/deployment/index.js +2 -0
- package/dist/deployment/schemas.d.ts +38 -38
- package/dist/development/schemas.d.ts +76 -76
- package/dist/operator-contracts/canonical-command-tree.js +3 -10
- package/dist/operator-contracts/catalog/communication-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +21 -21
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +8 -8
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +29 -0
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +18 -0
- package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.d.ts +3 -0
- package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.js +15 -0
- package/dist/operator-contracts/communication/contracts.d.ts +34 -34
- package/dist/operator-contracts/control-plane-operations.d.ts +63 -34
- package/dist/operator-contracts/control-plane-operations.js +3 -17
- package/dist/operator-contracts/inbox/contracts.d.ts +30 -30
- package/dist/operator-contracts/operation-builder.d.ts +1 -0
- package/dist/operator-contracts/operation-builder.js +17 -0
- package/dist/platform/schemas.d.ts +220 -40
- package/dist/platform/schemas.js +7 -2
- package/dist/platform/workset.js +5 -1
- package/dist/secrets-capability/github-actions-encryption.js +1 -1
- package/dist/secrets-capability/provider-operation-contracts.d.ts +14 -0
- package/dist/secrets-capability/service-provider-contracts.d.ts +4 -2
- package/dist/secrets-capability/service-provider-contracts.js +41 -27
- package/dist/secrets-capability/shared-access.d.ts +51 -0
- package/dist/secrets-capability/shared-access.js +36 -0
- package/dist/secrets-capability/shared-resources.d.ts +376 -0
- package/dist/secrets-capability/shared-resources.js +91 -0
- package/dist/secrets-capability/vault-contracts.d.ts +132 -0
- package/dist/secrets-capability/vault-contracts.js +56 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -108,12 +108,12 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
|
|
|
108
108
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
109
109
|
}, "strict", z.ZodTypeAny, {
|
|
110
110
|
capabilities: string[];
|
|
111
|
-
parameters: Record<string, unknown>;
|
|
112
111
|
model: string | null;
|
|
112
|
+
parameters: Record<string, unknown>;
|
|
113
113
|
}, {
|
|
114
114
|
capabilities: string[];
|
|
115
|
-
parameters: Record<string, unknown>;
|
|
116
115
|
model: string | null;
|
|
116
|
+
parameters: Record<string, unknown>;
|
|
117
117
|
}>;
|
|
118
118
|
identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
119
119
|
contextManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
@@ -126,8 +126,8 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
|
|
|
126
126
|
resources: Record<string, unknown>;
|
|
127
127
|
selection: {
|
|
128
128
|
capabilities: string[];
|
|
129
|
-
parameters: Record<string, unknown>;
|
|
130
129
|
model: string | null;
|
|
130
|
+
parameters: Record<string, unknown>;
|
|
131
131
|
};
|
|
132
132
|
reason: string | null;
|
|
133
133
|
provider: {
|
|
@@ -146,8 +146,8 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
|
|
|
146
146
|
resources: Record<string, unknown>;
|
|
147
147
|
selection: {
|
|
148
148
|
capabilities: string[];
|
|
149
|
-
parameters: Record<string, unknown>;
|
|
150
149
|
model: string | null;
|
|
150
|
+
parameters: Record<string, unknown>;
|
|
151
151
|
};
|
|
152
152
|
reason: string | null;
|
|
153
153
|
provider: {
|
|
@@ -264,12 +264,12 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
264
264
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
265
265
|
}, "strict", z.ZodTypeAny, {
|
|
266
266
|
capabilities: string[];
|
|
267
|
-
parameters: Record<string, unknown>;
|
|
268
267
|
model: string | null;
|
|
268
|
+
parameters: Record<string, unknown>;
|
|
269
269
|
}, {
|
|
270
270
|
capabilities: string[];
|
|
271
|
-
parameters: Record<string, unknown>;
|
|
272
271
|
model: string | null;
|
|
272
|
+
parameters: Record<string, unknown>;
|
|
273
273
|
}>;
|
|
274
274
|
identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
275
275
|
contextManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
@@ -282,8 +282,8 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
282
282
|
resources: Record<string, unknown>;
|
|
283
283
|
selection: {
|
|
284
284
|
capabilities: string[];
|
|
285
|
-
parameters: Record<string, unknown>;
|
|
286
285
|
model: string | null;
|
|
286
|
+
parameters: Record<string, unknown>;
|
|
287
287
|
};
|
|
288
288
|
reason: string | null;
|
|
289
289
|
provider: {
|
|
@@ -302,8 +302,8 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
302
302
|
resources: Record<string, unknown>;
|
|
303
303
|
selection: {
|
|
304
304
|
capabilities: string[];
|
|
305
|
-
parameters: Record<string, unknown>;
|
|
306
305
|
model: string | null;
|
|
306
|
+
parameters: Record<string, unknown>;
|
|
307
307
|
};
|
|
308
308
|
reason: string | null;
|
|
309
309
|
provider: {
|
|
@@ -343,8 +343,8 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
343
343
|
resources: Record<string, unknown>;
|
|
344
344
|
selection: {
|
|
345
345
|
capabilities: string[];
|
|
346
|
-
parameters: Record<string, unknown>;
|
|
347
346
|
model: string | null;
|
|
347
|
+
parameters: Record<string, unknown>;
|
|
348
348
|
};
|
|
349
349
|
reason: string | null;
|
|
350
350
|
provider: {
|
|
@@ -402,8 +402,8 @@ export declare const communicationTargetSchema: z.ZodObject<{
|
|
|
402
402
|
resources: Record<string, unknown>;
|
|
403
403
|
selection: {
|
|
404
404
|
capabilities: string[];
|
|
405
|
-
parameters: Record<string, unknown>;
|
|
406
405
|
model: string | null;
|
|
406
|
+
parameters: Record<string, unknown>;
|
|
407
407
|
};
|
|
408
408
|
reason: string | null;
|
|
409
409
|
provider: {
|
|
@@ -609,12 +609,12 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
609
609
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
610
610
|
}, "strict", z.ZodTypeAny, {
|
|
611
611
|
capabilities: string[];
|
|
612
|
-
parameters: Record<string, unknown>;
|
|
613
612
|
model: string | null;
|
|
613
|
+
parameters: Record<string, unknown>;
|
|
614
614
|
}, {
|
|
615
615
|
capabilities: string[];
|
|
616
|
-
parameters: Record<string, unknown>;
|
|
617
616
|
model: string | null;
|
|
617
|
+
parameters: Record<string, unknown>;
|
|
618
618
|
}>;
|
|
619
619
|
identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
620
620
|
contextManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
@@ -627,8 +627,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
627
627
|
resources: Record<string, unknown>;
|
|
628
628
|
selection: {
|
|
629
629
|
capabilities: string[];
|
|
630
|
-
parameters: Record<string, unknown>;
|
|
631
630
|
model: string | null;
|
|
631
|
+
parameters: Record<string, unknown>;
|
|
632
632
|
};
|
|
633
633
|
reason: string | null;
|
|
634
634
|
provider: {
|
|
@@ -647,8 +647,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
647
647
|
resources: Record<string, unknown>;
|
|
648
648
|
selection: {
|
|
649
649
|
capabilities: string[];
|
|
650
|
-
parameters: Record<string, unknown>;
|
|
651
650
|
model: string | null;
|
|
651
|
+
parameters: Record<string, unknown>;
|
|
652
652
|
};
|
|
653
653
|
reason: string | null;
|
|
654
654
|
provider: {
|
|
@@ -688,8 +688,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
688
688
|
resources: Record<string, unknown>;
|
|
689
689
|
selection: {
|
|
690
690
|
capabilities: string[];
|
|
691
|
-
parameters: Record<string, unknown>;
|
|
692
691
|
model: string | null;
|
|
692
|
+
parameters: Record<string, unknown>;
|
|
693
693
|
};
|
|
694
694
|
reason: string | null;
|
|
695
695
|
provider: {
|
|
@@ -747,8 +747,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
747
747
|
resources: Record<string, unknown>;
|
|
748
748
|
selection: {
|
|
749
749
|
capabilities: string[];
|
|
750
|
-
parameters: Record<string, unknown>;
|
|
751
750
|
model: string | null;
|
|
751
|
+
parameters: Record<string, unknown>;
|
|
752
752
|
};
|
|
753
753
|
reason: string | null;
|
|
754
754
|
provider: {
|
|
@@ -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;
|
|
@@ -911,8 +911,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
911
911
|
resources: Record<string, unknown>;
|
|
912
912
|
selection: {
|
|
913
913
|
capabilities: string[];
|
|
914
|
-
parameters: Record<string, unknown>;
|
|
915
914
|
model: string | null;
|
|
915
|
+
parameters: Record<string, unknown>;
|
|
916
916
|
};
|
|
917
917
|
reason: string | null;
|
|
918
918
|
provider: {
|
|
@@ -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;
|
|
@@ -1022,8 +1022,8 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
|
|
|
1022
1022
|
resources: Record<string, unknown>;
|
|
1023
1023
|
selection: {
|
|
1024
1024
|
capabilities: string[];
|
|
1025
|
-
parameters: Record<string, unknown>;
|
|
1026
1025
|
model: string | null;
|
|
1026
|
+
parameters: Record<string, unknown>;
|
|
1027
1027
|
};
|
|
1028
1028
|
reason: string | null;
|
|
1029
1029
|
provider: {
|
|
@@ -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;
|
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
import type { ControlPlaneOperationDescriptor } from './control-plane-operation.js';
|
|
2
2
|
export declare const CONTROL_PLANE_OPERATIONS: {
|
|
3
|
+
readonly aiInstances: {
|
|
4
|
+
list: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
5
|
+
teamId: string;
|
|
6
|
+
}, {
|
|
7
|
+
cursor?: string | undefined;
|
|
8
|
+
limit?: number | undefined;
|
|
9
|
+
}, undefined, Record<string, unknown>>;
|
|
10
|
+
show: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
11
|
+
teamId: string;
|
|
12
|
+
instanceId: string;
|
|
13
|
+
}, {}, undefined, Record<string, unknown>>;
|
|
14
|
+
put: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
15
|
+
teamId: string;
|
|
16
|
+
instanceId: string;
|
|
17
|
+
}, {}, {
|
|
18
|
+
name: string;
|
|
19
|
+
projectId: string;
|
|
20
|
+
purpose: "inference" | "training" | "both";
|
|
21
|
+
timeZone: string;
|
|
22
|
+
schedule: "weekdays" | "always";
|
|
23
|
+
hostingConnectionId: string;
|
|
24
|
+
storageConnectionId: string | null;
|
|
25
|
+
model: string;
|
|
26
|
+
}, Record<string, unknown>>;
|
|
27
|
+
remove: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
28
|
+
teamId: string;
|
|
29
|
+
instanceId: string;
|
|
30
|
+
}, {}, {}, Record<string, unknown>>;
|
|
31
|
+
};
|
|
3
32
|
readonly infrastructure: {
|
|
4
33
|
readonly topology: {
|
|
5
34
|
readonly plan: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
@@ -8,8 +37,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
8
37
|
declaration: {
|
|
9
38
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
10
39
|
resources: {
|
|
11
|
-
id: string;
|
|
12
40
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
41
|
+
id: string;
|
|
13
42
|
provider: "cloudflare" | "railway";
|
|
14
43
|
adoption: {
|
|
15
44
|
mode: "adopt-or-create";
|
|
@@ -39,18 +68,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
39
68
|
mutation: "agent-authorized";
|
|
40
69
|
environment: "production" | "staging";
|
|
41
70
|
artifacts: Record<string, {
|
|
71
|
+
kind: "archive";
|
|
42
72
|
digest: string;
|
|
43
73
|
source: string;
|
|
44
|
-
kind: "archive";
|
|
45
74
|
format: "tar+gzip";
|
|
46
75
|
} | {
|
|
76
|
+
kind: "file";
|
|
47
77
|
digest: string;
|
|
48
78
|
source: string;
|
|
49
|
-
kind: "file";
|
|
50
79
|
mediaType: string;
|
|
51
80
|
} | {
|
|
52
|
-
digest: string;
|
|
53
81
|
kind: "oci-image";
|
|
82
|
+
digest: string;
|
|
54
83
|
identity: string;
|
|
55
84
|
}>;
|
|
56
85
|
deploymentId: string;
|
|
@@ -75,14 +104,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
75
104
|
}[];
|
|
76
105
|
planDigest: string;
|
|
77
106
|
actions: {
|
|
107
|
+
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
78
108
|
action: "noop" | "create" | "adopt" | "update";
|
|
79
109
|
resourceId: string;
|
|
80
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
81
110
|
provider: "cloudflare" | "railway";
|
|
82
111
|
providerResourceId: string | null;
|
|
83
112
|
desiredResource: {
|
|
84
|
-
id: string;
|
|
85
113
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
114
|
+
id: string;
|
|
86
115
|
provider: "cloudflare" | "railway";
|
|
87
116
|
adoption: {
|
|
88
117
|
mode: "adopt-or-create";
|
|
@@ -110,18 +139,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
110
139
|
environment: "production" | "staging";
|
|
111
140
|
executable: false;
|
|
112
141
|
artifacts: Record<string, {
|
|
142
|
+
kind: "archive";
|
|
113
143
|
digest: string;
|
|
114
144
|
source: string;
|
|
115
|
-
kind: "archive";
|
|
116
145
|
format: "tar+gzip";
|
|
117
146
|
} | {
|
|
147
|
+
kind: "file";
|
|
118
148
|
digest: string;
|
|
119
149
|
source: string;
|
|
120
|
-
kind: "file";
|
|
121
150
|
mediaType: string;
|
|
122
151
|
} | {
|
|
123
|
-
digest: string;
|
|
124
152
|
kind: "oci-image";
|
|
153
|
+
digest: string;
|
|
125
154
|
identity: string;
|
|
126
155
|
}>;
|
|
127
156
|
planId: string;
|
|
@@ -160,9 +189,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
160
189
|
receipt: {
|
|
161
190
|
schemaVersion: "treeseed.hosted-topology-receipt/v1";
|
|
162
191
|
resources: {
|
|
192
|
+
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
163
193
|
state: "missing" | "degraded" | "healthy";
|
|
164
194
|
resourceId: string;
|
|
165
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
166
195
|
provider: "cloudflare" | "railway";
|
|
167
196
|
providerResourceId: string | null;
|
|
168
197
|
managedBy: "external" | "treeseed" | null;
|
|
@@ -182,9 +211,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
182
211
|
platformCommit: string;
|
|
183
212
|
backendBindingDigest: string;
|
|
184
213
|
previousResources: {
|
|
214
|
+
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
185
215
|
state: "missing" | "degraded" | "healthy";
|
|
186
216
|
resourceId: string;
|
|
187
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
188
217
|
provider: "cloudflare" | "railway";
|
|
189
218
|
providerResourceId: string | null;
|
|
190
219
|
managedBy: "external" | "treeseed" | null;
|
|
@@ -235,14 +264,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
235
264
|
}[];
|
|
236
265
|
planDigest: string;
|
|
237
266
|
actions: {
|
|
267
|
+
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
238
268
|
action: "noop" | "create" | "adopt" | "update";
|
|
239
269
|
resourceId: string;
|
|
240
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
241
270
|
provider: "cloudflare" | "railway";
|
|
242
271
|
providerResourceId: string | null;
|
|
243
272
|
desiredResource: {
|
|
244
|
-
id: string;
|
|
245
273
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
274
|
+
id: string;
|
|
246
275
|
provider: "cloudflare" | "railway";
|
|
247
276
|
adoption: {
|
|
248
277
|
mode: "adopt-or-create";
|
|
@@ -270,18 +299,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
270
299
|
environment: "production" | "staging";
|
|
271
300
|
executable: false;
|
|
272
301
|
artifacts: Record<string, {
|
|
302
|
+
kind: "archive";
|
|
273
303
|
digest: string;
|
|
274
304
|
source: string;
|
|
275
|
-
kind: "archive";
|
|
276
305
|
format: "tar+gzip";
|
|
277
306
|
} | {
|
|
307
|
+
kind: "file";
|
|
278
308
|
digest: string;
|
|
279
309
|
source: string;
|
|
280
|
-
kind: "file";
|
|
281
310
|
mediaType: string;
|
|
282
311
|
} | {
|
|
283
|
-
digest: string;
|
|
284
312
|
kind: "oci-image";
|
|
313
|
+
digest: string;
|
|
285
314
|
identity: string;
|
|
286
315
|
}>;
|
|
287
316
|
planId: string;
|
|
@@ -321,14 +350,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
321
350
|
}[];
|
|
322
351
|
planDigest: string;
|
|
323
352
|
actions: {
|
|
353
|
+
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
324
354
|
action: "noop" | "create" | "adopt" | "update";
|
|
325
355
|
resourceId: string;
|
|
326
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
327
356
|
provider: "cloudflare" | "railway";
|
|
328
357
|
providerResourceId: string | null;
|
|
329
358
|
desiredResource: {
|
|
330
|
-
id: string;
|
|
331
359
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
360
|
+
id: string;
|
|
332
361
|
provider: "cloudflare" | "railway";
|
|
333
362
|
adoption: {
|
|
334
363
|
mode: "adopt-or-create";
|
|
@@ -356,18 +385,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
356
385
|
environment: "production" | "staging";
|
|
357
386
|
executable: false;
|
|
358
387
|
artifacts: Record<string, {
|
|
388
|
+
kind: "archive";
|
|
359
389
|
digest: string;
|
|
360
390
|
source: string;
|
|
361
|
-
kind: "archive";
|
|
362
391
|
format: "tar+gzip";
|
|
363
392
|
} | {
|
|
393
|
+
kind: "file";
|
|
364
394
|
digest: string;
|
|
365
395
|
source: string;
|
|
366
|
-
kind: "file";
|
|
367
396
|
mediaType: string;
|
|
368
397
|
} | {
|
|
369
|
-
digest: string;
|
|
370
398
|
kind: "oci-image";
|
|
399
|
+
digest: string;
|
|
371
400
|
identity: string;
|
|
372
401
|
}>;
|
|
373
402
|
planId: string;
|
|
@@ -568,21 +597,21 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
568
597
|
list: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
569
598
|
teamId: string;
|
|
570
599
|
}, {
|
|
600
|
+
kind?: "all" | "proposal" | "question" | undefined;
|
|
571
601
|
projectId?: string | undefined;
|
|
572
602
|
state?: "all" | "outstanding" | undefined;
|
|
573
|
-
kind?: "all" | "proposal" | "question" | undefined;
|
|
574
603
|
cursor?: string | undefined;
|
|
575
604
|
limit?: number | undefined;
|
|
576
605
|
}, undefined, {
|
|
577
606
|
schemaVersion: "treeseed.inbox-page/v1";
|
|
578
607
|
items: {
|
|
579
608
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
609
|
+
kind: "proposal" | "question";
|
|
580
610
|
id: string;
|
|
581
611
|
version: number;
|
|
582
612
|
projectId: string;
|
|
583
613
|
teamId: string;
|
|
584
614
|
createdAt: string;
|
|
585
|
-
kind: "proposal" | "question";
|
|
586
615
|
projectSlug: string;
|
|
587
616
|
updatedAt: string;
|
|
588
617
|
authorId: string;
|
|
@@ -597,13 +626,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
597
626
|
itemId: string;
|
|
598
627
|
}, {}, undefined, {
|
|
599
628
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
629
|
+
kind: "proposal" | "question";
|
|
600
630
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
601
631
|
id: string;
|
|
602
632
|
version: number;
|
|
603
633
|
projectId: string;
|
|
604
634
|
teamId: string;
|
|
605
635
|
createdAt: string;
|
|
606
|
-
kind: "proposal" | "question";
|
|
607
636
|
provenance: {
|
|
608
637
|
digest: string | null;
|
|
609
638
|
repositoryId: string | null;
|
|
@@ -626,9 +655,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
626
655
|
requiresFeedback: boolean;
|
|
627
656
|
}[];
|
|
628
657
|
comments: {
|
|
658
|
+
kind: "comment" | "answer" | "reply";
|
|
629
659
|
id: string;
|
|
630
660
|
createdAt: string;
|
|
631
|
-
kind: "comment" | "answer" | "reply";
|
|
632
661
|
provenance: {
|
|
633
662
|
digest: string | null;
|
|
634
663
|
repositoryId: string | null;
|
|
@@ -675,13 +704,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
675
704
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
676
705
|
item: {
|
|
677
706
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
707
|
+
kind: "proposal" | "question";
|
|
678
708
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
679
709
|
id: string;
|
|
680
710
|
version: number;
|
|
681
711
|
projectId: string;
|
|
682
712
|
teamId: string;
|
|
683
713
|
createdAt: string;
|
|
684
|
-
kind: "proposal" | "question";
|
|
685
714
|
provenance: {
|
|
686
715
|
digest: string | null;
|
|
687
716
|
repositoryId: string | null;
|
|
@@ -704,9 +733,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
704
733
|
requiresFeedback: boolean;
|
|
705
734
|
}[];
|
|
706
735
|
comments: {
|
|
736
|
+
kind: "comment" | "answer" | "reply";
|
|
707
737
|
id: string;
|
|
708
738
|
createdAt: string;
|
|
709
|
-
kind: "comment" | "answer" | "reply";
|
|
710
739
|
provenance: {
|
|
711
740
|
digest: string | null;
|
|
712
741
|
repositoryId: string | null;
|
|
@@ -775,13 +804,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
775
804
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
776
805
|
item: {
|
|
777
806
|
status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
|
|
807
|
+
kind: "proposal" | "question";
|
|
778
808
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
779
809
|
id: string;
|
|
780
810
|
version: number;
|
|
781
811
|
projectId: string;
|
|
782
812
|
teamId: string;
|
|
783
813
|
createdAt: string;
|
|
784
|
-
kind: "proposal" | "question";
|
|
785
814
|
provenance: {
|
|
786
815
|
digest: string | null;
|
|
787
816
|
repositoryId: string | null;
|
|
@@ -804,9 +833,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
804
833
|
requiresFeedback: boolean;
|
|
805
834
|
}[];
|
|
806
835
|
comments: {
|
|
836
|
+
kind: "comment" | "answer" | "reply";
|
|
807
837
|
id: string;
|
|
808
838
|
createdAt: string;
|
|
809
|
-
kind: "comment" | "answer" | "reply";
|
|
810
839
|
provenance: {
|
|
811
840
|
digest: string | null;
|
|
812
841
|
repositoryId: string | null;
|
|
@@ -1533,8 +1562,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1533
1562
|
resources: Record<string, unknown>;
|
|
1534
1563
|
selection: {
|
|
1535
1564
|
capabilities: string[];
|
|
1536
|
-
parameters: Record<string, unknown>;
|
|
1537
1565
|
model: string | null;
|
|
1566
|
+
parameters: Record<string, unknown>;
|
|
1538
1567
|
};
|
|
1539
1568
|
reason: string | null;
|
|
1540
1569
|
provider: {
|
|
@@ -1600,8 +1629,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1600
1629
|
sequence: number;
|
|
1601
1630
|
payload: Record<string, unknown>;
|
|
1602
1631
|
actor: {
|
|
1603
|
-
id: string;
|
|
1604
1632
|
kind: "control-plane" | "provider" | "agent" | "user";
|
|
1633
|
+
id: string;
|
|
1605
1634
|
handle: string | null;
|
|
1606
1635
|
};
|
|
1607
1636
|
summary: string;
|
|
@@ -1650,8 +1679,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1650
1679
|
resources: Record<string, unknown>;
|
|
1651
1680
|
selection: {
|
|
1652
1681
|
capabilities: string[];
|
|
1653
|
-
parameters: Record<string, unknown>;
|
|
1654
1682
|
model: string | null;
|
|
1683
|
+
parameters: Record<string, unknown>;
|
|
1655
1684
|
};
|
|
1656
1685
|
reason: string | null;
|
|
1657
1686
|
provider: {
|
|
@@ -1717,8 +1746,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1717
1746
|
sequence: number;
|
|
1718
1747
|
payload: Record<string, unknown>;
|
|
1719
1748
|
actor: {
|
|
1720
|
-
id: string;
|
|
1721
1749
|
kind: "control-plane" | "provider" | "agent" | "user";
|
|
1750
|
+
id: string;
|
|
1722
1751
|
handle: string | null;
|
|
1723
1752
|
};
|
|
1724
1753
|
summary: string;
|
|
@@ -1840,8 +1869,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
1840
1869
|
sequence: number;
|
|
1841
1870
|
payload: Record<string, unknown>;
|
|
1842
1871
|
actor: {
|
|
1843
|
-
id: string;
|
|
1844
1872
|
kind: "control-plane" | "provider" | "agent" | "user";
|
|
1873
|
+
id: string;
|
|
1845
1874
|
handle: string | null;
|
|
1846
1875
|
};
|
|
1847
1876
|
summary: string;
|