deepline 0.3.372 → 0.3.374

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 (116) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +1 -53
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +15 -23
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +65 -3
  5. package/dist/bundling-sources/shared_libs/plays/email-status.ts +95 -0
  6. package/dist/bundling-sources/shared_libs/plays/extractor-targets.ts +14 -0
  7. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +253 -0
  8. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +2 -0
  9. package/dist/cli/auth-IFXXXZP6.js +33 -0
  10. package/dist/cli/{auth-ODSACXLF.mjs → auth-YGCDA4WG.mjs} +4 -4
  11. package/dist/cli/{billing-OPIOZLAN.mjs → billing-3ZLR3CJU.mjs} +4 -4
  12. package/dist/cli/{billing-4ERXY2DZ.js → billing-ZXRKPD5D.js} +73 -73
  13. package/dist/cli/{chunk-XSPAI6MF.mjs → chunk-2DAWTVNN.mjs} +2 -2
  14. package/dist/cli/{chunk-E5UD3JDQ.js → chunk-3VN4FTE3.js} +289 -5
  15. package/dist/cli/{chunk-VVFH745L.js → chunk-3XKAOV74.js} +6 -6
  16. package/dist/cli/{chunk-N5TPMNTT.js → chunk-53PZA4EP.js} +8 -8
  17. package/dist/cli/{chunk-BFLPCGOR.mjs → chunk-62IBVKWB.mjs} +1 -1
  18. package/dist/cli/{chunk-2RC5JQ3C.mjs → chunk-A62HBMHY.mjs} +1 -1
  19. package/dist/cli/{chunk-3GK3SH3G.mjs → chunk-E6BZWURC.mjs} +200 -13
  20. package/dist/cli/{chunk-KC2YOJTU.mjs → chunk-FT6O2ZVJ.mjs} +319 -115
  21. package/dist/cli/{chunk-5HYD3GMS.mjs → chunk-GT6KGIWV.mjs} +3 -3
  22. package/dist/cli/{chunk-RUYZAREB.js → chunk-HC5L6KGE.js} +9 -9
  23. package/dist/cli/{chunk-JAERLCMH.mjs → chunk-IZVGMVNX.mjs} +1 -1
  24. package/dist/cli/{chunk-ML2ZY7YD.js → chunk-JK547IDB.js} +4 -4
  25. package/dist/cli/{chunk-D6O3NJHX.js → chunk-MOBOAZMA.js} +60 -60
  26. package/dist/cli/{chunk-DONL233W.mjs → chunk-MQ5UW5AZ.mjs} +4 -4
  27. package/dist/cli/{chunk-MIMV5LTU.mjs → chunk-NNYQ24O5.mjs} +1 -1
  28. package/dist/cli/{chunk-DM5QUZJR.js → chunk-NOSIMGZV.js} +1 -1
  29. package/dist/cli/{chunk-AQFA7HMN.js → chunk-O7KJYX7R.js} +15 -15
  30. package/dist/cli/{chunk-U3W7E5WT.mjs → chunk-OS7GXARW.mjs} +27 -15
  31. package/dist/cli/{chunk-BVUGPOU3.mjs → chunk-OYTPVM2R.mjs} +2 -2
  32. package/dist/cli/{chunk-EFJL5FCU.js → chunk-PCYCNZLR.js} +8 -8
  33. package/dist/cli/{chunk-6MDAGRZP.js → chunk-RT5ICJ5V.js} +2 -2
  34. package/dist/cli/{chunk-GZQKUFM5.js → chunk-RXR7A2MX.js} +26 -26
  35. package/dist/cli/{chunk-4LIUZ4QR.mjs → chunk-SBB27CIJ.mjs} +2 -2
  36. package/dist/cli/{chunk-RJ7JJMQO.js → chunk-T35LCTC7.js} +266 -254
  37. package/dist/cli/{chunk-IUWPC5K6.js → chunk-TZTGK5JQ.js} +50 -50
  38. package/dist/cli/{chunk-FGHRRJ3D.mjs → chunk-VZSVYNZH.mjs} +1 -1
  39. package/dist/cli/{chunk-WJWO74MM.js → chunk-X5V2QTDR.js} +390 -186
  40. package/dist/cli/{chunk-JB6ERQUV.mjs → chunk-Y6VOGHF2.mjs} +284 -0
  41. package/dist/cli/{chunk-3CTB7V5F.mjs → chunk-YFFH6NDU.mjs} +2 -2
  42. package/dist/cli/{chunk-2JRRXXTA.js → chunk-YPVTQRUM.js} +201 -14
  43. package/dist/cli/client-O6IEMURJ.js +20 -0
  44. package/dist/cli/{client-KF2J754U.mjs → client-TV254HC4.mjs} +3 -3
  45. package/dist/cli/{csv-UL3MCD5D.mjs → csv-VEHHRUG4.mjs} +3 -3
  46. package/dist/cli/{csv-UJ3M7NFP.js → csv-WSRTANXI.js} +12 -12
  47. package/dist/cli/{db-SIOWA63T.mjs → db-BH25DX2G.mjs} +4 -4
  48. package/dist/cli/{db-444XYOTV.js → db-JXZNMFCE.js} +29 -29
  49. package/dist/cli/{describe-RRBESS3S.js → describe-N2OBGVJM.js} +61 -32
  50. package/dist/cli/{describe-GI5GHAKO.mjs → describe-TMBECHTX.mjs} +46 -17
  51. package/dist/cli/{executions-ERXZUOL5.js → executions-TX5CQF66.js} +6 -6
  52. package/dist/cli/{executions-4YDP6BXI.mjs → executions-Y4HQHYSO.mjs} +4 -4
  53. package/dist/cli/{feedback-3M7D7DZQ.js → feedback-ASEJ5A7I.js} +7 -7
  54. package/dist/cli/{feedback-CPWQL5LU.mjs → feedback-W7SRXYSP.mjs} +3 -3
  55. package/dist/cli/{git-XN6C3TJZ.mjs → git-2W7CZZRC.mjs} +4 -4
  56. package/dist/cli/git-SSSOIQ2L.js +23 -0
  57. package/dist/cli/index.js +81 -81
  58. package/dist/cli/index.mjs +32 -32
  59. package/dist/cli/{legacy-noops-5XDGOFWH.js → legacy-noops-NJYAAGBY.js} +7 -7
  60. package/dist/cli/{legacy-noops-KXQ6TFFL.mjs → legacy-noops-TXMPY3P7.mjs} +4 -4
  61. package/dist/cli/{monitors-33IU5JR6.mjs → monitors-G4L65QGQ.mjs} +4 -4
  62. package/dist/cli/{monitors-KH22PDOC.js → monitors-YLKTQ57D.js} +85 -85
  63. package/dist/cli/{org-MHYMWUEP.mjs → org-BCHOWKIA.mjs} +4 -4
  64. package/dist/cli/{org-X4NSLQG5.js → org-ENXO2A33.js} +64 -64
  65. package/dist/cli/{play-LCZKHKW2.mjs → play-JBY7HUYN.mjs} +8 -8
  66. package/dist/cli/play-SSJ3PO4D.js +155 -0
  67. package/dist/cli/{providers-J6LWCF5R.js → providers-GWFX3E7C.js} +7 -7
  68. package/dist/cli/{providers-L5FJTSEA.mjs → providers-JV2DZG43.mjs} +4 -4
  69. package/dist/cli/{quickstart-NE3BTWGL.mjs → quickstart-AIXURXZQ.mjs} +3 -3
  70. package/dist/cli/{quickstart-OOPFA4MX.js → quickstart-CASPK7F4.js} +5 -5
  71. package/dist/cli/{search-DBXOEOIE.mjs → search-DYQB7LHK.mjs} +5 -5
  72. package/dist/cli/search-N7K6A2YV.js +26 -0
  73. package/dist/cli/{secrets-WPMU7UBD.js → secrets-AZQG2E4U.js} +13 -13
  74. package/dist/cli/{secrets-U2MLWZH2.mjs → secrets-RQZPIPO5.mjs} +4 -4
  75. package/dist/cli/{sessions-WYNC4AUE.mjs → sessions-3FJJDMBB.mjs} +4 -4
  76. package/dist/cli/{sessions-YYZ3UJDS.js → sessions-ZY6RBYD4.js} +5 -5
  77. package/dist/cli/{settings-WQDFX3X6.js → settings-GXKWNR5V.js} +74 -74
  78. package/dist/cli/{settings-FQZSHFC6.mjs → settings-UNZDQGSE.mjs} +7 -7
  79. package/dist/cli/{setup-JKYJT35S.mjs → setup-PIRXJ2KJ.mjs} +6 -6
  80. package/dist/cli/{setup-DKYVNDTM.js → setup-UURZD4YO.js} +41 -41
  81. package/dist/cli/skills-4OUZLKTW.js +28 -0
  82. package/dist/cli/{skills-VHVCJJJY.mjs → skills-B4AQEIAF.mjs} +4 -4
  83. package/dist/cli/tools-MIZS5UN6.js +40 -0
  84. package/dist/cli/{tools-E23PU7KM.mjs → tools-UMGQKUSW.mjs} +8 -8
  85. package/dist/cli/update-3CO7LA4M.js +28 -0
  86. package/dist/cli/{update-4A4VU6CW.mjs → update-SFUTMEKL.mjs} +6 -6
  87. package/dist/cli/{workflow-WB2USWAA.js → workflow-CDAJCMT7.js} +15 -15
  88. package/dist/cli/{workflow-2ZR2ECTG.mjs → workflow-ON6XVW36.mjs} +5 -5
  89. package/dist/{client-Cw0e2Uec.d.mts → client-Cn-txrXv.d.mts} +1 -1
  90. package/dist/{client-CwdiawoG.d.ts → client-fPoIN-3V.d.ts} +1 -1
  91. package/dist/{compiler-manifest-DgdW0q0b.d.mts → compiler-manifest-CY2v8ab0.d.mts} +2 -0
  92. package/dist/{compiler-manifest-DgdW0q0b.d.ts → compiler-manifest-CY2v8ab0.d.ts} +2 -0
  93. package/dist/{index-C3nQQTI-.d.mts → index-B9fBZH1g.d.mts} +1 -1
  94. package/dist/{index-CEYQAfS0.d.ts → index-BZ6uzZJl.d.ts} +1 -1
  95. package/dist/index.d.mts +5 -5
  96. package/dist/index.d.ts +5 -5
  97. package/dist/index.js +79 -249
  98. package/dist/index.mjs +10 -180
  99. package/dist/install-integrity.json +85 -84
  100. package/dist/plays/bundle-play-file.d.mts +3 -3
  101. package/dist/plays/bundle-play-file.d.ts +3 -3
  102. package/dist/plays/run-request.d.mts +2 -2
  103. package/dist/plays/run-request.d.ts +2 -2
  104. package/dist/release.d.mts +1 -1
  105. package/dist/release.d.ts +1 -1
  106. package/dist/release.js +2 -2
  107. package/dist/release.mjs +1 -1
  108. package/package.json +1 -1
  109. package/dist/cli/auth-4SXMV3CD.js +0 -33
  110. package/dist/cli/client-UUNLXOHF.js +0 -20
  111. package/dist/cli/git-ITSCNUVB.js +0 -23
  112. package/dist/cli/play-4QRPOBWW.js +0 -155
  113. package/dist/cli/search-UGQDBP76.js +0 -26
  114. package/dist/cli/skills-VBQMXDAX.js +0 -28
  115. package/dist/cli/tools-ACEJZMJD.js +0 -40
  116. package/dist/cli/update-V5KMYHVE.js +0 -28
