deepline 0.3.302 → 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.
Files changed (96) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +82 -0
  3. package/dist/bundling-sources/shared_libs/plays/tool-response-contract.ts +25 -0
  4. package/dist/cli/{auth-WHKDFARX.mjs → auth-337SVWQD.mjs} +4 -4
  5. package/dist/cli/auth-4ME3NANJ.js +31 -0
  6. package/dist/cli/{billing-IMFI76GS.js → billing-CVQURTWQ.js} +71 -71
  7. package/dist/cli/{billing-7C66HEMK.mjs → billing-SVGYQSJI.mjs} +5 -5
  8. package/dist/cli/{chunk-OUREAAOT.js → chunk-4D5YQETI.js} +6 -6
  9. package/dist/cli/{chunk-V4WVYW3G.mjs → chunk-4LRG6AJZ.mjs} +2 -2
  10. package/dist/cli/{chunk-JCS5TPNY.mjs → chunk-4NIQA6S7.mjs} +1 -1
  11. package/dist/cli/{chunk-7AXKBZWF.js → chunk-5NEXN4MZ.js} +2 -2
  12. package/dist/cli/{chunk-GWIY7C7U.mjs → chunk-BVJSAJKV.mjs} +1 -1
  13. package/dist/cli/{chunk-PZOHVTQ3.mjs → chunk-DH6LEJWD.mjs} +3 -3
  14. package/dist/cli/{chunk-NRIVXKMQ.js → chunk-EAIGGEV5.js} +6 -6
  15. package/dist/cli/{chunk-KEPIGAJS.js → chunk-GQUI3NYN.js} +57 -57
  16. package/dist/cli/{chunk-AAZBNN6N.js → chunk-HIXYNASX.js} +4 -4
  17. package/dist/cli/{chunk-S6XS2ABF.mjs → chunk-IVT2CZPM.mjs} +2 -2
  18. package/dist/cli/{chunk-J2PPXZE4.js → chunk-JGEFX6FQ.js} +6 -6
  19. package/dist/cli/{chunk-GHYU5YWJ.mjs → chunk-JWUOPLAR.mjs} +1 -1
  20. package/dist/cli/{chunk-TVBPWUII.mjs → chunk-LGGR7CGZ.mjs} +4 -4
  21. package/dist/cli/{chunk-A4UUUINX.mjs → chunk-MTICVDNY.mjs} +1 -1
  22. package/dist/cli/{chunk-5FKCLTLS.js → chunk-NFWFUCGM.js} +11 -11
  23. package/dist/cli/{chunk-GXYR7DV4.js → chunk-OOQ4IRP4.js} +1 -1
  24. package/dist/cli/{chunk-OTAGK5MS.js → chunk-P2KELOST.js} +48 -48
  25. package/dist/cli/{chunk-2TCHWWRP.mjs → chunk-PUKK7SZX.mjs} +1 -1
  26. package/dist/cli/{chunk-JX3CNS4W.js → chunk-RY6WID7C.js} +26 -26
  27. package/dist/cli/{chunk-GONRLVV3.js → chunk-W7INSYJS.js} +9 -9
  28. package/dist/cli/{chunk-KI5DPDF2.js → chunk-WJGRIDWQ.js} +15 -15
  29. package/dist/cli/{chunk-AIIVF62D.mjs → chunk-XKW6HTWO.mjs} +1 -1
  30. package/dist/cli/{chunk-DTGPHQFC.mjs → chunk-XXQYOQWO.mjs} +2 -2
  31. package/dist/cli/{chunk-YLVIJZ2W.mjs → chunk-YZLPXH7G.mjs} +2 -2
  32. package/dist/cli/{client-M7OBRULN.mjs → client-AMSHGQFH.mjs} +4 -4
  33. package/dist/cli/client-WN33QCMV.js +20 -0
  34. package/dist/cli/{csv-SAJB2PYV.js → csv-B2OKPMNX.js} +12 -12
  35. package/dist/cli/{csv-AKVUO3PP.mjs → csv-F4RPWI4E.mjs} +3 -3
  36. package/dist/cli/{db-AASVDGJB.js → db-AJYYK5HH.js} +21 -21
  37. package/dist/cli/{db-KREGQID3.mjs → db-QP4WNVSS.mjs} +5 -5
  38. package/dist/cli/{executions-XSKRZWVG.js → executions-4LHEJCCY.js} +7 -7
  39. package/dist/cli/{executions-YL5UM6BY.mjs → executions-NY7HYAEH.mjs} +5 -5
  40. package/dist/cli/{feedback-XZNAGHZ4.js → feedback-CXXJJARR.js} +6 -6
  41. package/dist/cli/{feedback-ITNK5A5V.mjs → feedback-SJYHLVYY.mjs} +3 -3
  42. package/dist/cli/{git-IXYZ5H7T.mjs → git-DUODO3NL.mjs} +4 -4
  43. package/dist/cli/git-K7YPSXLC.js +23 -0
  44. package/dist/cli/index.d.mts +1 -6
  45. package/dist/cli/index.d.ts +1 -6
  46. package/dist/cli/index.js +100 -87
  47. package/dist/cli/index.mjs +54 -41
  48. package/dist/cli/{legacy-noops-BJZ3P455.js → legacy-noops-3UYJVVNW.js} +7 -7
  49. package/dist/cli/{legacy-noops-MT5VFDXS.mjs → legacy-noops-IUDXZFYO.mjs} +4 -4
  50. package/dist/cli/{monitors-XU62FCBX.js → monitors-IEEVACOD.js} +86 -86
  51. package/dist/cli/{monitors-QL4XDOQT.mjs → monitors-PDWE6BGA.mjs} +5 -5
  52. package/dist/cli/{org-6WSIPHVV.js → org-NUFEZRY7.js} +61 -61
  53. package/dist/cli/{org-NKFPS763.mjs → org-VSPO2YF3.mjs} +5 -5
  54. package/dist/cli/{play-CKL7RDIS.mjs → play-KMHPJVWH.mjs} +21 -19
  55. package/dist/cli/{play-RZO7CZKL.js → play-MXYK2BRE.js} +229 -227
  56. package/dist/cli/{providers-UKNXDCPJ.mjs → providers-7ENB4EYV.mjs} +5 -5
  57. package/dist/cli/{providers-PQPH374E.js → providers-YE5YRIML.js} +8 -8
  58. package/dist/cli/{proxy-env-M4ZHXHRL.mjs → proxy-env-NWUIGWS3.mjs} +34 -17
  59. package/dist/cli/{proxy-env-EBANZHPV.js → proxy-env-ZV2WZFAT.js} +37 -20
  60. package/dist/cli/{quickstart-JUTTMWIC.mjs → quickstart-GFOOHX2U.mjs} +3 -3
  61. package/dist/cli/{quickstart-3FFTESEL.js → quickstart-KXCU2MZ2.js} +5 -5
  62. package/dist/cli/{search-WGBQ5LE5.mjs → search-KESXCJDL.mjs} +6 -6
  63. package/dist/cli/search-R426JJQW.js +18 -0
  64. package/dist/cli/{secrets-GGQRCGLA.js → secrets-BRB5SIXG.js} +14 -14
  65. package/dist/cli/{secrets-EV6IOJLN.mjs → secrets-HDR522GC.mjs} +5 -5
  66. package/dist/cli/{sessions-VZJ23U7E.js → sessions-IK3OSQC6.js} +5 -5
  67. package/dist/cli/{sessions-HL3Q22O5.mjs → sessions-VOOSWVLS.mjs} +4 -4
  68. package/dist/cli/{settings-M5MSM7U6.mjs → settings-BZKDIHTX.mjs} +8 -8
  69. package/dist/cli/{settings-LJB5VZWM.js → settings-OPGEFGXL.js} +75 -75
  70. package/dist/cli/{setup-ZURYYFBI.mjs → setup-RVPS7AJJ.mjs} +6 -6
  71. package/dist/cli/{setup-ASOUDNYM.js → setup-TP2VWSCU.js} +41 -41
  72. package/dist/cli/{skills-4SRVGVA6.mjs → skills-7BDD2F4V.mjs} +4 -4
  73. package/dist/cli/skills-TK2CIWVS.js +28 -0
  74. package/dist/cli/{tools-UNDZCH7R.js → tools-46ILS57M.js} +51 -51
  75. package/dist/cli/{tools-UEFB5OPX.mjs → tools-XLGGDBM3.mjs} +6 -6
  76. package/dist/cli/{update-WUIQXM5B.mjs → update-2JEM7WUF.mjs} +6 -6
  77. package/dist/cli/update-3JOCQWNF.js +28 -0
  78. package/dist/cli/{workflow-BCXLF24Z.mjs → workflow-SSTGMXOQ.mjs} +6 -6
  79. package/dist/cli/{workflow-FUXRNNWD.js → workflow-ZKGPY7T4.js} +16 -16
  80. package/dist/index.js +7 -7
  81. package/dist/index.mjs +4 -4
  82. package/dist/install-integrity.json +74 -74
  83. package/dist/plays/bundle-play-file.mjs +2 -2
  84. package/dist/release.d.mts +1 -1
  85. package/dist/release.d.ts +1 -1
  86. package/dist/release.js +2 -2
  87. package/dist/release.mjs +1 -1
  88. package/package.json +1 -1
  89. package/dist/cli/auth-ZJDK7HFJ.js +0 -31
  90. package/dist/cli/client-FVPE6PB4.js +0 -20
  91. package/dist/cli/git-IOUJDZDJ.js +0 -23
  92. package/dist/cli/search-TKLHBKKK.js +0 -18
  93. package/dist/cli/skills-KMGB73LN.js +0 -28
  94. package/dist/cli/update-4AZ7S666.js +0 -28
  95. /package/dist/cli/{chunk-GVUJJJ5G.mjs → chunk-6IKARAYD.mjs} +0 -0
  96. /package/dist/cli/{chunk-6A3TJUWC.js → chunk-S6R3OX7B.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-S6XS2ABF.mjs";
3
+ } from "./chunk-IVT2CZPM.mjs";
4
4
  import "./chunk-CBVIJSHF.mjs";
