deepline 0.3.338 → 0.3.340

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 (98) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +20 -2
  3. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +20 -7
  4. package/dist/cli/{auth-MTF2TRBC.mjs → auth-AAHQCTJW.mjs} +4 -4
  5. package/dist/cli/auth-WDM5N7LQ.js +31 -0
  6. package/dist/cli/{billing-HXXPKDYV.mjs → billing-2X4SP44P.mjs} +4 -4
  7. package/dist/cli/{billing-OXEY6DAU.js → billing-SBU4F4VS.js} +71 -71
  8. package/dist/cli/{chunk-7WL23HDH.mjs → chunk-2IZ6RE5L.mjs} +1 -1
  9. package/dist/cli/{chunk-OTJMWSIK.mjs → chunk-6D77EBSR.mjs} +5 -5
  10. package/dist/cli/{chunk-FOODYFMR.js → chunk-6ONNP4XL.js} +1 -1
  11. package/dist/cli/{chunk-6CEPAFCE.mjs → chunk-77YWQTE6.mjs} +4 -4
  12. package/dist/cli/{chunk-BYIWZOSA.js → chunk-A4LUPRGL.js} +6 -6
  13. package/dist/cli/{chunk-FBU4A2ZE.mjs → chunk-AN3X5XIR.mjs} +2 -2
  14. package/dist/cli/{chunk-NUJIZBLA.js → chunk-AYAEVVB5.js} +4 -4
  15. package/dist/cli/{chunk-CVSUI4Z2.js → chunk-B2HJ2OFH.js} +48 -48
  16. package/dist/cli/{chunk-ID5OGCLU.mjs → chunk-DX37W6IS.mjs} +3 -3
  17. package/dist/cli/{chunk-XWTEOTGL.js → chunk-EQFYORNR.js} +26 -26
  18. package/dist/cli/{chunk-EV4QJE4J.mjs → chunk-IIOBMOMH.mjs} +18 -7
  19. package/dist/cli/{chunk-SSRGN56V.mjs → chunk-LR66EFVU.mjs} +1 -1
  20. package/dist/cli/{chunk-MIHJFRGP.mjs → chunk-M3KIBSVO.mjs} +2 -2
  21. package/dist/cli/{chunk-J47TX67H.mjs → chunk-N3X2DMF2.mjs} +1 -1
  22. package/dist/cli/{chunk-5OHHWYOV.js → chunk-NPPD5XT6.js} +45 -45
  23. package/dist/cli/{chunk-N3EOKUQV.mjs → chunk-OD7LIBSF.mjs} +2 -2
  24. package/dist/cli/{chunk-UQV5M6HN.js → chunk-OJVAVQLB.js} +18 -7
  25. package/dist/cli/{chunk-YMLGJ2B7.mjs → chunk-PLSVHYRC.mjs} +1 -1
  26. package/dist/cli/{chunk-NR5ILIKI.js → chunk-URO52CD6.js} +2 -2
  27. package/dist/cli/{chunk-HJEHCSFH.js → chunk-VLV2PVA2.js} +8 -8
  28. package/dist/cli/{chunk-CGVCELEC.mjs → chunk-VMEJLJJD.mjs} +1 -1
  29. package/dist/cli/{chunk-UVGGJ2CV.mjs → chunk-WDB7AIXJ.mjs} +59 -74
  30. package/dist/cli/{chunk-KLAWLBSP.js → chunk-X6A7PAR6.js} +60 -60
  31. package/dist/cli/{chunk-AHO5IXHM.js → chunk-XCB2WE4D.js} +15 -15
  32. package/dist/cli/{chunk-KRZDVQZH.js → chunk-YAYAOUH3.js} +8 -8
  33. package/dist/cli/{chunk-7EQ3WFD2.js → chunk-YLDIZ7A3.js} +9 -9
  34. package/dist/cli/{chunk-FYR7GGUF.js → chunk-YODUXBLR.js} +293 -308
  35. package/dist/cli/{chunk-NHTICK5G.mjs → chunk-YRDTRTU4.mjs} +2 -2
  36. package/dist/cli/client-2MTAJ6XW.js +20 -0
  37. package/dist/cli/{client-LXBODS53.mjs → client-LKEH3EYO.mjs} +3 -3
  38. package/dist/cli/{csv-3346Z7MA.mjs → csv-WDWQGVDN.mjs} +3 -3
  39. package/dist/cli/{csv-5UMO4TMZ.js → csv-ZQIEH4Q3.js} +12 -12
  40. package/dist/cli/{db-RBWIVEB3.js → db-CRQSATVK.js} +29 -29
  41. package/dist/cli/{db-HVAQDN7U.mjs → db-KKC6CT3W.mjs} +4 -4
  42. package/dist/cli/{describe-LAAOJYI2.js → describe-HGYOEBYE.js} +16 -16
  43. package/dist/cli/{describe-OKSZOU3V.mjs → describe-YEVXHHHH.mjs} +9 -9
  44. package/dist/cli/{executions-5WENZ6MO.js → executions-ISG5EEOO.js} +6 -6
  45. package/dist/cli/{executions-T56YNXAC.mjs → executions-MMNCPQNE.mjs} +4 -4
  46. package/dist/cli/{feedback-RU4EKJYX.mjs → feedback-3HNMWGJA.mjs} +3 -3
  47. package/dist/cli/{feedback-YZILULGJ.js → feedback-U5SC3CAL.js} +7 -7
  48. package/dist/cli/git-BULAJZKJ.js +23 -0
  49. package/dist/cli/{git-LX7NYWDT.mjs → git-REGKM36C.mjs} +4 -4
  50. package/dist/cli/index.js +79 -79
  51. package/dist/cli/index.mjs +31 -31
  52. package/dist/cli/{legacy-noops-K6W26TQA.js → legacy-noops-GTUAF7TM.js} +7 -7
  53. package/dist/cli/{legacy-noops-SN44IUWD.mjs → legacy-noops-KUIQG6VC.mjs} +4 -4
  54. package/dist/cli/{monitors-BQ5SXRDD.mjs → monitors-7IYKWVMJ.mjs} +4 -4
  55. package/dist/cli/{monitors-R4D7X7PL.js → monitors-V5RFXFO5.js} +85 -85
  56. package/dist/cli/{org-6GWQHHLF.js → org-77BRBYNS.js} +60 -60
  57. package/dist/cli/{org-RNR3CGVL.mjs → org-RSN7GZN4.mjs} +4 -4
  58. package/dist/cli/play-IKPMX4VZ.js +153 -0
  59. package/dist/cli/{play-CPG4HFXR.mjs → play-ZPWFRN3I.mjs} +8 -8
  60. package/dist/cli/{providers-AP5NBYJF.js → providers-2LD2BJUO.js} +7 -7
  61. package/dist/cli/{providers-YEFPQW3K.mjs → providers-TVELPXNI.mjs} +4 -4
  62. package/dist/cli/{quickstart-IT43KYUN.mjs → quickstart-7RUT33IL.mjs} +3 -3
  63. package/dist/cli/{quickstart-5D6WSPKU.js → quickstart-CYL2GNSK.js} +5 -5
  64. package/dist/cli/search-2ZFU42IA.js +26 -0
  65. package/dist/cli/{search-BVTZBNF3.mjs → search-GJURFP4W.mjs} +5 -5
  66. package/dist/cli/{secrets-L6Q2JJNX.js → secrets-KWBPK5GP.js} +13 -13
  67. package/dist/cli/{secrets-7HG77SLP.mjs → secrets-L5LNMMSB.mjs} +4 -4
  68. package/dist/cli/{sessions-TNXYON2R.js → sessions-5DWIUOGX.js} +5 -5
  69. package/dist/cli/{sessions-SSBDCVQN.mjs → sessions-5EAEXNJY.mjs} +4 -4
  70. package/dist/cli/{settings-4FKK3LUF.js → settings-KBPJL4KI.js} +74 -74
  71. package/dist/cli/{settings-5L23COY7.mjs → settings-OPD6MT4Q.mjs} +7 -7
  72. package/dist/cli/{setup-EB5JLUFH.js → setup-B5UDLN32.js} +41 -41
  73. package/dist/cli/{setup-GXXWJFRV.mjs → setup-GFHBMHWJ.mjs} +6 -6
  74. package/dist/cli/{skills-ETEFVVPT.mjs → skills-3245BDMO.mjs} +4 -4
  75. package/dist/cli/skills-I5MHLBGC.js +28 -0
  76. package/dist/cli/tools-QQVNDK7W.js +40 -0
  77. package/dist/cli/{tools-HDTU55RW.mjs → tools-ZKXMREZU.mjs} +6 -6
  78. package/dist/cli/update-6OCUCA4T.js +28 -0
  79. package/dist/cli/{update-FR5QUV5I.mjs → update-NBHQD6N6.mjs} +6 -6
  80. package/dist/cli/{workflow-BE77YVLP.mjs → workflow-5XYAE4BX.mjs} +5 -5
  81. package/dist/cli/{workflow-OFWWX4ZP.js → workflow-T3IWKJI2.js} +15 -15
  82. package/dist/index.js +6 -6
  83. package/dist/index.mjs +3 -3
  84. package/dist/install-integrity.json +76 -76
  85. package/dist/plays/bundle-play-file.mjs +1 -1
  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-LVTYDMEL.js +0 -31
  92. package/dist/cli/client-V4OIXTP6.js +0 -20
  93. package/dist/cli/git-XASJHFDR.js +0 -23
  94. package/dist/cli/play-2V2Y4P3P.js +0 -153
  95. package/dist/cli/search-O66KVPGA.js +0 -26
  96. package/dist/cli/skills-XFMWA4WX.js +0 -28
  97. package/dist/cli/tools-3TWNYKZY.js +0 -40
  98. package/dist/cli/update-AEBCM2LT.js +0 -28
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
200
200
  // getters keep their established compatibility behavior.