@@ -1,4 +1,280 @@
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; }// src/tool-output.ts
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; }// ../plays/email-status.ts
2
+ var nullable = (type) => ({ type: [type, "null"] });
3
+ var oneOf = (values) => ({ type: "string", enum: values });
4
+ var EMAIL_STATUS_JSON_SCHEMA = {
5
+ type: "object",
6
+ required: [
7
+ "verdict",
8
+ "status",
9
+ "verified",
10
+ "confidence",
11
+ "reasons",
12
+ "signals",
13
+ "provider"
14
+ ],
15
+ properties: {
16
+ verdict: oneOf([
17
+ "send",
18
+ "send_with_caution",
19
+ "verify_next",
20
+ "hold",
21
+ "drop"
22
+ ]),
23
+ status: oneOf([
24
+ "valid",
25
+ "invalid",
26
+ "catch_all",
27
+ "valid_catch_all",
28
+ "unknown",
29
+ "do_not_mail",
30
+ "spamtrap",
31
+ "abuse",
32
+ "disposable"
33
+ ]),
34
+ verified: { type: "boolean" },
35
+ confidence: nullable("number"),
36
+ reasons: { type: "array", items: { type: "string" } },
37
+ signals: {
38
+ type: "object",
39
+ required: [
40
+ "catch_all",
41
+ "deliverability",
42
+ "mx_class",
43
+ "mx_provider",
44
+ "mx_record",
45
+ "fraud_score",
46
+ "disposable",
47
+ "role_based",
48
+ "free_email",
49
+ "abuse",
50
+ "spamtrap",
51
+ "suspect",
52
+ "valid"
53
+ ],
54
+ properties: {
55
+ catch_all: nullable("boolean"),
56
+ deliverability: oneOf([
57
+ "high",
58
+ "medium",
59
+ "low",
60
+ "unknown"
61
+ ]),
62
+ mx_class: oneOf([
63
+ "consumer_mailbox",
64
+ "workspace_mailbox",
65
+ "security_gateway",
66
+ "on_prem",
67
+ "unknown"
68
+ ]),
69
+ mx_provider: nullable("string"),
70
+ mx_record: nullable("string"),
71
+ fraud_score: nullable("number"),
72
+ disposable: nullable("boolean"),
73
+ role_based: nullable("boolean"),
74
+ free_email: nullable("boolean"),
75
+ abuse: nullable("boolean"),
76
+ spamtrap: nullable("boolean"),
77
+ suspect: nullable("boolean"),
78
+ valid: nullable("boolean")
79
+ }
80
+ },
81
+ provider: {
82
+ type: "object",
83
+ required: ["name", "raw_status", "raw_score"],
84
+ properties: {
85
+ name: { type: "string" },
86
+ raw_status: { type: ["string", "boolean", "number", "null"] },
87
+ raw_score: nullable("number")
88
+ }
89
+ }
90
+ }
91
+ };
92
+ function normalizeKey(value) {
93
+ if (value == null) return null;
94
+ if (typeof value === "boolean") return String(value);
95
+ const normalized = String(value).trim().toLowerCase().replace(/\s+/g, "_");
96
+ return normalized || null;
97
+ }
98
+ function boolish(value) {
99
+ if (typeof value === "boolean") return value;
100
+ if (typeof value === "number")
101
+ return value === 1 ? true : value === 0 ? false : null;
102
+ if (typeof value !== "string") return null;
103
+ const normalized = value.trim().toLowerCase();
104
+ if (["true", "yes", "y", "1"].includes(normalized)) return true;
105
+ if (["false", "no", "n", "0"].includes(normalized)) return false;
106
+ return null;
107
+ }
108
+ function numberish(value) {
109
+ if (typeof value === "number" && Number.isFinite(value)) return value;
110
+ if (typeof value !== "string" || value.trim() === "") return null;
111
+ const parsed = Number(value);
112
+ return Number.isFinite(parsed) ? parsed : null;
113
+ }
114
+ function stringish(value) {
115
+ return typeof value === "string" && value.trim() ? value.trim() : null;
116
+ }
117
+ function deliverability(value) {
118
+ const normalized = normalizeKey(value);
119
+ return normalized === "high" || normalized === "medium" || normalized === "low" ? normalized : "unknown";
120
+ }
121
+ function mxClass(mxProvider, mxRecord) {
122
+ const haystack = `${_nullishCoalesce(stringish(mxProvider), () => ( ""))} ${_nullishCoalesce(stringish(mxRecord), () => ( ""))}`.toLowerCase();
123
+ if (!haystack.trim()) return "unknown";
124
+ if (/proofpoint|pphosted|mimecast|barracuda|ess\.barracudanetworks|ironport|cisco|iphmx|messagelabs|symantec/.test(
125
+ haystack
126
+ )) {
127
+ return "security_gateway";
128
+ }
129
+ if (/aspmx\.l\.google|google|g-suite|google workspace/.test(haystack)) {
130
+ return "workspace_mailbox";
131
+ }
132
+ if (/protection\.outlook|office365|microsoft|outlook|exchange online/.test(
133
+ haystack
134
+ )) {
135
+ return "workspace_mailbox";
136
+ }
137
+ if (/gmail|yahoo|icloud|aol|hotmail/.test(haystack))
138
+ return "consumer_mailbox";
139
+ if (/postfix|exim|sendmail|zimbra|plesk|cpanel|mail\./.test(haystack))
140
+ return "on_prem";
141
+ return "unknown";
142
+ }
143
+ function entryForStatus(key, map) {
144
+ if (!key) return null;
145
+ return _nullishCoalesce(_optionalChain([map, 'optionalAccess', _ => _[key]]), () => ( null));
146
+ }
147
+ function read(values, name) {
148
+ return values[name];
149
+ }
150
+ function matchesRule(rule, values) {
151
+ return Object.entries(rule.when).every(([key, expected]) => {
152
+ const actual = read(values, key);
153
+ if (key.endsWith("Lt")) {
154
+ const source = numberish(read(values, key.slice(0, -2)));
155
+ return typeof expected === "number" && source != null && source < expected;
156
+ }
157
+ if (typeof expected === "boolean") return boolish(actual) === expected;
158
+ if (typeof expected === "number") return numberish(actual) === expected;
159
+ return normalizeKey(actual) === normalizeKey(expected);
160
+ });
161
+ }
162
+ function buildEmailStatus({
163
+ config,
164
+ values
165
+ }) {
166
+ const rawStatus = read(values, "rawStatus");
167
+ const rawScore = numberish(read(values, "rawScore"));
168
+ const valid = boolish(read(values, "valid"));
169
+ const catchAll = boolish(read(values, "catchAll"));
170
+ const disposable = boolish(read(values, "disposable"));
171
+ const abuse = boolish(read(values, "abuse"));
172
+ const spamtrap = boolish(read(values, "spamtrap"));
173
+ const suspect = boolish(read(values, "suspect"));
174
+ const rawKey = normalizeKey(rawStatus);
175
+ const mapped = _nullishCoalesce(_nullishCoalesce(_optionalChain([config, 'access', _2 => _2.rules, 'optionalAccess', _3 => _3.find, 'call', _4 => _4((rule) => matchesRule(rule, values))]), () => ( entryForStatus(rawKey, config.statusMap))), () => ( entryForStatus(valid == null ? null : String(valid), config.statusMap)));
176
+ const status = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _5 => _5.status]), () => ( (disposable ? "disposable" : abuse ? "abuse" : spamtrap ? "spamtrap" : catchAll ? "catch_all" : valid === true ? "valid" : valid === false ? "invalid" : "unknown")));
177
+ const defaultVerdict = status === "valid" ? "send" : status === "valid_catch_all" ? "send_with_caution" : status === "catch_all" ? "verify_next" : status === "unknown" ? "hold" : "drop";
178
+ const verdict = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _6 => _6.verdict]), () => ( defaultVerdict));
179
+ const verified = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _7 => _7.verified]), () => ( (status === "valid" || status === "valid_catch_all" || verdict === "send")));
180
+ const reasons = [
181
+ _optionalChain([mapped, 'optionalAccess', _8 => _8.reason]),
182
+ catchAll ? "catch_all_domain" : null,
183
+ mxClass(read(values, "mxProvider"), read(values, "mxRecord")) === "security_gateway" ? "security_gateway_mx" : null,
184
+ suspect ? "provider_marked_suspect" : null
185
+ ].filter((reason) => typeof reason === "string");
186
+ return {
187
+ verdict,
188
+ status,
189
+ verified,
190
+ confidence: rawScore,
191
+ reasons,
192
+ signals: {
193
+ catch_all: catchAll,
194
+ deliverability: deliverability(read(values, "deliverability")),
195
+ mx_class: mxClass(read(values, "mxProvider"), read(values, "mxRecord")),
196
+ mx_provider: stringish(read(values, "mxProvider")),
197
+ mx_record: stringish(read(values, "mxRecord")),
198
+ fraud_score: numberish(read(values, "fraudScore")),
199
+ disposable,
200
+ role_based: boolish(read(values, "roleBased")),
201
+ free_email: boolish(read(values, "freeEmail")),
202
+ abuse,
203
+ spamtrap,
204
+ suspect,
205
+ valid
206
+ },
207
+ provider: {
208
+ name: config.provider,
209
+ raw_status: typeof rawStatus === "string" || typeof rawStatus === "boolean" || typeof rawStatus === "number" ? rawStatus : null,
210
+ raw_score: rawScore
211
+ }
212
+ };
213
+ }
214
+
215
+ // ../plays/extractor-targets.ts
216
+ var JOB_CHANGE_STATUS_VALUES = [
217
+ "moved",
218
+ "no_change",
219
+ "left_company",
220
+ "unknown",
221
+ "profile_unavailable",
222
+ "no_new_company"
223
+ ];
224
+ var JOB_CHANGE_JSON_SCHEMA = {
225
+ type: "object",
226
+ required: ["status", "date", "new_company", "new_title"],
227
+ properties: {
228
+ status: { type: "string", enum: JOB_CHANGE_STATUS_VALUES },
229
+ date: { type: ["string", "null"] },
230
+ new_company: { type: ["string", "null"] },
231
+ new_title: { type: ["string", "null"] }
232
+ }
233
+ };
234
+ var PHONE_STATUS_VALUES = ["valid", "invalid", "unknown"];
235
+ var DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = {
236
+ id: { identity: true, valueKind: "string" },
237
+ name: { identity: true, valueKind: "string" },
238
+ email: { identity: true, valueKind: "string" },
239
+ personal_email: { identity: true, valueKind: "string" },
240
+ phone: { identity: true, valueKind: "string" },
241
+ linkedin: { identity: true, valueKind: "string" },
242
+ linkedin_url: { identity: true, valueKind: "string" },
243
+ domain: { identity: true, valueKind: "string" },
244
+ website: { identity: true, valueKind: "string" },
245
+ first_name: { identity: true, valueKind: "string" },
246
+ last_name: { identity: true, valueKind: "string" },
247
+ full_name: { identity: true, valueKind: "string" },
248
+ company: { identity: true, valueKind: "string" },
249
+ company_name: { identity: true, valueKind: "string" },
250
+ organization_name: { identity: true, valueKind: "string" },
251
+ company_domain: { identity: true, valueKind: "string" },
252
+ company_website: { identity: true, valueKind: "string" },
253
+ company_linkedin_url: { identity: true, valueKind: "string" },
254
+ title: { identity: false, valueKind: "string" },
255
+ industry: { identity: false, valueKind: "string" },
256
+ status: { identity: false, valueKind: "string" },
257
+ job_change: { identity: false, valueKind: "job_change" },
258
+ job_change_status: {
259
+ identity: false,
260
+ valueKind: "job_change_status",
261
+ enum: JOB_CHANGE_STATUS_VALUES
262
+ },
263
+ email_status: { identity: false, valueKind: "email_status" },
264
+ phone_status: {
265
+ identity: false,
266
+ valueKind: "phone_status",
267
+ enum: PHONE_STATUS_VALUES
268
+ }
269
+ };
270
+ var DEEPLINE_EXTRACTOR_TARGETS = Object.keys(
271
+ DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS
272
+ );
273
+ function isDeeplineExtractorTarget(value) {
274
+ return value in DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS;
275
+ }
276
+
277
+ // src/tool-output.ts
2
278
 
