@uru-intelligence/cli 0.4.19 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/library.mjs +263 -55
- package/dist/uru.mjs +1059 -230
- package/package.json +1 -1
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()),
|
|
@@ -7865,11 +7913,16 @@ var zGemEditsPage = strictObject({
|
|
|
7865
7913
|
edits: array(zGemEdit),
|
|
7866
7914
|
nextCursor: string2().nullable()
|
|
7867
7915
|
});
|
|
7916
|
+
var zGemGitSourceBindingError = strictObject({
|
|
7917
|
+
at: exports_iso.datetime({ offset: true }),
|
|
7918
|
+
code: string2().min(1).max(128),
|
|
7919
|
+
message: string2().min(1).max(512)
|
|
7920
|
+
}).nullable();
|
|
7868
7921
|
var zGemGitSourceCallbackRequest = strictObject({
|
|
7869
7922
|
code: string2().min(1).max(2048).optional(),
|
|
7870
|
-
installationId: string2().regex(/^[1-9][0-9]{0,19}
|
|
7923
|
+
installationId: string2().regex(/^[1-9][0-9]{0,19}$/).optional(),
|
|
7871
7924
|
setupAction: _enum(["install", "update", "request"]).optional(),
|
|
7872
|
-
state: string2().regex(/^[A-Za-z0-9_-]{43}
|
|
7925
|
+
state: string2().regex(/^[A-Za-z0-9_-]{43}$/)
|
|
7873
7926
|
});
|
|
7874
7927
|
var zGemGitSourceCommand = union([
|
|
7875
7928
|
strictObject({
|
|
@@ -7877,7 +7930,7 @@ var zGemGitSourceCommand = union([
|
|
|
7877
7930
|
}),
|
|
7878
7931
|
strictObject({
|
|
7879
7932
|
action: _enum(["retry"]),
|
|
7880
|
-
idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]
|
|
7933
|
+
idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]+$/),
|
|
7881
7934
|
importId: uuid2()
|
|
7882
7935
|
}),
|
|
7883
7936
|
strictObject({
|
|
@@ -7897,14 +7950,14 @@ var zGemGitSourceCommand = union([
|
|
|
7897
7950
|
}),
|
|
7898
7951
|
strictObject({
|
|
7899
7952
|
action: _enum(["create_branch_preview"]),
|
|
7900
|
-
commitSha: string2().regex(/^[0-9a-
|
|
7953
|
+
commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
7901
7954
|
ref: string2().min(1).max(512)
|
|
7902
7955
|
}),
|
|
7903
7956
|
strictObject({
|
|
7904
7957
|
action: _enum(["approve_preview"]),
|
|
7905
|
-
headSha: string2().regex(/^[0-9a-
|
|
7958
|
+
headSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
7906
7959
|
previewId: uuid2(),
|
|
7907
|
-
resourcePolicyHash: string2().regex(/^[0-9a-
|
|
7960
|
+
resourcePolicyHash: string2().regex(/^[0-9a-fA-F]{64}$/)
|
|
7908
7961
|
}),
|
|
7909
7962
|
strictObject({
|
|
7910
7963
|
action: _enum(["expire_preview"]),
|
|
@@ -7921,7 +7974,7 @@ var zGemGitSourceCommand = union([
|
|
|
7921
7974
|
strictObject({
|
|
7922
7975
|
action: _enum(["change_source"]),
|
|
7923
7976
|
appDirectory: string2().max(240),
|
|
7924
|
-
commitSha: string2().regex(/^[0-9a-
|
|
7977
|
+
commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
7925
7978
|
expectedRevision: int().gt(0),
|
|
7926
7979
|
ref: string2().min(1).max(512)
|
|
7927
7980
|
})
|
|
@@ -7929,13 +7982,23 @@ var zGemGitSourceCommand = union([
|
|
|
7929
7982
|
var zGemGitSourceConnectRequest = strictObject({
|
|
7930
7983
|
appDirectory: string2().max(240),
|
|
7931
7984
|
automaticPublishing: boolean2(),
|
|
7932
|
-
commitSha: string2().regex(/^[0-9a-
|
|
7985
|
+
commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
7933
7986
|
connectionId: uuid2(),
|
|
7934
7987
|
folderId: uuid2().nullish(),
|
|
7935
|
-
idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]
|
|
7988
|
+
idempotencyKey: string2().min(1).max(200).regex(/^[A-Za-z0-9._:-]+$/),
|
|
7936
7989
|
previewsEnabled: boolean2(),
|
|
7937
7990
|
ref: string2().min(1).max(512),
|
|
7938
|
-
repositoryId: string2().regex(/^[1-9][0-9]{0,19}
|
|
7991
|
+
repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/),
|
|
7992
|
+
title: string2().min(1).max(256)
|
|
7993
|
+
});
|
|
7994
|
+
var zGemGitSourceCopyResult = strictObject({
|
|
7995
|
+
artifactId: uuid2(),
|
|
7996
|
+
copiedFromArtifactId: uuid2(),
|
|
7997
|
+
copiedFromCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
7998
|
+
copiedFromVersionId: uuid2(),
|
|
7999
|
+
copiedFromVersionNumber: int().gte(1),
|
|
8000
|
+
libraryItemId: uuid2().nullable(),
|
|
8001
|
+
slug: string2().min(1).max(256),
|
|
7939
8002
|
title: string2().min(1).max(256)
|
|
7940
8003
|
});
|
|
7941
8004
|
var zGemGitSourceImportError = strictObject({
|
|
@@ -7946,7 +8009,7 @@ var zGemGitSourceImport = strictObject({
|
|
|
7946
8009
|
attempt: int().gte(0),
|
|
7947
8010
|
buildId: uuid2().nullable(),
|
|
7948
8011
|
commitMessage: string2().max(16384),
|
|
7949
|
-
commitSha: string2().regex(/^[0-9a-
|
|
8012
|
+
commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
7950
8013
|
completedAt: exports_iso.datetime({ offset: true }).nullable(),
|
|
7951
8014
|
createdAt: exports_iso.datetime({ offset: true }),
|
|
7952
8015
|
error: zGemGitSourceImportError,
|
|
@@ -7966,13 +8029,11 @@ var zGemGitSourceImport = strictObject({
|
|
|
7966
8029
|
"queued",
|
|
7967
8030
|
"fetching",
|
|
7968
8031
|
"validating",
|
|
7969
|
-
"needs_version",
|
|
7970
8032
|
"preparing",
|
|
7971
8033
|
"ready",
|
|
7972
8034
|
"needs_access",
|
|
7973
8035
|
"needs_configuration",
|
|
7974
8036
|
"needs_resource_grant",
|
|
7975
|
-
"budget_blocked",
|
|
7976
8037
|
"failed",
|
|
7977
8038
|
"canceled",
|
|
7978
8039
|
"superseded"
|
|
@@ -7984,7 +8045,7 @@ var zGemGitSourceInspectRequest = strictObject({
|
|
|
7984
8045
|
appDirectory: string2().max(240),
|
|
7985
8046
|
connectionId: uuid2(),
|
|
7986
8047
|
ref: string2().min(1).max(512),
|
|
7987
|
-
repositoryId: string2().regex(/^[1-9][0-9]{0,19}
|
|
8048
|
+
repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/)
|
|
7988
8049
|
});
|
|
7989
8050
|
var zGemGitSourceInspectionDiagnostic = strictObject({
|
|
7990
8051
|
code: string2().min(1).max(128),
|
|
@@ -7995,14 +8056,14 @@ var zGemGitSourceInspection = strictObject({
|
|
|
7995
8056
|
appDirectory: string2().max(240),
|
|
7996
8057
|
candidateDirectories: array(string2().max(240)).max(5000),
|
|
7997
8058
|
commitMessage: string2().max(16384),
|
|
7998
|
-
commitSha: string2().regex(/^[0-9a-
|
|
8059
|
+
commitSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
7999
8060
|
connectionId: uuid2(),
|
|
8000
8061
|
diagnostics: array(zGemGitSourceInspectionDiagnostic).max(100),
|
|
8001
8062
|
fileCount: int().gte(0).lte(5000),
|
|
8002
8063
|
framework: string2().max(128).nullable(),
|
|
8003
8064
|
proposedConfiguration: string2().max(65536).nullable(),
|
|
8004
8065
|
ref: string2().min(1).max(512),
|
|
8005
|
-
repositoryId: string2().regex(/^[1-9][0-9]{0,19}
|
|
8066
|
+
repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/),
|
|
8006
8067
|
resourceNeeds: array(object({
|
|
8007
8068
|
kind: string2().min(1).max(128),
|
|
8008
8069
|
name: string2().min(1).max(512)
|
|
@@ -8011,12 +8072,12 @@ var zGemGitSourceInspection = strictObject({
|
|
|
8011
8072
|
totalBytes: int().gte(0).lte(25165824)
|
|
8012
8073
|
});
|
|
8013
8074
|
var zGemGitSourcePreview = strictObject({
|
|
8014
|
-
approvedHeadSha: string2().regex(/^[0-9a-
|
|
8075
|
+
approvedHeadSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
|
|
8015
8076
|
canOpen: boolean2(),
|
|
8016
8077
|
error: zGemGitSourceImportError,
|
|
8017
8078
|
expiresAt: exports_iso.datetime({ offset: true }),
|
|
8018
8079
|
fork: boolean2(),
|
|
8019
|
-
headSha: string2().regex(/^[0-9a-
|
|
8080
|
+
headSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
8020
8081
|
id: uuid2(),
|
|
8021
8082
|
pullRequestNumber: int().gt(0).nullable(),
|
|
8022
8083
|
ref: string2().min(1).max(512),
|
|
@@ -8031,12 +8092,12 @@ var zGemGitSourcePreview = strictObject({
|
|
|
8031
8092
|
title: string2().max(16384)
|
|
8032
8093
|
});
|
|
8033
8094
|
var zGemGitSourcePreviewInspectRequest = strictObject({
|
|
8034
|
-
headSha: string2().regex(/^[0-9a-
|
|
8095
|
+
headSha: string2().regex(/^[0-9a-fA-F]{40}$/)
|
|
8035
8096
|
});
|
|
8036
8097
|
var zGemGitSourcePreviewInspection = strictObject({
|
|
8037
8098
|
appDirectory: string2().max(240),
|
|
8038
8099
|
diagnostics: array(zGemGitSourceInspectionDiagnostic).max(100),
|
|
8039
|
-
headSha: string2().regex(/^[0-9a-
|
|
8100
|
+
headSha: string2().regex(/^[0-9a-fA-F]{40}$/),
|
|
8040
8101
|
previewId: uuid2(),
|
|
8041
8102
|
proposedConfiguration: string2().max(65536).nullable(),
|
|
8042
8103
|
ref: string2().min(1).max(512),
|
|
@@ -8044,26 +8105,33 @@ var zGemGitSourcePreviewInspection = strictObject({
|
|
|
8044
8105
|
kind: string2().min(1).max(128),
|
|
8045
8106
|
name: string2().min(1).max(512)
|
|
8046
8107
|
})).max(100),
|
|
8047
|
-
resourcePolicyHash: string2().regex(/^[0-9a-
|
|
8108
|
+
resourcePolicyHash: string2().regex(/^[0-9a-fA-F]{64}$/).nullable(),
|
|
8048
8109
|
state: _enum(["ready", "needs_configuration", "rejected"])
|
|
8049
8110
|
});
|
|
8050
|
-
var
|
|
8111
|
+
var zGemGitSourceRef = strictObject({
|
|
8051
8112
|
kind: _enum(["branch", "tag"]),
|
|
8052
8113
|
name: string2().min(1).max(512),
|
|
8053
8114
|
ref: string2().min(1).max(512)
|
|
8054
|
-
})
|
|
8115
|
+
});
|
|
8116
|
+
var zGemGitSourceRefs = strictObject({
|
|
8117
|
+
defaultBranch: zGemGitSourceRef,
|
|
8118
|
+
nextPage: int().gte(2).lte(100).nullable(),
|
|
8119
|
+
refs: array(zGemGitSourceRef).max(300)
|
|
8120
|
+
});
|
|
8055
8121
|
var zGemGitSourceRefsRequest = strictObject({
|
|
8056
8122
|
connectionId: uuid2(),
|
|
8057
|
-
|
|
8123
|
+
page: int().gte(1).lte(100).optional(),
|
|
8124
|
+
query: string2().max(512).optional(),
|
|
8125
|
+
repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/)
|
|
8058
8126
|
});
|
|
8059
8127
|
var zGemGitSourceRepository = strictObject({
|
|
8060
8128
|
connectionId: uuid2(),
|
|
8061
8129
|
defaultBranch: string2().min(1).max(512),
|
|
8062
|
-
installationId: string2().regex(/^[1-9][0-9]{0,19}
|
|
8130
|
+
installationId: string2().regex(/^[1-9][0-9]{0,19}$/),
|
|
8063
8131
|
name: string2().min(1).max(255),
|
|
8064
8132
|
owner: string2().min(1).max(255),
|
|
8065
8133
|
private: boolean2(),
|
|
8066
|
-
repositoryId: string2().regex(/^[1-9][0-9]{0,19}
|
|
8134
|
+
repositoryId: string2().regex(/^[1-9][0-9]{0,19}$/),
|
|
8067
8135
|
url: url().max(2048)
|
|
8068
8136
|
});
|
|
8069
8137
|
var zGemGitSourceConnection = strictObject({
|
|
@@ -8104,11 +8172,12 @@ var zGemGitSourceState = strictObject({
|
|
|
8104
8172
|
access: _enum(["active", "suspended", "revoked", "needs_access"]),
|
|
8105
8173
|
active: boolean2(),
|
|
8106
8174
|
appDirectory: string2().max(240),
|
|
8107
|
-
currentCommitSha: string2().regex(/^[0-9a-
|
|
8108
|
-
desiredCommitSha: string2().regex(/^[0-9a-
|
|
8175
|
+
currentCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
|
|
8176
|
+
desiredCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
|
|
8109
8177
|
generation: int().gte(0),
|
|
8110
8178
|
id: uuid2(),
|
|
8111
|
-
lastBuiltCommitSha: string2().regex(/^[0-9a-
|
|
8179
|
+
lastBuiltCommitSha: string2().regex(/^[0-9a-fA-F]{40}$/).nullable(),
|
|
8180
|
+
lastError: zGemGitSourceBindingError,
|
|
8112
8181
|
ref: string2().min(1).max(512),
|
|
8113
8182
|
repository: zGemGitSourceRepository
|
|
8114
8183
|
}).nullable(),
|
|
@@ -8927,6 +8996,7 @@ var zLibraryExternalSourceStatus = _enum([
|
|
|
8927
8996
|
"pending",
|
|
8928
8997
|
"ready",
|
|
8929
8998
|
"syncing",
|
|
8999
|
+
"deleting",
|
|
8930
9000
|
"error",
|
|
8931
9001
|
"rebind_required"
|
|
8932
9002
|
]);
|
|
@@ -9722,6 +9792,24 @@ var zModelRelayForwardRequest = strictObject({
|
|
|
9722
9792
|
opaqueToken: string2().min(1),
|
|
9723
9793
|
provider: string2().min(1)
|
|
9724
9794
|
});
|
|
9795
|
+
var zModelRelayImageRequest = strictObject({
|
|
9796
|
+
opaqueToken: string2().min(1),
|
|
9797
|
+
outputFormat: _enum(["png", "jpeg", "webp"]).optional().default("png"),
|
|
9798
|
+
prompt: string2().min(1).max(4000),
|
|
9799
|
+
quality: _enum(["low", "medium", "high", "auto"]).optional().default("auto"),
|
|
9800
|
+
size: _enum(["1024x1024", "1536x1024", "1024x1536", "auto"]).optional().default("auto")
|
|
9801
|
+
});
|
|
9802
|
+
var zModelRelayImageResponse = object({
|
|
9803
|
+
costUsd: string2(),
|
|
9804
|
+
imageBase64: string2(),
|
|
9805
|
+
mimeType: string2(),
|
|
9806
|
+
model: string2(),
|
|
9807
|
+
usage: object({
|
|
9808
|
+
imageOutputTokens: int().gte(0),
|
|
9809
|
+
inputTokens: int().gte(0),
|
|
9810
|
+
textOutputTokens: int().gte(0)
|
|
9811
|
+
})
|
|
9812
|
+
});
|
|
9725
9813
|
var zModelRelayKillSwitchEngageRequest = object({
|
|
9726
9814
|
reason: string2().min(1)
|
|
9727
9815
|
});
|
|
@@ -10192,6 +10280,15 @@ var zProtectedResourceMetadata = object({
|
|
|
10192
10280
|
});
|
|
10193
10281
|
var zProviderAppRuntimePanelLogsResponse = object({
|
|
10194
10282
|
deploymentId: string2(),
|
|
10283
|
+
logStatus: object({
|
|
10284
|
+
code: string2().nullable(),
|
|
10285
|
+
historicalComplete: boolean2(),
|
|
10286
|
+
sink: object({
|
|
10287
|
+
availability: _enum(["available", "not_configured", "unavailable"]),
|
|
10288
|
+
code: string2().nullable()
|
|
10289
|
+
}),
|
|
10290
|
+
state: _enum(["complete", "partial", "delayed", "lost"])
|
|
10291
|
+
}),
|
|
10195
10292
|
logs: array(object({
|
|
10196
10293
|
capabilityName: string2().nullable(),
|
|
10197
10294
|
durationMs: number2().nullable(),
|
|
@@ -10201,7 +10298,7 @@ var zProviderAppRuntimePanelLogsResponse = object({
|
|
|
10201
10298
|
message: string2().nullable(),
|
|
10202
10299
|
metadata: record(string2(), unknown()),
|
|
10203
10300
|
requestId: string2().nullable(),
|
|
10204
|
-
source: _enum(["app_logs", "tenant_tail"]),
|
|
10301
|
+
source: _enum(["app_logs", "tenant_tail", "tenant_loki"]),
|
|
10205
10302
|
status: string2().nullable(),
|
|
10206
10303
|
timestamp: string2()
|
|
10207
10304
|
})),
|
|
@@ -10533,6 +10630,10 @@ var zRestoreGemVersionResponse = strictObject({
|
|
|
10533
10630
|
var zRetryGemReleaseRequest = strictObject({
|
|
10534
10631
|
idempotencyKey: string2().min(1).max(128)
|
|
10535
10632
|
});
|
|
10633
|
+
var zRetryGemVersionResponse = strictObject({
|
|
10634
|
+
linksChanged: literal(false),
|
|
10635
|
+
version: zGemVersion
|
|
10636
|
+
});
|
|
10536
10637
|
var zRevokeCrossWorkspaceShareRequest = object({
|
|
10537
10638
|
reason: string2().nullish(),
|
|
10538
10639
|
shareId: uuid2()
|
|
@@ -10822,6 +10923,7 @@ var zPersonaIntegrationResponse = object({
|
|
|
10822
10923
|
data: zPersonaIntegration
|
|
10823
10924
|
});
|
|
10824
10925
|
var zSupabaseExternalDatasetWebhookRequest = object({
|
|
10926
|
+
eventId: string2().min(1).max(64).optional(),
|
|
10825
10927
|
schema: string2().nullish(),
|
|
10826
10928
|
table: string2().nullish()
|
|
10827
10929
|
});
|
|
@@ -11747,6 +11849,7 @@ var zThreadMessagePart = union([
|
|
|
11747
11849
|
"provider_content_filtered",
|
|
11748
11850
|
"context_window_exceeded",
|
|
11749
11851
|
"compaction_loop_exceeded",
|
|
11852
|
+
"compaction_refused",
|
|
11750
11853
|
"automation_turn_budget_exceeded",
|
|
11751
11854
|
"output_length_limit_reached",
|
|
11752
11855
|
"out_of_usage",
|
|
@@ -12201,6 +12304,10 @@ var zUpdateConnectionLabelResponse = object({
|
|
|
12201
12304
|
var zUpdateExternalPermissionsRequest = object({
|
|
12202
12305
|
permissions: zExternalPermissions
|
|
12203
12306
|
});
|
|
12307
|
+
var zUpdateLibraryExternalSourceRequest = object({
|
|
12308
|
+
enabled: boolean2().optional(),
|
|
12309
|
+
syncIntervalMinutes: int().gte(1).lte(10080).optional()
|
|
12310
|
+
});
|
|
12204
12311
|
var zUpdatePersonaIdentity = object({
|
|
12205
12312
|
avatarUrl: string2().nullish(),
|
|
12206
12313
|
departments: array(string2()).nullish(),
|
|
@@ -12254,7 +12361,7 @@ var zUpdatePersonaRequest = object({
|
|
|
12254
12361
|
var zUpdatePublishedPageLinkGateRequest = object({
|
|
12255
12362
|
emailAllowlist: array(string2()).nullish(),
|
|
12256
12363
|
emailGateEnabled: boolean2().nullish(),
|
|
12257
|
-
expiresAt:
|
|
12364
|
+
expiresAt: exports_iso.datetime({ offset: true }).nullish(),
|
|
12258
12365
|
gateType: _enum(["none", "passcode", "email_otp", "passcode_email_otp"]).nullish(),
|
|
12259
12366
|
passcode: string2().max(128).nullish(),
|
|
12260
12367
|
searchIndexingDisabled: boolean2().nullish(),
|
|
@@ -12832,7 +12939,13 @@ var zGetToolAccessMatrixApiAccessControlToolsToolMatrixGetPath = object({
|
|
|
12832
12939
|
});
|
|
12833
12940
|
var zGetAdminAuditLogApiAdminAuditLogGetQuery = object({
|
|
12834
12941
|
limit: int().gte(1).lte(100).optional().default(50),
|
|
12835
|
-
offset: int().gte(0).nullish().default(0)
|
|
12942
|
+
offset: int().gte(0).nullish().default(0),
|
|
12943
|
+
actorUserId: string2().optional(),
|
|
12944
|
+
action: string2().min(1).max(120).optional(),
|
|
12945
|
+
targetType: string2().min(1).max(80).optional(),
|
|
12946
|
+
targetId: string2().min(1).max(200).optional(),
|
|
12947
|
+
since: exports_iso.datetime({ offset: true }).optional(),
|
|
12948
|
+
until: exports_iso.datetime({ offset: true }).optional()
|
|
12836
12949
|
});
|
|
12837
12950
|
var zAdminListInvitationsApiAdminInvitationsGetQuery = object({
|
|
12838
12951
|
limit: int().gte(1).lte(100).optional().default(50),
|
|
@@ -13822,9 +13935,25 @@ var zGetAvailableModelsApiModelsAvailableGetQuery = object({
|
|
|
13822
13935
|
});
|
|
13823
13936
|
var zExportActivityLogsApiMonitoringActivityExportGetQuery = object({
|
|
13824
13937
|
dateRange: string2().optional().default("7d"),
|
|
13825
|
-
format: string2().optional().default("json")
|
|
13938
|
+
format: string2().optional().default("json"),
|
|
13939
|
+
action: string2().nullish(),
|
|
13940
|
+
resourceType: string2().nullish(),
|
|
13941
|
+
actorUserId: string2().nullish()
|
|
13826
13942
|
});
|
|
13827
13943
|
var zExportActivityLogsApiMonitoringActivityExportGetResponse = record(string2(), unknown());
|
|
13944
|
+
var zListAuditLedgerApiMonitoringActivityLedgersLedgerGetPath = object({
|
|
13945
|
+
ledger: _enum([
|
|
13946
|
+
"rubric_events",
|
|
13947
|
+
"webhook_credential_events",
|
|
13948
|
+
"dataset_sql_writes"
|
|
13949
|
+
])
|
|
13950
|
+
});
|
|
13951
|
+
var zListAuditLedgerApiMonitoringActivityLedgersLedgerGetQuery = object({
|
|
13952
|
+
page: int().gte(1).optional().default(1),
|
|
13953
|
+
pageSize: int().gte(1).lte(200).optional().default(50),
|
|
13954
|
+
dateRange: string2().optional().default("7d")
|
|
13955
|
+
});
|
|
13956
|
+
var zListAuditLedgerApiMonitoringActivityLedgersLedgerGetResponse = record(string2(), unknown());
|
|
13828
13957
|
var zGetRecentActivityApiMonitoringActivityRecentGetQuery = object({
|
|
13829
13958
|
limit: int().gte(1).lte(500).optional().default(100)
|
|
13830
13959
|
});
|
|
@@ -14281,11 +14410,14 @@ var zListAppLogsApiPlatformArtifactsArtifactSlugAppLogsGetPath = object({
|
|
|
14281
14410
|
var zListAppLogsApiPlatformArtifactsArtifactSlugAppLogsGetQuery = object({
|
|
14282
14411
|
limit: int().gte(1).lte(500).optional().default(100),
|
|
14283
14412
|
deploymentId: string2().nullish(),
|
|
14413
|
+
releaseId: string2().nullish(),
|
|
14284
14414
|
runtimeRunId: string2().nullish(),
|
|
14285
14415
|
level: string2().nullish(),
|
|
14286
|
-
requestId: string2().nullish()
|
|
14416
|
+
requestId: string2().nullish(),
|
|
14417
|
+
cursor: string2().nullish(),
|
|
14418
|
+
since: string2().nullish(),
|
|
14419
|
+
until: string2().nullish()
|
|
14287
14420
|
});
|
|
14288
|
-
var zListAppLogsApiPlatformArtifactsArtifactSlugAppLogsGetResponse = array(zAppLogRecord);
|
|
14289
14421
|
var zStreamAppLogsApiPlatformArtifactsArtifactSlugAppLogsStreamGetPath = object({
|
|
14290
14422
|
artifactSlug: string2()
|
|
14291
14423
|
});
|
|
@@ -14296,7 +14428,9 @@ var zStreamAppLogsApiPlatformArtifactsArtifactSlugAppLogsStreamGetQuery = object
|
|
|
14296
14428
|
releaseId: string2().nullish(),
|
|
14297
14429
|
runtimeRunId: string2().nullish(),
|
|
14298
14430
|
level: string2().nullish(),
|
|
14299
|
-
requestId: string2().nullish()
|
|
14431
|
+
requestId: string2().nullish(),
|
|
14432
|
+
since: string2().nullish(),
|
|
14433
|
+
until: string2().nullish()
|
|
14300
14434
|
});
|
|
14301
14435
|
var zStreamAppLogsApiPlatformArtifactsArtifactSlugAppLogsStreamGetResponse = string2();
|
|
14302
14436
|
var zGetAppReleaseOverviewApiPlatformArtifactsArtifactSlugAppReleaseOverviewGetPath = object({
|
|
@@ -15062,6 +15196,8 @@ var zDatasetExternalSourceGetResponse = object({
|
|
|
15062
15196
|
relationName: string2().nullable(),
|
|
15063
15197
|
relationSchema: string2().nullable(),
|
|
15064
15198
|
supabaseRef: string2(),
|
|
15199
|
+
syncIntervalSeconds: int(),
|
|
15200
|
+
syncMode: _enum(["manual", "scheduled"]),
|
|
15065
15201
|
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
15202
|
writeEnabled: boolean2().nullable()
|
|
15067
15203
|
}).nullable();
|
|
@@ -15084,6 +15220,8 @@ var zDatasetExternalSourcePutBody = object({
|
|
|
15084
15220
|
relationName: string2().nullish().default(null),
|
|
15085
15221
|
relationSchema: string2().nullish().default(null),
|
|
15086
15222
|
supabaseRef: string2().min(1),
|
|
15223
|
+
syncIntervalSeconds: int().gte(60).lte(86400).optional().default(1800),
|
|
15224
|
+
syncMode: _enum(["manual", "scheduled"]).optional().default("manual"),
|
|
15087
15225
|
writeEnabled: boolean2().nullish().default(null)
|
|
15088
15226
|
});
|
|
15089
15227
|
var zDatasetExternalSourcePutPath = object({
|
|
@@ -15112,9 +15250,38 @@ var zDatasetExternalSourcePutResponse = object({
|
|
|
15112
15250
|
relationName: string2().nullable(),
|
|
15113
15251
|
relationSchema: string2().nullable(),
|
|
15114
15252
|
supabaseRef: string2(),
|
|
15253
|
+
syncIntervalSeconds: int(),
|
|
15254
|
+
syncMode: _enum(["manual", "scheduled"]),
|
|
15115
15255
|
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
15256
|
writeEnabled: boolean2().nullable()
|
|
15117
15257
|
});
|
|
15258
|
+
var zDatasetExternalSourceSyncBody = strictObject({
|
|
15259
|
+
expectedDatasetRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
|
|
15260
|
+
expectedSchemaRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
|
|
15261
|
+
idempotencyKey: string2().min(1).max(128)
|
|
15262
|
+
});
|
|
15263
|
+
var zDatasetExternalSourceSyncPath = object({
|
|
15264
|
+
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}$/)
|
|
15265
|
+
});
|
|
15266
|
+
var zDatasetExternalSourceSyncResponse = object({
|
|
15267
|
+
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}$/),
|
|
15268
|
+
currentDatasetRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
|
|
15269
|
+
currentSchemaRevision: string2().regex(/^(0|[1-9][0-9]{0,19})$/),
|
|
15270
|
+
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}$/),
|
|
15271
|
+
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}$/),
|
|
15272
|
+
operation: _enum(["external_source"]),
|
|
15273
|
+
replayed: boolean2(),
|
|
15274
|
+
state: _enum([
|
|
15275
|
+
"queued",
|
|
15276
|
+
"claimed",
|
|
15277
|
+
"running",
|
|
15278
|
+
"cancelRequested",
|
|
15279
|
+
"finalizing",
|
|
15280
|
+
"succeeded",
|
|
15281
|
+
"failed",
|
|
15282
|
+
"cancelled"
|
|
15283
|
+
])
|
|
15284
|
+
});
|
|
15118
15285
|
var zDatasetExternalSourceTestBody = object({
|
|
15119
15286
|
allowedColumns: array(string2().min(1)).nullish().default(null),
|
|
15120
15287
|
allowedWriteColumns: array(string2()).nullish().default(null),
|
|
@@ -15134,6 +15301,8 @@ var zDatasetExternalSourceTestBody = object({
|
|
|
15134
15301
|
relationName: string2().nullish().default(null),
|
|
15135
15302
|
relationSchema: string2().nullish().default(null),
|
|
15136
15303
|
supabaseRef: string2().min(1),
|
|
15304
|
+
syncIntervalSeconds: int().gte(60).lte(86400).optional().default(1800),
|
|
15305
|
+
syncMode: _enum(["manual", "scheduled"]).optional().default("manual"),
|
|
15137
15306
|
writeEnabled: boolean2().nullish().default(null)
|
|
15138
15307
|
});
|
|
15139
15308
|
var zDatasetExternalSourceTestPath = object({
|
|
@@ -15880,6 +16049,9 @@ var zGetFrictionReportCleanupResponse = object({
|
|
|
15880
16049
|
severity: string2(),
|
|
15881
16050
|
status: string2()
|
|
15882
16051
|
});
|
|
16052
|
+
var zDeleteGemLinkHeaders = object({
|
|
16053
|
+
"idempotency-key": string2().min(1).max(200)
|
|
16054
|
+
});
|
|
15883
16055
|
var zDeleteGemLinkPath = object({
|
|
15884
16056
|
linkId: string2()
|
|
15885
16057
|
});
|
|
@@ -15891,10 +16063,16 @@ var zUpdateGemLinkAccessResponse = record(string2(), unknown());
|
|
|
15891
16063
|
var zCreateGemLinkEmailCaptureDatasetPath = object({
|
|
15892
16064
|
linkId: string2()
|
|
15893
16065
|
});
|
|
16066
|
+
var zRevokeGemLinkHeaders = object({
|
|
16067
|
+
"idempotency-key": string2().min(1).max(200)
|
|
16068
|
+
});
|
|
15894
16069
|
var zRevokeGemLinkPath = object({
|
|
15895
16070
|
linkId: string2()
|
|
15896
16071
|
});
|
|
15897
16072
|
var zRevokeGemLinkResponse = record(string2(), unknown());
|
|
16073
|
+
var zRotateGemLinkHeaders = object({
|
|
16074
|
+
"idempotency-key": string2().min(1).max(200)
|
|
16075
|
+
});
|
|
15898
16076
|
var zRotateGemLinkPath = object({
|
|
15899
16077
|
linkId: string2()
|
|
15900
16078
|
});
|
|
@@ -16012,6 +16190,10 @@ var zRestoreGemVersionPath = object({
|
|
|
16012
16190
|
gemRef: string2().min(1),
|
|
16013
16191
|
resourceId: string2().min(1)
|
|
16014
16192
|
});
|
|
16193
|
+
var zRetryGemVersionPath = object({
|
|
16194
|
+
gemRef: string2().min(1),
|
|
16195
|
+
resourceId: string2().min(1)
|
|
16196
|
+
});
|
|
16015
16197
|
var zGetAvailableLibrariesApiPlatformLibrariesAvailableGetResponse = record(string2(), unknown());
|
|
16016
16198
|
var zGetAvailableIconsApiPlatformLibrariesIconsGetResponse = record(string2(), unknown());
|
|
16017
16199
|
var zGetLibrariesManifestApiPlatformLibrariesManifestGetResponse = record(string2(), unknown());
|
|
@@ -16036,9 +16218,24 @@ var zDeleteLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdDeleteP
|
|
|
16036
16218
|
var zGetLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdGetPath = object({
|
|
16037
16219
|
sourceId: string2()
|
|
16038
16220
|
});
|
|
16221
|
+
var zUpdateLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdPatchPath = object({
|
|
16222
|
+
sourceId: string2()
|
|
16223
|
+
});
|
|
16224
|
+
var zCancelLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdCancelPostPath = object({
|
|
16225
|
+
sourceId: string2()
|
|
16226
|
+
});
|
|
16227
|
+
var zPauseLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdPausePostPath = object({
|
|
16228
|
+
sourceId: string2()
|
|
16229
|
+
});
|
|
16039
16230
|
var zRebindLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdRebindPostPath = object({
|
|
16040
16231
|
sourceId: string2()
|
|
16041
16232
|
});
|
|
16233
|
+
var zResumeLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdResumePostPath = object({
|
|
16234
|
+
sourceId: string2()
|
|
16235
|
+
});
|
|
16236
|
+
var zRunNowLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdRunNowPostPath = object({
|
|
16237
|
+
sourceId: string2()
|
|
16238
|
+
});
|
|
16042
16239
|
var zSyncLibraryExternalSourceApiPlatformLibraryExternalSourcesSourceIdSyncPostPath = object({
|
|
16043
16240
|
sourceId: string2()
|
|
16044
16241
|
});
|
|
@@ -16658,8 +16855,9 @@ var zGetPublishedPagePreviewImageApiPublicPagesSlugPreviewImagePublicPreviewRout
|
|
|
16658
16855
|
var zPublicArtifactToolProxyExecuteApiPublicPagesSlugToolProxyExecutePostBody = strictObject({
|
|
16659
16856
|
forceRefresh: boolean2().optional().default(false),
|
|
16660
16857
|
idempotencyKey: string2().max(128).nullish(),
|
|
16661
|
-
operation: string2().min(1).max(256)
|
|
16858
|
+
operation: string2().min(1).max(256),
|
|
16662
16859
|
parameters: record(string2(), unknown()).optional().default({}),
|
|
16860
|
+
requestId: string2().regex(/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/).optional(),
|
|
16663
16861
|
role: string2().min(1).max(64).regex(/^[a-z][a-z0-9_]{0,63}$/),
|
|
16664
16862
|
timeoutMs: int().gte(1000).lte(60000).optional().default(25000)
|
|
16665
16863
|
});
|
|
@@ -16748,6 +16946,13 @@ var zInvokeAppQueryApiRuntimeAppsDeploymentIdQueryCapabilityNamePostPath = objec
|
|
|
16748
16946
|
var zAppRuntimeStorageExecutePath = object({
|
|
16749
16947
|
deploymentId: uuid2()
|
|
16750
16948
|
});
|
|
16949
|
+
var zAppRuntimeUploadGrantCreatePath = object({
|
|
16950
|
+
deploymentId: uuid2()
|
|
16951
|
+
});
|
|
16952
|
+
var zAppRuntimeUploadGrantCompletePath = object({
|
|
16953
|
+
deploymentId: uuid2(),
|
|
16954
|
+
uploadId: uuid2()
|
|
16955
|
+
});
|
|
16751
16956
|
var zProviderInvokeAppActionApiRuntimeProviderAppsDeploymentIdActionCapabilityNamePostPath = object({
|
|
16752
16957
|
deploymentId: string2(),
|
|
16753
16958
|
capabilityName: string2()
|
|
@@ -17216,6 +17421,9 @@ var zGetGemGitSourcePath = object({
|
|
|
17216
17421
|
var zCommandGemGitSourcePath = object({
|
|
17217
17422
|
artifactId: uuid2()
|
|
17218
17423
|
});
|
|
17424
|
+
var zCopyGemGitSourcePath = object({
|
|
17425
|
+
artifactId: uuid2()
|
|
17426
|
+
});
|
|
17219
17427
|
var zInspectGemGitPreviewPath = object({
|
|
17220
17428
|
artifactId: uuid2(),
|
|
17221
17429
|
previewId: uuid2()
|
|
@@ -17277,6 +17485,17 @@ var zRobotsTxtRobotsTxtGetResponse = string2();
|
|
|
17277
17485
|
|
|
17278
17486
|
// ../../packages/types/src/mcp/gemResult.ts
|
|
17279
17487
|
var GEM_RESULT_SCHEMA_V1 = "uru.gem.result.v1";
|
|
17488
|
+
// src/terminal-safety.ts
|
|
17489
|
+
function stripTerminalControl(value) {
|
|
17490
|
+
let out = "";
|
|
17491
|
+
for (const ch of value) {
|
|
17492
|
+
const code = ch.codePointAt(0) ?? 0;
|
|
17493
|
+
const isControl = code < 32 && code !== 10 && code !== 9 || code === 127 || code >= 128 && code <= 159;
|
|
17494
|
+
out += isControl ? "�" : ch;
|
|
17495
|
+
}
|
|
17496
|
+
return out;
|
|
17497
|
+
}
|
|
17498
|
+
|
|
17280
17499
|
// src/json.ts
|
|
17281
17500
|
function isRecord(value) {
|
|
17282
17501
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -17311,7 +17530,7 @@ function pickString(record2, keys) {
|
|
|
17311
17530
|
// package.json
|
|
17312
17531
|
var package_default = {
|
|
17313
17532
|
name: "@uru-intelligence/cli",
|
|
17314
|
-
version: "0.
|
|
17533
|
+
version: "0.5.0",
|
|
17315
17534
|
private: false,
|
|
17316
17535
|
description: "Uru full-platform command line interface",
|
|
17317
17536
|
repository: {
|
|
@@ -17425,17 +17644,6 @@ function defaultCliErrorCode(exitCode) {
|
|
|
17425
17644
|
}
|
|
17426
17645
|
}
|
|
17427
17646
|
|
|
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
17647
|
// src/gem-result.ts
|
|
17440
17648
|
function gemEnvelope(body, operation) {
|
|
17441
17649
|
if (!isRecord(body) || body["schema"] !== GEM_RESULT_SCHEMA_V1) {
|