5
5
  import {
6
6
  printCommandEnvelope,
7
7
  shouldEmitJson
8
- } from "./chunk-AIIVF62D.mjs";
9
- import "./chunk-GHYU5YWJ.mjs";
8
+ } from "./chunk-XKW6HTWO.mjs";
9
+ import "./chunk-JWUOPLAR.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
- import "./chunk-A4UUUINX.mjs";
12
- import "./chunk-GVUJJJ5G.mjs";
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 _chunk5FKCLTLSjs = require('./chunk-5FKCLTLS.js');
3
+ var _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
4
4
  require('./chunk-LA46MMTL.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkNRIVXKMQjs = require('./chunk-NRIVXKMQ.js');
9
- require('./chunk-AAZBNN6N.js');
8
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
9
+ require('./chunk-HIXYNASX.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
- require('./chunk-GXYR7DV4.js');
12
- require('./chunk-6A3TJUWC.js');
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, _chunk5FKCLTLSjs.DeeplineClient)();
19
+ const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
20
20
  const changed = options.changed === true;
21
- const emitJson = options.json === true || _chunkNRIVXKMQjs.shouldEmitJson.call(void 0, );
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
- _chunkNRIVXKMQjs.printCommandEnvelope.call(void 0,
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 { Agent, Dispatcher, ProxyAgent, setGlobalDispatcher } from "undici";
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 = new Agent();
106
+ directAgent;
100
107
  httpProxyAgent;
101
108
  httpsProxyAgent;
102
109
  noProxy;
103
110
  constructor(options) {
104
111
  super();
105
- this.httpProxyAgent = options.httpProxy ? new ProxyAgent(options.httpProxy) : null;
106
- this.httpsProxyAgent = options.httpsProxy ? new ProxyAgent(options.httpsProxy) : this.httpProxyAgent;
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 configureProxyFromEnv() {
156
+ function configureCliTransport() {
145
157
  const httpProxy = firstProxyEnv("HTTP_PROXY", "http_proxy");
146
158
  const httpsProxy = firstProxyEnv("HTTPS_PROXY", "https_proxy") || httpProxy;
147
- if (!httpProxy && !httpsProxy) {
148
- return;
149
- }
150
- setGlobalDispatcher(
151
- new EnvProxyDispatcher({
152
- httpProxy,
153
- httpsProxy,
154
- noProxy: firstProxyEnv("NO_PROXY", "no_proxy")
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
- configureProxyFromEnv
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; } var _class;require('./chunk-COGTRVWW.js');
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 = (_class = class extends _undici.Dispatcher {
99
- __init() {this.directAgent = new (0, _undici.Agent)()}
105
+ var EnvProxyDispatcher = class extends _undici.Dispatcher {
106
+
100
107
 
101
108
 
102
109
 
103
110
  constructor(options) {
104
- super();_class.prototype.__init.call(this);;
105
- this.httpProxyAgent = options.httpProxy ? new (0, _undici.ProxyAgent)(options.httpProxy) : null;
106
- this.httpsProxyAgent = options.httpsProxy ? new (0, _undici.ProxyAgent)(options.httpsProxy) : this.httpProxyAgent;
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
- }, _class);
144
- function configureProxyFromEnv() {
155
+ };
156
+ function configureCliTransport() {
145
157
  const httpProxy = firstProxyEnv("HTTP_PROXY", "http_proxy");
146
158
  const httpsProxy = firstProxyEnv("HTTPS_PROXY", "https_proxy") || httpProxy;
147
- if (!httpProxy && !httpsProxy) {
148
- return;
149
- }
150
- _undici.setGlobalDispatcher.call(void 0,
151
- new EnvProxyDispatcher({
152
- httpProxy,
153
- httpsProxy,
154
- noProxy: firstProxyEnv("NO_PROXY", "no_proxy")
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.configureProxyFromEnv = configureProxyFromEnv;
178
+ exports.configureCliTransport = configureCliTransport;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  printCommandEnvelope,
3
3
  shouldEmitJson
4
- } from "./chunk-AIIVF62D.mjs";
5
- import "./chunk-GHYU5YWJ.mjs";
4
+ } from "./chunk-XKW6HTWO.mjs";
5
+ import "./chunk-JWUOPLAR.mjs";
6
6
  import "./chunk-DLIRSHV6.mjs";
7
- import "./chunk-A4UUUINX.mjs";
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 _chunkNRIVXKMQjs = require('./chunk-NRIVXKMQ.js');
5
- require('./chunk-AAZBNN6N.js');
4
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
5
+ require('./chunk-HIXYNASX.js');
6
6
  require('./chunk-XNYIZMNQ.js');
7
- require('./chunk-GXYR7DV4.js');
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 = _chunkNRIVXKMQjs.shouldEmitJson.call(void 0, options.json === true);
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
- _chunkNRIVXKMQjs.printCommandEnvelope.call(void 0,
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-PZOHVTQ3.mjs";
5
- import "./chunk-S6XS2ABF.mjs";
4
+ } from "./chunk-DH6LEJWD.mjs";
5
+ import "./chunk-IVT2CZPM.mjs";
6
6
  import "./chunk-CBVIJSHF.mjs";
7
- import "./chunk-AIIVF62D.mjs";
8
- import "./chunk-GHYU5YWJ.mjs";
7
+ import "./chunk-XKW6HTWO.mjs";
8
+ import "./chunk-JWUOPLAR.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-A4UUUINX.mjs";
11
- import "./chunk-GVUJJJ5G.mjs";
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 _chunk5FKCLTLSjs = require('./chunk-5FKCLTLS.js');
3
+ var _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
4
4
  require('./chunk-LA46MMTL.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkNRIVXKMQjs = require('./chunk-NRIVXKMQ.js');
9
- require('./chunk-AAZBNN6N.js');
8
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
9
+ require('./chunk-HIXYNASX.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
- require('./chunk-GXYR7DV4.js');
12
- require('./chunk-6A3TJUWC.js');
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, _chunk5FKCLTLSjs.DeeplineClient)();
205
+ const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
206
206
  const secrets = await client.listSecrets();
207
- _chunkNRIVXKMQjs.printCommandEnvelope.call(void 0,
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, _chunk5FKCLTLSjs.DeeplineClient)();
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
- _chunkNRIVXKMQjs.printCommandEnvelope.call(void 0,
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 } = _chunkNRIVXKMQjs.getAuthedHttpClient.call(void 0, );
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
- _chunkNRIVXKMQjs.printCommandEnvelope.call(void 0,
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
- _chunkNRIVXKMQjs.printCommandEnvelope.call(void 0,
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, _chunk5FKCLTLSjs.DeeplineClient)();
321
+ const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
322
322
  const secret = await client.updateSecretNote(secretId, note);
323
- _chunkNRIVXKMQjs.printCommandEnvelope.call(void 0,
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-S6XS2ABF.mjs";
3
+ } from "./chunk-IVT2CZPM.mjs";
4
4
  import "./chunk-CBVIJSHF.mjs";
5
5
  import {
6
6
  getAuthedHttpClient,
7
7
  printCommandEnvelope
8
- } from "./chunk-AIIVF62D.mjs";
9
- import "./chunk-GHYU5YWJ.mjs";
8
+ } from "./chunk-XKW6HTWO.mjs";
9
+ import "./chunk-JWUOPLAR.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
- import "./chunk-A4UUUINX.mjs";
12
- import "./chunk-GVUJJJ5G.mjs";
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 _chunkOUREAAOTjs = require('./chunk-OUREAAOT.js');
5
- require('./chunk-NRIVXKMQ.js');
6
- require('./chunk-AAZBNN6N.js');
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-GXYR7DV4.js');
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 = _chunkOUREAAOTjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkOUREAAOTjs.registerSessionsCommands;
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-GWIY7C7U.mjs";
5
- import "./chunk-AIIVF62D.mjs";
6
- import "./chunk-GHYU5YWJ.mjs";
4
+ } from "./chunk-BVJSAJKV.mjs";
5
+ import "./chunk-XKW6HTWO.mjs";
6
+ import "./chunk-JWUOPLAR.mjs";
7
7
  import "./chunk-DLIRSHV6.mjs";
8
- import "./chunk-A4UUUINX.mjs";
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-S6XS2ABF.mjs";
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-TVBPWUII.mjs";
12
- import "./chunk-2TCHWWRP.mjs";
13
- import "./chunk-DTGPHQFC.mjs";
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-AIIVF62D.mjs";
19
- import "./chunk-GHYU5YWJ.mjs";
18
+ } from "./chunk-XKW6HTWO.mjs";
19
+ import "./chunk-JWUOPLAR.mjs";
20
20
  import "./chunk-DLIRSHV6.mjs";
21
- import "./chunk-A4UUUINX.mjs";
22
- import "./chunk-GVUJJJ5G.mjs";
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";