3
279
 
4
280
 
@@ -71,7 +347,7 @@ function candidateRoots(payload) {
71
347
  function findBestArrayCandidate(value, pathPrefix = "", depth = 0) {
72
348
  if (depth > 5) return null;
73
349
  const directRows = normalizeRows(value);
74
- const hasObjectRow = _nullishCoalesce(_optionalChain([directRows, 'optionalAccess', _ => _.some, 'call', _2 => _2(
350
+ const hasObjectRow = _nullishCoalesce(_optionalChain([directRows, 'optionalAccess', _9 => _9.some, 'call', _10 => _10(
75
351
  (row) => Object.keys(row).some((key) => key !== "value")
76
352
  )]), () => ( false));
77
353
  let best = directRows && directRows.length > 0 && hasObjectRow ? { path: pathPrefix, rows: directRows } : null;
@@ -89,7 +365,7 @@ function findBestArrayCandidate(value, pathPrefix = "", depth = 0) {
89
365
  return best;
90
366
  }
91
367
  function tryConvertToList(payload, options) {
92
- const listExtractorPaths = Array.isArray(_optionalChain([options, 'optionalAccess', _3 => _3.listExtractorPaths])) ? _optionalChain([options, 'optionalAccess', _4 => _4.listExtractorPaths, 'access', _5 => _5.filter, 'call', _6 => _6(
368
+ const listExtractorPaths = Array.isArray(_optionalChain([options, 'optionalAccess', _11 => _11.listExtractorPaths])) ? _optionalChain([options, 'optionalAccess', _12 => _12.listExtractorPaths, 'access', _13 => _13.filter, 'call', _14 => _14(
93
369
  (entry) => typeof entry === "string" && entry.trim().length > 0
94
370
  )]) : [];
95
371
  if (listExtractorPaths.length > 0) {
@@ -147,7 +423,7 @@ function writeJsonOutputFile(payload, stem) {
147
423
  return outputPath;
148
424
  }
149
425
  function writeCsvOutputFile(rows, stem, options) {
150
- const outputPath = _optionalChain([options, 'optionalAccess', _7 => _7.outPath]) ? options.outPath : _path.join.call(void 0, ensureOutputDir(), `${stem}_${Date.now()}.csv`);
426
+ const outputPath = _optionalChain([options, 'optionalAccess', _15 => _15.outPath]) ? options.outPath : _path.join.call(void 0, ensureOutputDir(), `${stem}_${Date.now()}.csv`);
151
427
  _fs.mkdirSync.call(void 0, _path.dirname.call(void 0, outputPath), { recursive: true });
152
428
  const columns = columnsForRows(rows);
153
429
  const escapeCell = (value) => {
@@ -388,4 +664,12 @@ function normalizeTableNamespace(value) {
388
664
 
389
665
 
390
666
 
391
- exports.stableStringify = stableStringify; exports.sha256Hex = sha256Hex; exports.normalizeTableNamespace = normalizeTableNamespace; exports.tryConvertToList = tryConvertToList; exports.projectRowOutput = projectRowOutput; exports.writeJsonOutputFile = writeJsonOutputFile; exports.writeCsvOutputFile = writeCsvOutputFile; exports.extractSummaryFields = extractSummaryFields;
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+ exports.EMAIL_STATUS_JSON_SCHEMA = EMAIL_STATUS_JSON_SCHEMA; exports.buildEmailStatus = buildEmailStatus; exports.JOB_CHANGE_STATUS_VALUES = JOB_CHANGE_STATUS_VALUES; exports.JOB_CHANGE_JSON_SCHEMA = JOB_CHANGE_JSON_SCHEMA; exports.PHONE_STATUS_VALUES = PHONE_STATUS_VALUES; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_EXTRACTOR_TARGETS = DEEPLINE_EXTRACTOR_TARGETS; exports.isDeeplineExtractorTarget = isDeeplineExtractorTarget; exports.stableStringify = stableStringify; exports.sha256Hex = sha256Hex; exports.normalizeTableNamespace = normalizeTableNamespace; exports.tryConvertToList = tryConvertToList; exports.projectRowOutput = projectRowOutput; exports.writeJsonOutputFile = writeJsonOutputFile; exports.writeCsvOutputFile = writeCsvOutputFile; exports.extractSummaryFields = extractSummaryFields;
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkML2ZY7YDjs = require('./chunk-ML2ZY7YD.js');
6
+ var _chunkJK547IDBjs = require('./chunk-JK547IDB.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -225,8 +225,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
225
225
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
226
226
  var defaultBrowserCommandRunner = childProcess;
227
227
  function getAuthedHttpClient() {
228
- const config = _chunkML2ZY7YDjs.resolveConfig.call(void 0, );
229
- return { config, http: new (0, _chunkML2ZY7YDjs.HttpClient)(config) };
228
+ const config = _chunkJK547IDBjs.resolveConfig.call(void 0, );
229
+ return { config, http: new (0, _chunkJK547IDBjs.HttpClient)(config) };
230
230
  }
231
231
  function stableOsUserId() {
232
232
  try {
@@ -566,7 +566,7 @@ function collectLocalEnvInfo() {
566
566
  os: `${process.platform} ${process.arch}`,
567
567
  node_version: process.version,
568
568
  home_dir: homeDir,
569
- agent_runtime: _chunkML2ZY7YDjs.detectAgentRuntime.call(void 0, )
569
+ agent_runtime: _chunkJK547IDBjs.detectAgentRuntime.call(void 0, )
570
570
  };
571
571
  const env = process.env;
572
572
  const optional = {
@@ -813,9 +813,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
813
813
  }
814
814
  function withAgentCommandContext(value) {
815
815
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
816
- return _chunkML2ZY7YDjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
816
+ return _chunkJK547IDBjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
817
817
  ...valueRecord,
818
- command_context: _chunkML2ZY7YDjs.resolveCliCommandContext.call(void 0, )
818
+ command_context: _chunkJK547IDBjs.resolveCliCommandContext.call(void 0, )
819
819
  } : value;
820
820
  }
821
821
  function printJson(value, fields) {
@@ -1,14 +1,14 @@
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 _chunkRUYZAREBjs = require('./chunk-RUYZAREB.js');
3
+ var _chunkHC5L6KGEjs = require('./chunk-HC5L6KGE.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkVVFH745Ljs = require('./chunk-VVFH745L.js');
7
+ var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkML2ZY7YDjs = require('./chunk-ML2ZY7YD.js');
11
+ var _chunkJK547IDBjs = require('./chunk-JK547IDB.js');
12
12
 
13
13
  // src/cli/commands/search.ts
14
14
  var _commander = require('commander');
@@ -18,7 +18,7 @@ var _fs = require('fs');
18
18
  var _path = require('path');
19
19
  var SEARCH_REF_TTL_MS = 15 * 6e4;
20
20
  function lastSearchPath() {
21
- return _path.join.call(void 0, _chunkML2ZY7YDjs.sdkCliStateDirPath.call(void 0, _chunkML2ZY7YDjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
21
+ return _path.join.call(void 0, _chunkJK547IDBjs.sdkCliStateDirPath.call(void 0, _chunkJK547IDBjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
22
22
  }
23
23
  function rememberSearchRef(searchRef) {
24
24
  try {
@@ -259,7 +259,7 @@ function searchRow(item) {
259
259
  }
260
260
  function renderSearchResults(result) {
261
261
  if (result.results.length === 0)
262
- return _chunkVVFH745Ljs.renderCommandEnvelopeText.call(void 0, result);
262
+ return _chunk3XKAOV74js.renderCommandEnvelopeText.call(void 0, result);
263
263
  const rows = result.results.map(searchRow);
264
264
  const kinds = new Set(rows.map((row) => row.kind));
265
265
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -283,7 +283,7 @@ function renderSearchResults(result) {
283
283
  actions: _optionalChain([render, 'optionalAccess', _11 => _11.actions])
284
284
  };
285
285
  const followUps = _optionalChain([remaining, 'access', _12 => _12.sections, 'optionalAccess', _13 => _13.length]) || _optionalChain([remaining, 'access', _14 => _14.actions, 'optionalAccess', _15 => _15.length]) ? `
286
- ${_chunkVVFH745Ljs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
286
+ ${_chunk3XKAOV74js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
287
287
  const notes = rows.flatMap(
288
288
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
289
289
  );
@@ -360,7 +360,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
360
360
  console.error(USAGE);
361
361
  return 1;
362
362
  }
363
- const { search_ref: searchRef, ...result } = await new (0, _chunkRUYZAREBjs.DeeplineClient)().search({
363
+ const { search_ref: searchRef, ...result } = await new (0, _chunkHC5L6KGEjs.DeeplineClient)().search({
364
364
  query,
365
365
  types,
366
366
  exclude,
@@ -374,7 +374,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
374
374
  });
375
375
  if (searchRef) rememberSearchRef(searchRef);
376
376
  pointAtDescribe(result);
377
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0, result, {
377
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, result, {
378
378
  json: options.json === true,
379
379
  text: renderSearchResults(result)
380
380
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-BVUGPOU3.mjs";
3
+ } from "./chunk-OYTPVM2R.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -21,7 +21,7 @@ import {
21
21
  RETAINED_PIPELINE_RECEIVERS_HEADER,
22
22
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
23
23
  resolveConfig
24
- } from "./chunk-FGHRRJ3D.mjs";
24
+ } from "./chunk-VZSVYNZH.mjs";
25
25
  import {
26
26
  DeeplineError,
27
27
  TOOL_EXECUTION_ERROR_SCHEMA_HEADER,