@opengeni/sdk 0.41.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DKNW4WMJ.js → chunk-74LY67W7.js} +13 -3
- package/dist/chunk-74LY67W7.js.map +1 -0
- package/dist/{chunk-XBBPYTI5.js → chunk-SLJ33Y7V.js} +2 -2
- package/dist/{chunk-OINSI33U.js → chunk-UD2DNDSS.js} +22 -3
- package/dist/chunk-UD2DNDSS.js.map +1 -0
- package/dist/client.d.ts +4 -2
- package/dist/codex-realtime-controller.js +2 -2
- package/dist/core.js +2 -2
- package/dist/errors.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/realtime.js +2 -2
- package/dist/types.d.ts +21 -2
- package/dist/workspace-state.d.ts +26 -0
- package/package.json +1 -1
- package/src/client.ts +20 -2
- package/src/errors.ts +22 -1
- package/src/index.ts +9 -0
- package/src/types.ts +21 -2
- package/src/workspace-state.ts +32 -0
- package/dist/chunk-DKNW4WMJ.js.map +0 -1
- package/dist/chunk-OINSI33U.js.map +0 -1
- /package/dist/{chunk-XBBPYTI5.js.map → chunk-SLJ33Y7V.js.map} +0 -0
package/src/workspace-state.ts
CHANGED
|
@@ -22,6 +22,12 @@ export type WorkspaceStateSourceKindCounts = {
|
|
|
22
22
|
other: number;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
+
export type WorkspaceStateDocumentAuthorityKindCounts = {
|
|
26
|
+
organization: number;
|
|
27
|
+
workspace: number;
|
|
28
|
+
personal: number;
|
|
29
|
+
};
|
|
30
|
+
|
|
25
31
|
export type WorkspaceStateMemoryStatusCounts = {
|
|
26
32
|
proposed: number;
|
|
27
33
|
approved: number;
|
|
@@ -167,6 +173,13 @@ export type WorkspaceStateResponse = {
|
|
|
167
173
|
};
|
|
168
174
|
runtimeComposition: { status: "not_implemented" };
|
|
169
175
|
};
|
|
176
|
+
preferences: {
|
|
177
|
+
authority: "preference_registry_preferences";
|
|
178
|
+
activeDescriptorCount: number;
|
|
179
|
+
activeDescriptorHash: string;
|
|
180
|
+
scopeCounts: { organization: number; workspace: number; user: number };
|
|
181
|
+
truncated: boolean;
|
|
182
|
+
};
|
|
170
183
|
knowledge:
|
|
171
184
|
| {
|
|
172
185
|
availability: "unavailable";
|
|
@@ -188,6 +201,7 @@ export type WorkspaceStateResponse = {
|
|
|
188
201
|
inspectedVisibleDocumentCount: number;
|
|
189
202
|
documentStatusCounts: WorkspaceStateDocumentStatusCounts;
|
|
190
203
|
sourceKindCounts: WorkspaceStateSourceKindCounts;
|
|
204
|
+
authorityKindCounts: WorkspaceStateDocumentAuthorityKindCounts;
|
|
191
205
|
topics: Array<{ name: string; documentCount: number }>;
|
|
192
206
|
topicsTruncated: boolean;
|
|
193
207
|
latestDocumentUpdatedAt: string | null;
|
|
@@ -210,3 +224,21 @@ export type WorkspaceStateResponse = {
|
|
|
210
224
|
}>;
|
|
211
225
|
};
|
|
212
226
|
};
|
|
227
|
+
|
|
228
|
+
export type WorkspaceStateExportOmission =
|
|
229
|
+
| "hidden_platform_prompts"
|
|
230
|
+
| "policy_bodies"
|
|
231
|
+
| "preference_content"
|
|
232
|
+
| "document_content_and_private_metadata"
|
|
233
|
+
| "memory_content_and_provenance"
|
|
234
|
+
| "secret_values_and_credentials"
|
|
235
|
+
| "session_messages_and_tool_outputs";
|
|
236
|
+
|
|
237
|
+
export type WorkspaceStateExportResponse = {
|
|
238
|
+
kind: "opengeni.workspace_state.sanitized_export";
|
|
239
|
+
schemaVersion: 1;
|
|
240
|
+
generatedAt: string;
|
|
241
|
+
stateSha256: string;
|
|
242
|
+
omissions: WorkspaceStateExportOmission[];
|
|
243
|
+
state: WorkspaceStateResponse;
|
|
244
|
+
};
|