deepline 0.3.325 → 0.3.327

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 (128) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +23 -25
  2. package/dist/bundling-sources/sdk/src/compat.ts +11 -6
  3. package/dist/bundling-sources/sdk/src/db/query.ts +172 -0
  4. package/dist/bundling-sources/sdk/src/errors.ts +35 -0
  5. package/dist/bundling-sources/sdk/src/index.ts +13 -0
  6. package/dist/bundling-sources/sdk/src/play.ts +34 -31
  7. package/dist/bundling-sources/sdk/src/plays/authoring-graph-path.ts +13 -0
  8. package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +2 -1
  9. package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +189 -0
  10. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  11. package/dist/bundling-sources/sdk/src/tool-calls.ts +1 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/projection.ts +11 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +98 -11
  14. package/dist/cli/auth-67YOPQ6M.js +31 -0
  15. package/dist/cli/{auth-PIZESRPC.mjs → auth-EBBDOKNV.mjs} +4 -4
  16. package/dist/cli/{billing-DQKFCQV5.js → billing-6AAB7WPJ.js} +70 -70
  17. package/dist/cli/{billing-HSL6VTCM.mjs → billing-IM2QUFX4.mjs} +4 -4
  18. package/dist/cli/{chunk-WW4XZIVM.mjs → chunk-3ITDKXNC.mjs} +12 -9
  19. package/dist/cli/{chunk-K7FC5IUU.js → chunk-3MXRNPBN.js} +1 -1
  20. package/dist/cli/{chunk-DLW7X2UK.js → chunk-4TO56P22.js} +5928 -5730
  21. package/dist/cli/{chunk-MNKDSR2J.js → chunk-4ZARCCPT.js} +344 -254
  22. package/dist/cli/{chunk-PBNZXZCW.js → chunk-77RAV5XX.js} +48 -48
  23. package/dist/cli/{chunk-HUKWYHBG.js → chunk-7RCJDAJX.js} +2 -2
  24. package/dist/cli/{chunk-5TYU3UIS.mjs → chunk-A5SKM3GL.mjs} +1 -1
  25. package/dist/cli/{chunk-XNL3SEMC.js → chunk-AFNEQ43J.js} +8 -3
  26. package/dist/cli/{chunk-XSEMQ4II.js → chunk-AGH6YP2T.js} +2 -1
  27. package/dist/cli/chunk-AID3OYVJ.js +8 -0
  28. package/dist/cli/{chunk-YE3O2UHM.mjs → chunk-CCRQ2VGJ.mjs} +24 -1
  29. package/dist/cli/{chunk-HPTQEWCF.js → chunk-CISKBOXD.js} +70 -67
  30. package/dist/cli/{chunk-OPERWJR6.mjs → chunk-D6GD5AVN.mjs} +3 -3
  31. package/dist/cli/{chunk-6RMKHN7S.mjs → chunk-DCAU6PND.mjs} +4 -20
  32. package/dist/cli/{chunk-PVDQ55PS.js → chunk-DM3SHV6U.js} +29 -6
  33. package/dist/cli/{chunk-CV5GDCKN.js → chunk-DSDX6EUW.js} +29 -45
  34. package/dist/cli/{chunk-5FHU7TV4.mjs → chunk-DVV4FPS7.mjs} +2 -2
  35. package/dist/cli/{chunk-AQUNQJ5Y.mjs → chunk-F45425TB.mjs} +1 -1
  36. package/dist/cli/{chunk-NWBARG3F.mjs → chunk-G5774EFF.mjs} +1 -1
  37. package/dist/cli/chunk-GVESPYSY.mjs +234 -0
  38. package/dist/cli/{chunk-H5TJBRSC.mjs → chunk-HOWQKN6J.mjs} +98 -113
  39. package/dist/cli/{chunk-UYFWTIKF.js → chunk-HZZJR2GV.js} +26 -26
  40. package/dist/cli/{chunk-76VKBPOC.mjs → chunk-JOA6IKDE.mjs} +7 -2
  41. package/dist/cli/chunk-LVEDPCLJ.js +234 -0
  42. package/dist/cli/{chunk-KZNFYOHX.js → chunk-MOP6D7Z5.js} +6 -6
  43. package/dist/cli/{chunk-YXRPWMGN.js → chunk-NWIJLTRL.js} +147 -162
  44. package/dist/cli/chunk-OVDNJAJN.mjs +8 -0
  45. package/dist/cli/{chunk-XIVUB36F.mjs → chunk-QZAP5VOS.mjs} +104 -14
  46. package/dist/cli/{chunk-6VZDSBK6.mjs → chunk-REP2MYBI.mjs} +2 -2
  47. package/dist/cli/{chunk-PWV2M4LW.mjs → chunk-RSEVBSFE.mjs} +1 -1
  48. package/dist/cli/{chunk-OOPSX57I.js → chunk-TAGHNT5P.js} +6 -6
  49. package/dist/cli/{chunk-QQ2FG5W3.js → chunk-UROXKPND.js} +6 -6
  50. package/dist/cli/{chunk-7PZFGB7L.mjs → chunk-YIY74KUF.mjs} +2 -1
  51. package/dist/cli/{chunk-7MD453WV.mjs → chunk-ZOFARJWH.mjs} +5674 -5476
  52. package/dist/cli/client-7LZCG4VD.js +20 -0
  53. package/dist/cli/{client-57SR4KVM.mjs → client-JCMSACT4.mjs} +3 -3
  54. package/dist/cli/{csv-G2FRMOXL.mjs → csv-NPMWVM5D.mjs} +3 -3
  55. package/dist/cli/{csv-5DJSC6BD.js → csv-OILKDKUX.js} +12 -12
  56. package/dist/cli/{db-WWZEXM3N.mjs → db-AZUAOWPQ.mjs} +214 -137
  57. package/dist/cli/{db-NVO7P4VO.js → db-MNDRYYEX.js} +226 -149
  58. package/dist/cli/{describe-26OMF3A4.mjs → describe-KJWOHMKC.mjs} +12 -11
  59. package/dist/cli/{describe-M26LHDBQ.js → describe-QENLDLM2.js} +28 -27
  60. package/dist/cli/{executions-KI47LPKE.js → executions-P36UHBPG.js} +6 -6
  61. package/dist/cli/{executions-2LLHY3IL.mjs → executions-QZNQWF6F.mjs} +4 -4
  62. package/dist/cli/{feedback-2Y26C2BZ.js → feedback-K4UGTLFD.js} +6 -6
  63. package/dist/cli/{feedback-O26VL2OF.mjs → feedback-RQ6HSZSG.mjs} +3 -3
  64. package/dist/cli/{git-UVPGZN3K.mjs → git-PBRMCBMI.mjs} +4 -4
  65. package/dist/cli/git-RPFH3NJ2.js +23 -0
  66. package/dist/cli/index.js +105 -87
  67. package/dist/cli/index.mjs +65 -47
  68. package/dist/cli/{legacy-noops-IK5CH72U.mjs → legacy-noops-G7GWJ5UC.mjs} +4 -4
  69. package/dist/cli/{legacy-noops-H6Y3SEVB.js → legacy-noops-X74FM35Q.js} +7 -7
  70. package/dist/cli/{monitors-SFVVMAJT.mjs → monitors-KL2MCR57.mjs} +4 -4
  71. package/dist/cli/{monitors-JL6TTQCI.js → monitors-VKURX3YM.js} +85 -85
  72. package/dist/cli/{org-SSDONL57.mjs → org-DT53KTNW.mjs} +4 -4
  73. package/dist/cli/{org-OVMAZCQS.js → org-ZYXJDC44.js} +60 -60
  74. package/dist/cli/play-BUQV47E2.js +153 -0
  75. package/dist/cli/{play-X6NPACUO.mjs → play-WIJGQYTB.mjs} +11 -10
  76. package/dist/cli/{providers-E24JDWSR.js → providers-GRTW4TXX.js} +7 -7
  77. package/dist/cli/{providers-ONUBYYY4.mjs → providers-GYGKGS2J.mjs} +4 -4
  78. package/dist/cli/{quickstart-TB7C3DLG.js → quickstart-WB26543C.js} +5 -5
  79. package/dist/cli/{quickstart-B7NIXACV.mjs → quickstart-XF3M2M2S.mjs} +3 -3
  80. package/dist/cli/{search-N3QUIATW.mjs → search-ANJLTOF2.mjs} +5 -5
  81. package/dist/cli/search-CR2GZLCM.js +26 -0
  82. package/dist/cli/{secrets-CPCVFDYB.js → secrets-5KBUGMTK.js} +13 -13
  83. package/dist/cli/{secrets-V7Z4M67T.mjs → secrets-D6UR5CTW.mjs} +4 -4
  84. package/dist/cli/{sessions-E4FIZLQP.js → sessions-46PXFULL.js} +5 -5
  85. package/dist/cli/{sessions-PDOBKAKO.mjs → sessions-S7N4JEWK.mjs} +4 -4
  86. package/dist/cli/{settings-UVM2WDE4.js → settings-KMNBITSU.js} +74 -74
  87. package/dist/cli/{settings-QYHYHZDI.mjs → settings-V6U3SRTH.mjs} +7 -7
  88. package/dist/cli/{setup-3JFAXQLJ.js → setup-4K5FY6AU.js} +41 -41
  89. package/dist/cli/{setup-4RLAETDW.mjs → setup-OGITSLTN.mjs} +6 -6
  90. package/dist/cli/skills-4FP2MZKL.js +28 -0
  91. package/dist/cli/{skills-ZX2JSWOZ.mjs → skills-AXWAYPBY.mjs} +4 -4
  92. package/dist/cli/tools-7YZPH6WC.js +39 -0
  93. package/dist/cli/{tools-EGXCVIPJ.mjs → tools-LJCY6B23.mjs} +8 -7
  94. package/dist/cli/update-3VUOW6AP.js +28 -0
  95. package/dist/cli/{update-7FEKRQFE.mjs → update-DDR5XIUB.mjs} +6 -6
  96. package/dist/cli/{workflow-54VCKIG2.js → workflow-7CTCDWL3.js} +15 -15
  97. package/dist/cli/{workflow-7V7TTTKK.mjs → workflow-PRNCVANQ.mjs} +5 -5
  98. package/dist/{client-Bb4Jjzmj.d.ts → client-DHq8dJ56.d.ts} +39 -11
  99. package/dist/{client-COa-3GHK.d.mts → client-wiWPZhnI.d.mts} +39 -11
  100. package/dist/{compiler-manifest-CsnWj-AK.d.mts → compiler-manifest-9TkZ_ykI.d.mts} +711 -711
  101. package/dist/{compiler-manifest-CsnWj-AK.d.ts → compiler-manifest-9TkZ_ykI.d.ts} +711 -711
  102. package/dist/index-B-5_Xhud.d.mts +75 -0
  103. package/dist/index-ykksoEyR.d.ts +75 -0
  104. package/dist/index.d.mts +52 -13
  105. package/dist/index.d.ts +52 -13
  106. package/dist/index.js +142 -68
  107. package/dist/index.mjs +102 -28
  108. package/dist/install-integrity.json +91 -84
  109. package/dist/plays/bundle-play-file.d.mts +7 -75
  110. package/dist/plays/bundle-play-file.d.ts +7 -75
  111. package/dist/plays/bundle-play-file.mjs +1 -1
  112. package/dist/plays/run-request.d.mts +2 -2
  113. package/dist/plays/run-request.d.ts +2 -2
  114. package/dist/release.d.mts +1 -1
  115. package/dist/release.d.ts +1 -1
  116. package/dist/release.js +2 -2
  117. package/dist/release.mjs +1 -1
  118. package/package.json +1 -1
  119. package/dist/cli/auth-RXCD4GOV.js +0 -31
  120. package/dist/cli/chunk-OWJZUE3Y.mjs +0 -103
  121. package/dist/cli/chunk-SDK3ZA2C.js +0 -103
  122. package/dist/cli/client-562MULXK.js +0 -20
  123. package/dist/cli/git-KGPX5YPD.js +0 -23
  124. package/dist/cli/play-3DB4MSHN.js +0 -152
  125. package/dist/cli/search-NJ637YGQ.js +0 -26
  126. package/dist/cli/skills-BYRYG64R.js +0 -28
  127. package/dist/cli/tools-TAWOAY5X.js +0 -38
  128. package/dist/cli/update-H24GEBXM.js +0 -28
