@uru-intelligence/cli 0.4.19 → 0.5.1

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/library.mjs CHANGED
@@ -5868,6 +5868,17 @@ var zAppJobRun = object({
5868
5868
  inputSummary: record(string2(), unknown()).nullish(),
5869
5869
  jobKey: string2().nullish(),
5870
5870
  lastStatusAt: string2().nullish(),
5871
+ latestAttempt: object({
5872
+ attemptNumber: number2(),
5873
+ error: record(string2(), unknown()),
5874
+ hasCheckpoint: boolean2(),
5875
+ id: string2(),
5876
+ progress: record(string2(), unknown()),
5877
+ startedAt: string2(),
5878
+ status: string2(),
5879
+ stoppedAt: string2().nullable(),
5880
+ updatedAt: string2()
5881
+ }).nullish(),
5871
5882
  maxAttempts: number2().nullish(),
5872
5883
  metadata: record(string2(), unknown()).nullish(),
5873
5884
  nextRetryAt: string2().nullish(),
@@ -5906,6 +5917,10 @@ var zAppLogRecord = object({
5906
5917
  status: string2().nullish(),
5907
5918
  workspaceId: string2()
5908
5919
  });
5920
+ var zAppLogPage = object({
5921
+ logs: array(zAppLogRecord),
5922
+ nextCursor: string2().nullable()
5923
+ });
5909
5924
  var zAppPublishCheck = object({
5910
5925
  artifactId: string2(),
5911
5926
  checkKey: string2().nullish(),
@@ -5986,9 +6001,7 @@ var zAppResourceBindingUpsertRequest = object({
5986
6001
  "job",
5987
6002
  "endpoint",
5988
6003
  "storage"
5989
- ]),
5990
- toolCapabilityId: uuid2().nullish(),
5991
- toolConnectionId: string2().nullish()
6004
+ ])
5992
6005
  });
