deepline 0.3.439 → 0.3.441
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/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +8 -4
- package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +17 -3
- package/dist/bundling-sources/shared_libs/tool-execution-error.ts +17 -3
- package/dist/cli/{auth-FE2LP7A5.mjs → auth-D2ZF664Y.mjs} +6 -6
- package/dist/cli/auth-XTW4JZT4.js +40 -0
- package/dist/cli/{billing-GABU2MTX.mjs → billing-4MIYCPSV.mjs} +7 -7
- package/dist/cli/{billing-4QAWLCKH.js → billing-5OLSZRHE.js} +83 -83
- package/dist/cli/{chunk-72XLUEP6.js → chunk-27LQEDGO.js} +16 -16
- package/dist/cli/{chunk-FDQAOF3L.mjs → chunk-2LVCAPN7.mjs} +3 -3
- package/dist/cli/{chunk-TWXPEHTM.js → chunk-2MMUUSBN.js} +57 -57
- package/dist/cli/{chunk-XFVHEDRH.js → chunk-2VZKT2PE.js} +35 -35
- package/dist/cli/{chunk-D4VWHTDT.js → chunk-3IRJIEIE.js} +12 -12
- package/dist/cli/{chunk-FB3B2NKV.js → chunk-3XPO3MWC.js} +8 -8
- package/dist/cli/{chunk-F3ORKGAM.mjs → chunk-4N3ZT6OJ.mjs} +2 -2
- package/dist/cli/{chunk-MAMVGOSC.mjs → chunk-4QF2K7TM.mjs} +1 -1
- package/dist/cli/{chunk-HO2TOFKF.mjs → chunk-55GDG7QJ.mjs} +4 -4
- package/dist/cli/{chunk-N5D4EMIY.mjs → chunk-7DH2FD7Y.mjs} +1 -1
- package/dist/cli/{chunk-WU4U6VSB.js → chunk-A6QCMBGL.js} +5 -5
- package/dist/cli/{chunk-3TYXI7MD.js → chunk-AG5SQSH5.js} +6 -6
- package/dist/cli/{chunk-NPBJI7RE.js → chunk-ALJJRZNJ.js} +8 -8
- package/dist/cli/{chunk-2ELMQ6LW.mjs → chunk-ARVYJDPQ.mjs} +4 -4
- package/dist/cli/{chunk-KGR7SR3C.js → chunk-AVQ4V6Y7.js} +93 -93
- package/dist/cli/{chunk-N7T6S5SU.mjs → chunk-AZZCCHOL.mjs} +2 -2
- package/dist/cli/{chunk-KAJK6XVI.js → chunk-CFUTOWE4.js} +6 -6
- package/dist/cli/{chunk-76DCNYH3.js → chunk-DE354WOP.js} +2 -2
- package/dist/cli/{chunk-PPDBRJRW.js → chunk-DIAWYWT5.js} +6 -1
- package/dist/cli/{chunk-E6ESUF5C.mjs → chunk-DIDMHGVH.mjs} +1 -1
- package/dist/cli/{chunk-IX7ZGPLU.js → chunk-DV4G676C.js} +8 -8
- package/dist/cli/{chunk-WJ4PNSX3.js → chunk-F2EMJUDJ.js} +26 -26
- package/dist/cli/{chunk-KCC3FKIW.mjs → chunk-FAG4DFUC.mjs} +1 -1
- package/dist/cli/{chunk-BQQ4LEQB.mjs → chunk-FOLT3LUQ.mjs} +2 -2
- package/dist/cli/{chunk-FCF5BP3Q.js → chunk-GAGGHXYN.js} +2 -2
- package/dist/cli/{chunk-RDIN3NKA.js → chunk-GEQOPXOS.js} +2 -2
- package/dist/cli/{chunk-E4IXDAZI.mjs → chunk-HBL4PM5Q.mjs} +6 -1
- package/dist/cli/{chunk-SWZQBMXR.mjs → chunk-HS6ASYW5.mjs} +2 -2
- package/dist/cli/{chunk-EBW6KRTG.js → chunk-HUH6EA5B.js} +33 -33
- package/dist/cli/{chunk-2H4EY7KH.js → chunk-JKVRBCZL.js} +26 -26
- package/dist/cli/{chunk-XMSVK6O4.mjs → chunk-KSWTIOZT.mjs} +9 -9
- package/dist/cli/{chunk-MGBVCVJ7.mjs → chunk-LB5TQPKK.mjs} +1 -1
- package/dist/cli/{chunk-IAL3KSJT.mjs → chunk-M65GHY4K.mjs} +1 -1
- package/dist/cli/{chunk-HUBVYO52.mjs → chunk-NYLJMRYD.mjs} +2 -2
- package/dist/cli/{chunk-R3X55OMZ.js → chunk-OWXLYPMV.js} +20 -20
- package/dist/cli/{chunk-NUX2QHNC.mjs → chunk-OZDT2CZW.mjs} +1 -1
- package/dist/cli/{chunk-P4ITKGRQ.js → chunk-PNS3K6A2.js} +50 -50
- package/dist/cli/{chunk-QFTJ24UV.mjs → chunk-POSRLOHP.mjs} +3 -3
- package/dist/cli/{chunk-ZTJUGK5I.mjs → chunk-PPJ4PF6F.mjs} +3 -3
- package/dist/cli/{chunk-RIJ4VTYJ.mjs → chunk-PUWMWNBM.mjs} +4 -4
- package/dist/cli/{chunk-DS7Y7X26.mjs → chunk-SKXQZUMX.mjs} +1 -1
- package/dist/cli/{chunk-2I42ORGH.js → chunk-UJLPE55B.js} +1 -1
- package/dist/cli/{chunk-MPY4UD6H.js → chunk-XM5Z53VA.js} +101 -101
- package/dist/cli/{chunk-UN3F6ZKR.mjs → chunk-XUART5TY.mjs} +5 -5
- package/dist/cli/{csv-TVVXG42B.js → csv-PWSQ7DBG.js} +14 -14
- package/dist/cli/{csv-NZOZIEQP.mjs → csv-ZWRKX6NU.mjs} +5 -5
- package/dist/cli/{db-PEZHN563.mjs → db-AYIEGUOY.mjs} +7 -7
- package/dist/cli/{db-3Q2OPJW6.js → db-M24C22YN.js} +34 -34
- package/dist/cli/{describe-M7AP5WVH.js → describe-F34NXGCE.js} +22 -22
- package/dist/cli/{describe-GHSBWUUS.mjs → describe-K2CCAFJO.mjs} +16 -16
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-7E3GU4QA.mjs → executions-TMH5FSYX.mjs} +7 -7
- package/dist/cli/{executions-YKR2SAZF.js → executions-UHHRRBBT.js} +9 -9
- package/dist/cli/{feedback-JSPMENHA.mjs → feedback-GCTX3HJS.mjs} +5 -5
- package/dist/cli/{feedback-JTRYBUQZ.js → feedback-Z7C47J2X.js} +9 -9
- package/dist/cli/git-MCFHPAML.js +24 -0
- package/dist/cli/{git-R4PATSRX.mjs → git-RDHXJML2.mjs} +6 -6
- package/dist/cli/index.js +136 -136
- package/dist/cli/index.mjs +38 -38
- package/dist/cli/{legacy-noops-W52GTS36.mjs → legacy-noops-3E75KHWC.mjs} +6 -6
- package/dist/cli/{legacy-noops-3OMVEANW.js → legacy-noops-X6QQUMNF.js} +9 -9
- package/dist/cli/{monitors-YA6X5BM4.js → monitors-AVTVW5L2.js} +93 -93
- package/dist/cli/{monitors-SIXLFZJ3.mjs → monitors-HCNIDGV2.mjs} +7 -7
- package/dist/cli/{org-EYFKI2ZI.mjs → org-ILD73S74.mjs} +7 -7
- package/dist/cli/{org-73YXPEZ5.js → org-QUJYCJJE.js} +69 -69
- package/dist/cli/{play-CSRSSDTC.js → play-7M53PMCN.js} +373 -373
- package/dist/cli/{play-7EF6XSS6.mjs → play-DQJ7LGQG.mjs} +15 -15
- package/dist/cli/{providers-IHQGSP3E.js → providers-3HC5S52G.js} +10 -10
- package/dist/cli/{providers-MKIVZMBG.mjs → providers-WV35XXID.mjs} +7 -7
- package/dist/cli/{quickstart-26QTTEHV.js → quickstart-KJZOURAH.js} +7 -7
- package/dist/cli/{quickstart-COU7YD7S.mjs → quickstart-UESOANHH.mjs} +5 -5
- package/dist/cli/search-255SE477.js +30 -0
- package/dist/cli/{search-YKN4OI4P.mjs → search-V3ZQE4UU.mjs} +8 -8
- package/dist/cli/{secrets-CQPQQJ76.mjs → secrets-ILDTXJ3L.mjs} +7 -7
- package/dist/cli/{secrets-W3DT7F7Q.js → secrets-IU2FWIQI.js} +16 -16
- package/dist/cli/{sessions-U5ULT5CF.mjs → sessions-4M6WBATB.mjs} +6 -6
- package/dist/cli/sessions-Y25VJZSV.js +16 -0
- package/dist/cli/{settings-U6ZOQ3FZ.js → settings-5BMSV6EL.js} +78 -78
- package/dist/cli/{settings-6MZCTUWD.mjs → settings-Z4R5U5OZ.mjs} +11 -11
- package/dist/cli/{setup-JFG3GZGE.mjs → setup-FWSJMJWR.mjs} +9 -9
- package/dist/cli/{setup-HEDWKIGE.js → setup-QZ3ZN4RI.js} +44 -44
- package/dist/cli/skills-4JXC4C57.js +29 -0
- package/dist/cli/{skills-VIY56KK5.mjs → skills-RA7HJTXG.mjs} +7 -7
- package/dist/cli/{tools-Y64ZTYTZ.mjs → tools-5VI3FPWV.mjs} +15 -15
- package/dist/cli/tools-BGVCWIZ5.js +44 -0
- package/dist/cli/update-GPXJHQXJ.js +31 -0
- package/dist/cli/{update-2RL67PK2.mjs → update-O7B44SN5.mjs} +9 -9
- package/dist/cli/{workflow-YRI7MT3F.mjs → workflow-3MOKM4IM.mjs} +8 -8
- package/dist/cli/{workflow-FHKZGJGS.js → workflow-7W3BTJPH.js} +18 -18
- package/dist/{client-Doml68vC.d.mts → client-BCmnJaL9.d.mts} +1 -1
- package/dist/{client-9nH8tx4R.d.ts → client-BqQ7Rb11.d.ts} +1 -1
- package/dist/{compiler-manifest-CF2qngKr.d.ts → compiler-manifest-CWz_sNOQ.d.mts} +6 -2
- package/dist/{compiler-manifest-CF2qngKr.d.mts → compiler-manifest-CWz_sNOQ.d.ts} +6 -2
- package/dist/{index-Bq37k0sE.d.ts → index-4NPXDzlD.d.ts} +1 -1
- package/dist/{index-DTI-iNw8.d.mts → index-BF2JB_Ug.d.mts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -10
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +96 -96
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +3 -3
- package/dist/plays/run-request.mjs +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-5UUDH4A7.js +0 -40
- package/dist/cli/git-6QITFAMM.js +0 -24
- package/dist/cli/search-DOK42NBV.js +0 -30
- package/dist/cli/sessions-GYKUO55E.js +0 -16
- package/dist/cli/skills-FOGBZYDP.js +0 -29
- package/dist/cli/tools-ZN54N4NT.js +0 -44
- package/dist/cli/update-AZCNZXXP.js +0 -31
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -14,10 +14,10 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkUJLPE55Bjs = require('./chunk-UJLPE55B.js');
|
|
21
21
|
|
|
22
22
|
// src/config.ts
|
|
23
23
|
|
|
@@ -378,7 +378,7 @@ function resolveBaseUrlOnly(options) {
|
|
|
378
378
|
_optionalChain([options, 'optionalAccess', _32 => _32.baseUrl, 'optionalAccess', _33 => _33.trim, 'call', _34 => _34()]) || autoDetectBaseUrl()
|
|
379
379
|
);
|
|
380
380
|
if (!baseUrl) {
|
|
381
|
-
throw new (0,
|
|
381
|
+
throw new (0, _chunkALJJRZNJjs.ConfigError)(
|
|
382
382
|
`Invalid ${HOST_URL_ENV}. Expected an http(s) URL such as https://code.deepline.com.`
|
|
383
383
|
);
|
|
384
384
|
}
|
|
@@ -389,13 +389,13 @@ function resolveConfig(options) {
|
|
|
389
389
|
_optionalChain([options, 'optionalAccess', _35 => _35.baseUrl, 'optionalAccess', _36 => _36.trim, 'call', _37 => _37()]) || autoDetectBaseUrl()
|
|
390
390
|
);
|
|
391
391
|
if (!baseUrl) {
|
|
392
|
-
throw new (0,
|
|
392
|
+
throw new (0, _chunkALJJRZNJjs.ConfigError)(
|
|
393
393
|
`Invalid ${HOST_URL_ENV}. Expected an http(s) URL such as https://code.deepline.com.`
|
|
394
394
|
);
|
|
395
395
|
}
|
|
396
396
|
const apiKey = resolveApiKeyForBaseUrl(baseUrl, _optionalChain([options, 'optionalAccess', _38 => _38.apiKey]));
|
|
397
397
|
if (!apiKey) {
|
|
398
|
-
throw new (0,
|
|
398
|
+
throw new (0, _chunkALJJRZNJjs.ConfigError)(
|
|
399
399
|
`No API key found. Set ${API_KEY_ENV}, add it to .env.deepline, or run: deepline auth register`
|
|
400
400
|
);
|
|
401
401
|
}
|
|
@@ -498,7 +498,7 @@ function findNearestGitCommonDir(startDir) {
|
|
|
498
498
|
function saveProjectDeeplineEnvValues(values, startDir = process.cwd()) {
|
|
499
499
|
const target = resolveProjectPinTarget(startDir);
|
|
500
500
|
if (!target.ok) {
|
|
501
|
-
throw new (0,
|
|
501
|
+
throw new (0, _chunkALJJRZNJjs.ConfigError)(
|
|
502
502
|
`Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
|
|
503
503
|
", "
|
|
504
504
|
)}. Set CLAUDE_PROJECT_DIR or cd into the intended project folder before running this command.`
|
|
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
// src/version.ts
|
|
652
|
-
var SDK_VERSION =
|
|
653
|
-
var SDK_API_MAJOR =
|
|
654
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
652
|
+
var SDK_VERSION = _chunkUJLPE55Bjs.SDK_RELEASE.version;
|
|
653
|
+
var SDK_API_MAJOR = _chunkUJLPE55Bjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
654
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkUJLPE55Bjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
655
655
|
|
|
656
656
|
// src/agent-runtime.ts
|
|
657
657
|
|
|
@@ -1195,16 +1195,16 @@ var HttpClient = class {
|
|
|
1195
1195
|
if (_optionalChain([options, 'optionalAccess', _204 => _204.retryFromExecutePolicy]) === true && responseRetryAllowed && options.executePolicyMaxRetries !== void 0) {
|
|
1196
1196
|
maxRetries = options.executePolicyMaxRetries;
|
|
1197
1197
|
}
|
|
1198
|
-
const structuredToolError = _optionalChain([options, 'optionalAccess', _205 => _205.toolId]) && !response.ok ?
|
|
1198
|
+
const structuredToolError = _optionalChain([options, 'optionalAccess', _205 => _205.toolId]) && !response.ok ? _chunkDIAWYWT5js.deserializeToolExecutionFailure.call(void 0,
|
|
1199
1199
|
_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
|
|
1200
1200
|
isRecord(parsed) ? parsed.tool_error : null,
|
|
1201
|
-
|
|
1201
|
+
_chunkDIAWYWT5js.TOOL_EXECUTION_ERROR_SCHEMA_VERSION
|
|
1202
1202
|
) : null;
|
|
1203
1203
|
if (structuredToolError) {
|
|
1204
1204
|
if (response.status === 429) {
|
|
1205
1205
|
const retryAfter = parseRetryAfter(response);
|
|
1206
|
-
const failure =
|
|
1207
|
-
lastError = failure === null ? structuredToolError : new (0,
|
|
1206
|
+
const failure = _chunkDIAWYWT5js.serializeToolExecutionFailure.call(void 0, structuredToolError);
|
|
1207
|
+
lastError = failure === null ? structuredToolError : new (0, _chunkALJJRZNJjs.ToolRateLimitError)(structuredToolError.message, {
|
|
1208
1208
|
...failure,
|
|
1209
1209
|
retryAfterMs: _nullishCoalesce(failure.retryAfterMs, () => ( Math.max(0, retryAfter)))
|
|
1210
1210
|
});
|
|
@@ -1218,7 +1218,7 @@ var HttpClient = class {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
if (response.status === 429) {
|
|
1220
1220
|
if (_optionalChain([options, 'optionalAccess', _206 => _206.preserveRateLimitResponse]) && isMonitorRateLimitEnvelope(parsed)) {
|
|
1221
|
-
throw new (0,
|
|
1221
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1222
1222
|
_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
|
|
1223
1223
|
response.status,
|
|
1224
1224
|
_chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed),
|
|
@@ -1226,7 +1226,7 @@ var HttpClient = class {
|
|
|
1226
1226
|
);
|
|
1227
1227
|
}
|
|
1228
1228
|
const retryAfter = parseRetryAfter(response);
|
|
1229
|
-
lastError = new (0,
|
|
1229
|
+
lastError = new (0, _chunkALJJRZNJjs.RateLimitError)(retryAfter);
|
|
1230
1230
|
if (responseRetryAllowed && attempt < maxRetries) {
|
|
1231
1231
|
retryAfterDelayMs = retryAfter;
|
|
1232
1232
|
break;
|
|
@@ -1234,7 +1234,7 @@ var HttpClient = class {
|
|
|
1234
1234
|
throw lastError;
|
|
1235
1235
|
}
|
|
1236
1236
|
if (response.status === 401 && !isProviderOriginatedHttpError(parsed)) {
|
|
1237
|
-
throw new (0,
|
|
1237
|
+
throw new (0, _chunkALJJRZNJjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
|
|
1238
1238
|
}
|
|
1239
1239
|
if (!response.ok) {
|
|
1240
1240
|
const retryableApiError = _optionalChain([options, 'optionalAccess', _207 => _207.retryApiErrors]) === true && responseRetryAllowed && isRetryableApiErrorResponse(response.status);
|
|
@@ -1243,7 +1243,7 @@ var HttpClient = class {
|
|
|
1243
1243
|
response.headers.get("content-type")
|
|
1244
1244
|
);
|
|
1245
1245
|
if (htmlError) {
|
|
1246
|
-
lastError = new (0,
|
|
1246
|
+
lastError = new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1247
1247
|
htmlError.message(response.status),
|
|
1248
1248
|
response.status,
|
|
1249
1249
|
"API_ERROR",
|
|
@@ -1262,7 +1262,7 @@ var HttpClient = class {
|
|
|
1262
1262
|
const errorValue = typeof parsed === "object" && parsed && "error" in parsed ? parsed.error : void 0;
|
|
1263
1263
|
const msg = typeof errorValue === "string" ? errorValue : errorValue && typeof errorValue === "object" && "message" in errorValue && typeof errorValue.message === "string" ? errorValue.message : typeof parsed === "object" && parsed && "message" in parsed && typeof parsed.message === "string" ? parsed.message : `HTTP ${response.status}`;
|
|
1264
1264
|
const apiErrorCode = _chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed);
|
|
1265
|
-
lastError = new (0,
|
|
1265
|
+
lastError = new (0, _chunkDIAWYWT5js.DeeplineError)(msg, response.status, apiErrorCode, {
|
|
1266
1266
|
response: parsed
|
|
1267
1267
|
});
|
|
1268
1268
|
if (retryableApiError && attempt < maxRetries) {
|
|
@@ -1277,7 +1277,7 @@ var HttpClient = class {
|
|
|
1277
1277
|
response.headers.get("content-type")
|
|
1278
1278
|
);
|
|
1279
1279
|
if (interstitial) {
|
|
1280
|
-
throw new (0,
|
|
1280
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1281
1281
|
`${this.config.baseUrl} returned a deployment-protection page instead of JSON. Set VERCEL_PROTECTION_BYPASS_TOKEN, or run \`vercel login\` if the CLI session expired.`,
|
|
1282
1282
|
response.status,
|
|
1283
1283
|
"DEPLOYMENT_PROTECTED",
|
|
@@ -1293,10 +1293,10 @@ var HttpClient = class {
|
|
|
1293
1293
|
lastError = requestCancelledError(options.signal);
|
|
1294
1294
|
break requestAttempts;
|
|
1295
1295
|
}
|
|
1296
|
-
if (error instanceof
|
|
1296
|
+
if (error instanceof _chunkALJJRZNJjs.AuthError || error instanceof _chunkDIAWYWT5js.DeeplineError) {
|
|
1297
1297
|
throw error;
|
|
1298
1298
|
}
|
|
1299
|
-
if (error instanceof
|
|
1299
|
+
if (error instanceof _chunkALJJRZNJjs.RateLimitError) {
|
|
1300
1300
|
lastError = error;
|
|
1301
1301
|
break;
|
|
1302
1302
|
}
|
|
@@ -1312,7 +1312,7 @@ var HttpClient = class {
|
|
|
1312
1312
|
}
|
|
1313
1313
|
if (attempt < maxRetries) continue;
|
|
1314
1314
|
}
|
|
1315
|
-
if (lastError instanceof
|
|
1315
|
+
if (lastError instanceof _chunkDIAWYWT5js.DeeplineError) {
|
|
1316
1316
|
throw lastError;
|
|
1317
1317
|
}
|
|
1318
1318
|
const mappedNetworkError = mapNetworkError(
|
|
@@ -1337,7 +1337,7 @@ var HttpClient = class {
|
|
|
1337
1337
|
if (_optionalChain([options, 'optionalAccess', _214 => _214.toolId])) {
|
|
1338
1338
|
const code = mappedNetworkError.code;
|
|
1339
1339
|
throw withErrorCause(
|
|
1340
|
-
new (0,
|
|
1340
|
+
new (0, _chunkDIAWYWT5js.ToolExecutionError)(
|
|
1341
1341
|
withCoworkNetworkHint(mappedNetworkError.message),
|
|
1342
1342
|
{
|
|
1343
1343
|
toolId: options.toolId,
|
|
@@ -1362,7 +1362,7 @@ var HttpClient = class {
|
|
|
1362
1362
|
);
|
|
1363
1363
|
}
|
|
1364
1364
|
throw withErrorCause(
|
|
1365
|
-
new (0,
|
|
1365
|
+
new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1366
1366
|
withCoworkNetworkHint(mappedNetworkError.message),
|
|
1367
1367
|
void 0,
|
|
1368
1368
|
mappedNetworkError.code,
|
|
@@ -1408,14 +1408,14 @@ var HttpClient = class {
|
|
|
1408
1408
|
const body = await response.text();
|
|
1409
1409
|
const parsed = parseResponseBody(body);
|
|
1410
1410
|
if (response.status === 401 && !isProviderOriginatedHttpError(parsed)) {
|
|
1411
|
-
throw new (0,
|
|
1411
|
+
throw new (0, _chunkALJJRZNJjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
|
|
1412
1412
|
}
|
|
1413
1413
|
const htmlError = detectHtmlErrorBody(
|
|
1414
1414
|
body,
|
|
1415
1415
|
response.headers.get("content-type")
|
|
1416
1416
|
);
|
|
1417
1417
|
if (htmlError) {
|
|
1418
|
-
throw new (0,
|
|
1418
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1419
1419
|
htmlError.message(response.status),
|
|
1420
1420
|
response.status,
|
|
1421
1421
|
"API_ERROR",
|
|
@@ -1426,7 +1426,7 @@ var HttpClient = class {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
);
|
|
1428
1428
|
}
|
|
1429
|
-
throw new (0,
|
|
1429
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1430
1430
|
_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
|
|
1431
1431
|
response.status,
|
|
1432
1432
|
_chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed),
|
|
@@ -1434,17 +1434,17 @@ var HttpClient = class {
|
|
|
1434
1434
|
);
|
|
1435
1435
|
}
|
|
1436
1436
|
if (!response.body) {
|
|
1437
|
-
throw new (0,
|
|
1437
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)("SSE response did not include a body.");
|
|
1438
1438
|
}
|
|
1439
1439
|
yield* decodeSseStream(response.body);
|
|
1440
1440
|
return;
|
|
1441
1441
|
} catch (error) {
|
|
1442
|
-
if (error instanceof
|
|
1442
|
+
if (error instanceof _chunkALJJRZNJjs.AuthError || error instanceof _chunkDIAWYWT5js.DeeplineError) {
|
|
1443
1443
|
throw error;
|
|
1444
1444
|
}
|
|
1445
1445
|
const normalized = error instanceof Error ? error : new Error(String(error));
|
|
1446
1446
|
if (isAbortLikeError(normalized) && _optionalChain([options, 'optionalAccess', _221 => _221.signal, 'optionalAccess', _222 => _222.aborted])) {
|
|
1447
|
-
throw new (0,
|
|
1447
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1448
1448
|
`Stream from ${this.config.baseUrl} was aborted by the caller.`,
|
|
1449
1449
|
void 0,
|
|
1450
1450
|
"ABORTED"
|
|
@@ -1454,7 +1454,7 @@ var HttpClient = class {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
1456
|
if (lastError && isAbortLikeError(lastError)) {
|
|
1457
|
-
throw new (0,
|
|
1457
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1458
1458
|
withCoworkNetworkHint(
|
|
1459
1459
|
`Unable to stream from ${this.config.baseUrl}. The remote stream was interrupted.`
|
|
1460
1460
|
),
|
|
@@ -1462,7 +1462,7 @@ var HttpClient = class {
|
|
|
1462
1462
|
"PLAY_STREAM_NETWORK_ABORTED"
|
|
1463
1463
|
);
|
|
1464
1464
|
}
|
|
1465
|
-
throw new (0,
|
|
1465
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
1466
1466
|
withCoworkNetworkHint(
|
|
1467
1467
|
_optionalChain([lastError, 'optionalAccess', _223 => _223.message]) ? `Unable to stream from ${this.config.baseUrl}. ${lastError.message}` : `Unable to stream from ${this.config.baseUrl}.`
|
|
1468
1468
|
)
|
|
@@ -8,7 +8,7 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
|
|
|
8
8
|
var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
12
12
|
|
|
13
13
|
// ../play-runtime/run-lifecycle-policy.ts
|
|
14
14
|
var TERMINAL_PLAY_RUN_STATUSES = /* @__PURE__ */ new Set([
|
|
@@ -79,7 +79,7 @@ var PLAY_RUN_START_STREAM_PATH = `${PLAY_RUN_START_PATH}?stream=true`;
|
|
|
79
79
|
var CLI_PLAY_RUN_START_STREAM_PATH = `${CLI_PLAY_RUN_START_PATH}?stream=true`;
|
|
80
80
|
var PLAY_FILES_STAGE_PATH = "/api/v2/plays/files/stage";
|
|
81
81
|
var PLAY_FILES_STAGE_MINT_PATH = `${PLAY_FILES_STAGE_PATH}/mint`;
|
|
82
|
-
var CliPlayAdmissionUnsupportedError = class extends
|
|
82
|
+
var CliPlayAdmissionUnsupportedError = class extends _chunkDIAWYWT5js.DeeplineError {
|
|
83
83
|
constructor(status) {
|
|
84
84
|
super(
|
|
85
85
|
"This server does not support CLI Play admission.",
|
|
@@ -131,13 +131,13 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
|
|
|
131
131
|
try {
|
|
132
132
|
capability = await http.get(PLAY_RUN_START_PATH, options);
|
|
133
133
|
} catch (error) {
|
|
134
|
-
if (!(error instanceof
|
|
134
|
+
if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || ![404, 405].includes(_nullishCoalesce(error.statusCode, () => ( 0))))
|
|
135
135
|
throw error;
|
|
136
136
|
}
|
|
137
137
|
if (capability && !["caller-intent-v1", "unsupported"].includes(
|
|
138
138
|
_nullishCoalesce(capability.admissionContract, () => ( ""))
|
|
139
139
|
)) {
|
|
140
|
-
throw new (0,
|
|
140
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
141
141
|
"The server admission capability response is unknown; execution was not submitted.",
|
|
142
142
|
503,
|
|
143
143
|
"PLAY_RUN_ADMISSION_CAPABILITY_UNKNOWN"
|
|
@@ -147,14 +147,14 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
|
|
|
147
147
|
const supportsCallerIntent = _optionalChain([capability, 'optionalAccess', _5 => _5.admissionContract]) === "caller-intent-v1";
|
|
148
148
|
_optionalChain([options, 'optionalAccess', _6 => _6.signal, 'optionalAccess', _7 => _7.throwIfAborted, 'call', _8 => _8()]);
|
|
149
149
|
if (supportsCallerIntent && (!_optionalChain([capability, 'optionalAccess', _9 => _9.orgId]) || request.admissionOrgId && request.admissionOrgId !== capability.orgId)) {
|
|
150
|
-
throw new (0,
|
|
150
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
151
151
|
"The admission workspace could not be pinned to this request; execution was not submitted.",
|
|
152
152
|
409,
|
|
153
153
|
"PLAY_RUN_ADMISSION_TENANT_CONFLICT"
|
|
154
154
|
);
|
|
155
155
|
}
|
|
156
156
|
if (request.workflowId && !supportsCallerIntent) {
|
|
157
|
-
throw new (0,
|
|
157
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
158
158
|
"This server has not enabled caller-owned admission recovery. Do not retry an ambiguous start.",
|
|
159
159
|
409,
|
|
160
160
|
"PLAY_RUN_ADMISSION_RECOVERY_UNSUPPORTED"
|
|
@@ -162,20 +162,20 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
|
|
|
162
162
|
}
|
|
163
163
|
if (request.maxTotalCredits !== void 0 && _optionalChain([capability, 'optionalAccess', _10 => _10.strictTotalBudget]) === "unbounded-v1") {
|
|
164
164
|
if (request.maxTotalCredits === 0) {
|
|
165
|
-
throw new (0,
|
|
165
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
166
166
|
"A zero-credit total budget cannot admit a Play: sandbox compute is billed even when provider tools are free.",
|
|
167
167
|
422,
|
|
168
168
|
"PLAY_TOTAL_BUDGET_COMPUTE_REQUIRED"
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
|
-
throw new (0,
|
|
171
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
172
172
|
"A strict total Play budget cannot currently be admitted: provider operations, Customer DB compute, and additional sandbox sessions do not have a finite admitted upper bound.",
|
|
173
173
|
422,
|
|
174
174
|
"PLAY_TOTAL_BUDGET_UNBOUNDED"
|
|
175
175
|
);
|
|
176
176
|
}
|
|
177
177
|
if (request.maxTotalCredits !== void 0 && _optionalChain([capability, 'optionalAccess', _11 => _11.strictTotalBudget]) !== "fail-closed-v1") {
|
|
178
|
-
throw new (0,
|
|
178
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
179
179
|
"This server cannot honor a strict total Play budget. Execution was not submitted.",
|
|
180
180
|
409,
|
|
181
181
|
"PLAY_TOTAL_BUDGET_UNSUPPORTED"
|
|
@@ -192,7 +192,7 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
|
|
|
192
192
|
const workflowId = supportsCallerIntent ? _nullishCoalesce(request.workflowId, () => ( _chunkXDVT3GOMjs.buildCallerPlayWorkflowId.call(void 0, _nullishCoalesce(request.name, () => ( "play")), wireBody))) : void 0;
|
|
193
193
|
const submittedBody = workflowId ? { workflowId, ...wireBody } : wireBody;
|
|
194
194
|
if (workflowId && !_chunkXDVT3GOMjs.callerPlayWorkflowIdMatchesRequest.call(void 0, workflowId, submittedBody)) {
|
|
195
|
-
throw new (0,
|
|
195
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
196
196
|
"workflowId must be the caller run ID of this same immutable request.",
|
|
197
197
|
400,
|
|
198
198
|
"PLAY_RUN_START_INTENT_CONFLICT"
|
|
@@ -200,7 +200,7 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
|
|
|
200
200
|
}
|
|
201
201
|
if (onSubmission) {
|
|
202
202
|
if (!workflowId || !_optionalChain([capability, 'optionalAccess', _12 => _12.orgId])) {
|
|
203
|
-
throw new (0,
|
|
203
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
204
204
|
"This server cannot persist a recoverable submission intent. Execution was not submitted.",
|
|
205
205
|
409,
|
|
206
206
|
"PLAY_RUN_ADMISSION_RECOVERY_UNSUPPORTED"
|
|
@@ -244,17 +244,17 @@ async function startPlayRun(http, request, headers, options) {
|
|
|
244
244
|
}
|
|
245
245
|
);
|
|
246
246
|
} catch (error) {
|
|
247
|
-
if (_optionalChain([options, 'optionalAccess', _17 => _17.cliAdmission]) && !cliAdmissionSupported && error instanceof
|
|
247
|
+
if (_optionalChain([options, 'optionalAccess', _17 => _17.cliAdmission]) && !cliAdmissionSupported && error instanceof _chunkDIAWYWT5js.DeeplineError && (error.statusCode === 404 || error.statusCode === 405)) {
|
|
248
248
|
throw new CliPlayAdmissionUnsupportedError(error.statusCode);
|
|
249
249
|
}
|
|
250
|
-
if (error instanceof
|
|
250
|
+
if (error instanceof _chunkDIAWYWT5js.DeeplineError && ["NETWORK_TIMEOUT", "NETWORK_ERROR", "FETCH_FAILED"].includes(
|
|
251
251
|
_nullishCoalesce(error.code, () => ( ""))
|
|
252
252
|
) || error instanceof TypeError || error instanceof Error && ["AbortError", "TimeoutError"].includes(error.name)) {
|
|
253
253
|
const originalMessage = error instanceof Error ? error.message : "Transport failed";
|
|
254
|
-
const failure = new (0,
|
|
254
|
+
const failure = new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
255
255
|
workflowId ? `${originalMessage} Admission outcome is unknown for ${workflowId}. Inspect this run before retrying; reuse this workflowId for the same immutable request.` : `${originalMessage} Admission outcome is unknown. This server did not prove caller-owned recovery support; inspect existing runs before starting again.`,
|
|
256
|
-
error instanceof
|
|
257
|
-
error instanceof
|
|
256
|
+
error instanceof _chunkDIAWYWT5js.DeeplineError ? error.statusCode : void 0,
|
|
257
|
+
error instanceof _chunkDIAWYWT5js.DeeplineError ? error.code : "NETWORK_ERROR",
|
|
258
258
|
{
|
|
259
259
|
...workflowId ? { runId: workflowId, workflowId } : {},
|
|
260
260
|
admissionState: "unknown",
|
|
@@ -271,7 +271,7 @@ async function startPlayRun(http, request, headers, options) {
|
|
|
271
271
|
}
|
|
272
272
|
const started = normalizePlayRunStart(response);
|
|
273
273
|
if (_optionalChain([options, 'optionalAccess', _18 => _18.cliAdmission]) && (!started.workflowId || started.workflowId === "pending")) {
|
|
274
|
-
throw new (0,
|
|
274
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
275
275
|
"Play admission returned no run id. Check recent runs before submitting again.",
|
|
276
276
|
void 0,
|
|
277
277
|
"PLAY_START_MISSING_RUN_ID"
|
|
@@ -427,10 +427,10 @@ function stagedUploadIdentity(logicalPath, contentHash) {
|
|
|
427
427
|
return `${contentHash}:${logicalPath}`;
|
|
428
428
|
}
|
|
429
429
|
function isStagedUploadMintUnsupported(error) {
|
|
430
|
-
return error instanceof
|
|
430
|
+
return error instanceof _chunkDIAWYWT5js.DeeplineError && error.statusCode === 404;
|
|
431
431
|
}
|
|
432
432
|
function isStagedUploadDirectEgressDenied(error) {
|
|
433
|
-
return error instanceof
|
|
433
|
+
return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "STAGED_FILE_UPLOAD_EGRESS_DENIED";
|
|
434
434
|
}
|
|
435
435
|
function formatMegabytes(bytes) {
|
|
436
436
|
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
|
|
@@ -461,7 +461,7 @@ async function uploadStagedFileToPresignedUrl(input) {
|
|
|
461
461
|
}
|
|
462
462
|
const text = await response.text().catch(() => "");
|
|
463
463
|
const egressDenied = response.status === 403 && _optionalChain([response, 'access', _23 => _23.headers, 'access', _24 => _24.get, 'call', _25 => _25("x-deny-reason"), 'optionalAccess', _26 => _26.trim, 'call', _27 => _27(), 'access', _28 => _28.toLowerCase, 'call', _29 => _29()]) === "host_not_allowed";
|
|
464
|
-
lastError = new (0,
|
|
464
|
+
lastError = new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
465
465
|
`Direct storage upload of ${input.logicalPath} failed: ${response.status} ${text.slice(0, 200)}`,
|
|
466
466
|
response.status,
|
|
467
467
|
egressDenied ? "STAGED_FILE_UPLOAD_EGRESS_DENIED" : "STAGED_FILE_UPLOAD_FAILED",
|
|
@@ -471,7 +471,7 @@ async function uploadStagedFileToPresignedUrl(input) {
|
|
|
471
471
|
break;
|
|
472
472
|
}
|
|
473
473
|
} catch (error) {
|
|
474
|
-
lastError = error instanceof TypeError ? new (0,
|
|
474
|
+
lastError = error instanceof TypeError ? new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
475
475
|
`Direct storage upload of ${input.logicalPath} could not reach the storage endpoint: ${error.message}`,
|
|
476
476
|
void 0,
|
|
477
477
|
"STAGED_FILE_UPLOAD_EGRESS_DENIED",
|
|
@@ -482,7 +482,7 @@ async function uploadStagedFileToPresignedUrl(input) {
|
|
|
482
482
|
await sleep(250 * attempt);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
throw lastError instanceof Error ? lastError : new (0,
|
|
485
|
+
throw lastError instanceof Error ? lastError : new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
486
486
|
`Direct storage upload of ${input.logicalPath} failed.`,
|
|
487
487
|
void 0,
|
|
488
488
|
"STAGED_FILE_UPLOAD_FAILED",
|
|
@@ -497,7 +497,7 @@ async function stagePlayFilesViaMultipart(http, files, reason = "mint-unsupporte
|
|
|
497
497
|
for (const file of files) {
|
|
498
498
|
if (file.bytes > STAGE_LEGACY_MULTIPART_MAX_BYTES) {
|
|
499
499
|
const reasonMessage = reason === "direct-egress-denied" ? "direct storage is blocked by this environment's network egress policy" : "the connected Deepline server does not support direct-to-storage uploads";
|
|
500
|
-
throw new (0,
|
|
500
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
501
501
|
`Cannot stage ${file.logicalPath} (${formatMegabytes(file.bytes)}): ${reasonMessage}, and this file exceeds the ~4.5MB request-body limit the legacy upload path is subject to.`,
|
|
502
502
|
413,
|
|
503
503
|
"STAGED_FILE_TOO_LARGE_FOR_LEGACY_UPLOAD",
|
|
@@ -571,7 +571,7 @@ async function stagePlayFiles(http, files) {
|
|
|
571
571
|
stagedUploadIdentity(file.logicalPath, file.contentHash)
|
|
572
572
|
);
|
|
573
573
|
if (!upload) {
|
|
574
|
-
throw new (0,
|
|
574
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
575
575
|
`The staging server did not return an upload target for ${file.logicalPath}.`,
|
|
576
576
|
void 0,
|
|
577
577
|
"STAGED_FILE_MINT_INCOMPLETE"
|
|
@@ -607,7 +607,7 @@ async function stagePlayFiles(http, files) {
|
|
|
607
607
|
"direct-egress-denied"
|
|
608
608
|
);
|
|
609
609
|
if (!ref) {
|
|
610
|
-
throw new (0,
|
|
610
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
611
611
|
`The staging server did not return an upload target for ${result.fallbackFile.logicalPath}.`,
|
|
612
612
|
void 0,
|
|
613
613
|
"STAGED_FILE_MINT_INCOMPLETE"
|
|
@@ -675,7 +675,7 @@ function createSessionPlayRunHttp(fetchImpl = (...args) => fetch(...args)) {
|
|
|
675
675
|
} catch (e) {
|
|
676
676
|
}
|
|
677
677
|
if (!response.ok) {
|
|
678
|
-
throw new (0,
|
|
678
|
+
throw new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
679
679
|
_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
|
|
680
680
|
response.status,
|
|
681
681
|
_chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed),
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
recentSearchRef,
|
|
7
7
|
registerDeprecatedSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-POSRLOHP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
arrayField,
|
|
11
11
|
formatModelDescription,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
DeeplineClient,
|
|
47
47
|
validateExecutionIdempotencyKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-55GDG7QJ.mjs";
|
|
49
49
|
import {
|
|
50
50
|
stableStringify
|
|
51
51
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -55,18 +55,18 @@ import {
|
|
|
55
55
|
maybeAutoUpdateAndRelaunch,
|
|
56
56
|
registerCompatibilityCatalog,
|
|
57
57
|
runToolExecuteStage
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-ARVYJDPQ.mjs";
|
|
59
59
|
import {
|
|
60
60
|
isCliTraceEnabled,
|
|
61
61
|
recordCliTrace,
|
|
62
62
|
resolveCliMaintenancePolicy
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-DIDMHGVH.mjs";
|
|
64
64
|
import {
|
|
65
65
|
checkSdkCompatibility,
|
|
66
66
|
enforceSdkCompatibilityResponse,
|
|
67
67
|
flushDeferredSkillsSyncNotices,
|
|
68
68
|
syncSdkSkillsIfNeeded
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-PUWMWNBM.mjs";
|
|
70
70
|
import {
|
|
71
71
|
printCommandEnvelope,
|
|
72
72
|
printCompactJson,
|
|
@@ -74,15 +74,15 @@ import {
|
|
|
74
74
|
printJsonError,
|
|
75
75
|
renderCommandEnvelopeText,
|
|
76
76
|
shouldEmitJson
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-FOLT3LUQ.mjs";
|
|
78
78
|
import {
|
|
79
79
|
readSdkSkillsLocalVersion,
|
|
80
80
|
resolveConfig,
|
|
81
81
|
sdkCliStateDirPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-PPJ4PF6F.mjs";
|
|
83
83
|
import {
|
|
84
84
|
DeeplineError
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-HBL4PM5Q.mjs";
|
|
86
86
|
|
|
87
87
|
// src/cli/commands/tools.ts
|
|
88
88
|
import { Option } from "commander";
|
|
@@ -968,7 +968,7 @@ Examples:
|
|
|
968
968
|
process.exitCode = await narrowView();
|
|
969
969
|
return;
|
|
970
970
|
}
|
|
971
|
-
const { describeAnything } = await import("./describe-
|
|
971
|
+
const { describeAnything } = await import("./describe-K2CCAFJO.mjs");
|
|
972
972
|
process.exitCode = await describeAnything(
|
|
973
973
|
toolId,
|
|
974
974
|
{
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.441",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FOLT3LUQ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
agentSessionIdFromEnvironment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PPJ4PF6F.mjs";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
import {
|