@@ -0,0 +1,234 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/plays/local-play-execution.ts
2
+ function importedNodes(graph) {
3
+ const visited = /* @__PURE__ */ new Set();
4
+ const visiting = /* @__PURE__ */ new Set();
5
+ const ordered = [];
6
+ const names = /* @__PURE__ */ new Map();
7
+ const visit = (node) => {
8
+ if (visiting.has(node.filePath))
9
+ throw new Error(`Recursive imported Play graph at ${node.filePath}.`);
10
+ if (visited.has(node.filePath)) return;
11
+ visiting.add(node.filePath);
12
+ for (const dependency of node.importedPlayDependencies) {
13
+ const child = graph.nodes.get(dependency.filePath);
14
+ if (!child)
15
+ throw new Error(
16
+ `Missing bundled Play dependency ${dependency.filePath}.`
17
+ );
18
+ visit(child);
19
+ }
20
+ visiting.delete(node.filePath);
21
+ visited.add(node.filePath);
22
+ if (node === graph.root) return;
23
+ if (!node.playName)
24
+ throw new Error(
25
+ `Imported Play ${node.filePath} must export definePlay(...).`
26
+ );
27
+ const existing = names.get(node.playName);
28
+ if (existing !== void 0 && existing !== node.filePath)
29
+ throw new Error(
30
+ `Imported Play name ${node.playName} belongs to more than one source file.`
31
+ );
32
+ names.set(node.playName, node.filePath);
33
+ ordered.push(node);
34
+ };
35
+ visit(graph.root);
36
+ return ordered;
37
+ }
38
+ function planLocalPlayExecution(graph, input = {}) {
39
+ const imports = importedNodes(graph).map((node) => ({
40
+ name: node.playName,
41
+ artifactHash: node.artifact.artifactHash,
42
+ graphHash: node.artifact.graphHash
43
+ }));
44
+ return {
45
+ command: "plays run",
46
+ root: {
47
+ name: graph.root.playName,
48
+ artifactHash: graph.root.artifact.artifactHash,
49
+ publication: "unpublished"
50
+ },
51
+ importedPlays: imports.map((node) => ({
52
+ ...node,
53
+ publication: "pinned"
54
+ })),
55
+ effects: {
56
+ cloudMutations: imports.length ? [
57
+ "store_imported_execution_artifacts",
58
+ "stage_files_if_present",
59
+ "register_unpublished_root_revision",
60
+ "start_run"
61
+ ] : [
62
+ "stage_files_if_present",
63
+ "register_unpublished_root_revision",
64
+ "start_run"
65
+ ],
66
+ localWrites: input.runIdFile ? ["bundle_cache", "run_identity_file"] : ["bundle_cache"],
67
+ creditSpending: "tool_calls_may_spend",
68
+ recovery: "inspect_or_resume_original_run_id"
69
+ }
70
+ };
71
+ }
72
+ async function pinLocalPlayImports(client, graph) {
73
+ const imports = importedNodes(graph);
74
+ if (imports.length === 0) return graph;
75
+ for (const node of [...imports, graph.root]) {
76
+ if (!node.compilerManifest)
77
+ throw new Error(`Missing compiler manifest for ${node.filePath}.`);
78
+ }
79
+ const nodes = new Map(graph.nodes);
80
+ const stored = /* @__PURE__ */ new Map();
81
+ const withPins = (node) => {
82
+ const closure = /* @__PURE__ */ new Map();
83
+ for (const dependency of node.importedPlayDependencies) {
84
+ const child = nodes.get(dependency.filePath);
85
+ const pointer = stored.get(dependency.filePath);
86
+ if (!pointer)
87
+ throw new Error(`Imported Play ${dependency.filePath} was not stored.`);
88
+ for (const [name, pin] of Object.entries(
89
+ _nullishCoalesce(child.artifact.importedPlayArtifacts, () => ( {}))
90
+ ))
91
+ closure.set(name, pin);
92
+ closure.set(child.playName, pointer);
93
+ }
94
+ return {
95
+ ...node,
96
+ artifact: {
97
+ ...node.artifact,
98
+ ...closure.size ? { importedPlayArtifacts: Object.fromEntries(closure) } : {}
99
+ }
100
+ };
101
+ };
102
+ for (const original of imports) {
103
+ const node = withPins(original);
104
+ const result = await client.registerPlayArtifact({
105
+ name: node.playName,
106
+ sourceCode: node.sourceCode,
107
+ sourceFiles: node.sourceFiles,
108
+ description: _nullishCoalesce(node.playDescription, () => ( void 0)),
109
+ artifact: node.artifact,
110
+ compilerManifest: node.compilerManifest,
111
+ publish: false,
112
+ artifactOnly: true
113
+ });
114
+ if (typeof result.artifactStorageKey !== "string" || !result.artifactStorageKey.trim())
115
+ throw new Error(
116
+ `No immutable artifact identity was returned for ${node.playName}.`
117
+ );
118
+ stored.set(node.filePath, {
119
+ artifactStorageKey: result.artifactStorageKey,
120
+ artifactHash: node.artifact.artifactHash,
121
+ graphHash: node.artifact.graphHash
122
+ });
123
+ nodes.set(node.filePath, node);
124
+ }
125
+ const root = withPins(graph.root);
126
+ nodes.set(root.filePath, root);
127
+ return { root, nodes };
128
+ }
129
+
130
+ // ../plays/bootstrap-routes.ts
131
+ var DEEPLINE_TOOL_CATEGORIES = [
132
+ "company_search",
133
+ "people_search",
134
+ "people_enrich",
135
+ "email_finder",
136
+ "email_verify",
137
+ "phone_finder",
138
+ "phone_verify",
139
+ "identity_resolution",
140
+ "reverse_lookup",
141
+ "enrichment",
142
+ "batch",
143
+ "premium",
144
+ "free"
145
+ ];
146
+ var PLAY_BOOTSTRAP_TEMPLATES = [
147
+ "people-list",
148
+ "company-list",
149
+ "people-email",
150
+ "people-phone",
151
+ "company-people",
152
+ "company-people-email",
153
+ "company-people-phone"
154
+ ];
155
+ var PLAY_BOOTSTRAP_SOURCE_KINDS = [
156
+ "csv",
157
+ "play",
158
+ "provider",
159
+ "providers"
160
+ ];
161
+ var PLAY_BOOTSTRAP_STAGE_KINDS = [
162
+ "play",
163
+ "provider",
164
+ "providers"
165
+ ];
166
+ var PLAY_BOOTSTRAP_FINDER_KINDS = [
167
+ "email_finder",
168
+ "phone_finder"
169
+ ];
170
+ var PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY = "company_search";
171
+ var PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY = "people_search";
172
+ var PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER = {
173
+ email_finder: "email_finder",
174
+ phone_finder: "phone_finder"
175
+ };
176
+ var PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER = {
177
+ email_finder: "email",
178
+ phone_finder: "phone"
179
+ };
180
+ var PLAY_BOOTSTRAP_CONTACT_FIELDS = [
181
+ "first_name",
182
+ "last_name",
183
+ "domain",
184
+ "company_name",
185
+ "linkedin_url",
186
+ "title",
187
+ "email",
188
+ "phone"
189
+ ];
190
+ var PLAY_BOOTSTRAP_COMPANY_FIELDS = [
191
+ "domain",
192
+ "company_domain",
193
+ "company_name",
194
+ "linkedin_url",
195
+ "website"
196
+ ];
197
+ function isPlayBootstrapFinderKind(value) {
198
+ return PLAY_BOOTSTRAP_FINDER_KINDS.includes(value);
199
+ }
200
+ function isPlayBootstrapTemplate(value) {
201
+ return PLAY_BOOTSTRAP_TEMPLATES.includes(value);
202
+ }
203
+ function formatPlayBootstrapFinderKinds() {
204
+ return PLAY_BOOTSTRAP_FINDER_KINDS.join("|");
205
+ }
206
+ function formatPlayBootstrapTemplates() {
207
+ return PLAY_BOOTSTRAP_TEMPLATES.join("|");
208
+ }
209
+ function formatPlayBootstrapFinderKindsForSentence() {
210
+ const allButLast = PLAY_BOOTSTRAP_FINDER_KINDS.slice(0, -1);
211
+ const last = PLAY_BOOTSTRAP_FINDER_KINDS.at(-1);
212
+ return `${allButLast.join(", ")} or ${last}`;
213
+ }
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+ exports.planLocalPlayExecution = planLocalPlayExecution; exports.pinLocalPlayImports = pinLocalPlayImports; exports.DEEPLINE_TOOL_CATEGORIES = DEEPLINE_TOOL_CATEGORIES; exports.PLAY_BOOTSTRAP_TEMPLATES = PLAY_BOOTSTRAP_TEMPLATES; exports.PLAY_BOOTSTRAP_SOURCE_KINDS = PLAY_BOOTSTRAP_SOURCE_KINDS; exports.PLAY_BOOTSTRAP_STAGE_KINDS = PLAY_BOOTSTRAP_STAGE_KINDS; exports.PLAY_BOOTSTRAP_FINDER_KINDS = PLAY_BOOTSTRAP_FINDER_KINDS; exports.PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY = PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY = PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER = PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER; exports.PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER = PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER; exports.PLAY_BOOTSTRAP_CONTACT_FIELDS = PLAY_BOOTSTRAP_CONTACT_FIELDS; exports.PLAY_BOOTSTRAP_COMPANY_FIELDS = PLAY_BOOTSTRAP_COMPANY_FIELDS; exports.isPlayBootstrapFinderKind = isPlayBootstrapFinderKind; exports.isPlayBootstrapTemplate = isPlayBootstrapTemplate; exports.formatPlayBootstrapFinderKinds = formatPlayBootstrapFinderKinds; exports.formatPlayBootstrapTemplates = formatPlayBootstrapTemplates; exports.formatPlayBootstrapFinderKindsForSentence = formatPlayBootstrapFinderKindsForSentence;
@@ -1,20 +1,20 @@
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 _chunkMNKDSR2Jjs = require('./chunk-MNKDSR2J.js');
3
+ var _chunk4ZARCCPTjs = require('./chunk-4ZARCCPT.js');
4
4
 