201
201
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
202
202
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
203
- version: '0.3.338',
203
+ version: '0.3.340',
204
204
  updateSummary:
205
205
  '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.',
206
206
  packageCapabilities: {
@@ -747,10 +747,10 @@
747
747
  "id": "convex.credit-blocked-automation-recovery",
748
748
  "name": "Credit-blocked automation recovery",
749
749
  "scheduler": "convex_scheduled_action",
750
- "cadence": "runAfter(0) after any positive balance movement; Monitor recovery only at the non-admitting-to-positive crossing",
750
+ "cadence": "runAfter(0) from the per-workspace notification worker when a queued balance change crosses a Play or Monitor admission threshold upward; Monitor recovery only at the non-admitting-to-positive crossing",
751
751
  "timezone": "UTC",
752
752
  "source": "packages/convex/scheduledJobsNode.ts",
753
- "locator": "recoverCreditBlockedAutomationsAfterCreditBalanceChange",
753
+ "locator": "reactToCreditBalanceChange",
754
754
  "owner": "billing",
755
755
  "criticality": "critical",
756
756
  "purpose": "Recover scheduled Plays and provider Monitors blocked by insufficient credits after a positive balance movement.",
@@ -761,6 +761,24 @@
761
761
  "failureAlert": "convex_action_wrapper",
762
762
  "domainReportRequired": true
763
763
  },
