deepline 0.1.251 → 0.1.253
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 +5 -2
- package/dist/bundling-sources/sdk/src/types.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +79 -64
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +37 -35
- package/dist/bundling-sources/shared_libs/play-runtime/ledger-safe-payload.ts +20 -5
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +462 -29
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +11 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +44 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +7 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +98 -13
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +117 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +19 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-contract.ts +22 -0
- package/dist/cli/index.js +47 -23
- package/dist/cli/index.mjs +47 -23
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10 -5
- package/dist/index.mjs +10 -5
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -632,8 +632,11 @@ var SDK_RELEASE = {
|
|
|
632
632
|
// runtime intentionally no longer compiles at publish or launch time.
|
|
633
633
|
// 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
|
|
634
634
|
// deploy-time artifact migration. Play authoring now has one CJS contract.
|
|
635
|
-
|
|
636
|
-
|
|
635
|
+
// 0.1.252 hard-cuts the customer Monitor catalog to the two launched
|
|
636
|
+
// Deepline-native radars. Older clients must update before discovering,
|
|
637
|
+
// checking, or deploying an unlaunched monitor integration.
|
|
638
|
+
version: "0.1.253",
|
|
639
|
+
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
637
640
|
supportPolicy: {
|
|
638
641
|
minimumSupported: "0.1.53",
|
|
639
642
|
deprecatedBelow: "0.1.219",
|
|
@@ -1479,12 +1482,14 @@ function createSecretRedactionContext(initialValues = []) {
|
|
|
1479
1482
|
}
|
|
1480
1483
|
|
|
1481
1484
|
// ../shared_libs/play-runtime/output-size-limits.ts
|
|
1482
|
-
var
|
|
1485
|
+
var TERMINAL_RUN_RESULT_MAX_BYTES = 6 * 1024 * 1024;
|
|
1483
1486
|
var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
|
|
1484
|
-
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES =
|
|
1485
|
-
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES =
|
|
1487
|
+
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 5 * 1024 * 1024;
|
|
1488
|
+
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 5 * 1024 * 1024;
|
|
1486
1489
|
var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
|
|
1487
1490
|
var RUNTIME_RECEIPT_COMPLETION_BUFFER_MAX_BYTES = 32 * 1024 * 1024;
|
|
1491
|
+
var RUNNER_TERMINAL_PUSH_MAX_BODY_BYTES = 16 * 1024 * 1024;
|
|
1492
|
+
var RUNNER_POST_TERMINAL_DIAGNOSTIC_MAX_BYTES = 64 * 1024;
|
|
1488
1493
|
|
|
1489
1494
|
// ../shared_libs/play-runtime/ledger-safe-payload.ts
|
|
1490
1495
|
var ledgerIngressRedactor = createSecretRedactionContext();
|
|
@@ -9216,8 +9221,8 @@ var PLAY_BOOTSTRAP_STAGE_NAMES = [
|
|
|
9216
9221
|
"phone"
|
|
9217
9222
|
];
|
|
9218
9223
|
var MONITOR_BOOTSTRAP_TEMPLATE = "monitor-triggered";
|
|
9219
|
-
var MONITOR_BOOTSTRAP_DEFAULT_TOOL = "
|
|
9220
|
-
var MONITOR_BOOTSTRAP_DEFAULT_STREAM = "
|
|
9224
|
+
var MONITOR_BOOTSTRAP_DEFAULT_TOOL = "deepline_native.company_radar";
|
|
9225
|
+
var MONITOR_BOOTSTRAP_DEFAULT_STREAM = "company_job_openings";
|
|
9221
9226
|
function isMonitorBootstrapTemplate(value) {
|
|
9222
9227
|
return value === MONITOR_BOOTSTRAP_TEMPLATE;
|
|
9223
9228
|
}
|
|
@@ -10644,8 +10649,8 @@ Notes:
|
|
|
10644
10649
|
(definePlay with sqlListeners; no --from/stage flags)
|
|
10645
10650
|
|
|
10646
10651
|
Monitor-triggered options (only for the monitor-triggered template):
|
|
10647
|
-
--tool <monitor-tool-id> monitor tool to bind (default
|
|
10648
|
-
--stream <stream-key> output stream to listen on (default
|
|
10652
|
+
--tool <monitor-tool-id> monitor tool to bind (default deepline_native.company_radar)
|
|
10653
|
+
--stream <stream-key> output stream to listen on (default company_job_openings)
|
|
10649
10654
|
Discover a tool's streams/columns with: deepline monitors available <id>
|
|
10650
10655
|
|
|
10651
10656
|
Resource refs:
|
|
@@ -10697,10 +10702,10 @@ Examples:
|
|
|
10697
10702
|
"Phone finder stage: play:REF, provider:ID, or providers:ID,ID"
|
|
10698
10703
|
).option("--limit <n>", "Maximum rows to fan out in the generated play").option(
|
|
10699
10704
|
"--tool <id>",
|
|
10700
|
-
"monitor-triggered only: monitor tool id to bind (e.g.
|
|
10705
|
+
"monitor-triggered only: monitor tool id to bind (e.g. deepline_native.company_radar)"
|
|
10701
10706
|
).option(
|
|
10702
10707
|
"--stream <key>",
|
|
10703
|
-
"monitor-triggered only: monitor output stream to listen on (e.g.
|
|
10708
|
+
"monitor-triggered only: monitor output stream to listen on (e.g. company_job_openings)"
|
|
10704
10709
|
).option("--out <path>", "Write generated play source to a file").action(async (template, options) => {
|
|
10705
10710
|
process.exitCode = await handlePlayBootstrap([
|
|
10706
10711
|
template,
|
|
@@ -13327,15 +13332,24 @@ function collectDatasetHandleLines(value, path = "result") {
|
|
|
13327
13332
|
return lines;
|
|
13328
13333
|
}
|
|
13329
13334
|
function buildRunWarnings(status, rowsInfo) {
|
|
13335
|
+
const result = readRecord(status.result);
|
|
13336
|
+
const metadata = readRecord(result?._metadata);
|
|
13337
|
+
const outputWarnings = Array.isArray(metadata?.outputWarnings) ? metadata.outputWarnings.map((warning) => readRecord(warning)).filter((warning) => {
|
|
13338
|
+
if (!warning) return false;
|
|
13339
|
+
return !(rowsInfo && !rowsInfo.complete && warning.reason === "array_preview_limit" && warning.originalItems === rowsInfo.totalRows && warning.retainedItems === rowsInfo.rows.length);
|
|
13340
|
+
}).map((warning) => warning?.message).filter(
|
|
13341
|
+
(message) => typeof message === "string" && message.trim().length > 0
|
|
13342
|
+
).slice(0, 16) : [];
|
|
13330
13343
|
if (status.status === "completed" && rowsInfo?.totalRows === 0) {
|
|
13331
|
-
return ["Run completed with 0 output rows."];
|
|
13344
|
+
return ["Run completed with 0 output rows.", ...outputWarnings];
|
|
13332
13345
|
}
|
|
13333
13346
|
if (rowsInfo && !rowsInfo.complete) {
|
|
13334
13347
|
return [
|
|
13335
|
-
`Run output is partial: showing ${rowsInfo.rows.length} preview row(s) of ${rowsInfo.totalRows}
|
|
13348
|
+
`Run output is partial: showing ${rowsInfo.rows.length} preview row(s) of ${rowsInfo.totalRows}.`,
|
|
13349
|
+
...outputWarnings
|
|
13336
13350
|
];
|
|
13337
13351
|
}
|
|
13338
|
-
return
|
|
13352
|
+
return outputWarnings;
|
|
13339
13353
|
}
|
|
13340
13354
|
function buildRunNextCommands(status) {
|
|
13341
13355
|
const runId = status.runId?.trim();
|
|
@@ -14061,6 +14075,14 @@ function buildRunPackageTextLines(packaged) {
|
|
|
14061
14075
|
if (failedLogWarning) {
|
|
14062
14076
|
lines.push(` warning: ${failedLogWarning}`);
|
|
14063
14077
|
}
|
|
14078
|
+
const packageWarnings = Array.isArray(packaged.warnings) ? Array.from(
|
|
14079
|
+
new Set(
|
|
14080
|
+
packaged.warnings.filter(
|
|
14081
|
+
(warning) => typeof warning === "string" && warning.trim().length > 0
|
|
14082
|
+
)
|
|
14083
|
+
)
|
|
14084
|
+
).slice(0, 16) : [];
|
|
14085
|
+
lines.push(...packageWarnings.map((warning) => ` warning: ${warning}`));
|
|
14064
14086
|
const failedLogNext = readRecord(failedLogs?.next);
|
|
14065
14087
|
if (failedLogWarning && typeof failedLogNext?.logs === "string") {
|
|
14066
14088
|
lines.push(
|
|
@@ -24223,7 +24245,7 @@ function resolveMonitorJsonBody(input2) {
|
|
|
24223
24245
|
}
|
|
24224
24246
|
throw new MonitorsUsageError(
|
|
24225
24247
|
`${input2.command} needs ${input2.argLabel} (a JSON object). Pass it positionally:
|
|
24226
|
-
${input2.command} '{"key":"
|
|
24248
|
+
${input2.command} '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24227
24249
|
or from a file / stdin:
|
|
24228
24250
|
${input2.command} --file monitor.json
|
|
24229
24251
|
cat monitor.json | ${input2.command} --file -`
|
|
@@ -24768,9 +24790,11 @@ function registerMonitorsCommands(program) {
|
|
|
24768
24790
|
"after",
|
|
24769
24791
|
`
|
|
24770
24792
|
Notes:
|
|
24771
|
-
Deepline monitors are
|
|
24772
|
-
|
|
24793
|
+
Deepline monitors are Deepline-native signal feeds: a monitor writes events
|
|
24794
|
+
into a Customer DB table; a play reacts to each new row via a
|
|
24773
24795
|
sqlListeners trigger \u2014 see \`deepline plays bootstrap monitor-triggered\`.
|
|
24796
|
+
The customer launch currently includes Company Radar and Contact Radar; use
|
|
24797
|
+
\`deepline monitors available\` for the exact live tool ids.
|
|
24774
24798
|
Access is granted by a Deepline admin via Admin -> Rollouts; until then these
|
|
24775
24799
|
commands return a clear monitor_access_required error.
|
|
24776
24800
|
|
|
@@ -24783,8 +24807,8 @@ Examples:
|
|
|
24783
24807
|
deepline monitors status --json
|
|
24784
24808
|
deepline monitors available --json # compact list by default
|
|
24785
24809
|
deepline monitors available --full --json # complete catalog
|
|
24786
|
-
deepline monitors available
|
|
24787
|
-
deepline monitors check '{"key":"
|
|
24810
|
+
deepline monitors available deepline_native.company_radar --json
|
|
24811
|
+
deepline monitors check '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24788
24812
|
deepline monitors deploy --dry-run --file monitor.json
|
|
24789
24813
|
deepline monitors deploy --file monitor.json
|
|
24790
24814
|
deepline monitors list --status all --json
|
|
@@ -24828,8 +24852,8 @@ Notes:
|
|
|
24828
24852
|
Examples:
|
|
24829
24853
|
deepline monitors available
|
|
24830
24854
|
deepline monitors available --full --json
|
|
24831
|
-
deepline monitors available --provider
|
|
24832
|
-
deepline monitors available
|
|
24855
|
+
deepline monitors available --provider deepline_native --json
|
|
24856
|
+
deepline monitors available deepline_native.company_radar --json
|
|
24833
24857
|
deepline monitors available --search jobs --json
|
|
24834
24858
|
`
|
|
24835
24859
|
).option("--provider <provider>", "Filter by provider").option(
|
|
@@ -24884,7 +24908,7 @@ Notes:
|
|
|
24884
24908
|
from stdin with --file -. Does not deploy or spend credits.
|
|
24885
24909
|
|
|
24886
24910
|
Examples:
|
|
24887
|
-
deepline monitors check '{"key":"
|
|
24911
|
+
deepline monitors check '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24888
24912
|
deepline monitors check --file monitor.json
|
|
24889
24913
|
cat monitor.json | deepline monitors check --file -
|
|
24890
24914
|
`
|
|
@@ -24906,7 +24930,7 @@ Notes:
|
|
|
24906
24930
|
already cover this scope) WITHOUT deploying. Exits 0 when valid, 7 when not.
|
|
24907
24931
|
|
|
24908
24932
|
Examples:
|
|
24909
|
-
deepline monitors deploy '{"key":"
|
|
24933
|
+
deepline monitors deploy '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24910
24934
|
deepline monitors deploy --dry-run --file monitor.json
|
|
24911
24935
|
deepline monitors deploy --file monitor.json
|
|
24912
24936
|
`
|
package/dist/cli/index.mjs
CHANGED
|
@@ -617,8 +617,11 @@ var SDK_RELEASE = {
|
|
|
617
617
|
// runtime intentionally no longer compiles at publish or launch time.
|
|
618
618
|
// 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
|
|
619
619
|
// deploy-time artifact migration. Play authoring now has one CJS contract.
|
|
620
|
-
|
|
621
|
-
|
|
620
|
+
// 0.1.252 hard-cuts the customer Monitor catalog to the two launched
|
|
621
|
+
// Deepline-native radars. Older clients must update before discovering,
|
|
622
|
+
// checking, or deploying an unlaunched monitor integration.
|
|
623
|
+
version: "0.1.253",
|
|
624
|
+
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
622
625
|
supportPolicy: {
|
|
623
626
|
minimumSupported: "0.1.53",
|
|
624
627
|
deprecatedBelow: "0.1.219",
|
|
@@ -1464,12 +1467,14 @@ function createSecretRedactionContext(initialValues = []) {
|
|
|
1464
1467
|
}
|
|
1465
1468
|
|
|
1466
1469
|
// ../shared_libs/play-runtime/output-size-limits.ts
|
|
1467
|
-
var
|
|
1470
|
+
var TERMINAL_RUN_RESULT_MAX_BYTES = 6 * 1024 * 1024;
|
|
1468
1471
|
var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
|
|
1469
|
-
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES =
|
|
1470
|
-
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES =
|
|
1472
|
+
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 5 * 1024 * 1024;
|
|
1473
|
+
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 5 * 1024 * 1024;
|
|
1471
1474
|
var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
|
|
1472
1475
|
var RUNTIME_RECEIPT_COMPLETION_BUFFER_MAX_BYTES = 32 * 1024 * 1024;
|
|
1476
|
+
var RUNNER_TERMINAL_PUSH_MAX_BODY_BYTES = 16 * 1024 * 1024;
|
|
1477
|
+
var RUNNER_POST_TERMINAL_DIAGNOSTIC_MAX_BYTES = 64 * 1024;
|
|
1473
1478
|
|
|
1474
1479
|
// ../shared_libs/play-runtime/ledger-safe-payload.ts
|
|
1475
1480
|
var ledgerIngressRedactor = createSecretRedactionContext();
|
|
@@ -9245,8 +9250,8 @@ var PLAY_BOOTSTRAP_STAGE_NAMES = [
|
|
|
9245
9250
|
"phone"
|
|
9246
9251
|
];
|
|
9247
9252
|
var MONITOR_BOOTSTRAP_TEMPLATE = "monitor-triggered";
|
|
9248
|
-
var MONITOR_BOOTSTRAP_DEFAULT_TOOL = "
|
|
9249
|
-
var MONITOR_BOOTSTRAP_DEFAULT_STREAM = "
|
|
9253
|
+
var MONITOR_BOOTSTRAP_DEFAULT_TOOL = "deepline_native.company_radar";
|
|
9254
|
+
var MONITOR_BOOTSTRAP_DEFAULT_STREAM = "company_job_openings";
|
|
9250
9255
|
function isMonitorBootstrapTemplate(value) {
|
|
9251
9256
|
return value === MONITOR_BOOTSTRAP_TEMPLATE;
|
|
9252
9257
|
}
|
|
@@ -10673,8 +10678,8 @@ Notes:
|
|
|
10673
10678
|
(definePlay with sqlListeners; no --from/stage flags)
|
|
10674
10679
|
|
|
10675
10680
|
Monitor-triggered options (only for the monitor-triggered template):
|
|
10676
|
-
--tool <monitor-tool-id> monitor tool to bind (default
|
|
10677
|
-
--stream <stream-key> output stream to listen on (default
|
|
10681
|
+
--tool <monitor-tool-id> monitor tool to bind (default deepline_native.company_radar)
|
|
10682
|
+
--stream <stream-key> output stream to listen on (default company_job_openings)
|
|
10678
10683
|
Discover a tool's streams/columns with: deepline monitors available <id>
|
|
10679
10684
|
|
|
10680
10685
|
Resource refs:
|
|
@@ -10726,10 +10731,10 @@ Examples:
|
|
|
10726
10731
|
"Phone finder stage: play:REF, provider:ID, or providers:ID,ID"
|
|
10727
10732
|
).option("--limit <n>", "Maximum rows to fan out in the generated play").option(
|
|
10728
10733
|
"--tool <id>",
|
|
10729
|
-
"monitor-triggered only: monitor tool id to bind (e.g.
|
|
10734
|
+
"monitor-triggered only: monitor tool id to bind (e.g. deepline_native.company_radar)"
|
|
10730
10735
|
).option(
|
|
10731
10736
|
"--stream <key>",
|
|
10732
|
-
"monitor-triggered only: monitor output stream to listen on (e.g.
|
|
10737
|
+
"monitor-triggered only: monitor output stream to listen on (e.g. company_job_openings)"
|
|
10733
10738
|
).option("--out <path>", "Write generated play source to a file").action(async (template, options) => {
|
|
10734
10739
|
process.exitCode = await handlePlayBootstrap([
|
|
10735
10740
|
template,
|
|
@@ -13356,15 +13361,24 @@ function collectDatasetHandleLines(value, path = "result") {
|
|
|
13356
13361
|
return lines;
|
|
13357
13362
|
}
|
|
13358
13363
|
function buildRunWarnings(status, rowsInfo) {
|
|
13364
|
+
const result = readRecord(status.result);
|
|
13365
|
+
const metadata = readRecord(result?._metadata);
|
|
13366
|
+
const outputWarnings = Array.isArray(metadata?.outputWarnings) ? metadata.outputWarnings.map((warning) => readRecord(warning)).filter((warning) => {
|
|
13367
|
+
if (!warning) return false;
|
|
13368
|
+
return !(rowsInfo && !rowsInfo.complete && warning.reason === "array_preview_limit" && warning.originalItems === rowsInfo.totalRows && warning.retainedItems === rowsInfo.rows.length);
|
|
13369
|
+
}).map((warning) => warning?.message).filter(
|
|
13370
|
+
(message) => typeof message === "string" && message.trim().length > 0
|
|
13371
|
+
).slice(0, 16) : [];
|
|
13359
13372
|
if (status.status === "completed" && rowsInfo?.totalRows === 0) {
|
|
13360
|
-
return ["Run completed with 0 output rows."];
|
|
13373
|
+
return ["Run completed with 0 output rows.", ...outputWarnings];
|
|
13361
13374
|
}
|
|
13362
13375
|
if (rowsInfo && !rowsInfo.complete) {
|
|
13363
13376
|
return [
|
|
13364
|
-
`Run output is partial: showing ${rowsInfo.rows.length} preview row(s) of ${rowsInfo.totalRows}
|
|
13377
|
+
`Run output is partial: showing ${rowsInfo.rows.length} preview row(s) of ${rowsInfo.totalRows}.`,
|
|
13378
|
+
...outputWarnings
|
|
13365
13379
|
];
|
|
13366
13380
|
}
|
|
13367
|
-
return
|
|
13381
|
+
return outputWarnings;
|
|
13368
13382
|
}
|
|
13369
13383
|
function buildRunNextCommands(status) {
|
|
13370
13384
|
const runId = status.runId?.trim();
|
|
@@ -14090,6 +14104,14 @@ function buildRunPackageTextLines(packaged) {
|
|
|
14090
14104
|
if (failedLogWarning) {
|
|
14091
14105
|
lines.push(` warning: ${failedLogWarning}`);
|
|
14092
14106
|
}
|
|
14107
|
+
const packageWarnings = Array.isArray(packaged.warnings) ? Array.from(
|
|
14108
|
+
new Set(
|
|
14109
|
+
packaged.warnings.filter(
|
|
14110
|
+
(warning) => typeof warning === "string" && warning.trim().length > 0
|
|
14111
|
+
)
|
|
14112
|
+
)
|
|
14113
|
+
).slice(0, 16) : [];
|
|
14114
|
+
lines.push(...packageWarnings.map((warning) => ` warning: ${warning}`));
|
|
14093
14115
|
const failedLogNext = readRecord(failedLogs?.next);
|
|
14094
14116
|
if (failedLogWarning && typeof failedLogNext?.logs === "string") {
|
|
14095
14117
|
lines.push(
|
|
@@ -24259,7 +24281,7 @@ function resolveMonitorJsonBody(input2) {
|
|
|
24259
24281
|
}
|
|
24260
24282
|
throw new MonitorsUsageError(
|
|
24261
24283
|
`${input2.command} needs ${input2.argLabel} (a JSON object). Pass it positionally:
|
|
24262
|
-
${input2.command} '{"key":"
|
|
24284
|
+
${input2.command} '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24263
24285
|
or from a file / stdin:
|
|
24264
24286
|
${input2.command} --file monitor.json
|
|
24265
24287
|
cat monitor.json | ${input2.command} --file -`
|
|
@@ -24804,9 +24826,11 @@ function registerMonitorsCommands(program) {
|
|
|
24804
24826
|
"after",
|
|
24805
24827
|
`
|
|
24806
24828
|
Notes:
|
|
24807
|
-
Deepline monitors are
|
|
24808
|
-
|
|
24829
|
+
Deepline monitors are Deepline-native signal feeds: a monitor writes events
|
|
24830
|
+
into a Customer DB table; a play reacts to each new row via a
|
|
24809
24831
|
sqlListeners trigger \u2014 see \`deepline plays bootstrap monitor-triggered\`.
|
|
24832
|
+
The customer launch currently includes Company Radar and Contact Radar; use
|
|
24833
|
+
\`deepline monitors available\` for the exact live tool ids.
|
|
24810
24834
|
Access is granted by a Deepline admin via Admin -> Rollouts; until then these
|
|
24811
24835
|
commands return a clear monitor_access_required error.
|
|
24812
24836
|
|
|
@@ -24819,8 +24843,8 @@ Examples:
|
|
|
24819
24843
|
deepline monitors status --json
|
|
24820
24844
|
deepline monitors available --json # compact list by default
|
|
24821
24845
|
deepline monitors available --full --json # complete catalog
|
|
24822
|
-
deepline monitors available
|
|
24823
|
-
deepline monitors check '{"key":"
|
|
24846
|
+
deepline monitors available deepline_native.company_radar --json
|
|
24847
|
+
deepline monitors check '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24824
24848
|
deepline monitors deploy --dry-run --file monitor.json
|
|
24825
24849
|
deepline monitors deploy --file monitor.json
|
|
24826
24850
|
deepline monitors list --status all --json
|
|
@@ -24864,8 +24888,8 @@ Notes:
|
|
|
24864
24888
|
Examples:
|
|
24865
24889
|
deepline monitors available
|
|
24866
24890
|
deepline monitors available --full --json
|
|
24867
|
-
deepline monitors available --provider
|
|
24868
|
-
deepline monitors available
|
|
24891
|
+
deepline monitors available --provider deepline_native --json
|
|
24892
|
+
deepline monitors available deepline_native.company_radar --json
|
|
24869
24893
|
deepline monitors available --search jobs --json
|
|
24870
24894
|
`
|
|
24871
24895
|
).option("--provider <provider>", "Filter by provider").option(
|
|
@@ -24920,7 +24944,7 @@ Notes:
|
|
|
24920
24944
|
from stdin with --file -. Does not deploy or spend credits.
|
|
24921
24945
|
|
|
24922
24946
|
Examples:
|
|
24923
|
-
deepline monitors check '{"key":"
|
|
24947
|
+
deepline monitors check '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24924
24948
|
deepline monitors check --file monitor.json
|
|
24925
24949
|
cat monitor.json | deepline monitors check --file -
|
|
24926
24950
|
`
|
|
@@ -24942,7 +24966,7 @@ Notes:
|
|
|
24942
24966
|
already cover this scope) WITHOUT deploying. Exits 0 when valid, 7 when not.
|
|
24943
24967
|
|
|
24944
24968
|
Examples:
|
|
24945
|
-
deepline monitors deploy '{"key":"
|
|
24969
|
+
deepline monitors deploy '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
24946
24970
|
deepline monitors deploy --dry-run --file monitor.json
|
|
24947
24971
|
deepline monitors deploy --file monitor.json
|
|
24948
24972
|
`
|
package/dist/index.d.mts
CHANGED
|
@@ -546,6 +546,8 @@ interface PlayRunPackage {
|
|
|
546
546
|
durationMs?: number | null;
|
|
547
547
|
error?: string;
|
|
548
548
|
};
|
|
549
|
+
/** Bounded customer-safe warnings about output projection or availability. */
|
|
550
|
+
warnings?: string[];
|
|
549
551
|
/** Step-level summaries emitted by the runtime. */
|
|
550
552
|
steps: Array<Record<string, unknown>>;
|
|
551
553
|
/** Named output summaries, including dataset handles and scalar outputs. */
|
package/dist/index.d.ts
CHANGED
|
@@ -546,6 +546,8 @@ interface PlayRunPackage {
|
|
|
546
546
|
durationMs?: number | null;
|
|
547
547
|
error?: string;
|
|
548
548
|
};
|
|
549
|
+
/** Bounded customer-safe warnings about output projection or availability. */
|
|
550
|
+
warnings?: string[];
|
|
549
551
|
/** Step-level summaries emitted by the runtime. */
|
|
550
552
|
steps: Array<Record<string, unknown>>;
|
|
551
553
|
/** Named output summaries, including dataset handles and scalar outputs. */
|
package/dist/index.js
CHANGED
|
@@ -431,8 +431,11 @@ var SDK_RELEASE = {
|
|
|
431
431
|
// runtime intentionally no longer compiles at publish or launch time.
|
|
432
432
|
// 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
|
|
433
433
|
// deploy-time artifact migration. Play authoring now has one CJS contract.
|
|
434
|
-
|
|
435
|
-
|
|
434
|
+
// 0.1.252 hard-cuts the customer Monitor catalog to the two launched
|
|
435
|
+
// Deepline-native radars. Older clients must update before discovering,
|
|
436
|
+
// checking, or deploying an unlaunched monitor integration.
|
|
437
|
+
version: "0.1.253",
|
|
438
|
+
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
436
439
|
supportPolicy: {
|
|
437
440
|
minimumSupported: "0.1.53",
|
|
438
441
|
deprecatedBelow: "0.1.219",
|
|
@@ -1278,12 +1281,14 @@ function createSecretRedactionContext(initialValues = []) {
|
|
|
1278
1281
|
}
|
|
1279
1282
|
|
|
1280
1283
|
// ../shared_libs/play-runtime/output-size-limits.ts
|
|
1281
|
-
var
|
|
1284
|
+
var TERMINAL_RUN_RESULT_MAX_BYTES = 6 * 1024 * 1024;
|
|
1282
1285
|
var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
|
|
1283
|
-
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES =
|
|
1284
|
-
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES =
|
|
1286
|
+
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 5 * 1024 * 1024;
|
|
1287
|
+
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 5 * 1024 * 1024;
|
|
1285
1288
|
var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
|
|
1286
1289
|
var RUNTIME_RECEIPT_COMPLETION_BUFFER_MAX_BYTES = 32 * 1024 * 1024;
|
|
1290
|
+
var RUNNER_TERMINAL_PUSH_MAX_BODY_BYTES = 16 * 1024 * 1024;
|
|
1291
|
+
var RUNNER_POST_TERMINAL_DIAGNOSTIC_MAX_BYTES = 64 * 1024;
|
|
1287
1292
|
|
|
1288
1293
|
// ../shared_libs/play-runtime/ledger-safe-payload.ts
|
|
1289
1294
|
var ledgerIngressRedactor = createSecretRedactionContext();
|
package/dist/index.mjs
CHANGED
|
@@ -361,8 +361,11 @@ var SDK_RELEASE = {
|
|
|
361
361
|
// runtime intentionally no longer compiles at publish or launch time.
|
|
362
362
|
// 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
|
|
363
363
|
// deploy-time artifact migration. Play authoring now has one CJS contract.
|
|
364
|
-
|
|
365
|
-
|
|
364
|
+
// 0.1.252 hard-cuts the customer Monitor catalog to the two launched
|
|
365
|
+
// Deepline-native radars. Older clients must update before discovering,
|
|
366
|
+
// checking, or deploying an unlaunched monitor integration.
|
|
367
|
+
version: "0.1.253",
|
|
368
|
+
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
366
369
|
supportPolicy: {
|
|
367
370
|
minimumSupported: "0.1.53",
|
|
368
371
|
deprecatedBelow: "0.1.219",
|
|
@@ -1208,12 +1211,14 @@ function createSecretRedactionContext(initialValues = []) {
|
|
|
1208
1211
|
}
|
|
1209
1212
|
|
|
1210
1213
|
// ../shared_libs/play-runtime/output-size-limits.ts
|
|
1211
|
-
var
|
|
1214
|
+
var TERMINAL_RUN_RESULT_MAX_BYTES = 6 * 1024 * 1024;
|
|
1212
1215
|
var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
|
|
1213
|
-
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES =
|
|
1214
|
-
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES =
|
|
1216
|
+
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 5 * 1024 * 1024;
|
|
1217
|
+
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 5 * 1024 * 1024;
|
|
1215
1218
|
var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
|
|
1216
1219
|
var RUNTIME_RECEIPT_COMPLETION_BUFFER_MAX_BYTES = 32 * 1024 * 1024;
|
|
1220
|
+
var RUNNER_TERMINAL_PUSH_MAX_BODY_BYTES = 16 * 1024 * 1024;
|
|
1221
|
+
var RUNNER_POST_TERMINAL_DIAGNOSTIC_MAX_BYTES = 64 * 1024;
|
|
1217
1222
|
|
|
1218
1223
|
// ../shared_libs/play-runtime/ledger-safe-payload.ts
|
|
1219
1224
|
var ledgerIngressRedactor = createSecretRedactionContext();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepline",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.253",
|
|
4
4
|
"description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"typescript": "^5.9.3"
|
|
63
63
|
},
|
|
64
64
|
"deepline": {
|
|
65
|
-
"apiContract": "2026-07-
|
|
65
|
+
"apiContract": "2026-07-native-monitor-launch-hard-cutover"
|
|
66
66
|
}
|
|
67
67
|
}
|