@opengeni/contracts 4.4.1 → 4.5.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/artifacts.d.ts +5 -0
- package/dist/atlassian.js +30 -30
- package/dist/{chunk-W3NBPR4E.js → chunk-6JVNWADW.js} +2 -2
- package/dist/{chunk-ETVERQ3S.js → chunk-DJ6PLUZE.js} +21 -21
- package/dist/{chunk-4E32IUCQ.js → chunk-EEJP62UG.js} +2 -2
- package/dist/{chunk-ZYVEJFNU.js → chunk-GFMEIAB3.js} +5 -5
- package/dist/{chunk-RUQ4I6DO.js → chunk-NJMU6O3S.js} +4 -4
- package/dist/{chunk-7TQCV4DO.js → chunk-QVD27B6P.js} +76 -32
- package/dist/chunk-QVD27B6P.js.map +1 -0
- package/dist/{chunk-O52OHRH5.js → chunk-TR623IYR.js} +5 -5
- package/dist/client-error-report.d.ts +1 -1
- package/dist/client-error-report.js +1 -0
- package/dist/client-error-report.js.map +1 -1
- package/dist/connect.js +33 -33
- package/dist/connection-authority.js +31 -31
- package/dist/editable-artifact-codec-registry.js +5 -5
- package/dist/editable-artifact-committed-transaction.js +3 -3
- package/dist/editable-artifact-live.js +5 -5
- package/dist/editable-artifact-serialized-commit.js +6 -6
- package/dist/editable-artifacts.js +33 -33
- package/dist/google-drive.js +31 -31
- package/dist/host-mcp-bindings.js +33 -33
- package/dist/index.d.ts +74 -1
- package/dist/index.js +333 -329
- package/dist/personal-github.js +30 -30
- package/dist/spreadsheet-artifact-commands.js +2 -2
- package/dist/spreadsheet-artifact-query.js +3 -3
- package/package.json +1 -1
- package/src/artifacts.ts +8 -0
- package/src/client-error-report.ts +1 -0
- package/src/index.ts +47 -0
- package/dist/chunk-7TQCV4DO.js.map +0 -1
- /package/dist/{chunk-W3NBPR4E.js.map → chunk-6JVNWADW.js.map} +0 -0
- /package/dist/{chunk-ETVERQ3S.js.map → chunk-DJ6PLUZE.js.map} +0 -0
- /package/dist/{chunk-4E32IUCQ.js.map → chunk-EEJP62UG.js.map} +0 -0
- /package/dist/{chunk-ZYVEJFNU.js.map → chunk-GFMEIAB3.js.map} +0 -0
- /package/dist/{chunk-RUQ4I6DO.js.map → chunk-NJMU6O3S.js.map} +0 -0
- /package/dist/{chunk-O52OHRH5.js.map → chunk-TR623IYR.js.map} +0 -0
package/dist/personal-github.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectionMetadata
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QVD27B6P.js";
|
|
4
|
+
import "./chunk-EZMMXU2Z.js";
|
|
5
|
+
import "./chunk-CK33N4MN.js";
|
|
6
|
+
import "./chunk-6IXO76Z6.js";
|
|
5
7
|
import "./chunk-A25JT3JW.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-TSWWZMUS.js";
|
|
9
|
-
import "./chunk-XDLAGX66.js";
|
|
8
|
+
import "./chunk-VGP74254.js";
|
|
9
|
+
import "./chunk-EKWNTOG3.js";
|
|
10
10
|
import "./chunk-2ZIHHL72.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-GFMEIAB3.js";
|
|
12
|
+
import "./chunk-C5E5WCHU.js";
|
|
13
|
+
import "./chunk-ZDCRWCGZ.js";
|
|
13
14
|
import "./chunk-SHO4YO4B.js";
|
|
15
|
+
import "./chunk-4JGHSSB7.js";
|
|
16
|
+
import "./chunk-C6HESWDB.js";
|
|
17
|
+
import "./chunk-NDZHPTCL.js";
|
|
18
|
+
import "./chunk-PUIUXIOL.js";
|
|
19
|
+
import "./chunk-LZ2LAHIX.js";
|
|
20
|
+
import "./chunk-YKZ4WU4P.js";
|
|
14
21
|
import "./chunk-4VDMHLLL.js";
|
|
15
|
-
import "./chunk-T3HSWMA5.js";
|
|
16
22
|
import "./chunk-KHHZTBP7.js";
|
|
23
|
+
import "./chunk-SWRN2DJ3.js";
|
|
24
|
+
import "./chunk-HRRU4QPI.js";
|
|
25
|
+
import "./chunk-T3HSWMA5.js";
|
|
26
|
+
import "./chunk-TR623IYR.js";
|
|
17
27
|
import "./chunk-NVJMJWLL.js";
|
|
18
|
-
import "./chunk-ETVERQ3S.js";
|
|
19
28
|
import "./chunk-TOOJIBJC.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-DJ6PLUZE.js";
|
|
30
|
+
import "./chunk-XP5M3IKT.js";
|
|
31
|
+
import "./chunk-6JVNWADW.js";
|
|
32
|
+
import "./chunk-NJMU6O3S.js";
|
|
24
33
|
import "./chunk-OL23ARTF.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-ZDCRWCGZ.js";
|
|
30
|
-
import "./chunk-SWRN2DJ3.js";
|
|
31
|
-
import "./chunk-HRRU4QPI.js";
|
|
32
|
-
import "./chunk-ZYVEJFNU.js";
|
|
34
|
+
import "./chunk-7272KVWZ.js";
|
|
35
|
+
import "./chunk-RKX3NQYS.js";
|
|
36
|
+
import "./chunk-XDLAGX66.js";
|
|
37
|
+
import "./chunk-J4HQ3UKY.js";
|
|
33
38
|
import "./chunk-PTSROVDG.js";
|
|
39
|
+
import "./chunk-WQI7VNN4.js";
|
|
40
|
+
import "./chunk-D6XFSFSN.js";
|
|
41
|
+
import "./chunk-TSWWZMUS.js";
|
|
34
42
|
import "./chunk-4QO6GJUX.js";
|
|
35
|
-
import "./chunk-EKWNTOG3.js";
|
|
36
43
|
import {
|
|
37
44
|
defineSchema
|
|
38
45
|
} from "./chunk-56SNIMDO.js";
|
|
39
|
-
import "./chunk-XP5M3IKT.js";
|
|
40
|
-
import "./chunk-PUIUXIOL.js";
|
|
41
|
-
import "./chunk-RKX3NQYS.js";
|
|
42
|
-
import "./chunk-7272KVWZ.js";
|
|
43
|
-
import "./chunk-W3NBPR4E.js";
|
|
44
|
-
import "./chunk-RUQ4I6DO.js";
|
|
45
46
|
import "./chunk-WVCFSOUZ.js";
|
|
46
|
-
import "./chunk-WQI7VNN4.js";
|
|
47
47
|
|
|
48
48
|
// src/personal-github.ts
|
|
49
49
|
import { z } from "zod";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
editableArtifactStableId,
|
|
13
13
|
encodeSpreadsheetArtifactCommandBatch,
|
|
14
14
|
spreadsheetSheetId
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NJMU6O3S.js";
|
|
16
|
+
import "./chunk-WQI7VNN4.js";
|
|
16
17
|
import {
|
|
17
18
|
SPREADSHEET_ARTIFACT_COMMAND_VERSION
|
|
18
19
|
} from "./chunk-WVCFSOUZ.js";
|
|
19
|
-
import "./chunk-WQI7VNN4.js";
|
|
20
20
|
export {
|
|
21
21
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
|
|
22
22
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
encodeSpreadsheetMetadataKernelQuery,
|
|
21
21
|
encodeSpreadsheetViewportKernelProjection,
|
|
22
22
|
encodeSpreadsheetViewportKernelQuery
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-WVCFSOUZ.js";
|
|
23
|
+
} from "./chunk-6JVNWADW.js";
|
|
24
|
+
import "./chunk-NJMU6O3S.js";
|
|
26
25
|
import "./chunk-WQI7VNN4.js";
|
|
26
|
+
import "./chunk-WVCFSOUZ.js";
|
|
27
27
|
export {
|
|
28
28
|
SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS,
|
|
29
29
|
SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES,
|
package/package.json
CHANGED
package/src/artifacts.ts
CHANGED
|
@@ -199,6 +199,14 @@ export const WorkspaceArtifactEvent = /* @__PURE__ */ defineSchema(() =>
|
|
|
199
199
|
);
|
|
200
200
|
export type WorkspaceArtifactEvent = z.infer<typeof WorkspaceArtifactEvent>;
|
|
201
201
|
|
|
202
|
+
/** When this person last opened the Site; it orders the Site's sidebar row. */
|
|
203
|
+
export const SiteOpenedResponse = /* @__PURE__ */ defineSchema(() =>
|
|
204
|
+
z.object({
|
|
205
|
+
openedAt: z.string().datetime({ offset: true }),
|
|
206
|
+
}),
|
|
207
|
+
);
|
|
208
|
+
export type SiteOpenedResponse = z.infer<typeof SiteOpenedResponse>;
|
|
209
|
+
|
|
202
210
|
export const WorkspaceArtifactListQuery = /* @__PURE__ */ defineSchema(() =>
|
|
203
211
|
z.object({
|
|
204
212
|
limit: z.coerce
|
package/src/index.ts
CHANGED
|
@@ -171,6 +171,7 @@ export {
|
|
|
171
171
|
PublishWorkspaceArtifactVersionRequest,
|
|
172
172
|
RollbackWorkspaceArtifactRequest,
|
|
173
173
|
SetWorkspaceArtifactStatusRequest,
|
|
174
|
+
SiteOpenedResponse,
|
|
174
175
|
UpdateWorkspaceArtifactVisibilityRequest,
|
|
175
176
|
UpdateWorkspaceArtifactVisibilityResponse,
|
|
176
177
|
WorkspaceArtifact,
|
|
@@ -16245,6 +16246,39 @@ export const SessionListTotals = /* @__PURE__ */ defineSkillContractSchema(() =>
|
|
|
16245
16246
|
);
|
|
16246
16247
|
export type SessionListTotals = z.infer<typeof SessionListTotals>;
|
|
16247
16248
|
|
|
16249
|
+
/**
|
|
16250
|
+
* One Site row in one project, for a rail that shows Sites as rows: a Site
|
|
16251
|
+
* with this viewer's conversations, created by a chat the viewer lists, or
|
|
16252
|
+
* opened by the viewer. Counts cover the complete authorized, unpinned set in
|
|
16253
|
+
* the requested archive scope independent of page size; never a guess from
|
|
16254
|
+
* loaded rows.
|
|
16255
|
+
*/
|
|
16256
|
+
export const SiteConversationGroup = /* @__PURE__ */ defineSkillContractSchema(() =>
|
|
16257
|
+
z.object({
|
|
16258
|
+
siteId: z.string().uuid(),
|
|
16259
|
+
channelId: z.string().uuid().nullable(),
|
|
16260
|
+
/** The Site's current title when the viewer can read it, else its creation label. */
|
|
16261
|
+
title: z.string(),
|
|
16262
|
+
/** Root conversations in the group; 0 for a Site with none yet. */
|
|
16263
|
+
conversations: z.number().int().nonnegative(),
|
|
16264
|
+
/** Latest activity: its conversations, its own changes, or the viewer opening it. */
|
|
16265
|
+
updatedAt: z.string().datetime(),
|
|
16266
|
+
/** Creation time of the group's newest conversation, else of the Site. */
|
|
16267
|
+
createdAt: z.string().datetime(),
|
|
16268
|
+
/** The same status counts as a project total, over the group's trees. */
|
|
16269
|
+
total: z.number().int().nonnegative(),
|
|
16270
|
+
attention: z.number().int().nonnegative(),
|
|
16271
|
+
attentionSince: z.string().datetime().nullable(),
|
|
16272
|
+
failed: z.number().int().nonnegative(),
|
|
16273
|
+
active: z.number().int().nonnegative(),
|
|
16274
|
+
queued: z.number().int().nonnegative(),
|
|
16275
|
+
waiting: z.number().int().nonnegative(),
|
|
16276
|
+
unread: z.number().int().nonnegative(),
|
|
16277
|
+
activeWork: z.number().int().nonnegative(),
|
|
16278
|
+
}),
|
|
16279
|
+
);
|
|
16280
|
+
export type SiteConversationGroup = z.infer<typeof SiteConversationGroup>;
|
|
16281
|
+
|
|
16248
16282
|
/**
|
|
16249
16283
|
* The canonical session-list page. Pinned rows are returned separately and are
|
|
16250
16284
|
* excluded from `sessions`, so a cursor can page ordinary recency rows without
|
|
@@ -16269,6 +16303,16 @@ export const SessionListResponse = /* @__PURE__ */ defineSkillContractSchema(()
|
|
|
16269
16303
|
sortBy: z.enum(["updatedAt", "createdAt", "name", "archivedAt"]).optional(),
|
|
16270
16304
|
archiveStatus: z.enum(["active", "archived", "all"]).optional(),
|
|
16271
16305
|
originSiteId: z.string().uuid().optional(),
|
|
16306
|
+
/**
|
|
16307
|
+
* Receipt for `siteConversations`. `include` lists Site conversations as
|
|
16308
|
+
* ordinary rows; `group` keeps them out of the rows and returns
|
|
16309
|
+
* `siteGroups` instead. Absent: they are omitted, as before.
|
|
16310
|
+
*/
|
|
16311
|
+
siteConversations: z.enum(["include", "group"]).optional(),
|
|
16312
|
+
/** Complete Site rows for a `group` root page, newest activity first. */
|
|
16313
|
+
siteGroups: z.array(SiteConversationGroup).optional(),
|
|
16314
|
+
/** True when Site rows beyond the server bound were omitted. */
|
|
16315
|
+
siteGroupsTruncated: z.literal(true).optional(),
|
|
16272
16316
|
/** True when older matching pins were omitted from this bounded page. */
|
|
16273
16317
|
pinnedTruncated: z.boolean().optional(),
|
|
16274
16318
|
sessions: z.array(Session),
|
|
@@ -22063,6 +22107,9 @@ export const ClientConfig = /* @__PURE__ */ defineModelContractSchema(() =>
|
|
|
22063
22107
|
// Whether people can connect their own computers to this deployment. Absent
|
|
22064
22108
|
// on older servers: clients then treat it as unknown.
|
|
22065
22109
|
connectedMachines: z.boolean().optional(),
|
|
22110
|
+
// The Chrome extension people add to connect their own Chrome, and its
|
|
22111
|
+
// Chrome Web Store page. Absent on older servers: Opengeni Browser.
|
|
22112
|
+
browserExtension: z.object({ name: z.string(), installUrl: z.string().url() }).optional(),
|
|
22066
22113
|
defaultModel: z.string(),
|
|
22067
22114
|
// Legacy parsers require a nonempty list. If models is empty, this contains
|
|
22068
22115
|
// only the explicitly unavailable legacyModelFallback hint, not admission.
|