deepline 0.3.493 → 0.3.494

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 (155) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +2 -2
  2. package/dist/bundling-sources/sdk/src/types.ts +5 -4
  3. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +15 -0
  4. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +101 -3
  5. package/dist/cli/{auth-3NAY3AST.mjs → auth-6X5YXMFN.mjs} +5 -5
  6. package/dist/cli/auth-RWLCLMDY.js +43 -0
  7. package/dist/cli/{billing-FSB4BBBO.js → billing-5F5PZB77.js} +79 -79
  8. package/dist/cli/{billing-SBWQCC7B.mjs → billing-IN74SDSC.mjs} +6 -6
  9. package/dist/cli/{chunk-3RGWTKK3.mjs → chunk-2GEYN3H4.mjs} +89 -3
  10. package/dist/cli/{chunk-MLEUOTEQ.js → chunk-3KVFOKPR.js} +53 -53
  11. package/dist/cli/{chunk-IOBPR2VO.js → chunk-4A5WXQJK.js} +16 -16
  12. package/dist/cli/{chunk-NALJJTPS.mjs → chunk-4RWH4LRQ.mjs} +5 -5
  13. package/dist/cli/{chunk-UCMY2SO2.js → chunk-4ZKZS43N.js} +3 -3
  14. package/dist/cli/{chunk-IJOHWGPF.js → chunk-5WYH2LAP.js} +6 -6
  15. package/dist/cli/{chunk-2BRTYIAH.mjs → chunk-65NMOP4T.mjs} +3 -3
  16. package/dist/cli/{chunk-VFHIYWMC.mjs → chunk-6DMLWM7L.mjs} +2 -2
  17. package/dist/cli/{chunk-3QGUWB6E.mjs → chunk-6XZR2642.mjs} +8 -7
  18. package/dist/cli/{chunk-XQX476QK.js → chunk-7B7A36XZ.js} +9 -9
  19. package/dist/cli/{chunk-DWJ4RXSA.js → chunk-AARXOBVD.js} +1 -0
  20. package/dist/cli/{chunk-ZVW7EWTC.mjs → chunk-BLHQRETG.mjs} +184 -184
  21. package/dist/cli/{chunk-NPZBE64X.js → chunk-BLMB4N63.js} +89 -3
  22. package/dist/cli/{chunk-LGTZYI5B.js → chunk-BNI653WN.js} +21 -21
  23. package/dist/cli/{chunk-2H4OFVR5.js → chunk-BU5Y7HOD.js} +5 -5
  24. package/dist/cli/{chunk-KGDDQMI7.mjs → chunk-C5R3UH5V.mjs} +28 -1
  25. package/dist/cli/{chunk-NPNAEPY4.js → chunk-CAWOSHEC.js} +26 -26
  26. package/dist/cli/{chunk-HTUSTPP4.js → chunk-CK5MA6S6.js} +7 -7
  27. package/dist/cli/{chunk-EBAS3UT2.mjs → chunk-DKKAJ3U2.mjs} +5 -5
  28. package/dist/cli/{chunk-4IJFQV3O.mjs → chunk-EG3OSUBO.mjs} +1 -1
  29. package/dist/cli/{chunk-TNQOR6XQ.mjs → chunk-FAT6CUZK.mjs} +1 -1
  30. package/dist/cli/{chunk-TIFRRLZT.js → chunk-GBICEYUA.js} +6 -6
  31. package/dist/cli/{chunk-XLE7KXE7.js → chunk-GDNQXLBM.js} +2 -2
  32. package/dist/cli/{chunk-AWMCZAUR.js → chunk-GLDBMKTV.js} +3 -3
  33. package/dist/cli/{chunk-GSC35TPZ.mjs → chunk-GNSGDIA4.mjs} +2 -2
  34. package/dist/cli/{chunk-7HABWOMB.js → chunk-GSCCDGGT.js} +259 -259
  35. package/dist/cli/{chunk-IRDYBMA7.mjs → chunk-H46X7YDU.mjs} +1 -0
  36. package/dist/cli/{chunk-NWIDPT7H.js → chunk-HINVMRGQ.js} +4 -4
  37. package/dist/cli/{chunk-C2MRDPA5.js → chunk-I42EOZKQ.js} +32 -5
  38. package/dist/cli/{chunk-HLM2UFQ5.mjs → chunk-IPWYDANJ.mjs} +1 -1
  39. package/dist/cli/{chunk-5DIZ2G74.mjs → chunk-IZJSX3SZ.mjs} +2 -2
  40. package/dist/cli/{chunk-WTFI7BVH.mjs → chunk-J2HOVZOE.mjs} +1 -1
  41. package/dist/cli/{chunk-IOMEJKGK.js → chunk-J3UHNUWI.js} +2 -2
  42. package/dist/cli/{chunk-4NIGNT7X.mjs → chunk-KR2XEI5T.mjs} +1 -1
  43. package/dist/cli/{chunk-5WOPBX3H.mjs → chunk-KSHAFYYG.mjs} +1 -1
  44. package/dist/cli/{chunk-DYP27IWC.mjs → chunk-KVCQL6SP.mjs} +4 -4
  45. package/dist/cli/{chunk-SXD2EYAH.mjs → chunk-L2P2XRPO.mjs} +37 -5
  46. package/dist/cli/{chunk-67ZG7XZV.mjs → chunk-L4QPBQUX.mjs} +2 -2
  47. package/dist/cli/{chunk-QTPS5RLG.js → chunk-L6KA4ENU.js} +45 -13
  48. package/dist/cli/{chunk-ZQH4TXM2.mjs → chunk-L6L57RSG.mjs} +2 -2
  49. package/dist/cli/{chunk-Y3NN2UAF.mjs → chunk-MWZNMWR2.mjs} +2 -2
  50. package/dist/cli/{chunk-2IHGVAGT.mjs → chunk-ODWTFVE4.mjs} +2 -2
  51. package/dist/cli/{chunk-KKSKYZO4.mjs → chunk-QOEI42IU.mjs} +2 -2
  52. package/dist/cli/{chunk-WCZFCOMZ.js → chunk-QSRWBOPV.js} +11 -10
  53. package/dist/cli/{chunk-E5ILCMKQ.mjs → chunk-RPFNIMUO.mjs} +1 -1
  54. package/dist/cli/{chunk-EFO5GVYS.js → chunk-S3XQH7DW.js} +2 -2
  55. package/dist/cli/{chunk-IJJ6D5WL.mjs → chunk-TLQXN4ZZ.mjs} +11 -11
  56. package/dist/cli/{chunk-KCDZWS2B.js → chunk-USWLB4KV.js} +231 -231
  57. package/dist/cli/{chunk-2NGIBJM2.js → chunk-VMPM2FKT.js} +8 -8
  58. package/dist/cli/{chunk-ZVXB7OU7.mjs → chunk-WCZBIE5L.mjs} +1 -1
  59. package/dist/cli/{chunk-EYG336YV.js → chunk-WP45PUPW.js} +41 -41
  60. package/dist/cli/{chunk-AGTXL6LZ.js → chunk-X6HIIHQO.js} +5 -5
  61. package/dist/cli/{chunk-JO2JZUBR.js → chunk-Y4GRL533.js} +3 -3
  62. package/dist/cli/{chunk-2I7VN65H.js → chunk-ZZD245Z2.js} +7 -7
  63. package/dist/cli/command-docs.js +2 -2
  64. package/dist/cli/command-docs.mjs +1 -1
  65. package/dist/cli/{csv-DKYZE2KM.js → csv-QD7JJGSP.js} +13 -13
  66. package/dist/cli/{csv-XR22YQXT.mjs → csv-UBW4ID5D.mjs} +4 -4
  67. package/dist/cli/{db-RNYRTCMV.js → db-AARR3WYD.js} +27 -27
  68. package/dist/cli/{db-EOKG36YN.mjs → db-QFDXKIVD.mjs} +6 -6
  69. package/dist/cli/{describe-ICFXOQBW.mjs → describe-OBVIAC2H.mjs} +20 -20
  70. package/dist/cli/describe-RYJ6HDYD.js +50 -0
  71. package/dist/cli/describe-core.d.mts +5 -11
  72. package/dist/cli/describe-core.d.ts +5 -11
  73. package/dist/cli/describe-core.js +4 -4
  74. package/dist/cli/describe-core.mjs +3 -3
  75. package/dist/cli/{executions-3RAOACNS.mjs → executions-IZYUDYTZ.mjs} +6 -6
  76. package/dist/cli/{executions-OBWPSWH7.js → executions-KXY7KMZY.js} +8 -8
  77. package/dist/cli/{feedback-6GPEUBLF.js → feedback-3334HBPD.js} +8 -8
  78. package/dist/cli/{feedback-6EQRVBKF.mjs → feedback-IVCVBERN.mjs} +4 -4
  79. package/dist/cli/git-4VLYFHNU.js +25 -0
  80. package/dist/cli/{git-CVQ24DTR.mjs → git-JHNVET5A.mjs} +5 -5
  81. package/dist/cli/index.js +141 -141
  82. package/dist/cli/index.mjs +41 -41
  83. package/dist/cli/{legacy-noops-XPOATG5V.js → legacy-noops-DBA32JCV.js} +8 -8
  84. package/dist/cli/{legacy-noops-QULJZYNH.mjs → legacy-noops-WGVBUOCC.mjs} +5 -5
  85. package/dist/cli/{monitors-OJ4CMREE.js → monitors-GHWZ5AZS.js} +91 -91
  86. package/dist/cli/{monitors-AFT5YJPZ.mjs → monitors-ZGANC7JY.mjs} +7 -7
  87. package/dist/cli/{org-WHKNXANG.mjs → org-CUS42N2T.mjs} +6 -6
  88. package/dist/cli/{org-RKT52CSL.js → org-S7JWP264.js} +72 -72
  89. package/dist/cli/{pages-EEAQFGVD.mjs → pages-IH56T6L6.mjs} +6 -6
  90. package/dist/cli/{pages-SOE3R667.js → pages-QXRZDEJW.js} +17 -17
  91. package/dist/cli/{play-OTJJ4E4T.js → play-4C5PYS62.js} +314 -314
  92. package/dist/cli/{play-LXFWHUBP.mjs → play-Z65ZFOQH.mjs} +17 -17
  93. package/dist/cli/{providers-U3CPKTMM.mjs → providers-FSZSJX4Z.mjs} +6 -6
  94. package/dist/cli/{providers-RU4HIAT3.js → providers-XYQGYF3O.js} +9 -9
  95. package/dist/cli/{quickstart-75AO2AJC.mjs → quickstart-DHWVE32I.mjs} +4 -4
  96. package/dist/cli/{quickstart-N72IVA2Y.js → quickstart-ZA25RJT3.js} +6 -6
  97. package/dist/cli/{run-MMYES3IW.js → run-5MP6LEHM.js} +40 -40
  98. package/dist/cli/{run-IGWFL6WH.mjs → run-WRPPEPLG.mjs} +25 -25
  99. package/dist/cli/search-4SQFVNTB.js +32 -0
  100. package/dist/cli/{search-FIYESBLZ.mjs → search-A6NVJPKX.mjs} +7 -7
  101. package/dist/cli/{search-output-3I5KSW36.mjs → search-output-PAOUMVXY.mjs} +4 -4
  102. package/dist/cli/{search-output-2FXN4ZWD.js → search-output-YA6TXWGO.js} +6 -6
  103. package/dist/cli/{secrets-HCZQ6JNP.js → secrets-AZYOGH3I.js} +15 -15
  104. package/dist/cli/{secrets-O7IUQ3VT.mjs → secrets-ZGF7JOBI.mjs} +6 -6
  105. package/dist/cli/{sessions-5AYTT4IW.js → sessions-GCIN5VXT.js} +6 -6
  106. package/dist/cli/{sessions-KY7A3EZO.mjs → sessions-RNEAXZPV.mjs} +5 -5
  107. package/dist/cli/{settings-P4VFYWJK.js → settings-LMEZNLBB.js} +78 -78
  108. package/dist/cli/{settings-WSMRR2GS.mjs → settings-NO5KXQJF.mjs} +11 -11
  109. package/dist/cli/{setup-YTVKVQC7.mjs → setup-GCYB4IFS.mjs} +9 -9
  110. package/dist/cli/{setup-J7CA3EJL.js → setup-XKTZPYYH.js} +49 -49
  111. package/dist/cli/{skills-W5WY764N.mjs → skills-TY4HHIKH.mjs} +7 -7
  112. package/dist/cli/skills-V4APQA2I.js +36 -0
  113. package/dist/cli/tools-HKQLQ7HT.js +57 -0
  114. package/dist/cli/{tools-YECI6N3N.mjs → tools-RDTHHYJ3.mjs} +18 -18
  115. package/dist/cli/{update-BIFBIEII.mjs → update-BRLLTTCS.mjs} +9 -9
  116. package/dist/cli/update-Z4MUAHWM.js +34 -0
  117. package/dist/cli/{workflow-XZVDNARC.mjs → workflow-F72EVZWM.mjs} +7 -7
  118. package/dist/cli/{workflow-D2TUFFH6.js → workflow-YHA4WE3K.js} +17 -17
  119. package/dist/{client-BDB_VbE4.d.ts → client-97yTcdLl.d.ts} +1 -1
  120. package/dist/{client-CNzJ1LTF.d.mts → client-CFo9qalW.d.mts} +1 -1
  121. package/dist/{client-core-xEa9x3pl.d.ts → client-core-BRZrY13B.d.ts} +5 -5
  122. package/dist/{client-core-CSv3DlPD.d.mts → client-core-Dl6xgfLq.d.mts} +5 -5
  123. package/dist/{compiler-manifest-BFTwq1HI.d.ts → compiler-manifest-CPEF48NM.d.mts} +91 -0
  124. package/dist/{compiler-manifest-BFTwq1HI.d.mts → compiler-manifest-CPEF48NM.d.ts} +91 -0
  125. package/dist/{errors-c3pMsylw.d.ts → errors-B-PJXveg.d.ts} +1 -1
  126. package/dist/{errors-w31ybrQM.d.mts → errors-BWbPzqwo.d.mts} +1 -1
  127. package/dist/{index-DvNtxucX.d.mts → index-BJ8AA1F9.d.mts} +1 -1
  128. package/dist/{index-CQ-15-QL.d.ts → index-CvVxPpE8.d.ts} +1 -1
  129. package/dist/index.d.mts +7 -7
  130. package/dist/index.d.ts +7 -7
  131. package/dist/index.js +26 -18
  132. package/dist/index.mjs +15 -7
  133. package/dist/install-integrity.json +116 -116
  134. package/dist/plays/bundle-play-file.d.mts +3 -3
  135. package/dist/plays/bundle-play-file.d.ts +3 -3
  136. package/dist/plays/play-description.d.mts +2 -2
  137. package/dist/plays/play-description.d.ts +2 -2
  138. package/dist/plays/run-request.d.mts +2 -2
  139. package/dist/plays/run-request.d.ts +2 -2
  140. package/dist/release.d.mts +2 -2
  141. package/dist/release.d.ts +2 -2
  142. package/dist/release.js +2 -2
  143. package/dist/release.mjs +1 -1
  144. package/dist/server.d.mts +4 -4
  145. package/dist/server.d.ts +4 -4
  146. package/dist/server.js +5 -5
  147. package/dist/server.mjs +3 -3
  148. package/package.json +1 -1
  149. package/dist/cli/auth-KYQLDI6V.js +0 -43
  150. package/dist/cli/describe-RS75I33X.js +0 -50
  151. package/dist/cli/git-DEFE4SSB.js +0 -25
  152. package/dist/cli/search-EQURI7SZ.js +0 -32
  153. package/dist/cli/skills-KKPEGLAR.js +0 -36
  154. package/dist/cli/tools-65Y4QTW6.js +0 -57
  155. package/dist/cli/update-WDG7VFOW.js +0 -34
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
205
205
  // getters keep their established compatibility behavior.
