@uru-intelligence/cli 0.5.7 → 0.5.9

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.
Files changed (5) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +137 -24
  3. package/dist/library.mjs +1259 -119
  4. package/dist/uru.mjs +13539 -11317
  5. package/package.json +5 -12
package/dist/library.mjs CHANGED
@@ -2470,6 +2470,112 @@ function handleIntersectionResults(result, left, right) {
2470
2470
  result.value = merged.data;
2471
2471
  return result;
2472
2472
  }
2473
+ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
2474
+ $ZodType.init(inst, def);
2475
+ const items = def.items;
2476
+ inst._zod.parse = (payload, ctx) => {
2477
+ const input = payload.value;
2478
+ if (!Array.isArray(input)) {
2479
+ payload.issues.push({
2480
+ input,
2481
+ inst,
2482
+ expected: "tuple",
2483
+ code: "invalid_type"
2484
+ });
2485
+ return payload;
2486
+ }
2487
+ payload.value = [];
2488
+ const proms = [];
2489
+ const optinStart = getTupleOptStart(items, "optin");
2490
+ const optoutStart = getTupleOptStart(items, "optout");
2491
+ if (!def.rest) {
2492
+ if (input.length < optinStart) {
2493
+ payload.issues.push({
2494
+ code: "too_small",
2495
+ minimum: optinStart,
2496
+ inclusive: true,
2497
+ input,
2498
+ inst,
2499
+ origin: "array"
2500
+ });
2501
+ return payload;
2502
+ }
2503
+ if (input.length > items.length) {
2504
+ payload.issues.push({
2505
+ code: "too_big",
2506
+ maximum: items.length,
2507
+ inclusive: true,
2508
+ input,
2509
+ inst,
2510
+ origin: "array"
2511
+ });
2512
+ }
2513
+ }
2514
+ const itemResults = new Array(items.length);
2515
+ for (let i = 0;i < items.length; i++) {
2516
+ const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
2517
+ if (r instanceof Promise) {
2518
+ proms.push(r.then((rr) => {
2519
+ itemResults[i] = rr;
2520
+ }));
2521
+ } else {
2522
+ itemResults[i] = r;
2523
+ }
2524
+ }
2525
+ if (def.rest) {
2526
+ let i = items.length - 1;
2527
+ const rest = input.slice(items.length);
2528
+ for (const el of rest) {
2529
+ i++;
2530
+ const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
2531
+ if (result instanceof Promise) {
2532
+ proms.push(result.then((r) => handleTupleResult(r, payload, i)));
2533
+ } else {
2534
+ handleTupleResult(result, payload, i);
2535
+ }
2536
+ }
2537
+ }
2538
+ if (proms.length) {
2539
+ return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
2540
+ }
2541
+ return handleTupleResults(itemResults, payload, items, input, optoutStart);
2542
+ };
2543
+ });
2544
+ function getTupleOptStart(items, key) {
2545
+ for (let i = items.length - 1;i >= 0; i--) {
2546
+ if (items[i]._zod[key] !== "optional")
2547
+ return i + 1;
2548
+ }
2549
+ return 0;
2550
+ }
2551
+ function handleTupleResult(result, final, index) {
2552
+ if (result.issues.length) {
2553
+ final.issues.push(...prefixIssues(index, result.issues));
2554
+ }
2555
+ final.value[index] = result.value;
2556
+ }
2557
+ function handleTupleResults(itemResults, final, items, input, optoutStart) {
2558
+ for (let i = 0;i < items.length; i++) {
2559
+ const r = itemResults[i];
2560
+ const isPresent = i < input.length;
2561
+ if (r.issues.length) {
2562
+ if (!isPresent && i >= optoutStart) {
2563
+ final.value.length = i;
2564
+ break;
2565
+ }
2566
+ final.issues.push(...prefixIssues(i, r.issues));
2567
+ }
2568
+ final.value[i] = r.value;
2569
+ }
2570
+ for (let i = final.value.length - 1;i >= input.length; i--) {
2571
+ if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
2572
+ final.value.length = i;
2573
+ } else {
2574
+ break;
2575
+ }
2576
+ }
2577
+ return final;
2578
+ }
2473
2579
  var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
2474
2580
  $ZodType.init(inst, def);
2475
2581
  inst._zod.parse = (payload, ctx) => {
@@ -4107,6 +4213,48 @@ var intersectionProcessor = (schema, ctx, json, params) => {
4107
4213
  ];
4108
4214
  json.allOf = allOf;
4109
4215
  };
4216
+ var tupleProcessor = (schema, ctx, _json, params) => {
4217
+ const json = _json;
4218
+ const def = schema._zod.def;
4219
+ json.type = "array";
4220
+ const prefixPath = ctx.target === "draft-2020-12" ? "prefixItems" : "items";
4221
+ const restPath = ctx.target === "draft-2020-12" ? "items" : ctx.target === "openapi-3.0" ? "items" : "additionalItems";
4222
+ const prefixItems = def.items.map((x, i) => process(x, ctx, {
4223
+ ...params,
4224
+ path: [...params.path, prefixPath, i]
4225
+ }));
4226
+ const rest = def.rest ? process(def.rest, ctx, {
4227
+ ...params,
4228
+ path: [...params.path, restPath, ...ctx.target === "openapi-3.0" ? [def.items.length] : []]
4229
+ }) : null;
4230
+ if (ctx.target === "draft-2020-12") {
4231
+ json.prefixItems = prefixItems;
4232
+ if (rest) {
4233
+ json.items = rest;
4234
+ }
4235
+ } else if (ctx.target === "openapi-3.0") {
4236
+ json.items = {
4237
+ anyOf: prefixItems
4238
+ };
4239
+ if (rest) {
4240
+ json.items.anyOf.push(rest);
4241
+ }
4242
+ json.minItems = prefixItems.length;
4243
+ if (!rest) {
4244
+ json.maxItems = prefixItems.length;
4245
+ }
4246
+ } else {
4247
+ json.items = prefixItems;
4248
+ if (rest) {
4249
+ json.additionalItems = rest;
4250
+ }
4251
+ }
4252
+ const { minimum, maximum } = schema._zod.bag;
4253
+ if (typeof minimum === "number")
4254
+ json.minItems = minimum;
4255
+ if (typeof maximum === "number")
4256
+ json.maxItems = maximum;
4257
+ };
4110
4258
  var recordProcessor = (schema, ctx, _json, params) => {
4111
4259
  const json = _json;
4112
4260
  const def = schema._zod.def;
@@ -4880,6 +5028,26 @@ function intersection(left, right) {
4880
5028
  right
4881
5029
  });
4882
5030
  }
