@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.122
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/agent-execution.d.ts +1594 -922
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +40 -40
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -59
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +18 -20
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -67
- package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +8 -8
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -23
- package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
- package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +176 -176
- package/dist/agent-capacity/contracts/support/execution-graph.js +1 -1
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +1 -6
- package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
- package/dist/agent-capacity/grant.d.ts +34 -0
- package/dist/agent-capacity/grant.js +4 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1042 -1042
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
- package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
- package/dist/agent-capacity/validation/assignment-records.js +4 -35
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +2 -6
- package/dist/agent-capacity/validation/grant.d.ts +11 -0
- package/dist/agent-capacity/validation/grant.js +31 -0
- package/dist/capacity/agents/agent-capacity.d.ts +2 -4
- package/dist/capacity/agents/agent-capacity.js +1 -3
- package/dist/capacity-provider/capability-ontology.d.ts +138 -138
- package/dist/capacity-provider/client.d.ts +1 -2
- package/dist/capacity-provider/client.js +0 -6
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +8 -8
- package/dist/capacity-provider/core-capability-catalog.d.ts +4 -4
- package/dist/capacity-provider/environment-catalog.d.ts +166 -166
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +52 -52
- package/dist/capacity-provider/source-workspace.d.ts +102 -4
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +108 -108
- package/dist/content/validation/auxiliary-content-schemas.d.ts +108 -108
- package/dist/content/validation/content-model-schemas.d.ts +9473 -6284
- package/dist/content/validation/content-model-schemas.js +116 -48
- package/dist/content/validation/portable-content-data.d.ts +351 -181
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/deployment/ai/storage.d.ts +14 -14
- package/dist/deployment/ai-hosting.d.ts +10 -10
- package/dist/deployment/ai-instance.d.ts +14 -14
- package/dist/deployment/ai-mode.d.ts +82 -82
- package/dist/deployment/hosted-topology-template.d.ts +24 -24
- package/dist/deployment/hosted-topology.d.ts +219 -219
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +780 -780
- package/dist/development/schemas.d.ts +439 -439
- package/dist/knowledge/contracts.d.ts +9 -2
- package/dist/knowledge/contracts.js +2 -2
- package/dist/model-registry/discussion-models.js +0 -1
- package/dist/operator-contracts/canonical-command-tree.js +3 -1
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +2 -2
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +17 -17
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +4 -4
- package/dist/operator-contracts/catalog/communication-operations.d.ts +100 -100
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +40 -40
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +54 -54
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +8 -8
- package/dist/operator-contracts/communication/contracts.d.ts +273 -273
- package/dist/operator-contracts/control-plane-operations.d.ts +236 -242
- package/dist/operator-contracts/control-plane-operations.js +0 -2
- package/dist/operator-contracts/inbox/contracts.d.ts +204 -204
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +94 -0
- package/dist/platform/verification.js +6 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/secrets-capability/shared-access.d.ts +2 -2
- package/dist/secrets-capability/shared-resources.d.ts +46 -46
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +8 -8
- package/package.json +3 -2
- package/dist/agent-capacity/allocation.d.ts +0 -183
- package/dist/agent-capacity/allocation.js +0 -5
- package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
- package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
- package/dist/agent-capacity/artifacts.d.ts +0 -123
- package/dist/agent-capacity/artifacts.js +0 -39
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
- package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
- package/dist/agent-capacity/validation/allocation.d.ts +0 -12
- package/dist/agent-capacity/validation/allocation.js +0 -115
|
@@ -6,8 +6,8 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
6
6
|
id: string;
|
|
7
7
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
8
8
|
resources: {
|
|
9
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "
|
|
10
|
-
provider: "
|
|
9
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
10
|
+
provider: "railway" | "cloudflare";
|
|
11
11
|
id: string;
|
|
12
12
|
adoption: {
|
|
13
13
|
mode: "adopt-or-create";
|
|
@@ -33,8 +33,8 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
33
33
|
repository: "treeseed-ai/platform";
|
|
34
34
|
commit: string;
|
|
35
35
|
};
|
|
36
|
+
environment: "staging" | "production";
|
|
36
37
|
mutation: "agent-authorized";
|
|
37
|
-
environment: "production" | "staging";
|
|
38
38
|
artifacts: Record<string, {
|
|
39
39
|
kind: "archive";
|
|
40
40
|
digest: string;
|
|
@@ -55,7 +55,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
55
55
|
stateBackend: {
|
|
56
56
|
connectionRef: string;
|
|
57
57
|
};
|
|
58
|
-
providerConnections: Partial<Record<"
|
|
58
|
+
providerConnections: Partial<Record<"railway" | "cloudflare", {
|
|
59
59
|
connectionRef: string;
|
|
60
60
|
}>>;
|
|
61
61
|
};
|
|
@@ -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" | "
|
|
76
|
-
provider: "
|
|
75
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
76
|
+
provider: "railway" | "cloudflare";
|
|
77
77
|
action: "noop" | "create" | "adopt" | "update";
|
|
78
78
|
resourceId: string;
|
|
79
79
|
providerResourceId: string | null;
|
|
80
80
|
desiredResource: {
|
|
81
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "
|
|
82
|
-
provider: "
|
|
81
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
82
|
+
provider: "railway" | "cloudflare";
|
|
83
83
|
id: string;
|
|
84
84
|
adoption: {
|
|
85
85
|
mode: "adopt-or-create";
|
|
@@ -104,7 +104,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
104
104
|
previousDigest: string | null;
|
|
105
105
|
}[];
|
|
106
106
|
teamId: string;
|
|
107
|
-
environment: "
|
|
107
|
+
environment: "staging" | "production";
|
|
108
108
|
executable: false;
|
|
109
109
|
artifacts: Record<string, {
|
|
110
110
|
kind: "archive";
|
|
@@ -129,18 +129,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
129
129
|
schemaVersion: "treeseed.hosted-state-backend/v1";
|
|
130
130
|
key: string;
|
|
131
131
|
teamId: string;
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
region: string;
|
|
133
|
+
environment: "staging" | "production";
|
|
134
134
|
bucket: string;
|
|
135
|
+
deploymentId: string;
|
|
135
136
|
stackId: string;
|
|
136
137
|
connectionRef: string;
|
|
137
|
-
region: string;
|
|
138
138
|
encryptionKeyRef: string;
|
|
139
139
|
bindingDigest: string;
|
|
140
140
|
endpoint?: string | undefined;
|
|
141
141
|
usePathStyle?: boolean | undefined;
|
|
142
142
|
} | null;
|
|
143
|
-
providerConnections: Partial<Record<"
|
|
143
|
+
providerConnections: Partial<Record<"railway" | "cloudflare", {
|
|
144
144
|
connectionRef: string;
|
|
145
145
|
nonSecretConfig: Record<string, string | number | boolean>;
|
|
146
146
|
}>>;
|
|
@@ -158,18 +158,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
158
158
|
state: "known-good";
|
|
159
159
|
schemaVersion: "treeseed.hosted-topology-receipt/v1";
|
|
160
160
|
resources: {
|
|
161
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "
|
|
162
|
-
provider: "
|
|
161
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
162
|
+
provider: "railway" | "cloudflare";
|
|
163
163
|
state: "missing" | "degraded" | "healthy";
|
|
164
|
+
observedAt: string;
|
|
164
165
|
resourceId: string;
|
|
165
166
|
providerResourceId: string | null;
|
|
166
167
|
managedBy: "external" | "treeseed" | null;
|
|
167
168
|
observedDigest: string | null;
|
|
168
|
-
observedAt: string;
|
|
169
169
|
}[];
|
|
170
170
|
planDigest: string;
|
|
171
171
|
teamId: string;
|
|
172
|
-
environment: "
|
|
172
|
+
environment: "staging" | "production";
|
|
173
173
|
completedAt: string;
|
|
174
174
|
receiptId: string;
|
|
175
175
|
deploymentId: string;
|
|
@@ -179,14 +179,14 @@ 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" | "
|
|
183
|
-
provider: "
|
|
182
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
183
|
+
provider: "railway" | "cloudflare";
|
|
184
184
|
state: "missing" | "degraded" | "healthy";
|
|
185
|
+
observedAt: string;
|
|
185
186
|
resourceId: string;
|
|
186
187
|
providerResourceId: string | null;
|
|
187
188
|
managedBy: "external" | "treeseed" | null;
|
|
188
189
|
observedDigest: string | null;
|
|
189
|
-
observedAt: string;
|
|
190
190
|
}[];
|
|
191
191
|
} | null;
|
|
192
192
|
}>;
|
|
@@ -196,11 +196,11 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
196
196
|
execution: {
|
|
197
197
|
schemaVersion: "treeseed.hosted-topology-rollback-execution/v1";
|
|
198
198
|
teamId: string;
|
|
199
|
-
environment: "
|
|
199
|
+
environment: "staging" | "production";
|
|
200
200
|
rollback: {
|
|
201
201
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
202
202
|
teamId: string;
|
|
203
|
-
environment: "
|
|
203
|
+
environment: "staging" | "production";
|
|
204
204
|
operations: {
|
|
205
205
|
action: "noop" | "restore" | "delete-created";
|
|
206
206
|
resourceId: string;
|
|
@@ -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" | "
|
|
236
|
-
provider: "
|
|
235
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
236
|
+
provider: "railway" | "cloudflare";
|
|
237
237
|
action: "noop" | "create" | "adopt" | "update";
|
|
238
238
|
resourceId: string;
|
|
239
239
|
providerResourceId: string | null;
|
|
240
240
|
desiredResource: {
|
|
241
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "
|
|
242
|
-
provider: "
|
|
241
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
242
|
+
provider: "railway" | "cloudflare";
|
|
243
243
|
id: string;
|
|
244
244
|
adoption: {
|
|
245
245
|
mode: "adopt-or-create";
|
|
@@ -264,7 +264,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
264
264
|
previousDigest: string | null;
|
|
265
265
|
}[];
|
|
266
266
|
teamId: string;
|
|
267
|
-
environment: "
|
|
267
|
+
environment: "staging" | "production";
|
|
268
268
|
executable: false;
|
|
269
269
|
artifacts: Record<string, {
|
|
270
270
|
kind: "archive";
|
|
@@ -289,18 +289,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
289
289
|
schemaVersion: "treeseed.hosted-state-backend/v1";
|
|
290
290
|
key: string;
|
|
291
291
|
teamId: string;
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
region: string;
|
|
293
|
+
environment: "staging" | "production";
|
|
294
294
|
bucket: string;
|
|
295
|
+
deploymentId: string;
|
|
295
296
|
stackId: string;
|
|
296
297
|
connectionRef: string;
|
|
297
|
-
region: string;
|
|
298
298
|
encryptionKeyRef: string;
|
|
299
299
|
bindingDigest: string;
|
|
300
300
|
endpoint?: string | undefined;
|
|
301
301
|
usePathStyle?: boolean | undefined;
|
|
302
302
|
} | null;
|
|
303
|
-
providerConnections: Partial<Record<"
|
|
303
|
+
providerConnections: Partial<Record<"railway" | "cloudflare", {
|
|
304
304
|
connectionRef: string;
|
|
305
305
|
nonSecretConfig: Record<string, string | number | boolean>;
|
|
306
306
|
}>>;
|
|
@@ -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" | "
|
|
322
|
-
provider: "
|
|
321
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
322
|
+
provider: "railway" | "cloudflare";
|
|
323
323
|
action: "noop" | "create" | "adopt" | "update";
|
|
324
324
|
resourceId: string;
|
|
325
325
|
providerResourceId: string | null;
|
|
326
326
|
desiredResource: {
|
|
327
|
-
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "
|
|
328
|
-
provider: "
|
|
327
|
+
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
328
|
+
provider: "railway" | "cloudflare";
|
|
329
329
|
id: string;
|
|
330
330
|
adoption: {
|
|
331
331
|
mode: "adopt-or-create";
|
|
@@ -350,7 +350,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
350
350
|
previousDigest: string | null;
|
|
351
351
|
}[];
|
|
352
352
|
teamId: string;
|
|
353
|
-
environment: "
|
|
353
|
+
environment: "staging" | "production";
|
|
354
354
|
executable: false;
|
|
355
355
|
artifacts: Record<string, {
|
|
356
356
|
kind: "archive";
|
|
@@ -375,18 +375,18 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
375
375
|
schemaVersion: "treeseed.hosted-state-backend/v1";
|
|
376
376
|
key: string;
|
|
377
377
|
teamId: string;
|
|
378
|
-
|
|
379
|
-
|
|
378
|
+
region: string;
|
|
379
|
+
environment: "staging" | "production";
|
|
380
380
|
bucket: string;
|
|
381
|
+
deploymentId: string;
|
|
381
382
|
stackId: string;
|
|
382
383
|
connectionRef: string;
|
|
383
|
-
region: string;
|
|
384
384
|
encryptionKeyRef: string;
|
|
385
385
|
bindingDigest: string;
|
|
386
386
|
endpoint?: string | undefined;
|
|
387
387
|
usePathStyle?: boolean | undefined;
|
|
388
388
|
} | null;
|
|
389
|
-
providerConnections: Partial<Record<"
|
|
389
|
+
providerConnections: Partial<Record<"railway" | "cloudflare", {
|
|
390
390
|
connectionRef: string;
|
|
391
391
|
nonSecretConfig: Record<string, string | number | boolean>;
|
|
392
392
|
}>>;
|
|
@@ -2,7 +2,7 @@ export declare function inboxOperations(): {
|
|
|
2
2
|
list: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
3
3
|
teamId: string;
|
|
4
4
|
}, {
|
|
5
|
-
kind?: "
|
|
5
|
+
kind?: "question" | "proposal" | "all" | undefined;
|
|
6
6
|
state?: "all" | "outstanding" | undefined;
|
|
7
7
|
projectId?: string | undefined;
|
|
8
8
|
cursor?: string | undefined;
|
|
@@ -10,18 +10,18 @@ export declare function inboxOperations(): {
|
|
|
10
10
|
}, undefined, {
|
|
11
11
|
schemaVersion: "treeseed.inbox-page/v1";
|
|
12
12
|
items: {
|
|
13
|
-
status: "approved" | "rejected" | "
|
|
14
|
-
kind: "
|
|
13
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
14
|
+
kind: "question" | "proposal";
|
|
15
15
|
id: string;
|
|
16
16
|
version: number;
|
|
17
17
|
projectId: string;
|
|
18
18
|
teamId: string;
|
|
19
19
|
createdAt: string;
|
|
20
|
-
projectSlug: string;
|
|
21
20
|
updatedAt: string;
|
|
21
|
+
title: string;
|
|
22
22
|
authorId: string;
|
|
23
|
+
projectSlug: string;
|
|
23
24
|
authorLabel: string;
|
|
24
|
-
title: string;
|
|
25
25
|
etag: string;
|
|
26
26
|
}[];
|
|
27
27
|
cursor: string | null;
|
|
@@ -30,48 +30,48 @@ export declare function inboxOperations(): {
|
|
|
30
30
|
teamId: string;
|
|
31
31
|
itemId: string;
|
|
32
32
|
}, {}, undefined, {
|
|
33
|
-
status: "approved" | "rejected" | "
|
|
34
|
-
kind: "
|
|
33
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
34
|
+
kind: "question" | "proposal";
|
|
35
35
|
id: string;
|
|
36
36
|
version: number;
|
|
37
37
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
38
38
|
projectId: string;
|
|
39
39
|
teamId: string;
|
|
40
40
|
createdAt: string;
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
title: string;
|
|
43
|
+
discussionId: string | null;
|
|
44
|
+
authorId: string;
|
|
41
45
|
provenance: {
|
|
42
46
|
digest: string | null;
|
|
47
|
+
commitSha: string | null;
|
|
43
48
|
repositoryId: string | null;
|
|
44
49
|
contentPath: string | null;
|
|
45
|
-
commitSha: string | null;
|
|
46
50
|
};
|
|
47
51
|
projectSlug: string;
|
|
48
|
-
updatedAt: string;
|
|
49
52
|
markdown: string;
|
|
50
|
-
discussionId: string | null;
|
|
51
|
-
authorId: string;
|
|
52
53
|
authorLabel: string;
|
|
53
|
-
title: string;
|
|
54
54
|
availableActions: {
|
|
55
55
|
enabled: boolean;
|
|
56
|
-
action: "
|
|
57
|
-
reason: string | null;
|
|
56
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
58
57
|
label: string;
|
|
58
|
+
reason: string | null;
|
|
59
59
|
confirmation: "never" | "input_required";
|
|
60
60
|
requiresFeedback: boolean;
|
|
61
61
|
}[];
|
|
62
62
|
comments: {
|
|
63
|
-
kind: "
|
|
63
|
+
kind: "answer" | "comment" | "reply";
|
|
64
64
|
id: string;
|
|
65
65
|
createdAt: string;
|
|
66
|
+
parentId: string | null;
|
|
67
|
+
authorId: string;
|
|
66
68
|
provenance: {
|
|
67
69
|
digest: string | null;
|
|
70
|
+
commitSha: string | null;
|
|
68
71
|
repositoryId: string | null;
|
|
69
72
|
contentPath: string | null;
|
|
70
|
-
commitSha: string | null;
|
|
71
73
|
};
|
|
72
74
|
markdown: string;
|
|
73
|
-
parentId: string | null;
|
|
74
|
-
authorId: string;
|
|
75
75
|
authorLabel: string;
|
|
76
76
|
}[];
|
|
77
77
|
etag: string;
|
|
@@ -83,83 +83,83 @@ export declare function inboxOperations(): {
|
|
|
83
83
|
waitSeconds?: number | undefined;
|
|
84
84
|
after?: string | undefined;
|
|
85
85
|
}, undefined, {
|
|
86
|
-
cursor: string;
|
|
87
86
|
events: {
|
|
88
87
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
89
88
|
id: string;
|
|
90
89
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
91
90
|
teamId: string;
|
|
91
|
+
summary: string;
|
|
92
92
|
sequence: string;
|
|
93
93
|
payload: Record<string, unknown>;
|
|
94
|
-
summary: string;
|
|
95
94
|
occurredAt: string;
|
|
96
95
|
itemId: string | null;
|
|
97
96
|
actorId: string;
|
|
98
97
|
}[];
|
|
98
|
+
cursor: string;
|
|
99
99
|
}>;
|
|
100
100
|
createQuestion: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
101
101
|
teamId: string;
|
|
102
102
|
}, {}, {
|
|
103
103
|
projectId: string;
|
|
104
|
-
markdown: string;
|
|
105
104
|
title: string;
|
|
106
|
-
|
|
105
|
+
markdown: string;
|
|
107
106
|
severity?: "blocking" | "advisory" | undefined;
|
|
108
107
|
relatedObjectives?: string[] | undefined;
|
|
108
|
+
recipients?: string[] | undefined;
|
|
109
109
|
relatedProposals?: string[] | undefined;
|
|
110
110
|
relatedDecisions?: string[] | undefined;
|
|
111
111
|
relatedWorkItems?: string[] | undefined;
|
|
112
112
|
}, {
|
|
113
113
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
114
114
|
item: {
|
|
115
|
-
status: "approved" | "rejected" | "
|
|
116
|
-
kind: "
|
|
115
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
116
|
+
kind: "question" | "proposal";
|
|
117
117
|
id: string;
|
|
118
118
|
version: number;
|
|
119
119
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
120
120
|
projectId: string;
|
|
121
121
|
teamId: string;
|
|
122
122
|
createdAt: string;
|
|
123
|
+
updatedAt: string;
|
|
124
|
+
title: string;
|
|
125
|
+
discussionId: string | null;
|
|
126
|
+
authorId: string;
|
|
123
127
|
provenance: {
|
|
124
128
|
digest: string | null;
|
|
129
|
+
commitSha: string | null;
|
|
125
130
|
repositoryId: string | null;
|
|
126
131
|
contentPath: string | null;
|
|
127
|
-
commitSha: string | null;
|
|
128
132
|
};
|
|
129
133
|
projectSlug: string;
|
|
130
|
-
updatedAt: string;
|
|
131
134
|
markdown: string;
|
|
132
|
-
discussionId: string | null;
|
|
133
|
-
authorId: string;
|
|
134
135
|
authorLabel: string;
|
|
135
|
-
title: string;
|
|
136
136
|
availableActions: {
|
|
137
137
|
enabled: boolean;
|
|
138
|
-
action: "
|
|
139
|
-
reason: string | null;
|
|
138
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
140
139
|
label: string;
|
|
140
|
+
reason: string | null;
|
|
141
141
|
confirmation: "never" | "input_required";
|
|
142
142
|
requiresFeedback: boolean;
|
|
143
143
|
}[];
|
|
144
144
|
comments: {
|
|
145
|
-
kind: "
|
|
145
|
+
kind: "answer" | "comment" | "reply";
|
|
146
146
|
id: string;
|
|
147
147
|
createdAt: string;
|
|
148
|
+
parentId: string | null;
|
|
149
|
+
authorId: string;
|
|
148
150
|
provenance: {
|
|
149
151
|
digest: string | null;
|
|
152
|
+
commitSha: string | null;
|
|
150
153
|
repositoryId: string | null;
|
|
151
154
|
contentPath: string | null;
|
|
152
|
-
commitSha: string | null;
|
|
153
155
|
};
|
|
154
156
|
markdown: string;
|
|
155
|
-
parentId: string | null;
|
|
156
|
-
authorId: string;
|
|
157
157
|
authorLabel: string;
|
|
158
158
|
}[];
|
|
159
159
|
etag: string;
|
|
160
160
|
};
|
|
161
161
|
replayed: boolean;
|
|
162
|
-
action?: "
|
|
162
|
+
action?: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen" | undefined;
|
|
163
163
|
receipts?: Record<string, unknown>[] | undefined;
|
|
164
164
|
}>;
|
|
165
165
|
getDraft: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
@@ -168,8 +168,8 @@ export declare function inboxOperations(): {
|
|
|
168
168
|
itemId: string;
|
|
169
169
|
}, {}, undefined, {
|
|
170
170
|
schemaVersion: "treeseed.inbox-draft/v1";
|
|
171
|
-
purpose: "feedback" | "proposal_revision";
|
|
172
171
|
revision: number;
|
|
172
|
+
purpose: "feedback" | "proposal_revision";
|
|
173
173
|
updatedAt: string;
|
|
174
174
|
markdown: string;
|
|
175
175
|
etag: string;
|
|
@@ -185,8 +185,8 @@ export declare function inboxOperations(): {
|
|
|
185
185
|
baseVersion: number;
|
|
186
186
|
}, {
|
|
187
187
|
schemaVersion: "treeseed.inbox-draft/v1";
|
|
188
|
-
purpose: "feedback" | "proposal_revision";
|
|
189
188
|
revision: number;
|
|
189
|
+
purpose: "feedback" | "proposal_revision";
|
|
190
190
|
updatedAt: string;
|
|
191
191
|
markdown: string;
|
|
192
192
|
etag: string;
|
|
@@ -204,62 +204,62 @@ export declare function inboxOperations(): {
|
|
|
204
204
|
teamId: string;
|
|
205
205
|
itemId: string;
|
|
206
206
|
}, {}, {
|
|
207
|
-
action: "
|
|
208
|
-
markdown?: string | undefined;
|
|
207
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
209
208
|
parentId?: string | undefined;
|
|
209
|
+
markdown?: string | undefined;
|
|
210
210
|
changeReason?: string | undefined;
|
|
211
211
|
draftRevision?: number | undefined;
|
|
212
212
|
}, {
|
|
213
213
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
214
214
|
item: {
|
|
215
|
-
status: "approved" | "rejected" | "
|
|
216
|
-
kind: "
|
|
215
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
216
|
+
kind: "question" | "proposal";
|
|
217
217
|
id: string;
|
|
218
218
|
version: number;
|
|
219
219
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
220
220
|
projectId: string;
|
|
221
221
|
teamId: string;
|
|
222
222
|
createdAt: string;
|
|
223
|
+
updatedAt: string;
|
|
224
|
+
title: string;
|
|
225
|
+
discussionId: string | null;
|
|
226
|
+
authorId: string;
|
|
223
227
|
provenance: {
|
|
224
228
|
digest: string | null;
|
|
229
|
+
commitSha: string | null;
|
|
225
230
|
repositoryId: string | null;
|
|
226
231
|
contentPath: string | null;
|
|
227
|
-
commitSha: string | null;
|
|
228
232
|
};
|
|
229
233
|
projectSlug: string;
|
|
230
|
-
updatedAt: string;
|
|
231
234
|
markdown: string;
|
|
232
|
-
discussionId: string | null;
|
|
233
|
-
authorId: string;
|
|
234
235
|
authorLabel: string;
|
|
235
|
-
title: string;
|
|
236
236
|
availableActions: {
|
|
237
237
|
enabled: boolean;
|
|
238
|
-
action: "
|
|
239
|
-
reason: string | null;
|
|
238
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
240
239
|
label: string;
|
|
240
|
+
reason: string | null;
|
|
241
241
|
confirmation: "never" | "input_required";
|
|
242
242
|
requiresFeedback: boolean;
|
|
243
243
|
}[];
|
|
244
244
|
comments: {
|
|
245
|
-
kind: "
|
|
245
|
+
kind: "answer" | "comment" | "reply";
|
|
246
246
|
id: string;
|
|
247
247
|
createdAt: string;
|
|
248
|
+
parentId: string | null;
|
|
249
|
+
authorId: string;
|
|
248
250
|
provenance: {
|
|
249
251
|
digest: string | null;
|
|
252
|
+
commitSha: string | null;
|
|
250
253
|
repositoryId: string | null;
|
|
251
254
|
contentPath: string | null;
|
|
252
|
-
commitSha: string | null;
|
|
253
255
|
};
|
|
254
256
|
markdown: string;
|
|
255
|
-
parentId: string | null;
|
|
256
|
-
authorId: string;
|
|
257
257
|
authorLabel: string;
|
|
258
258
|
}[];
|
|
259
259
|
etag: string;
|
|
260
260
|
};
|
|
261
261
|
replayed: boolean;
|
|
262
|
-
action?: "
|
|
262
|
+
action?: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen" | undefined;
|
|
263
263
|
receipts?: Record<string, unknown>[] | undefined;
|
|
264
264
|
}>;
|
|
265
265
|
};
|
|
@@ -7,8 +7,8 @@ export declare const AI_INSTANCE_OPERATIONS: {
|
|
|
7
7
|
teamId: string;
|
|
8
8
|
instanceId: string;
|
|
9
9
|
}, {}, {
|
|
10
|
-
connectionId: string;
|
|
11
10
|
bucket: string;
|
|
11
|
+
connectionId: string;
|
|
12
12
|
}, Record<string, unknown>>;
|
|
13
13
|
storageRemove: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
14
14
|
teamId: string;
|
|
@@ -20,7 +20,7 @@ export declare const AI_INSTANCE_OPERATIONS: {
|
|
|
20
20
|
}, {}, {
|
|
21
21
|
name: string;
|
|
22
22
|
projectId: string;
|
|
23
|
-
purpose: "
|
|
23
|
+
purpose: "both" | "inference" | "training";
|
|
24
24
|
model: string;
|
|
25
25
|
}, Record<string, unknown>>;
|
|
26
26
|
list: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
@@ -39,12 +39,12 @@ export declare const AI_INSTANCE_OPERATIONS: {
|
|
|
39
39
|
}, {}, {
|
|
40
40
|
name: string;
|
|
41
41
|
projectId: string;
|
|
42
|
-
|
|
42
|
+
schedule: "always" | "weekdays";
|
|
43
|
+
purpose: "both" | "inference" | "training";
|
|
44
|
+
model: string;
|
|
43
45
|
timeZone: string;
|
|
44
|
-
schedule: "weekdays" | "always";
|
|
45
46
|
hostingConnectionId: string;
|
|
46
47
|
storageConnectionId: string | null;
|
|
47
|
-
model: string;
|
|
48
48
|
}, Record<string, unknown>>;
|
|
49
49
|
remove: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
50
50
|
teamId: string;
|
|
@@ -9,13 +9,13 @@ export declare function knowledgeShareOperations(): {
|
|
|
9
9
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
-
targetTeamId: string;
|
|
13
12
|
projectIds: string[];
|
|
13
|
+
targetTeamId: string;
|
|
14
14
|
sourceTeamId: string;
|
|
15
15
|
revokedAt: string | null;
|
|
16
16
|
expiresAt?: string | null | undefined;
|
|
17
|
-
operations?: ("read" | "context" | "query" | "graph")[] | undefined;
|
|
18
17
|
paths?: string[] | undefined;
|
|
18
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
19
19
|
contentModels?: string[] | undefined;
|
|
20
20
|
}[];
|
|
21
21
|
}>;
|
|
@@ -28,23 +28,23 @@ export declare function knowledgeShareOperations(): {
|
|
|
28
28
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
29
29
|
createdAt: string;
|
|
30
30
|
updatedAt: string;
|
|
31
|
-
targetTeamId: string;
|
|
32
31
|
projectIds: string[];
|
|
32
|
+
targetTeamId: string;
|
|
33
33
|
sourceTeamId: string;
|
|
34
34
|
revokedAt: string | null;
|
|
35
35
|
expiresAt?: string | null | undefined;
|
|
36
|
-
operations?: ("read" | "context" | "query" | "graph")[] | undefined;
|
|
37
36
|
paths?: string[] | undefined;
|
|
37
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
38
38
|
contentModels?: string[] | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
grant: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
41
41
|
teamId: string;
|
|
42
42
|
}, {}, {
|
|
43
|
-
targetTeamId: string;
|
|
44
43
|
projectIds: string[];
|
|
44
|
+
targetTeamId: string;
|
|
45
45
|
expiresAt?: string | null | undefined;
|
|
46
|
-
operations?: ("read" | "context" | "query" | "graph")[] | undefined;
|
|
47
46
|
paths?: string[] | undefined;
|
|
47
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
48
48
|
contentModels?: string[] | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
status: "active" | "revoked" | "expired";
|
|
@@ -52,13 +52,13 @@ export declare function knowledgeShareOperations(): {
|
|
|
52
52
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
53
53
|
createdAt: string;
|
|
54
54
|
updatedAt: string;
|
|
55
|
-
targetTeamId: string;
|
|
56
55
|
projectIds: string[];
|
|
56
|
+
targetTeamId: string;
|
|
57
57
|
sourceTeamId: string;
|
|
58
58
|
revokedAt: string | null;
|
|
59
59
|
expiresAt?: string | null | undefined;
|
|
60
|
-
operations?: ("read" | "context" | "query" | "graph")[] | undefined;
|
|
61
60
|
paths?: string[] | undefined;
|
|
61
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
62
62
|
contentModels?: string[] | undefined;
|
|
63
63
|
}>;
|
|
64
64
|
revoke: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
@@ -70,13 +70,13 @@ export declare function knowledgeShareOperations(): {
|
|
|
70
70
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
71
71
|
createdAt: string;
|
|
72
72
|
updatedAt: string;
|
|
73
|
-
targetTeamId: string;
|
|
74
73
|
projectIds: string[];
|
|
74
|
+
targetTeamId: string;
|
|
75
75
|
sourceTeamId: string;
|
|
76
76
|
revokedAt: string | null;
|
|
77
77
|
expiresAt?: string | null | undefined;
|
|
78
|
-
operations?: ("read" | "context" | "query" | "graph")[] | undefined;
|
|
79
78
|
paths?: string[] | undefined;
|
|
79
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
80
80
|
contentModels?: string[] | undefined;
|
|
81
81
|
}>;
|
|
82
82
|
};
|