deepline 0.3.401 → 0.3.403

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 (118) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +14 -2
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +7 -2
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +3 -1
  5. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +2 -1
  6. package/dist/cli/{auth-4AWRW6ED.mjs → auth-AHF355KV.mjs} +4 -4
  7. package/dist/cli/auth-O7A7JS2M.js +40 -0
  8. package/dist/cli/{billing-FPHECIIS.js → billing-5L5X2OAC.js} +73 -73
  9. package/dist/cli/{billing-AMQDNFSL.mjs → billing-LSZECOCV.mjs} +4 -4
  10. package/dist/cli/{chunk-WSKN3U4U.js → chunk-4BWZA57I.js} +6 -6
  11. package/dist/cli/{chunk-LD7WUOAZ.js → chunk-57GMG2DV.js} +26 -26
  12. package/dist/cli/{chunk-M3R2BG3A.js → chunk-5SGQF4QF.js} +8 -8
  13. package/dist/cli/{chunk-3HWALOL2.mjs → chunk-6BJK4EJ3.mjs} +1 -1
  14. package/dist/cli/{chunk-5QD6F5TW.js → chunk-77FZLY5L.js} +1 -1
  15. package/dist/cli/{chunk-TPA6R5EF.mjs → chunk-B4Y2CZKS.mjs} +2 -2
  16. package/dist/cli/{chunk-X6WLVELL.mjs → chunk-BYBRENKM.mjs} +1 -1
  17. package/dist/cli/{chunk-YHZUZO3U.mjs → chunk-BZAMOCPA.mjs} +1 -1
  18. package/dist/cli/{chunk-C7JATIE5.mjs → chunk-C27DGNII.mjs} +1 -1
  19. package/dist/cli/{chunk-YJZM6SMA.mjs → chunk-CC3QT7Q5.mjs} +2 -2
  20. package/dist/cli/{chunk-3HU47EGZ.mjs → chunk-CLJGSOVM.mjs} +2 -1
  21. package/dist/cli/{chunk-OIODIUIC.js → chunk-DJSPH5T2.js} +6 -6
  22. package/dist/cli/{chunk-7DRPTGCK.js → chunk-FERRDNMO.js} +4 -4
  23. package/dist/cli/{chunk-D5KFELCC.js → chunk-FQL75GML.js} +8 -8
  24. package/dist/cli/{chunk-ZKV52IDD.mjs → chunk-GJECLPJP.mjs} +4 -4
  25. package/dist/cli/{chunk-RMW6SXGP.mjs → chunk-HPEIY4UR.mjs} +3 -3
  26. package/dist/cli/{chunk-RFG3MRAC.js → chunk-ILHRA7AD.js} +5 -5
  27. package/dist/cli/{chunk-SXGVRWAW.js → chunk-J3OZIYU4.js} +15 -15
  28. package/dist/cli/{chunk-R2S7OCRB.mjs → chunk-JHNYOTWR.mjs} +1 -1
  29. package/dist/cli/{chunk-72ESQ66A.js → chunk-JZ7TJL7G.js} +2 -2
  30. package/dist/cli/{chunk-MSOOPRSP.mjs → chunk-KTBMDDEQ.mjs} +3 -3
  31. package/dist/cli/{chunk-RWVQQ7O4.js → chunk-MJ4OWXFM.js} +207 -207
  32. package/dist/cli/{chunk-BXRIA6OQ.mjs → chunk-MQWZYCQJ.mjs} +2 -2
  33. package/dist/cli/{chunk-HFYQBC2D.mjs → chunk-PMVFAYL7.mjs} +1 -1
  34. package/dist/cli/{chunk-H4QOCJNY.mjs → chunk-QN55SQYI.mjs} +7 -7
  35. package/dist/cli/{chunk-YGHWGZMF.mjs → chunk-RXVJYS76.mjs} +1 -1
  36. package/dist/cli/{chunk-MH73HMPV.js → chunk-SEFMGO3Z.js} +3 -3
  37. package/dist/cli/{chunk-GDKUYYCJ.js → chunk-SGPGIC3M.js} +50 -50
  38. package/dist/cli/{chunk-BHEJDACQ.js → chunk-V4PLPRWQ.js} +4 -4
  39. package/dist/cli/{chunk-JDA2E5MQ.mjs → chunk-VNO3VAJT.mjs} +1 -1
  40. package/dist/cli/{chunk-S56LMBGA.js → chunk-VYDYDELF.js} +65 -65
  41. package/dist/cli/{chunk-KB4SDX5S.js → chunk-Z4VNJOF7.js} +2 -1
  42. package/dist/cli/{csv-ARB6UC2S.js → csv-IO2BKRNX.js} +12 -12
  43. package/dist/cli/{csv-FICXQQRA.mjs → csv-J6ZPUWE4.mjs} +3 -3
  44. package/dist/cli/{db-OG5PJUEH.mjs → db-QICV6JWY.mjs} +4 -4
  45. package/dist/cli/{db-HFQAZHLR.js → db-ZVRBVSPU.js} +25 -25
  46. package/dist/cli/{describe-HSHMULQM.js → describe-WX6VWGH6.js} +15 -15
  47. package/dist/cli/{describe-OU3J552L.mjs → describe-YA35XS55.mjs} +9 -9
  48. package/dist/cli/describe-core.d.mts +2 -2
  49. package/dist/cli/describe-core.d.ts +2 -2
  50. package/dist/cli/describe-core.js +4 -4
  51. package/dist/cli/describe-core.mjs +3 -3
  52. package/dist/cli/{executions-6JBC2LEV.mjs → executions-X3PDLFKO.mjs} +4 -4
  53. package/dist/cli/{executions-74BX6WTW.js → executions-YQAUBJLS.js} +6 -6
  54. package/dist/cli/{feedback-DQMLYSYA.mjs → feedback-HSERSHDV.mjs} +3 -3
  55. package/dist/cli/{feedback-QVDE26VJ.js → feedback-M2WMOY5B.js} +7 -7
  56. package/dist/cli/{git-CLGBVWOE.mjs → git-3JMX455D.mjs} +4 -4
  57. package/dist/cli/git-IUDHAE5O.js +24 -0
  58. package/dist/cli/index.js +89 -89
  59. package/dist/cli/index.mjs +32 -32
  60. package/dist/cli/{legacy-noops-3WGVVY3K.js → legacy-noops-EMUCJ5KW.js} +7 -7
  61. package/dist/cli/{legacy-noops-WRSE7SQJ.mjs → legacy-noops-OKC6VDD3.mjs} +4 -4
  62. package/dist/cli/{monitors-GY4VQLAC.js → monitors-M6DU2JXC.js} +84 -84
  63. package/dist/cli/{monitors-ZKFTF7YR.mjs → monitors-RH3FIA63.mjs} +4 -4
  64. package/dist/cli/{org-TYO2HXYG.js → org-BZDZO32O.js} +64 -64
  65. package/dist/cli/{org-D3PC2XSX.mjs → org-KK3C5J6E.mjs} +4 -4
  66. package/dist/cli/{play-3OQWZXXS.mjs → play-QXBNDI6C.mjs} +9 -9
  67. package/dist/cli/{play-ZVHBPWSF.js → play-ZKYHO2KC.js} +249 -249
  68. package/dist/cli/{providers-FFGKI5TY.mjs → providers-JRN5FNXI.mjs} +4 -4
  69. package/dist/cli/{providers-PGMUOSED.js → providers-VCT7HFYW.js} +7 -7
  70. package/dist/cli/{quickstart-PSA6H2J4.js → quickstart-X2IC2U6U.js} +5 -5
  71. package/dist/cli/{quickstart-JCOPUMOG.mjs → quickstart-Y33XAQDY.mjs} +3 -3
  72. package/dist/cli/search-7257KVSQ.js +30 -0
  73. package/dist/cli/{search-UBDRYRKV.mjs → search-R443WBN7.mjs} +5 -5
  74. package/dist/cli/{secrets-KERFAL3Q.mjs → secrets-EUKR5NG2.mjs} +4 -4
  75. package/dist/cli/{secrets-35D7PHB6.js → secrets-U6V4M7R3.js} +13 -13
  76. package/dist/cli/{sessions-FDQFQHRN.js → sessions-IPKYJT4M.js} +5 -5
  77. package/dist/cli/{sessions-O2Z2KW6M.mjs → sessions-RZVHJSVB.mjs} +4 -4
  78. package/dist/cli/{settings-4ZS7FR2D.mjs → settings-FKU7KJ24.mjs} +7 -7
  79. package/dist/cli/{settings-4FANCMJK.js → settings-W4YFY5JJ.js} +74 -74
  80. package/dist/cli/{setup-M2PE4H6S.mjs → setup-6WIECL4V.mjs} +6 -6
  81. package/dist/cli/{setup-DO7JN6D5.js → setup-BEIN6536.js} +41 -41
  82. package/dist/cli/skills-A7ATFQEL.js +29 -0
  83. package/dist/cli/{skills-TQBVDZRT.mjs → skills-CV72BOP7.mjs} +4 -4
  84. package/dist/cli/tools-2ADAYBNB.js +39 -0
  85. package/dist/cli/{tools-WNRMVURQ.mjs → tools-2SH4RIFD.mjs} +8 -8
  86. package/dist/cli/update-AUYYCJUT.js +29 -0
  87. package/dist/cli/{update-3MF6MZJC.mjs → update-YTR4JUPG.mjs} +6 -6
  88. package/dist/cli/{workflow-EK3HMPGH.js → workflow-446CNNRV.js} +15 -15
  89. package/dist/cli/{workflow-UJB633SZ.mjs → workflow-BBSL2QKK.mjs} +5 -5
  90. package/dist/{client-D0j-_aaa.d.mts → client-Buv1_ktG.d.mts} +4 -2
  91. package/dist/{client-DflfVyj6.d.ts → client-Db1jFLpF.d.ts} +4 -2
  92. package/dist/{compiler-manifest-DLxUY5kI.d.ts → compiler-manifest-N77W75Py.d.mts} +10 -6
  93. package/dist/{compiler-manifest-DLxUY5kI.d.mts → compiler-manifest-N77W75Py.d.ts} +10 -6
  94. package/dist/{index-SCb0NvDb.d.mts → index-3WOfyVhW.d.mts} +1 -1
  95. package/dist/{index-B_GM9E3q.d.ts → index-CtIJFTCl.d.ts} +1 -1
  96. package/dist/index.d.mts +5 -5
  97. package/dist/index.d.ts +5 -5
  98. package/dist/index.js +7 -7
  99. package/dist/index.mjs +4 -4
  100. package/dist/install-integrity.json +84 -84
  101. package/dist/plays/bundle-play-file.d.mts +3 -3
  102. package/dist/plays/bundle-play-file.d.ts +3 -3
  103. package/dist/plays/bundle-play-file.mjs +2 -2
  104. package/dist/plays/play-description.d.mts +2 -2
  105. package/dist/plays/play-description.d.ts +2 -2
  106. package/dist/plays/run-request.d.mts +2 -2
  107. package/dist/plays/run-request.d.ts +2 -2
  108. package/dist/release.d.mts +1 -1
  109. package/dist/release.d.ts +1 -1
  110. package/dist/release.js +2 -2
  111. package/dist/release.mjs +1 -1
  112. package/package.json +1 -1
  113. package/dist/cli/auth-K6U65ROB.js +0 -40
  114. package/dist/cli/git-62XASBWF.js +0 -24
  115. package/dist/cli/search-OLW7VOVW.js +0 -30
  116. package/dist/cli/skills-OLGAL6KZ.js +0 -29
  117. package/dist/cli/tools-3NNIOEWK.js +0 -39
  118. package/dist/cli/update-6CWJ56OJ.js +0 -29
