@opengeni/contracts 1.4.2 → 1.4.5-canary.37409232765001

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 CHANGED
@@ -17,14 +17,14 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-LGT7XRX7.js";
20
+ } from "./chunk-DN4M2PET.js";
21
21
  import "./chunk-4JGHSSB7.js";
22
22
  import "./chunk-5IXYF6XN.js";
23
23
  import "./chunk-NRMCVHAU.js";
24
24
  import "./chunk-WYBDERIY.js";
25
25
  import "./chunk-FZ6BXQHL.js";
26
26
  import "./chunk-EK7NDGFR.js";
27
- import "./chunk-XSBEB2HQ.js";
27
+ import "./chunk-NWWOK7WI.js";
28
28
  import "./chunk-O77VSFYZ.js";
29
29
  import "./chunk-NVJMJWLL.js";
30
30
  import "./chunk-SIOU2K4U.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-EK7NDGFR.js";
16
16
  import {
17
17
  modelLogoUrl
18
- } from "./chunk-XSBEB2HQ.js";
18
+ } from "./chunk-NWWOK7WI.js";
19
19
  import {
20
20
  OPENGENI_WEBHOOK_TEST_EVENT_TYPE,
21
21
  WORKSPACE_WEBHOOK_EVENT_TYPES
@@ -2869,6 +2869,9 @@ var ANALYTICS_MODEL_PROVIDERS = [
2869
2869
  "openrouter",
2870
2870
  "workspace-openrouter",
2871
2871
  "organization-openrouter",
2872
+ "opper",
2873
+ "workspace-opper",
2874
+ "organization-opper",
2872
2875
  "registry"
2873
2876
  ];
2874
2877
  var AnalyticsModelProvider = z20.enum(ANALYTICS_MODEL_PROVIDERS);
@@ -3885,7 +3888,8 @@ var PRODUCT_LIFECYCLE_FACT_ATTRIBUTES = {
3885
3888
  "vercel_gateway",
3886
3889
  "openrouter",
3887
3890
  "anthropic",
3888
- "claude_subscription"
3891
+ "claude_subscription",
3892
+ "opper"
3889
3893
  ],
3890
3894
  /** A credit top-up payment was granted. */
3891
3895
  "credits.purchased": [],
@@ -7227,6 +7231,8 @@ var ComputerSessionCapabilities = z34.object({
7227
7231
  screenCapture: z34.boolean(),
7228
7232
  semanticActions: z34.boolean(),
7229
7233
  pointerInput: z34.boolean(),
7234
+ /** A causal count-2 click requires its exact confirmed first operation. */
7235
+ pointerClickContinuation: z34.boolean().optional(),
7230
7236
  keyboardInput: z34.boolean(),
7231
7237
  clipboard: z34.boolean(),
7232
7238
  backgroundActions: z34.boolean(),
@@ -7353,10 +7359,25 @@ var ComputerAction = z34.discriminatedUnion("type", [
7353
7359
  endY: z34.number().finite().optional(),
7354
7360
  deltaX: z34.number().finite().optional(),
7355
7361
  deltaY: z34.number().finite().optional(),
7356
- button: z34.enum(["left", "right", "middle"]).optional()
7362
+ button: z34.enum(["left", "right", "middle"]).optional(),
7363
+ clickCount: z34.union([z34.literal(1), z34.literal(2)]).optional(),
7364
+ continuationOfOperationId: z34.string().uuid().optional()
7357
7365
  }).strict().superRefine((action, context) => {
7358
7366
  const hasEnd = action.endX !== void 0 || action.endY !== void 0;
7359
7367
  const hasDelta = action.deltaX !== void 0 || action.deltaY !== void 0;
7368
+ if (action.action !== "click" && action.clickCount !== void 0) {
7369
+ context.addIssue({
7370
+ code: "custom",
7371
+ message: "pointer clickCount requires click"
7372
+ });
7373
+ }
7374
+ if (action.clickCount === 2 !== (action.continuationOfOperationId !== void 0)) {
7375
+ context.addIssue({
7376
+ code: "custom",
7377
+ path: ["continuationOfOperationId"],
7378
+ message: "clickCount 2 requires exactly one prior first-click operation"
7379
+ });
7380
+ }
7360
7381
  if (action.action === "drag" && (action.endX === void 0 || action.endY === void 0)) {
7361
7382
  context.addIssue({
7362
7383
  code: "custom",
@@ -7429,6 +7450,13 @@ var ComputerActionCommand = z34.object({
7429
7450
  });
7430
7451
  }
7431
7452
  if (command.action.type === "pointer") {
7453
+ if (command.action.continuationOfOperationId === command.operationId) {
7454
+ context.addIssue({
7455
+ code: "custom",
7456
+ path: ["action", "continuationOfOperationId"],
7457
+ message: "a click cannot continue its own operation"
7458
+ });
7459
+ }
7432
7460
  if (command.expectedFrameId !== command.action.frameId) {
7433
7461
  context.addIssue({
7434
7462
  code: "custom",
@@ -13977,6 +14005,11 @@ var WorkspaceOpenRouterCustomModel = WorkspaceGatewayCustomModel;
13977
14005
  var WorkspaceOpenRouterCustomModelsResponse = z58.object({
13978
14006
  models: z58.array(WorkspaceOpenRouterCustomModel)
13979
14007
  });
14008
+ var CreateWorkspaceOpperCustomModelRequest = CreateWorkspaceGatewayCustomModelRequest;
14009
+ var DeleteWorkspaceOpperCustomModelRequest = DeleteWorkspaceGatewayCustomModelRequest;
14010
+ var WorkspaceOpperCustomModelsResponse = z58.object({
14011
+ models: z58.array(WorkspaceGatewayCustomModel)
14012
+ });
13980
14013
  var CreateOrganizationProviderCustomModelRequest = CreateWorkspaceGatewayCustomModelRequest;
13981
14014
  var DeleteOrganizationProviderCustomModelRequest = DeleteWorkspaceGatewayCustomModelRequest;
13982
14015
  var OrganizationProviderCustomModel = WorkspaceGatewayCustomModel;
@@ -13987,7 +14020,8 @@ var OrganizationModelProviderKind = z58.enum([
13987
14020
  "vercel_gateway",
13988
14021
  "openrouter",
13989
14022
  "anthropic",
13990
- "claude_subscription"
14023
+ "claude_subscription",
14024
+ "opper"
13991
14025
  ]);
13992
14026
  var OrganizationModelProviderConnectionResponse = z58.object({
13993
14027
  providerKind: OrganizationModelProviderKind,
@@ -19989,6 +20023,8 @@ var VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_ID_METADATA_KEY = "vercelAiGatewayCre
19989
20023
  var VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY = "vercelAiGatewayCredentialOperationDigest";
19990
20024
  var OPENROUTER_CREDENTIAL_OPERATION_ID_METADATA_KEY = "openRouterCredentialOperationId";
19991
20025
  var OPENROUTER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY = "openRouterCredentialOperationDigest";
20026
+ var OPPER_CREDENTIAL_OPERATION_ID_METADATA_KEY = "opperCredentialOperationId";
20027
+ var OPPER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY = "opperCredentialOperationDigest";
19992
20028
  var CreateConnectionRequest = z58.object({
19993
20029
  providerDomain: z58.string().min(1),
19994
20030
  kind: ConnectionKind,
@@ -26033,6 +26069,9 @@ export {
26033
26069
  DeleteWorkspaceOpenRouterCustomModelRequest,
26034
26070
  WorkspaceOpenRouterCustomModel,
26035
26071
  WorkspaceOpenRouterCustomModelsResponse,
26072
+ CreateWorkspaceOpperCustomModelRequest,
26073
+ DeleteWorkspaceOpperCustomModelRequest,
26074
+ WorkspaceOpperCustomModelsResponse,
26036
26075
  CreateOrganizationProviderCustomModelRequest,
26037
26076
  DeleteOrganizationProviderCustomModelRequest,
26038
26077
  OrganizationProviderCustomModel,
@@ -26605,6 +26644,8 @@ export {
26605
26644
  VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY,
26606
26645
  OPENROUTER_CREDENTIAL_OPERATION_ID_METADATA_KEY,
26607
26646
  OPENROUTER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY,
26647
+ OPPER_CREDENTIAL_OPERATION_ID_METADATA_KEY,
26648
+ OPPER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY,
26608
26649
  CreateConnectionRequest,
26609
26650
  OpenGeniSlackBotInstallRequest,
26610
26651
  OpenGeniSlackBotInstallStart,
@@ -26974,4 +27015,4 @@ export {
26974
27015
  AtlassianDisconnectRequest,
26975
27016
  atlassianScopesAllowRead
26976
27017
  };
26977
- //# sourceMappingURL=chunk-LGT7XRX7.js.map
27018
+ //# sourceMappingURL=chunk-DN4M2PET.js.map