764
+ {
765
+ "id": "convex.credit-balance-auto-recharge-trigger",
766
+ "name": "Credit-balance automatic recharge trigger",
767
+ "scheduler": "convex_scheduled_action",
768
+ "cadence": "runAfter(0) from the per-workspace notification worker when a queued balance change crosses the workspace's enabled recharge threshold downward",
769
+ "timezone": "UTC",
770
+ "source": "packages/convex/scheduledJobsNode.ts",
771
+ "locator": "reactToCreditBalanceChange",
772
+ "owner": "billing",
773
+ "criticality": "critical",
774
+ "purpose": "Ask the app's capped recharge controller to evaluate one workspace as soon as its balance reaches the recharge threshold, instead of waiting for the autobill sweep.",
775
+ "successDefinition": "The controller returns a durable recharge status; above-threshold, disabled, pending and cap-limited outcomes are valid no-ops.",
776
+ "failureDefinition": "The app trigger is unreachable or returns a non-2xx response. The ten-minute autobill sweep remains the backstop.",
777
+ "startGraceMs": 120000,
778
+ "runTimeoutMs": 300000,
779
+ "failureAlert": "convex_action_wrapper",
780
+ "domainReportRequired": true
781
+ },
764
782
  {
765
783
  "id": "inngest.workflow-run-watchdog",
766
784
  "name": "Workflow run watchdog",
@@ -2101,6 +2101,7 @@ async function analyzeSourceGraph(
2101
2101
  const packages = new Map<string, string | null>();
2102
2102
  const importedPlayDependencies = new Map<string, ImportedPlayDependency>();
2103
2103
  const visited = new Set<string>();
2104
+ const importViolations: string[] = [];
2104
2105
 
2105
2106
  const visitFile = async (filePath: string) => {
2106
2107
  const absolutePath = await normalizeLocalPath(filePath);
@@ -2186,24 +2187,29 @@ async function analyzeSourceGraph(
2186
2187
  packages.set(packageImport.name, packageImport.version);
2187
2188
  };
2188
2189
 
2189
- try {
2190
- for (const reference of findSourceImportReferences(sourceCode)) {
2190
+ // Collect every import violation in the graph instead of stopping at the
2191
+ // first, so one check reports them all.
2192
+ for (const reference of findSourceImportReferences(sourceCode)) {
2193
+ try {
2191
2194
  await handleSpecifier(
2192
2195
  reference.specifier,
2193
2196
  reference.line,
2194
2197
  reference.column,
2195
2198
  reference.kind,
2196
2199
  );
2200
+ } catch (error) {
2201
+ const message = error instanceof Error ? error.message : String(error);
2202
+ importViolations.push(
2203
+ message.startsWith(':') ? `${absolutePath}${message}` : message,
2204
+ );
2197
2205
  }
2198
- } catch (error) {
2199
- if (error instanceof Error && error.message.startsWith(':')) {
2200
- throw new Error(`${absolutePath}${error.message}`);
2201
- }
2202
- throw error;
2203
2206
  }
2204
2207
  };
2205
2208
 
2206
2209
  await visitFile(absoluteEntryFile);
2210
+ if (importViolations.length > 0) {
2211
+ throw new AggregateError(importViolations, importViolations.join('\n'));
2212
+ }
2207
2213
 
2208
2214
  const sourceCode = localFiles.get(absoluteEntryFile) ?? '';
2209
2215
  const sourceHash = sha256(sourceCode);
@@ -2657,6 +2663,13 @@ export async function bundlePlayFile(
2657
2663
  importedPlayDependencies: analysis.importedPlayDependencies,
2658
2664
  };
2659
2665
  } catch (error) {
2666
+ if (error instanceof AggregateError) {
2667
+ return {
2668
+ success: false,
2669
+ filePath: absolutePath,
2670
+ errors: error.errors.map(String),
2671
+ };
2672
+ }
2660
2673
  if (error && typeof error === 'object' && 'errors' in error) {
2661
2674
  const errors = Array.isArray((error as { errors?: Message[] }).errors)
2662
2675
  ? (error as { errors: Message[] }).errors.map(formatEsbuildMessage)
@@ -9,11 +9,11 @@ import {
9
9
  registerAuthCommands,
10
10
  reportSetupCompleted,
11
11
  resolvePendingAuthClaimForResume
12
- } from "./chunk-FBU4A2ZE.mjs";
13
- import "./chunk-J47TX67H.mjs";
14
- import "./chunk-YMLGJ2B7.mjs";
12
+ } from "./chunk-AN3X5XIR.mjs";
13
+ import "./chunk-N3X2DMF2.mjs";
14
+ import "./chunk-PLSVHYRC.mjs";
15
15
  import "./chunk-DLIRSHV6.mjs";
16
- import "./chunk-CGVCELEC.mjs";
16
+ import "./chunk-VMEJLJJD.mjs";
17
17
  import "./chunk-NXGCO4JB.mjs";
18
18
  import "./chunk-WZYKRD7T.mjs";
19
19
  import "./chunk-KRD6H754.mjs";
@@ -0,0 +1,31 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+ var _chunkB2HJ2OFHjs = require('./chunk-B2HJ2OFH.js');
13
+ require('./chunk-A4LUPRGL.js');
14
+ require('./chunk-AYAEVVB5.js');
15
+ require('./chunk-XNYIZMNQ.js');
16
+ require('./chunk-6ONNP4XL.js');
17
+ require('./chunk-7P5AA3SN.js');
18
+ require('./chunk-OG64RBAC.js');
19
+ require('./chunk-COGTRVWW.js');
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+ exports.EXIT_WORKSPACE_MISMATCH = _chunkB2HJ2OFHjs.EXIT_WORKSPACE_MISMATCH; exports.clearPendingClaim = _chunkB2HJ2OFHjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkB2HJ2OFHjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkB2HJ2OFHjs.handleRegister; exports.handleStatus = _chunkB2HJ2OFHjs.handleStatus; exports.handleWait = _chunkB2HJ2OFHjs.handleWait; exports.readPendingAuthClaim = _chunkB2HJ2OFHjs.readPendingAuthClaim; exports.registerAuthCommands = _chunkB2HJ2OFHjs.registerAuthCommands; exports.reportSetupCompleted = _chunkB2HJ2OFHjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkB2HJ2OFHjs.resolvePendingAuthClaimForResume;
@@ -2,7 +2,7 @@ import {
2
2
  DeeplineClient,
3
3
  iterateCursorPages,
4
4
  requireBillingIdempotencyKey
5
- } from "./chunk-SSRGN56V.mjs";
5
+ } from "./chunk-LR66EFVU.mjs";
6
6
  import "./chunk-CBVIJSHF.mjs";
7
7
  import {
8
8
  createTimestampedName,
@@ -10,13 +10,13 @@ import {
10
10
  openInBrowser,
11
11
  printCommandEnvelope,
12
12
  shouldEmitJson
13
- } from "./chunk-J47TX67H.mjs";
13
+ } from "./chunk-N3X2DMF2.mjs";
14
14
  import {
15
15
  AuthError,
16
16
  ConfigError
17
- } from "./chunk-YMLGJ2B7.mjs";
17
+ } from "./chunk-PLSVHYRC.mjs";
18
18
  import "./chunk-DLIRSHV6.mjs";
19
- import "./chunk-CGVCELEC.mjs";
19
+ import "./chunk-VMEJLJJD.mjs";
20
20
  import "./chunk-6IKARAYD.mjs";
21
21
  import {
22
22
  DeeplineError