deepline 0.3.503 → 0.3.505
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.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +5 -0
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +35 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-public-aliases.ts +13 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +144 -7
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +18 -0
- package/dist/bundling-sources/shared_libs/product-notifications/onboarding-unsubscribe.ts +23 -0
- package/dist/cli/{auth-IC4WLSE3.mjs → auth-AHE2EDQA.mjs} +5 -5
- package/dist/cli/auth-SEPKNRHV.js +43 -0
- package/dist/cli/{billing-2VOV64SD.mjs → billing-7CPWTGGI.mjs} +19 -12
- package/dist/cli/{billing-LWQOII22.js → billing-JOIZPHON.js} +92 -85
- package/dist/cli/{chunk-33JUK73X.js → chunk-3YEOOXD4.js} +96 -37
- package/dist/cli/{chunk-FVDTERO2.js → chunk-45XYW477.js} +21 -21
- package/dist/cli/{chunk-5GI6NKOE.mjs → chunk-4OFSAZN6.mjs} +1 -1
- package/dist/cli/{chunk-D27HP3HS.mjs → chunk-52FPW2RD.mjs} +2 -2
- package/dist/cli/chunk-5LUF4LAR.mjs +209 -0
- package/dist/cli/{chunk-VC5B462T.mjs → chunk-5XT4DZQL.mjs} +2 -2
- package/dist/cli/{chunk-26RSSTCF.js → chunk-6FEN6VWZ.js} +26 -26
- package/dist/cli/{chunk-7HEDCIR3.mjs → chunk-6U3AGJWI.mjs} +1 -1
- package/dist/cli/{chunk-KPBBT6OS.mjs → chunk-7AD565DO.mjs} +1 -1
- package/dist/cli/{chunk-FZHOWPSN.js → chunk-7DDACLMX.js} +16 -16
- package/dist/cli/{chunk-ZEQPCEV4.mjs → chunk-7DDKLFOY.mjs} +3 -3
- package/dist/cli/{chunk-WHP3FJ7T.js → chunk-7QLK2GHL.js} +5 -5
- package/dist/cli/{chunk-BI2Q45SY.mjs → chunk-ACI6CUDX.mjs} +11 -401
- package/dist/cli/{chunk-C5RQTTLP.js → chunk-BWAYMJ23.js} +7 -7
- package/dist/cli/{chunk-YXGPMTAK.js → chunk-CA3SYXCS.js} +2 -2
- package/dist/cli/{chunk-J6RBOLK7.mjs → chunk-CSLLQWAB.mjs} +1 -1
- package/dist/cli/{chunk-F73PD2XD.js → chunk-EMUFF6EU.js} +7 -7
- package/dist/cli/chunk-FIQ5UEIF.mjs +405 -0
- package/dist/cli/{chunk-2626LTU3.js → chunk-GAUNJCXQ.js} +96 -96
- package/dist/cli/{chunk-A2C6ONWA.js → chunk-GXMNOUHP.js} +6 -6
- package/dist/cli/{chunk-MJQOG4TZ.js → chunk-HASFFOSU.js} +16 -16
- package/dist/cli/{chunk-TCQYWZFS.js → chunk-IDAE5VDH.js} +5 -5
- package/dist/cli/{chunk-JJVN7OIX.mjs → chunk-IZYOYXG7.mjs} +4 -4
- package/dist/cli/{chunk-FHJ54BHH.mjs → chunk-JA7YBRP4.mjs} +1 -1
- package/dist/cli/{chunk-HRTDCXHI.js → chunk-JSTKLYYD.js} +2 -2
- package/dist/cli/{chunk-5M5WSFRZ.mjs → chunk-JVKEZT7L.mjs} +48 -8
- package/dist/cli/{chunk-4IIYSBEP.js → chunk-K26YOPDO.js} +50 -10
- package/dist/cli/{chunk-2K2QBLYO.js → chunk-LC4FG34E.js} +53 -53
- package/dist/cli/{chunk-XYZZZLN6.mjs → chunk-MAFZ64RN.mjs} +2 -2
- package/dist/cli/{chunk-B3X4YWQ6.js → chunk-MHZAG2ZQ.js} +80 -470
- package/dist/cli/{chunk-DPI5OYVU.mjs → chunk-NARJWXBR.mjs} +2 -2
- package/dist/cli/{chunk-GLZBFBJS.mjs → chunk-OA6U5NVB.mjs} +5 -5
- package/dist/cli/{chunk-URZNSJE2.mjs → chunk-OMEDQ77C.mjs} +93 -34
- package/dist/cli/{chunk-QIEYEY6Z.js → chunk-OORPAQVC.js} +8 -8
- package/dist/cli/{chunk-WS274KID.mjs → chunk-PDLOPF5L.mjs} +1 -1
- package/dist/cli/{chunk-KGLVATEB.mjs → chunk-PZN24YQQ.mjs} +2 -2
- package/dist/cli/{chunk-GIHNEYBG.mjs → chunk-QGNNAZ5M.mjs} +1 -1
- package/dist/cli/chunk-QYGYVCRI.js +405 -0
- package/dist/cli/chunk-R7J7CJPZ.js +209 -0
- package/dist/cli/{chunk-6XTE6C3W.mjs → chunk-RT3HJBIH.mjs} +12 -12
- package/dist/cli/{chunk-L3TZV625.mjs → chunk-SHKRL7CW.mjs} +1 -1
- package/dist/cli/{chunk-FIUTDSJX.js → chunk-SPN7U3MV.js} +4 -4
- package/dist/cli/{chunk-EQ3WMKFY.mjs → chunk-UZ24SF7N.mjs} +5 -5
- package/dist/cli/{chunk-AARF4SOW.js → chunk-VXKWF3AD.js} +9 -9
- package/dist/cli/{chunk-JPDD4Y53.mjs → chunk-W6I4N4JN.mjs} +6 -6
- package/dist/cli/{chunk-PVA3MWCO.js → chunk-WPCF7C6B.js} +3 -3
- package/dist/cli/{chunk-3CXHK4TW.js → chunk-WTQLUULB.js} +6 -6
- package/dist/cli/{chunk-EDMV4JT5.mjs → chunk-WTUC5VKB.mjs} +2 -2
- package/dist/cli/{chunk-IIP46RVC.js → chunk-XHPB6RGY.js} +1 -1
- package/dist/cli/{chunk-RVOBFO7C.js → chunk-Y52XY56V.js} +41 -41
- package/dist/cli/{chunk-K7NFFQFU.mjs → chunk-YBIVVAL7.mjs} +2 -2
- package/dist/cli/{chunk-HS63YBT5.js → chunk-ZLN2B5YA.js} +3 -3
- package/dist/cli/command-docs.d.mts +2 -1
- package/dist/cli/command-docs.d.ts +2 -1
- package/dist/cli/command-docs.js +6 -2
- package/dist/cli/command-docs.mjs +5 -1
- package/dist/cli/{csv-NEWCNOSZ.js → csv-DZHVIW3G.js} +13 -13
- package/dist/cli/{csv-2TXOI3UE.mjs → csv-WTPI6ZON.mjs} +4 -4
- package/dist/cli/{db-J3IJS4OG.js → db-D7LPPNCC.js} +27 -27
- package/dist/cli/{db-PX7EQEIG.mjs → db-NR4PJ6AF.mjs} +6 -6
- package/dist/cli/describe-HVQBTKFM.js +50 -0
- package/dist/cli/{describe-GQHGTZSL.mjs → describe-NCKAJPUG.mjs} +18 -17
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-FFKK24RY.mjs → executions-RQVJ4LAB.mjs} +6 -6
- package/dist/cli/{executions-RO3TJUXL.js → executions-UQG6LWEN.js} +8 -8
- package/dist/cli/{feedback-ZTO56SRL.mjs → feedback-RD4Y3YQR.mjs} +4 -4
- package/dist/cli/{feedback-XRR4HIS6.js → feedback-TCHA67IA.js} +8 -8
- package/dist/cli/git-TUB2ZUEH.js +25 -0
- package/dist/cli/{git-FIPBVFYZ.mjs → git-Z7434B7Y.mjs} +5 -5
- package/dist/cli/index.js +145 -141
- package/dist/cli/index.mjs +51 -47
- package/dist/cli/{legacy-noops-MTBBGM27.js → legacy-noops-23WRA7DH.js} +8 -8
- package/dist/cli/{legacy-noops-AMD2NWHF.mjs → legacy-noops-LQJU4UIV.mjs} +5 -5
- package/dist/cli/{monitors-42PIGLBF.js → monitors-KOWN7M3V.js} +95 -95
- package/dist/cli/{monitors-24LDKDJX.mjs → monitors-Z6VYUZ2W.mjs} +7 -7
- package/dist/cli/{org-GQMCA3MN.js → org-2T5K2VP5.js} +72 -72
- package/dist/cli/{org-4B7SCFRL.mjs → org-UBNRO5XO.mjs} +6 -6
- package/dist/cli/{pages-PD5EGL2R.mjs → pages-GHPJBVV3.mjs} +6 -6
- package/dist/cli/{pages-RL2M62GJ.js → pages-SRXTU7XO.js} +18 -18
- package/dist/cli/{play-FST6ZAHW.js → play-2HMZ57EZ.js} +324 -517
- package/dist/cli/{play-5V54VTUR.mjs → play-HRQKGTXA.mjs} +24 -217
- package/dist/cli/{providers-N5YVCKPL.mjs → providers-JWJRFRR5.mjs} +6 -6
- package/dist/cli/{providers-HBUUPN7J.js → providers-P5O676MZ.js} +9 -9
- package/dist/cli/{quickstart-NJDDVTQR.mjs → quickstart-S7NZUQRO.mjs} +4 -4
- package/dist/cli/{quickstart-4QIQNSHG.js → quickstart-YCY72TAO.js} +6 -6
- package/dist/cli/{run-FGOKCG4J.js → run-MHLLGF4G.js} +41 -40
- package/dist/cli/{run-JHI5MTHD.mjs → run-QWMRIUIU.mjs} +23 -22
- package/dist/cli/{search-EWIZBIY2.mjs → search-4BFTQUEP.mjs} +8 -7
- package/dist/cli/search-QPUHOEIL.js +33 -0
- package/dist/cli/{search-output-TMQTRC2W.js → search-output-62LBVZHN.js} +6 -6
- package/dist/cli/{search-output-NAK3MWBH.mjs → search-output-LIYHDTBP.mjs} +4 -4
- package/dist/cli/{secrets-ONQVW5SR.mjs → secrets-GW27V77E.mjs} +6 -6
- package/dist/cli/{secrets-5TSUEOJB.js → secrets-KKKHVSOO.js} +15 -15
- package/dist/cli/{sessions-BSGE5EET.js → sessions-R3OEINAR.js} +6 -6
- package/dist/cli/{sessions-B7F5O3ZR.mjs → sessions-R75LBGIL.mjs} +5 -5
- package/dist/cli/{settings-SGGFQV5R.mjs → settings-I3AQZSYG.mjs} +12 -11
- package/dist/cli/{settings-47LARBRU.js → settings-MQIHAEZN.js} +79 -78
- package/dist/cli/{setup-ATGNXQUK.mjs → setup-2YA5MYMS.mjs} +10 -9
- package/dist/cli/{setup-BNFZFXO6.js → setup-X3QRJERP.js} +50 -49
- package/dist/cli/{skills-CIMBRM5R.mjs → skills-7252FOOI.mjs} +8 -7
- package/dist/cli/skills-BPZWMZSL.js +37 -0
- package/dist/cli/tools-F7RVQ3IK.js +57 -0
- package/dist/cli/{tools-DTDXAULX.mjs → tools-SKQTSVGE.mjs} +17 -16
- package/dist/cli/{update-EOIJBJCO.mjs → update-GNBBSKTB.mjs} +10 -9
- package/dist/cli/update-TLSY6LC2.js +35 -0
- package/dist/cli/{workflow-IWXUJPWY.mjs → workflow-OJSAL5FO.mjs} +7 -7
- package/dist/cli/{workflow-V5VKPICQ.js → workflow-QB7YYWPP.js} +17 -17
- package/dist/{client-CIwenMFS.d.ts → client-B3GSaSFn.d.ts} +1 -1
- package/dist/{client-DYAfJpaN.d.mts → client-DEJg0CZn.d.mts} +1 -1
- package/dist/{client-core-DlzP8vEs.d.mts → client-core-C404E33V.d.mts} +5 -0
- package/dist/{client-core-CRjtyMAI.d.ts → client-core-GQmy3N8y.d.ts} +5 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +109 -104
- package/dist/plays/bundle-play-file.mjs +4 -4
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-ZCMSXZO4.js +0 -43
- package/dist/cli/describe-LE7EZCL4.js +0 -49
- package/dist/cli/git-26AH4XIO.js +0 -25
- package/dist/cli/search-CTKSEVSO.js +0 -32
- package/dist/cli/skills-6RD25MVM.js +0 -36
- package/dist/cli/tools-TDZH4XHS.js +0 -56
- package/dist/cli/update-Y32VT4VL.js +0 -34
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parsePlayRunHeaderFlag,
|
|
6
6
|
parsePlayRunOptions,
|
|
7
7
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NARJWXBR.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ExecutionOutputError,
|
|
11
11
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
underscoreKeysLast,
|
|
19
19
|
writeExecutionOutput,
|
|
20
20
|
writeRunDatasetCsv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JA7YBRP4.mjs";
|
|
22
22
|
import {
|
|
23
23
|
registerDeprecatedSearchCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OMEDQ77C.mjs";
|
|
25
25
|
import "./chunk-5AEDYVB6.mjs";
|
|
26
26
|
import {
|
|
27
27
|
handleDeploymentGet,
|
|
28
28
|
handleDeploymentsList
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MAFZ64RN.mjs";
|
|
30
30
|
import {
|
|
31
31
|
buildPlayDashboardUrl,
|
|
32
32
|
buildPlayRunUrl
|
|
@@ -42,14 +42,6 @@ import {
|
|
|
42
42
|
listPlayFileExports,
|
|
43
43
|
parsePlaySourceForAnalysis
|
|
44
44
|
} from "./chunk-GBAT5NMI.mjs";
|
|
45
|
-
import {
|
|
46
|
-
MAX_PLAY_SANDBOX_RUNTIME_LIMITS,
|
|
47
|
-
PLAY_SANDBOX_SIZE_LIMITS,
|
|
48
|
-
STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS,
|
|
49
|
-
modalSandboxMemoryLimitGiBForPlay,
|
|
50
|
-
playSandboxSizeForLimits,
|
|
51
|
-
resolvePlaySandboxRuntimeLimits
|
|
52
|
-
} from "./chunk-7I4B6V2S.mjs";
|
|
53
45
|
import {
|
|
54
46
|
resolveEnabledExecutionProfile
|
|
55
47
|
} from "./chunk-F6QV42MC.mjs";
|
|
@@ -59,10 +51,10 @@ import {
|
|
|
59
51
|
import {
|
|
60
52
|
pinLocalPlayImports,
|
|
61
53
|
planLocalPlayExecution
|
|
62
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-WTUC5VKB.mjs";
|
|
63
55
|
import {
|
|
64
56
|
DeeplineClient
|
|
65
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-52FPW2RD.mjs";
|
|
66
58
|
import {
|
|
67
59
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
68
60
|
RunEventQueryInputError,
|
|
@@ -75,7 +67,7 @@ import {
|
|
|
75
67
|
normalizePlayStatus,
|
|
76
68
|
normalizeRunEventOperationRequest,
|
|
77
69
|
parseLogLevel
|
|
78
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-4OFSAZN6.mjs";
|
|
79
71
|
import "./chunk-L2VKAASU.mjs";
|
|
80
72
|
import {
|
|
81
73
|
CSV_DATA_INPUT_KEY,
|
|
@@ -98,18 +90,25 @@ import "./chunk-BMCRTI6Z.mjs";
|
|
|
98
90
|
import {
|
|
99
91
|
checkPlayRunCompatibility,
|
|
100
92
|
usesCliPlayAdmission
|
|
101
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-YBIVVAL7.mjs";
|
|
102
94
|
import {
|
|
103
95
|
isCliTraceEnabled,
|
|
104
96
|
recordCliTrace,
|
|
105
97
|
resolveCliMaintenancePolicy,
|
|
106
98
|
traceCliSpan
|
|
107
|
-
} from "./chunk-
|
|
108
|
-
import "./chunk-
|
|
99
|
+
} from "./chunk-PDLOPF5L.mjs";
|
|
100
|
+
import "./chunk-ACI6CUDX.mjs";
|
|
109
101
|
import {
|
|
110
102
|
createCliProgress,
|
|
111
103
|
getActiveCliProgress
|
|
112
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-QGNNAZ5M.mjs";
|
|
105
|
+
import "./chunk-FIQ5UEIF.mjs";
|
|
106
|
+
import {
|
|
107
|
+
formatNonStandardSandboxRuntimeWarning
|
|
108
|
+
} from "./chunk-5LUF4LAR.mjs";
|
|
109
|
+
import {
|
|
110
|
+
resolvePlaySandboxRuntimeLimits
|
|
111
|
+
} from "./chunk-7I4B6V2S.mjs";
|
|
113
112
|
import {
|
|
114
113
|
argsWantJson,
|
|
115
114
|
describeArgs,
|
|
@@ -123,17 +122,17 @@ import {
|
|
|
123
122
|
printJsonError,
|
|
124
123
|
renderCommandEnvelopeText,
|
|
125
124
|
shouldEmitJson
|
|
126
|
-
} from "./chunk-
|
|
127
|
-
import "./chunk-
|
|
125
|
+
} from "./chunk-PZN24YQQ.mjs";
|
|
126
|
+
import "./chunk-SHKRL7CW.mjs";
|
|
128
127
|
import {
|
|
129
128
|
fetchWithDeploymentProtection
|
|
130
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-7AD565DO.mjs";
|
|
131
130
|
import "./chunk-4QF2K7TM.mjs";
|
|
132
131
|
import "./chunk-DLIRSHV6.mjs";
|
|
133
132
|
import {
|
|
134
133
|
DeeplineError
|
|
135
134
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
136
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-6U3AGJWI.mjs";
|
|
137
136
|
import "./chunk-WZYKRD7T.mjs";
|
|
138
137
|
import {
|
|
139
138
|
__commonJS,
|
|
@@ -5281,198 +5280,6 @@ ${hint}`;
|
|
|
5281
5280
|
});
|
|
5282
5281
|
}
|
|
5283
5282
|
|
|
5284
|
-
// ../play-runtime/worker-api-types.ts
|
|
5285
|
-
var DAYTONA_COMPUTE_PRICING_USD = {
|
|
5286
|
-
vcpuSecond: 14e-6,
|
|
5287
|
-
memoryGiBSecond: 45e-7,
|
|
5288
|
-
storageGiBSecond: 3e-8,
|
|
5289
|
-
includedStorageGiB: 5
|
|
5290
|
-
};
|
|
5291
|
-
var MODAL_SANDBOX_COMPUTE_PRICING_USD = {
|
|
5292
|
-
physicalCoreSecond: 3942e-8,
|
|
5293
|
-
memoryGiBSecond: 667e-8
|
|
5294
|
-
};
|
|
5295
|
-
var MODAL_SANDBOX_CPU_CORES = 0.5;
|
|
5296
|
-
function modalSandboxResourcesForPlay(input) {
|
|
5297
|
-
return {
|
|
5298
|
-
physicalCpuCores: MODAL_SANDBOX_CPU_CORES * input.cpu,
|
|
5299
|
-
memoryMiB: input.memoryGiB * 1024
|
|
5300
|
-
};
|
|
5301
|
-
}
|
|
5302
|
-
function roundUsd(amount) {
|
|
5303
|
-
return Number(Math.max(0, amount).toFixed(12));
|
|
5304
|
-
}
|
|
5305
|
-
function sandboxSizeMetadata(cpu, memoryGiB) {
|
|
5306
|
-
const entry = Object.entries(PLAY_SANDBOX_SIZE_LIMITS).find(
|
|
5307
|
-
([, limits]) => limits.cpu === cpu && limits.memoryGiB === memoryGiB
|
|
5308
|
-
);
|
|
5309
|
-
return entry ? { sandboxSize: entry[0] } : {};
|
|
5310
|
-
}
|
|
5311
|
-
function runtimeLimitMetadata(maxBillingDurationSeconds, observedWallTimeSeconds) {
|
|
5312
|
-
if (typeof maxBillingDurationSeconds !== "number" || !Number.isFinite(maxBillingDurationSeconds) || maxBillingDurationSeconds <= 0) {
|
|
5313
|
-
return {};
|
|
5314
|
-
}
|
|
5315
|
-
return {
|
|
5316
|
-
maxBillingDurationSeconds,
|
|
5317
|
-
...typeof observedWallTimeSeconds === "number" && Number.isFinite(observedWallTimeSeconds) ? { observedWallTimeSeconds: Math.max(0, observedWallTimeSeconds) } : {}
|
|
5318
|
-
};
|
|
5319
|
-
}
|
|
5320
|
-
function resolveDaytonaSandboxComputeItem(input) {
|
|
5321
|
-
const billableSeconds = Math.max(1, Math.ceil(input.wallTimeSeconds));
|
|
5322
|
-
const cpu = Math.max(0, input.cpu);
|
|
5323
|
-
const memoryGiB = Math.max(0, input.memoryGiB);
|
|
5324
|
-
const billableDiskGiB = Math.max(
|
|
5325
|
-
0,
|
|
5326
|
-
input.diskGiB - DAYTONA_COMPUTE_PRICING_USD.includedStorageGiB
|
|
5327
|
-
);
|
|
5328
|
-
const providerCostUsd = roundUsd(
|
|
5329
|
-
billableSeconds * (cpu * DAYTONA_COMPUTE_PRICING_USD.vcpuSecond + memoryGiB * DAYTONA_COMPUTE_PRICING_USD.memoryGiBSecond + billableDiskGiB * DAYTONA_COMPUTE_PRICING_USD.storageGiBSecond)
|
|
5330
|
-
);
|
|
5331
|
-
return {
|
|
5332
|
-
itemId: input.itemId,
|
|
5333
|
-
source: input.source ?? "daytona",
|
|
5334
|
-
unit: "sandbox_second",
|
|
5335
|
-
units: billableSeconds,
|
|
5336
|
-
providerCostUsd,
|
|
5337
|
-
metadata: {
|
|
5338
|
-
...sandboxSizeMetadata(cpu, memoryGiB),
|
|
5339
|
-
sandboxId: input.sandboxId ?? null,
|
|
5340
|
-
cpu,
|
|
5341
|
-
memoryGiB,
|
|
5342
|
-
diskGiB: Math.max(0, input.diskGiB),
|
|
5343
|
-
billableDiskGiB,
|
|
5344
|
-
startedAt: input.startedAt,
|
|
5345
|
-
endedAt: input.endedAt,
|
|
5346
|
-
...runtimeLimitMetadata(
|
|
5347
|
-
input.maxBillingDurationSeconds,
|
|
5348
|
-
input.observedWallTimeSeconds
|
|
5349
|
-
)
|
|
5350
|
-
}
|
|
5351
|
-
};
|
|
5352
|
-
}
|
|
5353
|
-
function resolveModalSandboxComputeItem(input) {
|
|
5354
|
-
const billableSeconds = Math.max(1, Math.ceil(input.wallTimeSeconds));
|
|
5355
|
-
const physicalCpuCores = Math.max(0, input.physicalCpuCores);
|
|
5356
|
-
const memoryGiB = Math.max(0, input.memoryGiB);
|
|
5357
|
-
const providerCostUsd = roundUsd(
|
|
5358
|
-
billableSeconds * (physicalCpuCores * MODAL_SANDBOX_COMPUTE_PRICING_USD.physicalCoreSecond + memoryGiB * MODAL_SANDBOX_COMPUTE_PRICING_USD.memoryGiBSecond)
|
|
5359
|
-
);
|
|
5360
|
-
return {
|
|
5361
|
-
itemId: input.itemId,
|
|
5362
|
-
source: "modal",
|
|
5363
|
-
unit: "sandbox_second",
|
|
5364
|
-
units: billableSeconds,
|
|
5365
|
-
providerCostUsd,
|
|
5366
|
-
metadata: {
|
|
5367
|
-
...sandboxSizeMetadata(
|
|
5368
|
-
physicalCpuCores / MODAL_SANDBOX_CPU_CORES,
|
|
5369
|
-
memoryGiB
|
|
5370
|
-
),
|
|
5371
|
-
sandboxId: input.sandboxId ?? null,
|
|
5372
|
-
physicalCpuCores,
|
|
5373
|
-
memoryGiB,
|
|
5374
|
-
...input.memoryLimitGiB === void 0 ? {} : {
|
|
5375
|
-
memoryLimitGiB: input.memoryLimitGiB,
|
|
5376
|
-
// The Preview evaluation preserves the existing compute price.
|
|
5377
|
-
// Sampled burst cost is diagnostic until provider billing can be
|
|
5378
|
-
// reconciled; a hard ceiling is never presented as actual usage.
|
|
5379
|
-
costBasis: "reserved_resources"
|
|
5380
|
-
},
|
|
5381
|
-
startedAt: input.startedAt,
|
|
5382
|
-
endedAt: input.endedAt,
|
|
5383
|
-
...runtimeLimitMetadata(
|
|
5384
|
-
input.maxBillingDurationSeconds,
|
|
5385
|
-
input.observedWallTimeSeconds
|
|
5386
|
-
)
|
|
5387
|
-
}
|
|
5388
|
-
};
|
|
5389
|
-
}
|
|
5390
|
-
|
|
5391
|
-
// ../play-runtime/runtime-constants.ts
|
|
5392
|
-
var STANDARD_PLAY_RUNTIME_LIMIT_SECONDS = 30 * 60;
|
|
5393
|
-
var PLAY_RUNNER_TERMINAL_GRACE_SECONDS = 90;
|
|
5394
|
-
var PLAY_RUNNER_STARTUP_GRACE_SECONDS = 4 * 60;
|
|
5395
|
-
var SANDBOX_NETWORK_CUT_MAX_MS = 11 * 6e4;
|
|
5396
|
-
var RUNNER_GATEWAY_CONNECTION_RETRY_BUDGET_MS = SANDBOX_NETWORK_CUT_MAX_MS + 6e4;
|
|
5397
|
-
var PLAY_RUNNER_TIMEOUT_SECONDS = 40 * 60;
|
|
5398
|
-
var WORKFLOW_EXECUTOR_TOKEN_TTL_SECONDS = MAX_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds + (PLAY_RUNNER_TIMEOUT_SECONDS - STANDARD_PLAY_RUNTIME_LIMIT_SECONDS);
|
|
5399
|
-
|
|
5400
|
-
// ../billing/compute-pricing-contract.ts
|
|
5401
|
-
var COMPUTE_BILLING_MARKUP_MULTIPLIER = 5;
|
|
5402
|
-
var DEFAULT_USD_PER_CUSTOMER_CREDIT = 0.1;
|
|
5403
|
-
var DEFAULT_PROVIDER_MARKUP_MULTIPLIER = 1.4;
|
|
5404
|
-
var MAX_SANDBOX_COMPUTE_BILLING_SECONDS = 60 * 60;
|
|
5405
|
-
var MAX_SANDBOX_COMPUTE_PROVIDER_COST_USD = Math.max(
|
|
5406
|
-
...Object.values(PLAY_SANDBOX_SIZE_LIMITS).flatMap((profile) => {
|
|
5407
|
-
const modalResources = modalSandboxResourcesForPlay(profile);
|
|
5408
|
-
return [
|
|
5409
|
-
resolveDaytonaSandboxComputeItem({
|
|
5410
|
-
itemId: "billing-cap",
|
|
5411
|
-
wallTimeSeconds: MAX_SANDBOX_COMPUTE_BILLING_SECONDS,
|
|
5412
|
-
cpu: profile.cpu,
|
|
5413
|
-
memoryGiB: profile.memoryGiB,
|
|
5414
|
-
diskGiB: profile.diskGiB
|
|
5415
|
-
}).providerCostUsd,
|
|
5416
|
-
resolveModalSandboxComputeItem({
|
|
5417
|
-
itemId: "billing-cap",
|
|
5418
|
-
wallTimeSeconds: MAX_SANDBOX_COMPUTE_BILLING_SECONDS,
|
|
5419
|
-
physicalCpuCores: modalResources.physicalCpuCores,
|
|
5420
|
-
memoryGiB: profile.memoryGiB
|
|
5421
|
-
}).providerCostUsd
|
|
5422
|
-
];
|
|
5423
|
-
})
|
|
5424
|
-
);
|
|
5425
|
-
function roundUpCredits(value) {
|
|
5426
|
-
if (!Number.isFinite(value) || value <= 0) return 0;
|
|
5427
|
-
return Math.ceil(value * 100) / 100;
|
|
5428
|
-
}
|
|
5429
|
-
function maximumPlaySandboxBillingSeconds(limits) {
|
|
5430
|
-
return Math.min(
|
|
5431
|
-
limits.timeoutSeconds + PLAY_RUNNER_TERMINAL_GRACE_SECONDS,
|
|
5432
|
-
MAX_SANDBOX_COMPUTE_BILLING_SECONDS
|
|
5433
|
-
);
|
|
5434
|
-
}
|
|
5435
|
-
function estimateDaytonaMaximumComputeCredits(limits) {
|
|
5436
|
-
const item = resolveDaytonaSandboxComputeItem({
|
|
5437
|
-
itemId: "estimate",
|
|
5438
|
-
wallTimeSeconds: maximumPlaySandboxBillingSeconds(limits),
|
|
5439
|
-
cpu: limits.cpu,
|
|
5440
|
-
memoryGiB: limits.memoryGiB,
|
|
5441
|
-
diskGiB: limits.diskGiB
|
|
5442
|
-
});
|
|
5443
|
-
return roundUpCredits(
|
|
5444
|
-
item.providerCostUsd * COMPUTE_BILLING_MARKUP_MULTIPLIER * DEFAULT_PROVIDER_MARKUP_MULTIPLIER / DEFAULT_USD_PER_CUSTOMER_CREDIT
|
|
5445
|
-
);
|
|
5446
|
-
}
|
|
5447
|
-
function estimateModalMaximumComputeCredits(limits, elasticMemory = false) {
|
|
5448
|
-
const resources = modalSandboxResourcesForPlay(limits);
|
|
5449
|
-
const item = resolveModalSandboxComputeItem({
|
|
5450
|
-
itemId: "estimate",
|
|
5451
|
-
wallTimeSeconds: maximumPlaySandboxBillingSeconds(limits),
|
|
5452
|
-
physicalCpuCores: resources.physicalCpuCores,
|
|
5453
|
-
memoryGiB: elasticMemory ? modalSandboxMemoryLimitGiBForPlay(limits) : limits.memoryGiB
|
|
5454
|
-
});
|
|
5455
|
-
return roundUpCredits(
|
|
5456
|
-
item.providerCostUsd * COMPUTE_BILLING_MARKUP_MULTIPLIER * DEFAULT_PROVIDER_MARKUP_MULTIPLIER / DEFAULT_USD_PER_CUSTOMER_CREDIT
|
|
5457
|
-
);
|
|
5458
|
-
}
|
|
5459
|
-
function estimateMaximumSandboxComputeCredits(limits, elasticMemory = false) {
|
|
5460
|
-
return Math.max(
|
|
5461
|
-
estimateDaytonaMaximumComputeCredits(limits),
|
|
5462
|
-
estimateModalMaximumComputeCredits(limits, elasticMemory)
|
|
5463
|
-
);
|
|
5464
|
-
}
|
|
5465
|
-
function formatNonStandardSandboxRuntimeWarning(limits) {
|
|
5466
|
-
const size = playSandboxSizeForLimits(limits);
|
|
5467
|
-
if (!size) return null;
|
|
5468
|
-
if (size === "standard" && limits.timeoutSeconds <= STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds) {
|
|
5469
|
-
return null;
|
|
5470
|
-
}
|
|
5471
|
-
const maximumComputeCredits = estimateMaximumSandboxComputeCredits(limits);
|
|
5472
|
-
const quotedTimeout = `${Math.ceil(limits.timeoutSeconds / 60)}m`;
|
|
5473
|
-
return `This Play requests the ${size} sandbox for up to ${limits.timeoutSeconds}s (${limits.memoryGiB}GiB memory, ${limits.cpu} CPU, ${limits.diskGiB}GiB disk). Resource-based pricing estimate: ${maximumComputeCredits.toFixed(2)} Deepline credits. Workspace plan pricing can differ. Run deepline billing quote --sandbox-timeout ${quotedTimeout} --sandbox-size ${size} for your workspace's session ceiling.`;
|
|
5474
|
-
}
|
|
5475
|
-
|
|
5476
5283
|
// ../play-runtime/internal-step-ids.ts
|
|
5477
5284
|
var INTERNAL_GLUE_NODE_ID_PREFIX = "run_javascript:";
|
|
5478
5285
|
function isInternalGlueStepId(stepId) {
|
|
@@ -16731,7 +16538,7 @@ Examples:
|
|
|
16731
16538
|
process.exitCode = await ownView();
|
|
16732
16539
|
return;
|
|
16733
16540
|
}
|
|
16734
|
-
const { describeAnything } = await import("./describe-
|
|
16541
|
+
const { describeAnything } = await import("./describe-NCKAJPUG.mjs");
|
|
16735
16542
|
process.exitCode = await describeAnything(
|
|
16736
16543
|
name,
|
|
16737
16544
|
{
|
|
@@ -17069,7 +16876,7 @@ Examples:
|
|
|
17069
16876
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17070
16877
|
).action(async (runId, options) => {
|
|
17071
16878
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17072
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
16879
|
+
const { getToolExecutionReceipt } = await import("./tools-SKQTSVGE.mjs");
|
|
17073
16880
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17074
16881
|
receiptJson: options.json !== void 0
|
|
17075
16882
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-52FPW2RD.mjs";
|
|
4
|
+
import "./chunk-4OFSAZN6.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-N4TR6QRI.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -9,13 +9,13 @@ import "./chunk-BMCRTI6Z.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope,
|
|
11
11
|
shouldEmitJson
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-PZN24YQQ.mjs";
|
|
13
|
+
import "./chunk-SHKRL7CW.mjs";
|
|
14
|
+
import "./chunk-7AD565DO.mjs";
|
|
15
15
|
import "./chunk-4QF2K7TM.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-HBL4PM5Q.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-6U3AGJWI.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkIDAE5VDHjs = require('./chunk-IDAE5VDH.js');
|
|
4
|
+
require('./chunk-BWAYMJ23.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-RNSHCJME.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
@@ -9,21 +9,21 @@ require('./chunk-WSGXBROE.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
|
|
13
|
+
require('./chunk-ZLN2B5YA.js');
|
|
14
|
+
require('./chunk-SPN7U3MV.js');
|
|
15
15
|
require('./chunk-ALJJRZNJ.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-DIAWYWT5.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-XHPB6RGY.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/providers.ts
|
|
23
23
|
async function listProviders(options = {}) {
|
|
24
|
-
const client = new (0,
|
|
24
|
+
const client = new (0, _chunkIDAE5VDHjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkEMUFF6EUjs.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -42,7 +42,7 @@ async function listProviders(options = {}) {
|
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
|
|
46
46
|
{
|
|
47
47
|
providers,
|
|
48
48
|
count: providers.length,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PZN24YQQ.mjs";
|
|
5
|
+
import "./chunk-SHKRL7CW.mjs";
|
|
6
|
+
import "./chunk-7AD565DO.mjs";
|
|
7
7
|
import "./chunk-4QF2K7TM.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-HBL4PM5Q.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6U3AGJWI.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
|
|
5
|
+
require('./chunk-ZLN2B5YA.js');
|
|
6
|
+
require('./chunk-SPN7U3MV.js');
|
|
7
7
|
require('./chunk-ALJJRZNJ.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-DIAWYWT5.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-XHPB6RGY.js');
|
|
11
11
|
require('./chunk-OG64RBAC.js');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -17,12 +17,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/quickstart.ts
|
|
19
19
|
async function handleQuickstart(options) {
|
|
20
|
-
const jsonOutput =
|
|
20
|
+
const jsonOutput = _chunkEMUFF6EUjs.shouldEmitJson.call(void 0, options.json === true);
|
|
21
21
|
const gettingStarted = {
|
|
22
22
|
skill: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
23
23
|
examples: _chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
|
|
26
26
|
{
|
|
27
27
|
ok: true,
|
|
28
28
|
status: "deprecated",
|