deepline 0.3.374 → 0.3.376

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 (99) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +56 -4
  3. package/dist/cli/auth-BTFXJQLT.js +35 -0
  4. package/dist/cli/{auth-YGCDA4WG.mjs → auth-MLCDUTJY.mjs} +6 -4
  5. package/dist/cli/{billing-ZXRKPD5D.js → billing-IONI4V7P.js} +73 -73
  6. package/dist/cli/{billing-3ZLR3CJU.mjs → billing-OUGNDBL4.mjs} +4 -4
  7. package/dist/cli/{chunk-TZTGK5JQ.js → chunk-34KUUN3Z.js} +52 -51
  8. package/dist/cli/{chunk-MOBOAZMA.js → chunk-47X6MQ7J.js} +60 -60
  9. package/dist/cli/{chunk-O7KJYX7R.js → chunk-4V2Q3JO6.js} +15 -15
  10. package/dist/cli/{chunk-JSK6GUY6.js → chunk-4WINCNNH.js} +13 -9
  11. package/dist/cli/{chunk-T35LCTC7.js → chunk-5HDB7XXT.js} +235 -235
  12. package/dist/cli/{chunk-62IBVKWB.mjs → chunk-5HJHTZI6.mjs} +1 -1
  13. package/dist/cli/{chunk-RT5ICJ5V.js → chunk-6EYTKUDI.js} +2 -2
  14. package/dist/cli/{chunk-IZVGMVNX.mjs → chunk-7LX2G2PU.mjs} +1 -1
  15. package/dist/cli/{chunk-NOSIMGZV.js → chunk-7ZZSGV4A.js} +1 -1
  16. package/dist/cli/{chunk-YPVTQRUM.js → chunk-A6ZTYKYF.js} +33 -7
  17. package/dist/cli/{chunk-HC5L6KGE.js → chunk-ETUV6RRK.js} +1495 -1495
  18. package/dist/cli/{chunk-46JCJ7FT.mjs → chunk-FWF24ULX.mjs} +13 -9
  19. package/dist/cli/{chunk-GT6KGIWV.mjs → chunk-GMRWUGXB.mjs} +3 -3
  20. package/dist/cli/{chunk-A62HBMHY.mjs → chunk-H7SLESX6.mjs} +1467 -1467
  21. package/dist/cli/{chunk-VZSVYNZH.mjs → chunk-HDB4GAWY.mjs} +12 -12
  22. package/dist/cli/{chunk-RXR7A2MX.js → chunk-KHZ6WEVF.js} +26 -26
  23. package/dist/cli/{chunk-OS7GXARW.mjs → chunk-L6OSOKS6.mjs} +7 -7
  24. package/dist/cli/{chunk-NNYQ24O5.mjs → chunk-MHRDXS7J.mjs} +1 -1
  25. package/dist/cli/{chunk-JK547IDB.js → chunk-N6KIEYZV.js} +15 -15
  26. package/dist/cli/{chunk-3XKAOV74.js → chunk-QSH5CHRI.js} +6 -6
  27. package/dist/cli/{chunk-OYTPVM2R.mjs → chunk-SPZNLE2D.mjs} +2 -2
  28. package/dist/cli/{chunk-2DAWTVNN.mjs → chunk-UABI2T3Z.mjs} +2 -2
  29. package/dist/cli/{chunk-E6BZWURC.mjs → chunk-UE2UHYT3.mjs} +33 -7
  30. package/dist/cli/{chunk-MQ5UW5AZ.mjs → chunk-V7ZREPSD.mjs} +4 -4
  31. package/dist/cli/{chunk-SBB27CIJ.mjs → chunk-VL5ERG22.mjs} +2 -2
  32. package/dist/cli/{chunk-FT6O2ZVJ.mjs → chunk-VNBAOWN3.mjs} +13 -32
  33. package/dist/cli/{chunk-PCYCNZLR.js → chunk-Y4MXBE3V.js} +8 -8
  34. package/dist/cli/{chunk-X5V2QTDR.js → chunk-Y5W5IIA4.js} +65 -84
  35. package/dist/cli/{chunk-YFFH6NDU.mjs → chunk-YXQ7SRL3.mjs} +3 -2
  36. package/dist/cli/{chunk-53PZA4EP.js → chunk-ZXFGA2VK.js} +8 -8
  37. package/dist/cli/command-docs.js +2 -2
  38. package/dist/cli/command-docs.mjs +1 -1
  39. package/dist/cli/{csv-WSRTANXI.js → csv-LPC7BGZ2.js} +12 -12
  40. package/dist/cli/{csv-VEHHRUG4.mjs → csv-NITSP7QJ.mjs} +3 -3
  41. package/dist/cli/{db-BH25DX2G.mjs → db-JVDYEXNC.mjs} +4 -4
  42. package/dist/cli/{db-JXZNMFCE.js → db-WGD54UKM.js} +29 -29
  43. package/dist/cli/{describe-N2OBGVJM.js → describe-GA7LSJRY.js} +144 -34
  44. package/dist/cli/{describe-TMBECHTX.mjs → describe-SVMLA6SN.mjs} +130 -20
  45. package/dist/cli/{executions-Y4HQHYSO.mjs → executions-CXBJDGMU.mjs} +4 -4
  46. package/dist/cli/{executions-TX5CQF66.js → executions-P47HEI4N.js} +6 -6
  47. package/dist/cli/{feedback-W7SRXYSP.mjs → feedback-34OSXUQ2.mjs} +3 -3
  48. package/dist/cli/{feedback-ASEJ5A7I.js → feedback-GWKWE5CU.js} +7 -7
  49. package/dist/cli/git-MIPISCON.js +23 -0
  50. package/dist/cli/{git-2W7CZZRC.mjs → git-YAROF6D3.mjs} +4 -4
  51. package/dist/cli/index.js +106 -91
  52. package/dist/cli/index.mjs +63 -48
  53. package/dist/cli/{legacy-noops-TXMPY3P7.mjs → legacy-noops-2G55OKIU.mjs} +4 -4
  54. package/dist/cli/{legacy-noops-NJYAAGBY.js → legacy-noops-MDZQL3QH.js} +7 -7
  55. package/dist/cli/{monitors-G4L65QGQ.mjs → monitors-KUGKMABN.mjs} +4 -4
  56. package/dist/cli/{monitors-YLKTQ57D.js → monitors-X7QYWFSP.js} +85 -85
  57. package/dist/cli/{org-ENXO2A33.js → org-6XL3IBT2.js} +64 -64
  58. package/dist/cli/{org-BCHOWKIA.mjs → org-CNBBAN4W.mjs} +4 -4
  59. package/dist/cli/{play-JBY7HUYN.mjs → play-33ZMPAR5.mjs} +8 -8
  60. package/dist/cli/play-3CM3P2DS.js +155 -0
  61. package/dist/cli/{providers-JV2DZG43.mjs → providers-3OSQNFPE.mjs} +4 -4
  62. package/dist/cli/{providers-GWFX3E7C.js → providers-5POAURDT.js} +7 -7
  63. package/dist/cli/{quickstart-CASPK7F4.js → quickstart-LQGPDJTS.js} +5 -5
  64. package/dist/cli/{quickstart-AIXURXZQ.mjs → quickstart-QICTOOW6.mjs} +3 -3
  65. package/dist/cli/search-A2YLJ4I5.js +26 -0
  66. package/dist/cli/{search-DYQB7LHK.mjs → search-HBIX4SF4.mjs} +5 -5
  67. package/dist/cli/{secrets-RQZPIPO5.mjs → secrets-6MRGZPHT.mjs} +4 -4
  68. package/dist/cli/{secrets-AZQG2E4U.js → secrets-QKPBNQ3E.js} +13 -13
  69. package/dist/cli/{sessions-3FJJDMBB.mjs → sessions-NODY2OW4.mjs} +4 -4
  70. package/dist/cli/{sessions-ZY6RBYD4.js → sessions-NP7BLZD2.js} +5 -5
  71. package/dist/cli/{settings-GXKWNR5V.js → settings-42QHXUB2.js} +74 -74
  72. package/dist/cli/{settings-UNZDQGSE.mjs → settings-JCEIOTNL.mjs} +7 -7
  73. package/dist/cli/{setup-PIRXJ2KJ.mjs → setup-3QR4RGMG.mjs} +6 -6
  74. package/dist/cli/{setup-UURZD4YO.js → setup-5XXWP54Y.js} +41 -41
  75. package/dist/cli/skills-4JJEAA66.js +28 -0
  76. package/dist/cli/{skills-B4AQEIAF.mjs → skills-U4OMXLNS.mjs} +4 -4
  77. package/dist/cli/{tools-UMGQKUSW.mjs → tools-45OROEZQ.mjs} +7 -7
  78. package/dist/cli/tools-FDCFSA7W.js +40 -0
  79. package/dist/cli/{update-SFUTMEKL.mjs → update-2XCRMJ4R.mjs} +6 -6
  80. package/dist/cli/update-VYL4TXIE.js +28 -0
  81. package/dist/cli/{workflow-CDAJCMT7.js → workflow-47P4LQNC.js} +15 -15
  82. package/dist/cli/{workflow-ON6XVW36.mjs → workflow-7X3GCOPY.mjs} +5 -5
  83. package/dist/index.js +8 -8
  84. package/dist/index.mjs +7 -7
  85. package/dist/install-integrity.json +76 -78
  86. package/dist/release.d.mts +1 -1
  87. package/dist/release.d.ts +1 -1
  88. package/dist/release.js +2 -2
  89. package/dist/release.mjs +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/auth-IFXXXZP6.js +0 -33
  92. package/dist/cli/client-O6IEMURJ.js +0 -20
  93. package/dist/cli/client-TV254HC4.mjs +0 -20
  94. package/dist/cli/git-SSSOIQ2L.js +0 -23
  95. package/dist/cli/play-SSJ3PO4D.js +0 -155
  96. package/dist/cli/search-N7K6A2YV.js +0 -26
  97. package/dist/cli/skills-4OUZLKTW.js +0 -28
  98. package/dist/cli/tools-MIZS5UN6.js +0 -40
  99. package/dist/cli/update-3CO7LA4M.js +0 -28
