deepline 0.3.440 → 0.3.442
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/scheduler-backends/postgres.ts +37 -15
- 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-KBORTFO6.mjs → auth-CUZJMTNS.mjs} +6 -6
- package/dist/cli/auth-HAO2GLGH.js +40 -0
- package/dist/cli/{billing-VJSUCB5I.mjs → billing-SWH3WAMC.mjs} +7 -7
- package/dist/cli/{billing-RE5WN7IQ.js → billing-W2U5VKFI.js} +83 -83
- package/dist/cli/{chunk-VXQQZV4A.js → chunk-2GVUZA6C.js} +33 -33
- package/dist/cli/{chunk-R2P756BJ.js → chunk-2JHQ24IT.js} +16 -16
- package/dist/cli/{chunk-MAMVGOSC.mjs → chunk-4QF2K7TM.mjs} +1 -1
- package/dist/cli/{chunk-O7PC3VOI.mjs → chunk-5ZQEDZDQ.mjs} +1 -1
- package/dist/cli/{chunk-GWC7OBRD.mjs → chunk-6YWIRIOI.mjs} +2 -2
- package/dist/cli/{chunk-Z7SKBAOU.js → chunk-77DW6WSO.js} +93 -93
- package/dist/cli/{chunk-4RKPT6IE.js → chunk-7BH4ZOWE.js} +2 -2
- package/dist/cli/{chunk-N5D4EMIY.mjs → chunk-7DH2FD7Y.mjs} +1 -1
- package/dist/cli/{chunk-PCNOULRB.mjs → chunk-7ICMVQL5.mjs} +4 -4
- package/dist/cli/{chunk-WU4U6VSB.js → chunk-A6QCMBGL.js} +5 -5
- package/dist/cli/{chunk-NPBJI7RE.js → chunk-ALJJRZNJ.js} +8 -8
- package/dist/cli/{chunk-ZLD46RSR.mjs → chunk-AR5YQQF5.mjs} +2 -2
- package/dist/cli/{chunk-GFEWNYQ4.js → chunk-C4WXHMKN.js} +2 -2
- package/dist/cli/{chunk-KAJK6XVI.js → chunk-CFUTOWE4.js} +6 -6
- package/dist/cli/{chunk-M6WSQZHP.js → chunk-D5IOUCJS.js} +57 -57
- package/dist/cli/{chunk-ATTUUPIU.js → chunk-D7IDBZDR.js} +8 -8
- package/dist/cli/{chunk-PPDBRJRW.js → chunk-DIAWYWT5.js} +6 -1
- package/dist/cli/{chunk-42YHEY2R.mjs → chunk-DUUY2JKP.mjs} +2 -2
- package/dist/cli/{chunk-KCC3FKIW.mjs → chunk-FAG4DFUC.mjs} +1 -1
- package/dist/cli/{chunk-V74O7X2X.mjs → chunk-GEHYAQSI.mjs} +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-4GHEUG6W.js → chunk-HYJKJJUM.js} +20 -20
- package/dist/cli/{chunk-2H4EY7KH.js → chunk-JKVRBCZL.js} +26 -26
- package/dist/cli/{chunk-V2ZITVZA.js → chunk-K2DHO3IM.js} +26 -26
- package/dist/cli/{chunk-R7GGDUOM.mjs → chunk-KKTRHDLN.mjs} +3 -3
- package/dist/cli/{chunk-OX5JAD3D.mjs → chunk-L2FWEP4G.mjs} +4 -4
- package/dist/cli/{chunk-BBYGXP2I.js → chunk-L3JU24MF.js} +12 -12
- package/dist/cli/{chunk-OOVQITRM.js → chunk-LCT6MTYQ.js} +50 -50
- package/dist/cli/{chunk-GJI7C2OU.js → chunk-NBFXQCWM.js} +8 -8
- package/dist/cli/{chunk-CWFN7MUU.mjs → chunk-O765GAOA.mjs} +9 -9
- package/dist/cli/{chunk-T6XBX45B.mjs → chunk-ODWSTSRJ.mjs} +5 -5
- package/dist/cli/{chunk-NUX2QHNC.mjs → chunk-OZDT2CZW.mjs} +1 -1
- package/dist/cli/{chunk-XL4FJX7J.mjs → chunk-P4GMPKMW.mjs} +3 -3
- package/dist/cli/{chunk-CI56TXRS.js → chunk-RR2LZVRA.js} +35 -35
- package/dist/cli/{chunk-EPABMF45.js → chunk-RWK35AB3.js} +6 -6
- package/dist/cli/{chunk-DS7Y7X26.mjs → chunk-SKXQZUMX.mjs} +1 -1
- package/dist/cli/{chunk-RAJP44MZ.mjs → chunk-SMM2EKDC.mjs} +1 -1
- package/dist/cli/{chunk-FGTKAXRJ.js → chunk-SOCWFREM.js} +101 -101
- package/dist/cli/{chunk-HNMQSS7P.js → chunk-SZUU2WTZ.js} +1 -1
- package/dist/cli/{chunk-K23LXA4N.mjs → chunk-TP4TMEML.mjs} +2 -2
- package/dist/cli/{chunk-NIR2UK5V.mjs → chunk-VLQWLPQU.mjs} +1 -1
- package/dist/cli/{chunk-GOHOTLUV.mjs → chunk-WY4W6PRD.mjs} +4 -4
- package/dist/cli/{chunk-GRAEERVE.mjs → chunk-YGMUSZLV.mjs} +3 -3
- package/dist/cli/{csv-L64ECPD5.js → csv-C5Z4OZQN.js} +14 -14
- package/dist/cli/{csv-MP3WOYPE.mjs → csv-HSR32EPA.mjs} +5 -5
- package/dist/cli/{db-RZJK6LGN.js → db-AK4ZYYRP.js} +34 -34
- package/dist/cli/{db-FOV7GHXS.mjs → db-JJGI4J5I.mjs} +7 -7
- package/dist/cli/{describe-R2BEQHVZ.mjs → describe-C35MTKF4.mjs} +16 -16
- package/dist/cli/{describe-WWENJAG2.js → describe-JVSD6F2G.js} +22 -22
- 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-3LFEK56I.js → executions-ZEA7O4PX.js} +9 -9
- package/dist/cli/{executions-C5WO6TGN.mjs → executions-ZECDB4NA.mjs} +7 -7
- package/dist/cli/{feedback-K6OAZUQ4.mjs → feedback-W7UL4V47.mjs} +5 -5
- package/dist/cli/{feedback-EMWUZ4LV.js → feedback-WQC4SX75.js} +9 -9
- package/dist/cli/git-E7CXCBZZ.js +24 -0
- package/dist/cli/{git-DJLL3OCZ.mjs → git-QBB7LEAV.mjs} +6 -6
- package/dist/cli/index.js +136 -136
- package/dist/cli/index.mjs +38 -38
- package/dist/cli/{legacy-noops-57SRSZ7M.js → legacy-noops-2QPJTEF4.js} +9 -9
- package/dist/cli/{legacy-noops-EAJG56KP.mjs → legacy-noops-E5NFHPKQ.mjs} +6 -6
- package/dist/cli/{monitors-FHTQ6227.mjs → monitors-E56RLT6N.mjs} +7 -7
- package/dist/cli/{monitors-OI57AAIG.js → monitors-MWBA46VZ.js} +93 -93
- package/dist/cli/{org-26EHPBKF.js → org-HGIWXACI.js} +69 -69
- package/dist/cli/{org-YGHFZTWJ.mjs → org-KE2DDK5A.mjs} +7 -7
- package/dist/cli/{play-KBKWTIXK.mjs → play-LGTF4IYG.mjs} +15 -15
- package/dist/cli/{play-PXGYS4DH.js → play-WO5UXBZM.js} +373 -373
- package/dist/cli/{providers-YPFEVK5C.mjs → providers-77KQS23B.mjs} +7 -7
- package/dist/cli/{providers-IZYBWI6M.js → providers-AIJPT54M.js} +10 -10
- package/dist/cli/{quickstart-RBCTFLI3.js → quickstart-CZQFBJVH.js} +7 -7
- package/dist/cli/{quickstart-SJ2M56CV.mjs → quickstart-EFMHLU4T.mjs} +5 -5
- package/dist/cli/{search-PSPZTTKR.mjs → search-U5KEPKNV.mjs} +8 -8
- package/dist/cli/search-XMNR7CYI.js +30 -0
- package/dist/cli/{secrets-XIWKYXGD.js → secrets-CBBR73U4.js} +16 -16
- package/dist/cli/{secrets-BCS4FE5D.mjs → secrets-JYHZIRO4.mjs} +7 -7
- package/dist/cli/{sessions-L3UEERFX.mjs → sessions-T74U74J7.mjs} +6 -6
- package/dist/cli/sessions-XA2EZDXD.js +16 -0
- package/dist/cli/{settings-SFFP7AR5.mjs → settings-C45BH4CU.mjs} +11 -11
- package/dist/cli/{settings-X2GMYBE7.js → settings-ND4437UB.js} +78 -78
- package/dist/cli/{setup-4ERUKDQ5.js → setup-FQ7JS4HM.js} +44 -44
- package/dist/cli/{setup-QIHAXFBL.mjs → setup-QDH6FAEZ.mjs} +9 -9
- package/dist/cli/skills-CSA2YFW6.js +29 -0
- package/dist/cli/{skills-BYNSDIKJ.mjs → skills-ZFSBA754.mjs} +7 -7
- package/dist/cli/tools-GUALRDI7.js +44 -0
- package/dist/cli/{tools-PQSMCIA7.mjs → tools-OVGOFORB.mjs} +15 -15
- package/dist/cli/{update-BI4E6UXI.mjs → update-BNU7VX5M.mjs} +9 -9
- package/dist/cli/update-K4WJSWDB.js +31 -0
- package/dist/cli/{workflow-PMRFMZVP.mjs → workflow-FX6GLQ3H.mjs} +8 -8
- package/dist/cli/{workflow-52P63K65.js → workflow-JSSXWU3T.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-LXI5K7V6.js +0 -40
- package/dist/cli/git-2BW2UDK6.js +0 -24
- package/dist/cli/search-5CFJRSGN.js +0 -30
- package/dist/cli/sessions-YX2AJF5I.js +0 -16
- package/dist/cli/skills-EOPZVMJS.js +0 -29
- package/dist/cli/tools-UEZW4OD7.js +0 -44
- package/dist/cli/update-6TOZCQ4Y.js +0 -31
|
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
|
|
|
205
205
|
// getters keep their established compatibility behavior.
|
|
206
206
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
207
207
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
208
|
-
version: '0.3.
|
|
208
|
+
version: '0.3.442',
|
|
209
209
|
updateSummary: {
|
|
210
210
|
introducedIn: '0.3.90',
|
|
211
211
|
summary:
|
|
@@ -20743,8 +20743,17 @@ export class PlayContextImpl implements ScalarPlayAuthoringRuntimeContext {
|
|
|
20743
20743
|
`plays.${retryAttributePrefix}_attempt`,
|
|
20744
20744
|
httpFailureAttempt,
|
|
20745
20745
|
);
|
|
20746
|
+
// Name Deepline's own limiter: the run's "provider 429s"
|
|
20747
|
+
// counter excludes it, so a bare "rate_limit" reads as a
|
|
20748
|
+
// provider 429 the counter missed.
|
|
20749
|
+
const retryLogReason =
|
|
20750
|
+
failure.isRateLimit &&
|
|
20751
|
+
failure.error instanceof ToolExecutionError &&
|
|
20752
|
+
failure.error.origin === 'deepline'
|
|
20753
|
+
? 'deepline_rate_limit'
|
|
20754
|
+
: failure.reason;
|
|
20746
20755
|
this.runtimeLog(
|
|
20747
|
-
`Tool ${toolId} returned ${response.status} (${
|
|
20756
|
+
`Tool ${toolId} returned ${response.status} (${retryLogReason}); retrying after ${retryDelayMs}ms ` +
|
|
20748
20757
|
`(request_id=${deeplineRequestId ?? 'none'} gateway=${transportGatewayOriginForDiagnostic(url)})`,
|
|
20749
20758
|
{ level: 'warn' },
|
|
20750
20759
|
);
|
|
@@ -7453,7 +7453,28 @@ export async function assignPostgresSchedulerRunAttempt(
|
|
|
7453
7453
|
updated_at = now()
|
|
7454
7454
|
WHERE run_id IN (SELECT run_id FROM assigned)
|
|
7455
7455
|
AND status IN ('queued', 'waiting')
|
|
7456
|
-
RETURNING run_id, created_at, started_at
|
|
7456
|
+
RETURNING run_id, created_at, started_at, launch_json
|
|
7457
|
+
),
|
|
7458
|
+
started_outbox AS (
|
|
7459
|
+
-- Freeze the first-claim fact in the same transaction as the attempt.
|
|
7460
|
+
-- The ordered projector owns the Convex write, including after a crash.
|
|
7461
|
+
INSERT INTO ${tableName('outbox', options)} (
|
|
7462
|
+
event_id, run_id, event_type, payload_json, created_at
|
|
7463
|
+
)
|
|
7464
|
+
SELECT
|
|
7465
|
+
'run-started:' || run_started.run_id,
|
|
7466
|
+
run_started.run_id,
|
|
7467
|
+
${RUN_EVENT_KIND_SQL_LITERAL.runStarted},
|
|
7468
|
+
jsonb_build_object(
|
|
7469
|
+
'playName', run_started.launch_json ->> 'playName',
|
|
7470
|
+
'runtimeBackend', run_started.launch_json ->> 'runtimeBackend',
|
|
7471
|
+
'firstClaimLatencyMs',
|
|
7472
|
+
(extract(epoch FROM (run_started.started_at - run_started.created_at)) * 1000)::bigint
|
|
7473
|
+
),
|
|
7474
|
+
run_started.started_at
|
|
7475
|
+
FROM run_started
|
|
7476
|
+
JOIN first_start USING (run_id)
|
|
7477
|
+
ON CONFLICT (event_id) DO NOTHING
|
|
7457
7478
|
)
|
|
7458
7479
|
SELECT
|
|
7459
7480
|
checkpoint_json,
|
|
@@ -23241,30 +23262,31 @@ async function projectPostgresSchedulerStartEvent(
|
|
|
23241
23262
|
event: PostgresSchedulerOutboxEvent,
|
|
23242
23263
|
launch: (PlaySchedulerSubmitInput & { firstClaimLatencyMs?: number }) | null,
|
|
23243
23264
|
): Promise<void> {
|
|
23244
|
-
|
|
23245
|
-
|
|
23246
|
-
);
|
|
23265
|
+
// Scheduler starts keep a compact fact; legacy callbacks may carry their
|
|
23266
|
+
// own envelope. Both reuse the immutable launch for omitted start metadata.
|
|
23267
|
+
const start = { ...launch, ...(event.payload as Record<string, unknown>) };
|
|
23268
|
+
const payload = hydrateRetainedPlayPipelines(start);
|
|
23247
23269
|
await startRunViaAppRuntime(runtimeApi, {
|
|
23248
23270
|
deliveryLeaseOwner: event.leaseOwner ?? undefined,
|
|
23249
23271
|
idempotencyKey: buildRunLedgerStartIdempotencyKey({
|
|
23250
23272
|
runId: event.runId,
|
|
23251
23273
|
deliveryKey: event.deliveryKey,
|
|
23252
23274
|
}),
|
|
23253
|
-
playName: stringPayloadField(
|
|
23254
|
-
playReference: stringPayloadField(
|
|
23275
|
+
playName: stringPayloadField(start, 'playName') ?? event.runId,
|
|
23276
|
+
playReference: stringPayloadField(start, 'playReference'),
|
|
23255
23277
|
definitionScope: launch?.definitionScope ?? undefined,
|
|
23256
23278
|
revisionId: launch?.revisionId,
|
|
23257
23279
|
runId: event.runId,
|
|
23258
|
-
artifactStorageKey: stringPayloadField(
|
|
23259
|
-
artifactHash: stringPayloadField(
|
|
23260
|
-
graphHash: stringPayloadField(
|
|
23261
|
-
runtimeBackend: stringPayloadField(
|
|
23262
|
-
schedulerBackend: stringPayloadField(
|
|
23263
|
-
schedulerSchema: stringPayloadField(
|
|
23264
|
-
executionProfile: stringPayloadField(
|
|
23265
|
-
maxCreditsPerRun: numberPayloadField(
|
|
23280
|
+
artifactStorageKey: stringPayloadField(start, 'artifactStorageKey'),
|
|
23281
|
+
artifactHash: stringPayloadField(start, 'artifactHash'),
|
|
23282
|
+
graphHash: stringPayloadField(start, 'graphHash'),
|
|
23283
|
+
runtimeBackend: stringPayloadField(start, 'runtimeBackend'),
|
|
23284
|
+
schedulerBackend: stringPayloadField(start, 'schedulerBackend'),
|
|
23285
|
+
schedulerSchema: stringPayloadField(start, 'schedulerSchema'),
|
|
23286
|
+
executionProfile: stringPayloadField(start, 'executionProfile'),
|
|
23287
|
+
maxCreditsPerRun: numberPayloadField(start, 'maxCreditsPerRun'),
|
|
23266
23288
|
...retainedPlayPipelineFields(payload.staticPipeline, payload),
|
|
23267
|
-
source: sourcePayloadField(
|
|
23289
|
+
source: sourcePayloadField(start, 'source'),
|
|
23268
23290
|
inputFileId:
|
|
23269
23291
|
launch?.inputFileId ??
|
|
23270
23292
|
stringPayloadField(event.payload, 'inputFileId') ??
|
|
@@ -392,11 +392,16 @@ export type ProviderUnavailableReason =
|
|
|
392
392
|
/**
|
|
393
393
|
* A provider failure that permits a read waterfall to try its next provider.
|
|
394
394
|
* A missing provider connection is included because another provider may still
|
|
395
|
-
* serve the read
|
|
396
|
-
*
|
|
395
|
+
* serve the read, and so is a Deepline rate limit that outlasted its retries:
|
|
396
|
+
* it throttles calls to this provider, not the read. Invalid credentials,
|
|
397
|
+
* caller input, and Deepline billing failures remain loud.
|
|
397
398
|
*/
|
|
398
399
|
export type ProviderUnavailableError =
|
|
399
400
|
| ProviderTransientError
|
|
401
|
+
| (ToolExecutionError & {
|
|
402
|
+
readonly origin: 'deepline';
|
|
403
|
+
readonly category: 'rate_limit';
|
|
404
|
+
})
|
|
400
405
|
| (ToolExecutionError & {
|
|
401
406
|
readonly origin: 'provider';
|
|
402
407
|
readonly code: 'PROVIDER_ACCOUNT_CAPACITY';
|
|
@@ -418,6 +423,13 @@ export function getProviderUnavailableReason(
|
|
|
418
423
|
error: unknown,
|
|
419
424
|
): ProviderUnavailableReason | null {
|
|
420
425
|
if (error instanceof ProviderTransientError) return error.category;
|
|
426
|
+
if (
|
|
427
|
+
error instanceof ToolExecutionError &&
|
|
428
|
+
error.origin === 'deepline' &&
|
|
429
|
+
error.category === 'rate_limit'
|
|
430
|
+
) {
|
|
431
|
+
return 'rate_limit';
|
|
432
|
+
}
|
|
421
433
|
if (
|
|
422
434
|
error instanceof ToolExecutionError &&
|
|
423
435
|
error.origin === 'provider' &&
|
|
@@ -644,7 +656,9 @@ export function normalizeToolExecutionFailure(
|
|
|
644
656
|
operation,
|
|
645
657
|
});
|
|
646
658
|
const category = normalizeToolExecutionCategory(value.category);
|
|
647
|
-
const publicDetails = normalizeToolExecutionPublicDetails(
|
|
659
|
+
const publicDetails = normalizeToolExecutionPublicDetails(
|
|
660
|
+
value.publicDetails,
|
|
661
|
+
);
|
|
648
662
|
const trustworthy =
|
|
649
663
|
origin !== 'unknown' &&
|
|
650
664
|
category !== 'unknown' &&
|
|
@@ -392,11 +392,16 @@ export type ProviderUnavailableReason =
|
|
|
392
392
|
/**
|
|
393
393
|
* A provider failure that permits a read waterfall to try its next provider.
|
|
394
394
|
* A missing provider connection is included because another provider may still
|
|
395
|
-
* serve the read
|
|
396
|
-
*
|
|
395
|
+
* serve the read, and so is a Deepline rate limit that outlasted its retries:
|
|
396
|
+
* it throttles calls to this provider, not the read. Invalid credentials,
|
|
397
|
+
* caller input, and Deepline billing failures remain loud.
|
|
397
398
|
*/
|
|
398
399
|
export type ProviderUnavailableError =
|
|
399
400
|
| ProviderTransientError
|
|
401
|
+
| (ToolExecutionError & {
|
|
402
|
+
readonly origin: 'deepline';
|
|
403
|
+
readonly category: 'rate_limit';
|
|
404
|
+
})
|
|
400
405
|
| (ToolExecutionError & {
|
|
401
406
|
readonly origin: 'provider';
|
|
402
407
|
readonly code: 'PROVIDER_ACCOUNT_CAPACITY';
|
|
@@ -418,6 +423,13 @@ export function getProviderUnavailableReason(
|
|
|
418
423
|
error: unknown,
|
|
419
424
|
): ProviderUnavailableReason | null {
|
|
420
425
|
if (error instanceof ProviderTransientError) return error.category;
|
|
426
|
+
if (
|
|
427
|
+
error instanceof ToolExecutionError &&
|
|
428
|
+
error.origin === 'deepline' &&
|
|
429
|
+
error.category === 'rate_limit'
|
|
430
|
+
) {
|
|
431
|
+
return 'rate_limit';
|
|
432
|
+
}
|
|
421
433
|
if (
|
|
422
434
|
error instanceof ToolExecutionError &&
|
|
423
435
|
error.origin === 'provider' &&
|
|
@@ -644,7 +656,9 @@ export function normalizeToolExecutionFailure(
|
|
|
644
656
|
operation,
|
|
645
657
|
});
|
|
646
658
|
const category = normalizeToolExecutionCategory(value.category);
|
|
647
|
-
const publicDetails = normalizeToolExecutionPublicDetails(
|
|
659
|
+
const publicDetails = normalizeToolExecutionPublicDetails(
|
|
660
|
+
value.publicDetails,
|
|
661
|
+
);
|
|
648
662
|
const trustworthy =
|
|
649
663
|
origin !== 'unknown' &&
|
|
650
664
|
category !== 'unknown' &&
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
reportSetupCompleted,
|
|
14
14
|
resolvePendingAuthClaimForResume,
|
|
15
15
|
statusBannerLine
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-AR5YQQF5.mjs";
|
|
17
|
+
import "./chunk-TP4TMEML.mjs";
|
|
18
|
+
import "./chunk-P4GMPKMW.mjs";
|
|
19
|
+
import "./chunk-4QF2K7TM.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-HBL4PM5Q.mjs";
|
|
22
|
+
import "./chunk-VLQWLPQU.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkLCT6MTYQjs = require('./chunk-LCT6MTYQ.js');
|
|
17
|
+
require('./chunk-L3JU24MF.js');
|
|
18
|
+
require('./chunk-2GVUZA6C.js');
|
|
19
|
+
require('./chunk-ALJJRZNJ.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-DIAWYWT5.js');
|
|
22
|
+
require('./chunk-SZUU2WTZ.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunkLCT6MTYQjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkLCT6MTYQjs.authStatusLine; exports.clearPendingClaim = _chunkLCT6MTYQjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkLCT6MTYQjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkLCT6MTYQjs.handleRegister; exports.handleStatus = _chunkLCT6MTYQjs.handleStatus; exports.handleWait = _chunkLCT6MTYQjs.handleWait; exports.httpJson = _chunkLCT6MTYQjs.httpJson; exports.readPendingAuthClaim = _chunkLCT6MTYQjs.readPendingAuthClaim; exports.readStatusBanner = _chunkLCT6MTYQjs.readStatusBanner; exports.registerAuthCommands = _chunkLCT6MTYQjs.registerAuthCommands; exports.reportSetupCompleted = _chunkLCT6MTYQjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkLCT6MTYQjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkLCT6MTYQjs.statusBannerLine;
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
DeeplineClient,
|
|
3
3
|
iterateCursorPages,
|
|
4
4
|
requireBillingIdempotencyKey
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7ICMVQL5.mjs";
|
|
6
6
|
import "./chunk-L2VKAASU.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-FAG4DFUC.mjs";
|
|
8
8
|
import "./chunk-EIMG75BT.mjs";
|
|
9
9
|
import "./chunk-UBKA33KY.mjs";
|
|
10
10
|
import {
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
openInBrowser,
|
|
14
14
|
printCommandEnvelope,
|
|
15
15
|
shouldEmitJson
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-TP4TMEML.mjs";
|
|
17
|
+
import "./chunk-P4GMPKMW.mjs";
|
|
18
18
|
import {
|
|
19
19
|
AuthError,
|
|
20
20
|
ConfigError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4QF2K7TM.mjs";
|
|
22
22
|
import "./chunk-DLIRSHV6.mjs";
|
|
23
23
|
import {
|
|
24
24
|
DeeplineError
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-HBL4PM5Q.mjs";
|
|
26
|
+
import "./chunk-VLQWLPQU.mjs";
|
|
27
27
|
import "./chunk-WZYKRD7T.mjs";
|
|
28
28
|
import "./chunk-KRD6H754.mjs";
|
|
29
29
|
|