5993
6006
  var zAppRouteManifestRecord = object({
5994
6007
  accessPolicy: string2(),
@@ -6041,6 +6054,10 @@ var zAppRuntimeInvocationResponse = object({
6041
6054
  state: string2(),
6042
6055
  status: string2()
6043
6056
  });
6057
+ var zAppRuntimeLogStoreStatus = object({
6058
+ availability: _enum(["available", "not_configured", "unavailable"]),
6059
+ code: string2().nullish()
6060
+ });
6044
6061
  var zAppRuntimePowerAction = _enum(["stop", "start", "restart"]);
6045
6062
  var zAppRuntimePowerRequest = object({
6046
6063
  action: zAppRuntimePowerAction
@@ -6118,6 +6135,7 @@ var zAppReleaseOverview = object({
6118
6135
  environments: array(zAppEnvironment),
6119
6136
  jobRuns: array(zAppJobRun).optional(),
6120
6137
  linkTargets: array(zAppReleaseLinkTarget).optional(),
6138
+ logStoreStatus: zAppRuntimeLogStoreStatus.optional(),
6121
6139
  logs: array(zAppLogRecord),
6122
6140
  providerDeployments: array(zAppRuntimeProviderDeployment).optional(),
6123
6141
  providerReadiness: record(string2(), zAppRuntimeProviderReadinessReport).nullish(),
@@ -6126,8 +6144,7 @@ var zAppReleaseOverview = object({
6126
6144
  runtimeProfile: record(string2(), unknown()).nullable()
6127
6145
  });
6128
6146
  var zAppSafeBindingResolveRequest = object({
6129
- buildId: string2().min(1),
6130
- environmentKey: _enum(["preview", "release"]).optional().default("release")
6147
+ buildId: string2().min(1)
6131
6148
  });
6132
6149
  var zAppSafeBindingResolveResponse = object({
6133
6150
  artifactId: string2(),
@@ -6154,7 +6171,6 @@ var zAppSecretMetadata = object({
6154
6171
  workspaceId: string2()
6155
6172
  });
6156
6173
  var zAppSecretValueUpsertRequest = object({
6157
- environmentKey: _enum(["preview", "release"]).optional().default("release"),
6158
6174
  metadata: record(string2(), unknown()).optional().default({}),
6159
6175
  secretName: string2().min(1).max(128),
6160
6176
  secretValue: string2().min(1)
@@ -6243,6 +6259,38 @@ var zAppSupportBundleResponse = object({
6243
6259
  bundle: record(string2(), unknown()),
6244
6260
  record: zAppSupportBundleRecord
6245
6261
  });
6262
+ var zAppUploadCompleteResponse = object({
6263
+ cleanupFailed: boolean2(),
6264
+ contentType: string2(),
6265
+ filename: string2(),
6266
+ outcome: _enum([
6267
+ "verified",
6268
+ "pending",
6269
+ "absent",
6270
+ "expired",
6271
+ "unverifiable",
6272
+ "size_mismatch",
6273
+ "type_mismatch"
6274
+ ]),
6275
+ sizeBytes: number2().nullable(),
6276
+ state: _enum(["granted", "verified", "rejected", "expired"]),
6277
+ uploadId: string2()
6278
+ });
6279
+ var zAppUploadGrantRequest = strictObject({
6280
+ contentType: string2().min(3).max(255),
6281
+ filename: string2().min(1).max(255),
6282
+ sizeBytes: int().gte(1).lte(104857600)
6283
+ });
6284
+ var zAppUploadGrantResponse = object({
6285
+ contentType: string2(),
6286
+ expiresAt: string2(),
6287
+ filename: string2(),
6288
+ method: _enum(["PUT"]),
6289
+ requiredHeaders: record(string2(), string2()),
6290
+ sizeBytes: number2(),
6291
+ uploadId: string2(),
6292
+ uploadUrl: string2()
6293
+ });
6246
6294
  var zArtifactAiMessage = object({
6247
6295
  content: union([
6248
6296
  record(string2(), unknown()),
@@ -6286,6 +6334,15 @@ var zArtifactBuildDiagnostic = object({
6286
6334
  rawDiagnosticId: string2().nullish(),
6287
6335
  relatedLocations: array(zArtifactBuildDiagnosticLocation).optional().default([])
6288
6336
  });
6337
+ var zArtifactBuildJob = object({
6338
+ attempts: int().optional().default(0),
6339
+ createdAt: string2().nullish(),
6340
+ id: string2(),
6341
+ lastError: string2().nullish(),
6342
+ leaseExpiresAt: string2().nullish(),
6343
+ status: string2(),
6344
+ updatedAt: string2().nullish()
6345
+ }).nullable();
6289
6346
  var zArtifactBuildRequest = object({
6290
6347
  content: string2().nullish(),
6291
6348
  currentSourceRevisionId: string2().nullish(),
@@ -6496,6 +6553,7 @@ var zArtifactBuildDescriptor = object({
6496
6553
  assets: record(string2(), zArtifactFileDescriptor).optional(),
6497
6554
  buildDiagnostics: array(zArtifactBuildDiagnostic).optional().default([]),
6498
6555
  buildErrors: array(string2()).optional().default([]),
6556
+ buildJob: zArtifactBuildJob.optional(),
6499
6557
  buildPipelineVersion: string2().nullish(),
6500
6558
  buildStatus: string2().nullish(),
6501
6559
  bundleStatus: string2().nullish(),
@@ -7036,6 +7094,9 @@ var zClientIdMetadataDocument = object({
7036
7094
  scope: string2().min(1),
7037
7095
  token_endpoint_auth_method: _enum(["none"])
7038
7096
  });
7097
+ var zCloneArtifactRequest = object({
7098
+ sourceRevisionId: uuid2().optional()
7099
+ });
7039
7100
  var zCollectionGateAccessResponse = object({
7040
7101
  accessToken: string2(),
7041
7102
  expiresAt: string2(),
@@ -7566,6 +7627,13 @@ var zDebugEntityResponse = object({
7566
7627
  entityId: string2(),
7567
7628
  userId: string2()
7568
7629
  });
7630
+ var zDeleteGemVersionResponse = strictObject({
7631
+ deleted: literal(true),
7632
+ linksChanged: literal(false),
7633
+ sourceRevisionId: string2(),
7634
+ versionId: string2(),
7635
+ versionNumber: int()
7636
+ });
7569
7637
  var zDeleteNotificationsRequest = object({
7570
7638
  notificationIds: array(uuid2())
7571
7639
  });
@@ -7865,11 +7933,16 @@ var zGemEditsPage = strictObject({
7865
7933
  edits: array(zGemEdit),
7866
7934
  nextCursor: string2().nullable()
7867
7935
  });
7936
+ var zGemGitSourceBindingError = strictObject({
7937
+ at: exports_iso.datetime({ offset: true }),
7938
+ code: string2().min(1).max(128),
7939
+ message: string2().min(1).max(512)
7940
+ }).nullable();
7868
7941
  var zGemGitSourceCallbackRequest = strictObject({
7869
7942
  code: string2().min(1).max(2048).optional(),
7870
- installationId: string2().regex(/^[1-9][0-9]{0,19}$\/u/).optional(),
7943
+ installationId: string2().regex(/^[1-9][0-9]{0,19}$/).optional(),
7871
7944
  setupAction: _enum(["install", "update", "request"]).optional(),
7872
- state: string2().regex(/^[A-Za-z0-9_-]{43}$\/u/)
7945
+ state: string2().regex(/^[A-Za-z0-9_-]{43}$/)
7873
7946
  });
7874
7947
  var zGemGitSourceCommand = union([
7875
7948
  strictObject({
@@ -7877,7 +7950,7 @@ var zGemGitSourceCommand = union([
7877
7950
  }),
7878
7951
  strictObject({
7879
7952
  action: _enum(["retry"]),
7880
- idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]+$\/u/),
7953
+ idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]+$/),
7881
7954
  importId: uuid2()
7882
7955
  }),
7883
7956
  strictObject({
@@ -7897,14 +7970,14 @@ var zGemGitSourceCommand = union([
7897
7970
  }),
7898
7971
  strictObject({
7899
7972
  action: _enum(["create_branch_preview"]),
7900
- commitSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
7973
+ commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
7901
7974
  ref: string2().min(1).max(512)
7902
7975
  }),
7903
7976
  strictObject({
7904
7977
  action: _enum(["approve_preview"]),
7905
- headSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
7978
+ headSha: string2().regex(/^[0-9a-fA-F]{40}$/),
7906
7979
  previewId: uuid2(),
7907
- resourcePolicyHash: string2().regex(/^[0-9a-f]{64}$\/iu/)
7980
+ resourcePolicyHash: string2().regex(/^[0-9a-fA-F]{64}$/)
7908
7981
  }),
7909
7982
  strictObject({
7910
7983
  action: _enum(["expire_preview"]),
@@ -7921,7 +7994,7 @@ var zGemGitSourceCommand = union([
7921
7994
  strictObject({
7922
7995
  action: _enum(["change_source"]),
7923
7996
  appDirectory: string2().max(240),
7924
- commitSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
7997
+ commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
7925
7998
  expectedRevision: int().gt(0),
7926
7999
  ref: string2().min(1).max(512)
7927
8000
  })
@@ -7929,13 +8002,23 @@ var zGemGitSourceCommand = union([
7929
8002
  var zGemGitSourceConnectRequest = strictObject({
7930
8003
  appDirectory: string2().max(240),
7931
8004
  automaticPublishing: boolean2(),
7932
- commitSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
8005
+ commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
7933
8006
  connectionId: uuid2(),
7934
8007
  folderId: uuid2().nullish(),
7935
- idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]+$\/u/),
8008
+ idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]+$/),
7936
8009
  previewsEnabled: boolean2(),
7937
8010
  ref: string2().min(1).max(512),
7938
- repositoryId: string2().regex(/^[1-9][0-9]{0,19}$\/u/),
8011
+ repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/),
8012
+ title: string2().min(1).max(256)
8013
+ });
8014
+ var zGemGitSourceCopyResult = strictObject({
8015
+ artifactId: uuid2(),
8016
+ copiedFromArtifactId: uuid2(),
8017
+ copiedFromCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
8018
+ copiedFromVersionId: uuid2(),
8019
+ copiedFromVersionNumber: int().gte(1),
8020
+ libraryItemId: uuid2().nullable(),
8021
+ slug: string2().min(1).max(256),
7939
8022
  title: string2().min(1).max(256)
7940
8023
  });
7941
8024
  var zGemGitSourceImportError = strictObject({
@@ -7946,7 +8029,7 @@ var zGemGitSourceImport = strictObject({
7946
8029
  attempt: int().gte(0),
7947
8030
  buildId: uuid2().nullable(),
7948
8031
  commitMessage: string2().max(16384),
7949
- commitSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
8032
+ commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
7950
8033
  completedAt: exports_iso.datetime({ offset: true }).nullable(),
7951
8034
  createdAt: exports_iso.datetime({ offset: true }),
7952
8035
  error: zGemGitSourceImportError,
@@ -7966,13 +8049,11 @@ var zGemGitSourceImport = strictObject({
7966
8049
  "queued",
7967
8050
  "fetching",
7968
8051
  "validating",
7969
- "needs_version",
7970
8052
  "preparing",
7971
8053
  "ready",
7972
8054
  "needs_access",
7973
8055
  "needs_configuration",
7974
8056
  "needs_resource_grant",
7975
- "budget_blocked",
7976
8057
  "failed",
7977
8058
  "canceled",
7978
8059
  "superseded"
@@ -7984,7 +8065,7 @@ var zGemGitSourceInspectRequest = strictObject({
7984
8065
  appDirectory: string2().max(240),
7985
8066
  connectionId: uuid2(),
7986
8067
  ref: string2().min(1).max(512),
7987
- repositoryId: string2().regex(/^[1-9][0-9]{0,19}$\/u/)
8068
+ repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/)
7988
8069
  });
7989
8070
  var zGemGitSourceInspectionDiagnostic = strictObject({
7990
8071
  code: string2().min(1).max(128),
@@ -7995,14 +8076,14 @@ var zGemGitSourceInspection = strictObject({
7995
8076
  appDirectory: string2().max(240),
7996
8077
  candidateDirectories: array(string2().max(240)).max(5000),
7997
8078
  commitMessage: string2().max(16384),
7998
- commitSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
8079
+ commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
7999
8080
  connectionId: uuid2(),
8000
8081
  diagnostics: array(zGemGitSourceInspectionDiagnostic).max(100),
8001
8082
  fileCount: int().gte(0).lte(5000),
8002
8083
  framework: string2().max(128).nullable(),
8003
8084
  proposedConfiguration: string2().max(65536).nullable(),
8004
8085
  ref: string2().min(1).max(512),
8005
- repositoryId: string2().regex(/^[1-9][0-9]{0,19}$\/u/),
8086
+ repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/),
8006
8087
  resourceNeeds: array(object({
8007
8088
  kind: string2().min(1).max(128),
8008
8089
  name: string2().min(1).max(512)
@@ -8011,12 +8092,12 @@ var zGemGitSourceInspection = strictObject({
8011
8092
  totalBytes: int().gte(0).lte(25165824)
8012
8093
  });
8013
8094
  var zGemGitSourcePreview = strictObject({
8014
- approvedHeadSha: string2().regex(/^[0-9a-f]{40}$\/iu/).nullable(),
8095
+ approvedHeadSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
8015
8096
  canOpen: boolean2(),
8016
8097
  error: zGemGitSourceImportError,
8017
8098
  expiresAt: exports_iso.datetime({ offset: true }),
8018
8099
  fork: boolean2(),
8019
- headSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
8100
+ headSha: string2().regex(/^[0-9a-fA-F]{40}$/),
8020
8101
  id: uuid2(),
8021
8102
  pullRequestNumber: int().gt(0).nullable(),
8022
8103
  ref: string2().min(1).max(512),
@@ -8031,12 +8112,12 @@ var zGemGitSourcePreview = strictObject({
8031
8112
  title: string2().max(16384)
8032
8113
  });
8033
8114
  var zGemGitSourcePreviewInspectRequest = strictObject({
8034
- headSha: string2().regex(/^[0-9a-f]{40}$\/iu/)
8115
+ headSha: string2().regex(/^[0-9a-fA-F]{40}$/)
8035
8116
  });
8036
8117
  var zGemGitSourcePreviewInspection = strictObject({
8037
8118
  appDirectory: string2().max(240),
8038
8119
  diagnostics: array(zGemGitSourceInspectionDiagnostic).max(100),
8039
- headSha: string2().regex(/^[0-9a-f]{40}$\/iu/),
8120
+ headSha: string2().regex(/^[0-9a-fA-F]{40}$/),
8040
8121
  previewId: uuid2(),
8041
8122
  proposedConfiguration: string2().max(65536).nullable(),
8042
8123
  ref: string2().min(1).max(512),
@@ -8044,26 +8125,33 @@ var zGemGitSourcePreviewInspection = strictObject({
8044
8125
  kind: string2().min(1).max(128),
8045
8126
  name: string2().min(1).max(512)
8046
8127
  })).max(100),
8047
- resourcePolicyHash: string2().regex(/^[0-9a-f]{64}$\/iu/).nullable(),
8128
+ resourcePolicyHash: string2().regex(/^[0-9a-fA-F]{64}$/).nullable(),
8048
8129
  state: _enum(["ready", "needs_configuration", "rejected"])
8049
8130
  });
8050
- var zGemGitSourceRefs = array(object({
8131
+ var zGemGitSourceRef = strictObject({
8051
8132
  kind: _enum(["branch", "tag"]),
8052
8133
  name: string2().min(1).max(512),
8053
8134
  ref: string2().min(1).max(512)
8054
- })).max(2000);
8135
+ });
8136
+ var zGemGitSourceRefs = strictObject({
8137
+ defaultBranch: zGemGitSourceRef,
8138
+ nextPage: int().gte(2).lte(100).nullable(),
8139
+ refs: array(zGemGitSourceRef).max(300)
8140
+ });
8055
8141
  var zGemGitSourceRefsRequest = strictObject({
8056
8142
  connectionId: uuid2(),
8057
- repositoryId: string2().regex(/^[1-9][0-9]{0,19}$\/u/)
8143
+ page: int().gte(1).lte(100).optional(),
8144
+ query: string2().max(512).optional(),
8145
+ repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/)
8058
8146
  });
8059
8147
  var zGemGitSourceRepository = strictObject({
8060
8148
  connectionId: uuid2(),
8061
8149
  defaultBranch: string2().min(1).max(512),
8062
- installationId: string2().regex(/^[1-9][0-9]{0,19}$\/u/),
8150
+ installationId: string2().regex(/^[1-9][0-9]{0,19}$/),
8063
8151
  name: string2().min(1).max(255),
8064
8152
  owner: string2().min(1).max(255),
8065
8153
  private: boolean2(),
8066
- repositoryId: string2().regex(/^[1-9][0-9]{0,19}$\/u/),
8154
+ repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/),
8067
8155
  url: url().max(2048)
8068
8156
  });
8069
8157
  var zGemGitSourceConnection = strictObject({
@@ -8104,11 +8192,12 @@ var zGemGitSourceState = strictObject({
8104
8192
  access: _enum(["active", "suspended", "revoked", "needs_access"]),
8105
8193
  active: boolean2(),
8106
8194
  appDirectory: string2().max(240),
8107
- currentCommitSha: string2().regex(/^[0-9a-f]{40}$\/iu/).nullable(),
8108
- desiredCommitSha: string2().regex(/^[0-9a-f]{40}$\/iu/).nullable(),
8195
+ currentCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
8196
+ desiredCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
8109
8197
  generation: int().gte(0),
8110
8198
  id: uuid2(),
8111
- lastBuiltCommitSha: string2().regex(/^[0-9a-f]{40}$\/iu/).nullable(),
8199
+ lastBuiltCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
8200
+ lastError: zGemGitSourceBindingError,
8112
8201
  ref: string2().min(1).max(512),
8113
8202
  repository: zGemGitSourceRepository
8114
8203
  }).nullable(),
@@ -8927,6 +9016,7 @@ var zLibraryExternalSourceStatus = _enum([
8927
9016
  "pending",
8928
9017
  "ready",
8929
9018
  "syncing",
9019
+ "deleting",
8930
9020
  "error",
8931
9021
  "rebind_required"
8932
9022
  ]);
@@ -9722,6 +9812,24 @@ var zModelRelayForwardRequest = strictObject({
9722
9812
  opaqueToken: string2().min(1),
9723
9813
  provider: string2().min(1)
9724
9814
  });
9815
+ var zModelRelayImageRequest = strictObject({
9816
+ opaqueToken: string2().min(1),
9817
+ outputFormat: _enum(["png", "jpeg", "webp"]).optional().default("png"),
9818
+ prompt: string2().min(1).max(4000),
9819
+ quality: _enum(["low", "medium", "high", "auto"]).optional().default("auto"),
9820
+ size: _enum(["1024x1024", "1536x1024", "1024x1536", "auto"]).optional().default("auto")
9821
+ });
9822
+ var zModelRelayImageResponse = object({
9823
+ costUsd: string2(),
9824
+ imageBase64: string2(),
9825
+ mimeType: string2(),
9826
+ model: string2(),
9827
+ usage: object({
9828
+ imageOutputTokens: int().gte(0),
9829
+ inputTokens: int().gte(0),
9830
+ textOutputTokens: int().gte(0)
9831
+ })
9832
+ });
9725
9833
  var zModelRelayKillSwitchEngageRequest = object({
9726
9834
  reason: string2().min(1)
9727
9835
  });
@@ -10192,6 +10300,15 @@ var zProtectedResourceMetadata = object({
10192
10300
  });
10193
10301
  var zProviderAppRuntimePanelLogsResponse = object({
10194
10302
  deploymentId: string2(),
10303
+ logStatus: object({
10304
+ code: string2().nullable(),
10305
+ historicalComplete: boolean2(),
10306
+ sink: object({
10307
+ availability: _enum(["available", "not_configured", "unavailable"]),
10308
+ code: string2().nullable()
10309
+ }),
10310
+ state: _enum(["complete", "partial", "delayed", "lost"])
10311
+ }),
10195
10312
  logs: array(object({
10196
10313
  capabilityName: string2().nullable(),
10197
10314
  durationMs: number2().nullable(),
@@ -10201,7 +10318,7 @@ var zProviderAppRuntimePanelLogsResponse = object({
10201
10318
  message: string2().nullable(),
10202
10319
  metadata: record(string2(), unknown()),
10203
10320
  requestId: string2().nullable(),
10204
- source: _enum(["app_logs", "tenant_tail"]),
10321
+ source: _enum(["app_logs", "tenant_tail", "tenant_loki"]),
10205
10322
  status: string2().nullable(),
10206
10323
  timestamp: string2()
10207
10324
  })),
@@ -10533,6 +10650,10 @@ var zRestoreGemVersionResponse = strictObject({
10533
10650
  var zRetryGemReleaseRequest = strictObject({
10534
10651
  idempotencyKey: string2().min(1).max(128)
10535
10652
  });
10653
+ var zRetryGemVersionResponse = strictObject({
10654
+ linksChanged: literal(false),
10655
+ version: zGemVersion
10656
+ });
10536
10657
  var zRevokeCrossWorkspaceShareRequest = object({
10537
10658
  reason: string2().nullish(),
10538
10659
  shareId: uuid2()
@@ -10822,6 +10943,7 @@ var zPersonaIntegrationResponse = object({
10822
10943
  data: zPersonaIntegration
10823
10944
  });
10824
10945
  var zSupabaseExternalDatasetWebhookRequest = object({
10946
+ eventId: string2().min(1).max(64).optional(),
10825
10947
  schema: string2().nullish(),
10826
10948
  table: string2().nullish()
10827
10949
  });
@@ -11747,6 +11869,7 @@ var zThreadMessagePart = union([
11747
11869
  "provider_content_filtered",
11748
11870
  "context_window_exceeded",
11749
11871
  "compaction_loop_exceeded",
11872
+ "compaction_refused",
11750
11873
  "automation_turn_budget_exceeded",
11751
11874
  "output_length_limit_reached",
11752
11875
  "out_of_usage",
@@ -12201,6 +12324,10 @@ var zUpdateConnectionLabelResponse = object({
12201
12324
  var zUpdateExternalPermissionsRequest = object({
12202
12325
  permissions: zExternalPermissions
12203
12326
  });
12327
+ var zUpdateLibraryExternalSourceRequest = object({
12328
+ enabled: boolean2().optional(),
12329
+ syncIntervalMinutes: int().gte(1).lte(10080).optional()
12330
+ });
12204
12331
  var zUpdatePersonaIdentity = object({
12205
12332
  avatarUrl: string2().nullish(),
12206
12333
  departments: array(string2()).nullish(),
@@ -12254,7 +12381,7 @@ var zUpdatePersonaRequest = object({
12254
12381
  var zUpdatePublishedPageLinkGateRequest = object({
12255
12382
  emailAllowlist: array(string2()).nullish(),
12256
12383
  emailGateEnabled: boolean2().nullish(),
12257
- expiresAt: string2().nullish(),
12384
+ expiresAt: exports_iso.datetime({ offset: true }).nullish(),
12258
12385
  gateType: _enum(["none", "passcode", "email_otp", "passcode_email_otp"]).nullish(),
12259
12386
  passcode: string2().max(128).nullish(),
12260
12387
  searchIndexingDisabled: boolean2().nullish(),
@@ -12832,7 +12959,13 @@ var zGetToolAccessMatrixApiAccessControlToolsToolMatrixGetPath = object({
12832
12959
  });
12833
12960
  var zGetAdminAuditLogApiAdminAuditLogGetQuery = object({
12834
12961
  limit: int().gte(1).lte(100).optional().default(50),
12835
- offset: int().gte(0).nullish().default(0)
12962
+ offset: int().gte(0).nullish().default(0),
12963
+ actorUserId: string2().optional(),
12964
+ action: string2().min(1).max(120).optional(),
12965
+ targetType: string2().min(1).max(80).optional(),
12966
+ targetId: string2().min(1).max(200).optional(),
12967
+ since: exports_iso.datetime({ offset: true }).optional(),
12968
+ until: exports_iso.datetime({ offset: true }).optional()
12836
12969
  });
12837
12970
  var zAdminListInvitationsApiAdminInvitationsGetQuery = object({
12838
12971
  limit: int().gte(1).lte(100).optional().default(50),
@@ -13822,9 +13955,25 @@ var zGetAvailableModelsApiModelsAvailableGetQuery = object({
13822
13955
  });
13823
13956
  var zExportActivityLogsApiMonitoringActivityExportGetQuery = object({
13824
13957
  dateRange: string2().optional().default("7d"),
13825
- format: string2().optional().default("json")
13958
+ format: string2().optional().default("json"),
13959
+ action: string2().nullish(),
13960
+ resourceType: string2().nullish(),
13961
+ actorUserId: string2().nullish()
13826
13962
  });
13827
13963
  var zExportActivityLogsApiMonitoringActivityExportGetResponse = record(string2(), unknown());
13964
+ var zListAuditLedgerApiMonitoringActivityLedgersLedgerGetPath = object({
13965
+ ledger: _enum([
13966
+ "rubric_events",
13967
+ "webhook_credential_events",
13968
+ "dataset_sql_writes"
13969
+ ])
13970
+ });
13971
+ var zListAuditLedgerApiMonitoringActivityLedgersLedgerGetQuery = object({
13972
+ page: int().gte(1).optional().default(1),
13973
+ pageSize: int().gte(1).lte(200).optional().default(50),
13974
+ dateRange: string2().optional().default("7d")
13975
+ });
13976
+ var zListAuditLedgerApiMonitoringActivityLedgersLedgerGetResponse = record(string2(), unknown());
13828
13977
  var zGetRecentActivityApiMonitoringActivityRecentGetQuery = object({
13829
13978
  limit: int().gte(1).lte(500).optional().default(100)
13830
13979
  });
@@ -14281,11 +14430,14 @@ var zListAppLogsApiPlatformArtifactsArtifactSlugAppLogsGetPath = object({
14281
14430
  var zListAppLogsApiPlatformArtifactsArtifactSlugAppLogsGetQuery = object({
14282
14431
  limit: int().gte(1).lte(500).optional().default(100),
14283
14432
  deploymentId: string2().nullish(),
14433
+ releaseId: string2().nullish(),
14284
14434
  runtimeRunId: string2().nullish(),
14285
14435
  level: string2().nullish(),
14286
- requestId: string2().nullish()
14436
+ requestId: string2().nullish(),
14437
+ cursor: string2().nullish(),
14438
+ since: string2().nullish(),
14439
+ until: string2().nullish()
14287
14440
  });
14288
- var zListAppLogsApiPlatformArtifactsArtifactSlugAppLogsGetResponse = array(zAppLogRecord);
14289
14441
  var zStreamAppLogsApiPlatformArtifactsArtifactSlugAppLogsStreamGetPath = object({
14290
14442
  artifactSlug: string2()
14291
14443
  });
@@ -14296,7 +14448,9 @@ var zStreamAppLogsApiPlatformArtifactsArtifactSlugAppLogsStreamGetQuery = object
14296
14448
  releaseId: string2().nullish(),
14297
14449
  runtimeRunId: string2().nullish(),
14298
14450
  level: string2().nullish(),
14299
- requestId: string2().nullish()
14451
+ requestId: string2().nullish(),
14452
+ since: string2().nullish(),
14453
+ until: string2().nullish()
14300
14454
  });
14301
14455
  var zStreamAppLogsApiPlatformArtifactsArtifactSlugAppLogsStreamGetResponse = string2();
14302
14456
  var zGetAppReleaseOverviewApiPlatformArtifactsArtifactSlugAppReleaseOverviewGetPath = object({
@@ -15062,6 +15216,8 @@ var zDatasetExternalSourceGetResponse = object({
15062
15216
  relationName: string2().nullable(),
15063
15217
  relationSchema: string2().nullable(),
15064
15218
  supabaseRef: string2(),
15219
+ syncIntervalSeconds: int(),
15220
+ syncMode: _enum(["manual", "scheduled"]),
15065
15221
  workspaceId: string2().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/),
15066
15222
  writeEnabled: boolean2().nullable()
15067
15223
  }).nullable();
@@ -15084,6 +15240,8 @@ var zDatasetExternalSourcePutBody = object({
15084
15240
  relationName: string2().nullish().default(null),
15085
15241
  relationSchema: string2().nullish().default(null),
15086
15242
  supabaseRef: string2().min(1),
15243
+ syncIntervalSeconds: int().gte(60).lte(86400).optional().default(1800),
15244
+ syncMode: _enum(["manual", "scheduled"]).optional().default("manual"),
15087
15245
  writeEnabled: boolean2().nullish().default(null)
15088
15246
  });
15089
15247
  var zDatasetExternalSourcePutPath = object({
@@ -15112,9 +15270,38 @@ var zDatasetExternalSourcePutResponse = object({
15112
15270
  relationName: string2().nullable(),
15113
15271
  relationSchema: string2().nullable(),
15114
15272
  supabaseRef: string2(),
15273
+ syncIntervalSeconds: int(),
15274
+ syncMode: _enum(["manual", "scheduled"]),
15115
15275
  workspaceId: string2().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/),
15116
15276
  writeEnabled: boolean2().nullable()
15117
15277
  });
15278
+ var zDatasetExternalSourceSyncBody = strictObject({
15279
+ expectedDatasetRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
15280
+ expectedSchemaRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
15281
+ idempotencyKey: string2().min(1).max(128)
15282
+ });
15283
+ var zDatasetExternalSourceSyncPath = object({
15284
+ datasetId: string2().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/)
15285
+ });
15286
+ var zDatasetExternalSourceSyncResponse = object({
15287
+ commandId: string2().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/),
15288
+ currentDatasetRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
15289
+ currentSchemaRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
15290
+ datasetId: string2().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/),
15291
+ jobId: string2().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/),
15292
+ operation: _enum(["external_source"]),
15293
+ replayed: boolean2(),
15294
+ state: _enum([
15295
+ "queued",
15296
+ "claimed",
15297
+ "running",
15298
+ "cancelRequested",
15299
+ "finalizing",
15300
+ "succeeded",
15301
+ "failed",
15302
+ "cancelled"
15303
+ ])
15304
+ });
15118
15305
  var zDatasetExternalSourceTestBody = object({
15119
15306
  allowedColumns: array(string2().min(1)).nullish().default(null),
15120
15307
  allowedWriteColumns: array(string2()).nullish().default(null),
@@ -15134,6 +15321,8 @@ var zDatasetExternalSourceTestBody = object({
15134
15321
  relationName: string2().nullish().default(null),
15135
15322
  relationSchema: string2().nullish().default(null),
15136
15323
  supabaseRef: string2().min(1),
15324
+ syncIntervalSeconds: int().gte(60).lte(86400).optional().default(1800),
15325
+ syncMode: _enum(["manual", "scheduled"]).optional().default("manual"),
15137
15326
  writeEnabled: boolean2().nullish().default(null)
15138
15327
  });
15139
15328
  var zDatasetExternalSourceTestPath = object({
@@ -15880,6 +16069,9 @@ var zGetFrictionReportCleanupResponse = object({
15880
16069
  severity: string2(),
15881
16070
  status: string2()
15882
16071
  });
16072
+ var zDeleteGemLinkHeaders = object({
16073
+ "idempotency-key": string2().min(1).max(200)
16074
+ });
15883
16075
  var zDeleteGemLinkPath = object({
15884
16076
  linkId: string2()
15885
16077
  });
@@ -15891,10 +16083,16 @@ var zUpdateGemLinkAccessResponse = record(string2(), unknown());
15891
16083
  var zCreateGemLinkEmailCaptureDatasetPath = object({
15892
16084
  linkId: string2()
15893
16085
  });
16086
+ var zRevokeGemLinkHeaders = object({
16087
+ "idempotency-key": string2().min(1).max(200)
16088
+ });
15894
16089
  var zRevokeGemLinkPath = object({
15895
16090
  linkId: string2()
15896
16091
  });
15897
16092
  var zRevokeGemLinkResponse = record(string2(), unknown());
16093
+ var zRotateGemLinkHeaders = object({
16094
+ "idempotency-key": string2().min(1).max(200)
16095
+ });
15898
16096
  var zRotateGemLinkPath = object({
15899
16097
  linkId: string2()
15900
16098
  });
@@ -16000,6 +16198,10 @@ var zDiffGemVersionsQuery = object({
16000
16198
  fromVersion: string2().min(1),
16001
16199
  toVersion: string2().min(1)
16002
16200
  });
16201
+ var zDeleteGemVersionPath = object({
16202
+ gemRef: string2().min(1),
16203
+ resourceId: string2().min(1)
16204
+ });
16003
16205
  var zGetGemVersionPath = object({
16004
16206
  gemRef: string2().min(1),
16005
16207
  resourceId: string2().min(1)
@@ -16012,6 +16214,10 @@ var zRestoreGemVersionPath = object({
16012
16214
  gemRef: string2().min(1),
16013
16215
  resourceId: string2().min(1)
16014
16216
  });
16217
+ var zRetryGemVersionPath = object({
16218
+ gemRef: string2().min(1),
16219
+ resourceId: string2().min(1)
16220
+ });
16015
16221
  var zGetAvailableLibrariesApiPlatformLibrariesAvailableGetResponse = record(string2(), unknown());
16016
16222
  var zGetAvailableIconsApiPlatformLibrariesIconsGetResponse = record(string2(), unknown());
16017
16223
  var zGetLibrariesManifestApiPlatformLibrariesManifestGetResponse = record(string2(), unknown());
@@ -16036,9 +16242,24 @@ var zDeleteLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdDeleteP
16036
16242
  var zGetLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdGetPath = object({
16037
16243
  sourceId: string2()
16038
16244
  });
16245
+ var zUpdateLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdPatchPath = object({
16246
+ sourceId: string2()
16247
+ });
16248
+ var zCancelLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdCancelPostPath = object({
16249
+ sourceId: string2()
16250
+ });
16251
+ var zPauseLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdPausePostPath = object({
16252
+ sourceId: string2()
16253
+ });
16039
16254
  var zRebindLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdRebindPostPath = object({
16040
16255
  sourceId: string2()
16041
16256
  });
16257
+ var zResumeLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdResumePostPath = object({
16258
+ sourceId: string2()
16259
+ });
16260
+ var zRunNowLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdRunNowPostPath = object({
16261
+ sourceId: string2()
16262
+ });
16042
16263
  var zSyncLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdSyncPostPath = object({
16043
16264
  sourceId: string2()
16044
16265
  });
@@ -16658,8 +16879,9 @@ var zGetPublishedPagePreviewImageApiPublicPagesSlugPreviewImagePublicPreviewRout
16658
16879
  var zPublicArtifactToolProxyExecuteApiPublicPagesSlugToolProxyExecutePostBody = strictObject({
16659
16880
  forceRefresh: boolean2().optional().default(false),
16660
16881
  idempotencyKey: string2().max(128).nullish(),
16661
- operation: string2().min(1).max(256).regex(/^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)*$/),
16882
+ operation: string2().min(1).max(256),
16662
16883
  parameters: record(string2(), unknown()).optional().default({}),
16884
+ requestId: string2().regex(/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/).optional(),
16663
16885
  role: string2().min(1).max(64).regex(/^[a-z][a-z0-9_]{0,63}$/),
16664
16886
  timeoutMs: int().gte(1000).lte(60000).optional().default(25000)
16665
16887
  });
@@ -16748,6 +16970,13 @@ var zInvokeAppQueryApiRuntimeAppsDeploymentIdQueryCapabilityNamePostPath = objec
16748
16970
  var zAppRuntimeStorageExecutePath = object({
16749
16971
  deploymentId: uuid2()
16750
16972
  });
16973
+ var zAppRuntimeUploadGrantCreatePath = object({
16974
+ deploymentId: uuid2()
16975
+ });
16976
+ var zAppRuntimeUploadGrantCompletePath = object({
16977
+ deploymentId: uuid2(),
16978
+ uploadId: uuid2()
16979
+ });
16751
16980
  var zProviderInvokeAppActionApiRuntimeProviderAppsDeploymentIdActionCapabilityNamePostPath = object({
16752
16981
  deploymentId: string2(),
16753
16982
  capabilityName: string2()
@@ -16782,6 +17011,14 @@ var zCspViolationReportApiSecurityCspViolationReportPostBody = string2().default
16782
17011
  var zThreadShareReadPath = object({
16783
17012
  shareId: string2().min(1).max(128)
16784
17013
  });
17014
+ var zThreadShareFileContentHeaders = object({
17015
+ Range: string2().optional()
17016
+ });
17017
+ var zThreadShareFileContentPath = object({
17018
+ shareId: string2().min(1).max(128),
17019
+ fileId: string2().min(1).max(200)
17020
+ });
17021
+ var zThreadShareFileContentResponse = string2();
16785
17022
  var zBackfillSharedContentMetadataApiSharingBackfillMetadataPostResponse = record(string2(), string2());
16786
17023
  var zDeleteNotificationsApiSharingNotificationsDeleteResponse = record(string2(), unknown());
16787
17024
  var zGetNotificationsApiSharingNotificationsGetQuery = object({
@@ -17216,6 +17453,9 @@ var zGetGemGitSourcePath = object({
17216
17453
  var zCommandGemGitSourcePath = object({
17217
17454
  artifactId: uuid2()
17218
17455
  });
17456
+ var zCopyGemGitSourcePath = object({
17457
+ artifactId: uuid2()
17458
+ });
17219
17459
  var zInspectGemGitPreviewPath = object({
17220
17460
  artifactId: uuid2(),
17221
17461
  previewId: uuid2()
@@ -17277,6 +17517,17 @@ var zRobotsTxtRobotsTxtGetResponse = string2();
17277
17517
 
17278
17518
  // ../../packages/types/src/mcp/gemResult.ts
17279
17519
  var GEM_RESULT_SCHEMA_V1 = "uru.gem.result.v1";
17520
+ // src/terminal-safety.ts
17521
+ function stripTerminalControl(value) {
17522
+ let out = "";
17523
+ for (const ch of value) {
17524
+ const code = ch.codePointAt(0) ?? 0;
17525
+ const isControl = code < 32 && code !== 10 && code !== 9 || code === 127 || code >= 128 && code <= 159;
17526
+ out += isControl ? "�" : ch;
17527
+ }
17528
+ return out;
17529
+ }
17530
+
17280
17531
  // src/json.ts
17281
17532
  function isRecord(value) {
17282
17533
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -17311,7 +17562,7 @@ function pickString(record2, keys) {
17311
17562
  // package.json
17312
17563
  var package_default = {
17313
17564
  name: "@uru-intelligence/cli",
17314
- version: "0.4.19",
17565
+ version: "0.5.1",
17315
17566
  private: false,
17316
17567
  description: "Uru full-platform command line interface",
17317
17568
  repository: {
@@ -17425,17 +17676,6 @@ function defaultCliErrorCode(exitCode) {
17425
17676
  }
17426
17677
  }
17427
17678
 
17428
- // src/gem-panel-client.ts
17429
- function stripTerminalControl(value) {
17430
- let out = "";
17431
- for (const ch of value) {
17432
- const code = ch.codePointAt(0) ?? 0;
17433
- const isControl = code < 32 && code !== 10 && code !== 9 || code === 127 || code >= 128 && code <= 159;
17434
- out += isControl ? "�" : ch;
17435
- }
17436
- return out;
17437
- }
17438
-
17439
17679
  // src/gem-result.ts
17440
17680
  function gemEnvelope(body, operation) {
17441
17681
  if (!isRecord(body) || body["schema"] !== GEM_RESULT_SCHEMA_V1) {