deepline 0.3.476 → 0.3.478

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 (171) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +5 -4
  2. package/dist/bundling-sources/sdk/src/http-core.ts +84 -3
  3. package/dist/bundling-sources/sdk/src/http.ts +2 -0
  4. package/dist/bundling-sources/sdk/src/play.ts +8 -2
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +33 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +10 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +77 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +1 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +3 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +11 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +13 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +77 -4
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +83 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +7 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +6 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +215 -22
  19. package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +42 -0
  20. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +13 -12
  21. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +5 -2
  22. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +37 -12
  23. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
  24. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +29 -0
  25. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +15 -0
  26. package/dist/cli/{auth-A22724UX.mjs → auth-SA4DJCSO.mjs} +5 -5
  27. package/dist/cli/auth-U5SNVC5F.js +41 -0
  28. package/dist/cli/{billing-T5Q6OO6M.js → billing-462SAHWX.js} +107 -87
  29. package/dist/cli/{billing-IIBEZ6J7.mjs → billing-Z4D35MV5.mjs} +34 -14
  30. package/dist/cli/{chunk-NPNQCPFP.mjs → chunk-2FTUPGTN.mjs} +2 -2
  31. package/dist/cli/{chunk-2WEPQSA2.mjs → chunk-2JS5DNVX.mjs} +5 -5
  32. package/dist/cli/{chunk-L45IECBZ.js → chunk-2MSKG4ER.js} +7 -6
  33. package/dist/cli/{chunk-JU2KBLOR.mjs → chunk-3LTLQAU4.mjs} +4 -4
  34. package/dist/cli/{chunk-ZV4OWYLZ.mjs → chunk-3V7INABZ.mjs} +2 -2
  35. package/dist/cli/{chunk-VPAVNEDQ.mjs → chunk-4C3TMIF3.mjs} +4 -4
  36. package/dist/cli/{chunk-H3GOAZHV.mjs → chunk-4RJRGQ5Y.mjs} +2 -2
  37. package/dist/cli/{chunk-AS3VECCY.js → chunk-4RV7U3RP.js} +7 -7
  38. package/dist/cli/{chunk-UHTJWDYB.mjs → chunk-645RNF2Y.mjs} +1 -1
  39. package/dist/cli/{chunk-TEJSRJNH.js → chunk-6EEMW7YP.js} +8 -8
  40. package/dist/cli/{chunk-ZOXV6WFI.mjs → chunk-75DAGCEX.mjs} +1 -1
  41. package/dist/cli/{chunk-NTJDZURV.mjs → chunk-7HTWT3Z4.mjs} +2 -2
  42. package/dist/cli/chunk-7I4B6V2S.mjs +127 -0
  43. package/dist/cli/{chunk-MZSLFWOT.js → chunk-7UFFWPQ2.js} +13 -9
  44. package/dist/cli/{chunk-5FBCMLJW.js → chunk-A5LPDB6N.js} +6 -6
  45. package/dist/cli/{chunk-4YWYLHED.mjs → chunk-ABBP5ZCI.mjs} +3 -3
  46. package/dist/cli/{chunk-IC3BZJR7.js → chunk-AQYSZYNE.js} +8 -8
  47. package/dist/cli/{chunk-WTPRRKZA.js → chunk-AYW242XF.js} +37 -37
  48. package/dist/cli/{chunk-CFSCHLNQ.mjs → chunk-BLAZVZVD.mjs} +23 -5
  49. package/dist/cli/{chunk-KGLIDLJ2.js → chunk-D2LKEQKI.js} +5 -5
  50. package/dist/cli/{chunk-4WMIMSSI.mjs → chunk-F2SJYUBW.mjs} +5 -5
  51. package/dist/cli/{chunk-KCP6XNRR.mjs → chunk-F44O4PEP.mjs} +1 -1
  52. package/dist/cli/{chunk-EBWYNNTJ.js → chunk-HMUBLAT4.js} +5 -5
  53. package/dist/cli/{chunk-UYA7LJGC.mjs → chunk-IL5AF6AR.mjs} +4 -2
  54. package/dist/cli/{chunk-B7PEXXRW.js → chunk-IWYWZXCA.js} +53 -53
  55. package/dist/cli/{chunk-PGNLD6L6.js → chunk-J3ZYRN5L.js} +10 -10
  56. package/dist/cli/{chunk-VKBZLV2K.mjs → chunk-JH775FF6.mjs} +1 -1
  57. package/dist/cli/{chunk-5AEEINTU.js → chunk-KBBZXWXF.js} +63 -11
  58. package/dist/cli/{chunk-FVPT44IJ.mjs → chunk-M5USVQ33.mjs} +55 -3
  59. package/dist/cli/{chunk-2YHDNHRR.mjs → chunk-N573OK4W.mjs} +4 -4
  60. package/dist/cli/{chunk-WFVEMDQL.js → chunk-OKAZHDYN.js} +4 -2
  61. package/dist/cli/{chunk-J4FCTFQS.mjs → chunk-PHBOI24Y.mjs} +10 -10
  62. package/dist/cli/{chunk-D7EQ4PI5.mjs → chunk-PLJV6SX4.mjs} +1 -1
  63. package/dist/cli/{chunk-YQOWMQEW.mjs → chunk-PPHHPAQV.mjs} +1 -1
  64. package/dist/cli/{chunk-CBVCCXIY.js → chunk-PZHRNSMU.js} +21 -21
  65. package/dist/cli/{chunk-LJFIUT5R.mjs → chunk-QB3Q73LP.mjs} +2 -2
  66. package/dist/cli/{chunk-ULKGYVYP.js → chunk-QVZNUQAP.js} +2 -2
  67. package/dist/cli/{chunk-A6BETJ2A.js → chunk-S3BKOCVB.js} +1 -1
  68. package/dist/cli/{chunk-F5PYBZ2H.mjs → chunk-S7UEKKOX.mjs} +2 -1
  69. package/dist/cli/{chunk-W3BHZUPL.js → chunk-SCHE5QRN.js} +3 -3
  70. package/dist/cli/{chunk-YEJDFZJP.js → chunk-SXY4DOVA.js} +16 -16
  71. package/dist/cli/{chunk-LZCYDU6Q.mjs → chunk-TLF3KGWG.mjs} +2 -2
  72. package/dist/cli/{chunk-5PYSYW63.js → chunk-TQWI7LJX.js} +26 -26
  73. package/dist/cli/{chunk-7HAUVMRF.js → chunk-TW3TTKW5.js} +3 -3
  74. package/dist/cli/{chunk-FK7SBMSZ.js → chunk-UXQVSDFP.js} +3 -3
  75. package/dist/cli/{chunk-HSANVBVL.js → chunk-V7I65ME7.js} +2 -2
  76. package/dist/cli/{chunk-6YZYCKWD.js → chunk-VE25VUTE.js} +70 -52
  77. package/dist/cli/{chunk-VLYUFZUT.js → chunk-XFY3JOP2.js} +9 -9
  78. package/dist/cli/{chunk-MYYOCJZ2.js → chunk-XOORR6P3.js} +93 -93
  79. package/dist/cli/chunk-YGCKMI5P.js +127 -0
  80. package/dist/cli/{chunk-3A7TDUZV.mjs → chunk-ZBSUXXZS.mjs} +13 -9
  81. package/dist/cli/{chunk-NREO7TT4.mjs → chunk-ZSU3C4ST.mjs} +2 -2
  82. package/dist/cli/command-docs.js +2 -2
  83. package/dist/cli/command-docs.mjs +1 -1
  84. package/dist/cli/{csv-GPVCETS2.mjs → csv-3SNWBO5F.mjs} +4 -4
  85. package/dist/cli/{csv-FXOQ2PBE.js → csv-LAYTDYIF.js} +13 -13
  86. package/dist/cli/{db-F5UJTBGP.mjs → db-72JKGQSK.mjs} +6 -6
  87. package/dist/cli/{db-LXYV4GPZ.js → db-OOUOSURL.js} +27 -27
  88. package/dist/cli/describe-7HYV44MO.js +48 -0
  89. package/dist/cli/{describe-GYWCI7I6.mjs → describe-KDPNOEUJ.mjs} +17 -17
  90. package/dist/cli/describe-core.d.mts +3 -3
  91. package/dist/cli/describe-core.d.ts +3 -3
  92. package/dist/cli/{executions-6NL2YW76.mjs → executions-O6JS3UKX.mjs} +6 -6
  93. package/dist/cli/{executions-6SJKTY2L.js → executions-RJNMGJEE.js} +8 -8
  94. package/dist/cli/{feedback-E3HULSQD.js → feedback-FXB6NV3Y.js} +8 -8
  95. package/dist/cli/{feedback-7AMQCNTB.mjs → feedback-T3JH3CWC.mjs} +4 -4
  96. package/dist/cli/git-5LTKPXGN.js +25 -0
  97. package/dist/cli/{git-74IS2EFH.mjs → git-6KAQSH5J.mjs} +5 -5
  98. package/dist/cli/index.js +161 -142
  99. package/dist/cli/index.mjs +65 -46
  100. package/dist/cli/{legacy-noops-52FFRTRZ.mjs → legacy-noops-7HDGEGTK.mjs} +5 -5
  101. package/dist/cli/{legacy-noops-ALWUQPKS.js → legacy-noops-PAOGRKUK.js} +8 -8
  102. package/dist/cli/{monitors-Z4ADOGTY.js → monitors-KQFI7TVJ.js} +91 -91
  103. package/dist/cli/{monitors-VTJIWWW2.mjs → monitors-LE2AYK3Z.mjs} +7 -7
  104. package/dist/cli/{org-2BTEKDF5.js → org-J6XFHDJE.js} +72 -72
  105. package/dist/cli/{org-7GU6H7JL.mjs → org-Z4DMJ72I.mjs} +6 -6
  106. package/dist/cli/{pages-I6PFQGEU.mjs → pages-5LYS6Y4I.mjs} +6 -6
  107. package/dist/cli/{pages-MG36E7RY.js → pages-FIXBZQJG.js} +17 -17
  108. package/dist/cli/{play-VN52S3RV.js → play-D7WPXADH.js} +604 -680
  109. package/dist/cli/{play-7KFSLJX2.mjs → play-GILXXIN7.mjs} +45 -121
  110. package/dist/cli/{providers-W5XLII66.js → providers-KN7YACT6.js} +9 -9
  111. package/dist/cli/{providers-D46JDEL2.mjs → providers-OQWL4Q4W.mjs} +6 -6
  112. package/dist/cli/{quickstart-4GTXBZHY.mjs → quickstart-2LRIORFM.mjs} +4 -4
  113. package/dist/cli/{quickstart-TIZAC63S.js → quickstart-M2OBP3W3.js} +6 -6
  114. package/dist/cli/{run-FOVEMYYX.js → run-6YZZO7VM.js} +36 -36
  115. package/dist/cli/{run-LE3D4LVU.mjs → run-GYRBKQZT.mjs} +22 -22
  116. package/dist/cli/search-OVKWA4AV.js +32 -0
  117. package/dist/cli/{search-6YL6WJMQ.mjs → search-VUPK6BNU.mjs} +7 -7
  118. package/dist/cli/{secrets-CSTTTMZH.js → secrets-RE3UMZB7.js} +15 -15
  119. package/dist/cli/{secrets-D66U6RTT.mjs → secrets-ULRGU7NM.mjs} +6 -6
  120. package/dist/cli/{sessions-XIO3OUER.mjs → sessions-2ZZVJ3P2.mjs} +5 -5
  121. package/dist/cli/{sessions-45M2NRAA.js → sessions-T4UMHNDW.js} +6 -6
  122. package/dist/cli/{settings-N42CVKSK.js → settings-BRV6AYFM.js} +78 -78
  123. package/dist/cli/{settings-R33X2D5T.mjs → settings-PDY4TJU6.mjs} +11 -11
  124. package/dist/cli/{setup-CBBC4FQP.mjs → setup-CXL6C5Z5.mjs} +9 -9
  125. package/dist/cli/{setup-HREDVNF2.js → setup-JONYJYBK.js} +44 -44
  126. package/dist/cli/{skills-4X6WS2PT.mjs → skills-TOMVQD5O.mjs} +7 -7
  127. package/dist/cli/skills-UK5AK35I.js +33 -0
  128. package/dist/cli/{tools-YR46YFR2.mjs → tools-B2LJK4MM.mjs} +16 -16
  129. package/dist/cli/tools-HH6E5G7J.js +55 -0
  130. package/dist/cli/{update-5CYAZX5X.mjs → update-CD6T2REC.mjs} +9 -9
  131. package/dist/cli/update-EGXT3EIJ.js +33 -0
  132. package/dist/cli/{workflow-M7AA722W.js → workflow-PZML43E2.js} +17 -17
  133. package/dist/cli/{workflow-NKQ3CWPK.mjs → workflow-ZAOBP6I7.mjs} +7 -7
  134. package/dist/{client-AjmfA5nR.d.mts → client-B1s1yJdT.d.mts} +1 -1
  135. package/dist/{client-DMyY-QL8.d.ts → client-DqUseRzd.d.ts} +1 -1
  136. package/dist/{client-core-C705vFyV.d.ts → client-core-Bd7tP9Uz.d.ts} +45 -6
  137. package/dist/{client-core-CpBbvLEX.d.mts → client-core-BijQEQ70.d.mts} +45 -6
  138. package/dist/{compiler-manifest-hqIAukR0.d.mts → compiler-manifest-B1m5tRzz.d.mts} +23 -17
  139. package/dist/{compiler-manifest-hqIAukR0.d.ts → compiler-manifest-B1m5tRzz.d.ts} +23 -17
  140. package/dist/{errors-CRO2qQ6k.d.ts → errors-3g71OMXy.d.ts} +1 -1
  141. package/dist/{errors-DIHVetNY.d.mts → errors-QiC6am-q.d.mts} +1 -1
  142. package/dist/{index-DVZ_X4Gb.d.mts → index-Biz5toO4.d.mts} +1 -1
  143. package/dist/{index-B8DVoeYt.d.ts → index-CIBiwzhK.d.ts} +1 -1
  144. package/dist/index.d.mts +15 -9
  145. package/dist/index.d.ts +15 -9
  146. package/dist/index.js +9 -9
  147. package/dist/index.mjs +6 -6
  148. package/dist/install-integrity.json +112 -110
  149. package/dist/plays/bundle-play-file.d.mts +3 -3
  150. package/dist/plays/bundle-play-file.d.ts +3 -3
  151. package/dist/plays/bundle-play-file.mjs +2 -1
  152. package/dist/plays/play-description.d.mts +2 -2
  153. package/dist/plays/play-description.d.ts +2 -2
  154. package/dist/plays/run-request.d.mts +2 -2
  155. package/dist/plays/run-request.d.ts +2 -2
  156. package/dist/release.d.mts +1 -1
  157. package/dist/release.d.ts +1 -1
  158. package/dist/release.js +2 -2
  159. package/dist/release.mjs +1 -1
  160. package/dist/server.d.mts +4 -4
  161. package/dist/server.d.ts +4 -4
  162. package/dist/server.js +5 -5
  163. package/dist/server.mjs +3 -3
  164. package/package.json +1 -1
  165. package/dist/cli/auth-2ZY57Q7W.js +0 -41
  166. package/dist/cli/describe-IB7SUIUT.js +0 -48
  167. package/dist/cli/git-A2QIIMW5.js +0 -25
  168. package/dist/cli/search-HN6SVDQU.js +0 -32
  169. package/dist/cli/skills-QZ6HZX2T.js +0 -33
  170. package/dist/cli/tools-KFIH7UWB.js +0 -55
  171. package/dist/cli/update-VZLEJLWJ.js +0 -33