5
5
 
6
- var _chunkQQ2FG5W3js = require('./chunk-QQ2FG5W3.js');
6
+ var _chunkUROXKPNDjs = require('./chunk-UROXKPND.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkPVDQ55PSjs = require('./chunk-PVDQ55PS.js');
10
+ var _chunkDM3SHV6Ujs = require('./chunk-DM3SHV6U.js');
11
11
 
12
12
  // src/cli/search-ref.ts
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  var SEARCH_REF_TTL_MS = 15 * 6e4;
16
16
  function lastSearchPath() {
17
- return _path.join.call(void 0, _chunkPVDQ55PSjs.sdkCliStateDirPath.call(void 0, _chunkPVDQ55PSjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
17
+ return _path.join.call(void 0, _chunkDM3SHV6Ujs.sdkCliStateDirPath.call(void 0, _chunkDM3SHV6Ujs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
18
18
  }
19
19
  function rememberSearchRef(searchRef) {
20
20
  try {
@@ -97,7 +97,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
97
97
  console.error(USAGE);
98
98
  return 1;
99
99
  }
100
- const { search_ref: searchRef, ...result } = await new (0, _chunkMNKDSR2Jjs.DeeplineClient)().search({
100
+ const { search_ref: searchRef, ...result } = await new (0, _chunk4ZARCCPTjs.DeeplineClient)().search({
101
101
  query,
102
102
  types,
103
103
  exclude,
@@ -111,7 +111,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
111
111
  });
112
112
  if (searchRef) rememberSearchRef(searchRef);
113
113
  pointAtDescribe(result);
114
- _chunkQQ2FG5W3js.printCommandEnvelope.call(void 0, result, {
114
+ _chunkUROXKPNDjs.printCommandEnvelope.call(void 0, result, {
115
115
  json: options.json === true
116
116
  });
117
117
  return 0;