@opengeni/contracts 4.3.3-canary.39786771332001 → 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-BFT5KU7Z.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-LDLNKGRV.js → chunk-QVD27B6P.js} +136 -33
- 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 +116 -1
- package/dist/index.js +345 -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 +165 -0
- package/dist/chunk-LDLNKGRV.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-BFT5KU7Z.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/artifacts.d.ts
CHANGED
|
@@ -140,6 +140,11 @@ export declare const WorkspaceArtifactEvent: z.ZodObject<{
|
|
|
140
140
|
createdAt: z.ZodString;
|
|
141
141
|
}, z.core.$strip>;
|
|
142
142
|
export type WorkspaceArtifactEvent = z.infer<typeof WorkspaceArtifactEvent>;
|
|
143
|
+
/** When this person last opened the Site; it orders the Site's sidebar row. */
|
|
144
|
+
export declare const SiteOpenedResponse: z.ZodObject<{
|
|
145
|
+
openedAt: z.ZodString;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
export type SiteOpenedResponse = z.infer<typeof SiteOpenedResponse>;
|
|
143
148
|
export declare const WorkspaceArtifactListQuery: z.ZodObject<{
|
|
144
149
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
145
150
|
cursor: z.ZodOptional<z.ZodString>;
|
package/dist/atlassian.js
CHANGED
|
@@ -17,48 +17,48 @@ import {
|
|
|
17
17
|
AtlassianSyncCadence,
|
|
18
18
|
SaveAtlassianSourcesRequest,
|
|
19
19
|
atlassianScopesAllowRead
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-QVD27B6P.js";
|
|
21
|
+
import "./chunk-EZMMXU2Z.js";
|
|
22
|
+
import "./chunk-CK33N4MN.js";
|
|
23
|
+
import "./chunk-6IXO76Z6.js";
|
|
22
24
|
import "./chunk-A25JT3JW.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-TSWWZMUS.js";
|
|
26
|
-
import "./chunk-XDLAGX66.js";
|
|
25
|
+
import "./chunk-VGP74254.js";
|
|
26
|
+
import "./chunk-EKWNTOG3.js";
|
|
27
27
|
import "./chunk-2ZIHHL72.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GFMEIAB3.js";
|
|
29
|
+
import "./chunk-C5E5WCHU.js";
|
|
30
|
+
import "./chunk-ZDCRWCGZ.js";
|
|
30
31
|
import "./chunk-SHO4YO4B.js";
|
|
32
|
+
import "./chunk-4JGHSSB7.js";
|
|
33
|
+
import "./chunk-C6HESWDB.js";
|
|
34
|
+
import "./chunk-NDZHPTCL.js";
|
|
35
|
+
import "./chunk-PUIUXIOL.js";
|
|
36
|
+
import "./chunk-LZ2LAHIX.js";
|
|
37
|
+
import "./chunk-YKZ4WU4P.js";
|
|
31
38
|
import "./chunk-4VDMHLLL.js";
|
|
32
|
-
import "./chunk-T3HSWMA5.js";
|
|
33
39
|
import "./chunk-KHHZTBP7.js";
|
|
40
|
+
import "./chunk-SWRN2DJ3.js";
|
|
41
|
+
import "./chunk-HRRU4QPI.js";
|
|
42
|
+
import "./chunk-T3HSWMA5.js";
|
|
43
|
+
import "./chunk-TR623IYR.js";
|
|
34
44
|
import "./chunk-NVJMJWLL.js";
|
|
35
|
-
import "./chunk-ETVERQ3S.js";
|
|
36
45
|
import "./chunk-TOOJIBJC.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-DJ6PLUZE.js";
|
|
47
|
+
import "./chunk-XP5M3IKT.js";
|
|
48
|
+
import "./chunk-6JVNWADW.js";
|
|
49
|
+
import "./chunk-NJMU6O3S.js";
|
|
41
50
|
import "./chunk-OL23ARTF.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-ZDCRWCGZ.js";
|
|
47
|
-
import "./chunk-SWRN2DJ3.js";
|
|
48
|
-
import "./chunk-HRRU4QPI.js";
|
|
49
|
-
import "./chunk-ZYVEJFNU.js";
|
|
51
|
+
import "./chunk-7272KVWZ.js";
|
|
52
|
+
import "./chunk-RKX3NQYS.js";
|
|
53
|
+
import "./chunk-XDLAGX66.js";
|
|
54
|
+
import "./chunk-J4HQ3UKY.js";
|
|
50
55
|
import "./chunk-PTSROVDG.js";
|
|
56
|
+
import "./chunk-WQI7VNN4.js";
|
|
57
|
+
import "./chunk-D6XFSFSN.js";
|
|
58
|
+
import "./chunk-TSWWZMUS.js";
|
|
51
59
|
import "./chunk-4QO6GJUX.js";
|
|
52
|
-
import "./chunk-EKWNTOG3.js";
|
|
53
60
|
import "./chunk-56SNIMDO.js";
|
|
54
|
-
import "./chunk-XP5M3IKT.js";
|
|
55
|
-
import "./chunk-PUIUXIOL.js";
|
|
56
|
-
import "./chunk-RKX3NQYS.js";
|
|
57
|
-
import "./chunk-7272KVWZ.js";
|
|
58
|
-
import "./chunk-W3NBPR4E.js";
|
|
59
|
-
import "./chunk-RUQ4I6DO.js";
|
|
60
61
|
import "./chunk-WVCFSOUZ.js";
|
|
61
|
-
import "./chunk-WQI7VNN4.js";
|
|
62
62
|
export {
|
|
63
63
|
ATLASSIAN_CREDENTIAL_LABEL,
|
|
64
64
|
ATLASSIAN_CREDENTIAL_ROLE,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
canonicalSpreadsheetDateFromMilliseconds,
|
|
6
6
|
canonicalSpreadsheetDateMilliseconds,
|
|
7
7
|
spreadsheetSheetId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NJMU6O3S.js";
|
|
9
9
|
import {
|
|
10
10
|
fnv1a64
|
|
11
11
|
} from "./chunk-WQI7VNN4.js";
|
|
@@ -1242,4 +1242,4 @@ export {
|
|
|
1242
1242
|
decodeSpreadsheetMetadataKernelProjection,
|
|
1243
1243
|
assertCanonicalSpreadsheetArtifactKernelProjectionBytes
|
|
1244
1244
|
};
|
|
1245
|
-
//# sourceMappingURL=chunk-
|
|
1245
|
+
//# sourceMappingURL=chunk-6JVNWADW.js.map
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DOCUMENT_ARTIFACT_COMMAND_MAX_BYTES,
|
|
3
|
-
DOCUMENT_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
4
|
-
DOCUMENT_ARTIFACT_COMMAND_VERSION,
|
|
5
|
-
DOCUMENT_ARTIFACT_QUERY_MAX_BYTES,
|
|
6
|
-
DOCUMENT_ARTIFACT_QUERY_RESPONSE_MAX_BYTES,
|
|
7
|
-
DOCUMENT_ARTIFACT_QUERY_RESPONSE_VERSION,
|
|
8
|
-
DOCUMENT_ARTIFACT_QUERY_VERSION,
|
|
9
|
-
assertCanonicalDocumentArtifactCommandBytes,
|
|
10
|
-
assertCanonicalDocumentArtifactQueryBytes,
|
|
11
|
-
assertCanonicalDocumentArtifactQueryResponseBytes,
|
|
12
|
-
decodeDocumentArtifactCommandBatch,
|
|
13
|
-
decodeDocumentArtifactQuery,
|
|
14
|
-
decodeDocumentArtifactQueryResponse,
|
|
15
|
-
encodeDocumentArtifactCommandBatch,
|
|
16
|
-
encodeDocumentArtifactQuery,
|
|
17
|
-
encodeDocumentArtifactQueryResponse
|
|
18
|
-
} from "./chunk-PTSROVDG.js";
|
|
19
1
|
import {
|
|
20
2
|
PRESENTATION_ARTIFACT_COMMAND_MAX_BYTES,
|
|
21
3
|
PRESENTATION_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
@@ -44,14 +26,32 @@ import {
|
|
|
44
26
|
decodeSpreadsheetArtifactKernelQuery,
|
|
45
27
|
encodeSpreadsheetArtifactKernelProjection,
|
|
46
28
|
encodeSpreadsheetArtifactKernelQuery
|
|
47
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6JVNWADW.js";
|
|
48
30
|
import {
|
|
49
31
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
|
|
50
32
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
51
33
|
assertCanonicalSpreadsheetArtifactCommandBytes,
|
|
52
34
|
decodeSpreadsheetArtifactCommandBatch,
|
|
53
35
|
encodeSpreadsheetArtifactCommandBatch
|
|
54
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-NJMU6O3S.js";
|
|
37
|
+
import {
|
|
38
|
+
DOCUMENT_ARTIFACT_COMMAND_MAX_BYTES,
|
|
39
|
+
DOCUMENT_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
40
|
+
DOCUMENT_ARTIFACT_COMMAND_VERSION,
|
|
41
|
+
DOCUMENT_ARTIFACT_QUERY_MAX_BYTES,
|
|
42
|
+
DOCUMENT_ARTIFACT_QUERY_RESPONSE_MAX_BYTES,
|
|
43
|
+
DOCUMENT_ARTIFACT_QUERY_RESPONSE_VERSION,
|
|
44
|
+
DOCUMENT_ARTIFACT_QUERY_VERSION,
|
|
45
|
+
assertCanonicalDocumentArtifactCommandBytes,
|
|
46
|
+
assertCanonicalDocumentArtifactQueryBytes,
|
|
47
|
+
assertCanonicalDocumentArtifactQueryResponseBytes,
|
|
48
|
+
decodeDocumentArtifactCommandBatch,
|
|
49
|
+
decodeDocumentArtifactQuery,
|
|
50
|
+
decodeDocumentArtifactQueryResponse,
|
|
51
|
+
encodeDocumentArtifactCommandBatch,
|
|
52
|
+
encodeDocumentArtifactQuery,
|
|
53
|
+
encodeDocumentArtifactQueryResponse
|
|
54
|
+
} from "./chunk-PTSROVDG.js";
|
|
55
55
|
import {
|
|
56
56
|
COMMITTED_TRANSACTION_PROTOCOL_VERSION,
|
|
57
57
|
DOCUMENT_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
@@ -214,4 +214,4 @@ export {
|
|
|
214
214
|
currentEditableArtifactCompatibility,
|
|
215
215
|
editableArtifactCodecFor
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
217
|
+
//# sourceMappingURL=chunk-DJ6PLUZE.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectionKind,
|
|
3
3
|
SessionTenancyVisibility
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QVD27B6P.js";
|
|
5
5
|
import {
|
|
6
6
|
defineSchema
|
|
7
7
|
} from "./chunk-56SNIMDO.js";
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
ConnectionUseAuditFact,
|
|
205
205
|
ConnectionUseAuthorizationResult
|
|
206
206
|
};
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-EEJP62UG.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
SPREADSHEET_DEFAULT_COLUMN_WIDTH,
|
|
3
3
|
SPREADSHEET_DEFAULT_ROW_HEIGHT,
|
|
4
4
|
SPREADSHEET_MAX_DIMENSION_PIXELS
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
COMMITTED_TRANSACTION_PROTOCOL_VERSION
|
|
8
|
-
} from "./chunk-WVCFSOUZ.js";
|
|
5
|
+
} from "./chunk-NJMU6O3S.js";
|
|
9
6
|
import {
|
|
10
7
|
fnv1a64Limbs
|
|
11
8
|
} from "./chunk-WQI7VNN4.js";
|
|
9
|
+
import {
|
|
10
|
+
COMMITTED_TRANSACTION_PROTOCOL_VERSION
|
|
11
|
+
} from "./chunk-WVCFSOUZ.js";
|
|
12
12
|
|
|
13
13
|
// src/editable-artifact-committed-transaction.ts
|
|
14
14
|
var MAX_COMMITTED_TRANSACTION_BYTES = 8 * 1024 * 1024;
|
|
@@ -405,4 +405,4 @@ export {
|
|
|
405
405
|
MAX_COMMITTED_TRANSACTION_CELLS,
|
|
406
406
|
decodeCommittedTransactionSummary
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=chunk-
|
|
408
|
+
//# sourceMappingURL=chunk-GFMEIAB3.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SPREADSHEET_ARTIFACT_COMMAND_VERSION
|
|
3
|
-
} from "./chunk-WVCFSOUZ.js";
|
|
4
1
|
import {
|
|
5
2
|
fnv1a64
|
|
6
3
|
} from "./chunk-WQI7VNN4.js";
|
|
4
|
+
import {
|
|
5
|
+
SPREADSHEET_ARTIFACT_COMMAND_VERSION
|
|
6
|
+
} from "./chunk-WVCFSOUZ.js";
|
|
7
7
|
|
|
8
8
|
// src/spreadsheet-artifact-date.ts
|
|
9
9
|
var ECMASCRIPT_DATE_MAX_MILLISECONDS = 8640000000000000n;
|
|
@@ -826,4 +826,4 @@ export {
|
|
|
826
826
|
decodeSpreadsheetArtifactCommandBatch,
|
|
827
827
|
assertCanonicalSpreadsheetArtifactCommandBytes
|
|
828
828
|
};
|
|
829
|
-
//# sourceMappingURL=chunk-
|
|
829
|
+
//# sourceMappingURL=chunk-NJMU6O3S.js.map
|
|
@@ -1,34 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MediaGenerationResult
|
|
3
|
-
} from "./chunk-A25JT3JW.js";
|
|
4
|
-
import {
|
|
5
|
-
ConnectorDocumentDestination
|
|
6
|
-
} from "./chunk-LZ2LAHIX.js";
|
|
7
|
-
import {
|
|
8
|
-
UsageAllowancePeriod,
|
|
9
|
-
UsageAllowanceStatus,
|
|
10
|
-
UsageAllowanceWindow
|
|
11
|
-
} from "./chunk-TSWWZMUS.js";
|
|
12
|
-
import {
|
|
13
|
-
CustomMcpSetupRequest
|
|
14
|
-
} from "./chunk-XDLAGX66.js";
|
|
15
|
-
import {
|
|
16
|
-
modelLogoUrl
|
|
17
|
-
} from "./chunk-2ZIHHL72.js";
|
|
18
|
-
import {
|
|
19
|
-
normalizeAutomaticSessionTitle
|
|
20
|
-
} from "./chunk-T3HSWMA5.js";
|
|
21
|
-
import {
|
|
22
|
-
OPENGENI_WEBHOOK_TEST_EVENT_TYPE,
|
|
23
|
-
WORKSPACE_WEBHOOK_EVENT_TYPES
|
|
24
|
-
} from "./chunk-6IXO76Z6.js";
|
|
25
|
-
import {
|
|
26
|
-
XaiProviderAccountAuthoritySnapshotV1
|
|
27
|
-
} from "./chunk-YKZ4WU4P.js";
|
|
28
|
-
import {
|
|
29
|
-
SessionUsageLimit,
|
|
30
|
-
SessionUsageLimitMicros
|
|
31
|
-
} from "./chunk-OL23ARTF.js";
|
|
32
1
|
import {
|
|
33
2
|
WORKSPACE_CONTROL_REASON_MAX_BYTES,
|
|
34
3
|
boundSessionEventPayload,
|
|
@@ -36,10 +5,20 @@ import {
|
|
|
36
5
|
sessionEventJsonBytes,
|
|
37
6
|
workspaceControlUtf8Bytes
|
|
38
7
|
} from "./chunk-CK33N4MN.js";
|
|
8
|
+
import {
|
|
9
|
+
OPENGENI_WEBHOOK_TEST_EVENT_TYPE,
|
|
10
|
+
WORKSPACE_WEBHOOK_EVENT_TYPES
|
|
11
|
+
} from "./chunk-6IXO76Z6.js";
|
|
12
|
+
import {
|
|
13
|
+
MediaGenerationResult
|
|
14
|
+
} from "./chunk-A25JT3JW.js";
|
|
39
15
|
import {
|
|
40
16
|
RETAINED_OUTPUT_MAX_PAGE_BYTES,
|
|
41
17
|
RetainedArtifactReferenceSchema
|
|
42
18
|
} from "./chunk-VGP74254.js";
|
|
19
|
+
import {
|
|
20
|
+
modelLogoUrl
|
|
21
|
+
} from "./chunk-2ZIHHL72.js";
|
|
43
22
|
import {
|
|
44
23
|
GeneratePasswordSpec,
|
|
45
24
|
VAULT_LIMITS,
|
|
@@ -48,6 +27,12 @@ import {
|
|
|
48
27
|
VaultPolicy,
|
|
49
28
|
isValidSecretName
|
|
50
29
|
} from "./chunk-C6HESWDB.js";
|
|
30
|
+
import {
|
|
31
|
+
ConnectorDocumentDestination
|
|
32
|
+
} from "./chunk-LZ2LAHIX.js";
|
|
33
|
+
import {
|
|
34
|
+
XaiProviderAccountAuthoritySnapshotV1
|
|
35
|
+
} from "./chunk-YKZ4WU4P.js";
|
|
51
36
|
import {
|
|
52
37
|
OrganizationAccessPolicy,
|
|
53
38
|
OrganizationWorkspaceScope
|
|
@@ -55,6 +40,21 @@ import {
|
|
|
55
40
|
import {
|
|
56
41
|
Permission
|
|
57
42
|
} from "./chunk-HRRU4QPI.js";
|
|
43
|
+
import {
|
|
44
|
+
normalizeAutomaticSessionTitle
|
|
45
|
+
} from "./chunk-T3HSWMA5.js";
|
|
46
|
+
import {
|
|
47
|
+
SessionUsageLimit,
|
|
48
|
+
SessionUsageLimitMicros
|
|
49
|
+
} from "./chunk-OL23ARTF.js";
|
|
50
|
+
import {
|
|
51
|
+
CustomMcpSetupRequest
|
|
52
|
+
} from "./chunk-XDLAGX66.js";
|
|
53
|
+
import {
|
|
54
|
+
UsageAllowancePeriod,
|
|
55
|
+
UsageAllowanceStatus,
|
|
56
|
+
UsageAllowanceWindow
|
|
57
|
+
} from "./chunk-TSWWZMUS.js";
|
|
58
58
|
import {
|
|
59
59
|
defineSchema
|
|
60
60
|
} from "./chunk-56SNIMDO.js";
|
|
@@ -1093,6 +1093,11 @@ var WorkspaceArtifactEvent = /* @__PURE__ */ defineSchema(
|
|
|
1093
1093
|
createdAt: z8.string().datetime({ offset: true })
|
|
1094
1094
|
})
|
|
1095
1095
|
);
|
|
1096
|
+
var SiteOpenedResponse = /* @__PURE__ */ defineSchema(
|
|
1097
|
+
() => z8.object({
|
|
1098
|
+
openedAt: z8.string().datetime({ offset: true })
|
|
1099
|
+
})
|
|
1100
|
+
);
|
|
1096
1101
|
var WorkspaceArtifactListQuery = /* @__PURE__ */ defineSchema(
|
|
1097
1102
|
() => z8.object({
|
|
1098
1103
|
limit: z8.coerce.number().int().positive().max(WORKSPACE_ARTIFACT_LIST_MAX).default(WORKSPACE_ARTIFACT_LIST_DEFAULT),
|
|
@@ -39498,6 +39503,52 @@ async function verifyEnrollmentBearer(secret, token, nowSeconds = Math.floor(Dat
|
|
|
39498
39503
|
return payload.data;
|
|
39499
39504
|
}
|
|
39500
39505
|
var OPENGENI_BROWSER_EXTENSION_URL = "https://chromewebstore.google.com/detail/opengeni-browser/phpmmcbeelfkcinjfbbggegjdcdmnnch";
|
|
39506
|
+
var USER_SETUP_BLOCKERS = [
|
|
39507
|
+
{
|
|
39508
|
+
code: "attached_browser_unavailable",
|
|
39509
|
+
capabilityId: "api:connected-machine",
|
|
39510
|
+
purpose: "chrome",
|
|
39511
|
+
problem: "No Chrome profile is connected through the browser extension.",
|
|
39512
|
+
rationale: "Connect your Chrome so the agent can use it.",
|
|
39513
|
+
nextStep: `connect their computer as a Connected Machine, then add the browser extension to Chrome: ${OPENGENI_BROWSER_EXTENSION_URL}`
|
|
39514
|
+
},
|
|
39515
|
+
{
|
|
39516
|
+
code: "personal_machine_permission_required",
|
|
39517
|
+
capabilityId: "api:connected-machine",
|
|
39518
|
+
problem: "This is a personal (Only me) machine, and its owner has not allowed this chat to use it yet.",
|
|
39519
|
+
rationale: "Allow this chat to use your computer.",
|
|
39520
|
+
nextStep: "open this chat in Opengeni and allow it to use their machine"
|
|
39521
|
+
}
|
|
39522
|
+
];
|
|
39523
|
+
function userSetupBlocker(code) {
|
|
39524
|
+
if (!code) return null;
|
|
39525
|
+
return USER_SETUP_BLOCKERS.find((blocker) => blocker.code === code) ?? null;
|
|
39526
|
+
}
|
|
39527
|
+
function userSetupCardShownMessage(blocker, chatUrl = null) {
|
|
39528
|
+
const elsewhere = chatUrl ? `If they are reading this chat somewhere else (for example Slack, or this is a worker or scheduled chat), give them this link to it: ${chatUrl}. ` : "If they are reading this chat somewhere else (for example Slack, or this is a worker or scheduled chat), tell them to open this chat in Opengeni to use it. ";
|
|
39529
|
+
return `${blocker.problem} A card that fixes this is now posted in this chat in Opengeni. If they are reading this chat in Opengeni, tell them in one short sentence to use it there; do not describe its buttons or steps, and do not post another card. ` + elsewhere + "Do not wait for it and do not retry: finishing the card sends a message that continues this chat.";
|
|
39530
|
+
}
|
|
39531
|
+
function userSetupCardUnpostedMessage(blocker) {
|
|
39532
|
+
return `${blocker.problem} The person can fix this. Offer the fix in this reply: post the setup card with capability_authorization_request (capabilityId ${blocker.capabilityId}) if that tool is available, and tell them the exact next step: ${blocker.nextStep}. Do not only report that it is unavailable.`;
|
|
39533
|
+
}
|
|
39534
|
+
function userSetupUnavailableMessage(blocker) {
|
|
39535
|
+
return `${blocker.problem} This deployment doesn't support the setup that fixes it, so the person can't fix it here. Tell them that in one short sentence and carry on without it; do not post a setup card.`;
|
|
39536
|
+
}
|
|
39537
|
+
function sessionChatUrl(base, workspaceId, sessionId) {
|
|
39538
|
+
if (!base) return null;
|
|
39539
|
+
try {
|
|
39540
|
+
const url = new URL(
|
|
39541
|
+
`/workspaces/${encodeURIComponent(workspaceId)}/sessions/${encodeURIComponent(sessionId)}`,
|
|
39542
|
+
base
|
|
39543
|
+
);
|
|
39544
|
+
if (url.protocol !== "https:" && url.protocol !== "http:" || url.username || url.password) {
|
|
39545
|
+
return null;
|
|
39546
|
+
}
|
|
39547
|
+
return url.toString();
|
|
39548
|
+
} catch {
|
|
39549
|
+
return null;
|
|
39550
|
+
}
|
|
39551
|
+
}
|
|
39501
39552
|
var EnrollTokenScope = /* @__PURE__ */ defineSchema(() => z72.enum(["user", "workspace"]));
|
|
39502
39553
|
var enrollTokenId = /* @__PURE__ */ defineSchema(
|
|
39503
39554
|
() => z72.string().regex(/^[A-Za-z0-9_-]{16,128}$/)
|
|
@@ -47762,6 +47813,30 @@ var SessionListTotals = /* @__PURE__ */ defineSkillContractSchema(
|
|
|
47762
47813
|
)
|
|
47763
47814
|
})
|
|
47764
47815
|
);
|
|
47816
|
+
var SiteConversationGroup = /* @__PURE__ */ defineSkillContractSchema(
|
|
47817
|
+
() => z72.object({
|
|
47818
|
+
siteId: z72.string().uuid(),
|
|
47819
|
+
channelId: z72.string().uuid().nullable(),
|
|
47820
|
+
/** The Site's current title when the viewer can read it, else its creation label. */
|
|
47821
|
+
title: z72.string(),
|
|
47822
|
+
/** Root conversations in the group; 0 for a Site with none yet. */
|
|
47823
|
+
conversations: z72.number().int().nonnegative(),
|
|
47824
|
+
/** Latest activity: its conversations, its own changes, or the viewer opening it. */
|
|
47825
|
+
updatedAt: z72.string().datetime(),
|
|
47826
|
+
/** Creation time of the group's newest conversation, else of the Site. */
|
|
47827
|
+
createdAt: z72.string().datetime(),
|
|
47828
|
+
/** The same status counts as a project total, over the group's trees. */
|
|
47829
|
+
total: z72.number().int().nonnegative(),
|
|
47830
|
+
attention: z72.number().int().nonnegative(),
|
|
47831
|
+
attentionSince: z72.string().datetime().nullable(),
|
|
47832
|
+
failed: z72.number().int().nonnegative(),
|
|
47833
|
+
active: z72.number().int().nonnegative(),
|
|
47834
|
+
queued: z72.number().int().nonnegative(),
|
|
47835
|
+
waiting: z72.number().int().nonnegative(),
|
|
47836
|
+
unread: z72.number().int().nonnegative(),
|
|
47837
|
+
activeWork: z72.number().int().nonnegative()
|
|
47838
|
+
})
|
|
47839
|
+
);
|
|
47765
47840
|
var SessionListResponse = /* @__PURE__ */ defineSkillContractSchema(
|
|
47766
47841
|
() => z72.object({
|
|
47767
47842
|
pinned: z72.array(Session),
|
|
@@ -47778,6 +47853,16 @@ var SessionListResponse = /* @__PURE__ */ defineSkillContractSchema(
|
|
|
47778
47853
|
sortBy: z72.enum(["updatedAt", "createdAt", "name", "archivedAt"]).optional(),
|
|
47779
47854
|
archiveStatus: z72.enum(["active", "archived", "all"]).optional(),
|
|
47780
47855
|
originSiteId: z72.string().uuid().optional(),
|
|
47856
|
+
/**
|
|
47857
|
+
* Receipt for `siteConversations`. `include` lists Site conversations as
|
|
47858
|
+
* ordinary rows; `group` keeps them out of the rows and returns
|
|
47859
|
+
* `siteGroups` instead. Absent: they are omitted, as before.
|
|
47860
|
+
*/
|
|
47861
|
+
siteConversations: z72.enum(["include", "group"]).optional(),
|
|
47862
|
+
/** Complete Site rows for a `group` root page, newest activity first. */
|
|
47863
|
+
siteGroups: z72.array(SiteConversationGroup).optional(),
|
|
47864
|
+
/** True when Site rows beyond the server bound were omitted. */
|
|
47865
|
+
siteGroupsTruncated: z72.literal(true).optional(),
|
|
47781
47866
|
/** True when older matching pins were omitted from this bounded page. */
|
|
47782
47867
|
pinnedTruncated: z72.boolean().optional(),
|
|
47783
47868
|
sessions: z72.array(Session),
|
|
@@ -48562,7 +48647,14 @@ var ToolAuthNeededPayload = /* @__PURE__ */ defineSchema(
|
|
|
48562
48647
|
* answers a refused switch or one-off command. Names the request; it grants
|
|
48563
48648
|
* nothing.
|
|
48564
48649
|
*/
|
|
48565
|
-
requestedSandboxId: z72.string().uuid().optional()
|
|
48650
|
+
requestedSandboxId: z72.string().uuid().optional(),
|
|
48651
|
+
/**
|
|
48652
|
+
* Why a Connected Machine card was posted, when it is for something
|
|
48653
|
+
* narrower than running this chat on a machine. `chrome`: the agent needs
|
|
48654
|
+
* the person's own Chrome, so the card leads with connecting a computer
|
|
48655
|
+
* and adding the Opengeni Browser extension. Grants nothing.
|
|
48656
|
+
*/
|
|
48657
|
+
purpose: z72.literal("chrome").optional()
|
|
48566
48658
|
}).superRefine((payload, context) => {
|
|
48567
48659
|
if (payload.setupRequest && (payload.capability || payload.authoritySource === "host")) {
|
|
48568
48660
|
context.addIssue({
|
|
@@ -51986,6 +52078,9 @@ var ClientConfig = /* @__PURE__ */ defineModelContractSchema(
|
|
|
51986
52078
|
// Whether people can connect their own computers to this deployment. Absent
|
|
51987
52079
|
// on older servers: clients then treat it as unknown.
|
|
51988
52080
|
connectedMachines: z72.boolean().optional(),
|
|
52081
|
+
// The Chrome extension people add to connect their own Chrome, and its
|
|
52082
|
+
// Chrome Web Store page. Absent on older servers: Opengeni Browser.
|
|
52083
|
+
browserExtension: z72.object({ name: z72.string(), installUrl: z72.string().url() }).optional(),
|
|
51989
52084
|
defaultModel: z72.string(),
|
|
51990
52085
|
// Legacy parsers require a nonempty list. If models is empty, this contains
|
|
51991
52086
|
// only the explicitly unavailable legacyModelFallback hint, not admission.
|
|
@@ -52272,6 +52367,7 @@ export {
|
|
|
52272
52367
|
WorkspaceArtifact,
|
|
52273
52368
|
WorkspaceArtifactEventType,
|
|
52274
52369
|
WorkspaceArtifactEvent,
|
|
52370
|
+
SiteOpenedResponse,
|
|
52275
52371
|
WorkspaceArtifactListQuery,
|
|
52276
52372
|
WorkspaceArtifactListResponse,
|
|
52277
52373
|
WorkspaceArtifactDetailResponse,
|
|
@@ -53762,6 +53858,12 @@ export {
|
|
|
53762
53858
|
signEnrollmentBearer,
|
|
53763
53859
|
verifyEnrollmentBearer,
|
|
53764
53860
|
OPENGENI_BROWSER_EXTENSION_URL,
|
|
53861
|
+
USER_SETUP_BLOCKERS,
|
|
53862
|
+
userSetupBlocker,
|
|
53863
|
+
userSetupCardShownMessage,
|
|
53864
|
+
userSetupCardUnpostedMessage,
|
|
53865
|
+
userSetupUnavailableMessage,
|
|
53866
|
+
sessionChatUrl,
|
|
53765
53867
|
EnrollTokenScope,
|
|
53766
53868
|
EnrollTokenPayload,
|
|
53767
53869
|
enrollTokenScope,
|
|
@@ -54453,6 +54555,7 @@ export {
|
|
|
54453
54555
|
Session,
|
|
54454
54556
|
CreateSessionResponse,
|
|
54455
54557
|
SessionListTotals,
|
|
54558
|
+
SiteConversationGroup,
|
|
54456
54559
|
SessionListResponse,
|
|
54457
54560
|
SessionListEntry,
|
|
54458
54561
|
SessionListEntryResponse,
|
|
@@ -54761,4 +54864,4 @@ export {
|
|
|
54761
54864
|
AtlassianDisconnectRequest,
|
|
54762
54865
|
atlassianScopesAllowRead
|
|
54763
54866
|
};
|
|
54764
|
-
//# sourceMappingURL=chunk-
|
|
54867
|
+
//# sourceMappingURL=chunk-QVD27B6P.js.map
|