@@ -0,0 +1,127 @@
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; }// ../plays/sandbox-runtime-limits.ts
2
+ var PLAY_SANDBOX_SIZE_LIMITS = {
3
+ standard: {
4
+ memoryGiB: 1,
5
+ cpu: 1,
6
+ diskGiB: 3
7
+ },
8
+ large: {
9
+ memoryGiB: 4,
10
+ cpu: 2,
11
+ diskGiB: 8
12
+ },
13
+ xlarge: {
14
+ memoryGiB: 8,
15
+ cpu: 4,
16
+ diskGiB: 10
17
+ }
18
+ };
19
+ var PLAY_SANDBOX_SIZE_ALIASES = {
20
+ "1gb": "standard",
21
+ "4gb": "large",
22
+ "8gb": "xlarge"
23
+ };
24
+ var PLAY_SANDBOX_SIZE_INPUTS = [
25
+ ...Object.keys(PLAY_SANDBOX_SIZE_LIMITS),
26
+ ...Object.keys(
27
+ PLAY_SANDBOX_SIZE_ALIASES
28
+ )
29
+ ];
30
+ var STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS = {
31
+ timeoutSeconds: 30 * 60,
32
+ ...PLAY_SANDBOX_SIZE_LIMITS.standard
33
+ };
34
+ var MAX_PLAY_SANDBOX_RUNTIME_LIMITS = {
35
+ timeoutSeconds: 4 * 60 * 60,
36
+ ...PLAY_SANDBOX_SIZE_LIMITS.xlarge
37
+ };
38
+ function modalSandboxMemoryLimitGiBForPlay(input) {
39
+ if (!Object.values(PLAY_SANDBOX_SIZE_LIMITS).some(
40
+ (profile) => profile.memoryGiB === input.memoryGiB
41
+ )) {
42
+ throw new Error(
43
+ `Unsupported Modal memory reservation: ${input.memoryGiB} GiB.`
44
+ );
45
+ }
46
+ return Math.min(
47
+ Math.max(4, input.memoryGiB * 2),
48
+ MAX_PLAY_SANDBOX_RUNTIME_LIMITS.memoryGiB
49
+ );
50
+ }
51
+ function playSandboxSizeForLimits(limits) {
52
+ return _nullishCoalesce(_optionalChain([Object, 'access', _ => _.entries, 'call', _2 => _2(PLAY_SANDBOX_SIZE_LIMITS), 'access', _3 => _3.find, 'call', _4 => _4(
53
+ ([, profile]) => profile.memoryGiB === limits.memoryGiB && profile.cpu === limits.cpu && profile.diskGiB === limits.diskGiB
54
+ ), 'optionalAccess', _5 => _5[0]]), () => ( null));
55
+ }
56
+ var SUPPORTED_PLAY_SANDBOX_SIZES = PLAY_SANDBOX_SIZE_INPUTS.join(", ");
57
+ function normalizePlaySandboxSize(value) {
58
+ if (typeof value !== "string") return null;
59
+ if (Object.hasOwn(PLAY_SANDBOX_SIZE_LIMITS, value)) {
60
+ return value;
61
+ }
62
+ return Object.hasOwn(PLAY_SANDBOX_SIZE_ALIASES, value) ? PLAY_SANDBOX_SIZE_ALIASES[value] : null;
63
+ }
64
+ function parseTimeout(value) {
65
+ const match = /^(\d+)\s*([mh])$/i.exec(value.trim());
66
+ if (!match) return null;
67
+ const amount = Number(match[1]);
68
+ if (!Number.isSafeInteger(amount) || amount <= 0) return null;
69
+ return amount * (match[2].toLowerCase() === "h" ? 3600 : 60);
70
+ }
71
+ function validatePlaySandboxRuntimeLimits(value) {
72
+ if (!playSandboxSizeForLimits(value)) {
73
+ throw new Error(
74
+ `Unsupported runtime sandbox resources: cpu=${value.cpu} memoryGiB=${value.memoryGiB} diskGiB=${value.diskGiB}. Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: ${SUPPORTED_PLAY_SANDBOX_SIZES}.`
75
+ );
76
+ }
77
+ if (!Number.isSafeInteger(value.timeoutSeconds) || value.timeoutSeconds <= 0) {
78
+ throw new Error(
79
+ 'Invalid runtime sandbox timeout. Use timeout like "90m" or "2h".'
80
+ );
81
+ }
82
+ if (value.timeoutSeconds > MAX_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds) {
83
+ throw new Error(
84
+ `Requested runtime timeoutSeconds=${value.timeoutSeconds} exceeds this organisation's maximum ${MAX_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds}.`
85
+ );
86
+ }
87
+ return { ...value };
88
+ }
89
+ function resolvePlaySandboxRuntimeLimits(declaration) {
90
+ const base = STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS;
91
+ if (!declaration) return { ...base };
92
+ const unsupportedProperties = Object.keys(declaration).filter(
93
+ (key) => key !== "timeout" && key !== "size"
94
+ );
95
+ if (unsupportedProperties.length > 0) {
96
+ throw new Error(
97
+ `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"}: ${unsupportedProperties.join(", ")}. Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: ${SUPPORTED_PLAY_SANDBOX_SIZES}.`
98
+ );
99
+ }
100
+ const size = declaration.size === void 0 ? "standard" : normalizePlaySandboxSize(declaration.size);
101
+ if (!size) {
102
+ throw new Error(
103
+ `Unsupported runtime sandbox size "${String(declaration.size)}". Supported sizes: ${SUPPORTED_PLAY_SANDBOX_SIZES}.`
104
+ );
105
+ }
106
+ const timeoutSeconds = declaration.timeout ? parseTimeout(declaration.timeout) : base.timeoutSeconds;
107
+ if (timeoutSeconds === null) {
108
+ throw new Error(
109
+ 'Invalid runtime sandbox timeout. Use timeout like "90m" or "2h".'
110
+ );
111
+ }
112
+ return validatePlaySandboxRuntimeLimits({
113
+ timeoutSeconds,
114
+ ...PLAY_SANDBOX_SIZE_LIMITS[size]
115
+ });
116
+ }
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+ exports.PLAY_SANDBOX_SIZE_LIMITS = PLAY_SANDBOX_SIZE_LIMITS; exports.PLAY_SANDBOX_SIZE_INPUTS = PLAY_SANDBOX_SIZE_INPUTS; exports.STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS = STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS; exports.MAX_PLAY_SANDBOX_RUNTIME_LIMITS = MAX_PLAY_SANDBOX_RUNTIME_LIMITS; exports.modalSandboxMemoryLimitGiBForPlay = modalSandboxMemoryLimitGiBForPlay; exports.playSandboxSizeForLimits = playSandboxSizeForLimits; exports.SUPPORTED_PLAY_SANDBOX_SIZES = SUPPORTED_PLAY_SANDBOX_SIZES; exports.resolvePlaySandboxRuntimeLimits = resolvePlaySandboxRuntimeLimits;
@@ -4,6 +4,10 @@ import {
4
4
  import {
5
5
  validatePlaySourceFilesHaveNoInlineSecrets
6
6
  } from "./chunk-H7HIDGZ7.mjs";
7
+ import {
8
+ PLAY_SANDBOX_SIZE_INPUTS,
9
+ SUPPORTED_PLAY_SANDBOX_SIZES
10
+ } from "./chunk-7I4B6V2S.mjs";
7
11
  import {
8
12
  InvalidToolResponseReceiptRevisionError,
9
13
  PLAY_ARTIFACT_KINDS,
@@ -1389,11 +1393,9 @@ var PLAY_AUTHORING_FIELD_REGISTRY = {
1389
1393
  errorMessage: 'rateLimit.every must be a static duration from "10s" to "24h", such as "5m".'
1390
1394
  },
1391
1395
  "runtime.size": {
1392
- schema: Type.Union([
1393
- Type.Literal("standard"),
1394
- Type.Literal("large"),
1395
- Type.Literal("xlarge")
1396
- ]),
1396
+ schema: Type.Union(
1397
+ PLAY_SANDBOX_SIZE_INPUTS.map((size) => Type.Literal(size))
1398
+ ),
1397
1399
  fixtures: {
1398
1400
  valid: "large",
1399
1401
  invalid: "xxlarge",
@@ -1401,12 +1403,14 @@ var PLAY_AUTHORING_FIELD_REGISTRY = {
1401
1403
  unresolved: { expression: "size" },
1402
1404
  edition1: "standard"
1403
1405
  },
1404
- referenceType: "'standard' | 'large' | 'xlarge'",
1406
+ referenceType: PLAY_SANDBOX_SIZE_INPUTS.map((size) => `'${size}'`).join(
1407
+ " | "
1408
+ ),
1405
1409
  required: false,
1406
1410
  resolution: "static-required",
1407
1411
  issueCode: "play_authoring_binding_invalid",
1408
- description: "Deepline-managed sandbox size: standard (1 GiB memory, 1 CPU), large (4 GiB, 2 CPU), or xlarge (8 GiB, 4 CPU). Standard is the default. Compute pricing follows the workspace plan and selected size.",
1409
- errorMessage: 'runtime.size must be the static literal "standard", "large", or "xlarge".'
1412
+ description: "Deepline-managed sandbox size: standard or 1gb (1 GiB memory, 1 CPU), large or 4gb (4 GiB, 2 CPU), or xlarge or 8gb (8 GiB, 4 CPU). Standard is the default. Each alias selects the same resource profile and compute price as its named size.",
1413
+ errorMessage: 'runtime.size must be the static literal "standard", "large", "xlarge", "1gb", "4gb", or "8gb".'
1410
1414
  },
1411
1415
  "ctx.customerDb.query.statement": {
1412
1416
  schema: Type.Union([
@@ -4472,7 +4476,7 @@ function sandboxRuntimeDeclarationFromOptions(node, context) {
4472
4476
  ) : [];
4473
4477
  if (unsupportedProperties.length > 0) {
4474
4478
  throw new Error(
4475
- `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"} "${unsupportedProperties.join('", "')}". Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: "standard", "large", or "xlarge".`
4479
+ `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"} "${unsupportedProperties.join('", "')}". Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: ${SUPPORTED_PLAY_SANDBOX_SIZES}.`
4476
4480
  );
4477
4481
  }
4478
4482
  const timeout = resolveStaticProperty(runtime.value, "timeout", context);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-NTJDZURV.mjs";
4
+ } from "./chunk-7HTWT3Z4.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-FVPT44IJ.mjs";
7
+ } from "./chunk-M5USVQ33.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkWFVEMDQLjs = require('./chunk-WFVEMDQL.js');
9
+ var _chunkOKAZHDYNjs = require('./chunk-OKAZHDYN.js');
10
10
  require('./chunk-COGTRVWW.js');
11
11
 
12
12
 
@@ -16,4 +16,4 @@ require('./chunk-COGTRVWW.js');
16
16
 
17
17
 
18
18
 
19
- exports.CLI_DOC_SURFACE = _chunkWFVEMDQLjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkWFVEMDQLjs.COMMAND_DOCS; exports.commandDocKey = _chunkWFVEMDQLjs.commandDocKey; exports.helpDetailFromArgv = _chunkWFVEMDQLjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkWFVEMDQLjs.renderActionExplanation; exports.renderCommandExplanation = _chunkWFVEMDQLjs.renderCommandExplanation; exports.renderDocText = _chunkWFVEMDQLjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunkOKAZHDYNjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkOKAZHDYNjs.COMMAND_DOCS; exports.commandDocKey = _chunkOKAZHDYNjs.commandDocKey; exports.helpDetailFromArgv = _chunkOKAZHDYNjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkOKAZHDYNjs.renderActionExplanation; exports.renderCommandExplanation = _chunkOKAZHDYNjs.renderCommandExplanation; exports.renderDocText = _chunkOKAZHDYNjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-UYA7LJGC.mjs";
9
+ } from "./chunk-IL5AF6AR.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-NTJDZURV.mjs";
8
- import "./chunk-ZOXV6WFI.mjs";
9
- import "./chunk-FVPT44IJ.mjs";
7
+ } from "./chunk-7HTWT3Z4.mjs";
8
+ import "./chunk-75DAGCEX.mjs";
9
+ import "./chunk-M5USVQ33.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-UHTJWDYB.mjs";
13
+ import "./chunk-645RNF2Y.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16
 
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkAS3VECCYjs = require('./chunk-AS3VECCY.js');
8
- require('./chunk-7HAUVMRF.js');
9
- require('./chunk-5AEEINTU.js');
7
+ var _chunk4RV7U3RPjs = require('./chunk-4RV7U3RP.js');
8
+ require('./chunk-TW3TTKW5.js');
9
+ require('./chunk-KBBZXWXF.js');
10
10
  require('./chunk-ALJJRZNJ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-DIAWYWT5.js');
13
- require('./chunk-A6BETJ2A.js');
13
+ require('./chunk-S3BKOCVB.js');
14
14
  require('./chunk-OG64RBAC.js');
15
15
  require('./chunk-COGTRVWW.js');
16
16
 
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
128
128
  column.length,
129
129
  ...rows.map((row) => {
130
130
  const value = _nullishCoalesce(row[column], () => ( ""));
131
- return (verbose ? value : _chunkAS3VECCYjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunk4RV7U3RPjs.clip.call(void 0, value, 42)).length;
132
132
  })
133
133
  )
134
134
  ])
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
138
138
  const body = rows.map(
139
139
  (row) => columns.map((column) => {
140
140
  const raw = _nullishCoalesce(row[column], () => ( ""));
141
- const display = verbose ? raw : _chunkAS3VECCYjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunk4RV7U3RPjs.clip.call(void 0, raw, 42);
142
142
  return display.padEnd(widths[column]);
143
143
  }).join(" | ")
144
144
  );
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
158
158
  { exitCode: 2 }
