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
@@ -276,6 +276,21 @@ function buildEmailStatus({
276
276
 
277
277
  // ../plays/field-catalog.ts
278
278
  var value = (description) => ({ type: "string", description });
279
+ var count = (description) => ({ type: "number", description });
280
+ var date = (description) => ({
281
+ type: "string",
282
+ description: `${description} An ISO 8601 date.`
283
+ });
284
+ var LOCATION = {
285
+ description: "Where it is. Without a kind, a location in some form.",
286
+ leaves: { value: value("The location.") },
287
+ kinds: {
288
+ country: "The country.",
289
+ region: "The state, province or region.",
290
+ city: "The city.",
291
+ address: "The full street address."
292
+ }
293
+ };
279
294
  var SOURCE = {
280
295
  type: "string",
281
296
  description: "The provider or step that found it."
@@ -303,6 +318,10 @@ var FIELD_CATALOG = {
303
318
  type: "EmailStatus",
304
319
  description: "The validation verdict and its signals."
305
320
  },
321
+ available: {
322
+ type: "boolean",
323
+ description: "Whether the provider has an address it could reveal, without the address itself."
324
+ },
306
325
  source: SOURCE
307
326
  },
308
327
  kinds: {
@@ -322,6 +341,10 @@ var FIELD_CATALOG = {
322
341
  type: '"valid" | "invalid" | "unknown"',
323
342
  description: "The validation verdict."
324
343
  },
344
+ available: {
345
+ type: "boolean",
346
+ description: "Whether the provider has a number it could reveal, without the number itself."
347
+ },
325
348
  line_type: value("Mobile, landline, VoIP and so on."),
326
349
  carrier: value("The carrier serving the number."),
327
350
  source: SOURCE
@@ -358,9 +381,17 @@ var FIELD_CATALOG = {
358
381
  change_status: {
359
382
  type: "JobChangeStatus",
360
383
  description: "The job-change verdict alone."
361
- }
384
+ },
385
+ seniority: value("How senior the role is, such as director or VP."),
386
+ department: value("The department or function, such as sales."),
387
+ started_at: date("When they started the role.")
362
388
  }
363
389
  },
390
+ location: LOCATION,
391
+ skills: {
392
+ description: "Skills the person lists. Usually several: read `.values`.",
393
+ leaves: { value: value("One skill.") }
394
+ },
364
395
  record: {
365
396
  description: "A provider's own record of the person.",
366
397
  leaves: { id: value("The provider's id for the person.") }
@@ -382,7 +413,10 @@ var FIELD_CATALOG = {
382
413
  },
383
414
  linkedin: {
384
415
  description: "The company's LinkedIn page.",
385
- leaves: { url: value("The page URL.") }
416
+ leaves: {
417
+ url: value("The page URL."),
418
+ id: value("LinkedIn's numeric id or public identifier for the page.")
419
+ }
386
420
  },
387
421
  phone: {
388
422
  description: "A phone number for the company.",
@@ -392,6 +426,40 @@ var FIELD_CATALOG = {
392
426
  description: "The industry the company is in.",
393
427
  leaves: { value: value("The industry.") }
394
428
  },
429
+ description: {
430
+ description: "What the company does, in its own or a provider's words.",
431
+ leaves: { value: value("The description.") }
432
+ },
433
+ location: LOCATION,
434
+ headcount: {
435
+ description: "How many people work there. Without a kind, a count in some form.",
436
+ leaves: { value: value("The headcount.") },
437
+ kinds: {
438
+ exact: "A single number of employees.",
439
+ range: "A range such as 51-200."
440
+ }
441
+ },
442
+ funding: {
443
+ description: "Money the company has raised.",
444
+ groups: {
445
+ total: {
446
+ description: "Everything raised to date.",
447
+ leaves: { value: count("The total, in US dollars.") }
448
+ },
449
+ last_round: {
450
+ description: "The most recent funding round.",
451
+ leaves: {
452
+ type: value("The round type, such as Series A."),
453
+ amount: count("The amount raised, in US dollars."),
454
+ date: date("When it was announced.")
455
+ }
456
+ }
457
+ }
458
+ },
459
+ technologies: {
460
+ description: "Technologies the company uses. Usually several: read `.values`.",
461
+ leaves: { value: value("One technology.") }
462
+ },
395
463
  record: {
396
464
  description: "A provider's own record of the company.",
397
465
  leaves: { id: value("The provider's id for the company.") }
@@ -400,10 +468,16 @@ var FIELD_CATALOG = {
400
468
  job: {
401
469
  posting: {
402
470
  description: "A job posting.",
471
+ leaves: { url: value("The posting's page.") },
403
472
  groups: {
404
473
  title: {
405
474
  description: "The posting's title. Not a person's job title.",
406
475
  leaves: { value: value("The title.") }
476
+ },
477
+ location: LOCATION,
478
+ posted_at: {
479
+ description: "When the posting was published.",
480
+ leaves: { value: date("The date.") }
407
481
  }
408
482
  }
409
483
  }
@@ -419,6 +493,10 @@ var FIELD_CATALOG = {
419
493
  }
420
494
  },
421
495
  post: {
496
+ url: {
497
+ description: "A social or business post's own page.",
498
+ leaves: { value: value("The URL.") }
499
+ },
422
500
  title: {
423
501
  description: "A social or business post's title.",
424
502
  leaves: { value: value("The title.") }
@@ -437,6 +515,10 @@ var FIELD_CATALOG = {
437
515
  title: {
438
516
  description: "A web page's title.",
439
517
  leaves: { value: value("The title.") }
518
+ },
519
+ url: {
520
+ description: "A web page's address, when it is not a known profile.",
521
+ leaves: { value: value("The URL.") }
440
522
  }
441
523
  },
442
524
  // Some entity's value, when a tool cannot say whether it is a person's or a
@@ -551,8 +633,12 @@ function fieldOfName(name, declared) {
551
633
  if (declared === void 0) {
552
634
  return meanings.length === 1 ? meanings[0] : void 0;
553
635
  }
636
+ if (!isSharedName(name)) return isFieldId(declared) ? declared : void 0;
554
637
  return isOtherThing(declared) || meanings.some((meaning) => relatedFields(declared, meaning)) ? declared : void 0;
555
638
  }
639
+ function isSharedName(name) {
640
+ return Object.hasOwn(EXTRACTOR_TARGET_FIELDS, name);
641
+ }
556
642
  function nameMeanings(name) {
557
643
  return _nullishCoalesce(EXTRACTOR_TARGET_FIELDS[name], () => ( []));
558
644
  }
@@ -590,7 +676,7 @@ function resolveFieldName(name, bindings, outputs = []) {
590
676
  if (isFieldId(name)) return viaId(name);
591
677
  const own = bindings.find((binding) => binding.name === name);
592
678
  if (own) {
593
- return nameMeanings(name).some((id) => relatedFields(own.id, id)) ? byId.get(own.id) : void 0;
679
+ return !isSharedName(name) || nameMeanings(name).some((id) => relatedFields(own.id, id)) ? byId.get(own.id) : void 0;
594
680
  }
595
681
  if (outputs.includes(name)) return void 0;
596
682
  const found = nameMeanings(name).flatMap((id) => {
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkIOBPR2VOjs = require('./chunk-IOBPR2VO.js');
7
+ var _chunk4A5WXQJKjs = require('./chunk-4A5WXQJK.js');
8
8
 
9
9
 
10
- var _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
10
+ var _chunkUSWLB4KVjs = require('./chunk-USWLB4KV.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
14
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
15
15
 
16
16
 
17
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
17
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
18
18
 
19
19
 
20
- var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
20
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkJO2JZUBRjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkY4GRL533js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkNWIDPT7Hjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunkHINVMRGQjs.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkNWIDPT7Hjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkNWIDPT7Hjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunkHINVMRGQjs.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunkHINVMRGQjs.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkNWIDPT7Hjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkHINVMRGQjs.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkIOBPR2VOjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkKCDZWS2Bjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk4A5WXQJKjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkUSWLB4KVjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkNWIDPT7Hjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkHINVMRGQjs.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkIOBPR2VOjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunk4A5WXQJKjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkNWIDPT7Hjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkHINVMRGQjs.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkIOBPR2VOjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunk4A5WXQJKjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkIOBPR2VOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunk4A5WXQJKjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunk2I7VN65Hjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkZZD245Z2js.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunk2I7VN65Hjs.addJsonNotice.call(void 0, {
171
+ _chunkZZD245Z2js.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkIOBPR2VOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunk4A5WXQJKjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkIOBPR2VOjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunk4A5WXQJKjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunk2I7VN65Hjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkZZD245Z2js.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
3
+ var _chunkCK5MA6S6js = require('./chunk-CK5MA6S6.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
7
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkHTUSTPP4js.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkCK5MA6S6js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkJO2JZUBRjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkY4GRL533js.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkY4GRL533js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-5WOPBX3H.mjs";
6
+ } from "./chunk-KSHAFYYG.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,
@@ -82,6 +82,13 @@ async function describeFeature(tool, feature, value, dependencies) {
82
82
  }
83
83
 
84
84
  // src/cli/describe-core.ts
85
+ var DOCS_URL = "https://deepline.com/docs";
86
+ var SKILLS_URL = "https://code.deepline.com/.well-known/skills";
87
+ function docUrl(path) {
88
+ if (!path.startsWith("skills/")) return `${DOCS_URL}/${path}`;
89
+ const skillPath = path.slice("skills/".length);
90
+ return skillPath.includes("/") ? `${SKILLS_URL}/${skillPath}.md` : `${SKILLS_URL}/${skillPath}/SKILL.md`;
91
+ }
85
92
  var FILTER_OF = {
86
93
  tool: "tools",
87
94
  monitor_type: "monitors",
@@ -102,6 +109,16 @@ async function found(lookup) {
102
109
  function describeLookupsFor(client) {
103
110
  return {
104
111
  play: (reference) => found(client.describePlay(reference)),
112
+ doc: async (url) => {
113
+ const markdownUrl = url.endsWith(".md") ? url : `${url}.md`;
114
+ const response = await fetch(markdownUrl);
115
+ if (response.status === 404) return null;
116
+ if (!response.ok)
117
+ throw new Error(
118
+ `Could not read ${markdownUrl}: HTTP ${response.status}`
119
+ );
120
+ return response.text();
121
+ },
105
122
  tool: (name) => found(client.getTool(name)),
106
123
  describeModel: (model) => client.describeModel(model),
107
124
  baseUrl: client.baseUrl
@@ -168,6 +185,16 @@ async function findNamed(reference, options, lookups) {
168
185
  return { chosen, shadowed };
169
186
  }
170
187
  async function describeName(name, options, lookups) {
188
+ if (name.startsWith("docs/") && !options.kinds) {
189
+ const url = docUrl(name.slice("docs/".length));
190
+ const markdown = await lookups.doc(url);
191
+ if (markdown === null) return { status: "missing" };
192
+ return {
193
+ status: "described",
194
+ envelope: { kind: "doc", id: name, url, markdown },
195
+ lines: [`${name} [doc]`, url, "", markdown]
196
+ };
197
+ }
171
198
  const { chosen, shadowed } = await findNamed(name, options, lookups);
172
199
  if (!chosen) return { status: "missing" };
173
200
  const { described, record } = chosen;
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
5
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
6
6
 
7
7
 
8
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
8
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
39
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
139
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
153
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
200
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
227
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
254
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
269
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkJO2JZUBRjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkY4GRL533js.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunk2I7VN65Hjs.openInBrowser.call(void 0, connectUrl);
292
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkZZD245Z2js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
322
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
371
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
392
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
34
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunkNWIDPT7Hjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkHINVMRGQjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
1031
1031
  }
1032
1032
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1033
1033
  return {
1034
- [_chunkNWIDPT7Hjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunkNWIDPT7Hjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkHINVMRGQjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkHINVMRGQjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1036
1036
  };
1037
1037
  }
1038
1038
  function normalizeTestPolicyOverrides(value, source) {
@@ -1103,7 +1103,7 @@ var PlayClient = class {
1103
1103
  return _chunkPKV5CD3Wjs.startPlayRun.call(void 0,
1104
1104
  this.http,
1105
1105
  resolved.request,
1106
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkNWIDPT7Hjs.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkHINVMRGQjs.SDK_API_MAJOR) } : headers,
1107
1107
  options
1108
1108
  );
1109
1109
  }
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3200
3200
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3201
3201
  );
3202
3202
  }
3203
- return { [_chunkNWIDPT7Hjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkHINVMRGQjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3204
3204
  }
3205
3205
  function sleep(ms) {
3206
3206
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4001,7 +4001,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4001
4001
  );
4002
4002
  const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
4003
4003
  ...runtimeHeaders,
4004
- "X-Deepline-API-Major": String(_chunkNWIDPT7Hjs.SDK_API_MAJOR)
4004
+ "X-Deepline-API-Major": String(_chunkHINVMRGQjs.SDK_API_MAJOR)
4005
4005
  } : runtimeHeaders;
4006
4006
  const http = this.http;
4007
4007
  let submitted = false;
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-4IJFQV3O.mjs";
4
+ } from "./chunk-EG3OSUBO.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-DYP27IWC.mjs";
7
+ } from "./chunk-KVCQL6SP.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-ZVW7EWTC.mjs";
10
+ } from "./chunk-BLHQRETG.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-VFHIYWMC.mjs";
13
+ } from "./chunk-6DMLWM7L.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-4NIGNT7X.mjs";
16
+ } from "./chunk-KR2XEI5T.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-ZVW7EWTC.mjs";
3
+ } from "./chunk-BLHQRETG.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-KKSKYZO4.mjs";
19
+ } from "./chunk-QOEI42IU.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;