@opengeni/contracts 1.4.0 → 1.4.4
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.js +1 -1
- package/dist/{chunk-UDKWSRES.js → chunk-4GWPPWL3.js} +2 -2
- package/dist/{chunk-YFEAAOBX.js → chunk-T5AUJN7S.js} +35 -4
- package/dist/chunk-T5AUJN7S.js.map +1 -0
- package/dist/connect.js +1 -1
- package/dist/connection-authority.js +2 -2
- package/dist/google-drive.js +1 -1
- package/dist/host-mcp-bindings.js +2 -2
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1 -1
- package/dist/interaction.d.ts +10 -0
- package/dist/personal-github.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +7 -0
- package/src/interaction.ts +24 -0
- package/dist/chunk-YFEAAOBX.js.map +0 -1
- /package/dist/{chunk-UDKWSRES.js.map → chunk-4GWPPWL3.js.map} +0 -0
package/dist/atlassian.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectionKind,
|
|
3
3
|
SessionTenancyVisibility
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-T5AUJN7S.js";
|
|
5
5
|
|
|
6
6
|
// src/connection-authority.ts
|
|
7
7
|
import { z } from "zod";
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
ConnectionUseAuditFact,
|
|
184
184
|
ConnectionUseAuthorizationResult
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-4GWPPWL3.js.map
|
|
@@ -7227,6 +7227,8 @@ var ComputerSessionCapabilities = z34.object({
|
|
|
7227
7227
|
screenCapture: z34.boolean(),
|
|
7228
7228
|
semanticActions: z34.boolean(),
|
|
7229
7229
|
pointerInput: z34.boolean(),
|
|
7230
|
+
/** A causal count-2 click requires its exact confirmed first operation. */
|
|
7231
|
+
pointerClickContinuation: z34.boolean().optional(),
|
|
7230
7232
|
keyboardInput: z34.boolean(),
|
|
7231
7233
|
clipboard: z34.boolean(),
|
|
7232
7234
|
backgroundActions: z34.boolean(),
|
|
@@ -7353,10 +7355,25 @@ var ComputerAction = z34.discriminatedUnion("type", [
|
|
|
7353
7355
|
endY: z34.number().finite().optional(),
|
|
7354
7356
|
deltaX: z34.number().finite().optional(),
|
|
7355
7357
|
deltaY: z34.number().finite().optional(),
|
|
7356
|
-
button: z34.enum(["left", "right", "middle"]).optional()
|
|
7358
|
+
button: z34.enum(["left", "right", "middle"]).optional(),
|
|
7359
|
+
clickCount: z34.union([z34.literal(1), z34.literal(2)]).optional(),
|
|
7360
|
+
continuationOfOperationId: z34.string().uuid().optional()
|
|
7357
7361
|
}).strict().superRefine((action, context) => {
|
|
7358
7362
|
const hasEnd = action.endX !== void 0 || action.endY !== void 0;
|
|
7359
7363
|
const hasDelta = action.deltaX !== void 0 || action.deltaY !== void 0;
|
|
7364
|
+
if (action.action !== "click" && action.clickCount !== void 0) {
|
|
7365
|
+
context.addIssue({
|
|
7366
|
+
code: "custom",
|
|
7367
|
+
message: "pointer clickCount requires click"
|
|
7368
|
+
});
|
|
7369
|
+
}
|
|
7370
|
+
if (action.clickCount === 2 !== (action.continuationOfOperationId !== void 0)) {
|
|
7371
|
+
context.addIssue({
|
|
7372
|
+
code: "custom",
|
|
7373
|
+
path: ["continuationOfOperationId"],
|
|
7374
|
+
message: "clickCount 2 requires exactly one prior first-click operation"
|
|
7375
|
+
});
|
|
7376
|
+
}
|
|
7360
7377
|
if (action.action === "drag" && (action.endX === void 0 || action.endY === void 0)) {
|
|
7361
7378
|
context.addIssue({
|
|
7362
7379
|
code: "custom",
|
|
@@ -7429,6 +7446,13 @@ var ComputerActionCommand = z34.object({
|
|
|
7429
7446
|
});
|
|
7430
7447
|
}
|
|
7431
7448
|
if (command.action.type === "pointer") {
|
|
7449
|
+
if (command.action.continuationOfOperationId === command.operationId) {
|
|
7450
|
+
context.addIssue({
|
|
7451
|
+
code: "custom",
|
|
7452
|
+
path: ["action", "continuationOfOperationId"],
|
|
7453
|
+
message: "a click cannot continue its own operation"
|
|
7454
|
+
});
|
|
7455
|
+
}
|
|
7432
7456
|
if (command.expectedFrameId !== command.action.frameId) {
|
|
7433
7457
|
context.addIssue({
|
|
7434
7458
|
code: "custom",
|
|
@@ -15306,7 +15330,9 @@ var PromotionalCreditScope = z58.object({
|
|
|
15306
15330
|
});
|
|
15307
15331
|
var PromotionalCreditBalance = PromotionalCreditScope.extend({
|
|
15308
15332
|
grantId: z58.string().uuid(),
|
|
15309
|
-
remainingMicros: z58.number().int().nonnegative()
|
|
15333
|
+
remainingMicros: z58.number().int().nonnegative(),
|
|
15334
|
+
/** Also pays for dictation and live voice, like general credits (signup credits). */
|
|
15335
|
+
coversVoice: z58.boolean().optional()
|
|
15310
15336
|
});
|
|
15311
15337
|
var BillingBalance = z58.object({
|
|
15312
15338
|
accountId: z58.string().uuid(),
|
|
@@ -20136,7 +20162,12 @@ var CapabilityRuntime = z58.object({
|
|
|
20136
20162
|
"active_installation_compatibility",
|
|
20137
20163
|
"missing_verification"
|
|
20138
20164
|
])
|
|
20139
|
-
}).optional()
|
|
20165
|
+
}).optional(),
|
|
20166
|
+
// Server-derived connectability: present when the connector's OAuth
|
|
20167
|
+
// authorization server refuses self-registration, so connecting needs an
|
|
20168
|
+
// operator-registered client. `configured` is whether this deployment has
|
|
20169
|
+
// one; connector surfaces offer the row only when it is true.
|
|
20170
|
+
operatorOAuthClient: z58.object({ configured: z58.boolean() }).optional()
|
|
20140
20171
|
});
|
|
20141
20172
|
var CapabilityCatalogItem = z58.object({
|
|
20142
20173
|
id: z58.string().min(1),
|
|
@@ -26967,4 +26998,4 @@ export {
|
|
|
26967
26998
|
AtlassianDisconnectRequest,
|
|
26968
26999
|
atlassianScopesAllowRead
|
|
26969
27000
|
};
|
|
26970
|
-
//# sourceMappingURL=chunk-
|
|
27001
|
+
//# sourceMappingURL=chunk-T5AUJN7S.js.map
|