5031
+ var ZodTuple = /* @__PURE__ */ $constructor("ZodTuple", (inst, def) => {
5032
+ $ZodTuple.init(inst, def);
5033
+ ZodType.init(inst, def);
5034
+ inst._zod.processJSONSchema = (ctx, json, params) => tupleProcessor(inst, ctx, json, params);
5035
+ inst.rest = (rest) => inst.clone({
5036
+ ...inst._zod.def,
5037
+ rest
5038
+ });
5039
+ });
5040
+ function tuple(items, _paramsOrRest, _params) {
5041
+ const hasRest = _paramsOrRest instanceof $ZodType;
5042
+ const params = hasRest ? _params : _paramsOrRest;
5043
+ const rest = hasRest ? _paramsOrRest : null;
5044
+ return new ZodTuple({
5045
+ type: "tuple",
5046
+ items,
5047
+ rest,
5048
+ ...exports_util.normalizeParams(params)
5049
+ });
5050
+ }
4883
5051
  var ZodRecord = /* @__PURE__ */ $constructor("ZodRecord", (inst, def) => {
4884
5052
  $ZodRecord.init(inst, def);
4885
5053
  ZodType.init(inst, def);
@@ -5166,6 +5334,10 @@ var zAccountPasswordSetupResponse = object({
5166
5334
  email: string2(),
5167
5335
  message: string2()
5168
5336
  });
5337
+ var zActionCatalogResolveRequest = strictObject({
5338
+ callName: string2().min(1).max(64),
5339
+ includeSchemas: boolean2().optional().default(true)
5340
+ });
5169
5341
  var zAdminAccessControlMember = object({
5170
5342
  accessibleUserIds: array(string2()),
5171
5343
  email: string2(),
@@ -5373,65 +5545,6 @@ var zAdminSkillUpdateRequest = object({
5373
5545
  })).optional(),
5374
5546
  tags: array(string2().min(1).max(100)).optional()
5375
5547
  });
5376
- var zAdminSystemHealth = object({
5377
- alerts: array(object({
5378
- component: string2(),
5379
- message: string2(),
5380
- type: string2()
5381
- })),
5382
- components: record(string2(), object({
5383
- error: string2().nullable(),
5384
- httpStatus: number2().nullable(),
5385
- message: string2().nullable(),
5386
- responseTimeMs: number2().nullable(),
5387
- status: string2()
5388
- })),
5389
- databaseResources: object({
5390
- activeConnections: number2().nullable(),
5391
- cpuIowaitPercent: number2().nullable(),
5392
- cpuUsedPercent: number2().nullable(),
5393
- databaseSizeMb: number2().nullable(),
5394
- diskIoPercent: number2().nullable(),
5395
- diskUsedPercent: number2().nullable(),
5396
- memoryUsedPercent: number2().nullable(),
5397
- networkInMbps: number2().nullable(),
5398
- networkOutMbps: number2().nullable(),
5399
- readIops: number2().nullable(),
5400
- readMbps: number2().nullable(),
5401
- sampledAt: string2().nullable(),
5402
- writeIops: number2().nullable(),
5403
- writeMbps: number2().nullable()
5404
- }),
5405
- history: record(string2(), array(object({
5406
- checkedAt: string2().nullable(),
5407
- environment: string2().nullable(),
5408
- httpStatus: number2().nullable(),
5409
- responseTimeMs: number2().nullable(),
5410
- service: string2().nullable(),
5411
- status: string2().nullable()
5412
- }))),
5413
- incidents: array(object({
5414
- firstTriggeredAt: string2().nullable(),
5415
- id: uuid2(),
5416
- lastNotificationAt: string2().nullable(),
5417
- lastTriggeredAt: string2().nullable(),
5418
- message: string2(),
5419
- severity: string2(),
5420
- title: string2()
5421
- })),
5422
- overallStatus: string2(),
5423
- performance: object({
5424
- cpuUsagePercent: number2().nullable(),
5425
- diskFreeGb: number2().nullable(),
5426
- diskUsagePercent: number2().nullable(),
5427
- error: string2().nullable(),
5428
- memoryAvailableGb: number2().nullable(),
5429
- memoryUsagePercent: number2().nullable(),
5430
- note: string2().nullable(),
5431
- status: string2().nullable()
5432
- }),
5433
- timestamp: string2()
5434
- });
5435
5548
  var zAdminTranscriptSourceInfo = object({
5436
5549
  clientsSchema: string2(),
5437
5550
  clientsTable: string2(),
@@ -5927,10 +6040,6 @@ var zAppLogRecord = object({
5927
6040
  status: string2().nullish(),
5928
6041
  workspaceId: string2()
5929
6042
  });
5930
- var zAppLogPage = object({
5931
- logs: array(zAppLogRecord),
5932
- nextCursor: string2().nullable()
5933
- });
5934
6043
  var zAppPublishCheck = object({
5935
6044
  artifactId: string2(),
5936
6045
  checkKey: string2().nullish(),
@@ -6268,6 +6377,11 @@ var zAppSupportBundleRecord = object({
6268
6377
  });
6269
6378
  var zAppSupportBundleResponse = object({
6270
6379
  bundle: record(string2(), unknown()),
6380
+ outputReference: object({
6381
+ expiresAt: string2(),
6382
+ id: string2(),
6383
+ sizeBytes: int()
6384
+ }).optional(),
6271
6385
  record: zAppSupportBundleRecord
6272
6386
  });
6273
6387
  var zAppUploadCompleteResponse = object({
@@ -6432,6 +6546,7 @@ var zArtifactMetadataUpdateRequest = object({
6432
6546
  var zArtifactPackageObject = object({
6433
6547
  bytes: int().nullish(),
6434
6548
  content: string2().nullish(),
6549
+ contentBase64: string2().optional(),
6435
6550
  isEntrypoint: boolean2().optional().default(false),
6436
6551
  mimeType: string2().nullish(),
6437
6552
  objectRef: string2().nullish(),
@@ -6712,6 +6827,7 @@ var zArtifactToolPolicyReceiptTerminalRequest = strictObject({
6712
6827
  });
6713
6828
  var zArtifactToolPolicyReceiptTerminalResponse = union([
6714
6829
  object({
6830
+ result: record(string2(), unknown()).optional(),
6715
6831
  terminalized: literal(true)
6716
6832
  }),
6717
6833
  object({
@@ -6741,6 +6857,7 @@ var zAuthorizationServerMetadata = object({
6741
6857
  ]),
6742
6858
  issuer: url(),
6743
6859
  jwks_uri: url(),
6860
+ registration_endpoint: url(),
6744
6861
  response_types_supported: array(string2()).optional().default(["code"]),
6745
6862
  revocation_endpoint: url(),
6746
6863
  scopes_supported: array(string2()).optional().default(["mcp", "offline_access"]),
@@ -6878,6 +6995,7 @@ var zAutomationEvaluationItem = strictObject({
6878
6995
  runStatus: string2(),
6879
6996
  scores: array(zAutomationEvaluationScore),
6880
6997
  stalePending: boolean2(),
6998
+ startUnconfirmed: boolean2(),
6881
6999
  status: string2(),
6882
7000
  summary: string2().nullable(),
6883
7001
  workspaceId: string2()
@@ -7251,10 +7369,10 @@ var zCanonicalToolCatalogEntry = object({
7251
7369
  enabled: boolean2().optional().default(true),
7252
7370
  executionWorkspaceId: uuid2().nullish(),
7253
7371
  iconUrl: string2().nullish(),
7254
- inputSchema: record(string2(), unknown()),
7372
+ inputSchema: union([record(string2(), unknown()), boolean2()]),
7255
7373
  namespace: string2(),
7256
7374
  normalizedSubtoolName: string2(),
7257
- outputSchema: record(string2(), unknown()).nullish(),
7375
+ outputSchema: union([record(string2(), unknown()), boolean2()]).nullish(),
7258
7376
  owner: _enum(["platform", "personal", "adopted", "company"]),
7259
7377
  ownerUserId: uuid2().nullable(),
7260
7378
  personaLinkId: uuid2().nullish(),
@@ -7276,10 +7394,181 @@ var zCapabilityContractsResponse = object({
7276
7394
  contracts: array(object({
7277
7395
  capabilityId: string2(),
7278
7396
  contractDigest: string2().regex(/^[0-9a-f]{64}$\/u/),
7279
- inputSchema: record(string2(), unknown())
7397
+ inputSchema: union([record(string2(), unknown()), boolean2()]),
7398
+ outputSchema: union([record(string2(), unknown()), boolean2()]),
7399
+ outputSchemaDigest: string2().regex(/^[0-9a-f]{64}$\/u/)
7280
7400
  })),
7281
7401
  missing: array(string2())
7282
7402
  });
7403
+ var zCatalogActionRef = union([
7404
+ strictObject({
7405
+ capabilityId: string2(),
7406
+ connectionId: string2().min(1).max(256),
7407
+ kind: _enum(["connector"])
7408
+ }),
7409
+ strictObject({
7410
+ kind: _enum(["platform"]),
7411
+ operationId: string2().min(1).max(256)
7412
+ }),
7413
+ strictObject({
7414
+ kind: _enum(["proxy"]),
7415
+ toolId: string2().min(1).max(256)
7416
+ })
7417
+ ]);
7418
+ var zActionCatalogSearchRequest = strictObject({
7419
+ actionRefs: array(zCatalogActionRef).max(1000).optional(),
7420
+ connectionIds: array(string2().min(1).max(256)).max(50).optional(),
7421
+ connectionTypes: array(_enum(["platform", "composio", "managed_mcp", "external_mcp", "company"])).max(5).optional(),
7422
+ cursor: string2().min(1).max(512).optional(),
7423
+ includeSchemas: boolean2().optional().default(false),
7424
+ limit: int().gte(1).lte(50).optional().default(5),
7425
+ overviewOnly: boolean2().optional().default(false),
7426
+ owners: array(_enum(["platform", "personal", "adopted", "company"])).max(4).optional(),
7427
+ purpose: _enum(["public_list"]).optional(),
7428
+ query: string2().max(2000).optional(),
7429
+ serviceSlugs: array(string2().min(1).max(128)).max(50).optional(),
7430
+ writeClasses: array(_enum(["read", "write", "unknown"])).max(3).optional()
7431
+ });
7432
+ var zCatalogActionDescriptor = object({
7433
+ accountLabel: string2().nullish(),
7434
+ actionTags: array(string2()).optional(),
7435
+ availability: object({
7436
+ available: boolean2(),
7437
+ reason: string2().optional()
7438
+ }),
7439
+ callName: string2().min(1).max(64),
7440
+ canonicalAddress: string2().nullish(),
7441
+ catalogRevision: int().gt(0).optional(),
7442
+ connectionLabel: string2().nullish(),
7443
+ connectionType: _enum([
7444
+ "platform",
7445
+ "composio",
7446
+ "managed_mcp",
7447
+ "external_mcp",
7448
+ "company"
7449
+ ]),
7450
+ description: string2(),
7451
+ destructive: boolean2(),
7452
+ examples: array(object({
7453
+ arguments: record(string2(), unknown()),
7454
+ description: string2().optional(),
7455
+ title: string2().optional()
7456
+ })).optional(),
7457
+ inputSchema: union([boolean2(), record(string2(), unknown())]).optional(),
7458
+ inputSchemaDigest: string2().nullable(),
7459
+ nativeName: string2(),
7460
+ outputSchema: union([boolean2(), record(string2(), unknown())]).optional(),
7461
+ outputSchemaDigest: string2().nullable(),
7462
+ owner: _enum(["platform", "personal", "adopted", "company"]),
7463
+ primary: boolean2().optional(),
7464
+ providerAnnotations: record(string2(), unknown()).optional(),
7465
+ providerHints: object({
7466
+ destructiveHint: boolean2().optional(),
7467
+ idempotentHint: boolean2().optional(),
7468
+ openWorldHint: boolean2().optional(),
7469
+ readOnlyHint: boolean2().optional()
7470
+ }).optional(),
7471
+ providerVersion: string2().nullish(),
7472
+ ref: zCatalogActionRef,
7473
+ resourceTags: array(string2()).optional(),
7474
+ serviceAliases: array(string2()).optional(),
7475
+ serviceName: string2().nullish(),
7476
+ serviceSlug: string2(),
7477
+ title: string2().nullish(),
7478
+ warnings: array(string2()).optional(),
7479
+ writeClass: _enum(["read", "write", "unknown"])
7480
+ });
7481
+ var zActionCatalogResolveResponse = object({
7482
+ action: zCatalogActionDescriptor.nullable(),
7483
+ catalogVersion: string2().nullable(),
7484
+ status: _enum(["ok", "no_match", "catalog_unavailable", "catalog_changed"]),
7485
+ toolsVersion: int().nullable()
7486
+ });
7487
+ var zActionCatalogSearchResponse = object({
7488
+ accountChoices: array(object({
7489
+ accountLabel: string2().min(1),
7490
+ connectionId: string2().min(1),
7491
+ serviceSlug: string2().min(1)
7492
+ })).max(50),
7493
+ actions: array(zCatalogActionDescriptor),
7494
+ catalogVersion: string2().nullable(),
7495
+ nextCursor: string2().nullable(),
7496
+ overview: array(object({
7497
+ accountLabel: string2().nullable(),
7498
+ actionCount: int().gt(0),
7499
+ connectionId: string2().nullable(),
7500
+ connectionType: _enum([
7501
+ "platform",
7502
+ "composio",
7503
+ "managed_mcp",
7504
+ "external_mcp",
7505
+ "company"
7506
+ ]),
7507
+ owner: _enum(["platform", "personal", "adopted", "company"]),
7508
+ serviceName: string2().nullable(),
7509
+ serviceSlug: string2().min(1)
7510
+ })).max(50),
7511
+ overviewOnly: boolean2(),
7512
+ searchStatus: _enum([
7513
+ "ok",
7514
+ "no_match",
7515
+ "catalog_unavailable",
7516
+ "catalog_changed",
7517
+ "account_choice_required"
7518
+ ]),
7519
+ status: _enum(["ok", "no_match", "catalog_unavailable", "catalog_changed"]),
7520
+ toolsVersion: int().nullable(),
7521
+ unavailable: array(object({
7522
+ connectionId: string2(),
7523
+ connectionLabel: string2().nullable(),
7524
+ connectionType: string2().nullable(),
7525
+ reason: string2().nullable(),
7526
+ serviceSlug: string2().nullable(),
7527
+ withheldActionCount: int().gte(0)
7528
+ }))
7529
+ });
7530
+ var zActionCatalogSkeletonResponse = object({
7531
+ accountChoices: array(object({
7532
+ accountLabel: string2().min(1),
7533
+ connectionId: string2().min(1),
7534
+ serviceSlug: string2().min(1)
7535
+ })).max(50),
7536
+ actions: array(zCatalogActionDescriptor),
7537
+ catalogVersion: string2().nullable(),
7538
+ overview: array(object({
7539
+ accountLabel: string2().nullable(),
7540
+ actionCount: int().gt(0),
7541
+ connectionId: string2().nullable(),
7542
+ connectionType: _enum([
7543
+ "platform",
7544
+ "composio",
7545
+ "managed_mcp",
7546
+ "external_mcp",
7547
+ "company"
7548
+ ]),
7549
+ owner: _enum(["platform", "personal", "adopted", "company"]),
7550
+ serviceName: string2().nullable(),
7551
+ serviceSlug: string2().min(1)
7552
+ })).max(50),
7553
+ overviewOnly: boolean2(),
7554
+ searchStatus: _enum([
7555
+ "ok",
7556
+ "no_match",
7557
+ "catalog_unavailable",
7558
+ "catalog_changed",
7559
+ "account_choice_required"
7560
+ ]),
7561
+ status: _enum(["ok", "catalog_unavailable"]),
7562
+ toolsVersion: int().nullable(),
7563
+ unavailable: array(object({
7564
+ connectionId: string2(),
7565
+ connectionLabel: string2().nullable(),
7566
+ connectionType: string2().nullable(),
7567
+ reason: string2().nullable(),
7568
+ serviceSlug: string2().nullable(),
7569
+ withheldActionCount: int().gte(0)
7570
+ }))
7571
+ });
7283
7572
  var zChatAccessBrowserPollStart = object({
7284
7573
  authorizationUrl: url(),
7285
7574
  expiresAtMs: number2(),
@@ -7428,6 +7717,355 @@ var zClientIdMetadataDocument = object({
7428
7717
  var zCloneArtifactRequest = object({
7429
7718
  sourceRevisionId: uuid2().optional()
7430
7719
  });
7720
+ var zCloudflareCollectionCoverage = strictObject({
7721
+ bucketCollectedCount: int().gte(0),
7722
+ bucketSelectedCount: int().gte(0),
7723
+ bucketSkippedCount: int().gte(0),
7724
+ bucketStartBudgetMs: int().gt(0),
7725
+ bucketTargetCount: int().gte(0),
7726
+ customerCollectedCount: int().gte(0),
7727
+ customerSelectedCount: int().gte(0),
7728
+ customerSkippedCount: int().gte(0),
7729
+ customerTargetCount: int().gte(0),
7730
+ environment: _enum(["development", "staging", "uat", "production"]),
7731
+ platformCollectedCount: int().gte(0),
7732
+ platformTargetCount: int().gte(0),
7733
+ providerWindowMinutes: int().gt(0),
7734
+ sampledAt: string2(),
7735
+ state: _enum(["complete", "partial"]),
7736
+ workerQueryLimit: int().gt(0),
7737
+ workerStartBudgetMs: int().gt(0)
7738
+ }).nullable();
7739
+ var zCloudflareIssueClosure = strictObject({
7740
+ success: literal(true)
7741
+ });
7742
+ var zCloudflareIssueGroup = strictObject({
7743
+ affectedResources: array(string2()).max(200),
7744
+ affectedResourcesTruncated: boolean2(),
7745
+ callsite: string2(),
7746
+ consecutiveGoodChecks: int(),
7747
+ environment: _enum(["development", "staging", "uat", "production"]),
7748
+ failureCode: string2(),
7749
+ firstSeenAt: string2(),
7750
+ groupRef: string2(),
7751
+ handoffState: _enum(["pending", "complete"]),
7752
+ humanClosedAt: string2().nullable(),
7753
+ incidentId: string2().nullable(),
7754
+ lastSeenAt: string2(),
7755
+ occurrenceCount: int(),
7756
+ operation: string2(),
7757
+ ownerId: string2().nullable(),
7758
+ ownerState: _enum(["assigned", "unassigned"]),
7759
+ providerIssueRef: string2().nullable(),
7760
+ releaseId: string2().nullable(),
7761
+ resourceRef: string2(),
7762
+ service: string2(),
7763
+ serviceRecoveredAt: string2().nullable(),
7764
+ severity: _enum(["warning", "critical"])
7765
+ });
7766
+ var zCloudflareIssueIntake = strictObject({
7767
+ accepted: boolean2()
7768
+ });
7769
+ var zCloudflareR2AccessEvent = strictObject({
7770
+ actorRef: string2().nullable(),
7771
+ actorService: string2().nullable(),
7772
+ approvedDelete: boolean2(),
7773
+ environment: _enum(["development", "staging", "uat", "production"]),
7774
+ eventRef: string2(),
7775
+ fetchedAt: string2(),
7776
+ interface: _enum(["S3", "API", "Workers", "Public"]),
7777
+ operation: string2(),
7778
+ resourceRef: string2(),
7779
+ sourceAt: string2(),
7780
+ status: int().gte(100).lte(399).nullable()
7781
+ });
7782
+ var zCloudflareR2Trend = strictObject({
7783
+ coverage: _enum(["complete", "partial", "none"]),
7784
+ date: string2(),
7785
+ downloadedBytes: number2().gte(0).nullable(),
7786
+ errors: number2().gte(0).nullable(),
7787
+ objectCount: number2().gte(0).nullable(),
7788
+ requests: number2().gte(0).nullable(),
7789
+ sourceAt: string2().nullable(),
7790
+ storageBytes: number2().gte(0).nullable(),
7791
+ uploadedBytes: number2().gte(0).nullable()
7792
+ });
7793
+ var zCloudflareR2Health = strictObject({
7794
+ accessState: _enum([
7795
+ "current",
7796
+ "quiet",
7797
+ "stale",
7798
+ "missing",
7799
+ "unavailable",
7800
+ "partial",
7801
+ "not_configured",
7802
+ "not_applicable"
7803
+ ]),
7804
+ bandwidthCoverage: _enum(["partial", "none"]),
7805
+ bandwidthSourceAt: string2().nullable(),
7806
+ bandwidthState: _enum([
7807
+ "current",
7808
+ "quiet",
7809
+ "stale",
7810
+ "missing",
7811
+ "unavailable",
7812
+ "partial",
7813
+ "not_configured",
7814
+ "not_applicable"
7815
+ ]),
7816
+ bucketName: string2(),
7817
+ coverage: _enum(["complete", "partial", "none"]),
7818
+ downloadedBytes: number2().gte(0).nullable(),
7819
+ environment: _enum(["development", "staging", "uat", "production"]),
7820
+ errors: number2().gte(0).nullable(),
7821
+ fetchedAt: string2(),
7822
+ objectCount: number2().gte(0).nullable(),
7823
+ operationsSourceAt: string2().nullable(),
7824
+ operationsState: _enum([
7825
+ "current",
7826
+ "quiet",
7827
+ "stale",
7828
+ "missing",
7829
+ "unavailable",
7830
+ "partial",
7831
+ "not_configured",
7832
+ "not_applicable"
7833
+ ]),
7834
+ purposes: array(string2()),
7835
+ requests: number2().gte(0).nullable(),
7836
+ resourceRef: string2(),
7837
+ sourceAt: string2().nullable(),
7838
+ state: _enum([
7839
+ "current",
7840
+ "quiet",
7841
+ "stale",
7842
+ "missing",
7843
+ "unavailable",
7844
+ "partial",
7845
+ "not_configured",
7846
+ "not_applicable"
7847
+ ]),
7848
+ storageBytes: number2().gte(0).nullable(),
7849
+ storageSourceAt: string2().nullable(),
7850
+ storageState: _enum([
7851
+ "current",
7852
+ "quiet",
7853
+ "stale",
7854
+ "missing",
7855
+ "unavailable",
7856
+ "partial",
7857
+ "not_configured",
7858
+ "not_applicable"
7859
+ ]),
7860
+ storageWindowEnd: string2().optional(),
7861
+ storageWindowStart: string2().optional(),
7862
+ trends: array(zCloudflareR2Trend),
7863
+ uploadedBytes: number2().gte(0).nullable(),
7864
+ windowEnd: string2(),
7865
+ windowStart: string2()
7866
+ });
7867
+ var zCloudflareRecoveryHealth = strictObject({
7868
+ captureCount: number2().gte(0).nullable(),
7869
+ componentProofs: record(string2(), object({
7870
+ coverage: _enum(["complete", "partial", "none"]),
7871
+ fetchedAt: string2(),
7872
+ healthy: boolean2().nullable(),
7873
+ measurements: array(object({
7874
+ name: string2(),
7875
+ unit: _enum([
7876
+ "bytes",
7877
+ "percent",
7878
+ "messages",
7879
+ "seconds",
7880
+ "invocations",
7881
+ "lines",
7882
+ "receipts",
7883
+ "spans",
7884
+ "checks"
7885
+ ]),
7886
+ value: number2().gte(0).nullable()
7887
+ })).max(32),
7888
+ severity: _enum(["none", "warning", "critical", "unknown"]),
7889
+ source: string2(),
7890
+ sourceAt: string2().nullable(),
7891
+ state: _enum([
7892
+ "current",
7893
+ "quiet",
7894
+ "stale",
7895
+ "missing",
7896
+ "unavailable",
7897
+ "partial",
7898
+ "not_configured",
7899
+ "not_applicable"
7900
+ ]),
7901
+ windowEnd: string2(),
7902
+ windowStart: string2()
7903
+ })).optional(),
7904
+ components: record(string2(), _enum([
7905
+ "current",
7906
+ "quiet",
7907
+ "stale",
7908
+ "missing",
7909
+ "unavailable",
7910
+ "partial",
7911
+ "not_configured",
7912
+ "not_applicable"
7913
+ ])),
7914
+ coverage: _enum(["complete", "partial", "none"]),
7915
+ dropCount: number2().gte(0).nullable(),
7916
+ environment: _enum(["development", "staging", "uat", "production"]),
7917
+ exhaustionCount: number2().gte(0).nullable(),
7918
+ fetchedAt: string2(),
7919
+ gapCount: number2().gte(0).nullable(),
7920
+ lastScanCompletedAt: string2().nullable(),
7921
+ lastSinkAt: string2().nullable(),
7922
+ lastSourceAt: string2().nullable(),
7923
+ oldestPendingAt: string2().nullable(),
7924
+ pendingCount: number2().gte(0).nullable(),
7925
+ rejectCount: number2().gte(0).nullable(),
7926
+ resourceRef: string2(),
7927
+ sourceAt: string2().nullable(),
7928
+ sourceCounts: object({
7929
+ capturedInvocations: number2().gte(0).nullable(),
7930
+ coverage: _enum(["partial", "none"]),
7931
+ exhaustedReceipts: number2().gte(0).nullable(),
7932
+ lastSourceAt: string2().nullable(),
7933
+ rejectedReceipts: number2().gte(0).nullable(),
7934
+ reportedShortenedLines: number2().gte(0).nullable(),
7935
+ windowEnd: string2(),
7936
+ windowStart: string2()
7937
+ }).optional(),
7938
+ state: _enum([
7939
+ "current",
7940
+ "quiet",
7941
+ "stale",
7942
+ "missing",
7943
+ "unavailable",
7944
+ "partial",
7945
+ "not_configured",
7946
+ "not_applicable"
7947
+ ]),
7948
+ windowEnd: string2(),
7949
+ windowStart: string2()
7950
+ }).nullable();
7951
+ var zCloudflareWorkerHealth = strictObject({
7952
+ buildId: string2().nullable(),
7953
+ coverage: _enum(["complete", "partial", "none"]),
7954
+ cpuP50Ms: number2().gte(0).nullable(),
7955
+ cpuP99Ms: number2().gte(0).nullable(),
7956
+ deploymentId: string2().nullable(),
7957
+ dispatchNamespace: string2().nullable(),
7958
+ environment: _enum(["development", "staging", "uat", "production"]),
7959
+ errors: number2().gte(0).nullable(),
7960
+ fetchedAt: string2(),
7961
+ gemId: string2().nullable(),
7962
+ releaseId: string2().nullable(),
7963
+ requests: number2().gte(0).nullable(),
7964
+ resourceRef: string2(),
7965
+ scriptName: string2(),
7966
+ service: string2(),
7967
+ servingState: _enum(["current", "retired", "platform"]),
7968
+ sourceAt: string2().nullable(),
7969
+ state: _enum([
7970
+ "current",
7971
+ "quiet",
7972
+ "stale",
7973
+ "missing",
7974
+ "unavailable",
7975
+ "partial",
7976
+ "not_configured",
7977
+ "not_applicable"
7978
+ ]),
7979
+ wallP50Ms: number2().gte(0).nullable(),
7980
+ wallP99Ms: number2().gte(0).nullable(),
7981
+ windowEnd: string2(),
7982
+ windowStart: string2()
7983
+ });
7984
+ var zCloudflareObservabilitySnapshot = strictObject({
7985
+ access: array(zCloudflareR2AccessEvent),
7986
+ buckets: array(zCloudflareR2Health),
7987
+ collectionCoverage: zCloudflareCollectionCoverage,
7988
+ issues: array(zCloudflareIssueGroup),
7989
+ recovery: zCloudflareRecoveryHealth,
7990
+ sampledAt: string2(),
7991
+ workerTargetCoverage: object({
7992
+ currentTargetCount: int().gte(0),
7993
+ currentTargetsTruncated: boolean2(),
7994
+ retiredTargetCount: int().gte(0),
7995
+ retiredTargetsTruncated: boolean2(),
7996
+ state: _enum(["complete", "partial"])
7997
+ }),
7998
+ workers: array(zCloudflareWorkerHealth)
7999
+ });
8000
+ var zAdminSystemHealth = object({
8001
+ alerts: array(object({
8002
+ component: string2(),
8003
+ message: string2(),
8004
+ type: string2()
8005
+ })),
8006
+ cloudflare: zCloudflareObservabilitySnapshot.nullable(),
8007
+ components: record(string2(), object({
8008
+ error: string2().nullable(),
8009
+ httpStatus: number2().nullable(),
8010
+ message: string2().nullable(),
8011
+ responseTimeMs: number2().nullable(),
8012
+ status: string2()
8013
+ })),
8014
+ databaseResources: object({
8015
+ activeConnections: number2().nullable(),
8016
+ cpuIowaitPercent: number2().nullable(),
8017
+ cpuUsedPercent: number2().nullable(),
8018
+ databaseSizeMb: number2().nullable(),
8019
+ diskIoPercent: number2().nullable(),
8020
+ diskUsedPercent: number2().nullable(),
8021
+ memoryUsedPercent: number2().nullable(),
8022
+ networkInMbps: number2().nullable(),
8023
+ networkOutMbps: number2().nullable(),
8024
+ readIops: number2().nullable(),
8025
+ readMbps: number2().nullable(),
8026
+ sampledAt: string2().nullable(),
8027
+ writeIops: number2().nullable(),
8028
+ writeMbps: number2().nullable()
8029
+ }),
8030
+ history: record(string2(), array(object({
8031
+ bucketEnd: string2().nullable(),
8032
+ bucketStart: string2().nullable(),
8033
+ checkCount: int().gte(0),
8034
+ checkedAt: string2().nullable(),
8035
+ environment: string2().nullable(),
8036
+ expectedChecks: int().gte(0),
8037
+ healthyCount: int().gte(0),
8038
+ httpStatus: number2().nullable(),
8039
+ responseTimeMs: number2().nullable(),
8040
+ service: string2().nullable(),
8041
+ status: string2().nullable()
8042
+ }))),
8043
+ incidents: array(object({
8044
+ firstTriggeredAt: string2().nullable(),
8045
+ id: uuid2(),
8046
+ lastNotificationAt: string2().nullable(),
8047
+ lastTriggeredAt: string2().nullable(),
8048
+ message: string2(),
8049
+ severity: string2(),
8050
+ title: string2()
8051
+ })),
8052
+ overallStatus: string2(),
8053
+ performance: object({
8054
+ cpuUsagePercent: number2().nullable(),
8055
+ diskFreeGb: number2().nullable(),
8056
+ diskUsagePercent: number2().nullable(),
8057
+ error: string2().nullable(),
8058
+ memoryAvailableGb: number2().nullable(),
8059
+ memoryUsagePercent: number2().nullable(),
8060
+ note: string2().nullable(),
8061
+ status: string2().nullable()
8062
+ }),
8063
+ timestamp: string2()
8064
+ });
8065
+ var zCloudflareObservabilityEnvelope = strictObject({
8066
+ data: zCloudflareObservabilitySnapshot,
8067
+ success: literal(true)
8068
+ });
7431
8069
  var zCollectionGateAccessResponse = object({
7432
8070
  accessToken: string2(),
7433
8071
  expiresAt: string2(),
@@ -7608,6 +8246,25 @@ var zCollectionLinkAnalytics = object({
7608
8246
  uniqueVisitors: int(),
7609
8247
  visitors: array(zCollectionVisitorAnalytics)
7610
8248
  });
8249
+ var zCompanyToolAccess = object({
8250
+ dataAccess: boolean2(),
8251
+ entitlement: boolean2()
8252
+ });
8253
+ var zCompanyToolInputSchema = object({
8254
+ optional: array(string2()),
8255
+ properties: record(string2(), unknown()),
8256
+ required: array(string2())
8257
+ });
8258
+ var zCompanyTool = object({
8259
+ access: zCompanyToolAccess,
8260
+ description: string2(),
8261
+ name: string2(),
8262
+ namespace: string2(),
8263
+ schema: zCompanyToolInputSchema
8264
+ });
8265
+ var zCompanyToolsResponse = object({
8266
+ tools: array(zCompanyTool)
8267
+ });
7611
8268
  var zComposioBearerConnectRequest = object({
7612
8269
  accountIdentifier: string2().nullish(),
7613
8270
  accountLabel: string2().nullish(),
@@ -8015,11 +8672,19 @@ var zDeviceAuthorizationResponse = object({
8015
8672
  });
8016
8673
  var zDirectServingPolicyRequest = union([
8017
8674
  strictObject({
8675
+ requested_asset: strictObject({
8676
+ path: string2().min(1).max(1024)
8677
+ }).optional(),
8018
8678
  route: union([
8019
8679
  strictObject({
8020
8680
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8021
8681
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8022
- dispatch_environment: _enum(["development", "staging", "production"]),
8682
+ dispatch_environment: _enum([
8683
+ "development",
8684
+ "uat",
8685
+ "staging",
8686
+ "production"
8687
+ ]),
8023
8688
  hostname: string2().regex(/^(?=.{1,253}$)[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/),
8024
8689
  link_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).optional(),
8025
8690
  page_slug: string2().min(1).max(256),
@@ -8035,7 +8700,12 @@ var zDirectServingPolicyRequest = union([
8035
8700
  strictObject({
8036
8701
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8037
8702
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8038
- dispatch_environment: _enum(["development", "staging", "production"]),
8703
+ dispatch_environment: _enum([
8704
+ "development",
8705
+ "uat",
8706
+ "staging",
8707
+ "production"
8708
+ ]),
8039
8709
  hostname: string2().regex(/^(?=.{1,253}$)[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/),
8040
8710
  link_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).optional(),
8041
8711
  page_slug: string2().min(1).max(256),
@@ -8069,7 +8739,12 @@ var zDirectServingPolicyRequest = union([
8069
8739
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8070
8740
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8071
8741
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8072
- dispatch_environment: _enum(["development", "staging", "production"]),
8742
+ dispatch_environment: _enum([
8743
+ "development",
8744
+ "uat",
8745
+ "staging",
8746
+ "production"
8747
+ ]),
8073
8748
  domain_proof: strictObject({
8074
8749
  access_policy: _enum(["public"]),
8075
8750
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
@@ -8079,6 +8754,7 @@ var zDirectServingPolicyRequest = union([
8079
8754
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8080
8755
  dispatch_environment: _enum([
8081
8756
  "development",
8757
+ "uat",
8082
8758
  "staging",
8083
8759
  "production"
8084
8760
  ]),
@@ -8114,7 +8790,12 @@ var zDirectServingPolicyRequest = union([
8114
8790
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8115
8791
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8116
8792
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8117
- dispatch_environment: _enum(["development", "staging", "production"]),
8793
+ dispatch_environment: _enum([
8794
+ "development",
8795
+ "uat",
8796
+ "staging",
8797
+ "production"
8798
+ ]),
8118
8799
  domain_proof: strictObject({
8119
8800
  access_policy: _enum(["public"]),
8120
8801
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
@@ -8124,6 +8805,7 @@ var zDirectServingPolicyRequest = union([
8124
8805
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8125
8806
  dispatch_environment: _enum([
8126
8807
  "development",
8808
+ "uat",
8127
8809
  "staging",
8128
8810
  "production"
8129
8811
  ]),
@@ -8193,7 +8875,12 @@ var zDirectServingPolicyRequest = union([
8193
8875
  strictObject({
8194
8876
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8195
8877
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8196
- dispatch_environment: _enum(["development", "staging", "production"]),
8878
+ dispatch_environment: _enum([
8879
+ "development",
8880
+ "uat",
8881
+ "staging",
8882
+ "production"
8883
+ ]),
8197
8884
  hostname: string2().regex(/^(?=.{1,253}$)[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/),
8198
8885
  link_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).optional(),
8199
8886
  page_slug: string2().min(1).max(256),
@@ -8209,7 +8896,12 @@ var zDirectServingPolicyRequest = union([
8209
8896
  strictObject({
8210
8897
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8211
8898
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8212
- dispatch_environment: _enum(["development", "staging", "production"]),
8899
+ dispatch_environment: _enum([
8900
+ "development",
8901
+ "uat",
8902
+ "staging",
8903
+ "production"
8904
+ ]),
8213
8905
  hostname: string2().regex(/^(?=.{1,253}$)[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/),
8214
8906
  link_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).optional(),
8215
8907
  page_slug: string2().min(1).max(256),
@@ -8243,7 +8935,12 @@ var zDirectServingPolicyRequest = union([
8243
8935
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8244
8936
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8245
8937
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8246
- dispatch_environment: _enum(["development", "staging", "production"]),
8938
+ dispatch_environment: _enum([
8939
+ "development",
8940
+ "uat",
8941
+ "staging",
8942
+ "production"
8943
+ ]),
8247
8944
  domain_proof: strictObject({
8248
8945
  access_policy: _enum(["public"]),
8249
8946
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
@@ -8253,6 +8950,7 @@ var zDirectServingPolicyRequest = union([
8253
8950
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8254
8951
  dispatch_environment: _enum([
8255
8952
  "development",
8953
+ "uat",
8256
8954
  "staging",
8257
8955
  "production"
8258
8956
  ]),
@@ -8288,7 +8986,12 @@ var zDirectServingPolicyRequest = union([
8288
8986
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8289
8987
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8290
8988
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8291
- dispatch_environment: _enum(["development", "staging", "production"]),
8989
+ dispatch_environment: _enum([
8990
+ "development",
8991
+ "uat",
8992
+ "staging",
8993
+ "production"
8994
+ ]),
8292
8995
  domain_proof: strictObject({
8293
8996
  access_policy: _enum(["public"]),
8294
8997
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
@@ -8298,6 +9001,7 @@ var zDirectServingPolicyRequest = union([
8298
9001
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8299
9002
  dispatch_environment: _enum([
8300
9003
  "development",
9004
+ "uat",
8301
9005
  "staging",
8302
9006
  "production"
8303
9007
  ]),
@@ -8363,7 +9067,12 @@ var zDirectServingPolicyRequest = union([
8363
9067
  strictObject({
8364
9068
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8365
9069
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8366
- dispatch_environment: _enum(["development", "staging", "production"]),
9070
+ dispatch_environment: _enum([
9071
+ "development",
9072
+ "uat",
9073
+ "staging",
9074
+ "production"
9075
+ ]),
8367
9076
  hostname: string2().regex(/^(?=.{1,253}$)[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/),
8368
9077
  link_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).optional(),
8369
9078
  page_slug: string2().min(1).max(256),
@@ -8379,7 +9088,12 @@ var zDirectServingPolicyRequest = union([
8379
9088
  strictObject({
8380
9089
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8381
9090
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8382
- dispatch_environment: _enum(["development", "staging", "production"]),
9091
+ dispatch_environment: _enum([
9092
+ "development",
9093
+ "uat",
9094
+ "staging",
9095
+ "production"
9096
+ ]),
8383
9097
  hostname: string2().regex(/^(?=.{1,253}$)[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/),
8384
9098
  link_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).optional(),
8385
9099
  page_slug: string2().min(1).max(256),
@@ -8413,7 +9127,12 @@ var zDirectServingPolicyRequest = union([
8413
9127
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8414
9128
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8415
9129
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8416
- dispatch_environment: _enum(["development", "staging", "production"]),
9130
+ dispatch_environment: _enum([
9131
+ "development",
9132
+ "uat",
9133
+ "staging",
9134
+ "production"
9135
+ ]),
8417
9136
  domain_proof: strictObject({
8418
9137
  access_policy: _enum(["public"]),
8419
9138
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
@@ -8423,6 +9142,7 @@ var zDirectServingPolicyRequest = union([
8423
9142
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8424
9143
  dispatch_environment: _enum([
8425
9144
  "development",
9145
+ "uat",
8426
9146
  "staging",
8427
9147
  "production"
8428
9148
  ]),
@@ -8458,7 +9178,12 @@ var zDirectServingPolicyRequest = union([
8458
9178
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8459
9179
  artifact_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8460
9180
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8461
- dispatch_environment: _enum(["development", "staging", "production"]),
9181
+ dispatch_environment: _enum([
9182
+ "development",
9183
+ "uat",
9184
+ "staging",
9185
+ "production"
9186
+ ]),
8462
9187
  domain_proof: strictObject({
8463
9188
  access_policy: _enum(["public"]),
8464
9189
  app_domain_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
@@ -8468,6 +9193,7 @@ var zDirectServingPolicyRequest = union([
8468
9193
  deployment_id: string2().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/),
8469
9194
  dispatch_environment: _enum([
8470
9195
  "development",
9196
+ "uat",
8471
9197
  "staging",
8472
9198
  "production"
8473
9199
  ]),
@@ -8504,7 +9230,22 @@ var zDirectServingPolicyRequest = union([
8504
9230
  })
8505
9231
  ]);
8506
9232
  var zDirectServingPolicyResponse = strictObject({
8507
- allowed: boolean2()
9233
+ allowed: boolean2(),
9234
+ publicAsset: object({
9235
+ artifactId: uuid2(),
9236
+ buildId: uuid2(),
9237
+ bytes: int().gt(0).lte(1048576),
9238
+ contentType: string2(),
9239
+ deploymentId: uuid2(),
9240
+ environment: _enum(["development", "uat", "staging", "production"]),
9241
+ hostname: string2(),
9242
+ linkId: uuid2(),
9243
+ linkUpdatedAt: string2(),
9244
+ path: string2(),
9245
+ sha256: string2().regex(/^[a-f0-9]{64}$/),
9246
+ shareId: uuid2(),
9247
+ workspaceId: uuid2()
9248
+ }).optional()
8508
9249
  });
8509
9250
  var zDisconnectResponse = object({
8510
9251
  appName: string2(),
@@ -8764,6 +9505,7 @@ var zGemGitSourceImport = strictObject({
8764
9505
  ]),
8765
9506
  ref: string2().min(1).max(512),
8766
9507
  releaseId: uuid2().nullable(),
9508
+ resourceReviewRequired: boolean2(),
8767
9509
  sourceRevisionId: uuid2().nullable(),
8768
9510
  stage: _enum([
8769
9511
  "queued",
@@ -9112,7 +9854,8 @@ var zGemShareAudienceRequest = strictObject({
9112
9854
  });
9113
9855
  var zGemShareCaller = strictObject({
9114
9856
  canManage: boolean2(),
9115
- isOwner: boolean2()
9857
+ isOwner: boolean2(),
9858
+ peopleSearch: _enum(["organization", "workspace"]).nullable()
9116
9859
  });
9117
9860
  var zGemShareCapability = strictObject({
9118
9861
  blockedReason: _enum(["adopted_connection", "no_personal_owner"]).nullable(),
@@ -9176,10 +9919,14 @@ var zGemShareOwner = strictObject({
9176
9919
  isYou: boolean2(),
9177
9920
  name: string2().nullable()
9178
9921
  });
9922
+ var zGemSharePeopleResponse = strictObject({
9923
+ people: array(zGemShareAudiencePerson)
9924
+ });
9179
9925
  var zGemSharePerson = strictObject({
9180
9926
  email: string2().min(3).max(320)
9181
9927
  });
9182
9928
  var zAddGemShareRecipientsRequest = strictObject({
9929
+ notify: boolean2().optional(),
9183
9930
  people: array(zGemSharePerson).min(1).max(100)
9184
9931
  });
9185
9932
  var zCreateGemShareRequest = strictObject({
@@ -9190,6 +9937,7 @@ var zCreateGemShareRequest = strictObject({
9190
9937
  kind: _enum(["editor", "viewer"]).optional(),
9191
9938
  message: string2().max(2000).nullish(),
9192
9939
  name: string2().min(1).max(200),
9940
+ notify: boolean2().optional(),
9193
9941
  notifyOnOpen: _enum(["all_views", "first_view_only", "off"]).optional(),
9194
9942
  people: array(zGemSharePerson).max(100).optional(),
9195
9943
  version: object({
@@ -9241,6 +9989,7 @@ var zGemShare = strictObject({
9241
9989
  expiresAt: string2().nullable(),
9242
9990
  gate: zGemShareGate,
9243
9991
  gemId: string2(),
9992
+ generalAccessCount: int(),
9244
9993
  hasNamedRecipients: boolean2(),
9245
9994
  id: string2(),
9246
9995
  kind: _enum(["editor", "viewer"]),
@@ -9291,6 +10040,12 @@ var zGemShareDetail = strictObject({
9291
10040
  });
9292
10041
  var zGemShareAddRecipientsResponse = strictObject({
9293
10042
  added: array(zGemShareRecipient),
10043
+ emailed: array(string2()),
10044
+ gemId: string2(),
10045
+ share: zGemShareDetail
10046
+ });
10047
+ var zGemShareCreateResponse = strictObject({
10048
+ emailed: array(string2()),
9294
10049
  gemId: string2(),
9295
10050
  share: zGemShareDetail
9296
10051
  });
@@ -9691,17 +10446,6 @@ var zHttpErrorEnvelope = strictObject({
9691
10446
  var zErrorResponse = strictObject({
9692
10447
  error: zHttpErrorEnvelope
9693
10448
  });
9694
- var zImpersonateRequest = object({
9695
- currentPassword: string2().min(1).optional(),
9696
- targetUserId: string2(),
9697
- workspaceId: string2()
9698
- });
9699
- var zImpersonateResponse = object({
9700
- impersonating: record(string2(), unknown()),
9701
- message: string2(),
9702
- originalAdmin: record(string2(), unknown()),
9703
- success: boolean2()
9704
- });
9705
10449
  var zIntegrationHealthDismissRequest = object({
9706
10450
  incidentIds: array(string2())
9707
10451
  });
@@ -10302,7 +11046,7 @@ var zLibraryItemDto = object({
10302
11046
  });
10303
11047
  var zLibraryItemListResponse = object({
10304
11048
  items: array(zLibraryItemDto),
10305
- totalCount: int()
11049
+ totalCount: int().nullable()
10306
11050
  });
10307
11051
  var zLibraryItemMutationResponse = object({
10308
11052
  cleanup: record(string2(), unknown()).optional(),
@@ -10318,6 +11062,7 @@ var zLibraryShareRequest = object({
10318
11062
  automationPackageConfirmationToken: string2().min(16).nullish(),
10319
11063
  expiresAt: exports_iso.datetime({ offset: true }).nullish(),
10320
11064
  message: string2().nullish(),
11065
+ notify: boolean2().optional().default(true),
10321
11066
  recipients: array(zLibraryShareRecipientRequest).optional(),
10322
11067
  shareMode: string2().regex(/^(reference|copy)$/).optional().default("reference"),
10323
11068
  shareScope: string2().regex(/^(specific_users|workspace)$/).optional().default("specific_users")
@@ -10357,6 +11102,10 @@ var zLibraryVisitorDatasetRowsRequest = object({
10357
11102
  token: string2().min(16),
10358
11103
  where: array(record(string2(), unknown())).nullish()
10359
11104
  });
11105
+ var zLibraryVisitorItemListResponse = object({
11106
+ items: array(zLibraryItemDto),
11107
+ totalCount: int()
11108
+ });
10360
11109
  var zLibraryVisitorItemsRequest = object({
10361
11110
  token: string2().min(16)
10362
11111
  });
@@ -10481,6 +11230,7 @@ var zMcpConnectionExecuteRequest = strictObject({
10481
11230
  providerNativeToolName: string2().min(1),
10482
11231
  providerType: string2().min(1),
10483
11232
  subToolName: string2().min(1),
11233
+ toolCallId: string2().min(1).max(256).optional(),
10484
11234
  wrapperToolName: string2().min(1)
10485
11235
  });
10486
11236
  var zMcpConnectionExecuteResponse = object({
@@ -10567,6 +11317,7 @@ var zModelInfo = object({
10567
11317
  name: string2(),
10568
11318
  provider: _enum(["anthropic", "openai", "cursor"]),
10569
11319
  releaseDate: string2(),
11320
+ speedModes: array(_enum(["standard", "fast"])),
10570
11321
  thinkLevels: array(_enum(["off", "minimal", "low", "medium", "high", "xhigh", "max"])),
10571
11322
  tier: _enum(["flagship", "premium", "standard", "budget"])
10572
11323
  });
@@ -10672,6 +11423,19 @@ var zModelsResponse = object({
10672
11423
  models: array(zModelInfo),
10673
11424
  success: boolean2().optional().default(true)
10674
11425
  });
11426
+ var zNativeClientRegistrationRequest = record(string2(), unknown());
11427
+ var zNativeClientRegistrationResponse = object({
11428
+ application_type: _enum(["native"]),
11429
+ client_id: string2().min(1),
11430
+ client_id_issued_at: int().gte(0),
11431
+ client_name: string2().min(1),
11432
+ grant_types: array(string2()).min(1),
11433
+ redirect_uris: array(url()),
11434
+ response_types: tuple([_enum(["code"])]),
11435
+ scope: string2().min(1),
11436
+ token_endpoint_auth_method: _enum(["none"])
11437
+ });
11438
+ var zNotificationListView = _enum(["open", "dismissed"]);
10675
11439
  var zNotificationMutationRequest = strictObject({
10676
11440
  channel: string2().nullish(),
10677
11441
  notificationIds: array(string2()).nullish(),
@@ -10767,7 +11531,7 @@ var zOAuthErrorResponse = object({
10767
11531
  var zOAuthTokenResponse = object({
10768
11532
  access_token: string2(),
10769
11533
  expires_in: int(),
10770
- refresh_token: string2(),
11534
+ refresh_token: string2().optional(),
10771
11535
  scope: string2(),
10772
11536
  token_type: _enum(["Bearer"])
10773
11537
  });
@@ -11274,6 +12038,37 @@ var zPersonaWithContextsResponse = object({
11274
12038
  prompts: array(record(string2(), unknown())).optional().default([]),
11275
12039
  success: boolean2().optional().default(true)
11276
12040
  });
12041
+ var zPlatformSupportReadResult = object({
12042
+ coverage: object({
12043
+ lastSuccessAt: string2().nullable(),
12044
+ note: string2().nullable(),
12045
+ pendingCount: number2().nullable(),
12046
+ since: string2(),
12047
+ state: _enum([
12048
+ "available",
12049
+ "partial",
12050
+ "unavailable",
12051
+ "not_configured",
12052
+ "expired",
12053
+ "gap"
12054
+ ]),
12055
+ truncated: boolean2(),
12056
+ until: string2()
12057
+ }),
12058
+ operation: _enum([
12059
+ "health",
12060
+ "collection",
12061
+ "failures",
12062
+ "release",
12063
+ "run",
12064
+ "request",
12065
+ "storage",
12066
+ "egress",
12067
+ "live_sessions"
12068
+ ]),
12069
+ references: array(record(string2(), unknown())),
12070
+ rows: array(record(string2(), unknown()))
12071
+ });
11277
12072
  var zPlatformToolExecuteByNameRequest = object({
11278
12073
  parameters: record(string2(), unknown()).optional()
11279
12074
  });
@@ -11396,12 +12191,30 @@ var zProtectedResourceMetadata = object({
11396
12191
  var zProviderAppRuntimePanelLogsResponse = object({
11397
12192
  deploymentId: string2(),
11398
12193
  logStatus: object({
12194
+ captureLimited: boolean2(),
11399
12195
  code: string2().nullable(),
12196
+ collectionCoverage: _enum(["unknown", "partial"]),
12197
+ configuration: _enum(["configured", "not_configured"]),
12198
+ confirmedGapCount: number2().nullable(),
12199
+ countScope: _enum(["known_gem_events"]),
12200
+ delivery: _enum(["unknown", "pending", "available", "gap", "unavailable"]),
12201
+ lastDeliveredAt: string2().nullable(),
12202
+ lastSuccessfulReadAt: string2().nullable(),
12203
+ loadedCoverage: object({
12204
+ limitReached: boolean2(),
12205
+ lines: number2(),
12206
+ since: string2().nullable(),
12207
+ until: string2().nullable()
12208
+ }),
12209
+ oldestPendingAt: string2().nullable(),
12210
+ pendingCount: number2().nullable(),
12211
+ readAvailability: _enum(["available", "not_configured", "unavailable"]),
12212
+ retentionDays: number2(),
11400
12213
  sink: object({
11401
12214
  availability: _enum(["available", "not_configured", "unavailable"]),
11402
12215
  code: string2().nullable()
11403
12216
  }),
11404
- state: _enum(["complete", "partial", "lost"])
12217
+ state: _enum(["available", "partial", "unavailable", "gap"])
11405
12218
  }),
11406
12219
  logs: array(object({
11407
12220
  capabilityName: string2().nullable(),
@@ -11851,6 +12664,7 @@ var zShareContentRequest = object({
11851
12664
  contentType: zContentTypeInput,
11852
12665
  description: string2().nullish(),
11853
12666
  expiresAt: exports_iso.datetime({ offset: true }).nullish(),
12667
+ notify: boolean2().optional().default(true),
11854
12668
  recipientUserIds: array(uuid2()).nullish(),
11855
12669
  recipients: array(zRecipientSpec).nullish(),
11856
12670
  replaceExistingRecipients: boolean2().optional().default(false),
@@ -11974,6 +12788,9 @@ var zSkillUpdateRequest = object({
11974
12788
  securityScan: zSkillSecurityScanEvidence.nullish(),
11975
12789
  tags: array(string2()).nullish()
11976
12790
  });
12791
+ var zSmsInboundResponse = strictObject({
12792
+ status: _enum(["accepted", "ignored"])
12793
+ });
11977
12794
  var zSsoPolicyRequest = object({
11978
12795
  email: email2()
11979
12796
  });
@@ -12078,7 +12895,7 @@ var zSubtoolInfo = object({
12078
12895
  executionWorkspaceId: string2().nullish(),
12079
12896
  name: string2(),
12080
12897
  optionalFields: record(string2(), unknown()).optional(),
12081
- outputSchema: record(string2(), unknown()).nullish(),
12898
+ outputSchema: union([record(string2(), unknown()), boolean2()]).nullish(),
12082
12899
  ownerUserId: string2().nullish(),
12083
12900
  providerNativeToolName: string2(),
12084
12901
  providerType: string2(),
@@ -12244,6 +13061,29 @@ var zTeamUpdateRequest = object({
12244
13061
  description: string2().max(500).nullish(),
12245
13062
  name: string2().min(1).max(80).nullish()
12246
13063
  });
13064
+ var zTenantLogRecoveryReadStatus = object({
13065
+ collectionCoverage: _enum(["unknown", "partial"]),
13066
+ countScope: _enum(["known_gem_events"]),
13067
+ gapCount: int().gte(0),
13068
+ lastDeliveredAt: string2().nullable(),
13069
+ oldestPendingAt: string2().nullable(),
13070
+ pendingCount: int().gte(0),
13071
+ recoveryState: _enum([
13072
+ "available",
13073
+ "pending",
13074
+ "gap",
13075
+ "not_configured",
13076
+ "unknown",
13077
+ "unavailable"
13078
+ ]),
13079
+ retentionDays: literal(14)
13080
+ });
13081
+ var zAppLogPage = object({
13082
+ deliveryCursor: string2(),
13083
+ logs: array(zAppLogRecord),
13084
+ nextCursor: string2().nullable(),
13085
+ recovery: zTenantLogRecoveryReadStatus
13086
+ });
12247
13087
  var zTestTriggerRequest = object({
12248
13088
  connectionId: string2(),
12249
13089
  triggerConfig: record(string2(), unknown()).nullish()
@@ -12574,6 +13414,7 @@ var zThreadModeOption = object({
12574
13414
  });
12575
13415
  var zThreadModelParams = object({
12576
13416
  maxOutputTokens: int().gt(0).nullable(),
13417
+ speed: _enum(["standard", "fast"]).optional(),
12577
13418
  temperature: number2().nullable(),
12578
13419
  thinking: union([
12579
13420
  object({
@@ -12708,6 +13549,7 @@ var zThreadRunOverrides = object({
12708
13549
  mode: zThreadMode.nullable(),
12709
13550
  model: zThreadModelSelector.nullable(),
12710
13551
  selectedToolNames: array(string2()).nullable(),
13552
+ speed: _enum(["standard", "fast"]).nullish(),
12711
13553
  thinkLevel: _enum(["off", "minimal", "low", "medium", "high", "xhigh", "max"]).nullish().default(null)
12712
13554
  });
12713
13555
  var zThreadRunQueued = object({
@@ -13283,7 +14125,8 @@ var zToolCatalogSkeletonSubTool = object({
13283
14125
  description: int().gte(0),
13284
14126
  enabled: boolean2().optional(),
13285
14127
  name: string2(),
13286
- outputSchema: int().gte(0),
14128
+ outputSchema: int().gte(0).nullable(),
14129
+ outputSchemaDigest: string2().regex(/^[0-9a-f]{64}$\/u/).nullable(),
13287
14130
  providerNativeToolName: string2().optional(),
13288
14131
  title: string2().nullable(),
13289
14132
  visibilitySource: string2().nullable()
@@ -13313,7 +14156,7 @@ var zToolCatalogSkeletonResponse = object({
13313
14156
  contractDigests: array(string2().regex(/^[0-9a-f]{64}$\/u/)),
13314
14157
  descriptions: array(string2()),
13315
14158
  executionWorkspaceId: string2(),
13316
- outputSchemas: array(record(string2(), unknown())),
14159
+ outputSchemas: array(union([record(string2(), unknown()), boolean2()])),
13317
14160
  toolsVersion: int().nullable(),
13318
14161
  toolsVersionUpdatedAt: string2().nullable(),
13319
14162
  wrappers: array(zToolCatalogSkeletonWrapper)
@@ -13388,8 +14231,11 @@ var zToolExecutionAdmissionPermit = strictObject({
13388
14231
  capabilityId: string2().min(1),
13389
14232
  classification: _enum(["read", "write", "unknown"]),
13390
14233
  connectionId: string2().min(1).max(256),
14234
+ inputSchemaDigest: string2().nullish(),
14235
+ outputSchemaDigest: string2().nullish(),
13391
14236
  providerNativeToolName: string2().min(1).max(256),
13392
14237
  providerType: string2().min(1).max(128),
14238
+ providerVersion: string2().nullish(),
13393
14239
  subToolName: string2().min(1).max(256),
13394
14240
  toolCallId: string2().min(1).max(256).optional(),
13395
14241
  wrapperToolName: string2().min(1).max(256)
@@ -13397,9 +14243,12 @@ var zToolExecutionAdmissionPermit = strictObject({
13397
14243
  var zToolExecutionAdmissionRequest = strictObject({
13398
14244
  capabilityId: string2().min(1),
13399
14245
  connectionId: string2().min(1).max(256),
14246
+ inputSchemaDigest: string2().nullish(),
14247
+ outputSchemaDigest: string2().nullish(),
13400
14248
  parameters: record(string2(), unknown()).optional(),
13401
14249
  providerNativeToolName: string2().min(1).max(256),
13402
14250
  providerType: string2().min(1).max(128),
14251
+ providerVersion: string2().nullish(),
13403
14252
  subToolName: string2().min(1).max(256),
13404
14253
  supportsAutomationReceipts: boolean2().optional(),
13405
14254
  toolCallId: string2().min(1).max(256).optional(),
@@ -13455,7 +14304,7 @@ var zToolNamespaceResponse = object({
13455
14304
  iconUrl: string2().nullish(),
13456
14305
  isGlobal: boolean2().optional().default(false),
13457
14306
  namespace: string2(),
13458
- outputSchema: record(string2(), unknown()).nullish(),
14307
+ outputSchema: union([record(string2(), unknown()), boolean2()]).nullish(),
13459
14308
  ownerUserId: string2().nullish(),
13460
14309
  providerType: string2().nullish(),
13461
14310
  serverId: string2().nullish(),
@@ -13483,8 +14332,11 @@ var zToolProviderExecutionReceiptAction = strictObject({
13483
14332
  capabilityId: string2().min(1),
13484
14333
  classification: _enum(["read", "write", "unknown"]),
13485
14334
  connectionId: string2().min(1).max(256),
14335
+ inputSchemaDigest: string2().nullish(),
14336
+ outputSchemaDigest: string2().nullish(),
13486
14337
  providerNativeToolName: string2().min(1).max(256),
13487
14338
  providerType: string2().min(1).max(128),
14339
+ providerVersion: string2().nullish(),
13488
14340
  subToolName: string2().min(1).max(256),
13489
14341
  toolCallId: string2().min(1).max(256).optional(),
13490
14342
  wrapperToolName: string2().min(1).max(256)
@@ -13565,9 +14417,9 @@ var zToolSchemaResponse = object({
13565
14417
  credentialOwnerUserId: string2().nullish(),
13566
14418
  description: string2(),
13567
14419
  executionWorkspaceId: string2().nullish(),
13568
- fullSchema: record(string2(), unknown()),
14420
+ fullSchema: union([record(string2(), unknown()), boolean2()]),
13569
14421
  optionalFields: record(string2(), unknown()),
13570
- outputSchema: record(string2(), unknown()).nullish(),
14422
+ outputSchema: union([record(string2(), unknown()), boolean2()]).nullish(),
13571
14423
  ownerUserId: string2().nullish(),
13572
14424
  providerNativeToolName: string2(),
13573
14425
  providerType: string2(),
@@ -13864,7 +14716,6 @@ var zWhoamiResponse = object({
13864
14716
  authType: string2().nullable(),
13865
14717
  credentialKind: string2().nullable(),
13866
14718
  email: string2().nullish(),
13867
- gemId: string2().optional(),
13868
14719
  role: string2().nullish(),
13869
14720
  userId: string2(),
13870
14721
  valid: literal(true),
@@ -14516,6 +15367,7 @@ var zSharedContentResponse = object({
14516
15367
  contentType: zModulesSharingModelsContentType,
14517
15368
  createdAt: exports_iso.datetime({ offset: true }),
14518
15369
  description: string2().nullable(),
15370
+ emailedUserIds: array(uuid2()).optional(),
14519
15371
  expiresAt: exports_iso.datetime({ offset: true }).nullable(),
14520
15372
  id: uuid2(),
14521
15373
  metadata: record(string2(), unknown()),
@@ -14624,6 +15476,9 @@ var zRebindAutomationServicePolicyPath = object({
14624
15476
  var zProposeAutomationServicePolicyPath = object({
14625
15477
  id: string2()
14626
15478
  });
15479
+ var zCloseAdminCloudflareIssuePath = object({
15480
+ groupRef: string2().regex(/^issue:[a-f0-9]{32}$/)
15481
+ });
14627
15482
  var zAdminListInvitationsApiAdminInvitationsGetQuery = object({
14628
15483
  limit: int().gte(1).lte(100).optional().default(50),
14629
15484
  offset: int().gte(0).nullish().default(0),
@@ -14699,6 +15554,97 @@ var zGetPersonStatsApiAdminStatsUsersUserIdGetQuery = object({
14699
15554
  timeRange: string2().optional().default("30D")
14700
15555
  });
14701
15556
  var zGetPersonStatsApiAdminStatsUsersUserIdGetResponse = record(string2(), unknown());
15557
+ var zGrantPlatformSupportAgentReadBody = object({
15558
+ agentId: uuid2(),
15559
+ artifactId: uuid2(),
15560
+ environment: _enum(["development", "staging", "uat", "production"]),
15561
+ operations: array(_enum([
15562
+ "health",
15563
+ "collection",
15564
+ "failures",
15565
+ "release",
15566
+ "run",
15567
+ "request",
15568
+ "storage",
15569
+ "egress",
15570
+ "live_sessions"
15571
+ ])).min(1).max(9),
15572
+ releaseId: uuid2(),
15573
+ runId: uuid2(),
15574
+ workspaceId: uuid2()
15575
+ });
15576
+ var zGrantPlatformSupportAgentReadResponse = object({
15577
+ expiresAt: string2(),
15578
+ id: string2()
15579
+ });
15580
+ var zRevokePlatformSupportAgentReadPath = object({
15581
+ grantId: uuid2()
15582
+ });
15583
+ var zRevokePlatformSupportAgentReadResponse = object({
15584
+ revoked: boolean2()
15585
+ });
15586
+ var zReadPlatformSupportBody = object({
15587
+ artifactId: uuid2(),
15588
+ environment: _enum(["development", "staging", "uat", "production"]),
15589
+ limit: int().gte(1).lte(100).optional(),
15590
+ logLimit: int().gte(1).lte(500).optional(),
15591
+ operation: _enum([
15592
+ "health",
15593
+ "collection",
15594
+ "failures",
15595
+ "release",
15596
+ "run",
15597
+ "request",
15598
+ "storage",
15599
+ "egress",
15600
+ "live_sessions"
15601
+ ]),
15602
+ releaseId: uuid2().nullish(),
15603
+ requestId: string2().min(1).max(128).regex(/^[a-zA-Z0-9_:.\-]+$/).nullish(),
15604
+ runId: uuid2().nullish(),
15605
+ windowHours: union([literal(1), literal(6), literal(24), literal(168)]).optional(),
15606
+ workspaceId: uuid2()
15607
+ });
15608
+ var zResolvePlatformSupportTargetBody = object({
15609
+ artifactId: uuid2(),
15610
+ releaseId: uuid2(),
15611
+ runId: uuid2().nullish(),
15612
+ workspaceId: uuid2()
15613
+ });
15614
+ var zResolvePlatformSupportTargetResponse = object({
15615
+ agentGrant: object({
15616
+ expiresAt: string2(),
15617
+ id: uuid2(),
15618
+ operations: array(_enum([
15619
+ "health",
15620
+ "collection",
15621
+ "failures",
15622
+ "release",
15623
+ "run",
15624
+ "request",
15625
+ "storage",
15626
+ "egress",
15627
+ "live_sessions"
15628
+ ])).max(9),
15629
+ revoked: boolean2()
15630
+ }).nullable(),
15631
+ agentTurn: object({
15632
+ agentId: uuid2(),
15633
+ runId: uuid2()
15634
+ }).nullable(),
15635
+ artifactId: uuid2(),
15636
+ artifactOwnerId: uuid2(),
15637
+ artifactSlug: string2(),
15638
+ environment: _enum(["development", "staging", "uat", "production"]),
15639
+ releaseId: uuid2(),
15640
+ sourceRevisionId: uuid2(),
15641
+ versionId: uuid2(),
15642
+ workspaceHidden: boolean2(),
15643
+ workspaceId: uuid2(),
15644
+ workspaceName: string2(),
15645
+ workspaceOwnerId: uuid2(),
15646
+ workspaceSlug: string2()
15647
+ });
14702
15648
  var zGetAdminSystemHealthApiAdminSystemHealthGetQuery = object({
14703
15649
  hours: int().gte(1).lte(168).optional().default(6)
14704
15650
  });
@@ -14835,6 +15781,14 @@ var zArtifactToolProxyExecutionStatusApiArtifactsToolProxyExecutionsExecutionIdG
14835
15781
  var zArtifactToolProxyExecutionCancelApiArtifactsToolProxyExecutionsExecutionIdCancelPostPath = object({
14836
15782
  executionId: string2()
14837
15783
  });
15784
+ var zArtifactToolProxyExecutionOutputApiArtifactsToolProxyExecutionsExecutionIdOutputGetPath = object({
15785
+ executionId: string2()
15786
+ });
15787
+ var zArtifactToolProxyExecutionOutputApiArtifactsToolProxyExecutionsExecutionIdOutputGetQuery = object({
15788
+ offset: int().gte(0).lte(33554432).nullish(),
15789
+ limit: int().gte(1).lte(262144).optional()
15790
+ });
15791
+ var zArtifactToolProxyExecutionOutputApiArtifactsToolProxyExecutionsExecutionIdOutputGetResponse = string2();
14838
15792
  var zRevokeApiKeyApiAuthApiKeyDeleteResponse = record(string2(), unknown());
14839
15793
  var zGetApiKeyApiAuthApiKeyGetResponse = record(string2(), unknown());
14840
15794
  var zCreateApiKeyApiAuthApiKeyPostBody = record(string2(), unknown());
@@ -15617,7 +16571,8 @@ var zGetPublicModelsApiModelsGetQuery = object({
15617
16571
  var zGetAvailableModelsApiModelsAvailableGetQuery = object({
15618
16572
  count: int().gte(1).lte(10).optional().default(4),
15619
16573
  billingRouteKind: _enum(["uru_credits", "subscription"]).optional(),
15620
- billingRouteProvider: _enum(["chatgpt", "grok", "cursor"]).optional()
16574
+ billingRouteProvider: _enum(["chatgpt", "grok", "cursor"]).optional(),
16575
+ automationId: uuid2().optional()
15621
16576
  });
15622
16577
  var zExportActivityLogsApiMonitoringActivityExportGetQuery = object({
15623
16578
  dateRange: string2().optional().default("7d"),
@@ -15872,11 +16827,11 @@ var zSyncWorkspaceToolsApiN8nToolsSyncWorkspaceWorkspaceIdPostResponse = object(
15872
16827
  })
15873
16828
  });
15874
16829
  var zListNotificationsApiNotificationsGetQuery = object({
15875
- status: string2().nullish(),
16830
+ view: zNotificationListView.optional(),
15876
16831
  channel: string2().nullish(),
15877
16832
  sourceType: string2().nullish(),
15878
16833
  limit: int().gte(1).lte(100).optional().default(50),
15879
- cursor: exports_iso.datetime({ offset: true }).nullish(),
16834
+ cursor: string2().nullish(),
15880
16835
  includeExpired: boolean2().nullish().default(false)
15881
16836
  });
15882
16837
  var zNotificationsEventsStreamQuery = object({
@@ -16350,6 +17305,11 @@ var zGenerateAppSupportBundleApiPlatformArtifactsArtifactSlugAppSupportBundlePos
16350
17305
  logLimit: int().gte(1).lte(500).optional().default(100),
16351
17306
  jobLimit: int().gte(1).lte(200).optional().default(50)
16352
17307
  });
17308
+ var zDownloadAppSupportBundleOutputPath = object({
17309
+ artifactSlug: string2(),
17310
+ bundleId: uuid2()
17311
+ });
17312
+ var zDownloadAppSupportBundleOutputResponse = record(string2(), unknown());
16353
17313
  var zArtifactBlobsMissingBody = object({
16354
17314
  manifest: record(string2(), object({
16355
17315
  bytes: int().gt(0),
@@ -17223,6 +18183,8 @@ var zDatasetListJobsResponse = object({
17223
18183
  "dependency_unavailable",
17224
18184
  "runtime_protocol_incompatible",
17225
18185
  "legacy_not_restorable",
18186
+ "database_unavailable",
18187
+ "attempts_exhausted",
17226
18188
  "internal_error"
17227
18189
  ]),
17228
18190
  currentDatasetRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/).nullable(),
@@ -17300,6 +18262,8 @@ var zDatasetGetJobResponse = object({
17300
18262
  "dependency_unavailable",
17301
18263
  "runtime_protocol_incompatible",
17302
18264
  "legacy_not_restorable",
18265
+ "database_unavailable",
18266
+ "attempts_exhausted",
17303
18267
  "internal_error"
17304
18268
  ]),
17305
18269
  currentDatasetRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/).nullable(),
@@ -17372,6 +18336,8 @@ var zDatasetCancelJobResponse = object({
17372
18336
  "dependency_unavailable",
17373
18337
  "runtime_protocol_incompatible",
17374
18338
  "legacy_not_restorable",
18339
+ "database_unavailable",
18340
+ "attempts_exhausted",
17375
18341
  "internal_error"
17376
18342
  ]),
17377
18343
  currentDatasetRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/).nullable(),
@@ -18020,6 +18986,13 @@ var zCreateGemShareHeaders = object({
18020
18986
  var zCreateGemSharePath = object({
18021
18987
  gemRef: string2().min(1)
18022
18988
  });
18989
+ var zSearchGemSharePeoplePath = object({
18990
+ gemRef: string2().min(1)
18991
+ });
18992
+ var zSearchGemSharePeopleQuery = object({
18993
+ query: string2().min(2).max(200),
18994
+ limit: int().gte(1).lte(50).optional().default(20)
18995
+ });
18023
18996
  var zListGemVersionsPath = object({
18024
18997
  gemRef: string2().min(1)
18025
18998
  });
@@ -18118,7 +19091,8 @@ var zGetCanonicalLibraryItemsApiPlatformLibraryItemsGetQuery = object({
18118
19091
  includeTrashed: boolean2().optional().default(false),
18119
19092
  trashOnly: boolean2().optional().default(false),
18120
19093
  limit: int().gte(1).lte(500).optional().default(200),
18121
- offset: int().gte(0).nullish().default(0)
19094
+ offset: int().gte(0).nullish().default(0),
19095
+ includeTotal: boolean2().optional().default(true)
18122
19096
  });
18123
19097
  var zGetLibraryItemByResourceApiPlatformLibraryItemsByResourceResourceTypeResourceIdGetPath = object({
18124
19098
  resourceType: zLibraryResourceType,
@@ -18141,6 +19115,7 @@ var zGetLibraryItemApiPlatformLibraryItemsItemIdGetPath = object({
18141
19115
  itemId: string2()
18142
19116
  });
18143
19117
  var zGetLibraryItemApiPlatformLibraryItemsItemIdGetQuery = object({
19118
+ targetWorkspaceId: string2().nullish(),
18144
19119
  foreignShareId: uuid2().nullish()
18145
19120
  });
18146
19121
  var zUpdateLibraryItemApiPlatformLibraryItemsItemIdPatchPath = object({
@@ -18190,7 +19165,8 @@ var zGetLibraryItemDownloadUrlApiPlatformLibraryItemsItemIdDownloadGetPath = obj
18190
19165
  itemId: string2()
18191
19166
  });
18192
19167
  var zGetLibraryItemDownloadUrlApiPlatformLibraryItemsItemIdDownloadGetQuery = object({
18193
- foreignShareId: uuid2().nullish()
19168
+ foreignShareId: uuid2().nullish(),
19169
+ disposition: _enum(["attachment"]).optional()
18194
19170
  });
18195
19171
  var zDeleteLibraryItemLabelValueApiPlatformLibraryItemsItemIdLabelsLabelIdDeletePath = object({
18196
19172
  itemId: string2(),
@@ -18392,6 +19368,9 @@ var zListLibraryVisitorItemDatasetRowsApiPlatformLibraryVisitorSessionsItemsItem
18392
19368
  var zGetLibraryVisitorItemDownloadUrlApiPlatformLibraryVisitorSessionsItemsItemIdDownloadPostPath = object({
18393
19369
  itemId: string2()
18394
19370
  });
19371
+ var zGetLibraryVisitorItemDownloadUrlApiPlatformLibraryVisitorSessionsItemsItemIdDownloadPostQuery = object({
19372
+ disposition: _enum(["attachment"]).optional()
19373
+ });
18395
19374
  var zGetLibraryVisitorItemDownloadUrlApiPlatformLibraryVisitorSessionsItemsItemIdDownloadPostResponse = record(string2(), unknown());
18396
19375
  var zGetLibraryVisitorItemPreviewImageApiPlatformLibraryVisitorSessionsItemsItemIdPreviewImagePostPath = object({
18397
19376
  itemId: string2()
@@ -18486,7 +19465,6 @@ var zListViewNotificationsApiPlatformViewNotificationsGetQuery = object({
18486
19465
  offset: int().nullish().default(0)
18487
19466
  });
18488
19467
  var zMarkViewNotificationsReadApiPlatformViewNotificationsMarkReadPostResponse = record(string2(), int());
18489
- var zListWorkspaceToolsApiPlatformWorkspaceToolsGetResponse = record(string2(), unknown());
18490
19468
  var zValidateWorkspaceAccessApiPlatformWorkspacesWorkspaceIdValidatePostPath = object({
18491
19469
  workspaceId: string2()
18492
19470
  });
@@ -18801,6 +19779,18 @@ var zPublicArtifactToolProxyExecutionStatusApiPublicPagesSlugToolProxyExecutions
18801
19779
  slug: string2(),
18802
19780
  executionId: string2()
18803
19781
  });
19782
+ var zPublicArtifactToolProxyExecutionOutputApiPublicPagesSlugToolProxyExecutionsExecutionIdOutputGetHeaders = object({
19783
+ "X-Uru-Publish-CSRF": string2().nullish()
19784
+ });
19785
+ var zPublicArtifactToolProxyExecutionOutputApiPublicPagesSlugToolProxyExecutionsExecutionIdOutputGetPath = object({
19786
+ slug: string2(),
19787
+ executionId: string2()
19788
+ });
19789
+ var zPublicArtifactToolProxyExecutionOutputApiPublicPagesSlugToolProxyExecutionsExecutionIdOutputGetQuery = object({
19790
+ offset: int().gte(0).lte(33554432).nullish(),
19791
+ limit: int().gte(1).lte(262144).optional()
19792
+ });
19793
+ var zPublicArtifactToolProxyExecutionOutputApiPublicPagesSlugToolProxyExecutionsExecutionIdOutputGetResponse = string2();
18804
19794
  var zEndPublicViewApiPublicPagesSlugViewsViewEventIdEndPostHeaders = object({
18805
19795
  "X-Uru-Publish-CSRF": string2().nullish()
18806
19796
  });
@@ -19057,6 +20047,9 @@ var zUpdateSkillApiSkillsSkillIdPatchPath = object({
19057
20047
  var zToggleSkillApiSkillsSkillIdTogglePostPath = object({
19058
20048
  skillId: uuid2()
19059
20049
  });
20050
+ var zSmsInboundPath = object({
20051
+ token: string2()
20052
+ });
19060
20053
  var zListTeamsApiTeamsGetResponse = array(zTeamResponse);
19061
20054
  var zListMyTeamMembershipsApiTeamsMembershipsMeGetResponse = record(string2(), record(string2(), string2()));
19062
20055
  var zDeleteTeamApiTeamsTeamIdDeletePath = object({
@@ -19262,6 +20255,57 @@ var zThreadShareRevokePath = object({
19262
20255
  var zToolApprovalAnswerPath = object({
19263
20256
  questionId: uuid2()
19264
20257
  });
20258
+ var zClaimActionProxyProviderHopBody = object({
20259
+ parameters: record(string2(), unknown()),
20260
+ ref: object({
20261
+ kind: _enum(["proxy"]),
20262
+ toolId: _enum(["platform__library_preview", "platform__share_modal"])
20263
+ })
20264
+ });
20265
+ var zClaimActionProxyProviderHopResponse = object({
20266
+ claimed: literal(true)
20267
+ });
20268
+ var zExecuteActionApiToolControlPlaneActionsExecutePostBody = object({
20269
+ arguments: record(string2(), unknown()),
20270
+ ref: union([
20271
+ object({
20272
+ capabilityId: string2().min(1).max(256),
20273
+ connectionId: string2().min(1).max(256),
20274
+ kind: _enum(["connector"])
20275
+ }),
20276
+ object({
20277
+ kind: _enum(["platform"]),
20278
+ operationId: string2().min(1).max(128)
20279
+ }),
20280
+ object({
20281
+ kind: _enum(["proxy"]),
20282
+ toolId: string2().min(1).max(128)
20283
+ })
20284
+ ]),
20285
+ toolCallId: string2().min(1).max(256).optional()
20286
+ });
20287
+ var zExecuteActionApiToolControlPlaneActionsExecutePostResponse = record(string2(), unknown());
20288
+ var zExecuteLegacyActionApiToolControlPlaneActionsExecuteLegacyPostBody = object({
20289
+ actionRefs: array(union([
20290
+ object({
20291
+ capabilityId: string2().min(1).max(256),
20292
+ connectionId: string2().min(1).max(256),
20293
+ kind: _enum(["connector"])
20294
+ }),
20295
+ object({
20296
+ kind: _enum(["platform"]),
20297
+ operationId: string2().min(1).max(128)
20298
+ }),
20299
+ object({
20300
+ kind: _enum(["proxy"]),
20301
+ toolId: string2().min(1).max(128)
20302
+ })
20303
+ ])).max(500).optional(),
20304
+ arguments: record(string2(), unknown()),
20305
+ toolCallId: string2().min(1).max(256).optional(),
20306
+ wrapperName: string2().min(1).max(256)
20307
+ });
20308
+ var zExecuteLegacyActionApiToolControlPlaneActionsExecuteLegacyPostResponse = record(string2(), unknown());
19265
20309
  var zListCatalogApiToolControlPlaneCatalogGetHeaders = object({
19266
20310
  "X-Uru-Workspace-Id": string2().min(1).optional()
19267
20311
  });
@@ -19269,9 +20313,18 @@ var zListCatalogApiToolControlPlaneCatalogGetQuery = object({
19269
20313
  enabledOnly: _enum(["true", "false"]).optional().default("true")
19270
20314
  });
19271
20315
  var zListCatalogApiToolControlPlaneCatalogGetResponse = array(zCanonicalToolCatalogEntry);
20316
+ var zResolveToolActionCallNameHeaders = object({
20317
+ "X-Uru-Workspace-Id": string2().min(1).optional()
20318
+ });
20319
+ var zListToolActionSkeletonHeaders = object({
20320
+ "X-Uru-Workspace-Id": string2().min(1).optional()
20321
+ });
19272
20322
  var zPostCatalogContractsApiToolControlPlaneCatalogContractsPostHeaders = object({
19273
20323
  "X-Uru-Workspace-Id": string2().min(1).optional()
19274
20324
  });
20325
+ var zSearchToolActionsHeaders = object({
20326
+ "X-Uru-Workspace-Id": string2().min(1).optional()
20327
+ });
19275
20328
  var zGetCatalogSkeletonApiToolControlPlaneCatalogSkeletonGetHeaders = object({
19276
20329
  "X-Uru-Workspace-Id": string2().min(1).optional(),
19277
20330
  "if-none-match": string2().optional()
@@ -19344,6 +20397,14 @@ var zGetToolSchemaApiToolControlPlaneSchemaNamespaceSubToolNameGetQuery = object
19344
20397
  capabilityId: string2().optional(),
19345
20398
  connectionId: string2().min(1).max(256).optional()
19346
20399
  });
20400
+ var zGetToolOutputApiToolControlPlaneToolOutputGetPath = object({
20401
+ outputRef: string2().min(1).max(768)
20402
+ });
20403
+ var zGetToolOutputApiToolControlPlaneToolOutputGetQuery = object({
20404
+ offset: int().gte(0).lte(33554432).nullish(),
20405
+ limit: int().gte(1).lte(262144).optional()
20406
+ });
20407
+ var zGetToolOutputApiToolControlPlaneToolOutputGetResponse = string2();
19347
20408
  var zListWorkspaceToolsApiToolControlPlaneWorkspaceWorkspaceSlugGetPath = object({
19348
20409
  workspaceSlug: string2()
19349
20410
  });
@@ -19526,7 +20587,7 @@ function pickString(record2, keys) {
19526
20587
  // package.json
19527
20588
  var package_default = {
19528
20589
  name: "@uru-intelligence/cli",
19529
- version: "0.5.7",
20590
+ version: "0.5.9",
19530
20591
  private: false,
19531
20592
  description: "Uru full-platform command line interface",
19532
20593
  repository: {
@@ -19551,13 +20612,11 @@ var package_default = {
19551
20612
  access: "public"
19552
20613
  },
19553
20614
  scripts: {
19554
- lint: "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.config.mts .",
20615
+ lint: "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.config.mts . && node ../../scripts/checks/check-bun-test-integrity.mjs",
19555
20616
  "lint:fix": "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.config.mts --fix .",
19556
20617
  "type-check": "tsc --noEmit",
19557
- test: "bun test",
19558
- "test:unit": "bun test",
19559
- "test:safety": "node ../../scripts/ci/run-named-test-files.mjs bun test --files test/certified-tarball-inspection.test.ts test/command-spec.test.ts test/cli-auth-help.test.ts test/cli-distribution.test.ts test/cli-gem-lifecycle.test.ts test/cli-hardening.test.ts test/cli-login-cancellation.test.ts test/cli-login-noninteractive.test.ts test/cli-login-rejection.test.ts test/cli-mcp-auth-ux.test.ts test/cli-oauth-lifecycle.test.ts test/cli-oauth-offline.test.ts test/cli-openapi-contract.test.ts test/cli-token-env-run.test.ts test/cli-token-env.test.ts test/cli-tools-approve.test.ts test/cli-update-check.test.ts test/cli-update-notifier.test.ts test/cli-whoami-honesty.test.ts test/cli-workspace-organizations.test.ts test/credentials.test.ts test/held-idempotency-keys.test.ts test/oauth-callback.test.ts test/oauth-credential.test.ts test/oauth.test.ts test/publish-immutable-cli.test.ts test/stricli-compatibility.test.ts test/terminal-safety.test.ts",
19560
- ci: "bun run lint && bun run type-check && bun run test:unit && bun run docs:check && bun run changelog:check && bun run build && bun run smoke:package && bun run smoke:binaries",
20618
+ "test:safety": "node ../../scripts/ci/run-named-test-files.mjs bun test --files-from test-lists/test-safety.txt",
20619
+ ci: "bun run lint && bun run type-check && bun run test:safety && bun run docs:check && bun run changelog:check && bun run build && bun run smoke:package && bun run smoke:binaries",
19561
20620
  build: "node scripts/build.mjs && bun run check:dist-company-names",
19562
20621
  "check:dist-company-names": "bun ../../scripts/check-cli-dist-company-names.ts",
19563
20622
  prepack: "bun run build",
@@ -19566,13 +20625,11 @@ var package_default = {
19566
20625
  "changelog:check": "bun run --cwd ../.. release:changelog:check",
19567
20626
  "smoke:staging": "node scripts/staging-smoke.mjs",
19568
20627
  "smoke:package": "node scripts/package-smoke.mjs",
19569
- "smoke:mcp-pin": "node scripts/mcp-pin-smoke.mjs",
19570
20628
  "build:binaries": "node scripts/build-binaries.mjs",
19571
20629
  "build:binaries:matrix": "node scripts/build-binaries.mjs --all",
19572
20630
  "smoke:binaries": "node scripts/binary-smoke.mjs"
19573
20631
  },
19574
20632
  devDependencies: {
19575
- "@stricli/core": "1.3.0",
19576
20633
  "@types/node": "24.13.3",
19577
20634
  "@uru/api-client": "workspace:*",
19578
20635
  "@uru/platform-operations": "workspace:*",
@@ -19584,10 +20641,7 @@ var package_default = {
19584
20641
  engines: {
19585
20642
  node: ">=24"
19586
20643
  },
19587
- packageManager: "bun@1.3.14",
19588
- uru: {
19589
- mcpPackage: "uru-mcp@3.7.2"
19590
- }
20644
+ packageManager: "bun@1.3.14"
19591
20645
  };
19592
20646
 
19593
20647
  // src/types.ts
@@ -19721,6 +20775,9 @@ function requiredString(record2, key, label) {
19721
20775
  var SESSION_REFRESH_LEEWAY_MS = 5 * 60 * 1000;
19722
20776
 
19723
20777
  // src/client.ts
20778
+ var TOOL_OUTPUT_PAGE_BYTES = 256 * 1024;
20779
+ var TOOL_OUTPUT_REF_PATTERN = /^uru:tool-output:v1:[A-Za-z0-9_-]{1,512}$/u;
20780
+
19724
20781
  class UruApiClient {
19725
20782
  apiUrl;
19726
20783
  token;
@@ -19780,6 +20837,77 @@ class UruApiClient {
19780
20837
  async api(path, options) {
19781
20838
  return this.request(path, options);
19782
20839
  }
20840
+ async executeAction(ref, argumentsValue) {
20841
+ const body = await this.request("/api/tool-control-plane/actions/execute", {
20842
+ method: "POST",
20843
+ body: { ref, arguments: argumentsValue }
20844
+ });
20845
+ if (!isJsonObject(body))
20846
+ throw new CliError("The action returned an invalid result.");
20847
+ if (body["isError"] === true)
20848
+ throw nestedMcpToolError(body, argumentsValue);
20849
+ if (body["success"] === false)
20850
+ throw toolTransportError(body, argumentsValue);
20851
+ const nested = body["result"];
20852
+ if (isJsonObject(nested) && nested["isError"] === true)
20853
+ throw nestedMcpToolError(nested, argumentsValue);
20854
+ if (isJsonObject(nested) && isToolResultEnvelope(nested))
20855
+ throw toolTransportError(nested, argumentsValue);
20856
+ return body;
20857
+ }
20858
+ async readToolOutput(resultRef, options = {}) {
20859
+ if (!TOOL_OUTPUT_REF_PATTERN.test(resultRef)) {
20860
+ throw new CliError("The retained tool output reference is invalid.");
20861
+ }
20862
+ const offset = options.offset ?? 0;
20863
+ const limit = options.limit ?? TOOL_OUTPUT_PAGE_BYTES;
20864
+ if (!Number.isSafeInteger(offset) || offset < 0) {
20865
+ throw new CliError("--offset must be a non-negative whole number.");
20866
+ }
20867
+ if (!Number.isSafeInteger(limit) || limit < 1 || limit > TOOL_OUTPUT_PAGE_BYTES) {
20868
+ throw new CliError(`--limit must be a positive whole number up to ${TOOL_OUTPUT_PAGE_BYTES}.`);
20869
+ }
20870
+ const query = new URLSearchParams({ offset: String(offset), limit: String(limit) });
20871
+ const response = await this.fetchImpl(`${this.apiUrl}/api/tool-control-plane/tool-output/${encodeURIComponent(resultRef)}?${query.toString()}`, {
20872
+ method: "GET",
20873
+ ...this.signal === undefined ? {} : { signal: this.signal },
20874
+ headers: {
20875
+ Authorization: `Bearer ${this.token}`,
20876
+ Accept: "application/json",
20877
+ "X-Uru-Client-Name": "uru-cli",
20878
+ "X-Uru-Client-Version": CLI_VERSION,
20879
+ "X-Uru-Gem-Result-Schema": GEM_RESULT_SCHEMA_V1,
20880
+ ...this.workspaceId === undefined ? {} : { "X-Uru-Workspace-Id": this.workspaceId }
20881
+ }
20882
+ });
20883
+ const bytes = new Uint8Array(await response.arrayBuffer());
20884
+ if (!response.ok) {
20885
+ const text = new TextDecoder().decode(bytes);
20886
+ const body = parseResponseBody(text);
20887
+ if (!body.parsed) {
20888
+ throw nonJsonResponseError(response.status, response.headers.get("content-type"));
20889
+ }
20890
+ throw apiError(response.status, body.value, undefined);
20891
+ }
20892
+ const range = parseToolOutputContentRange(response.headers.get("content-range"));
20893
+ if (range === null || range.start !== offset || range.end < range.start) {
20894
+ throw new CliError("The retained tool output returned an invalid byte range.");
20895
+ }
20896
+ if (bytes.byteLength !== range.end - range.start + 1) {
20897
+ throw new CliError("The retained tool output returned incomplete bytes.");
20898
+ }
20899
+ const nextHeader = response.headers.get("x-uru-tool-output-next-offset");
20900
+ const nextOffset = nextHeader === null ? null : Number(nextHeader);
20901
+ if (nextOffset !== null && (!Number.isSafeInteger(nextOffset) || nextOffset <= offset || nextOffset >= range.total)) {
20902
+ throw new CliError("The retained tool output returned an invalid continuation offset.");
20903
+ }
20904
+ return {
20905
+ bytes,
20906
+ offset: range.start,
20907
+ totalBytes: range.total,
20908
+ nextOffset
20909
+ };
20910
+ }
19783
20911
  async request(path, options) {
19784
20912
  const init = {
19785
20913
  method: options.method,
@@ -19902,6 +21030,18 @@ function toolTransportResult(body, requestBody) {
19902
21030
  }
19903
21031
  return result;
19904
21032
  }
21033
+ function parseToolOutputContentRange(value) {
21034
+ const match = /^bytes (\d+)-(\d+)\/(\d+)$/u.exec(value ?? "");
21035
+ if (match === null)
21036
+ return null;
21037
+ const start = Number(match[1]);
21038
+ const end = Number(match[2]);
21039
+ const total = Number(match[3]);
21040
+ if (!Number.isSafeInteger(start) || !Number.isSafeInteger(end) || !Number.isSafeInteger(total) || start < 0 || end < start || total <= end) {
21041
+ return null;
21042
+ }
21043
+ return { start, end, total };
21044
+ }
19905
21045
  function isToolResultEnvelope(value) {
19906
21046
  return value["success"] === false && typeof value["toolId"] === "string" && typeof value["executionTimeMs"] === "number";
19907
21047
  }