deepline 0.3.324 → 0.3.325
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/sdk/src/types.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +5 -0
- package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +9 -0
- package/dist/cli/{auth-6KWNR6AI.mjs → auth-PIZESRPC.mjs} +4 -4
- package/dist/cli/auth-RXCD4GOV.js +31 -0
- package/dist/cli/{billing-CLLWHIAT.js → billing-DQKFCQV5.js} +70 -70
- package/dist/cli/{billing-VQ2NUJLB.mjs → billing-HSL6VTCM.mjs} +4 -4
- package/dist/cli/{chunk-5QZFWY7C.mjs → chunk-5FHU7TV4.mjs} +2 -2
- package/dist/cli/{chunk-LHJKYMTS.mjs → chunk-5TYU3UIS.mjs} +1 -1
- package/dist/cli/{chunk-EHSI2DMO.mjs → chunk-6RMKHN7S.mjs} +4 -4
- package/dist/cli/{chunk-DO2VA5UP.mjs → chunk-6VZDSBK6.mjs} +2 -2
- package/dist/cli/{chunk-U2RPP53P.mjs → chunk-7MD453WV.mjs} +6 -6
- package/dist/cli/{chunk-I7RLL7LN.mjs → chunk-AQUNQJ5Y.mjs} +1 -1
- package/dist/cli/{chunk-PAA4FYCF.js → chunk-CV5GDCKN.js} +15 -15
- package/dist/cli/{chunk-EXKRHZRG.js → chunk-DLW7X2UK.js} +220 -220
- package/dist/cli/{chunk-NIOFMRYW.mjs → chunk-H5TJBRSC.mjs} +5 -5
- package/dist/cli/{chunk-GMO3NBE2.js → chunk-HPTQEWCF.js} +60 -60
- package/dist/cli/{chunk-2UQUOUAW.js → chunk-HUKWYHBG.js} +2 -2
- package/dist/cli/{chunk-IXYR65PW.js → chunk-K7FC5IUU.js} +1 -1
- package/dist/cli/{chunk-QM2Z4FQF.js → chunk-KZNFYOHX.js} +6 -6
- package/dist/cli/{chunk-N5E66DP3.js → chunk-MNKDSR2J.js} +6 -6
- package/dist/cli/{chunk-HHZDWBSQ.mjs → chunk-NWBARG3F.mjs} +1 -1
- package/dist/cli/{chunk-G4F2AIQ5.js → chunk-OOPSX57I.js} +6 -6
- package/dist/cli/{chunk-NQJQ3CLX.mjs → chunk-OPERWJR6.mjs} +3 -3
- package/dist/cli/{chunk-V5PA6TCT.js → chunk-PBNZXZCW.js} +48 -48
- package/dist/cli/{chunk-D5YJHGST.js → chunk-PVDQ55PS.js} +4 -4
- package/dist/cli/{chunk-5CQ554BM.mjs → chunk-PWV2M4LW.mjs} +1 -1
- package/dist/cli/{chunk-GROXVGGW.js → chunk-QQ2FG5W3.js} +6 -6
- package/dist/cli/{chunk-NC2ZXG2Y.js → chunk-UYFWTIKF.js} +26 -26
- package/dist/cli/{chunk-AKM5JVPG.mjs → chunk-WW4XZIVM.mjs} +2 -2
- package/dist/cli/{chunk-3ZKAKQYC.mjs → chunk-XIVUB36F.mjs} +1 -1
- package/dist/cli/{chunk-TJGJTB5T.mjs → chunk-YE3O2UHM.mjs} +1 -1
- package/dist/cli/{chunk-TZZNI2A4.js → chunk-YXRPWMGN.js} +50 -50
- package/dist/cli/client-562MULXK.js +20 -0
- package/dist/cli/{client-VHUKTDAZ.mjs → client-57SR4KVM.mjs} +3 -3
- package/dist/cli/{csv-5MZY7HU5.js → csv-5DJSC6BD.js} +12 -12
- package/dist/cli/{csv-7DA4APB6.mjs → csv-G2FRMOXL.mjs} +3 -3
- package/dist/cli/{db-ICG3FUVE.js → db-NVO7P4VO.js} +20 -20
- package/dist/cli/{db-7UPW3N5U.mjs → db-WWZEXM3N.mjs} +4 -4
- package/dist/cli/{describe-ZAPGM5ND.mjs → describe-26OMF3A4.mjs} +8 -8
- package/dist/cli/{describe-VDRY2JCE.js → describe-M26LHDBQ.js} +15 -15
- package/dist/cli/{executions-TK3C2FAQ.mjs → executions-2LLHY3IL.mjs} +4 -4
- package/dist/cli/{executions-D5GYCY3A.js → executions-KI47LPKE.js} +6 -6
- package/dist/cli/{feedback-PZAZZUXF.js → feedback-2Y26C2BZ.js} +6 -6
- package/dist/cli/{feedback-T4EIP5QR.mjs → feedback-O26VL2OF.mjs} +3 -3
- package/dist/cli/git-KGPX5YPD.js +23 -0
- package/dist/cli/{git-WBFWIVO5.mjs → git-UVPGZN3K.mjs} +4 -4
- package/dist/cli/index.js +75 -75
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-LRBJWXRK.js → legacy-noops-H6Y3SEVB.js} +7 -7
- package/dist/cli/{legacy-noops-DUCK7OKN.mjs → legacy-noops-IK5CH72U.mjs} +4 -4
- package/dist/cli/{monitors-7S2SL62G.js → monitors-JL6TTQCI.js} +85 -85
- package/dist/cli/{monitors-WYH5AQIO.mjs → monitors-SFVVMAJT.mjs} +4 -4
- package/dist/cli/{org-EQNGGHPV.js → org-OVMAZCQS.js} +60 -60
- package/dist/cli/{org-XCSMLTUW.mjs → org-SSDONL57.mjs} +4 -4
- package/dist/cli/play-3DB4MSHN.js +152 -0
- package/dist/cli/{play-A5ISFBJM.mjs → play-X6NPACUO.mjs} +7 -7
- package/dist/cli/{providers-DR2CLD3N.js → providers-E24JDWSR.js} +7 -7
- package/dist/cli/{providers-KHTZFQ5I.mjs → providers-ONUBYYY4.mjs} +4 -4
- package/dist/cli/{quickstart-KT4LKORA.mjs → quickstart-B7NIXACV.mjs} +3 -3
- package/dist/cli/{quickstart-NIRWI6YU.js → quickstart-TB7C3DLG.js} +5 -5
- package/dist/cli/{search-WCEXPBAT.mjs → search-N3QUIATW.mjs} +5 -5
- package/dist/cli/search-NJ637YGQ.js +26 -0
- package/dist/cli/{secrets-QSFEZGVE.js → secrets-CPCVFDYB.js} +13 -13
- package/dist/cli/{secrets-TN7DW3QR.mjs → secrets-V7Z4M67T.mjs} +4 -4
- package/dist/cli/{sessions-LJS6W67T.js → sessions-E4FIZLQP.js} +5 -5
- package/dist/cli/{sessions-WSE5FN4H.mjs → sessions-PDOBKAKO.mjs} +4 -4
- package/dist/cli/{settings-Z3V53A6J.mjs → settings-QYHYHZDI.mjs} +7 -7
- package/dist/cli/{settings-FGS3VYJN.js → settings-UVM2WDE4.js} +74 -74
- package/dist/cli/{setup-ZA234HEY.js → setup-3JFAXQLJ.js} +41 -41
- package/dist/cli/{setup-GMH4VJS3.mjs → setup-4RLAETDW.mjs} +6 -6
- package/dist/cli/skills-BYRYG64R.js +28 -0
- package/dist/cli/{skills-7G2RZMYH.mjs → skills-ZX2JSWOZ.mjs} +4 -4
- package/dist/cli/{tools-7EE4BGXO.mjs → tools-EGXCVIPJ.mjs} +6 -6
- package/dist/cli/tools-TAWOAY5X.js +38 -0
- package/dist/cli/{update-O5QEWS7K.mjs → update-7FEKRQFE.mjs} +6 -6
- package/dist/cli/update-H24GEBXM.js +28 -0
- package/dist/cli/{workflow-M5PAAW3O.js → workflow-54VCKIG2.js} +15 -15
- package/dist/cli/{workflow-KE54RUTR.mjs → workflow-7V7TTTKK.mjs} +5 -5
- package/dist/{client-BV68GMPo.d.ts → client-Bb4Jjzmj.d.ts} +7 -1
- package/dist/{client-D9ACjiRC.d.mts → client-COa-3GHK.d.mts} +7 -1
- package/dist/{compiler-manifest-BXcZ4P4W.d.mts → compiler-manifest-CsnWj-AK.d.mts} +6 -0
- package/dist/{compiler-manifest-BXcZ4P4W.d.ts → compiler-manifest-CsnWj-AK.d.ts} +6 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +78 -78
- package/dist/plays/bundle-play-file.d.mts +2 -2
- package/dist/plays/bundle-play-file.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +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-LKSTC3YV.js +0 -31
- package/dist/cli/client-WMSTRUGP.js +0 -20
- package/dist/cli/git-73N6EUZ3.js +0 -23
- package/dist/cli/play-CLC2Z5SO.js +0 -152
- package/dist/cli/search-DM7IQS5F.js +0 -26
- package/dist/cli/skills-6APAQV6W.js +0 -28
- package/dist/cli/tools-EPYUFWPB.js +0 -38
- package/dist/cli/update-FPVX3XJC.js +0 -28
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.325',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'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.',
|
|
206
206
|
packageCapabilities: {
|
|
@@ -124,6 +124,12 @@ export interface CustomerDbColumn {
|
|
|
124
124
|
* query and selected customer tables.
|
|
125
125
|
*/
|
|
126
126
|
export interface CustomerDbQueryResult {
|
|
127
|
+
/** Present for explicitly keyed SQL; recovery keeps the original completion time. */
|
|
128
|
+
operation?: {
|
|
129
|
+
operation_key: string;
|
|
130
|
+
completed_at_ms: number;
|
|
131
|
+
source: 'executed' | 'operation_recovery';
|
|
132
|
+
};
|
|
127
133
|
/** This query reads the current mutable customer database, not one run snapshot. */
|
|
128
134
|
scope?: { kind: 'database'; mutability: 'current' };
|
|
129
135
|
/** Database command executed by the query endpoint. */
|
|
@@ -241,6 +241,7 @@ type RuntimeApiRequest =
|
|
|
241
241
|
}
|
|
242
242
|
| {
|
|
243
243
|
action: 'launch_play_async';
|
|
244
|
+
resolveImportedArtifact?: boolean;
|
|
244
245
|
key: string;
|
|
245
246
|
invocationKey: string;
|
|
246
247
|
playRef: string;
|
|
@@ -2725,6 +2726,7 @@ export async function recordFirstClaimLatencyViaAppRuntime(
|
|
|
2725
2726
|
export async function launchPlayAsyncViaAppRuntime(
|
|
2726
2727
|
context: WorkerRuntimeApiContext,
|
|
2727
2728
|
input: {
|
|
2729
|
+
resolveImportedArtifact?: boolean;
|
|
2728
2730
|
key: string;
|
|
2729
2731
|
invocationKey: string;
|
|
2730
2732
|
playRef: string;
|
|
@@ -2139,6 +2139,11 @@ async function run(
|
|
|
2139
2139
|
const runtimeInput = config.input ?? {};
|
|
2140
2140
|
const runtimeInputObject: Record<string, unknown> =
|
|
2141
2141
|
playRunInputObjectView(runtimeInput);
|
|
2142
|
+
const importedArtifactOptions = (playRef: string) =>
|
|
2143
|
+
config.artifact.importedPlayArtifacts &&
|
|
2144
|
+
Object.hasOwn(config.artifact.importedPlayArtifacts, playRef)
|
|
2145
|
+
? { resolveImportedArtifact: true as const }
|
|
2146
|
+
: {};
|
|
2142
2147
|
const resolveChildPlay =
|
|
2143
2148
|
createRunScopedChildPlayResolver<ResolvedPlayExecution>({
|
|
2144
2149
|
resolvePlay: async (playRef) => {
|
|
@@ -2157,6 +2162,7 @@ async function run(
|
|
|
2157
2162
|
userEmail: config.context.userEmail,
|
|
2158
2163
|
},
|
|
2159
2164
|
playRef,
|
|
2165
|
+
importedArtifactOptions(playRef),
|
|
2160
2166
|
);
|
|
2161
2167
|
if (resolved?.resolutionDiagnostics) {
|
|
2162
2168
|
emitWorkerLog(
|
|
@@ -2284,7 +2290,7 @@ async function run(
|
|
|
2284
2290
|
...appRuntimeApiContext,
|
|
2285
2291
|
requestTimeoutMs: RUNNER_RUNTIME_CONTROL_REQUEST_TIMEOUT_MS,
|
|
2286
2292
|
},
|
|
2287
|
-
request,
|
|
2293
|
+
{ ...request, ...importedArtifactOptions(request.playRef) },
|
|
2288
2294
|
),
|
|
2289
2295
|
onBatchComplete: (checkpoint) => {
|
|
2290
2296
|
emitRunnerEvent(
|
|
@@ -540,6 +540,7 @@ type RuntimeApiActionRequest =
|
|
|
540
540
|
| {
|
|
541
541
|
action: 'resolve_play';
|
|
542
542
|
playRef: string;
|
|
543
|
+
resolveImportedArtifact?: boolean;
|
|
543
544
|
acceptRetainedPipelineGraph?: boolean;
|
|
544
545
|
}
|
|
545
546
|
| {
|
|
@@ -3675,6 +3676,7 @@ async function writeRuntimeRowsWithProvisioningRetry(
|
|
|
3675
3676
|
export async function resolveRuntimeReferencedPlay(
|
|
3676
3677
|
context: RuntimeApiContext,
|
|
3677
3678
|
playRef: string,
|
|
3679
|
+
options?: { resolveImportedArtifact?: boolean },
|
|
3678
3680
|
): Promise<ResolvedRuntimePlay | null> {
|
|
3679
3681
|
const wire = await postRuntimeApi<{
|
|
3680
3682
|
play: ResolvedRuntimePlay | null;
|
|
@@ -3682,6 +3684,9 @@ export async function resolveRuntimeReferencedPlay(
|
|
|
3682
3684
|
}>(context, {
|
|
3683
3685
|
action: 'resolve_play',
|
|
3684
3686
|
playRef,
|
|
3687
|
+
...(options?.resolveImportedArtifact === true
|
|
3688
|
+
? { resolveImportedArtifact: true }
|
|
3689
|
+
: {}),
|
|
3685
3690
|
acceptRetainedPipelineGraph: true,
|
|
3686
3691
|
});
|
|
3687
3692
|
const response = {
|
|
@@ -62,6 +62,15 @@ export type PlayBundleArtifact = {
|
|
|
62
62
|
sourceMap: string;
|
|
63
63
|
importPolicy: PlayImportPolicy;
|
|
64
64
|
compatibility: PlayArtifactCompatibility;
|
|
65
|
+
/** Immutable imported execution closure; absent artifacts retain named live resolution. */
|
|
66
|
+
importedPlayArtifacts?: Record<
|
|
67
|
+
string,
|
|
68
|
+
{
|
|
69
|
+
artifactStorageKey: string;
|
|
70
|
+
artifactHash: string;
|
|
71
|
+
graphHash: string;
|
|
72
|
+
}
|
|
73
|
+
>;
|
|
65
74
|
generatedAt: number;
|
|
66
75
|
cacheHit: boolean;
|
|
67
76
|
};
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
registerAuthCommands,
|
|
10
10
|
reportSetupCompleted,
|
|
11
11
|
resolvePendingAuthClaimForResume
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-5FHU7TV4.mjs";
|
|
13
|
+
import "./chunk-AQUNQJ5Y.mjs";
|
|
14
|
+
import "./chunk-YE3O2UHM.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-NWBARG3F.mjs";
|
|
17
17
|
import "./chunk-NXGCO4JB.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkPBNZXZCWjs = require('./chunk-PBNZXZCW.js');
|
|
13
|
+
require('./chunk-QQ2FG5W3.js');
|
|
14
|
+
require('./chunk-PVDQ55PS.js');
|
|
15
|
+
require('./chunk-XNYIZMNQ.js');
|
|
16
|
+
require('./chunk-K7FC5IUU.js');
|
|
17
|
+
require('./chunk-7P5AA3SN.js');
|
|
18
|
+
require('./chunk-OG64RBAC.js');
|
|
19
|
+
require('./chunk-COGTRVWW.js');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunkPBNZXZCWjs.EXIT_WORKSPACE_MISMATCH; exports.clearPendingClaim = _chunkPBNZXZCWjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkPBNZXZCWjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkPBNZXZCWjs.handleRegister; exports.handleStatus = _chunkPBNZXZCWjs.handleStatus; exports.handleWait = _chunkPBNZXZCWjs.handleWait; exports.readPendingAuthClaim = _chunkPBNZXZCWjs.readPendingAuthClaim; exports.registerAuthCommands = _chunkPBNZXZCWjs.registerAuthCommands; exports.reportSetupCompleted = _chunkPBNZXZCWjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkPBNZXZCWjs.resolvePendingAuthClaimForResume;
|