@treeseed/sdk 0.13.0-rc.54 → 0.13.0-rc.55

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 (32) hide show
  1. package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
  2. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +240 -240
  3. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
  4. package/dist/capacity-provider/client.d.ts +3 -3
  5. package/dist/capacity-provider/contracts/governance.d.ts +28 -1
  6. package/dist/capacity-provider/index.d.ts +1 -0
  7. package/dist/capacity-provider/index.js +1 -0
  8. package/dist/capacity-provider/sandbox-contracts.d.ts +422 -0
  9. package/dist/capacity-provider/sandbox-contracts.js +71 -0
  10. package/dist/capacity-provider/validation.d.ts +2 -1
  11. package/dist/capacity-provider/validation.js +23 -0
  12. package/dist/content/validation/agent-operational-content-schemas.d.ts +76 -76
  13. package/dist/content/validation/auxiliary-content-schemas.d.ts +16 -16
  14. package/dist/content/validation/content-model-schemas.d.ts +559 -559
  15. package/dist/content/validation/portable-content-data.d.ts +59 -59
  16. package/dist/deployment/ai-mode.d.ts +4 -4
  17. package/dist/deployment/schemas.d.ts +418 -100
  18. package/dist/deployment/schemas.js +23 -1
  19. package/dist/development/schemas.d.ts +22 -22
  20. package/dist/operator-contracts/canonical-command-tree.js +39 -0
  21. package/dist/operator-contracts/catalog/communication-operations.d.ts +50 -50
  22. package/dist/operator-contracts/catalog/inbox-operations.d.ts +25 -25
  23. package/dist/operator-contracts/communication/contracts.d.ts +139 -139
  24. package/dist/operator-contracts/control-plane-operations.d.ts +78 -78
  25. package/dist/operator-contracts/inbox/contracts.d.ts +77 -77
  26. package/dist/security/encrypted-envelope.d.ts +177 -0
  27. package/dist/security/encrypted-envelope.js +34 -0
  28. package/dist/security/envelope-codec.d.ts +38 -0
  29. package/dist/security/envelope-codec.js +96 -0
  30. package/dist/security/index.d.ts +2 -0
  31. package/dist/security/index.js +2 -0
  32. package/package.json +5 -1
