deepline 0.3.570 → 0.3.571
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/app-runtime-api.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-connection-probe.ts +199 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +43 -0
- package/dist/cli/{auth-KHJKNEYN.mjs → auth-ARGNQK7A.mjs} +5 -5
- package/dist/cli/auth-FKYYYCME.js +44 -0
- package/dist/cli/{billing-Q4BRUODF.js → billing-KAKODYTN.js} +99 -99
- package/dist/cli/{billing-R5AO4M3S.mjs → billing-QRZTHCBX.mjs} +8 -8
- package/dist/cli/{chunk-2GTLZNSK.js → chunk-2IZOCGOA.js} +53 -53
- package/dist/cli/{chunk-3YHMHV6U.mjs → chunk-336AHC7H.mjs} +4 -4
- package/dist/cli/{chunk-2MXS53XJ.js → chunk-6N3NTEJ6.js} +20 -20
- package/dist/cli/{chunk-OWEUQCBZ.js → chunk-6OP5UW7C.js} +48 -48
- package/dist/cli/{chunk-DPZAEVPO.js → chunk-73P76DCN.js} +20 -20
- package/dist/cli/{chunk-ZZ4D74UL.mjs → chunk-7HAYEKC4.mjs} +1 -1
- package/dist/cli/{chunk-UDN6EYBJ.js → chunk-7JGHNZTD.js} +4 -4
- package/dist/cli/{chunk-73RTZMDV.mjs → chunk-A3B54QEW.mjs} +3 -3
- package/dist/cli/{chunk-HPWP2B3D.mjs → chunk-A3IVPA6Q.mjs} +1 -1
- package/dist/cli/{chunk-FABLUH75.js → chunk-A5HDA22N.js} +3 -3
- package/dist/cli/{chunk-YXJVYY5V.mjs → chunk-AD7BGMTL.mjs} +2 -2
- package/dist/cli/{chunk-OPZHUL6T.js → chunk-AOMVAXGX.js} +10 -10
- package/dist/cli/{chunk-FDSQSUZF.js → chunk-C27FK36H.js} +5 -5
- package/dist/cli/{chunk-NIO2T6OC.js → chunk-C3FHMJ4A.js} +2 -2
- package/dist/cli/{chunk-I5EZZFQL.mjs → chunk-C6XV2DPY.mjs} +3 -3
- package/dist/cli/{chunk-O3ET4XR3.mjs → chunk-CF6CSAMJ.mjs} +4 -4
- package/dist/cli/{chunk-MH3WE5O6.mjs → chunk-CFMIWRGD.mjs} +2 -2
- package/dist/cli/{chunk-OV6EKORX.js → chunk-CITDBSXI.js} +26 -26
- package/dist/cli/{chunk-77HEH4RY.mjs → chunk-CR6IPQBB.mjs} +1 -1
- package/dist/cli/{chunk-UWQLRBXY.mjs → chunk-ETGM6PIR.mjs} +5 -5
- package/dist/cli/{chunk-WINZRS3A.mjs → chunk-FQP5VSVF.mjs} +1 -1
- package/dist/cli/{chunk-WNUFRUNS.js → chunk-GACQOGRS.js} +15 -15
- package/dist/cli/{chunk-BEE5VGCL.mjs → chunk-GCE5KOJJ.mjs} +11 -11
- package/dist/cli/{chunk-GPXLMRCB.js → chunk-GOUKX6XD.js} +3 -3
- package/dist/cli/{chunk-TWHTVGGW.mjs → chunk-GRD3DLH7.mjs} +2 -2
- package/dist/cli/{chunk-GFGXDDJH.mjs → chunk-H6QMUX7Y.mjs} +2 -2
- package/dist/cli/{chunk-ZZ7ZH27W.js → chunk-HGER4CJA.js} +5 -5
- package/dist/cli/{chunk-PERYT4ZA.js → chunk-IFKZQCPX.js} +1 -1
- package/dist/cli/{chunk-W26YT37U.js → chunk-ILKUKEWX.js} +41 -41
- package/dist/cli/{chunk-NR7QW2E7.js → chunk-IXFFOZZQ.js} +2 -2
- package/dist/cli/{chunk-2GBOHROU.mjs → chunk-J5KW2ZDB.mjs} +1 -1
- package/dist/cli/{chunk-J6PTH725.js → chunk-MFBFQUQK.js} +6 -6
- package/dist/cli/{chunk-JSHE4W6W.js → chunk-NAGGCF6Y.js} +5 -5
- package/dist/cli/{chunk-EEUBKKJE.mjs → chunk-PO3NOBHU.mjs} +1 -1
- package/dist/cli/{chunk-YQP4ZUOJ.js → chunk-PTM5V5FV.js} +7 -7
- package/dist/cli/{chunk-I4N62RWB.mjs → chunk-QRMTITKL.mjs} +2 -2
- package/dist/cli/{chunk-CHHXUEVC.js → chunk-RBPR5ZNN.js} +100 -100
- package/dist/cli/{chunk-PSMYOQFI.js → chunk-SJYLLHHZ.js} +13 -13
- package/dist/cli/{chunk-XHFSNMEU.mjs → chunk-TJU2BECV.mjs} +3 -3
- package/dist/cli/{chunk-NVYQ6WCW.mjs → chunk-UBNRPJKO.mjs} +5 -5
- package/dist/cli/{chunk-MVHKTZCX.mjs → chunk-UTGHPC5D.mjs} +1 -1
- package/dist/cli/{chunk-SOZ2SB43.js → chunk-VLQB65HI.js} +9 -9
- package/dist/cli/{chunk-RS6KPFQX.mjs → chunk-VULSFPD4.mjs} +5 -5
- package/dist/cli/{chunk-Q4P6STRD.js → chunk-WOU2WS6S.js} +23 -23
- package/dist/cli/{chunk-OOTXBEHG.mjs → chunk-WZOUXILM.mjs} +1 -1
- package/dist/cli/{chunk-J6M2AX3P.js → chunk-XD4MT4BH.js} +8 -8
- package/dist/cli/{chunk-EJB4V77N.mjs → chunk-YDM5WSXO.mjs} +5 -5
- package/dist/cli/{chunk-TMT3S2JR.mjs → chunk-YDULFKDL.mjs} +2 -2
- package/dist/cli/{chunk-NWAFCOUF.js → chunk-YGGHPEWP.js} +15 -15
- package/dist/cli/{chunk-ZGOCDLJQ.js → chunk-YQ36Z23U.js} +2 -2
- package/dist/cli/{chunk-5OOGWYSR.mjs → chunk-Z3DSCE5F.mjs} +1 -1
- package/dist/cli/{chunk-EYEPXZNS.mjs → chunk-Z6OUUAIV.mjs} +2 -2
- package/dist/cli/{concurrent-runs-help-Q26CEJ7I.mjs → concurrent-runs-help-VPYB4ODC.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-VUMIMYO7.js +22 -0
- package/dist/cli/{csv-Z34I5QIU.js → csv-GHGDSFNV.js} +13 -13
- package/dist/cli/{csv-6LI6HLKG.mjs → csv-RALLG3MG.mjs} +4 -4
- package/dist/cli/{db-NUDEYQCF.js → db-722SKSIB.js} +27 -27
- package/dist/cli/{db-K5GKIKQU.mjs → db-HB65VYRR.mjs} +6 -6
- package/dist/cli/{describe-EB4KTEPT.mjs → describe-Q6M7PUBU.mjs} +18 -18
- package/dist/cli/describe-SG2N62VE.js +50 -0
- package/dist/cli/{executions-DAGHJZEI.mjs → executions-G3M75HW2.mjs} +6 -6
- package/dist/cli/{executions-KHOUABZ3.js → executions-GQNV3LNU.js} +8 -8
- package/dist/cli/{feedback-XLAWTPK2.js → feedback-B43F2FBL.js} +14 -14
- package/dist/cli/{feedback-A57YETEA.mjs → feedback-CSDBYSRS.mjs} +6 -6
- package/dist/cli/git-IJHKRWTR.js +26 -0
- package/dist/cli/{git-U3FNR34D.mjs → git-IZ4Y3RAW.mjs} +5 -5
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-LXUMB4RY.mjs → integrations-DT7EGM2Y.mjs} +7 -7
- package/dist/cli/{integrations-YVOJ5D6W.js → integrations-OLCUWZ6Z.js} +29 -29
- package/dist/cli/{legacy-noops-4Z2RBTHW.mjs → legacy-noops-4TPT534L.mjs} +6 -6
- package/dist/cli/{legacy-noops-IZVLGQZJ.js → legacy-noops-FTGNTO3U.js} +9 -9
- package/dist/cli/{mcp-GRGI3KYH.js → mcp-3IDWLBKK.js} +24 -24
- package/dist/cli/{mcp-ZHXRVV7D.mjs → mcp-5KDJJT7M.mjs} +4 -4
- package/dist/cli/{monitors-XFN5D6EW.js → monitors-7GOZBKJR.js} +100 -100
- package/dist/cli/{monitors-7ZVYJ3CX.mjs → monitors-EOAA5RQO.mjs} +7 -7
- package/dist/cli/{org-YY5JTKNV.mjs → org-H5I56A4F.mjs} +6 -6
- package/dist/cli/{org-RWWXN5TK.js → org-UJ5SWQJ5.js} +121 -121
- package/dist/cli/{outcomes-AOZVYNJT.js → outcomes-24KFY2X5.js} +14 -14
- package/dist/cli/{outcomes-MGWUZNQ6.mjs → outcomes-MG57YXJX.mjs} +6 -6
- package/dist/cli/{play-AJR7BT3R.mjs → play-MXPXRAUM.mjs} +19 -19
- package/dist/cli/{play-S34KIOWS.js → play-PPPACSQE.js} +324 -324
- package/dist/cli/{providers-QRWQGVIC.mjs → providers-5ZN3MO6E.mjs} +6 -6
- package/dist/cli/{providers-S4WMWHBW.js → providers-LTYNEXLB.js} +9 -9
- package/dist/cli/{quickstart-NLAIOXVY.mjs → quickstart-ENDTTNLE.mjs} +4 -4
- package/dist/cli/{quickstart-GET2M3BQ.js → quickstart-UBDHX7PT.js} +6 -6
- package/dist/cli/{run-BOHHBZSI.js → run-6O6LQVWD.js} +44 -44
- package/dist/cli/{run-R2RYHNVS.mjs → run-QJJSP35C.mjs} +23 -23
- package/dist/cli/{search-VBIVRRRO.mjs → search-PXZPVXDK.mjs} +7 -7
- package/dist/cli/search-TYPJWK4I.js +32 -0
- package/dist/cli/{search-output-EVNRKEGZ.js → search-output-H3ZQLJUF.js} +6 -6
- package/dist/cli/{search-output-OCYIQFV6.mjs → search-output-KRR4YOJX.mjs} +4 -4
- package/dist/cli/{secrets-TNCO45WJ.mjs → secrets-HIGERL4N.mjs} +6 -6
- package/dist/cli/{secrets-52T2SCZ5.js → secrets-QZMXBI64.js} +15 -15
- package/dist/cli/{sessions-4XE7AR3A.mjs → sessions-4SGQAX3F.mjs} +6 -6
- package/dist/cli/sessions-OS4ZBU4K.js +23 -0
- package/dist/cli/{settings-TKRF2B3K.js → settings-FFTTVDRV.js} +85 -85
- package/dist/cli/{settings-ZFCHR7MW.mjs → settings-UQLHVBOP.mjs} +12 -12
- package/dist/cli/{setup-QY3ZML4C.mjs → setup-R5MBUG5M.mjs} +9 -9
- package/dist/cli/{setup-AWNE4VNL.js → setup-SS3MABJP.js} +49 -49
- package/dist/cli/skills-FVDSEEUL.js +37 -0
- package/dist/cli/{skills-GUGJDCFY.mjs → skills-X6PNEVWX.mjs} +7 -7
- package/dist/cli/tools-ORTGWD63.js +57 -0
- package/dist/cli/{tools-NBKPWOWD.mjs → tools-YFW3FXAB.mjs} +17 -17
- package/dist/cli/{update-KLGVIBRY.mjs → update-HX5BNFLQ.mjs} +9 -9
- package/dist/cli/update-RWVNNNHN.js +37 -0
- package/dist/cli/{views-MDXEIVQ7.js → views-BGCRC22G.js} +21 -21
- package/dist/cli/{views-OEOW2EZO.mjs → views-FH5XL2PU.mjs} +6 -6
- package/dist/cli/{workflow-PUSTWPW4.js → workflow-UY5PZBIK.js} +17 -17
- package/dist/cli/{workflow-LK4SIUOM.mjs → workflow-VLNDGNJI.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +113 -112
- 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-X2LWGPF4.js +0 -44
- package/dist/cli/concurrent-runs-help-QDURIV4N.js +0 -22
- package/dist/cli/describe-BY7LKP53.js +0 -50
- package/dist/cli/git-CR6PBWBH.js +0 -26
- package/dist/cli/search-CZVM2OX5.js +0 -32
- package/dist/cli/sessions-GOHYDYMH.js +0 -23
- package/dist/cli/skills-54CGCMPF.js +0 -37
- package/dist/cli/tools-A7FEGDPX.js +0 -57
- package/dist/cli/update-3J52CJHB.js +0 -37
|
@@ -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 _chunkXD4MT4BHjs = require('./chunk-XD4MT4BH.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkA5HDA22Njs = require('./chunk-A5HDA22N.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 = _chunkA5HDA22Njs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkXD4MT4BHjs.PlayClient)(
|
|
142
|
+
new (0, _chunkA5HDA22Njs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunk6N3NTEJ6js = require('./chunk-6N3NTEJ6.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunk6N3NTEJ6js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QRMTITKL.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-CR6IPQBB.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-A3IVPA6Q.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GRD3DLH7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QRMTITKL.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CR6IPQBB.mjs";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
import { Option } from "commander";
|
|
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
}
|
|
135
135
|
const client = new DeeplineClient();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await import("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await import("./search-output-KRR4YOJX.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
httpJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C6XV2DPY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRICING_PAGE_NOTE
|
|
6
6
|
} from "./chunk-2RIKOPIM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autoDetectBaseUrl,
|
|
9
9
|
resolveApiKeyForBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CR6IPQBB.mjs";
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk6N3NTEJ6js = require('./chunk-6N3NTEJ6.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkA5HDA22Njs = require('./chunk-A5HDA22N.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
|
|
|
32
32
|
return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
|
|
33
33
|
}
|
|
34
34
|
async function handleList(options) {
|
|
35
|
-
const { http } =
|
|
35
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
36
36
|
const payload = await http.get(
|
|
37
37
|
`/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
40
40
|
{
|
|
41
41
|
projects: payload.projects,
|
|
42
42
|
count: payload.projects.length,
|
|
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
async function handleStatus(options) {
|
|
76
|
-
const { http } =
|
|
76
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
77
77
|
const payload = await http.get("/api/v2/github/installation");
|
|
78
78
|
const installation = payload.installation;
|
|
79
79
|
const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
|
|
@@ -136,7 +136,7 @@ async function handleStatus(options) {
|
|
|
136
136
|
)
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
140
140
|
{
|
|
141
141
|
installation,
|
|
142
142
|
installations: _nullishCoalesce(payload.installations, () => ( [])),
|
|
@@ -147,10 +147,10 @@ async function handleStatus(options) {
|
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
149
|
async function handleRepos(options) {
|
|
150
|
-
const { http } =
|
|
150
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
151
151
|
const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
|
|
152
152
|
const payload = await http.get(`/api/v2/github/repos${query}`);
|
|
153
|
-
|
|
153
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
154
154
|
{
|
|
155
155
|
installation: payload.installation,
|
|
156
156
|
repositories: payload.repositories,
|
|
@@ -171,7 +171,7 @@ async function handleRepos(options) {
|
|
|
171
171
|
}
|
|
172
172
|
async function resolveRepoId(repo, installation) {
|
|
173
173
|
if (/^\d+$/.test(repo)) return Number(repo);
|
|
174
|
-
const { http } =
|
|
174
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
175
175
|
const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
|
|
176
176
|
const payload = await http.get(
|
|
177
177
|
`/api/v2/github/repos${query}`
|
|
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
|
|
|
188
188
|
}
|
|
189
189
|
async function handleLink(repo, options) {
|
|
190
190
|
const repoId = await resolveRepoId(repo, options.installation);
|
|
191
|
-
const { http } =
|
|
191
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
192
192
|
const payload = await http.post("/api/v2/play-projects", {
|
|
193
193
|
repoId,
|
|
194
194
|
...options.installation !== void 0 ? { installationId: options.installation } : {},
|
|
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
|
|
|
197
197
|
...options.branch !== void 0 ? { productionBranch: options.branch } : {},
|
|
198
198
|
...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
|
|
199
199
|
});
|
|
200
|
-
|
|
200
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
201
201
|
{
|
|
202
202
|
project: payload.project,
|
|
203
203
|
render: {
|
|
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
|
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
222
|
async function handleGet(id, options) {
|
|
223
|
-
const { http } =
|
|
223
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
228
228
|
{
|
|
229
229
|
project: payload.project,
|
|
230
230
|
render: {
|
|
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
async function handleSet(id, options) {
|
|
243
|
-
const { http } =
|
|
243
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
244
244
|
const payload = await http.patch(
|
|
245
245
|
`/api/v2/play-projects/${encodeURIComponent(id)}`,
|
|
246
246
|
{
|
|
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
|
|
|
251
251
|
...options.disabled !== void 0 ? { disabled: options.disabled } : {}
|
|
252
252
|
}
|
|
253
253
|
);
|
|
254
|
-
|
|
254
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
255
255
|
{
|
|
256
256
|
project: payload.project,
|
|
257
257
|
render: {
|
|
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
|
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
async function handleUnlink(id, options) {
|
|
267
|
-
const { http } =
|
|
267
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
270
270
|
{
|
|
271
271
|
ok: true,
|
|
272
272
|
id,
|
|
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
|
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
async function handleConnect(options) {
|
|
289
|
-
const baseUrl =
|
|
289
|
+
const baseUrl = _chunkA5HDA22Njs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunk6N3NTEJ6js.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
293
293
|
{
|
|
294
294
|
connectUrl,
|
|
295
295
|
browser: opened,
|
|
@@ -311,7 +311,7 @@ async function handleConnect(options) {
|
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
async function handleDeploymentsList(options) {
|
|
314
|
-
const { http } =
|
|
314
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
315
315
|
const query = new URLSearchParams();
|
|
316
316
|
if (options.repo) query.set("projectId", options.repo);
|
|
317
317
|
if (options.limit) query.set("limit", options.limit);
|
|
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
|
|
|
319
319
|
const payload = await http.get(
|
|
320
320
|
`/api/v2/deployments${suffix}`
|
|
321
321
|
);
|
|
322
|
-
|
|
322
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
323
323
|
{
|
|
324
324
|
deployments: payload.deployments,
|
|
325
325
|
count: payload.deployments.length,
|
|
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
|
|
|
363
363
|
]);
|
|
364
364
|
}
|
|
365
365
|
async function handleDeploymentGet(id, options) {
|
|
366
|
-
const { http } =
|
|
366
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
367
367
|
const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
|
|
368
368
|
const playLines = renderDeploymentPlayLines(payload.deployment.results);
|
|
369
369
|
const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
|
|
370
370
|
const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
|
|
371
|
-
|
|
371
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
372
372
|
{
|
|
373
373
|
deployment: payload.deployment,
|
|
374
374
|
project: payload.project,
|
|
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
|
|
|
387
387
|
);
|
|
388
388
|
}
|
|
389
389
|
async function handleDeploymentCancel(id, options) {
|
|
390
|
-
const { http } =
|
|
390
|
+
const { http } = _chunk6N3NTEJ6js.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J5KW2ZDB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QRMTITKL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_MAX_RETRIES,
|
|
9
9
|
DEFAULT_SKILL_AGENTS,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
sdkCliStateDirPath,
|
|
19
19
|
skillsAgentPathSegment,
|
|
20
20
|
writeSdkSkillsLocalVersion
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CR6IPQBB.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SDK_API_CONTRACT,
|
|
24
24
|
SDK_API_MAJOR,
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
deploymentProtectionHeaders,
|
|
27
27
|
detectAgentRuntime
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-A3IVPA6Q.mjs";
|
|
29
29
|
import {
|
|
30
30
|
DeeplineError
|
|
31
31
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
32
32
|
import {
|
|
33
33
|
SDK_RELEASE
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Z3DSCE5F.mjs";
|
|
35
35
|
|
|
36
36
|
// src/compat.ts
|
|
37
37
|
import { randomUUID } from "crypto";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHGER4CJAjs = require('./chunk-HGER4CJA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk6N3NTEJ6js = require('./chunk-6N3NTEJ6.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkA5HDA22Njs = require('./chunk-A5HDA22N.js');
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/integration-commands.ts
|
|
12
12
|
var _commander = require('commander');
|
|
13
13
|
var _fs = require('fs');
|
|
14
14
|
var _path = require('path');
|
|
15
15
|
function printIntegrationResult(value, json, lines, nextCursor) {
|
|
16
|
-
|
|
16
|
+
_chunk6N3NTEJ6js.printCommandEnvelope.call(void 0,
|
|
17
17
|
{},
|
|
18
18
|
{
|
|
19
19
|
json: json || void 0,
|
|
@@ -29,7 +29,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
|
|
|
29
29
|
return parent.command("balance <provider>", { hidden }).description(
|
|
30
30
|
"Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
|
|
31
31
|
).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
|
|
32
|
-
const balance = await new (0,
|
|
32
|
+
const balance = await new (0, _chunkHGER4CJAjs.DeeplineClient)().getIntegrationBalance(
|
|
33
33
|
provider
|
|
34
34
|
);
|
|
35
35
|
printIntegrationResult(balance, options.json, [
|
|
@@ -43,7 +43,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
43
43
|
"List teammates\u2019 personal connections for this provider"
|
|
44
44
|
).option("--cursor <cursor>", "Read the next page of members").action(
|
|
45
45
|
async (options) => {
|
|
46
|
-
const client = new (0,
|
|
46
|
+
const client = new (0, _chunkHGER4CJAjs.DeeplineClient)();
|
|
47
47
|
if (name === "list" && options.cursor && !options.members)
|
|
48
48
|
throw new Error(
|
|
49
49
|
"Use --cursor with --members to continue a member page."
|
|
@@ -85,7 +85,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
85
85
|
}
|
|
86
86
|
function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
|
|
87
87
|
return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
|
|
88
|
-
const page = await new (0,
|
|
88
|
+
const page = await new (0, _chunkHGER4CJAjs.DeeplineClient)().listPersonalHubSpotMembers(
|
|
89
89
|
options.cursor
|
|
90
90
|
);
|
|
91
91
|
const rows = page.members.map((member) => {
|
|
@@ -111,7 +111,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
|
|
|
111
111
|
);
|
|
112
112
|
if (options.autoName && (action !== "connect" || options.name !== void 0))
|
|
113
113
|
throw new Error("Use --auto-name with connect and omit --name.");
|
|
114
|
-
const client = new (0,
|
|
114
|
+
const client = new (0, _chunkHGER4CJAjs.DeeplineClient)();
|
|
115
115
|
const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
|
|
116
116
|
const row = connections.find(
|
|
117
117
|
(connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
|
|
@@ -144,7 +144,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
144
144
|
"Print the proposed change without contacting Google or saving it"
|
|
145
145
|
).option("--json", "Print the result as JSON").action(
|
|
146
146
|
async (action, options) => {
|
|
147
|
-
const client = new (0,
|
|
147
|
+
const client = new (0, _chunkHGER4CJAjs.DeeplineClient)();
|
|
148
148
|
if (action === "list") {
|
|
149
149
|
const inventory = await client.listCalendarAvailabilityConnections();
|
|
150
150
|
const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
|
|
@@ -294,7 +294,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
294
294
|
}
|
|
295
295
|
function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
|
|
296
296
|
return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
|
|
297
|
-
const page = await new (0,
|
|
297
|
+
const page = await new (0, _chunkHGER4CJAjs.DeeplineClient)().listAvailabilityCalendars(
|
|
298
298
|
options.cursor
|
|
299
299
|
);
|
|
300
300
|
printIntegrationResult(page, options.json, [
|
|
@@ -372,7 +372,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
372
372
|
);
|
|
373
373
|
return;
|
|
374
374
|
}
|
|
375
|
-
const result2 = await new (0,
|
|
375
|
+
const result2 = await new (0, _chunkHGER4CJAjs.DeeplineClient)().connectManagedIntegration(
|
|
376
376
|
provider,
|
|
377
377
|
{
|
|
378
378
|
termsVersion: options.acceptTerms,
|
|
@@ -409,7 +409,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
409
409
|
printSetupPlan({ provider, action: "connect_link" }, options.json);
|
|
410
410
|
return;
|
|
411
411
|
}
|
|
412
|
-
const link = await new (0,
|
|
412
|
+
const link = await new (0, _chunkHGER4CJAjs.DeeplineClient)().getIntegrationConnectLink(
|
|
413
413
|
provider
|
|
414
414
|
);
|
|
415
415
|
printIntegrationResult(link, options.json, [link.connect_url]);
|
|
@@ -439,7 +439,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
439
439
|
);
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
|
-
const result2 = await new (0,
|
|
442
|
+
const result2 = await new (0, _chunkHGER4CJAjs.DeeplineClient)().startIntegrationOAuth(
|
|
443
443
|
provider,
|
|
444
444
|
{
|
|
445
445
|
...options.preset !== void 0 ? { preset: options.preset } : {},
|
|
@@ -501,7 +501,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
501
501
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
502
502
|
);
|
|
503
503
|
}
|
|
504
|
-
const result = await new (0,
|
|
504
|
+
const result = await new (0, _chunkHGER4CJAjs.DeeplineClient)().setIntegrationCredentials(
|
|
505
505
|
provider,
|
|
506
506
|
credentials,
|
|
507
507
|
{ expectedConnectionId: options.expectedConnectionId, teamId }
|
|
@@ -530,7 +530,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
530
530
|
function connectTeamId(orgDefault) {
|
|
531
531
|
if (orgDefault) return null;
|
|
532
532
|
try {
|
|
533
|
-
return _nullishCoalesce(
|
|
533
|
+
return _nullishCoalesce(_chunkA5HDA22Njs.resolveConfig.call(void 0, ).workspace, () => ( null));
|
|
534
534
|
} catch (e2) {
|
|
535
535
|
return _optionalChain([process, 'access', _9 => _9.env, 'access', _10 => _10.DEEPLINE_WORKSPACE_ID, 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()]) || null;
|
|
536
536
|
}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UTGHPC5D.mjs";
|
|
6
6
|
import {
|
|
7
7
|
registerIntegrationBalanceCommand,
|
|
8
8
|
registerIntegrationConnectCommand,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
registerLegacyHubSpotMembersCommand,
|
|
12
12
|
registerLegacyWorkspaceConnectionCommand,
|
|
13
13
|
registerWorkspaceConnectionListCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A3B54QEW.mjs";
|
|
15
15
|
import {
|
|
16
16
|
recentSearchRef,
|
|
17
17
|
registerDeprecatedSearchCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CF6CSAMJ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Capability,
|
|
21
21
|
arrayField,
|
|
@@ -57,29 +57,29 @@ import {
|
|
|
57
57
|
} from "./chunk-FIVKWNMT.mjs";
|
|
58
58
|
import {
|
|
59
59
|
DeeplineClient
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-GRD3DLH7.mjs";
|
|
61
61
|
import {
|
|
62
62
|
validateExecutionIdempotencyKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-WZOUXILM.mjs";
|
|
64
64
|
import {
|
|
65
65
|
beginToolExecuteCommand,
|
|
66
66
|
getToolExecuteInvocationId,
|
|
67
67
|
maybeAutoUpdateAndRelaunch,
|
|
68
68
|
registerCompatibilityCatalog,
|
|
69
69
|
runToolExecuteStage
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-UBNRPJKO.mjs";
|
|
71
71
|
import {
|
|
72
72
|
isCliTraceEnabled,
|
|
73
73
|
recordCliTrace,
|
|
74
74
|
resolveCliMaintenancePolicy
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-7HAYEKC4.mjs";
|
|
76
76
|
import {
|
|
77
77
|
checkSdkCompatibility,
|
|
78
78
|
enforceSdkCompatibilityResponse,
|
|
79
79
|
flushDeferredSkillsSyncNotices,
|
|
80
80
|
requireSdkCompatibility,
|
|
81
81
|
syncSdkSkillsIfNeeded
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ETGM6PIR.mjs";
|
|
83
83
|
import {
|
|
84
84
|
errorToJsonPayload,
|
|
85
85
|
printCommandEnvelope,
|
|
@@ -88,12 +88,12 @@ import {
|
|
|
88
88
|
printJsonError,
|
|
89
89
|
renderCommandEnvelopeText,
|
|
90
90
|
shouldEmitJson
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-QRMTITKL.mjs";
|
|
92
92
|
import {
|
|
93
93
|
readSdkSkillsLocalVersion,
|
|
94
94
|
resolveConfig,
|
|
95
95
|
sdkCliStateDirPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-CR6IPQBB.mjs";
|
|
97
97
|
import {
|
|
98
98
|
DeeplineError
|
|
99
99
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -1052,7 +1052,7 @@ Examples:
|
|
|
1052
1052
|
process.exitCode = await narrowView();
|
|
1053
1053
|
return;
|
|
1054
1054
|
}
|
|
1055
|
-
const { describeAnything } = await import("./describe-
|
|
1055
|
+
const { describeAnything } = await import("./describe-Q6M7PUBU.mjs");
|
|
1056
1056
|
process.exitCode = await describeAnything(
|
|
1057
1057
|
toolId,
|
|
1058
1058
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6N3NTEJ6js = require('./chunk-6N3NTEJ6.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
|
|
|
19
19
|
__init9() {this.quiet = false}
|
|
20
20
|
// --json output is one JSON document: progress never renders under it.
|
|
21
21
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
|
|
22
|
-
this.enabled = enabled && !
|
|
22
|
+
this.enabled = enabled && !_chunk6N3NTEJ6js.isJsonOutputMode.call(void 0, );
|
|
23
23
|
}
|
|
24
24
|
setLogWriter(writer) {
|
|
25
25
|
this.logWriter = writer;
|
|
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
|
|
|
59
59
|
this.logWriter(line);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (_chunk6N3NTEJ6js.isJsonOutputMode.call(void 0, )) return;
|
|
63
63
|
if (!this.enabled) {
|
|
64
64
|
process.stderr.write(`${line}
|
|
65
65
|
`);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WZOUXILM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CR6IPQBB.mjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
10
|
var DeeplineClient2 = class extends DeeplineClient {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QRMTITKL.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CR6IPQBB.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkXD4MT4BHjs = require('./chunk-XD4MT4BH.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkA5HDA22Njs = require('./chunk-A5HDA22N.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkXD4MT4BHjs.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunkA5HDA22Njs.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunkA5HDA22Njs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -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.571",
|
|
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."
|