159
159
  );
160
160
  }
161
- const allRows = _chunkAS3VECCYjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunk4RV7U3RPjs.readCsvRows.call(void 0, csvPath);
162
162
  const [rowStart, rowEnd] = parseRowRange(options.rows);
163
163
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
164
164
  const { rows: selected, columns } = selectColumns(
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
171
171
  if (options.summary) {
172
172
  const summaries = summarizeColumns(selected, columns);
173
173
  if (format === "json") {
174
- _chunkAS3VECCYjs.printJson.call(void 0, {
174
+ _chunk4RV7U3RPjs.printJson.call(void 0, {
175
175
  rows: summaries,
176
176
  total_rows: selected.length,
177
177
  source_total_rows: allRows.length
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
180
180
  }
181
181
  const displayRows = summaryDisplayRows(summaries);
182
182
  if (format === "csv") {
183
- process.stdout.write(_chunkAS3VECCYjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunk4RV7U3RPjs.csvStringFromRows.call(void 0, displayRows));
184
184
  return;
185
185
  }
186
186
  process.stdout.write(
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
195
195
  return;
196
196
  }
197
197
  if (format === "json") {
198
- _chunkAS3VECCYjs.printJson.call(void 0, {
198
+ _chunk4RV7U3RPjs.printJson.call(void 0, {
199
199
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
200
200
  });
201
201
  return;
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
438
438
  if (log) {
439
439
  detail = `
440
440
  CSV render log:
441
- ${_chunkAS3VECCYjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunk4RV7U3RPjs.clip.call(void 0, log, 2e3)}`;
442
442
  }
443
443
  } catch (e7) {
444
444
  }
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
489
489
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
490
490
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
491
491
  lines.push(`Render Health: ${payload.health_status}`);
492
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0, payload, {
493
493
  json: options.json,
494
494
  text: `${lines.join("\n")}
495
495
  `
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
525
525
  };
526
526
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
527
527
  ` : "No running CSV render process found.\n";
528
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
529
529
  }
530
530
  async function handleCsvRender(action, options) {
531
531
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-OVDNJAJN.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-NPNQCPFP.mjs";
6
+ } from "./chunk-2FTUPGTN.mjs";
7
7
  import {
8
8
  planCustomerDbQuery
9
- } from "./chunk-F5PYBZ2H.mjs";
9
+ } from "./chunk-S7UEKKOX.mjs";
10
10
  import "./chunk-L2VKAASU.mjs";
11
11
  import "./chunk-NELMCOWK.mjs";
12
12
  import "./chunk-S3A4IXBQ.mjs";
@@ -20,9 +20,9 @@ import {
20
20
  printCommandEnvelope,
21
21
  recordRows,
22
22
  shouldEmitJson
23
- } from "./chunk-NTJDZURV.mjs";
24
- import "./chunk-ZOXV6WFI.mjs";
25
- import "./chunk-FVPT44IJ.mjs";
23
+ } from "./chunk-7HTWT3Z4.mjs";
24
+ import "./chunk-75DAGCEX.mjs";
25
+ import "./chunk-M5USVQ33.mjs";
26
26
  import {
27
27
  CustomerDbQueryOutcomeUnknownError
28
28
  } from "./chunk-4QF2K7TM.mjs";
@@ -30,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
30
30
  import {
31
31
  DeeplineError
32
32
  } from "./chunk-HBL4PM5Q.mjs";
33
- import "./chunk-UHTJWDYB.mjs";
33
+ import "./chunk-645RNF2Y.mjs";
34
34
  import "./chunk-WZYKRD7T.mjs";
35
35
  import "./chunk-KRD6H754.mjs";
36
36
 
@@ -3,10 +3,10 @@
3
3
  var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
4
4
 
5
5
 
6
- var _chunkEBWYNNTJjs = require('./chunk-EBWYNNTJ.js');
6
+ var _chunkHMUBLAT4js = require('./chunk-HMUBLAT4.js');
7
7
 
8
8
 
9
- var _chunkL45IECBZjs = require('./chunk-L45IECBZ.js');
9
+ var _chunk2MSKG4ERjs = require('./chunk-2MSKG4ER.js');
10
10
  require('./chunk-E4CABWXL.js');
11
11
  require('./chunk-JDMR33HS.js');
12
12
  require('./chunk-NMU3VR5U.js');
@@ -20,9 +20,9 @@ require('./chunk-XDVT3GOM.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkAS3VECCYjs = require('./chunk-AS3VECCY.js');
24
- require('./chunk-7HAUVMRF.js');
25
- require('./chunk-5AEEINTU.js');
23
+ var _chunk4RV7U3RPjs = require('./chunk-4RV7U3RP.js');
24
+ require('./chunk-TW3TTKW5.js');
25
+ require('./chunk-KBBZXWXF.js');
26
26
 
27
27
 
28
28
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -30,7 +30,7 @@ require('./chunk-XNYIZMNQ.js');
30
30
 
31
31
 
32
32
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
33
- require('./chunk-A6BETJ2A.js');
33
+ require('./chunk-S3BKOCVB.js');
34
34
  require('./chunk-OG64RBAC.js');
35
35
  require('./chunk-COGTRVWW.js');
36
36
 
@@ -53,8 +53,8 @@ function formatCell(value) {
53
53
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
54
54
  }
55
55
  function tableLines(result) {
56
- const rows = _chunkAS3VECCYjs.dataExportRows.call(void 0, customerDbRows(result));
57
- const responseColumns = _chunkAS3VECCYjs.dataExportColumns.call(void 0,
56
+ const rows = _chunk4RV7U3RPjs.dataExportRows.call(void 0, customerDbRows(result));
57
+ const responseColumns = _chunk4RV7U3RPjs.dataExportColumns.call(void 0,
58
58
  rows,
59
59
  customerDbColumnNames(result)
60
60
  );
@@ -100,7 +100,7 @@ function tableLines(result) {
100
100
  return lines;
101
101
  }
102
102
  function customerDbRows(result) {
103
- return _chunkAS3VECCYjs.recordRows.call(void 0, result.rows);
103
+ return _chunk4RV7U3RPjs.recordRows.call(void 0, result.rows);
104
104
  }
105
105
  function customerDbColumnNames(result) {
106
106
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -153,7 +153,7 @@ function writeCustomerDbCsv(result, outPath) {
153
153
  const resolved = _path.resolve.call(void 0, outPath);
154
154
  _fs.writeFileSync.call(void 0,
155
155
  resolved,
156
- _chunkAS3VECCYjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
156
+ _chunk4RV7U3RPjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
157
157
  "utf-8"
158
158
  );
159
159
  return resolved;
@@ -194,7 +194,7 @@ function dbQueryExportEnvelope(input) {
194
194
  function renderDbQueryResult(result, query, options) {
195
195
  const { sql, maxRows, operationKey } = query;
196
196
  const { format, out: outPath, json: explicitJsonOutput = false } = options;
197
- const jsonOutput = explicitJsonOutput || _chunkAS3VECCYjs.shouldEmitJson.call(void 0, );
197
+ const jsonOutput = explicitJsonOutput || _chunk4RV7U3RPjs.shouldEmitJson.call(void 0, );
198
198
  const toolPayload = JSON.stringify({
199
199
  sql,
200
200
  result_mode: "rows",
@@ -205,7 +205,7 @@ function renderDbQueryResult(result, query, options) {
205
205
  if (format === "csv") {
206
206
  if (outPath) {
207
207
  const exportedPath = writeCustomerDbCsv(result, outPath);
208
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
208
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
209
209
  dbQueryExportEnvelope({
210
210
  result,
211
211
  format,
@@ -221,7 +221,7 @@ function renderDbQueryResult(result, query, options) {
221
221
  );
222
222
  return;
223
223
  }
224
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
224
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
225
225
  dbQueryExportEnvelope({
226
226
  result,
227
227
  format,
@@ -231,7 +231,7 @@ function renderDbQueryResult(result, query, options) {
231
231
  }),
232
232
  {
233
233
  json: explicitJsonOutput,
234
- text: _chunkAS3VECCYjs.dataExportCsvString.call(void 0,
234
+ text: _chunk4RV7U3RPjs.dataExportCsvString.call(void 0,
235
235
  customerDbRows(result),
236
236
  customerDbColumnNames(result)
237
237
  )
@@ -240,14 +240,14 @@ function renderDbQueryResult(result, query, options) {
240
240
  return;
241
241
  }
242
242
  if (format === "markdown") {
243
- const content = _chunkAS3VECCYjs.markdownTableFromRows.call(void 0,
243
+ const content = _chunk4RV7U3RPjs.markdownTableFromRows.call(void 0,
244
244
  customerDbRows(result),
245
245
  customerDbColumnNames(result)
246
246
  );
247
247
  if (outPath) {
248
248
  const exportedPath = _path.resolve.call(void 0, outPath);
249
249
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
250
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
250
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
251
251
  dbQueryExportEnvelope({
252
252
  result,
253
253
  format,
@@ -263,7 +263,7 @@ function renderDbQueryResult(result, query, options) {
263
263
  );
264
264
  return;
265
265
  }
266
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
266
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
267
267
  dbQueryExportEnvelope({
268
268
  result,
269
269
  format,
@@ -278,7 +278,7 @@ function renderDbQueryResult(result, query, options) {
278
278
  );
279
279
  return;
280
280
  }
281
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
281
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
282
282
  {
283
283
  ...result,
284
284
  next: {
@@ -352,9 +352,9 @@ async function runDbQueryCommand(options) {
352
352
  ...maxRows === void 0 ? {} : { maxRows },
353
353
  ...operationKey === void 0 ? {} : { operationKey }
354
354
  };
355
- const plan = _chunkL45IECBZjs.planCustomerDbQuery.call(void 0, query);
355
+ const plan = _chunk2MSKG4ERjs.planCustomerDbQuery.call(void 0, query);
356
356
  if (options.dryRun) {
357
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
357
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
358
358
  {
359
359
  dryRun: true,
360
360
  ...plan,
@@ -367,11 +367,11 @@ async function runDbQueryCommand(options) {
367
367
  ...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
368
368
  }
369
369
  },
370
- { json: options.json || _chunkAS3VECCYjs.shouldEmitJson.call(void 0, ) }
370
+ { json: options.json || _chunk4RV7U3RPjs.shouldEmitJson.call(void 0, ) }
371
371
  );
372
372
  return 0;
373
373
  }
374
- const client = new (0, _chunkEBWYNNTJjs.DeeplineClient)();
374
+ const client = new (0, _chunkHMUBLAT4js.DeeplineClient)();
375
375
  const result = await client.db.query(query);
376
376
  renderDbQueryResult(result, query, {
377
377
  format,
@@ -380,8 +380,8 @@ async function runDbQueryCommand(options) {
380
380
  });
381
381
  return 0;
382
382
  } catch (error) {
383
- if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkAS3VECCYjs.shouldEmitJson.call(void 0, ))) {
384
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
383
+ if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunk4RV7U3RPjs.shouldEmitJson.call(void 0, ))) {
384
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
385
385
  {
386
386
  ok: false,
387
387
  error: {
@@ -429,8 +429,8 @@ function dbRepairPlainText(result) {
429
429
  async function handleDbRepair(args) {
430
430
  const providerIndex = args.indexOf("--provider");
431
431
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
432
- const jsonOutput = _chunkAS3VECCYjs.argsWantJson.call(void 0, args);
433
- const client = new (0, _chunkEBWYNNTJjs.DeeplineClient)();
432
+ const jsonOutput = _chunk4RV7U3RPjs.argsWantJson.call(void 0, args);
433
+ const client = new (0, _chunkHMUBLAT4js.DeeplineClient)();
434
434
  let result;
435
435
  try {
436
436
  result = await client.repairIngestionStorage(
@@ -446,7 +446,7 @@ async function handleDbRepair(args) {
446
446
  console.error(errorMessage2(error));
447
447
  return 1;
448
448
  }
449
- _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
449
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  command: "db repair",
452
452
  status: result.status,
@@ -0,0 +1,48 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkJ3ZYRN5Ljs = require('./chunk-J3ZYRN5L.js');
7
+ require('./chunk-XOORR6P3.js');
8
+ require('./chunk-UXQVSDFP.js');
9
+ require('./chunk-6EEMW7YP.js');
10
+
11
+
12
+ var _chunkAK7UKQ5Rjs = require('./chunk-AK7UKQ5R.js');
13
+ require('./chunk-4IOY2SCQ.js');
14
+ require('./chunk-IAYSWZDJ.js');
15
+ require('./chunk-AID3OYVJ.js');
16
+ require('./chunk-ZM2YPJQJ.js');
17
+ require('./chunk-J33TSWO5.js');
18
+ require('./chunk-HGFFYVXN.js');
19
+ require('./chunk-HMUBLAT4.js');
20
+ require('./chunk-NPZBE64X.js');
21
+ require('./chunk-2MSKG4ER.js');
22
+ require('./chunk-E4CABWXL.js');
23
+ require('./chunk-JDMR33HS.js');
24
+ require('./chunk-NMU3VR5U.js');
25
+ require('./chunk-XDVT3GOM.js');
26
+ require('./chunk-PZHRNSMU.js');
27
+ require('./chunk-SXY4DOVA.js');
28
+ require('./chunk-QVZNUQAP.js');
29
+ require('./chunk-AYW242XF.js');
30
+ require('./chunk-V7I65ME7.js');
31
+ require('./chunk-IWYWZXCA.js');
32
+ require('./chunk-SCHE5QRN.js');
33
+ require('./chunk-4RV7U3RP.js');
34
+ require('./chunk-TW3TTKW5.js');
35
+ require('./chunk-KBBZXWXF.js');
36
+ require('./chunk-ALJJRZNJ.js');
37
+ require('./chunk-XNYIZMNQ.js');
38
+ require('./chunk-DIAWYWT5.js');
39
+ require('./chunk-S3BKOCVB.js');
40
+ require('./chunk-OG64RBAC.js');
41
+ require('./chunk-COGTRVWW.js');
42
+
43
+
44
+
45
+
46
+
47
+
48
+ exports.DEEPLINE_NAMESPACE = _chunkAK7UKQ5Rjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkJ3ZYRN5Ljs.describeAnything; exports.findNamed = _chunkJ3ZYRN5Ljs.findNamed; exports.nothingNamed = _chunkJ3ZYRN5Ljs.nothingNamed; exports.registerDescribeCommand = _chunkJ3ZYRN5Ljs.registerDescribeCommand;
@@ -3,10 +3,10 @@ import {
3
3
  findNamed,
4
4
  nothingNamed,
5
5
  registerDescribeCommand
6
- } from "./chunk-2YHDNHRR.mjs";
7
- import "./chunk-J4FCTFQS.mjs";
8
- import "./chunk-YQOWMQEW.mjs";
9
- import "./chunk-4YWYLHED.mjs";
6
+ } from "./chunk-N573OK4W.mjs";
7
+ import "./chunk-PHBOI24Y.mjs";
8
+ import "./chunk-PPHHPAQV.mjs";
9
+ import "./chunk-ABBP5ZCI.mjs";
10
10
  import {
11
11
  DEEPLINE_NAMESPACE
12
12
  } from "./chunk-OWUZKXE7.mjs";
@@ -16,27 +16,27 @@ import "./chunk-OVDNJAJN.mjs";
16
16
  import "./chunk-LJ5747UC.mjs";
17
17
  import "./chunk-FR2ILQ4G.mjs";
18
18
  import "./chunk-FIVKWNMT.mjs";
19
- import "./chunk-NPNQCPFP.mjs";
19
+ import "./chunk-2FTUPGTN.mjs";
20
20
  import "./chunk-3RGWTKK3.mjs";
21
- import "./chunk-F5PYBZ2H.mjs";
21
+ import "./chunk-S7UEKKOX.mjs";
22
22
  import "./chunk-L2VKAASU.mjs";
23
23
  import "./chunk-NELMCOWK.mjs";
24
24
  import "./chunk-S3A4IXBQ.mjs";
25
25
  import "./chunk-UBKA33KY.mjs";
26
- import "./chunk-4WMIMSSI.mjs";
27
- import "./chunk-2WEPQSA2.mjs";
28
- import "./chunk-VKBZLV2K.mjs";
29
- import "./chunk-JU2KBLOR.mjs";
30
- import "./chunk-KCP6XNRR.mjs";
31
- import "./chunk-VPAVNEDQ.mjs";
32
- import "./chunk-D7EQ4PI5.mjs";
33
- import "./chunk-NTJDZURV.mjs";
34
- import "./chunk-ZOXV6WFI.mjs";
35
- import "./chunk-FVPT44IJ.mjs";
26
+ import "./chunk-F2SJYUBW.mjs";
27
+ import "./chunk-2JS5DNVX.mjs";
28
+ import "./chunk-JH775FF6.mjs";
29
+ import "./chunk-3LTLQAU4.mjs";
30
+ import "./chunk-F44O4PEP.mjs";
31
+ import "./chunk-4C3TMIF3.mjs";
32
+ import "./chunk-PLJV6SX4.mjs";
33
+ import "./chunk-7HTWT3Z4.mjs";
34
+ import "./chunk-75DAGCEX.mjs";
35
+ import "./chunk-M5USVQ33.mjs";
36
36
  import "./chunk-4QF2K7TM.mjs";
37
37
  import "./chunk-DLIRSHV6.mjs";
38
38
  import "./chunk-HBL4PM5Q.mjs";
39
- import "./chunk-UHTJWDYB.mjs";
39
+ import "./chunk-645RNF2Y.mjs";
40
40
  import "./chunk-WZYKRD7T.mjs";
41
41
  import "./chunk-KRD6H754.mjs";
42
42
  export {