@@ -10,13 +10,13 @@ export declare function inboxOperations(): {
10
10
  }, undefined, {
11
11
  schemaVersion: "treeseed.inbox-page/v1";
12
12
  items: {
13
+ teamId: string;
13
14
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
15
+ createdAt: string;
14
16
  kind: "proposal" | "question";
15
17
  id: string;
16
18
  projectId: string;
17
- createdAt: string;
18
19
  version: number;
19
- teamId: string;
20
20
  projectSlug: string;
21
21
  updatedAt: string;
22
22
  authorId: string;
@@ -30,12 +30,13 @@ export declare function inboxOperations(): {
30
30
  teamId: string;
31
31
  itemId: string;
32
32
  }, {}, undefined, {
33
+ teamId: string;
34
+ schemaVersion: "treeseed.inbox-item/v1";
33
35
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
36
+ createdAt: string;
34
37
  kind: "proposal" | "question";
35
38
  id: string;
36
- schemaVersion: "treeseed.inbox-item/v1";
37
39
  projectId: string;
38
- createdAt: string;
39
40
  provenance: {
40
41
  digest: string | null;
41
42
  repositoryId: string | null;
@@ -43,7 +44,6 @@ export declare function inboxOperations(): {
43
44
  commitSha: string | null;
44
45
  };
45
46
  version: number;
46
- teamId: string;
47
47
  projectSlug: string;
48
48
  updatedAt: string;
49
49
  markdown: string;
@@ -60,9 +60,9 @@ export declare function inboxOperations(): {
60
60
  requiresFeedback: boolean;
61
61
  }[];
62
62
  comments: {
63
+ createdAt: string;
63
64
  kind: "comment" | "answer" | "reply";
64
65
  id: string;
65
- createdAt: string;
66
66
  provenance: {
67
67
  digest: string | null;
68
68
  repositoryId: string | null;
@@ -85,14 +85,14 @@ export declare function inboxOperations(): {
85
85
  }, undefined, {
86
86
  cursor: string;
87
87
  events: {
88
+ teamId: string;
89
+ sequence: string;
90
+ schemaVersion: "treeseed.inbox-event/v1";
88
91
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
92
+ payload: Record<string, unknown>;
89
93
  id: string;
90
- schemaVersion: "treeseed.inbox-event/v1";
91
94
  summary: string;
92
- teamId: string;
93
- sequence: string;
94
95
  occurredAt: string;
95
- payload: Record<string, unknown>;
96
96
  itemId: string | null;
97
97
  actorId: string;
98
98
  }[];
@@ -107,14 +107,14 @@ export declare function inboxOperations(): {
107
107
  relatedObjectives?: string[] | undefined;
108
108
  }, {
109
109
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
110
- replayed: boolean;
111
110
  item: {
111
+ teamId: string;
112
+ schemaVersion: "treeseed.inbox-item/v1";
112
113
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
114
+ createdAt: string;
113
115
  kind: "proposal" | "question";
114
116
  id: string;
115
- schemaVersion: "treeseed.inbox-item/v1";
116
117
  projectId: string;
117
- createdAt: string;
118
118
  provenance: {
119
119
  digest: string | null;
120
120
  repositoryId: string | null;
@@ -122,7 +122,6 @@ export declare function inboxOperations(): {
122
122
  commitSha: string | null;
123
123
  };
124
124
  version: number;
125
- teamId: string;
126
125
  projectSlug: string;
127
126
  updatedAt: string;
128
127
  markdown: string;
@@ -139,9 +138,9 @@ export declare function inboxOperations(): {
139
138
  requiresFeedback: boolean;
140
139
  }[];
141
140
  comments: {
141
+ createdAt: string;
142
142
  kind: "comment" | "answer" | "reply";
143
143
  id: string;
144
- createdAt: string;
145
144
  provenance: {
146
145
  digest: string | null;
147
146
  repositoryId: string | null;
@@ -155,44 +154,45 @@ export declare function inboxOperations(): {
155
154
  }[];
156
155
  etag: string;
157
156
  };
157
+ replayed: boolean;
158
158
  action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
159
159
  receipts?: Record<string, unknown>[] | undefined;
160
160
  }>;
161
161
  getDraft: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
162
+ purpose: "feedback" | "proposal_revision";
162
163
  teamId: string;
163
164
  itemId: string;
164
- purpose: "feedback" | "proposal_revision";
165
165
  }, {}, undefined, {
166
+ purpose: "feedback" | "proposal_revision";
166
167
  schemaVersion: "treeseed.inbox-draft/v1";
167
168
  revision: number;
168
169
  updatedAt: string;
169
170
  markdown: string;
170
171
  etag: string;
171
172
  itemId: string;
172
- purpose: "feedback" | "proposal_revision";
173
173
  baseVersion: number;
174
174
  } | null>;
175
175
  putDraft: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
176
+ purpose: "feedback" | "proposal_revision";
176
177
  teamId: string;
177
178
  itemId: string;
178
- purpose: "feedback" | "proposal_revision";
179
179
  }, {}, {
180
180
  markdown: string;
181
181
  baseVersion: number;
182
182
  }, {
183
+ purpose: "feedback" | "proposal_revision";
183
184
  schemaVersion: "treeseed.inbox-draft/v1";
184
185
  revision: number;
185
186
  updatedAt: string;
186
187
  markdown: string;
187
188
  etag: string;
188
189
  itemId: string;
189
- purpose: "feedback" | "proposal_revision";
190
190
  baseVersion: number;
191
191
  }>;
192
192
  deleteDraft: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
193
+ purpose: "feedback" | "proposal_revision";
193
194
  teamId: string;
194
195
  itemId: string;
195
- purpose: "feedback" | "proposal_revision";
196
196
  }, {}, {}, {
197
197
  deleted: boolean;
198
198
  }>;
@@ -207,14 +207,14 @@ export declare function inboxOperations(): {
207
207
  draftRevision?: number | undefined;
208
208
  }, {
209
209
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
210
- replayed: boolean;
211
210
  item: {
211
+ teamId: string;
212
+ schemaVersion: "treeseed.inbox-item/v1";
212
213
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
214
+ createdAt: string;
213
215
  kind: "proposal" | "question";
214
216
  id: string;
215
- schemaVersion: "treeseed.inbox-item/v1";
216
217
  projectId: string;
217
- createdAt: string;
218
218
  provenance: {
219
219
  digest: string | null;
220
220
  repositoryId: string | null;
@@ -222,7 +222,6 @@ export declare function inboxOperations(): {
222
222
  commitSha: string | null;
223
223
  };
224
224
  version: number;
225
- teamId: string;
226
225
  projectSlug: string;
227
226
  updatedAt: string;
228
227
  markdown: string;
@@ -239,9 +238,9 @@ export declare function inboxOperations(): {
239
238
  requiresFeedback: boolean;
240
239
  }[];
241
240
  comments: {
241
+ createdAt: string;
242
242
  kind: "comment" | "answer" | "reply";
243
243
  id: string;
244
- createdAt: string;
245
244
  provenance: {
246
245
  digest: string | null;
247
246
  repositoryId: string | null;
@@ -255,6 +254,7 @@ export declare function inboxOperations(): {
255
254
  }[];
256
255
  etag: string;
257
256
  };
257
+ replayed: boolean;
258
258
  action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
259
259
  receipts?: Record<string, unknown>[] | undefined;
260
260
  }>;