@@ -1,11 +1,10 @@
1
1
  import {
2
2
  addDescribeOptions,
3
- byokLines,
4
3
  rateLimitSummary,
5
4
  recordApiResponse,
6
5
  schemaField,
7
6
  schemaFields
8
- } from "./chunk-E6BZWURC.mjs";
7
+ } from "./chunk-UE2UHYT3.mjs";
9
8
  import {
10
9
  shellQuote
11
10
  } from "./chunk-OVDNJAJN.mjs";
@@ -14,7 +13,7 @@ import {
14
13
  observedMaxText,
15
14
  recentSearchRef,
16
15
  registerDeprecatedSearchCommand
17
- } from "./chunk-GT6KGIWV.mjs";
16
+ } from "./chunk-GMRWUGXB.mjs";
18
17
  import {
19
18
  DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS,
20
19
  EMAIL_STATUS_JSON_SCHEMA,
@@ -33,7 +32,7 @@ import {
33
32
  import {
34
33
  DeeplineClient,
35
34
  validateExecutionIdempotencyKey
36
- } from "./chunk-A62HBMHY.mjs";
35
+ } from "./chunk-H7SLESX6.mjs";
37
36
  import {
38
37
  beginToolExecuteCommand,
39
38
  getToolExecuteInvocationId,
@@ -47,11 +46,11 @@ import {
47
46
  printJsonError,
48
47
  renderCommandEnvelopeText,
49
48
  shouldEmitJson
50
- } from "./chunk-NNYQ24O5.mjs";
49
+ } from "./chunk-MHRDXS7J.mjs";
51
50
  import {
52
51
  resolveConfig,
53
52
  sdkCliStateDirPath
54
- } from "./chunk-VZSVYNZH.mjs";
53
+ } from "./chunk-HDB4GAWY.mjs";
55
54
  import {
56
55
  DeeplineError
57
56
  } from "./chunk-NXGCO4JB.mjs";
