@opengeni/contracts 0.50.0 → 2.2.0-canary.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/agent-authored-durable-text.d.ts +64 -0
- package/dist/atlassian.d.ts +1 -0
- package/dist/atlassian.js +14 -13
- package/dist/{chunk-Y3MLSLB4.js → chunk-3SIZGL3O.js} +42 -30
- package/dist/chunk-3SIZGL3O.js.map +1 -0
- package/dist/{chunk-JBCIY7QD.js → chunk-7RMTKFJW.js} +45 -22
- package/dist/chunk-7RMTKFJW.js.map +1 -0
- package/dist/{chunk-Q6A7XT2N.js → chunk-7ZZ3R27P.js} +9598 -6021
- package/dist/chunk-7ZZ3R27P.js.map +1 -0
- package/dist/{chunk-5UDNP7AO.js → chunk-MRWYRAS5.js} +56 -8
- package/dist/chunk-MRWYRAS5.js.map +1 -0
- package/dist/{chunk-LW7OH6CS.js → chunk-N6GRVXAJ.js} +6 -5
- package/dist/chunk-N6GRVXAJ.js.map +1 -0
- package/dist/{chunk-TZ6YEYN4.js → chunk-NVJMJWLL.js} +3 -1
- package/dist/chunk-NVJMJWLL.js.map +1 -0
- package/dist/chunk-PX3VCKAU.js +29 -0
- package/dist/chunk-PX3VCKAU.js.map +1 -0
- package/dist/{chunk-LSB7GRLG.js → chunk-TXTQIYCV.js} +15 -11
- package/dist/chunk-TXTQIYCV.js.map +1 -0
- package/dist/{chunk-CADSX6UN.js → chunk-Y3KNXVTD.js} +2 -2
- package/dist/chunk-YBW5JSA3.js +251 -0
- package/dist/chunk-YBW5JSA3.js.map +1 -0
- package/dist/company-brain-governed-writes.d.ts +475 -0
- package/dist/company-brain.d.ts +398 -0
- package/dist/company-profile.d.ts +268 -0
- package/dist/connection-authority.d.ts +501 -0
- package/dist/connection-authority.js +364 -0
- package/dist/connection-authority.js.map +1 -0
- package/dist/connector-attachments.d.ts +95 -0
- package/dist/connector-attachments.js +51 -0
- package/dist/connector-attachments.js.map +1 -0
- package/dist/editable-artifact-codec-registry.d.ts +16 -7
- package/dist/editable-artifact-codec-registry.js +18 -8
- package/dist/editable-artifact-committed-transaction.d.ts +2 -2
- package/dist/editable-artifact-committed-transaction.js +2 -2
- package/dist/editable-artifact-live.d.ts +11 -12
- package/dist/editable-artifact-live.js +111 -46
- package/dist/editable-artifact-live.js.map +1 -1
- package/dist/editable-artifact-serialized-commit.d.ts +2 -1
- package/dist/editable-artifact-serialized-commit.js +9 -8
- package/dist/editable-artifact-versions.d.ts +20 -5
- package/dist/editable-artifact-versions.js +23 -5
- package/dist/editable-artifacts.d.ts +2 -0
- package/dist/editable-artifacts.js +51 -39
- package/dist/google-drive.d.ts +89 -1
- package/dist/google-drive.js +78 -17
- package/dist/google-drive.js.map +1 -1
- package/dist/governed-learning-activation.d.ts +154 -0
- package/dist/governed-learning-evaluator.d.ts +152 -0
- package/dist/index.d.ts +12395 -1426
- package/dist/index.js +837 -115
- package/dist/interaction.d.ts +68 -0
- package/dist/knowledge.d.ts +192 -0
- package/dist/organization-membership-lifecycle.d.ts +516 -0
- package/dist/permissions.d.ts +52 -0
- package/dist/personal-github.d.ts +319 -0
- package/dist/personal-github.js +209 -0
- package/dist/personal-github.js.map +1 -0
- package/dist/preference-registry.d.ts +17 -0
- package/dist/remember.d.ts +331 -0
- package/dist/sandbox-file-artifacts.d.ts +56 -0
- package/dist/sandbox-snapshots.d.ts +21 -0
- package/dist/slack-bot-scopes.d.ts +34 -14
- package/dist/slack-bot-scopes.js +5 -1
- package/dist/spreadsheet-artifact-commands.d.ts +2 -3
- package/dist/spreadsheet-artifact-commands.js +4 -2
- package/dist/spreadsheet-artifact-query.js +3 -2
- package/dist/task-notes.d.ts +42 -1
- package/dist/tool-result-spill.d.ts +16 -0
- package/dist/workspace-instruction-policies.d.ts +81 -0
- package/dist/workspace-learning-administration.d.ts +289 -0
- package/package.json +13 -1
- package/src/agent-authored-durable-text.ts +105 -0
- package/src/company-brain-governed-writes.ts +356 -0
- package/src/company-brain.ts +201 -0
- package/src/company-profile.ts +122 -1
- package/src/connection-authority.ts +413 -0
- package/src/connector-attachments.ts +327 -0
- package/src/editable-artifact-codec-registry.ts +55 -17
- package/src/editable-artifact-committed-transaction.ts +44 -31
- package/src/editable-artifact-live.ts +123 -57
- package/src/editable-artifact-serialized-commit.ts +2 -1
- package/src/editable-artifact-versions.ts +26 -5
- package/src/editable-artifacts.ts +2 -0
- package/src/google-drive.ts +76 -4
- package/src/governed-learning-activation.ts +191 -0
- package/src/governed-learning-evaluator.ts +176 -0
- package/src/index.ts +3182 -483
- package/src/interaction.ts +55 -1
- package/src/knowledge.ts +133 -6
- package/src/organization-membership-lifecycle.ts +330 -0
- package/src/permissions.ts +55 -0
- package/src/personal-github.ts +267 -0
- package/src/preference-registry.ts +17 -0
- package/src/remember.ts +242 -0
- package/src/sandbox-file-artifacts.ts +65 -0
- package/src/sandbox-snapshots.ts +78 -0
- package/src/slack-bot-scopes.ts +81 -9
- package/src/spreadsheet-artifact-commands.ts +12 -13
- package/src/task-notes.ts +14 -1
- package/src/tool-result-spill.ts +35 -0
- package/src/workspace-instruction-policies.ts +30 -0
- package/src/workspace-learning-administration.ts +88 -0
- package/dist/chunk-5UDNP7AO.js.map +0 -1
- package/dist/chunk-BVGIYW7D.js +0 -11
- package/dist/chunk-BVGIYW7D.js.map +0 -1
- package/dist/chunk-JBCIY7QD.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-LW7OH6CS.js.map +0 -1
- package/dist/chunk-Q6A7XT2N.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.js.map +0 -1
- package/dist/chunk-Y3MLSLB4.js.map +0 -1
- /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const COMPANY_BRAIN_OKF_SCHEMA_VERSION: 1;
|
|
3
|
+
export declare const COMPANY_BRAIN_GUIDANCE_MAX_ENTRIES = 512;
|
|
4
|
+
export declare const COMPANY_BRAIN_GUIDANCE_CONTENT_MAX_CHARS = 262144;
|
|
5
|
+
export declare const COMPANY_BRAIN_GUIDANCE_MAX_CONTENT_BYTES: number;
|
|
6
|
+
export declare const COMPANY_BRAIN_INSPECTOR_DEFAULT_LIMIT = 20;
|
|
7
|
+
export declare const COMPANY_BRAIN_INSPECTOR_MAX_LIMIT = 50;
|
|
8
|
+
export declare const COMPANY_BRAIN_INSPECTOR_CURSOR_MAX_CHARS = 1024;
|
|
9
|
+
export declare const COMPANY_BRAIN_PROPOSAL_CONTENT_MAX_BYTES: number;
|
|
10
|
+
export declare const COMPANY_BRAIN_PROPOSAL_RESPONSE_MAX_BYTES: number;
|
|
11
|
+
export declare const CompanyBrainContextReceipt: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
sessionId: z.ZodString;
|
|
14
|
+
rootSessionId: z.ZodString;
|
|
15
|
+
turnId: z.ZodString;
|
|
16
|
+
acceptedAt: z.ZodString;
|
|
17
|
+
createdAt: z.ZodString;
|
|
18
|
+
sessionRole: z.ZodEnum<{
|
|
19
|
+
child: "child";
|
|
20
|
+
root: "root";
|
|
21
|
+
}>;
|
|
22
|
+
memoryEnabled: z.ZodBoolean;
|
|
23
|
+
memoryPromptMode: z.ZodEnum<{
|
|
24
|
+
legacy_standing: "legacy_standing";
|
|
25
|
+
retrieval_only: "retrieval_only";
|
|
26
|
+
}>;
|
|
27
|
+
companyProfileIncluded: z.ZodBoolean;
|
|
28
|
+
instructionPolicyEntryHash: z.ZodString;
|
|
29
|
+
preferenceDescriptorHash: z.ZodNullable<z.ZodString>;
|
|
30
|
+
companyProfileSnapshotHash: z.ZodString;
|
|
31
|
+
turnContextSnapshotId: z.ZodString;
|
|
32
|
+
turnContextSnapshotHash: z.ZodString;
|
|
33
|
+
turnContextSnapshotSource: z.ZodEnum<{
|
|
34
|
+
accepted_turn: "accepted_turn";
|
|
35
|
+
legacy_first_claim: "legacy_first_claim";
|
|
36
|
+
}>;
|
|
37
|
+
selectionHash: z.ZodString;
|
|
38
|
+
selectedMemoryCount: z.ZodNumber;
|
|
39
|
+
renderedMemoryCount: z.ZodNumber;
|
|
40
|
+
budgetOmittedMemoryCount: z.ZodNumber;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
export type CompanyBrainContextReceipt = z.infer<typeof CompanyBrainContextReceipt>;
|
|
43
|
+
export declare const CompanyBrainContextReceiptPage: z.ZodObject<{
|
|
44
|
+
receipts: z.ZodArray<z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
sessionId: z.ZodString;
|
|
47
|
+
rootSessionId: z.ZodString;
|
|
48
|
+
turnId: z.ZodString;
|
|
49
|
+
acceptedAt: z.ZodString;
|
|
50
|
+
createdAt: z.ZodString;
|
|
51
|
+
sessionRole: z.ZodEnum<{
|
|
52
|
+
child: "child";
|
|
53
|
+
root: "root";
|
|
54
|
+
}>;
|
|
55
|
+
memoryEnabled: z.ZodBoolean;
|
|
56
|
+
memoryPromptMode: z.ZodEnum<{
|
|
57
|
+
legacy_standing: "legacy_standing";
|
|
58
|
+
retrieval_only: "retrieval_only";
|
|
59
|
+
}>;
|
|
60
|
+
companyProfileIncluded: z.ZodBoolean;
|
|
61
|
+
instructionPolicyEntryHash: z.ZodString;
|
|
62
|
+
preferenceDescriptorHash: z.ZodNullable<z.ZodString>;
|
|
63
|
+
companyProfileSnapshotHash: z.ZodString;
|
|
64
|
+
turnContextSnapshotId: z.ZodString;
|
|
65
|
+
turnContextSnapshotHash: z.ZodString;
|
|
66
|
+
turnContextSnapshotSource: z.ZodEnum<{
|
|
67
|
+
accepted_turn: "accepted_turn";
|
|
68
|
+
legacy_first_claim: "legacy_first_claim";
|
|
69
|
+
}>;
|
|
70
|
+
selectionHash: z.ZodString;
|
|
71
|
+
selectedMemoryCount: z.ZodNumber;
|
|
72
|
+
renderedMemoryCount: z.ZodNumber;
|
|
73
|
+
budgetOmittedMemoryCount: z.ZodNumber;
|
|
74
|
+
}, z.core.$strict>>;
|
|
75
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
76
|
+
hasMore: z.ZodBoolean;
|
|
77
|
+
}, z.core.$strict>;
|
|
78
|
+
export type CompanyBrainContextReceiptPage = z.infer<typeof CompanyBrainContextReceiptPage>;
|
|
79
|
+
export declare const CompanyBrainKnowledgeProposal: z.ZodObject<{
|
|
80
|
+
id: z.ZodString;
|
|
81
|
+
authority: z.ZodObject<{
|
|
82
|
+
kind: z.ZodEnum<{
|
|
83
|
+
organization: "organization";
|
|
84
|
+
personal: "personal";
|
|
85
|
+
workspace: "workspace";
|
|
86
|
+
}>;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
targetKind: z.ZodEnum<{
|
|
89
|
+
instruction_policy: "instruction_policy";
|
|
90
|
+
preference: "preference";
|
|
91
|
+
}>;
|
|
92
|
+
targetScope: z.ZodString;
|
|
93
|
+
targetKey: z.ZodNullable<z.ZodString>;
|
|
94
|
+
content: z.ZodString;
|
|
95
|
+
contentHash: z.ZodString;
|
|
96
|
+
source: z.ZodObject<{
|
|
97
|
+
claimId: z.ZodString;
|
|
98
|
+
evidenceId: z.ZodString;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
status: z.ZodLiteral<"proposed">;
|
|
101
|
+
createdAt: z.ZodString;
|
|
102
|
+
projection: z.ZodObject<{
|
|
103
|
+
truncated: z.ZodBoolean;
|
|
104
|
+
originalContentUtf8Bytes: z.ZodNumber;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
export type CompanyBrainKnowledgeProposal = z.infer<typeof CompanyBrainKnowledgeProposal>;
|
|
108
|
+
export declare const CompanyBrainKnowledgeProposalPage: z.ZodObject<{
|
|
109
|
+
proposals: z.ZodArray<z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
authority: z.ZodObject<{
|
|
112
|
+
kind: z.ZodEnum<{
|
|
113
|
+
organization: "organization";
|
|
114
|
+
personal: "personal";
|
|
115
|
+
workspace: "workspace";
|
|
116
|
+
}>;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
targetKind: z.ZodEnum<{
|
|
119
|
+
instruction_policy: "instruction_policy";
|
|
120
|
+
preference: "preference";
|
|
121
|
+
}>;
|
|
122
|
+
targetScope: z.ZodString;
|
|
123
|
+
targetKey: z.ZodNullable<z.ZodString>;
|
|
124
|
+
content: z.ZodString;
|
|
125
|
+
contentHash: z.ZodString;
|
|
126
|
+
source: z.ZodObject<{
|
|
127
|
+
claimId: z.ZodString;
|
|
128
|
+
evidenceId: z.ZodString;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
status: z.ZodLiteral<"proposed">;
|
|
131
|
+
createdAt: z.ZodString;
|
|
132
|
+
projection: z.ZodObject<{
|
|
133
|
+
truncated: z.ZodBoolean;
|
|
134
|
+
originalContentUtf8Bytes: z.ZodNumber;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
}, z.core.$strict>>;
|
|
137
|
+
truncatedForCount: z.ZodBoolean;
|
|
138
|
+
truncatedForResponseBytes: z.ZodBoolean;
|
|
139
|
+
responseBytes: z.ZodNumber;
|
|
140
|
+
}, z.core.$strict>;
|
|
141
|
+
export type CompanyBrainKnowledgeProposalPage = z.infer<typeof CompanyBrainKnowledgeProposalPage>;
|
|
142
|
+
export declare const CompanyBrainGuidanceClassification: z.ZodEnum<{
|
|
143
|
+
company_profile: "company_profile";
|
|
144
|
+
guide: "guide";
|
|
145
|
+
mandatory_rule: "mandatory_rule";
|
|
146
|
+
}>;
|
|
147
|
+
export type CompanyBrainGuidanceClassification = z.infer<typeof CompanyBrainGuidanceClassification>;
|
|
148
|
+
export declare const CompanyBrainGuidanceScope: z.ZodEnum<{
|
|
149
|
+
organization: "organization";
|
|
150
|
+
personal: "personal";
|
|
151
|
+
workspace: "workspace";
|
|
152
|
+
}>;
|
|
153
|
+
export type CompanyBrainGuidanceScope = z.infer<typeof CompanyBrainGuidanceScope>;
|
|
154
|
+
export declare const CompanyBrainGuidanceLifecycle: z.ZodEnum<{
|
|
155
|
+
active: "active";
|
|
156
|
+
expired: "expired";
|
|
157
|
+
historical: "historical";
|
|
158
|
+
inactive: "inactive";
|
|
159
|
+
proposal: "proposal";
|
|
160
|
+
rejected: "rejected";
|
|
161
|
+
superseded: "superseded";
|
|
162
|
+
}>;
|
|
163
|
+
export type CompanyBrainGuidanceLifecycle = z.infer<typeof CompanyBrainGuidanceLifecycle>;
|
|
164
|
+
export declare const CompanyBrainGuidanceRelationship: z.ZodObject<{
|
|
165
|
+
type: z.ZodEnum<{
|
|
166
|
+
corrects: "corrects";
|
|
167
|
+
superseded_by: "superseded_by";
|
|
168
|
+
supersedes: "supersedes";
|
|
169
|
+
}>;
|
|
170
|
+
targetId: z.ZodString;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
export type CompanyBrainGuidanceRelationship = z.infer<typeof CompanyBrainGuidanceRelationship>;
|
|
173
|
+
export declare const CompanyBrainGuidanceEntry: z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
revisionId: z.ZodString;
|
|
176
|
+
path: z.ZodString;
|
|
177
|
+
scope: z.ZodEnum<{
|
|
178
|
+
organization: "organization";
|
|
179
|
+
personal: "personal";
|
|
180
|
+
workspace: "workspace";
|
|
181
|
+
}>;
|
|
182
|
+
classification: z.ZodEnum<{
|
|
183
|
+
company_profile: "company_profile";
|
|
184
|
+
guide: "guide";
|
|
185
|
+
mandatory_rule: "mandatory_rule";
|
|
186
|
+
}>;
|
|
187
|
+
title: z.ZodString;
|
|
188
|
+
description: z.ZodNullable<z.ZodString>;
|
|
189
|
+
content: z.ZodString;
|
|
190
|
+
contentHash: z.ZodString;
|
|
191
|
+
revision: z.ZodNumber;
|
|
192
|
+
active: z.ZodBoolean;
|
|
193
|
+
lifecycle: z.ZodEnum<{
|
|
194
|
+
active: "active";
|
|
195
|
+
expired: "expired";
|
|
196
|
+
historical: "historical";
|
|
197
|
+
inactive: "inactive";
|
|
198
|
+
proposal: "proposal";
|
|
199
|
+
rejected: "rejected";
|
|
200
|
+
superseded: "superseded";
|
|
201
|
+
}>;
|
|
202
|
+
provenance: z.ZodObject<{
|
|
203
|
+
source: z.ZodString;
|
|
204
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
205
|
+
trust: z.ZodNullable<z.ZodString>;
|
|
206
|
+
}, z.core.$strict>;
|
|
207
|
+
relationships: z.ZodArray<z.ZodObject<{
|
|
208
|
+
type: z.ZodEnum<{
|
|
209
|
+
corrects: "corrects";
|
|
210
|
+
superseded_by: "superseded_by";
|
|
211
|
+
supersedes: "supersedes";
|
|
212
|
+
}>;
|
|
213
|
+
targetId: z.ZodString;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
createdAt: z.ZodString;
|
|
216
|
+
}, z.core.$strict>;
|
|
217
|
+
export type CompanyBrainGuidanceEntry = z.infer<typeof CompanyBrainGuidanceEntry>;
|
|
218
|
+
export declare const CompanyBrainGuidanceTruncationReason: z.ZodEnum<{
|
|
219
|
+
aggregate_content_bytes: "aggregate_content_bytes";
|
|
220
|
+
aggregate_item_count: "aggregate_item_count";
|
|
221
|
+
company_profile_history: "company_profile_history";
|
|
222
|
+
instruction_policy_history: "instruction_policy_history";
|
|
223
|
+
preference_count: "preference_count";
|
|
224
|
+
preference_history: "preference_history";
|
|
225
|
+
}>;
|
|
226
|
+
export type CompanyBrainGuidanceTruncationReason = z.infer<typeof CompanyBrainGuidanceTruncationReason>;
|
|
227
|
+
export declare const CompanyBrainOkfPackage: z.ZodObject<{
|
|
228
|
+
kind: z.ZodLiteral<"opengeni.company_brain.okf">;
|
|
229
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
230
|
+
workspaceId: z.ZodString;
|
|
231
|
+
generatedAt: z.ZodString;
|
|
232
|
+
permissions: z.ZodObject<{
|
|
233
|
+
guidance: z.ZodLiteral<"available">;
|
|
234
|
+
knowledge: z.ZodEnum<{
|
|
235
|
+
available: "available";
|
|
236
|
+
unavailable: "unavailable";
|
|
237
|
+
}>;
|
|
238
|
+
}, z.core.$strict>;
|
|
239
|
+
guidance: z.ZodObject<{
|
|
240
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
241
|
+
id: z.ZodString;
|
|
242
|
+
revisionId: z.ZodString;
|
|
243
|
+
path: z.ZodString;
|
|
244
|
+
scope: z.ZodEnum<{
|
|
245
|
+
organization: "organization";
|
|
246
|
+
personal: "personal";
|
|
247
|
+
workspace: "workspace";
|
|
248
|
+
}>;
|
|
249
|
+
classification: z.ZodEnum<{
|
|
250
|
+
company_profile: "company_profile";
|
|
251
|
+
guide: "guide";
|
|
252
|
+
mandatory_rule: "mandatory_rule";
|
|
253
|
+
}>;
|
|
254
|
+
title: z.ZodString;
|
|
255
|
+
description: z.ZodNullable<z.ZodString>;
|
|
256
|
+
content: z.ZodString;
|
|
257
|
+
contentHash: z.ZodString;
|
|
258
|
+
revision: z.ZodNumber;
|
|
259
|
+
active: z.ZodBoolean;
|
|
260
|
+
lifecycle: z.ZodEnum<{
|
|
261
|
+
active: "active";
|
|
262
|
+
expired: "expired";
|
|
263
|
+
historical: "historical";
|
|
264
|
+
inactive: "inactive";
|
|
265
|
+
proposal: "proposal";
|
|
266
|
+
rejected: "rejected";
|
|
267
|
+
superseded: "superseded";
|
|
268
|
+
}>;
|
|
269
|
+
provenance: z.ZodObject<{
|
|
270
|
+
source: z.ZodString;
|
|
271
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
272
|
+
trust: z.ZodNullable<z.ZodString>;
|
|
273
|
+
}, z.core.$strict>;
|
|
274
|
+
relationships: z.ZodArray<z.ZodObject<{
|
|
275
|
+
type: z.ZodEnum<{
|
|
276
|
+
corrects: "corrects";
|
|
277
|
+
superseded_by: "superseded_by";
|
|
278
|
+
supersedes: "supersedes";
|
|
279
|
+
}>;
|
|
280
|
+
targetId: z.ZodString;
|
|
281
|
+
}, z.core.$strict>>;
|
|
282
|
+
createdAt: z.ZodString;
|
|
283
|
+
}, z.core.$strict>>;
|
|
284
|
+
truncated: z.ZodBoolean;
|
|
285
|
+
truncationReasons: z.ZodArray<z.ZodEnum<{
|
|
286
|
+
aggregate_content_bytes: "aggregate_content_bytes";
|
|
287
|
+
aggregate_item_count: "aggregate_item_count";
|
|
288
|
+
company_profile_history: "company_profile_history";
|
|
289
|
+
instruction_policy_history: "instruction_policy_history";
|
|
290
|
+
preference_count: "preference_count";
|
|
291
|
+
preference_history: "preference_history";
|
|
292
|
+
}>>;
|
|
293
|
+
}, z.core.$strict>;
|
|
294
|
+
knowledge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
295
|
+
availability: z.ZodLiteral<"available">;
|
|
296
|
+
coverage: z.ZodEnum<{
|
|
297
|
+
complete: "complete";
|
|
298
|
+
partial: "partial";
|
|
299
|
+
}>;
|
|
300
|
+
baseCount: z.ZodNumber;
|
|
301
|
+
bases: z.ZodArray<z.ZodObject<{
|
|
302
|
+
id: z.ZodString;
|
|
303
|
+
name: z.ZodString;
|
|
304
|
+
visibleDocumentCount: z.ZodNumber;
|
|
305
|
+
statusCounts: z.ZodObject<{
|
|
306
|
+
queued: z.ZodNumber;
|
|
307
|
+
indexing: z.ZodNumber;
|
|
308
|
+
ready: z.ZodNumber;
|
|
309
|
+
failed: z.ZodNumber;
|
|
310
|
+
}, z.core.$strict>;
|
|
311
|
+
latestUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
basesTruncated: z.ZodBoolean;
|
|
314
|
+
inspectedVisibleDocumentCount: z.ZodNumber;
|
|
315
|
+
documentStatusCounts: z.ZodObject<{
|
|
316
|
+
queued: z.ZodNumber;
|
|
317
|
+
indexing: z.ZodNumber;
|
|
318
|
+
ready: z.ZodNumber;
|
|
319
|
+
failed: z.ZodNumber;
|
|
320
|
+
}, z.core.$strict>;
|
|
321
|
+
sourceKindCounts: z.ZodObject<{
|
|
322
|
+
manual_upload: z.ZodNumber;
|
|
323
|
+
meeting_transcript: z.ZodNumber;
|
|
324
|
+
repository: z.ZodNumber;
|
|
325
|
+
email: z.ZodNumber;
|
|
326
|
+
chat: z.ZodNumber;
|
|
327
|
+
document: z.ZodNumber;
|
|
328
|
+
web: z.ZodNumber;
|
|
329
|
+
other: z.ZodNumber;
|
|
330
|
+
}, z.core.$strict>;
|
|
331
|
+
authorityKindCounts: z.ZodObject<{
|
|
332
|
+
organization: z.ZodNumber;
|
|
333
|
+
workspace: z.ZodNumber;
|
|
334
|
+
personal: z.ZodNumber;
|
|
335
|
+
}, z.core.$strict>;
|
|
336
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
337
|
+
name: z.ZodString;
|
|
338
|
+
documentCount: z.ZodNumber;
|
|
339
|
+
}, z.core.$strict>>;
|
|
340
|
+
topicsTruncated: z.ZodBoolean;
|
|
341
|
+
latestDocumentUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
342
|
+
memorySample: z.ZodObject<{
|
|
343
|
+
recordCount: z.ZodNumber;
|
|
344
|
+
sampleLimit: z.ZodLiteral<100>;
|
|
345
|
+
limitReached: z.ZodBoolean;
|
|
346
|
+
statusCounts: z.ZodObject<{
|
|
347
|
+
proposed: z.ZodNumber;
|
|
348
|
+
approved: z.ZodNumber;
|
|
349
|
+
rejected: z.ZodNumber;
|
|
350
|
+
active: z.ZodNumber;
|
|
351
|
+
superseded: z.ZodNumber;
|
|
352
|
+
archived: z.ZodNumber;
|
|
353
|
+
}, z.core.$strict>;
|
|
354
|
+
kindCounts: z.ZodObject<{
|
|
355
|
+
semantic: z.ZodNumber;
|
|
356
|
+
episodic: z.ZodNumber;
|
|
357
|
+
procedural: z.ZodNumber;
|
|
358
|
+
decision: z.ZodNumber;
|
|
359
|
+
preference: z.ZodNumber;
|
|
360
|
+
}, z.core.$strict>;
|
|
361
|
+
preferenceAuthority: z.ZodObject<{
|
|
362
|
+
kindCountSource: z.ZodLiteral<"knowledge_memories_legacy_observations">;
|
|
363
|
+
activeAuthority: z.ZodLiteral<"structured_preference_registry">;
|
|
364
|
+
}, z.core.$strict>;
|
|
365
|
+
latestUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
366
|
+
}, z.core.$strict>;
|
|
367
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
368
|
+
code: z.ZodEnum<{
|
|
369
|
+
failed_documents: "failed_documents";
|
|
370
|
+
missing_topic_coverage: "missing_topic_coverage";
|
|
371
|
+
no_document_bases: "no_document_bases";
|
|
372
|
+
no_memory_records: "no_memory_records";
|
|
373
|
+
no_visible_documents: "no_visible_documents";
|
|
374
|
+
partial_inventory: "partial_inventory";
|
|
375
|
+
pending_memory_review: "pending_memory_review";
|
|
376
|
+
processing_documents: "processing_documents";
|
|
377
|
+
}>;
|
|
378
|
+
severity: z.ZodEnum<{
|
|
379
|
+
info: "info";
|
|
380
|
+
warning: "warning";
|
|
381
|
+
}>;
|
|
382
|
+
relatedCount: z.ZodNullable<z.ZodNumber>;
|
|
383
|
+
}, z.core.$strict>>;
|
|
384
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
385
|
+
availability: z.ZodLiteral<"unavailable">;
|
|
386
|
+
reason: z.ZodLiteral<"missing_permission">;
|
|
387
|
+
requiredPermission: z.ZodLiteral<"documents:search">;
|
|
388
|
+
}, z.core.$strict>], "availability">;
|
|
389
|
+
omissions: z.ZodArray<z.ZodEnum<{
|
|
390
|
+
document_bodies_use_documents_export: "document_bodies_use_documents_export";
|
|
391
|
+
inaccessible_knowledge: "inaccessible_knowledge";
|
|
392
|
+
memory_bodies_and_provenance: "memory_bodies_and_provenance";
|
|
393
|
+
policy_and_preference_actor_identifiers: "policy_and_preference_actor_identifiers";
|
|
394
|
+
secret_values_and_credentials: "secret_values_and_credentials";
|
|
395
|
+
session_messages_and_task_notes: "session_messages_and_task_notes";
|
|
396
|
+
}>>;
|
|
397
|
+
}, z.core.$strict>;
|
|
398
|
+
export type CompanyBrainOkfPackage = z.infer<typeof CompanyBrainOkfPackage>;
|