deepline 0.3.499 → 0.3.500
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/observability/scheduled-jobs.json +18 -0
- package/dist/cli/auth-H4PCVUN3.js +43 -0
- package/dist/cli/{auth-TECJ27G3.mjs → auth-WK3FDPRP.mjs} +5 -5
- package/dist/cli/{billing-ULZGAED6.js → billing-K7UHZUF4.js} +79 -79
- package/dist/cli/{billing-PMKO73VG.mjs → billing-O3LVKXE7.mjs} +6 -6
- package/dist/cli/{chunk-IGCSKXGK.mjs → chunk-4CJWOLOS.mjs} +3 -3
- package/dist/cli/{chunk-YAW7ET4P.mjs → chunk-56QAHX2K.mjs} +1 -1
- package/dist/cli/{chunk-KOD45UP5.mjs → chunk-5AC7NUQN.mjs} +5 -5
- package/dist/cli/{chunk-JM52ATUS.mjs → chunk-5JXGYSXH.mjs} +1 -1
- package/dist/cli/{chunk-7WUMIRBV.js → chunk-5KAZGZG7.js} +5 -5
- package/dist/cli/{chunk-3GP52OHV.mjs → chunk-5TVY5OEH.mjs} +10 -10
- package/dist/cli/{chunk-TUDYBF4Y.js → chunk-74VKLBJD.js} +9 -9
- package/dist/cli/{chunk-XSUQAUG4.js → chunk-BIE57V6K.js} +7 -7
- package/dist/cli/{chunk-MQ5YPD7K.mjs → chunk-C7355NMU.mjs} +1 -1
- package/dist/cli/{chunk-ZVAD65CF.mjs → chunk-CBZTKDXW.mjs} +1 -1
- package/dist/cli/{chunk-56JE475N.mjs → chunk-CIV5GJAE.mjs} +2 -2
- package/dist/cli/{chunk-OWHQ4OG5.mjs → chunk-FJZUG633.mjs} +2 -2
- package/dist/cli/{chunk-Z2MO7FZG.js → chunk-G3NA4R7M.js} +53 -53
- package/dist/cli/{chunk-UOQUCFAK.js → chunk-GBRI644Y.js} +53 -53
- package/dist/cli/{chunk-2PKZ3RUU.js → chunk-GOO4VI5M.js} +16 -16
- package/dist/cli/{chunk-WEVIUQGZ.mjs → chunk-HI2BFS5S.mjs} +2 -2
- package/dist/cli/{chunk-AGZRRHSB.js → chunk-IX2DPYIV.js} +3 -3
- package/dist/cli/{chunk-UMPCQ4EE.mjs → chunk-IZ6YWXIK.mjs} +2 -2
- package/dist/cli/{chunk-5IDORX4E.mjs → chunk-JHNFUCVT.mjs} +4 -4
- package/dist/cli/{chunk-WSOM3TY6.js → chunk-K3BHKRMS.js} +3 -3
- package/dist/cli/{chunk-SLWCXGKP.js → chunk-KEBNXJSK.js} +16 -16
- package/dist/cli/{chunk-QXI2W7YY.mjs → chunk-L7X6ADNM.mjs} +4 -4
- package/dist/cli/{chunk-G7BB2VOC.js → chunk-LNMY2T5S.js} +41 -41
- package/dist/cli/{chunk-P3MGNLZF.mjs → chunk-MAHLIWOF.mjs} +2 -2
- package/dist/cli/{chunk-PSYGSXDS.mjs → chunk-PGRPNRP6.mjs} +1 -1
- package/dist/cli/{chunk-YRQWGWRJ.js → chunk-PHGMC33I.js} +2 -2
- package/dist/cli/{chunk-JIZHGOZ5.js → chunk-Q2FXZ4Z5.js} +94 -94
- package/dist/cli/{chunk-JQHJKARU.mjs → chunk-QRKCCY4L.mjs} +1 -1
- package/dist/cli/{chunk-K54BUQSK.js → chunk-RAZ3TMOS.js} +7 -7
- package/dist/cli/{chunk-PE3UHMMZ.js → chunk-REIKJREB.js} +5 -5
- package/dist/cli/{chunk-LUNXREUI.js → chunk-RHE4YI4H.js} +6 -6
- package/dist/cli/{chunk-7OQZZHZ4.js → chunk-SNJNPRIV.js} +7 -7
- package/dist/cli/{chunk-FG5OZ5FB.js → chunk-SNPZ2QWL.js} +8 -8
- package/dist/cli/{chunk-A2VCFBZN.mjs → chunk-SRS2D27G.mjs} +1 -1
- package/dist/cli/{chunk-7UC2UZYW.mjs → chunk-T4AGTOKQ.mjs} +6 -6
- package/dist/cli/{chunk-2RZHMCDL.js → chunk-TOGCDNMH.js} +4 -4
- package/dist/cli/{chunk-L7O7AFSF.js → chunk-U5GFP26N.js} +21 -21
- package/dist/cli/{chunk-C2V5U6HO.mjs → chunk-V7MZYIA7.mjs} +5 -5
- package/dist/cli/{chunk-57LW4TGY.js → chunk-VLCY4F6E.js} +26 -26
- package/dist/cli/{chunk-BBFWIYAF.mjs → chunk-VPVEPGYS.mjs} +2 -2
- package/dist/cli/{chunk-L6C7C7IJ.js → chunk-W64Y7GE7.js} +1 -1
- package/dist/cli/{chunk-KZJKRU24.mjs → chunk-X5SO7RV5.mjs} +4 -4
- package/dist/cli/{chunk-KLQ5CR77.js → chunk-X7ODM2LK.js} +6 -6
- package/dist/cli/{chunk-43ZERPGR.mjs → chunk-XCBOOB73.mjs} +1 -1
- package/dist/cli/{chunk-JUQESEJX.mjs → chunk-XUOZYAP5.mjs} +2 -2
- package/dist/cli/{chunk-AKLI4XSG.js → chunk-Z5LE7NXM.js} +2 -2
- package/dist/cli/{csv-ACO5YC46.mjs → csv-DEUOSTEB.mjs} +4 -4
- package/dist/cli/{csv-VGSQ3JYE.js → csv-MWCWNIBJ.js} +13 -13
- package/dist/cli/{db-QOUPHFFN.js → db-Q6IRXTTG.js} +27 -27
- package/dist/cli/{db-CXNZOXGM.mjs → db-QM5R5BRY.mjs} +6 -6
- package/dist/cli/describe-BZ544347.js +50 -0
- package/dist/cli/{describe-J4O5GCJS.mjs → describe-CQZ7TBOG.mjs} +17 -17
- package/dist/cli/{executions-YIECH2CL.js → executions-DCCDXSQI.js} +8 -8
- package/dist/cli/{executions-SJETRLXW.mjs → executions-SWBKFCY2.mjs} +6 -6
- package/dist/cli/{feedback-5BRCNERV.js → feedback-EU3EYF4V.js} +8 -8
- package/dist/cli/{feedback-GSAFFMF6.mjs → feedback-Q27HN3SB.mjs} +4 -4
- package/dist/cli/git-NW6BAXX2.js +25 -0
- package/dist/cli/{git-SF5XIGLU.mjs → git-SEQFTQ4N.mjs} +5 -5
- package/dist/cli/index.js +137 -137
- package/dist/cli/index.mjs +40 -40
- package/dist/cli/{legacy-noops-5TBT4XC6.js → legacy-noops-LCQDEVA3.js} +8 -8
- package/dist/cli/{legacy-noops-TZA3CALE.mjs → legacy-noops-XKH4VREG.mjs} +5 -5
- package/dist/cli/{monitors-XAYWJNSV.mjs → monitors-4XWBV46I.mjs} +7 -7
- package/dist/cli/{monitors-XNB5YNC3.js → monitors-DJCID6X5.js} +95 -95
- package/dist/cli/{org-2UYWJXG7.js → org-BU4FG5PN.js} +72 -72
- package/dist/cli/{org-S5VZL5KZ.mjs → org-PSBGXBRW.mjs} +6 -6
- package/dist/cli/{pages-ZQRRTZIT.js → pages-3PHJYXYB.js} +18 -18
- package/dist/cli/{pages-NGVJO7PA.mjs → pages-7QLXLJGQ.mjs} +6 -6
- package/dist/cli/{play-3JNERHSC.mjs → play-4OLYXRCG.mjs} +17 -17
- package/dist/cli/{play-P3OYQ7JV.js → play-S3CWPQKB.js} +315 -315
- package/dist/cli/{providers-27O6BOAP.mjs → providers-JT7C2QTC.mjs} +6 -6
- package/dist/cli/{providers-2FFGAPUR.js → providers-U4JUMLB2.js} +9 -9
- package/dist/cli/{quickstart-B2EXIAU6.mjs → quickstart-DQF5CF2I.mjs} +4 -4
- package/dist/cli/{quickstart-5G2UPKJV.js → quickstart-OUSMXLYZ.js} +6 -6
- package/dist/cli/{run-2TGD7FAL.js → run-6XXHLB4X.js} +40 -40
- package/dist/cli/{run-3QFXYV3Z.mjs → run-RECNI77K.mjs} +22 -22
- package/dist/cli/search-BIQ62ZBE.js +32 -0
- package/dist/cli/{search-GXEEOMVD.mjs → search-JN7K3GC6.mjs} +7 -7
- package/dist/cli/{search-output-I4RZPHU6.js → search-output-JGNYXDWZ.js} +6 -6
- package/dist/cli/{search-output-DMIJQTAA.mjs → search-output-L6PC5SPM.mjs} +4 -4
- package/dist/cli/{secrets-MJMNRXZX.js → secrets-TX6PCZ77.js} +15 -15
- package/dist/cli/{secrets-DQI5YCS6.mjs → secrets-UOXZWHBY.mjs} +6 -6
- package/dist/cli/{sessions-HAUN3VYE.mjs → sessions-DTE733EH.mjs} +5 -5
- package/dist/cli/{sessions-QS74ZTRH.js → sessions-GCEIX4KB.js} +6 -6
- package/dist/cli/{settings-VQBOS6VU.js → settings-UGXSDHR5.js} +78 -78
- package/dist/cli/{settings-E64HIUXW.mjs → settings-ZGIMRCTC.mjs} +11 -11
- package/dist/cli/{setup-KRW3JCJE.js → setup-JYB6Z376.js} +49 -49
- package/dist/cli/{setup-NRUG42F2.mjs → setup-UT7AO53D.mjs} +9 -9
- package/dist/cli/{skills-AHLZRTKZ.mjs → skills-4QJCMN7J.mjs} +7 -7
- package/dist/cli/skills-53LCPB5R.js +36 -0
- package/dist/cli/tools-HKJK6UNJ.js +57 -0
- package/dist/cli/{tools-INRRIWOU.mjs → tools-RGNXIAA6.mjs} +16 -16
- package/dist/cli/{update-ETOWEJ7D.mjs → update-Q62EVSXZ.mjs} +9 -9
- package/dist/cli/update-QMZSFTFZ.js +34 -0
- package/dist/cli/{workflow-RUAYQK4D.js → workflow-GENV47RD.js} +17 -17
- package/dist/cli/{workflow-JT2DOSCJ.mjs → workflow-YNIOWM7J.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +98 -98
- 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/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-32FRISRT.js +0 -43
- package/dist/cli/describe-DEXYQMBO.js +0 -50
- package/dist/cli/git-RDKLITUC.js +0 -25
- package/dist/cli/search-YKTYDBCN.js +0 -32
- package/dist/cli/skills-PGVIJK6Q.js +0 -36
- package/dist/cli/tools-IXXN2RE4.js +0 -57
- package/dist/cli/update-QW4RV2UX.js +0 -34
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-7I4B6V2S.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VPVEPGYS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
iterateCursorPages,
|
|
9
9
|
requireBillingIdempotencyKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-56QAHX2K.mjs";
|
|
11
11
|
import "./chunk-L2VKAASU.mjs";
|
|
12
12
|
import "./chunk-CS2AEAD6.mjs";
|
|
13
13
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
openInBrowser,
|
|
19
19
|
printCommandEnvelope,
|
|
20
20
|
shouldEmitJson
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-CIV5GJAE.mjs";
|
|
22
|
+
import "./chunk-CBZTKDXW.mjs";
|
|
23
|
+
import "./chunk-5JXGYSXH.mjs";
|
|
24
24
|
import {
|
|
25
25
|
AuthError,
|
|
26
26
|
ConfigError
|
|
@@ -29,7 +29,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
29
29
|
import {
|
|
30
30
|
DeeplineError
|
|
31
31
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-SRS2D27G.mjs";
|
|
33
33
|
import "./chunk-WZYKRD7T.mjs";
|
|
34
34
|
import "./chunk-KRD6H754.mjs";
|
|
35
35
|
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CIV5GJAE.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
saveHostEnvValues,
|
|
23
23
|
saveProjectDeeplineEnvValues,
|
|
24
24
|
storedHostApiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CBZTKDXW.mjs";
|
|
26
26
|
import {
|
|
27
27
|
SDK_API_CONTRACT,
|
|
28
28
|
SDK_VERSION,
|
|
29
29
|
connectionFailureMessage,
|
|
30
30
|
detectAgentRuntime,
|
|
31
31
|
networkCauseCode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5JXGYSXH.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XCBOOB73.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X5SO7RV5.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L7X6ADNM.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CIV5GJAE.mjs";
|
|
14
14
|
import {
|
|
15
15
|
autoDetectBaseUrl
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CBZTKDXW.mjs";
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/update.ts
|
|
19
19
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBIE57V6Kjs = require('./chunk-BIE57V6K.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkK3BHKRMSjs = require('./chunk-K3BHKRMS.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunkK3BHKRMSjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkBIE57V6Kjs.PlayClient)(
|
|
142
|
+
new (0, _chunkK3BHKRMSjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QRKCCY4L.mjs";
|
|
6
6
|
import {
|
|
7
7
|
recentSearchRef,
|
|
8
8
|
registerDeprecatedSearchCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JHNFUCVT.mjs";
|
|
10
10
|
import {
|
|
11
11
|
arrayField,
|
|
12
12
|
formatModelDescription,
|
|
@@ -48,10 +48,10 @@ import {
|
|
|
48
48
|
} from "./chunk-FIVKWNMT.mjs";
|
|
49
49
|
import {
|
|
50
50
|
DeeplineClient
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-VPVEPGYS.mjs";
|
|
52
52
|
import {
|
|
53
53
|
validateExecutionIdempotencyKey
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-56QAHX2K.mjs";
|
|
55
55
|
import {
|
|
56
56
|
stableStringify
|
|
57
57
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -61,18 +61,18 @@ import {
|
|
|
61
61
|
maybeAutoUpdateAndRelaunch,
|
|
62
62
|
registerCompatibilityCatalog,
|
|
63
63
|
runToolExecuteStage
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-V7MZYIA7.mjs";
|
|
65
65
|
import {
|
|
66
66
|
isCliTraceEnabled,
|
|
67
67
|
recordCliTrace,
|
|
68
68
|
resolveCliMaintenancePolicy
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-PGRPNRP6.mjs";
|
|
70
70
|
import {
|
|
71
71
|
checkSdkCompatibility,
|
|
72
72
|
enforceSdkCompatibilityResponse,
|
|
73
73
|
flushDeferredSkillsSyncNotices,
|
|
74
74
|
syncSdkSkillsIfNeeded
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-L7X6ADNM.mjs";
|
|
76
76
|
import {
|
|
77
77
|
printCommandEnvelope,
|
|
78
78
|
printCompactJson,
|
|
@@ -80,12 +80,12 @@ import {
|
|
|
80
80
|
printJsonError,
|
|
81
81
|
renderCommandEnvelopeText,
|
|
82
82
|
shouldEmitJson
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-CIV5GJAE.mjs";
|
|
84
84
|
import {
|
|
85
85
|
readSdkSkillsLocalVersion,
|
|
86
86
|
resolveConfig,
|
|
87
87
|
sdkCliStateDirPath
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-CBZTKDXW.mjs";
|
|
89
89
|
import {
|
|
90
90
|
DeeplineError
|
|
91
91
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -1038,7 +1038,7 @@ Examples:
|
|
|
1038
1038
|
process.exitCode = await narrowView();
|
|
1039
1039
|
return;
|
|
1040
1040
|
}
|
|
1041
|
-
const { describeAnything } = await import("./describe-
|
|
1041
|
+
const { describeAnything } = await import("./describe-CQZ7TBOG.mjs");
|
|
1042
1042
|
process.exitCode = await describeAnything(
|
|
1043
1043
|
toolId,
|
|
1044
1044
|
{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBIE57V6Kjs = require('./chunk-BIE57V6K.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkEQR5O2D2js = require('./chunk-EQR5O2D2.js');
|
|
@@ -11,7 +11,7 @@ var _chunkEQR5O2D2js = require('./chunk-EQR5O2D2.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
|
|
|
579
579
|
return raw;
|
|
580
580
|
}
|
|
581
581
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
582
|
-
const selection =
|
|
582
|
+
const selection = _chunkSNJNPRIVjs.parseJsonFields.call(void 0, args, "run");
|
|
583
583
|
args = selection.args;
|
|
584
584
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
585
585
|
let filePath = null;
|
|
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
591
591
|
let revisionSelector = null;
|
|
592
592
|
const watch = !args.includes("--no-wait");
|
|
593
593
|
const dryRun = args.includes("--dry-run");
|
|
594
|
-
let jsonOutput = dryRun ?
|
|
594
|
+
let jsonOutput = dryRun ? _chunkSNJNPRIVjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkSNJNPRIVjs.argsWantJson.call(void 0, args);
|
|
595
595
|
const fullJson = args.includes("--full");
|
|
596
596
|
const force = args.includes("--force");
|
|
597
597
|
const forceToolRefresh = args.includes("--force-tool-refresh");
|
|
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
654
654
|
"--log-level requires one of: debug, info, warn, error."
|
|
655
655
|
);
|
|
656
656
|
}
|
|
657
|
-
const parsed =
|
|
657
|
+
const parsed = _chunkBIE57V6Kjs.parseLogLevel.call(void 0, value);
|
|
658
658
|
if (!parsed) {
|
|
659
659
|
throw new Error(
|
|
660
660
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
972
972
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
973
973
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
974
974
|
);
|
|
975
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
975
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkBIE57V6Kjs.parseLogLevel.call(void 0, options.logLevel);
|
|
976
976
|
if (!logLevel)
|
|
977
977
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
978
978
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
986
986
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
987
987
|
logLevel = "debug";
|
|
988
988
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
989
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
990
|
-
[...fullJson ? ["--full"] : [], ...
|
|
989
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkSNJNPRIVjs.parseJsonFields.call(void 0,
|
|
990
|
+
[...fullJson ? ["--full"] : [], ..._chunkSNJNPRIVjs.jsonFieldArgs.call(void 0, options.json)],
|
|
991
991
|
"run"
|
|
992
992
|
).fields;
|
|
993
993
|
const watch = options.wait === false ? false : base.watch;
|
|
994
994
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
995
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
995
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkSNJNPRIVjs.argsWantJson.call(void 0, []) : explicitJson;
|
|
996
996
|
const verboseLogs = Boolean(
|
|
997
997
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
998
998
|
);
|
|
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkTOGCDNMHjs = require('./chunk-TOGCDNMH.js');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -652,7 +652,7 @@ var ToolCalls = class {
|
|
|
652
652
|
idempotencyKey,
|
|
653
653
|
onResponse: (response2) => {
|
|
654
654
|
lastResponse = null;
|
|
655
|
-
atomicToolsSupported = response2.headers.get(
|
|
655
|
+
atomicToolsSupported = response2.headers.get(_chunkTOGCDNMHjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
656
656
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
657
657
|
if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
|
|
658
658
|
try {
|
|
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
|
|
1033
1033
|
return {
|
|
1034
|
-
[
|
|
1035
|
-
...receivers ? { [
|
|
1034
|
+
[_chunkTOGCDNMHjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1035
|
+
...receivers ? { [_chunkTOGCDNMHjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
1038
|
function normalizeTestPolicyOverrides(value, source) {
|
|
@@ -1103,7 +1103,7 @@ var PlayClient = class {
|
|
|
1103
1103
|
return _chunkEQR5O2D2js.startPlayRun.call(void 0,
|
|
1104
1104
|
this.http,
|
|
1105
1105
|
resolved.request,
|
|
1106
|
-
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1106
|
+
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkTOGCDNMHjs.SDK_API_MAJOR) } : headers,
|
|
1107
1107
|
options
|
|
1108
1108
|
);
|
|
1109
1109
|
}
|
|
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3200
3200
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3201
3201
|
);
|
|
3202
3202
|
}
|
|
3203
|
-
return { [
|
|
3203
|
+
return { [_chunkTOGCDNMHjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3204
3204
|
}
|
|
3205
3205
|
function sleep(ms) {
|
|
3206
3206
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4011,7 +4011,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4011
4011
|
);
|
|
4012
4012
|
const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
|
|
4013
4013
|
...runtimeHeaders,
|
|
4014
|
-
"X-Deepline-API-Major": String(
|
|
4014
|
+
"X-Deepline-API-Major": String(_chunkTOGCDNMHjs.SDK_API_MAJOR)
|
|
4015
4015
|
} : runtimeHeaders;
|
|
4016
4016
|
const http = this.http;
|
|
4017
4017
|
let submitted = false;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
HttpClient,
|
|
3
3
|
resolveCliCommandContext,
|
|
4
4
|
resolveConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CBZTKDXW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
detectAgentRuntime
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5JXGYSXH.mjs";
|
|
9
9
|
import {
|
|
10
10
|
DeeplineError,
|
|
11
11
|
serializeToolExecutionFailure
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-F6QV42MC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-56QAHX2K.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-CS2AEAD6.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CIV5GJAE.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-HBL4PM5Q.mjs";
|