@@ -954,7 +953,6 @@ var TOOL_ONLY_VIEWS = [
954
953
  "pricingOnly",
955
954
  "examplesOnly",
956
955
  "gettersOnly",
957
- "byok",
958
956
  "model",
959
957
  "estimatePayload"
960
958
  ];
@@ -1066,7 +1064,7 @@ Examples:
1066
1064
  deepline tools describe hunter_email_verifier
1067
1065
  deepline tools describe hunter_email_verifier --pricing-only
1068
1066
  deepline tools describe hunter_email_verifier --examples-only
1069
- deepline tools describe hunter_email_verifier --byok
1067
+ deepline describe hunter_email_verifier --feature byok
1070
1068
  deepline tools describe deeplineagent --model openai/gpt-5.6-luna
1071
1069
  deepline tools describe ai_inference --estimate-payload @payload.json
1072
1070
  deepline tools describe ai_evaluate --estimate-payload @payload.json
@@ -1081,10 +1079,7 @@ Examples:
1081
1079
  ).option("--pricing-only", "Only print pricing and billing semantics").option(
1082
1080
  "--examples-only",
1083
1081
  "Only print input payload and full Deepline execution response examples"
1084
- ).option("--getters-only", "Only print extracted list/value getters").option(
1085
- "--byok",
1086
- "Only print whether you can use your own provider credentials, and how to connect them"
1087
- ).addOption(
1082
+ ).option("--getters-only", "Only print extracted list/value getters").addOption(
1088
1083
  new Option(
1089
1084
  "--compact",
1090
1085
  "Compatibility alias for the default compact view"
@@ -1107,7 +1102,6 @@ Examples:
1107
1102
  schemaOnly: Boolean(options.schemaOnly),
1108
1103
  examplesOnly: Boolean(options.examplesOnly),
1109
1104
  gettersOnly: Boolean(options.gettersOnly),
1110
- byok: Boolean(options.byok),
1111
1105
  model: typeof options.model === "string" ? options.model : void 0,
1112
1106
  estimatePayload: typeof options.estimatePayload === "string" ? options.estimatePayload : void 0
1113
1107
  },
@@ -1118,7 +1112,7 @@ Examples:
1118
1112
  process.exitCode = await narrowView();
1119
1113
  return;
1120
1114
  }