@@ -1,17 +1,17 @@
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 _chunk72ESQ66Ajs = require('./chunk-72ESQ66A.js');
4
+ var _chunkJZ7TJL7Gjs = require('./chunk-JZ7TJL7G.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkS56LMBGAjs = require('./chunk-S56LMBGA.js');
8
+ var _chunkVYDYDELFjs = require('./chunk-VYDYDELF.js');
9
9
 
10
10
 
11
- var _chunkWSKN3U4Ujs = require('./chunk-WSKN3U4U.js');
11
+ var _chunk4BWZA57Ijs = require('./chunk-4BWZA57I.js');
12
12
 
13
13
 
14
- var _chunkBHEJDACQjs = require('./chunk-BHEJDACQ.js');
14
+ var _chunkV4PLPRWQjs = require('./chunk-V4PLPRWQ.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -489,7 +489,7 @@ function normalizedNpmPrefix(value) {
489
489
  }
490
490
  function resolveNpmGlobalPrefix(env) {
491
491
  try {
492
- const plan = _chunkS56LMBGAjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
492
+ const plan = _chunkVYDYDELFjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
493
493
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
494
494
  encoding: "utf8",
495
495
  env,
@@ -545,8 +545,8 @@ function resolveUpdatePlan(options = {}) {
545
545
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
546
546
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
547
547
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
548
- const npmVersion = options.npmVersion === void 0 ? _chunk72ESQ66Ajs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
- const npmGlobalInstallFlags = _chunk72ESQ66Ajs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
548
+ const npmVersion = options.npmVersion === void 0 ? _chunkJZ7TJL7Gjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
+ const npmGlobalInstallFlags = _chunkJZ7TJL7Gjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
550
550
  const args = installPrefix ? [
551
551
  "install",
552
552
  "-g",
@@ -556,7 +556,7 @@ function resolveUpdatePlan(options = {}) {
556
556
  packageSpec
557
557
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
558
558
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
559
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkBHEJDACQjs.autoDetectBaseUrl.call(void 0, )
559
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkV4PLPRWQjs.autoDetectBaseUrl.call(void 0, )
560
560
  );
561
561
  return {
562
562
  kind: "npm-global",
@@ -703,7 +703,7 @@ function sidecarInstallFailure(versionDir) {
703
703
  function runCommand(command, args, env = process.env) {
704
704
  return new Promise((resolveResult) => {
705
705
  let output = "";
706
- const plan = _chunkS56LMBGAjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
706
+ const plan = _chunkVYDYDELFjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
707
707
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
708
708
  stdio: ["inherit", "pipe", "pipe"],
709
709
  shell: plan.shell,
@@ -1079,14 +1079,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1079
1079
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1080
1080
  }
1081
1081
  async function runUpdateCommand(options, dependencies = {}) {
1082
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkBHEJDACQjs.autoDetectBaseUrl));
1082
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkV4PLPRWQjs.autoDetectBaseUrl));
1083
1083
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1084
1084
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1085
1085
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1086
1086
  const originalWrite = process.stdout.write.bind(process.stdout);
1087
1087
  process.stdout.write = (() => true);
1088
1088
  try {
1089
- const exitCode = await _chunkS56LMBGAjs.runSkillsCommand.call(void 0, { json: true });
1089
+ const exitCode = await _chunkVYDYDELFjs.runSkillsCommand.call(void 0, { json: true });
1090
1090
  if (exitCode !== 0) {
1091
1091
  throw new Error(
1092
1092
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1157,11 +1157,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1157
1157
  ]
1158
1158
  };
1159
1159
  if (options.json && !options.executeWithJson) {
1160
- _chunkWSKN3U4Ujs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1160
+ _chunk4BWZA57Ijs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1161
1161
  return 0;
1162
1162
  }
1163
1163
  if (options.printCommand) {
1164
- _chunkWSKN3U4Ujs.printCommandEnvelope.call(void 0,
1164
+ _chunk4BWZA57Ijs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  ...plan,
1167
1167
  render: {
@@ -1174,7 +1174,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1174
1174
  return 0;
1175
1175
  }
1176
1176
  if (plan.kind === "source" || plan.kind === "homebrew") {
1177
- _chunkWSKN3U4Ujs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1177
+ _chunk4BWZA57Ijs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1178
1178
  return 0;
1179
1179
  }
1180
1180
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1204,7 +1204,7 @@ To retry with full installer output, run: deepline skills
1204
1204
  );
1205
1205
  }
1206
1206
  if (options.executeWithJson && options.json) {
1207
- _chunkWSKN3U4Ujs.printCommandEnvelope.call(void 0,
1207
+ _chunk4BWZA57Ijs.printCommandEnvelope.call(void 0,
1208
1208
  {
1209
1209
  ok: true,
1210
1210
  pinnedVersion
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.401",
52
+ version: "0.3.403",
53
53
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1,
@@ -1,6 +1,6 @@
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 _chunkS56LMBGAjs = require('./chunk-S56LMBGA.js');
3
+ var _chunkVYDYDELFjs = require('./chunk-VYDYDELF.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkS56LMBGAjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkVYDYDELFjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-C7JATIE5.mjs";
6
+ } from "./chunk-C27DGNII.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-JDA2E5MQ.mjs";
10
+ } from "./chunk-VNO3VAJT.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-X6WLVELL.mjs";
14
+ } from "./chunk-BYBRENKM.mjs";
15
15
 
16
16
  // src/cli/commands/search.ts
17
17
  import { Option } from "commander";