206
206
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
207
207
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
208
- version: '0.3.493',
208
+ version: '0.3.494',
209
209
  updateSummary: {
210
210
  introducedIn: '0.3.90',
211
211
  summary:
@@ -260,7 +260,7 @@ export const SDK_RELEASE = {
260
260
  command: 'search',
261
261
  introducedIn: '0.3.287',
262
262
  reason:
263
- 'deepline search was added in SDK CLI 0.3.287 as the one search across tools, monitors, and plays. On an older version run deepline tools search or deepline plays search, or update.',
263
+ 'deepline search was added in SDK CLI 0.3.287 as the one search across tools, monitors, plays, and docs. On an older version run deepline tools search or deepline plays search, or update.',
264
264
  },
265
265
  {
266
266
  command: 'notifications',
@@ -571,7 +571,8 @@ export type SearchType =
571
571
  | 'plays'
572
572
  | 'monitors'
573
573
  | 'prebuilts'
574
- | 'custom';
574
+ | 'custom'
575
+ | 'docs';
575
576
 
576
577
  /** Options for {@link DeeplineClient.search}. */
577
578
  export interface SearchOptions extends ToolSearchOptions {
@@ -583,15 +584,15 @@ export interface SearchOptions extends ToolSearchOptions {
583
584
 
584
585
  /** One ranked search result; `kind` says which fields accompany it. */
585
586
  export interface SearchResultItem {
586
- /** Tool id for tools and monitor types, or play reference. */
587
+ /** Tool id for tools and monitor types, play reference, or `docs/<path>`. */
587
588
  id: string;
588
- kind: 'tool' | 'monitor_type' | 'prebuilt_play' | 'custom_play';
589
+ kind: 'tool' | 'monitor_type' | 'prebuilt_play' | 'custom_play' | 'doc';
589
590
  displayName?: string;
590
591
  description?: string;
591
592
  [field: string]: unknown;
592
593
  }
593
594
 
594
- /** Ranked results across tools, monitor types, and plays. */
595
+ /** Ranked results across tools, monitor types, plays, and docs. */
595
596
  export interface SearchResult extends Omit<
596
597
  ToolSearchResult,
597
598
  'tools' | 'omitted_plays_hint' | 'commandTemplates'
@@ -1153,10 +1153,25 @@ function applyExtractorTransforms(
1153
1153
  if (transform === 'jobChange') return normalizeJobChange(current);
1154
1154
  if (transform === 'jobChangeStatus')
1155
1155
  return normalizeJobChangeStatus(current);
1156
+ if (transform === 'linkedin.profileUrl') return linkedinUrl(current, 'in');
1157
+ if (transform === 'linkedin.companyUrl')
1158
+ return linkedinUrl(current, 'company');
1156
1159
  return current;
1157
1160
  }, value);
1158
1161
  }
1159
1162
 
1163
+ /**
1164
+ * A LinkedIn URL from a URL or the identifier at its end (`ada-lovelace`, a
1165
+ * numeric company id). Anything else is left as it is.
1166
+ */
1167
+ function linkedinUrl(value: unknown, kind: 'in' | 'company'): unknown {
1168
+ if (typeof value !== 'string') return value;
1169
+ const trimmed = value.trim();
1170
+ return /^[A-Za-z0-9%_-]+$/.test(trimmed)
1171
+ ? `https://www.linkedin.com/${kind}/${trimmed}`
1172
+ : value;
1173
+ }
1174
+
1160
1175
  function coerceToEnum(
1161
1176
  value: unknown,
1162
1177
  descriptor: ToolResultExtractorDescriptor,
@@ -44,6 +44,23 @@ type Group = {
44
44
  };
45
45
 
46
46
  const value = (description: string): Leaf => ({ type: 'string', description });
47
+ const count = (description: string): Leaf => ({ type: 'number', description });
48
+ const date = (description: string): Leaf => ({
49
+ type: 'string',
50
+ description: `${description} An ISO 8601 date.`,
51
+ });
52
+
53
+ // Where something is. Without a kind, a location in some form.
54
+ const LOCATION: Group = {
55
+ description: 'Where it is. Without a kind, a location in some form.',
56
+ leaves: { value: value('The location.') },
57
+ kinds: {
58
+ country: 'The country.',
59
+ region: 'The state, province or region.',
60
+ city: 'The city.',
61
+ address: 'The full street address.',
62
+ },
63
+ };
47
64
 
48
65
  const SOURCE: Leaf = {
49
66
  type: 'string',
@@ -73,6 +90,11 @@ export const FIELD_CATALOG = {
73
90
  type: 'EmailStatus',
74
91
  description: 'The validation verdict and its signals.',
75
92
  },
93
+ available: {
94
+ type: 'boolean',
95
+ description:
96
+ 'Whether the provider has an address it could reveal, without the address itself.',
97
+ },
76
98
  source: SOURCE,
77
99
  },
78
100
  kinds: {
@@ -92,6 +114,11 @@ export const FIELD_CATALOG = {
92
114
  type: '"valid" | "invalid" | "unknown"',
93
115
  description: 'The validation verdict.',
94
116
  },
117
+ available: {
118
+ type: 'boolean',
119
+ description:
120
+ 'Whether the provider has a number it could reveal, without the number itself.',
121
+ },
95
122
  line_type: value('Mobile, landline, VoIP and so on.'),
96
123
  carrier: value('The carrier serving the number.'),
97
124
  source: SOURCE,
@@ -130,8 +157,16 @@ export const FIELD_CATALOG = {
130
157
  type: 'JobChangeStatus',
131
158
  description: 'The job-change verdict alone.',
132
159
  },
160
+ seniority: value('How senior the role is, such as director or VP.'),
161
+ department: value('The department or function, such as sales.'),
162
+ started_at: date('When they started the role.'),
133
163
  },
134
164
  },
165
+ location: LOCATION,
166
+ skills: {
167
+ description: 'Skills the person lists. Usually several: read `.values`.',
168
+ leaves: { value: value('One skill.') },
169
+ },
135
170
  record: {
136
171
  description: "A provider's own record of the person.",
137
172
  leaves: { id: value("The provider's id for the person.") },
@@ -153,7 +188,10 @@ export const FIELD_CATALOG = {
153
188
  },
154
189
  linkedin: {
155
190
  description: "The company's LinkedIn page.",
156
- leaves: { url: value('The page URL.') },
191
+ leaves: {
192
+ url: value('The page URL.'),
193
+ id: value("LinkedIn's numeric id or public identifier for the page."),
194
+ },
157
195
  },
158
196
  phone: {
159
197
  description: 'A phone number for the company.',
@@ -163,6 +201,42 @@ export const FIELD_CATALOG = {
163
201
  description: 'The industry the company is in.',
164
202
  leaves: { value: value('The industry.') },
165
203
  },
204
+ description: {
205
+ description: "What the company does, in its own or a provider's words.",
206
+ leaves: { value: value('The description.') },
207
+ },
208
+ location: LOCATION,
209
+ headcount: {
210
+ description:
211
+ 'How many people work there. Without a kind, a count in some form.',
212
+ leaves: { value: value('The headcount.') },
213
+ kinds: {
214
+ exact: 'A single number of employees.',
215
+ range: 'A range such as 51-200.',
216
+ },
217
+ },
218
+ funding: {
219
+ description: 'Money the company has raised.',
220
+ groups: {
221
+ total: {
222
+ description: 'Everything raised to date.',
223
+ leaves: { value: count('The total, in US dollars.') },
224
+ },
225
+ last_round: {
226
+ description: 'The most recent funding round.',
227
+ leaves: {
228
+ type: value('The round type, such as Series A.'),
229
+ amount: count('The amount raised, in US dollars.'),
230
+ date: date('When it was announced.'),
231
+ },
232
+ },
233
+ },
234
+ },
235
+ technologies: {
236
+ description:
237
+ 'Technologies the company uses. Usually several: read `.values`.',
238
+ leaves: { value: value('One technology.') },
239
+ },
166
240
  record: {
167
241
  description: "A provider's own record of the company.",
168
242
  leaves: { id: value("The provider's id for the company.") },
@@ -171,11 +245,17 @@ export const FIELD_CATALOG = {
171
245
  job: {
172
246
  posting: {
173
247
  description: 'A job posting.',
248
+ leaves: { url: value("The posting's page.") },
174
249
  groups: {
175
250
  title: {
176
251
  description: "The posting's title. Not a person's job title.",
177
252
  leaves: { value: value('The title.') },
178
253
  },
254
+ location: LOCATION,
255
+ posted_at: {
256
+ description: 'When the posting was published.',
257
+ leaves: { value: date('The date.') },
258
+ },
179
259
  },
180
260
  },
181
261
  },
@@ -190,6 +270,10 @@ export const FIELD_CATALOG = {
190
270
  },
191
271
  },
192
272
  post: {
273
+ url: {
274
+ description: "A social or business post's own page.",
275
+ leaves: { value: value('The URL.') },
276
+ },
193
277
  title: {
194
278
  description: "A social or business post's title.",
195
279
  leaves: { value: value('The title.') },
@@ -209,6 +293,10 @@ export const FIELD_CATALOG = {
209
293
  description: "A web page's title.",
210
294
  leaves: { value: value('The title.') },
211
295
  },
296
+ url: {
297
+ description: "A web page's address, when it is not a known profile.",
298
+ leaves: { value: value('The URL.') },
299
+ },
212
300
  },
213
301
  // Some entity's value, when a tool cannot say whether it is a person's or a
214
302
  // company's. Each field here is answered by the same field of either.
@@ -397,12 +485,20 @@ export function fieldOfName(
397
485
  if (declared === undefined) {
398
486
  return meanings.length === 1 ? meanings[0] : undefined;
399
487
  }
488
+ // The tool's own word for an output says nothing by itself, so it is
489
+ // whatever field it declares.
490
+ if (!isSharedName(name)) return isFieldId(declared) ? declared : undefined;
400
491
  return isOtherThing(declared) ||
401
492
  meanings.some((meaning) => relatedFields(declared, meaning))
402
493
  ? declared
403
494
  : undefined;
404
495
  }
405
496
 
497
+ /** Whether `name` is one of the shared output names with catalog meanings. */
498
+ function isSharedName(name: string): boolean {
499
+ return Object.hasOwn(EXTRACTOR_TARGET_FIELDS, name);
500
+ }
501
+
406
502
  function nameMeanings(name: string): readonly string[] {
407
503
  return EXTRACTOR_TARGET_FIELDS[name as DeeplineExtractorTarget] ?? [];
408
504
  }
@@ -480,9 +576,11 @@ export function resolveFieldName(
480
576
  if (isFieldId(name)) return viaId(name);
481
577
  const own = bindings.find((binding) => binding.name === name);
482
578
  // `company_name` that is declared as a podcast's name is not a company name,
483
- // so it is read by its id, never by a name that says something else.
579
+ // so it is read by its id, never by a name that says something else. The
580
+ // tool's own word (`headcount`) means only what it declares.
484
581
  if (own) {
485
- return nameMeanings(name).some((id) => relatedFields(own.id, id))
582
+ return !isSharedName(name) ||
583
+ nameMeanings(name).some((id) => relatedFields(own.id, id))
486
584
  ? byId.get(own.id)
487
585
  : undefined;
488
586
  }
@@ -14,14 +14,14 @@ import {
14
14
  reportSetupCompleted,
15
15
  resolvePendingAuthClaimForResume,
16
16
  statusBannerLine
17
- } from "./chunk-2BRTYIAH.mjs";
18
- import "./chunk-VFHIYWMC.mjs";
19
- import "./chunk-4NIGNT7X.mjs";
20
- import "./chunk-TNQOR6XQ.mjs";
17
+ } from "./chunk-65NMOP4T.mjs";
18
+ import "./chunk-6DMLWM7L.mjs";
19
+ import "./chunk-KR2XEI5T.mjs";
20
+ import "./chunk-FAT6CUZK.mjs";
21
21
  import "./chunk-4QF2K7TM.mjs";
22
22
  import "./chunk-DLIRSHV6.mjs";
23
23
  import "./chunk-HBL4PM5Q.mjs";
24
- import "./chunk-KKSKYZO4.mjs";
24
+ import "./chunk-QOEI42IU.mjs";
25
25
  import "./chunk-WZYKRD7T.mjs";
26
26
  import "./chunk-KRD6H754.mjs";
27
27
  export {
@@ -0,0 +1,43 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunk3KVFOKPRjs = require('./chunk-3KVFOKPR.js');
18
+ require('./chunk-ZZD245Z2.js');
19
+ require('./chunk-Y4GRL533.js');
20
+ require('./chunk-HINVMRGQ.js');
21
+ require('./chunk-ALJJRZNJ.js');
22
+ require('./chunk-XNYIZMNQ.js');
23
+ require('./chunk-DIAWYWT5.js');
24
+ require('./chunk-S3XQH7DW.js');
25
+ require('./chunk-OG64RBAC.js');
26
+ require('./chunk-COGTRVWW.js');
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ exports.EXIT_WORKSPACE_MISMATCH = _chunk3KVFOKPRjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunk3KVFOKPRjs.authStatusLine; exports.clearPendingClaim = _chunk3KVFOKPRjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunk3KVFOKPRjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunk3KVFOKPRjs.handleRegister; exports.handleStatus = _chunk3KVFOKPRjs.handleStatus; exports.handleWait = _chunk3KVFOKPRjs.handleWait; exports.httpJson = _chunk3KVFOKPRjs.httpJson; exports.readPendingAuthClaim = _chunk3KVFOKPRjs.readPendingAuthClaim; exports.readStatusBanner = _chunk3KVFOKPRjs.readStatusBanner; exports.registerAuthCommands = _chunk3KVFOKPRjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunk3KVFOKPRjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunk3KVFOKPRjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunk3KVFOKPRjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunk3KVFOKPRjs.statusBannerLine;