1121
- const { describeAnything } = await import("./describe-TMBECHTX.mjs");
1115
+ const { describeAnything } = await import("./describe-SVMLA6SN.mjs");
1122
1116
  process.exitCode = await describeAnything(
1123
1117
  toolId,
1124
1118
  {
@@ -1135,7 +1129,7 @@ Examples:
1135
1129
  addToolMetadataCommand(
1136
1130
  addDescribeOptions(
1137
1131
  tools.command("describe <toolId>", { hidden: true }).alias("get"),
1138
- { json: false, byok: false }
1132
+ { json: false }
1139
1133
  )
1140
1134
  );
1141
1135
  tools.command("execute <toolId>").alias("call").description("Execute a tool by id.").addHelpText(
@@ -1246,28 +1240,14 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1246
1240
  options.pricingOnly,
1247
1241
  options.schemaOnly,
1248
1242
  options.examplesOnly,
1249
- options.gettersOnly,
1250
- options.byok
1243
+ options.gettersOnly
1251
1244
  ].filter(Boolean).length;
1252
1245
  if (onlyModes > 1) {
1253
1246
  console.error(
1254
- "Use only one of --pricing-only, --schema-only, --examples-only, --getters-only, or --byok."
1247
+ "Use only one of --pricing-only, --schema-only, --examples-only, or --getters-only."
1255
1248
  );
1256
1249
  return 2;
1257
1250
  }
1258
- if (options.byok) {
1259
- const resolvedToolId = String(tool.toolId || toolId);
1260
- const byok = recordField(tool, "byok");
1261
- printCommandEnvelope(
1262
- { toolId: resolvedToolId, byok },
1263
- {
1264
- json: Boolean(options.json || options.contractJson),
1265
- text: `${[resolvedToolId, ...byokLines(byok)].join("\n")}
1266
- `
1267
- }
1268
- );
1269
- return 0;
1270
- }
1271
1251
  if (options.pricingOnly) {
1272
1252
  const lines = toolPricingOnlyLines(tool, toolId);
1273
1253
  if (inferenceQuote)
@@ -2157,7 +2137,7 @@ function toolMetadataJsonForDescribe(tool, requestedToolId) {
2157
2137
  deepline_usd_per_credit: _snakeDeeplineUsdPerCredit,
2158
2138
  deepline_pricing_summary: _snakeDeeplinePricingSummary,
2159
2139
  deepline_pricing_details: _snakeDeeplinePricingDetails,
2160
- // BYOK is shown only on request, via --byok.
2140
+ // BYOK is shown only on request, via describe --feature byok.
2161
2141
  byok: _byok,
2162
2142
  ...publicTool
2163
2143
  } = tool;
@@ -3327,6 +3307,7 @@ inspect: ${inspection.inspect}
3327
3307
  }
3328
3308
 
3329
3309
  export {
3310
+ formatModelDescription,
3330
3311
  isMonitorTypeTool,
3331
3312
  registerToolsCommands,
3332
3313
  toolContractJsonForDescribe,
@@ -1,10 +1,10 @@
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
3
 
4
- var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
4
+ var _chunkQSH5CHRIjs = require('./chunk-QSH5CHRI.js');
5
5
 
6
6
 
7
- var _chunkJK547IDBjs = require('./chunk-JK547IDB.js');
7
+ var _chunkN6KIEYZVjs = require('./chunk-N6KIEYZV.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkJK547IDBjs.agentSessionIdFromEnvironment.call(void 0, );
142
+ const sessionId = _chunkN6KIEYZVjs.agentSessionIdFromEnvironment.call(void 0, );
143
143
  const cwd = process.cwd();
144
144
  return _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(newestFirst.find((candidate) => candidate.sessionId === sessionId), () => ( newestFirst.find(
145
145
  (candidate) => sessionStartedInDirectory(candidate, cwd)
@@ -448,7 +448,7 @@ function buildSessionUploadContent(raw) {
448
448
  return { encodedContent: encoded, needsChunking: true };
449
449
  }
450
450
  async function uploadPayload(path, payload) {
451
- const { http } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
451
+ const { http } = _chunkQSH5CHRIjs.getAuthedHttpClient.call(void 0, );
452
452
  return await http.post(path, payload);
453
453
  }
454
454
  async function uploadChunkedSessions(sessions, options) {
@@ -481,7 +481,7 @@ async function uploadChunkedSessions(sessions, options) {
481
481
  ...options.rating ? { rating: options.rating } : {}
482
482
  });
483
483
  const sessionIds = sessions.map((session) => session.sessionId);
484
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
484
+ _chunkQSH5CHRIjs.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response,
487
487
  ok: true,
@@ -513,7 +513,7 @@ async function handleSessionsSend(options) {
513
513
  filename: _path.basename.call(void 0, filePath),
514
514
  ...rating ? { rating } : {}
515
515
  });
516
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
516
+ _chunkQSH5CHRIjs.printCommandEnvelope.call(void 0,
517
517
  {
518
518
  ...response2,
519
519
  ok: true,
@@ -563,7 +563,7 @@ async function handleSessionsSend(options) {
563
563
  ...rating ? { rating } : {}
564
564
  });
565
565
  const sessionIds = built.map((session) => session.sessionId);
566
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
566
+ _chunkQSH5CHRIjs.printCommandEnvelope.call(void 0,
567
567
  {
568
568
  ...response,
569
569
  ok: true,
@@ -671,7 +671,7 @@ ${refreshMeta}
671
671
  </body>
672
672
  </html>`;
673
673
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
674
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
674
+ _chunkQSH5CHRIjs.printCommandEnvelope.call(void 0,
675
675
  {
676
676
  ok: true,
677
677
  file: outputPath,