@opengeni/contracts 0.39.0 → 0.44.1
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/atlassian.d.ts +278 -0
- package/dist/atlassian.js +55 -0
- package/dist/atlassian.js.map +1 -0
- package/dist/chunk-52SGB2QO.js +688 -0
- package/dist/chunk-52SGB2QO.js.map +1 -0
- package/dist/{chunk-7JZMI22I.js → chunk-5UDNP7AO.js} +34 -2
- package/dist/chunk-5UDNP7AO.js.map +1 -0
- package/dist/chunk-BVGIYW7D.js +11 -0
- package/dist/chunk-BVGIYW7D.js.map +1 -0
- package/dist/chunk-CADSX6UN.js +1145 -0
- package/dist/chunk-CADSX6UN.js.map +1 -0
- package/dist/chunk-D2HKF2EF.js +1460 -0
- package/dist/chunk-D2HKF2EF.js.map +1 -0
- package/dist/chunk-FJBG5E4O.js +194 -0
- package/dist/chunk-FJBG5E4O.js.map +1 -0
- package/dist/chunk-H5BVCZKF.js +382 -0
- package/dist/chunk-H5BVCZKF.js.map +1 -0
- package/dist/chunk-LSB7GRLG.js +779 -0
- package/dist/chunk-LSB7GRLG.js.map +1 -0
- package/dist/chunk-MYBZRDTY.js +340 -0
- package/dist/chunk-MYBZRDTY.js.map +1 -0
- package/dist/chunk-RIY7GYQS.js +1204 -0
- package/dist/chunk-RIY7GYQS.js.map +1 -0
- package/dist/chunk-TZ6YEYN4.js +386 -0
- package/dist/chunk-TZ6YEYN4.js.map +1 -0
- package/dist/chunk-VA22KRHS.js +15177 -0
- package/dist/chunk-VA22KRHS.js.map +1 -0
- package/dist/chunk-Y3MLSLB4.js +392 -0
- package/dist/chunk-Y3MLSLB4.js.map +1 -0
- package/dist/chunk-YRKRZ6OF.js +134 -0
- package/dist/chunk-YRKRZ6OF.js.map +1 -0
- package/dist/company-profile.d.ts +629 -0
- package/dist/document-artifact-commands.d.ts +282 -0
- package/dist/document-artifact-commands.js +54 -0
- package/dist/document-artifact-commands.js.map +1 -0
- package/dist/document-artifact-query.d.ts +2 -0
- package/dist/document-artifact-query.js +54 -0
- package/dist/document-artifact-query.js.map +1 -0
- package/dist/editable-artifact-binary.d.ts +56 -0
- package/dist/editable-artifact-causal-frontier.d.ts +12 -0
- package/dist/editable-artifact-causal-frontier.js +18 -0
- package/dist/editable-artifact-causal-frontier.js.map +1 -0
- package/dist/editable-artifact-codec-registry.d.ts +48 -0
- package/dist/editable-artifact-codec-registry.js +20 -0
- package/dist/editable-artifact-codec-registry.js.map +1 -0
- package/dist/editable-artifact-committed-transaction.d.ts +35 -0
- package/dist/editable-artifact-committed-transaction.js +19 -0
- package/dist/editable-artifact-committed-transaction.js.map +1 -0
- package/dist/editable-artifact-live.d.ts +276 -0
- package/dist/editable-artifact-live.js +907 -0
- package/dist/editable-artifact-live.js.map +1 -0
- package/dist/editable-artifact-serialized-commit.d.ts +53 -0
- package/dist/editable-artifact-serialized-commit.js +26 -0
- package/dist/editable-artifact-serialized-commit.js.map +1 -0
- package/dist/editable-artifact-versions.d.ts +6 -0
- package/dist/editable-artifact-versions.js +11 -0
- package/dist/editable-artifact-versions.js.map +1 -0
- package/dist/editable-artifacts.d.ts +46 -0
- package/dist/editable-artifacts.js +236 -0
- package/dist/editable-artifacts.js.map +1 -0
- package/dist/event-preview.d.ts +7 -7
- package/dist/google-drive.d.ts +114 -2
- package/dist/google-drive.js +70 -14
- package/dist/google-drive.js.map +1 -1
- package/dist/image-generation.d.ts +70 -0
- package/dist/index.d.ts +5180 -329
- package/dist/index.js +1173 -40
- package/dist/interaction.d.ts +6895 -0
- package/dist/mcp-receipts.d.ts +96 -0
- package/dist/memory-slack-delivery.d.ts +397 -0
- package/dist/presentation-artifact-commands.d.ts +349 -0
- package/dist/presentation-artifact-commands.js +66 -0
- package/dist/presentation-artifact-commands.js.map +1 -0
- package/dist/presentation-artifact-query.d.ts +2 -0
- package/dist/presentation-artifact-query.js +66 -0
- package/dist/presentation-artifact-query.js.map +1 -0
- package/dist/retained-output.d.ts +83 -6
- package/dist/sandbox-snapshots.d.ts +9 -0
- package/dist/scoped-knowledge.d.ts +14 -13
- package/dist/slack-bot-scopes.d.ts +4 -0
- package/dist/slack-bot-scopes.js +3 -1
- package/dist/spreadsheet-artifact-commands.d.ts +101 -0
- package/dist/spreadsheet-artifact-commands.js +27 -0
- package/dist/spreadsheet-artifact-commands.js.map +1 -0
- package/dist/spreadsheet-artifact-date.d.ts +4 -0
- package/dist/spreadsheet-artifact-query.d.ts +120 -0
- package/dist/spreadsheet-artifact-query.js +48 -0
- package/dist/spreadsheet-artifact-query.js.map +1 -0
- package/dist/tool-catalog.d.ts +576 -0
- package/dist/video-generation.d.ts +532 -0
- package/dist/video-generation.js +51 -0
- package/dist/video-generation.js.map +1 -0
- package/dist/workspace-learning-policy.d.ts +208 -0
- package/package.json +61 -1
- package/src/atlassian.ts +160 -0
- package/src/company-profile.ts +306 -0
- package/src/document-artifact-commands.ts +1709 -0
- package/src/document-artifact-query.ts +2 -0
- package/src/editable-artifact-binary.ts +396 -0
- package/src/editable-artifact-causal-frontier.ts +154 -0
- package/src/editable-artifact-codec-registry.ts +261 -0
- package/src/editable-artifact-committed-transaction.ts +478 -0
- package/src/editable-artifact-live.ts +1379 -0
- package/src/editable-artifact-serialized-commit.ts +494 -0
- package/src/editable-artifact-versions.ts +8 -0
- package/src/editable-artifacts.ts +473 -0
- package/src/event-preview.ts +6 -6
- package/src/google-drive.ts +68 -15
- package/src/image-generation.ts +106 -0
- package/src/index.ts +2535 -282
- package/src/interaction.ts +2292 -0
- package/src/mcp-receipts.ts +281 -0
- package/src/memory-slack-delivery.ts +183 -0
- package/src/presentation-artifact-commands.ts +2035 -0
- package/src/presentation-artifact-query.ts +2 -0
- package/src/retained-output.ts +248 -8
- package/src/sandbox-snapshots.ts +28 -1
- package/src/scoped-knowledge.ts +18 -4
- package/src/slack-bot-scopes.ts +34 -1
- package/src/spreadsheet-artifact-commands.ts +999 -0
- package/src/spreadsheet-artifact-date.ts +21 -0
- package/src/spreadsheet-artifact-query.ts +1411 -0
- package/src/tool-catalog.ts +334 -0
- package/src/video-generation.ts +394 -0
- package/src/workspace-learning-policy.ts +233 -0
- package/dist/chunk-7JZMI22I.js.map +0 -1
- package/dist/chunk-PCTCJEAF.js +0 -10799
- package/dist/chunk-PCTCJEAF.js.map +0 -1
- package/dist/secret-redaction.d.ts +0 -40
- package/src/secret-redaction.ts +0 -364
|
@@ -5,10 +5,25 @@ export declare const RETAINED_OUTPUT_MAX_PAGE_BYTES: number;
|
|
|
5
5
|
export declare const RETAINED_OUTPUT_DEFAULT_PAGE_BYTES: number;
|
|
6
6
|
/** Receipts are timeline references, never an extensible metadata bag. */
|
|
7
7
|
export declare const RETAINED_OUTPUT_RECEIPT_MAX_BYTES: number;
|
|
8
|
+
/** Screenshot bytes are accounted separately from the 10k-token text policy. */
|
|
9
|
+
export declare const COMPUTER_SCREENSHOT_MAX_BYTES: number;
|
|
10
|
+
export declare const COMPUTER_SCREENSHOT_MAX_DIMENSION = 16384;
|
|
11
|
+
export declare const COMPUTER_SCREENSHOT_MAX_PIXELS = 67108864;
|
|
12
|
+
/** Canonical ready-object retention window: 30 days from successful settlement. */
|
|
13
|
+
export declare const COMPUTER_SCREENSHOT_RETENTION_MS: number;
|
|
14
|
+
/** Hard workspace reservation across pending + ready screenshot artifacts. */
|
|
15
|
+
export declare const COMPUTER_SCREENSHOT_WORKSPACE_QUOTA_BYTES: number;
|
|
16
|
+
/** Generated images are permanent workspace files, never inline history blobs. */
|
|
17
|
+
export declare const GENERATED_IMAGE_MAX_BYTES: number;
|
|
18
|
+
/** Generated videos are permanent workspace files and are always streamed. */
|
|
19
|
+
export declare const GENERATED_VIDEO_MAX_BYTES: number;
|
|
8
20
|
export declare const RetainedOutputKind: z.ZodEnum<{
|
|
9
21
|
assistant_completion: "assistant_completion";
|
|
22
|
+
computer_screenshot: "computer_screenshot";
|
|
10
23
|
event_media: "event_media";
|
|
11
24
|
file: "file";
|
|
25
|
+
generated_image: "generated_image";
|
|
26
|
+
generated_video: "generated_video";
|
|
12
27
|
internal_update: "internal_update";
|
|
13
28
|
tool_result: "tool_result";
|
|
14
29
|
}>;
|
|
@@ -17,9 +32,12 @@ export declare const RetainedOutputUnavailableReason: z.ZodEnum<{
|
|
|
17
32
|
deleted: "deleted";
|
|
18
33
|
expired: "expired";
|
|
19
34
|
failed: "failed";
|
|
35
|
+
invalid_content: "invalid_content";
|
|
20
36
|
missing_storage: "missing_storage";
|
|
21
37
|
not_retained: "not_retained";
|
|
38
|
+
oversized: "oversized";
|
|
22
39
|
pending: "pending";
|
|
40
|
+
quota_exceeded: "quota_exceeded";
|
|
23
41
|
storage_write_failed: "storage_write_failed";
|
|
24
42
|
unsupported: "unsupported";
|
|
25
43
|
}>;
|
|
@@ -29,8 +47,11 @@ export declare const RetainedArtifactReferenceSchema: z.ZodObject<{
|
|
|
29
47
|
artifactId: z.ZodString;
|
|
30
48
|
kind: z.ZodEnum<{
|
|
31
49
|
assistant_completion: "assistant_completion";
|
|
50
|
+
computer_screenshot: "computer_screenshot";
|
|
32
51
|
event_media: "event_media";
|
|
33
52
|
file: "file";
|
|
53
|
+
generated_image: "generated_image";
|
|
54
|
+
generated_video: "generated_video";
|
|
34
55
|
internal_update: "internal_update";
|
|
35
56
|
tool_result: "tool_result";
|
|
36
57
|
}>;
|
|
@@ -38,10 +59,17 @@ export declare const RetainedArtifactReferenceSchema: z.ZodObject<{
|
|
|
38
59
|
originalBytes: z.ZodNumber;
|
|
39
60
|
sha256: z.ZodString;
|
|
40
61
|
retainedAt: z.ZodString;
|
|
41
|
-
|
|
62
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
width: z.ZodNumber;
|
|
64
|
+
height: z.ZodNumber;
|
|
65
|
+
}, z.core.$strict>>;
|
|
66
|
+
retention: z.ZodUnion<readonly [z.ZodObject<{
|
|
42
67
|
policy: z.ZodLiteral<"workspace_file">;
|
|
43
68
|
expiresAt: z.ZodNull;
|
|
44
|
-
}, z.core.$strict
|
|
69
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
70
|
+
policy: z.ZodLiteral<"session_screenshot">;
|
|
71
|
+
expiresAt: z.ZodString;
|
|
72
|
+
}, z.core.$strict>]>;
|
|
45
73
|
retrieval: z.ZodObject<{
|
|
46
74
|
method: z.ZodLiteral<"GET">;
|
|
47
75
|
path: z.ZodString;
|
|
@@ -62,9 +90,12 @@ export declare const RetainedOutputEvidenceSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
62
90
|
deleted: "deleted";
|
|
63
91
|
expired: "expired";
|
|
64
92
|
failed: "failed";
|
|
93
|
+
invalid_content: "invalid_content";
|
|
65
94
|
missing_storage: "missing_storage";
|
|
66
95
|
not_retained: "not_retained";
|
|
96
|
+
oversized: "oversized";
|
|
67
97
|
pending: "pending";
|
|
98
|
+
quota_exceeded: "quota_exceeded";
|
|
68
99
|
storage_write_failed: "storage_write_failed";
|
|
69
100
|
unsupported: "unsupported";
|
|
70
101
|
}>;
|
|
@@ -73,8 +104,11 @@ export declare const RetainedOutputEvidenceSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
73
104
|
artifactId: z.ZodString;
|
|
74
105
|
kind: z.ZodEnum<{
|
|
75
106
|
assistant_completion: "assistant_completion";
|
|
107
|
+
computer_screenshot: "computer_screenshot";
|
|
76
108
|
event_media: "event_media";
|
|
77
109
|
file: "file";
|
|
110
|
+
generated_image: "generated_image";
|
|
111
|
+
generated_video: "generated_video";
|
|
78
112
|
internal_update: "internal_update";
|
|
79
113
|
tool_result: "tool_result";
|
|
80
114
|
}>;
|
|
@@ -82,10 +116,17 @@ export declare const RetainedOutputEvidenceSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
82
116
|
originalBytes: z.ZodNumber;
|
|
83
117
|
sha256: z.ZodString;
|
|
84
118
|
retainedAt: z.ZodString;
|
|
85
|
-
|
|
119
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
width: z.ZodNumber;
|
|
121
|
+
height: z.ZodNumber;
|
|
122
|
+
}, z.core.$strict>>;
|
|
123
|
+
retention: z.ZodUnion<readonly [z.ZodObject<{
|
|
86
124
|
policy: z.ZodLiteral<"workspace_file">;
|
|
87
125
|
expiresAt: z.ZodNull;
|
|
88
|
-
}, z.core.$strict
|
|
126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
127
|
+
policy: z.ZodLiteral<"session_screenshot">;
|
|
128
|
+
expiresAt: z.ZodString;
|
|
129
|
+
}, z.core.$strict>]>;
|
|
89
130
|
retrieval: z.ZodObject<{
|
|
90
131
|
method: z.ZodLiteral<"GET">;
|
|
91
132
|
path: z.ZodString;
|
|
@@ -104,9 +145,12 @@ export declare const RetainedArtifactUnavailableSchema: z.ZodObject<{
|
|
|
104
145
|
deleted: "deleted";
|
|
105
146
|
expired: "expired";
|
|
106
147
|
failed: "failed";
|
|
148
|
+
invalid_content: "invalid_content";
|
|
107
149
|
missing_storage: "missing_storage";
|
|
108
150
|
not_retained: "not_retained";
|
|
151
|
+
oversized: "oversized";
|
|
109
152
|
pending: "pending";
|
|
153
|
+
quota_exceeded: "quota_exceeded";
|
|
110
154
|
storage_write_failed: "storage_write_failed";
|
|
111
155
|
unsupported: "unsupported";
|
|
112
156
|
}>;
|
|
@@ -118,8 +162,11 @@ export declare const RetainedArtifactMetadataSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
118
162
|
artifactId: z.ZodString;
|
|
119
163
|
kind: z.ZodEnum<{
|
|
120
164
|
assistant_completion: "assistant_completion";
|
|
165
|
+
computer_screenshot: "computer_screenshot";
|
|
121
166
|
event_media: "event_media";
|
|
122
167
|
file: "file";
|
|
168
|
+
generated_image: "generated_image";
|
|
169
|
+
generated_video: "generated_video";
|
|
123
170
|
internal_update: "internal_update";
|
|
124
171
|
tool_result: "tool_result";
|
|
125
172
|
}>;
|
|
@@ -127,10 +174,17 @@ export declare const RetainedArtifactMetadataSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
127
174
|
originalBytes: z.ZodNumber;
|
|
128
175
|
sha256: z.ZodString;
|
|
129
176
|
retainedAt: z.ZodString;
|
|
130
|
-
|
|
177
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
width: z.ZodNumber;
|
|
179
|
+
height: z.ZodNumber;
|
|
180
|
+
}, z.core.$strict>>;
|
|
181
|
+
retention: z.ZodUnion<readonly [z.ZodObject<{
|
|
131
182
|
policy: z.ZodLiteral<"workspace_file">;
|
|
132
183
|
expiresAt: z.ZodNull;
|
|
133
|
-
}, z.core.$strict
|
|
184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
185
|
+
policy: z.ZodLiteral<"session_screenshot">;
|
|
186
|
+
expiresAt: z.ZodString;
|
|
187
|
+
}, z.core.$strict>]>;
|
|
134
188
|
retrieval: z.ZodObject<{
|
|
135
189
|
method: z.ZodLiteral<"GET">;
|
|
136
190
|
path: z.ZodString;
|
|
@@ -144,9 +198,12 @@ export declare const RetainedArtifactMetadataSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
144
198
|
deleted: "deleted";
|
|
145
199
|
expired: "expired";
|
|
146
200
|
failed: "failed";
|
|
201
|
+
invalid_content: "invalid_content";
|
|
147
202
|
missing_storage: "missing_storage";
|
|
148
203
|
not_retained: "not_retained";
|
|
204
|
+
oversized: "oversized";
|
|
149
205
|
pending: "pending";
|
|
206
|
+
quota_exceeded: "quota_exceeded";
|
|
150
207
|
storage_write_failed: "storage_write_failed";
|
|
151
208
|
unsupported: "unsupported";
|
|
152
209
|
}>;
|
|
@@ -161,12 +218,32 @@ export type RetainedArtifactFileInput = {
|
|
|
161
218
|
sha256: string | null;
|
|
162
219
|
updatedAt: string;
|
|
163
220
|
};
|
|
221
|
+
export type RetainedScreenshotArtifactInput = RetainedArtifactFileInput & {
|
|
222
|
+
sessionId: string;
|
|
223
|
+
width: number;
|
|
224
|
+
height: number;
|
|
225
|
+
expiresAt: string;
|
|
226
|
+
};
|
|
227
|
+
export type RetainedGeneratedImageArtifactInput = RetainedArtifactFileInput & {
|
|
228
|
+
width: number;
|
|
229
|
+
height: number;
|
|
230
|
+
};
|
|
231
|
+
export type RetainedGeneratedVideoArtifactInput = RetainedArtifactFileInput & {
|
|
232
|
+
width: number;
|
|
233
|
+
height: number;
|
|
234
|
+
};
|
|
164
235
|
/**
|
|
165
236
|
* Convert a ready, integrity-addressed workspace file into the only available
|
|
166
237
|
* retained-output receipt shape. Invalid, pending, or checksum-less files fail
|
|
167
238
|
* closed instead of implying that full evidence is retrievable.
|
|
168
239
|
*/
|
|
169
240
|
export declare function retainedArtifactReferenceFromFile(file: RetainedArtifactFileInput, kind?: RetainedOutputKind): RetainedArtifactReference | null;
|
|
241
|
+
/** Build the closed, session-scoped receipt for one ready screenshot file. */
|
|
242
|
+
export declare function retainedScreenshotReferenceFromFile(file: RetainedScreenshotArtifactInput): RetainedArtifactReference | null;
|
|
243
|
+
/** Build the permanent workspace receipt for one validated generated image. */
|
|
244
|
+
export declare function retainedGeneratedImageReferenceFromFile(file: RetainedGeneratedImageArtifactInput): RetainedArtifactReference | null;
|
|
245
|
+
/** Build the permanent workspace receipt for one validated generated video. */
|
|
246
|
+
export declare function retainedGeneratedVideoReferenceFromFile(file: RetainedGeneratedVideoArtifactInput): RetainedArtifactReference | null;
|
|
170
247
|
/** Parse and clone a trusted server receipt; invalid/untrusted data fails closed. */
|
|
171
248
|
export declare function validateRetainedOutputEvidence(value: unknown): RetainedOutputEvidence | null;
|
|
172
249
|
export declare function retainedOutputUnavailable(reason?: RetainedOutputUnavailableReason): RetainedOutputEvidence;
|
|
@@ -5,6 +5,14 @@ export type WorkspaceTreeFingerprint = {
|
|
|
5
5
|
entryCount: number;
|
|
6
6
|
fileCount: number;
|
|
7
7
|
totalFileBytes: number;
|
|
8
|
+
/**
|
|
9
|
+
* Absent means the original deterministic GNU-tar projection used by remote
|
|
10
|
+
* sandboxes. Host-backed Local/Docker sessions use the Agents SDK's portable
|
|
11
|
+
* archive projection, which intentionally contains directories and regular
|
|
12
|
+
* files only. Keeping the discriminator in the descriptor makes restores
|
|
13
|
+
* stable when a Docker image changes and preserves old descriptor behavior.
|
|
14
|
+
*/
|
|
15
|
+
projection?: "sdk_local_archive_v1";
|
|
8
16
|
};
|
|
9
17
|
export type TarWorkspaceArchiveDescriptor = {
|
|
10
18
|
version: 1;
|
|
@@ -38,4 +46,5 @@ export declare const NATIVE_SNAPSHOT_PREFIXES: ReadonlyArray<{
|
|
|
38
46
|
}>;
|
|
39
47
|
export declare function parseWorkspaceArchiveDescriptor(value: unknown): WorkspaceArchiveDescriptor | null;
|
|
40
48
|
export declare function decodeNativeSnapshotRef(bytes: Uint8Array): NativeSnapshotRef | null;
|
|
49
|
+
export declare function encodeNativeSnapshotRef(ref: NativeSnapshotRef): Uint8Array;
|
|
41
50
|
export declare function backendForNativeSnapshotProvider(provider: NativeSnapshotProvider): string;
|
|
@@ -6,19 +6,20 @@ export declare const ScopedKnowledgeScopeKind: z.ZodEnum<{
|
|
|
6
6
|
workspace: "workspace";
|
|
7
7
|
}>;
|
|
8
8
|
export type ScopedKnowledgeScopeKind = z.infer<typeof ScopedKnowledgeScopeKind>;
|
|
9
|
-
export
|
|
10
|
-
kind: "organization"
|
|
11
|
-
workspaceId:
|
|
12
|
-
subjectId:
|
|
13
|
-
}
|
|
14
|
-
kind: "workspace"
|
|
15
|
-
workspaceId:
|
|
16
|
-
subjectId:
|
|
17
|
-
}
|
|
18
|
-
kind: "personal"
|
|
19
|
-
workspaceId:
|
|
20
|
-
subjectId:
|
|
21
|
-
}
|
|
9
|
+
export declare const ScopedKnowledgeScope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
+
kind: z.ZodLiteral<"organization">;
|
|
11
|
+
workspaceId: z.ZodNull;
|
|
12
|
+
subjectId: z.ZodNull;
|
|
13
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14
|
+
kind: z.ZodLiteral<"workspace">;
|
|
15
|
+
workspaceId: z.ZodString;
|
|
16
|
+
subjectId: z.ZodNull;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
kind: z.ZodLiteral<"personal">;
|
|
19
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
20
|
+
subjectId: z.ZodString;
|
|
21
|
+
}, z.core.$strip>], "kind">;
|
|
22
|
+
export type ScopedKnowledgeScope = z.infer<typeof ScopedKnowledgeScope>;
|
|
22
23
|
export declare const ScopedKnowledgeActorKind: z.ZodEnum<{
|
|
23
24
|
human: "human";
|
|
24
25
|
service: "service";
|
|
@@ -11,6 +11,8 @@ export declare const OPENGENI_SLACK_REACTION_REQUIRED_SCOPE: "reactions:read";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const OPENGENI_SLACK_BOT_REQUESTED_SCOPES: readonly ["app_mentions:read", "canvases:read", "channels:history", "channels:read", "chat:write", "commands", "files:read", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:read", "users:read", "reactions:read"];
|
|
13
13
|
export declare const OPENGENI_SLACK_BOT_EVENTS: readonly ["app_mention", "message.channels", "message.groups", "message.im", "message.mpim", "reaction_added"];
|
|
14
|
+
/** Full user-token scope set for every tool currently exposed by Slack's hosted MCP server. */
|
|
15
|
+
export declare const OPENGENI_SLACK_MCP_USER_SCOPES: readonly ["search:read.public", "search:read.private", "search:read.mpim", "search:read.im", "search:read.files", "files:read", "emoji:read", "search:read.users", "chat:write", "channels:history", "groups:history", "mpim:history", "im:history", "channels:write", "groups:write", "im:write", "mpim:write", "reactions:write", "canvases:read", "canvases:write", "users:read", "users:read.email", "channels:read", "groups:read", "mpim:read"];
|
|
14
16
|
export declare const OPENGENI_MANAGED_PUBLIC_BASE_URL: "https://app.opengeni.ai";
|
|
15
17
|
/** Canonical managed/self-hosted Slack app manifest. Slack accepts JSON manifests. */
|
|
16
18
|
export declare function buildOpenGeniSlackBotManifest(publicBaseUrl: string): {
|
|
@@ -39,6 +41,7 @@ export declare function buildOpenGeniSlackBotManifest(publicBaseUrl: string): {
|
|
|
39
41
|
readonly redirect_urls: readonly [`${string}/v1/integrations/oauth/callback`, `${string}/v1/integrations/slack/callback`];
|
|
40
42
|
readonly scopes: {
|
|
41
43
|
readonly bot: readonly ["app_mentions:read", "canvases:read", "channels:history", "channels:read", "chat:write", "commands", "files:read", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:read", "users:read", "reactions:read"];
|
|
44
|
+
readonly user: readonly ["search:read.public", "search:read.private", "search:read.mpim", "search:read.im", "search:read.files", "files:read", "emoji:read", "search:read.users", "chat:write", "channels:history", "groups:history", "mpim:history", "im:history", "channels:write", "groups:write", "im:write", "mpim:write", "reactions:write", "canvases:read", "canvases:write", "users:read", "users:read.email", "channels:read", "groups:read", "mpim:read"];
|
|
42
45
|
};
|
|
43
46
|
};
|
|
44
47
|
readonly settings: {
|
|
@@ -50,6 +53,7 @@ export declare function buildOpenGeniSlackBotManifest(publicBaseUrl: string): {
|
|
|
50
53
|
readonly is_enabled: true;
|
|
51
54
|
readonly request_url: `${string}/v1/integrations/slack/interactions`;
|
|
52
55
|
};
|
|
56
|
+
readonly is_mcp_enabled: true;
|
|
53
57
|
readonly org_deploy_enabled: false;
|
|
54
58
|
readonly socket_mode_enabled: false;
|
|
55
59
|
readonly token_rotation_enabled: false;
|
package/dist/slack-bot-scopes.js
CHANGED
|
@@ -5,12 +5,13 @@ import {
|
|
|
5
5
|
OPENGENI_SLACK_BOT_REQUESTED_SCOPES,
|
|
6
6
|
OPENGENI_SLACK_BOT_REQUIRED_SCOPES,
|
|
7
7
|
OPENGENI_SLACK_BOT_SAFE_OPTIONAL_SCOPES,
|
|
8
|
+
OPENGENI_SLACK_MCP_USER_SCOPES,
|
|
8
9
|
OPENGENI_SLACK_REACTION_REQUIRED_SCOPE,
|
|
9
10
|
areOpenGeniSlackBotScopesAccepted,
|
|
10
11
|
buildOpenGeniSlackBotManifest,
|
|
11
12
|
evaluateOpenGeniSlackBotScopes,
|
|
12
13
|
hasOpenGeniSlackReactionScope
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5UDNP7AO.js";
|
|
14
15
|
export {
|
|
15
16
|
OPENGENI_MANAGED_PUBLIC_BASE_URL,
|
|
16
17
|
OPENGENI_SLACK_BOT_EVENTS,
|
|
@@ -18,6 +19,7 @@ export {
|
|
|
18
19
|
OPENGENI_SLACK_BOT_REQUESTED_SCOPES,
|
|
19
20
|
OPENGENI_SLACK_BOT_REQUIRED_SCOPES,
|
|
20
21
|
OPENGENI_SLACK_BOT_SAFE_OPTIONAL_SCOPES,
|
|
22
|
+
OPENGENI_SLACK_MCP_USER_SCOPES,
|
|
21
23
|
OPENGENI_SLACK_REACTION_REQUIRED_SCOPE,
|
|
22
24
|
areOpenGeniSlackBotScopesAccepted,
|
|
23
25
|
buildOpenGeniSlackBotManifest,
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical, identity-free spreadsheet mutation commands nested inside
|
|
3
|
+
* `OGATX001`. Artifact, actor, transaction, delivery, and causal identity must
|
|
4
|
+
* never be added here: the outer authored-intent envelope is their sole wire
|
|
5
|
+
* authority.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SPREADSHEET_ARTIFACT_COMMAND_VERSION: 1;
|
|
8
|
+
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES: number;
|
|
9
|
+
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS = 4096;
|
|
10
|
+
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS = 1000000;
|
|
11
|
+
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES: number;
|
|
12
|
+
export declare const SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS = 31;
|
|
13
|
+
declare const stableIdBrand: unique symbol;
|
|
14
|
+
/** Fixed-width lowercase hexadecimal 128-bit id. Runtime helpers enforce use. */
|
|
15
|
+
export type EditableArtifactStableId = string & {
|
|
16
|
+
readonly [stableIdBrand]: "EditableArtifactStableId";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* A concrete sheet generation. The object id follows the offline allocator
|
|
20
|
+
* invariant (both 64-bit halves nonzero); a derived operation id reserves only
|
|
21
|
+
* the all-zero 128-bit value.
|
|
22
|
+
*/
|
|
23
|
+
export type SpreadsheetSheetGeneration = Readonly<{
|
|
24
|
+
kind: "generation";
|
|
25
|
+
sheetId: EditableArtifactStableId;
|
|
26
|
+
creationOperationId: EditableArtifactStableId;
|
|
27
|
+
}>;
|
|
28
|
+
/**
|
|
29
|
+
* Reference to a sheet created by an earlier command in this same batch.
|
|
30
|
+
* This avoids recursively embedding the creation operation id, which is
|
|
31
|
+
* derived from the hash of the complete outer intent.
|
|
32
|
+
*/
|
|
33
|
+
export type SpreadsheetPriorCreatePrecondition = Readonly<{
|
|
34
|
+
kind: "created-in-batch";
|
|
35
|
+
sheetId: EditableArtifactStableId;
|
|
36
|
+
createCommandIndex: number;
|
|
37
|
+
}>;
|
|
38
|
+
export type SpreadsheetSheetPrecondition = SpreadsheetSheetGeneration | SpreadsheetPriorCreatePrecondition;
|
|
39
|
+
export type SpreadsheetCellPoint = Readonly<{
|
|
40
|
+
row: number;
|
|
41
|
+
column: number;
|
|
42
|
+
}>;
|
|
43
|
+
export type SpreadsheetCellRange = Readonly<{
|
|
44
|
+
start: SpreadsheetCellPoint;
|
|
45
|
+
end: SpreadsheetCellPoint;
|
|
46
|
+
}>;
|
|
47
|
+
export type SpreadsheetFormulaError = Readonly<{
|
|
48
|
+
error: string;
|
|
49
|
+
}>;
|
|
50
|
+
export type SpreadsheetDateValue = Readonly<{
|
|
51
|
+
date: string;
|
|
52
|
+
}>;
|
|
53
|
+
export type SpreadsheetCellScalar = null | boolean | number | string | SpreadsheetDateValue | SpreadsheetFormulaError;
|
|
54
|
+
export type SpreadsheetFormulaCell = Readonly<{
|
|
55
|
+
formula: string;
|
|
56
|
+
cached: SpreadsheetCellScalar;
|
|
57
|
+
}>;
|
|
58
|
+
export type SpreadsheetCellInput = SpreadsheetCellScalar | SpreadsheetFormulaCell;
|
|
59
|
+
export type SpreadsheetCreateSheetCommand = Readonly<{
|
|
60
|
+
kind: "sheet.create";
|
|
61
|
+
sheetId: EditableArtifactStableId;
|
|
62
|
+
name: string;
|
|
63
|
+
after: SpreadsheetSheetPrecondition | null;
|
|
64
|
+
}>;
|
|
65
|
+
export type SpreadsheetRenameSheetCommand = Readonly<{
|
|
66
|
+
kind: "sheet.rename";
|
|
67
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
68
|
+
name: string;
|
|
69
|
+
}>;
|
|
70
|
+
export type SpreadsheetDeleteSheetCommand = Readonly<{
|
|
71
|
+
kind: "sheet.delete";
|
|
72
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
73
|
+
}>;
|
|
74
|
+
/** Row-major rectangular write; `cells.length === rows * columns`. */
|
|
75
|
+
export type SpreadsheetSetCellsCommand = Readonly<{
|
|
76
|
+
kind: "cells.set";
|
|
77
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
78
|
+
anchor: SpreadsheetCellPoint;
|
|
79
|
+
rows: number;
|
|
80
|
+
columns: number;
|
|
81
|
+
cells: readonly SpreadsheetCellInput[];
|
|
82
|
+
}>;
|
|
83
|
+
export type SpreadsheetClearRangeCommand = Readonly<{
|
|
84
|
+
kind: "range.clear";
|
|
85
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
86
|
+
range: SpreadsheetCellRange;
|
|
87
|
+
}>;
|
|
88
|
+
export type SpreadsheetArtifactCommand = SpreadsheetCreateSheetCommand | SpreadsheetRenameSheetCommand | SpreadsheetDeleteSheetCommand | SpreadsheetSetCellsCommand | SpreadsheetClearRangeCommand;
|
|
89
|
+
export type SpreadsheetArtifactCommandBatch = Readonly<{
|
|
90
|
+
version: typeof SPREADSHEET_ARTIFACT_COMMAND_VERSION;
|
|
91
|
+
commands: readonly SpreadsheetArtifactCommand[];
|
|
92
|
+
}>;
|
|
93
|
+
/** Validates a generic nonzero 128-bit id and returns its nominal type. */
|
|
94
|
+
export declare function editableArtifactStableId(value: string): EditableArtifactStableId;
|
|
95
|
+
/** Validates a sheet object id with nonzero allocator namespace and counter. */
|
|
96
|
+
export declare function spreadsheetSheetId(value: string): EditableArtifactStableId;
|
|
97
|
+
export declare function encodeSpreadsheetArtifactCommandBatch(input: SpreadsheetArtifactCommandBatch): Uint8Array;
|
|
98
|
+
export declare function decodeSpreadsheetArtifactCommandBatch(bytes: Uint8Array): SpreadsheetArtifactCommandBatch;
|
|
99
|
+
/** Decodes, re-encodes, and proves byte-for-byte canonicality. */
|
|
100
|
+
export declare function assertCanonicalSpreadsheetArtifactCommandBytes(bytes: Uint8Array): Uint8Array;
|
|
101
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
|
|
3
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS,
|
|
4
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
5
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
|
|
6
|
+
SPREADSHEET_ARTIFACT_COMMAND_VERSION,
|
|
7
|
+
SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
|
|
8
|
+
assertCanonicalSpreadsheetArtifactCommandBytes,
|
|
9
|
+
decodeSpreadsheetArtifactCommandBatch,
|
|
10
|
+
editableArtifactStableId,
|
|
11
|
+
encodeSpreadsheetArtifactCommandBatch,
|
|
12
|
+
spreadsheetSheetId
|
|
13
|
+
} from "./chunk-LSB7GRLG.js";
|
|
14
|
+
export {
|
|
15
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
|
|
16
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS,
|
|
17
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
18
|
+
SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
|
|
19
|
+
SPREADSHEET_ARTIFACT_COMMAND_VERSION,
|
|
20
|
+
SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
|
|
21
|
+
assertCanonicalSpreadsheetArtifactCommandBytes,
|
|
22
|
+
decodeSpreadsheetArtifactCommandBatch,
|
|
23
|
+
editableArtifactStableId,
|
|
24
|
+
encodeSpreadsheetArtifactCommandBatch,
|
|
25
|
+
spreadsheetSheetId
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=spreadsheet-artifact-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Parses only the exact string form emitted by `Date.prototype.toISOString`. */
|
|
2
|
+
export declare function canonicalSpreadsheetDateMilliseconds(value: unknown): number;
|
|
3
|
+
/** Converts a signed wire integer to a canonical ISO instant without lossy coercion. */
|
|
4
|
+
export declare function canonicalSpreadsheetDateFromMilliseconds(milliseconds: bigint): string;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { type EditableArtifactStableId } from "./spreadsheet-artifact-commands.js";
|
|
2
|
+
/** Canonical private kernel query/projection ABI shared by browser and native bindings. */
|
|
3
|
+
export declare const SPREADSHEET_ARTIFACT_QUERY_VERSION: 1;
|
|
4
|
+
export declare const SPREADSHEET_ARTIFACT_QUERY_MAX_BYTES = 68;
|
|
5
|
+
export declare const SPREADSHEET_ARTIFACT_PROJECTION_MAX_BYTES: number;
|
|
6
|
+
export declare const SPREADSHEET_ARTIFACT_VIEWPORT_MAX_AREA = 1048576;
|
|
7
|
+
export declare const SPREADSHEET_ARTIFACT_VIEWPORT_MAX_CELLS = 262144;
|
|
8
|
+
export declare const SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS = 10000;
|
|
9
|
+
export declare const SPREADSHEET_ARTIFACT_PROJECTION_MAX_STRING_BYTES: number;
|
|
10
|
+
export declare const SPREADSHEET_ARTIFACT_VIEWPORT_MIN_RESPONSE_BYTES = 92;
|
|
11
|
+
export declare const SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES = 48;
|
|
12
|
+
export type SpreadsheetArtifactViewportQuery = Readonly<{
|
|
13
|
+
sheetId: EditableArtifactStableId;
|
|
14
|
+
startRow: number;
|
|
15
|
+
startColumn: number;
|
|
16
|
+
rowCount: number;
|
|
17
|
+
columnCount: number;
|
|
18
|
+
maxCells: number;
|
|
19
|
+
/** Entire OGAKV001 envelope, not merely its payload. */
|
|
20
|
+
maxBytes: number;
|
|
21
|
+
}>;
|
|
22
|
+
export type SpreadsheetArtifactMetadataQuery = Readonly<{
|
|
23
|
+
maxSheets: number;
|
|
24
|
+
/** Entire OGAKV001 envelope, not merely its payload. */
|
|
25
|
+
maxBytes: number;
|
|
26
|
+
}>;
|
|
27
|
+
export type SpreadsheetArtifactKernelQuery = Readonly<{
|
|
28
|
+
kind: "viewport";
|
|
29
|
+
query: SpreadsheetArtifactViewportQuery;
|
|
30
|
+
}> | Readonly<{
|
|
31
|
+
kind: "workbook-metadata";
|
|
32
|
+
query: SpreadsheetArtifactMetadataQuery;
|
|
33
|
+
}>;
|
|
34
|
+
export type SpreadsheetArtifactFormulaError = "null" | "divide_by_zero" | "value" | "reference" | "name" | "number" | "not_available" | "spill" | "calculation" | Readonly<{
|
|
35
|
+
custom: string;
|
|
36
|
+
}>;
|
|
37
|
+
export type SpreadsheetArtifactProjectedCellValue = Readonly<{
|
|
38
|
+
kind: "empty";
|
|
39
|
+
}> | Readonly<{
|
|
40
|
+
kind: "boolean";
|
|
41
|
+
value: boolean;
|
|
42
|
+
}> | Readonly<{
|
|
43
|
+
kind: "number";
|
|
44
|
+
value: number;
|
|
45
|
+
}> | Readonly<{
|
|
46
|
+
kind: "date";
|
|
47
|
+
value: string;
|
|
48
|
+
}> | Readonly<{
|
|
49
|
+
kind: "text";
|
|
50
|
+
value: string;
|
|
51
|
+
}> | Readonly<{
|
|
52
|
+
kind: "error";
|
|
53
|
+
value: SpreadsheetArtifactFormulaError;
|
|
54
|
+
}>;
|
|
55
|
+
export type SpreadsheetArtifactProjectedCell = Readonly<{
|
|
56
|
+
/** Absolute zero-based row, reconstructed from the relative wire coordinate. */
|
|
57
|
+
row: number;
|
|
58
|
+
/** Absolute zero-based column, reconstructed from the relative wire coordinate. */
|
|
59
|
+
column: number;
|
|
60
|
+
formula: string | null;
|
|
61
|
+
value: SpreadsheetArtifactProjectedCellValue;
|
|
62
|
+
}>;
|
|
63
|
+
/** Complete and non-truncated. A limit breach is an error, never a partial response. */
|
|
64
|
+
export type SpreadsheetArtifactViewportProjection = Readonly<{
|
|
65
|
+
revision: bigint;
|
|
66
|
+
sheetId: EditableArtifactStableId;
|
|
67
|
+
generationId: EditableArtifactStableId | null;
|
|
68
|
+
startRow: number;
|
|
69
|
+
startColumn: number;
|
|
70
|
+
rowCount: number;
|
|
71
|
+
columnCount: number;
|
|
72
|
+
cells: readonly SpreadsheetArtifactProjectedCell[];
|
|
73
|
+
}>;
|
|
74
|
+
export type SpreadsheetArtifactUsedBounds = Readonly<{
|
|
75
|
+
startRow: number;
|
|
76
|
+
startColumn: number;
|
|
77
|
+
endRow: number;
|
|
78
|
+
endColumn: number;
|
|
79
|
+
}>;
|
|
80
|
+
export type SpreadsheetArtifactSheetMetadata = Readonly<{
|
|
81
|
+
sheetId: EditableArtifactStableId;
|
|
82
|
+
generationId: EditableArtifactStableId | null;
|
|
83
|
+
name: string;
|
|
84
|
+
usedBounds: SpreadsheetArtifactUsedBounds | null;
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* Version 1 deliberately models no row/column dimensions, hidden state, or
|
|
88
|
+
* merges. It also carries no style projection. These are false capability
|
|
89
|
+
* facts, not omitted authoritative data.
|
|
90
|
+
*/
|
|
91
|
+
export type SpreadsheetArtifactModeledFeatures = Readonly<{
|
|
92
|
+
dimensions: false;
|
|
93
|
+
hidden: false;
|
|
94
|
+
merges: false;
|
|
95
|
+
}>;
|
|
96
|
+
/** Complete ordered workbook catalog; never a truncated prefix. */
|
|
97
|
+
export type SpreadsheetArtifactMetadataProjection = Readonly<{
|
|
98
|
+
revision: bigint;
|
|
99
|
+
modeledFeatures: SpreadsheetArtifactModeledFeatures;
|
|
100
|
+
sheets: readonly SpreadsheetArtifactSheetMetadata[];
|
|
101
|
+
}>;
|
|
102
|
+
export type SpreadsheetArtifactKernelProjection = Readonly<{
|
|
103
|
+
kind: "viewport";
|
|
104
|
+
projection: SpreadsheetArtifactViewportProjection;
|
|
105
|
+
}> | Readonly<{
|
|
106
|
+
kind: "workbook-metadata";
|
|
107
|
+
projection: SpreadsheetArtifactMetadataProjection;
|
|
108
|
+
}>;
|
|
109
|
+
export declare function encodeSpreadsheetViewportKernelQuery(input: SpreadsheetArtifactViewportQuery): Uint8Array;
|
|
110
|
+
export declare function encodeSpreadsheetMetadataKernelQuery(input: SpreadsheetArtifactMetadataQuery): Uint8Array;
|
|
111
|
+
export declare function encodeSpreadsheetArtifactKernelQuery(input: SpreadsheetArtifactKernelQuery): Uint8Array;
|
|
112
|
+
export declare function decodeSpreadsheetArtifactKernelQuery(bytes: Uint8Array): SpreadsheetArtifactKernelQuery;
|
|
113
|
+
export declare function assertCanonicalSpreadsheetArtifactKernelQueryBytes(bytes: Uint8Array): Uint8Array;
|
|
114
|
+
export declare function encodeSpreadsheetViewportKernelProjection(input: SpreadsheetArtifactViewportProjection, maximumBytes?: number): Uint8Array;
|
|
115
|
+
export declare function encodeSpreadsheetMetadataKernelProjection(input: SpreadsheetArtifactMetadataProjection, maximumBytes?: number): Uint8Array;
|
|
116
|
+
export declare function encodeSpreadsheetArtifactKernelProjection(input: SpreadsheetArtifactKernelProjection, maximumBytes?: number): Uint8Array;
|
|
117
|
+
export declare function decodeSpreadsheetArtifactKernelProjection(bytes: Uint8Array): SpreadsheetArtifactKernelProjection;
|
|
118
|
+
export declare function decodeSpreadsheetViewportKernelProjection(bytes: Uint8Array, expected?: SpreadsheetArtifactViewportQuery): SpreadsheetArtifactViewportProjection;
|
|
119
|
+
export declare function decodeSpreadsheetMetadataKernelProjection(bytes: Uint8Array, expected?: SpreadsheetArtifactMetadataQuery): SpreadsheetArtifactMetadataProjection;
|
|
120
|
+
export declare function assertCanonicalSpreadsheetArtifactKernelProjectionBytes(bytes: Uint8Array): Uint8Array;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS,
|
|
3
|
+
SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES,
|
|
4
|
+
SPREADSHEET_ARTIFACT_PROJECTION_MAX_BYTES,
|
|
5
|
+
SPREADSHEET_ARTIFACT_PROJECTION_MAX_STRING_BYTES,
|
|
6
|
+
SPREADSHEET_ARTIFACT_QUERY_MAX_BYTES,
|
|
7
|
+
SPREADSHEET_ARTIFACT_QUERY_VERSION,
|
|
8
|
+
SPREADSHEET_ARTIFACT_VIEWPORT_MAX_AREA,
|
|
9
|
+
SPREADSHEET_ARTIFACT_VIEWPORT_MAX_CELLS,
|
|
10
|
+
SPREADSHEET_ARTIFACT_VIEWPORT_MIN_RESPONSE_BYTES,
|
|
11
|
+
assertCanonicalSpreadsheetArtifactKernelProjectionBytes,
|
|
12
|
+
assertCanonicalSpreadsheetArtifactKernelQueryBytes,
|
|
13
|
+
decodeSpreadsheetArtifactKernelProjection,
|
|
14
|
+
decodeSpreadsheetArtifactKernelQuery,
|
|
15
|
+
decodeSpreadsheetMetadataKernelProjection,
|
|
16
|
+
decodeSpreadsheetViewportKernelProjection,
|
|
17
|
+
encodeSpreadsheetArtifactKernelProjection,
|
|
18
|
+
encodeSpreadsheetArtifactKernelQuery,
|
|
19
|
+
encodeSpreadsheetMetadataKernelProjection,
|
|
20
|
+
encodeSpreadsheetMetadataKernelQuery,
|
|
21
|
+
encodeSpreadsheetViewportKernelProjection,
|
|
22
|
+
encodeSpreadsheetViewportKernelQuery
|
|
23
|
+
} from "./chunk-CADSX6UN.js";
|
|
24
|
+
import "./chunk-LSB7GRLG.js";
|
|
25
|
+
export {
|
|
26
|
+
SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS,
|
|
27
|
+
SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES,
|
|
28
|
+
SPREADSHEET_ARTIFACT_PROJECTION_MAX_BYTES,
|
|
29
|
+
SPREADSHEET_ARTIFACT_PROJECTION_MAX_STRING_BYTES,
|
|
30
|
+
SPREADSHEET_ARTIFACT_QUERY_MAX_BYTES,
|
|
31
|
+
SPREADSHEET_ARTIFACT_QUERY_VERSION,
|
|
32
|
+
SPREADSHEET_ARTIFACT_VIEWPORT_MAX_AREA,
|
|
33
|
+
SPREADSHEET_ARTIFACT_VIEWPORT_MAX_CELLS,
|
|
34
|
+
SPREADSHEET_ARTIFACT_VIEWPORT_MIN_RESPONSE_BYTES,
|
|
35
|
+
assertCanonicalSpreadsheetArtifactKernelProjectionBytes,
|
|
36
|
+
assertCanonicalSpreadsheetArtifactKernelQueryBytes,
|
|
37
|
+
decodeSpreadsheetArtifactKernelProjection,
|
|
38
|
+
decodeSpreadsheetArtifactKernelQuery,
|
|
39
|
+
decodeSpreadsheetMetadataKernelProjection,
|
|
40
|
+
decodeSpreadsheetViewportKernelProjection,
|
|
41
|
+
encodeSpreadsheetArtifactKernelProjection,
|
|
42
|
+
encodeSpreadsheetArtifactKernelQuery,
|
|
43
|
+
encodeSpreadsheetMetadataKernelProjection,
|
|
44
|
+
encodeSpreadsheetMetadataKernelQuery,
|
|
45
|
+
encodeSpreadsheetViewportKernelProjection,
|
|
46
|
+
encodeSpreadsheetViewportKernelQuery
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=spreadsheet-artifact-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|