deepline 0.3.301 → 0.3.303
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/runs/watch-polling.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/live-state-contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +2 -4
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +16 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-start-admission.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +6 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +229 -98
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +2 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +82 -0
- package/dist/bundling-sources/shared_libs/plays/tool-response-contract.ts +25 -0
- package/dist/cli/{auth-DCN4DA2T.mjs → auth-337SVWQD.mjs} +4 -4
- package/dist/cli/auth-4ME3NANJ.js +31 -0
- package/dist/cli/{billing-OGWOCZOZ.js → billing-CVQURTWQ.js} +71 -71
- package/dist/cli/{billing-VLZNKJ4N.mjs → billing-SVGYQSJI.mjs} +5 -5
- package/dist/cli/{chunk-V7J7U63X.js → chunk-4D5YQETI.js} +6 -6
- package/dist/cli/{chunk-OILZKWKC.mjs → chunk-4LRG6AJZ.mjs} +2 -2
- package/dist/cli/{chunk-JCS5TPNY.mjs → chunk-4NIQA6S7.mjs} +1 -1
- package/dist/cli/{chunk-AKWMFS7H.js → chunk-5NEXN4MZ.js} +2 -2
- package/dist/cli/{chunk-PXJAS6X2.mjs → chunk-BVJSAJKV.mjs} +1 -1
- package/dist/cli/{chunk-SBUIMF2B.mjs → chunk-DH6LEJWD.mjs} +3 -3
- package/dist/cli/{chunk-YFRWD6LM.js → chunk-EAIGGEV5.js} +6 -6
- package/dist/cli/{chunk-6JIXIMC5.js → chunk-GQUI3NYN.js} +57 -57
- package/dist/cli/{chunk-FAQGAPKK.js → chunk-HIXYNASX.js} +4 -4
- package/dist/cli/{chunk-GILGPI67.mjs → chunk-IVT2CZPM.mjs} +10 -3
- package/dist/cli/{chunk-QDFEF4PI.js → chunk-JGEFX6FQ.js} +6 -6
- package/dist/cli/{chunk-AXHRD6ME.mjs → chunk-JWUOPLAR.mjs} +1 -1
- package/dist/cli/{chunk-57J4GHJG.mjs → chunk-LGGR7CGZ.mjs} +4 -4
- package/dist/cli/{chunk-YBYPHZ4I.mjs → chunk-MTICVDNY.mjs} +1 -1
- package/dist/cli/{chunk-M6KBDWGI.js → chunk-NFWFUCGM.js} +19 -12
- package/dist/cli/{chunk-TAPI3QLV.js → chunk-OOQ4IRP4.js} +1 -1
- package/dist/cli/{chunk-7JA3CLD2.js → chunk-P2KELOST.js} +48 -48
- package/dist/cli/{chunk-SHQNCP2G.mjs → chunk-PUKK7SZX.mjs} +1 -1
- package/dist/cli/{chunk-ZNC3KU5O.js → chunk-RY6WID7C.js} +26 -26
- package/dist/cli/{chunk-GONRLVV3.js → chunk-W7INSYJS.js} +9 -9
- package/dist/cli/{chunk-7VBN7TU5.js → chunk-WJGRIDWQ.js} +15 -15
- package/dist/cli/{chunk-RQKAKIVL.mjs → chunk-XKW6HTWO.mjs} +1 -1
- package/dist/cli/{chunk-D7WKHLLF.mjs → chunk-XXQYOQWO.mjs} +2 -2
- package/dist/cli/{chunk-6S2UJUVD.mjs → chunk-YZLPXH7G.mjs} +2 -2
- package/dist/cli/{client-F7LPXBQS.mjs → client-AMSHGQFH.mjs} +4 -4
- package/dist/cli/client-WN33QCMV.js +20 -0
- package/dist/cli/{csv-DTGOY553.js → csv-B2OKPMNX.js} +12 -12
- package/dist/cli/{csv-PFAL3PLE.mjs → csv-F4RPWI4E.mjs} +3 -3
- package/dist/cli/{db-B7JTWZQB.js → db-AJYYK5HH.js} +21 -21
- package/dist/cli/{db-24PTJ6J5.mjs → db-QP4WNVSS.mjs} +5 -5
- package/dist/cli/{executions-3CPX35CQ.js → executions-4LHEJCCY.js} +7 -7
- package/dist/cli/{executions-53BGMOYB.mjs → executions-NY7HYAEH.mjs} +5 -5
- package/dist/cli/{feedback-4JPCFN6F.js → feedback-CXXJJARR.js} +6 -6
- package/dist/cli/{feedback-GA6FF4UP.mjs → feedback-SJYHLVYY.mjs} +3 -3
- package/dist/cli/{git-VXB6ZLJ3.mjs → git-DUODO3NL.mjs} +4 -4
- package/dist/cli/git-K7YPSXLC.js +23 -0
- package/dist/cli/index.d.mts +1 -6
- package/dist/cli/index.d.ts +1 -6
- package/dist/cli/index.js +100 -87
- package/dist/cli/index.mjs +54 -41
- package/dist/cli/{legacy-noops-ANYHW7ER.js → legacy-noops-3UYJVVNW.js} +7 -7
- package/dist/cli/{legacy-noops-7J5WN4M6.mjs → legacy-noops-IUDXZFYO.mjs} +4 -4
- package/dist/cli/{monitors-EAV6KHOK.js → monitors-IEEVACOD.js} +86 -86
- package/dist/cli/{monitors-DXETJ5NX.mjs → monitors-PDWE6BGA.mjs} +5 -5
- package/dist/cli/{org-3IVIYYVM.js → org-NUFEZRY7.js} +61 -61
- package/dist/cli/{org-B57DDLLC.mjs → org-VSPO2YF3.mjs} +5 -5
- package/dist/cli/{play-FXABI2NH.mjs → play-KMHPJVWH.mjs} +21 -19
- package/dist/cli/{play-LNYRYGOT.js → play-MXYK2BRE.js} +229 -227
- package/dist/cli/{providers-LMZBXPLP.mjs → providers-7ENB4EYV.mjs} +5 -5
- package/dist/cli/{providers-SWHCMHUN.js → providers-YE5YRIML.js} +8 -8
- package/dist/cli/{proxy-env-M4ZHXHRL.mjs → proxy-env-NWUIGWS3.mjs} +34 -17
- package/dist/cli/{proxy-env-EBANZHPV.js → proxy-env-ZV2WZFAT.js} +37 -20
- package/dist/cli/{quickstart-PHGLWVGA.mjs → quickstart-GFOOHX2U.mjs} +3 -3
- package/dist/cli/{quickstart-YYKEMF5A.js → quickstart-KXCU2MZ2.js} +5 -5
- package/dist/cli/{search-PHSXMXSV.mjs → search-KESXCJDL.mjs} +6 -6
- package/dist/cli/search-R426JJQW.js +18 -0
- package/dist/cli/{secrets-CWWMAPBB.js → secrets-BRB5SIXG.js} +14 -14
- package/dist/cli/{secrets-ZRVJ6GWI.mjs → secrets-HDR522GC.mjs} +5 -5
- package/dist/cli/{sessions-3HSV7W2M.js → sessions-IK3OSQC6.js} +5 -5
- package/dist/cli/{sessions-IXMB2B5R.mjs → sessions-VOOSWVLS.mjs} +4 -4
- package/dist/cli/{settings-XEM64DRR.mjs → settings-BZKDIHTX.mjs} +8 -8
- package/dist/cli/{settings-PGYWTWJ7.js → settings-OPGEFGXL.js} +75 -75
- package/dist/cli/{setup-MCXGMDIV.mjs → setup-RVPS7AJJ.mjs} +6 -6
- package/dist/cli/{setup-EOTIXFLU.js → setup-TP2VWSCU.js} +41 -41
- package/dist/cli/{skills-4HXO76M7.mjs → skills-7BDD2F4V.mjs} +4 -4
- package/dist/cli/skills-TK2CIWVS.js +28 -0
- package/dist/cli/{tools-FMOJUYVW.js → tools-46ILS57M.js} +51 -51
- package/dist/cli/{tools-P3OULQFZ.mjs → tools-XLGGDBM3.mjs} +6 -6
- package/dist/cli/{update-2QXPDAIV.mjs → update-2JEM7WUF.mjs} +6 -6
- package/dist/cli/update-3JOCQWNF.js +28 -0
- package/dist/cli/{workflow-VAJ3GV2W.mjs → workflow-SSTGMXOQ.mjs} +6 -6
- package/dist/cli/{workflow-P2YQPB7Y.js → workflow-ZKGPY7T4.js} +16 -16
- package/dist/index.js +7 -7
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +74 -74
- package/dist/plays/bundle-play-file.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-G2CKLPSX.js +0 -31
- package/dist/cli/client-WTE3IK53.js +0 -20
- package/dist/cli/git-YTJCZVEL.js +0 -23
- package/dist/cli/search-CEBKSGXX.js +0 -18
- package/dist/cli/skills-3IXQN3KZ.js +0 -28
- package/dist/cli/update-H6I7437Q.js +0 -28
- /package/dist/cli/{chunk-GVUJJJ5G.mjs → chunk-6IKARAYD.mjs} +0 -0
- /package/dist/cli/{chunk-6A3TJUWC.js → chunk-S6R3OX7B.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IVT2CZPM.mjs";
|
|
4
4
|
import "./chunk-CBVIJSHF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
printCommandEnvelope,
|
|
7
7
|
shouldEmitJson
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-XKW6HTWO.mjs";
|
|
9
|
+
import "./chunk-JWUOPLAR.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MTICVDNY.mjs";
|
|
12
|
+
import "./chunk-6IKARAYD.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -1,24 +1,24 @@
|
|
|
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 _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
|
|
4
4
|
require('./chunk-LA46MMTL.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
|
|
9
|
+
require('./chunk-HIXYNASX.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-OOQ4IRP4.js');
|
|
12
|
+
require('./chunk-S6R3OX7B.js');
|
|
13
13
|
require('./chunk-7P5AA3SN.js');
|
|
14
14
|
require('./chunk-OG64RBAC.js');
|
|
15
15
|
require('./chunk-COGTRVWW.js');
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/providers.ts
|
|
18
18
|
async function listProviders(options = {}) {
|
|
19
|
-
const client = new (0,
|
|
19
|
+
const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
|
|
20
20
|
const changed = options.changed === true;
|
|
21
|
-
const emitJson = options.json === true ||
|
|
21
|
+
const emitJson = options.json === true || _chunkEAIGGEV5js.shouldEmitJson.call(void 0, );
|
|
22
22
|
const providers = await client.listProviders({ changed });
|
|
23
23
|
const render = {
|
|
24
24
|
sections: [
|
|
@@ -37,7 +37,7 @@ async function listProviders(options = {}) {
|
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
_chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
|
|
41
41
|
{
|
|
42
42
|
providers,
|
|
43
43
|
count: providers.length,
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import "./chunk-KRD6H754.mjs";
|
|
2
2
|
|
|
3
3
|
// src/cli/proxy-env.ts
|
|
4
|
-
import {
|
|
4
|
+
import { setMaxListeners } from "events";
|
|
5
|
+
import {
|
|
6
|
+
Agent,
|
|
7
|
+
Dispatcher,
|
|
8
|
+
ProxyAgent,
|
|
9
|
+
getGlobalDispatcher,
|
|
10
|
+
setGlobalDispatcher
|
|
11
|
+
} from "undici";
|
|
5
12
|
function defaultPort(protocol) {
|
|
6
13
|
return protocol === "https:" ? "443" : "80";
|
|
7
14
|
}
|
|
@@ -96,14 +103,19 @@ function noProxyMatches(url, noProxy) {
|
|
|
96
103
|
return false;
|
|
97
104
|
}
|
|
98
105
|
var EnvProxyDispatcher = class extends Dispatcher {
|
|
99
|
-
directAgent
|
|
106
|
+
directAgent;
|
|
100
107
|
httpProxyAgent;
|
|
101
108
|
httpsProxyAgent;
|
|
102
109
|
noProxy;
|
|
103
110
|
constructor(options) {
|
|
104
111
|
super();
|
|
105
|
-
this.
|
|
106
|
-
|
|
112
|
+
this.directAgent = new Agent({ connect: options.connect });
|
|
113
|
+
const proxyOptions = {
|
|
114
|
+
requestTls: options.connect,
|
|
115
|
+
proxyTls: options.connect
|
|
116
|
+
};
|
|
117
|
+
this.httpProxyAgent = options.httpProxy ? new ProxyAgent({ uri: options.httpProxy, ...proxyOptions }) : null;
|
|
118
|
+
this.httpsProxyAgent = options.httpsProxy ? new ProxyAgent({ uri: options.httpsProxy, ...proxyOptions }) : this.httpProxyAgent;
|
|
107
119
|
this.noProxy = options.noProxy;
|
|
108
120
|
}
|
|
109
121
|
dispatch(options, handler) {
|
|
@@ -141,21 +153,26 @@ var EnvProxyDispatcher = class extends Dispatcher {
|
|
|
141
153
|
return promise;
|
|
142
154
|
}
|
|
143
155
|
};
|
|
144
|
-
function
|
|
156
|
+
function configureCliTransport() {
|
|
145
157
|
const httpProxy = firstProxyEnv("HTTP_PROXY", "http_proxy");
|
|
146
158
|
const httpsProxy = firstProxyEnv("HTTPS_PROXY", "https_proxy") || httpProxy;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
);
|
|
159
|
+
const lifetime = new AbortController();
|
|
160
|
+
setMaxListeners(0, lifetime.signal);
|
|
161
|
+
const connect = { signal: lifetime.signal };
|
|
162
|
+
const previous = getGlobalDispatcher();
|
|
163
|
+
const owned = httpProxy || httpsProxy ? new EnvProxyDispatcher({
|
|
164
|
+
httpProxy,
|
|
165
|
+
httpsProxy,
|
|
166
|
+
noProxy: firstProxyEnv("NO_PROXY", "no_proxy"),
|
|
167
|
+
connect
|
|
168
|
+
}) : new Agent({ connect });
|
|
169
|
+
setGlobalDispatcher(owned);
|
|
170
|
+
return async () => {
|
|
171
|
+
if (getGlobalDispatcher() === owned) setGlobalDispatcher(previous);
|
|
172
|
+
lifetime.abort();
|
|
173
|
+
await owned.destroy();
|
|
174
|
+
};
|
|
157
175
|
}
|
|
158
|
-
configureProxyFromEnv();
|
|
159
176
|
export {
|
|
160
|
-
|
|
177
|
+
configureCliTransport
|
|
161
178
|
};
|
|
@@ -1,6 +1,13 @@
|
|
|
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; }
|
|
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; }require('./chunk-COGTRVWW.js');
|
|
2
2
|
|
|
3
3
|
// src/cli/proxy-env.ts
|
|
4
|
+
var _events = require('events');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
4
11
|
var _undici = require('undici');
|
|
5
12
|
function defaultPort(protocol) {
|
|
6
13
|
return protocol === "https:" ? "443" : "80";
|
|
@@ -95,15 +102,20 @@ function noProxyMatches(url, noProxy) {
|
|
|
95
102
|
}
|
|
96
103
|
return false;
|
|
97
104
|
}
|
|
98
|
-
var EnvProxyDispatcher =
|
|
99
|
-
|
|
105
|
+
var EnvProxyDispatcher = class extends _undici.Dispatcher {
|
|
106
|
+
|
|
100
107
|
|
|
101
108
|
|
|
102
109
|
|
|
103
110
|
constructor(options) {
|
|
104
|
-
super();
|
|
105
|
-
this.
|
|
106
|
-
|
|
111
|
+
super();
|
|
112
|
+
this.directAgent = new (0, _undici.Agent)({ connect: options.connect });
|
|
113
|
+
const proxyOptions = {
|
|
114
|
+
requestTls: options.connect,
|
|
115
|
+
proxyTls: options.connect
|
|
116
|
+
};
|
|
117
|
+
this.httpProxyAgent = options.httpProxy ? new (0, _undici.ProxyAgent)({ uri: options.httpProxy, ...proxyOptions }) : null;
|
|
118
|
+
this.httpsProxyAgent = options.httpsProxy ? new (0, _undici.ProxyAgent)({ uri: options.httpsProxy, ...proxyOptions }) : this.httpProxyAgent;
|
|
107
119
|
this.noProxy = options.noProxy;
|
|
108
120
|
}
|
|
109
121
|
dispatch(options, handler) {
|
|
@@ -140,22 +152,27 @@ var EnvProxyDispatcher = (_class = class extends _undici.Dispatcher {
|
|
|
140
152
|
}
|
|
141
153
|
return promise;
|
|
142
154
|
}
|
|
143
|
-
}
|
|
144
|
-
function
|
|
155
|
+
};
|
|
156
|
+
function configureCliTransport() {
|
|
145
157
|
const httpProxy = firstProxyEnv("HTTP_PROXY", "http_proxy");
|
|
146
158
|
const httpsProxy = firstProxyEnv("HTTPS_PROXY", "https_proxy") || httpProxy;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
_undici.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
);
|
|
159
|
+
const lifetime = new AbortController();
|
|
160
|
+
_events.setMaxListeners.call(void 0, 0, lifetime.signal);
|
|
161
|
+
const connect = { signal: lifetime.signal };
|
|
162
|
+
const previous = _undici.getGlobalDispatcher.call(void 0, );
|
|
163
|
+
const owned = httpProxy || httpsProxy ? new EnvProxyDispatcher({
|
|
164
|
+
httpProxy,
|
|
165
|
+
httpsProxy,
|
|
166
|
+
noProxy: firstProxyEnv("NO_PROXY", "no_proxy"),
|
|
167
|
+
connect
|
|
168
|
+
}) : new (0, _undici.Agent)({ connect });
|
|
169
|
+
_undici.setGlobalDispatcher.call(void 0, owned);
|
|
170
|
+
return async () => {
|
|
171
|
+
if (_undici.getGlobalDispatcher.call(void 0, ) === owned) _undici.setGlobalDispatcher.call(void 0, previous);
|
|
172
|
+
lifetime.abort();
|
|
173
|
+
await owned.destroy();
|
|
174
|
+
};
|
|
157
175
|
}
|
|
158
|
-
configureProxyFromEnv();
|
|
159
176
|
|
|
160
177
|
|
|
161
|
-
exports.
|
|
178
|
+
exports.configureCliTransport = configureCliTransport;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-XKW6HTWO.mjs";
|
|
5
|
+
import "./chunk-JWUOPLAR.mjs";
|
|
6
6
|
import "./chunk-DLIRSHV6.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MTICVDNY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
DEEPLINE_GTM_SKILL,
|
|
10
10
|
DEEPLINE_GTM_STARTER_PROMPTS
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
|
|
5
|
+
require('./chunk-HIXYNASX.js');
|
|
6
6
|
require('./chunk-XNYIZMNQ.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-OOQ4IRP4.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -15,12 +15,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/quickstart.ts
|
|
17
17
|
async function handleQuickstart(options) {
|
|
18
|
-
const jsonOutput =
|
|
18
|
+
const jsonOutput = _chunkEAIGGEV5js.shouldEmitJson.call(void 0, options.json === true);
|
|
19
19
|
const gettingStarted = {
|
|
20
20
|
skill: _chunkJNNOCMQYjs.DEEPLINE_GTM_SKILL,
|
|
21
21
|
examples: _chunkJNNOCMQYjs.DEEPLINE_GTM_STARTER_PROMPTS
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
_chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
|
|
24
24
|
{
|
|
25
25
|
ok: true,
|
|
26
26
|
status: "deprecated",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerDeprecatedSearchCommand,
|
|
3
3
|
registerSearchCommand
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-DH6LEJWD.mjs";
|
|
5
|
+
import "./chunk-IVT2CZPM.mjs";
|
|
6
6
|
import "./chunk-CBVIJSHF.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-XKW6HTWO.mjs";
|
|
8
|
+
import "./chunk-JWUOPLAR.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-MTICVDNY.mjs";
|
|
11
|
+
import "./chunk-6IKARAYD.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkJGEFX6FQjs = require('./chunk-JGEFX6FQ.js');
|
|
5
|
+
require('./chunk-NFWFUCGM.js');
|
|
6
|
+
require('./chunk-LA46MMTL.js');
|
|
7
|
+
require('./chunk-EAIGGEV5.js');
|
|
8
|
+
require('./chunk-HIXYNASX.js');
|
|
9
|
+
require('./chunk-XNYIZMNQ.js');
|
|
10
|
+
require('./chunk-OOQ4IRP4.js');
|
|
11
|
+
require('./chunk-S6R3OX7B.js');
|
|
12
|
+
require('./chunk-7P5AA3SN.js');
|
|
13
|
+
require('./chunk-OG64RBAC.js');
|
|
14
|
+
require('./chunk-COGTRVWW.js');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.registerDeprecatedSearchCommand = _chunkJGEFX6FQjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkJGEFX6FQjs.registerSearchCommand;
|
|
@@ -1,15 +1,15 @@
|
|
|
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 _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
|
|
4
4
|
require('./chunk-LA46MMTL.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
|
|
9
|
+
require('./chunk-HIXYNASX.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-OOQ4IRP4.js');
|
|
12
|
+
require('./chunk-S6R3OX7B.js');
|
|
13
13
|
require('./chunk-7P5AA3SN.js');
|
|
14
14
|
require('./chunk-OG64RBAC.js');
|
|
15
15
|
require('./chunk-COGTRVWW.js');
|
|
@@ -202,9 +202,9 @@ function preventShellHistoryLeak(forbidden) {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
async function handleList(options) {
|
|
205
|
-
const client = new (0,
|
|
205
|
+
const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
|
|
206
206
|
const secrets = await client.listSecrets();
|
|
207
|
-
|
|
207
|
+
_chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
|
|
208
208
|
{
|
|
209
209
|
secrets,
|
|
210
210
|
count: secrets.length,
|
|
@@ -222,14 +222,14 @@ async function handleList(options) {
|
|
|
222
222
|
}
|
|
223
223
|
async function handleCheck(nameInput, options) {
|
|
224
224
|
const name = normalizeSecretName(nameInput);
|
|
225
|
-
const client = new (0,
|
|
225
|
+
const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
|
|
226
226
|
const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
|
|
227
227
|
const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
|
|
228
228
|
const secret = check ? check.secret : await client.checkSecret(name);
|
|
229
229
|
const ok = check ? check.ok : Boolean(secret);
|
|
230
230
|
const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
|
|
231
231
|
const scopeHint = check ? _optionalChain([secret, 'optionalAccess', _3 => _3.scope]) === "play" ? check.reason === "disabled" ? `The Play-scoped secret is disabled and no active org fallback is available. Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}` : `The active Play-scoped secret takes precedence over the org secret.${ok ? "" : ` Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}`}` : `No Play override.${ok ? " The org secret is available." : ` Set or rotate the org secret with: deepline secrets set ${name}`}` : `Metadata only. Verify effective scope and active version with: deepline secrets check ${name} --play <play-name>`;
|
|
232
|
-
|
|
232
|
+
_chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
|
|
233
233
|
{
|
|
234
234
|
ok,
|
|
235
235
|
name,
|
|
@@ -257,7 +257,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
257
257
|
const name = normalizeSecretName(nameInput);
|
|
258
258
|
const { scope, playName } = resolveSecretWriteScope(options);
|
|
259
259
|
const value = await readSecretValueFromOptions(options);
|
|
260
|
-
const { http } =
|
|
260
|
+
const { http } = _chunkEAIGGEV5js.getAuthedHttpClient.call(void 0, );
|
|
261
261
|
const response = await http.post(
|
|
262
262
|
"/api/v2/secrets",
|
|
263
263
|
{
|
|
@@ -269,7 +269,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
269
269
|
}
|
|
270
270
|
);
|
|
271
271
|
const secret = response.secret;
|
|
272
|
-
|
|
272
|
+
_chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
|
|
273
273
|
{
|
|
274
274
|
ok: true,
|
|
275
275
|
secret,
|
|
@@ -297,7 +297,7 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
297
297
|
}
|
|
298
298
|
const note = options.clear ? "" : noteInput;
|
|
299
299
|
if (options.dryRun) {
|
|
300
|
-
|
|
300
|
+
_chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
|
|
301
301
|
{
|
|
302
302
|
ok: true,
|
|
303
303
|
dryRun: true,
|
|
@@ -318,9 +318,9 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
318
318
|
);
|
|
319
319
|
return;
|
|
320
320
|
}
|
|
321
|
-
const client = new (0,
|
|
321
|
+
const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
|
|
322
322
|
const secret = await client.updateSecretNote(secretId, note);
|
|
323
|
-
|
|
323
|
+
_chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
|
|
324
324
|
{
|
|
325
325
|
ok: true,
|
|
326
326
|
secret,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IVT2CZPM.mjs";
|
|
4
4
|
import "./chunk-CBVIJSHF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getAuthedHttpClient,
|
|
7
7
|
printCommandEnvelope
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-XKW6HTWO.mjs";
|
|
9
|
+
import "./chunk-JWUOPLAR.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MTICVDNY.mjs";
|
|
12
|
+
import "./chunk-6IKARAYD.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunk4D5YQETIjs = require('./chunk-4D5YQETI.js');
|
|
5
|
+
require('./chunk-EAIGGEV5.js');
|
|
6
|
+
require('./chunk-HIXYNASX.js');
|
|
7
7
|
require('./chunk-XNYIZMNQ.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-OOQ4IRP4.js');
|
|
9
9
|
require('./chunk-7P5AA3SN.js');
|
|
10
10
|
require('./chunk-OG64RBAC.js');
|
|
11
11
|
require('./chunk-COGTRVWW.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.registerSessionSendRenderCommands =
|
|
15
|
+
exports.registerSessionSendRenderCommands = _chunk4D5YQETIjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunk4D5YQETIjs.registerSessionsCommands;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands,
|
|
3
3
|
registerSessionsCommands
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-BVJSAJKV.mjs";
|
|
5
|
+
import "./chunk-XKW6HTWO.mjs";
|
|
6
|
+
import "./chunk-JWUOPLAR.mjs";
|
|
7
7
|
import "./chunk-DLIRSHV6.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-MTICVDNY.mjs";
|
|
9
9
|
import "./chunk-NXGCO4JB.mjs";
|
|
10
10
|
import "./chunk-WZYKRD7T.mjs";
|
|
11
11
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
DeeplineClient,
|
|
3
3
|
PRODUCT_NOTIFICATION_EVENT_CATALOG,
|
|
4
4
|
resolveLegacySlackNotification
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IVT2CZPM.mjs";
|
|
6
6
|
import "./chunk-CBVIJSHF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
readCliUpdatePreferences,
|
|
9
9
|
runUpdateCommand,
|
|
10
10
|
setCliAutoUpdateEnabled
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LGGR7CGZ.mjs";
|
|
12
|
+
import "./chunk-PUKK7SZX.mjs";
|
|
13
|
+
import "./chunk-XXQYOQWO.mjs";
|
|
14
14
|
import "./chunk-GAMFK2ZP.mjs";
|
|
15
15
|
import {
|
|
16
16
|
openInBrowser,
|
|
17
17
|
printCommandEnvelope
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-XKW6HTWO.mjs";
|
|
19
|
+
import "./chunk-JWUOPLAR.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-MTICVDNY.mjs";
|
|
22
|
+
import "./chunk-6IKARAYD.mjs";
|
|
23
23
|
import "./chunk-NXGCO4JB.mjs";
|
|
24
24
|
import "./chunk-WZYKRD7T.mjs";
|
|
25
25
|
import "./chunk-KRD6H754.mjs";
|