deepline 0.3.370 → 0.3.372
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/README.md +1 -1
- package/dist/bundling-sources/sdk/src/client.ts +8 -8
- package/dist/bundling-sources/sdk/src/release.ts +1 -7
- package/dist/bundling-sources/sdk/src/runs/overview.ts +7 -7
- package/dist/bundling-sources/sdk/src/tool-output.ts +5 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -2
- package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -5
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +18 -18
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/dataset-lifecycle-log.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +34 -9
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +15 -3
- package/dist/cli/auth-4SXMV3CD.js +33 -0
- package/dist/cli/{auth-RIH4S7NC.mjs → auth-ODSACXLF.mjs} +4 -4
- package/dist/cli/{billing-Q65H5GJM.js → billing-4ERXY2DZ.js} +148 -148
- package/dist/cli/{billing-ERNGN6WK.mjs → billing-OPIOZLAN.mjs} +79 -79
- package/dist/cli/{chunk-MX53GIOB.js → chunk-2JRRXXTA.js} +2 -2
- package/dist/cli/{chunk-H4IQJRFC.mjs → chunk-2RC5JQ3C.mjs} +9 -9
- package/dist/cli/{chunk-IDBLJSLL.mjs → chunk-3CTB7V5F.mjs} +5 -5
- package/dist/cli/{chunk-Z6B4UPM4.mjs → chunk-3GK3SH3G.mjs} +2 -2
- package/dist/cli/{chunk-RLXMRC6P.mjs → chunk-46JCJ7FT.mjs} +49 -96
- package/dist/cli/{chunk-YQMUTC2H.mjs → chunk-4LIUZ4QR.mjs} +11 -11
- package/dist/cli/{chunk-BGXG3GEI.mjs → chunk-5HYD3GMS.mjs} +5 -5
- package/dist/cli/{chunk-DFJDVQMH.js → chunk-6MDAGRZP.js} +2 -2
- package/dist/cli/{chunk-NHB3UWTZ.js → chunk-AQFA7HMN.js} +17 -17
- package/dist/cli/{chunk-LNEBKWXM.mjs → chunk-BFLPCGOR.mjs} +1 -1
- package/dist/cli/{chunk-5DUTNG37.mjs → chunk-BVUGPOU3.mjs} +10 -10
- package/dist/cli/{chunk-A6DJC2RC.js → chunk-D6O3NJHX.js} +68 -68
- package/dist/cli/{chunk-666HPUIZ.js → chunk-DM5QUZJR.js} +1 -6
- package/dist/cli/{chunk-HHH4MPFY.mjs → chunk-DONL233W.mjs} +6 -6
- package/dist/cli/{chunk-NXDRDJ4K.js → chunk-E5UD3JDQ.js} +3 -1
- package/dist/cli/{chunk-XTKVXHGD.js → chunk-EFJL5FCU.js} +17 -17
- package/dist/cli/{chunk-LJWOPNJJ.mjs → chunk-FGHRRJ3D.mjs} +1 -1
- package/dist/cli/{chunk-WQZ22EQU.js → chunk-GZQKUFM5.js} +26 -26
- package/dist/cli/{chunk-Y2B56VN7.js → chunk-IUWPC5K6.js} +53 -53
- package/dist/cli/{chunk-NEY2M4EZ.mjs → chunk-JAERLCMH.mjs} +1 -6
- package/dist/cli/{chunk-MIMASXO4.mjs → chunk-JB6ERQUV.mjs} +3 -1
- package/dist/cli/{chunk-CTMA3C3N.js → chunk-JSK6GUY6.js} +49 -96
- package/dist/cli/{chunk-T64NZ2A7.mjs → chunk-KC2YOJTU.mjs} +46 -47
- package/dist/cli/{chunk-GGRVNAOH.mjs → chunk-MIMV5LTU.mjs} +3 -3
- package/dist/cli/{chunk-SFI7U6CA.js → chunk-ML2ZY7YD.js} +4 -4
- package/dist/cli/{chunk-A4OX52RV.js → chunk-N5TPMNTT.js} +10 -10
- package/dist/cli/{chunk-YEEESF2T.js → chunk-RJ7JJMQO.js} +419 -413
- package/dist/cli/{chunk-4Y5UDYQK.js → chunk-RUYZAREB.js} +17 -17
- package/dist/cli/{chunk-BKHNCIQD.mjs → chunk-U3W7E5WT.mjs} +193 -187
- package/dist/cli/{chunk-MKFHZDBO.js → chunk-VVFH745L.js} +8 -8
- package/dist/cli/{chunk-R7AAYFDQ.js → chunk-WJWO74MM.js} +102 -103
- package/dist/cli/{chunk-A5RFERJQ.mjs → chunk-XSPAI6MF.mjs} +2 -2
- package/dist/cli/{client-QXOERIFI.mjs → client-KF2J754U.mjs} +3 -3
- package/dist/cli/client-UUNLXOHF.js +20 -0
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-ZKIUSDIV.js → csv-UJ3M7NFP.js} +12 -12
- package/dist/cli/{csv-V7UKQ7AC.mjs → csv-UL3MCD5D.mjs} +3 -3
- package/dist/cli/{db-GWKRVHKS.js → db-444XYOTV.js} +42 -43
- package/dist/cli/{db-QQ4BYMPY.mjs → db-SIOWA63T.mjs} +17 -18
- package/dist/cli/{describe-XMWXEFMS.mjs → describe-GI5GHAKO.mjs} +12 -12
- package/dist/cli/{describe-3AJI2BOS.js → describe-RRBESS3S.js} +28 -28
- package/dist/cli/{executions-QV7UE5YG.mjs → executions-4YDP6BXI.mjs} +4 -4
- package/dist/cli/{executions-2IMCCV34.js → executions-ERXZUOL5.js} +6 -6
- package/dist/cli/{feedback-7SSJ7VPF.js → feedback-3M7D7DZQ.js} +12 -12
- package/dist/cli/{feedback-K6WNXZDB.mjs → feedback-CPWQL5LU.mjs} +8 -8
- package/dist/cli/git-ITSCNUVB.js +23 -0
- package/dist/cli/{git-UOE2K2XQ.mjs → git-XN6C3TJZ.mjs} +4 -4
- package/dist/cli/index.js +98 -109
- package/dist/cli/index.mjs +46 -57
- package/dist/cli/{legacy-noops-GC43OSXL.js → legacy-noops-5XDGOFWH.js} +9 -9
- package/dist/cli/{legacy-noops-SOYPIA2X.mjs → legacy-noops-KXQ6TFFL.mjs} +6 -6
- package/dist/cli/{monitors-FLCGMXVH.mjs → monitors-33IU5JR6.mjs} +59 -59
- package/dist/cli/{monitors-AXANB6WK.js → monitors-KH22PDOC.js} +140 -140
- package/dist/cli/{org-Q7EDNZMN.mjs → org-MHYMWUEP.mjs} +28 -27
- package/dist/cli/{org-MXD4BTQI.js → org-X4NSLQG5.js} +88 -87
- package/dist/cli/play-4QRPOBWW.js +155 -0
- package/dist/cli/{play-TZROCF7E.mjs → play-LCZKHKW2.mjs} +10 -8
- package/dist/cli/{providers-LOS4MHAG.js → providers-J6LWCF5R.js} +10 -10
- package/dist/cli/{providers-JEY4FTWG.mjs → providers-L5FJTSEA.mjs} +7 -7
- package/dist/cli/{quickstart-WO5KVVER.mjs → quickstart-NE3BTWGL.mjs} +4 -4
- package/dist/cli/{quickstart-27UQGHEH.js → quickstart-OOPFA4MX.js} +6 -6
- package/dist/cli/{search-LZHWXC2C.mjs → search-DBXOEOIE.mjs} +5 -5
- package/dist/cli/search-UGQDBP76.js +26 -0
- package/dist/cli/{secrets-AVJGZABR.mjs → secrets-U2MLWZH2.mjs} +5 -5
- package/dist/cli/{secrets-PE7P4L7N.js → secrets-WPMU7UBD.js} +14 -14
- package/dist/cli/{sessions-ZDSZTYZV.mjs → sessions-WYNC4AUE.mjs} +4 -4
- package/dist/cli/{sessions-I6UDBN7M.js → sessions-YYZ3UJDS.js} +5 -5
- package/dist/cli/{settings-SPWH3FET.mjs → settings-FQZSHFC6.mjs} +10 -10
- package/dist/cli/{settings-3SLMJHJ2.js → settings-WQDFX3X6.js} +77 -77
- package/dist/cli/{setup-R4LUWQE4.js → setup-DKYVNDTM.js} +50 -50
- package/dist/cli/{setup-Q3CJ4T2Q.mjs → setup-JKYJT35S.mjs} +15 -15
- package/dist/cli/skills-VBQMXDAX.js +28 -0
- package/dist/cli/{skills-FGXH432G.mjs → skills-VHVCJJJY.mjs} +4 -4
- package/dist/cli/tools-ACEJZMJD.js +40 -0
- package/dist/cli/{tools-O7C6PFF2.mjs → tools-E23PU7KM.mjs} +8 -8
- package/dist/cli/{update-PPCQV3CD.mjs → update-4A4VU6CW.mjs} +6 -6
- package/dist/cli/update-V5KMYHVE.js +28 -0
- package/dist/cli/{workflow-Z2KYQ2JE.mjs → workflow-2ZR2ECTG.mjs} +7 -7
- package/dist/cli/{workflow-ALKU4ZFD.js → workflow-WB2USWAA.js} +17 -17
- package/dist/{client-CjHv4K6D.d.mts → client-Cw0e2Uec.d.mts} +8 -7
- package/dist/{client-rTuhNN-x.d.ts → client-CwdiawoG.d.ts} +8 -7
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -15
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +82 -82
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -5
- package/dist/release.d.ts +1 -5
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-DD3PVIRQ.js +0 -33
- package/dist/cli/client-DNAFHKWV.js +0 -20
- package/dist/cli/git-EBSF3254.js +0 -23
- package/dist/cli/play-YWQXVOBT.js +0 -153
- package/dist/cli/search-OQ3OEFUA.js +0 -26
- package/dist/cli/skills-IDXBBOUW.js +0 -28
- package/dist/cli/tools-WHLD4Y4O.js +0 -40
- package/dist/cli/update-K6HE3XKO.js +0 -28
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunk-EXMLR72R.mjs";
|
|
2
2
|
import {
|
|
3
3
|
DeeplineClient
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2RC5JQ3C.mjs";
|
|
5
5
|
import "./chunk-6IKARAYD.mjs";
|
|
6
6
|
import "./chunk-CBVIJSHF.mjs";
|
|
7
7
|
import {
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
printCommandEnvelope,
|
|
18
18
|
printJson,
|
|
19
19
|
shouldEmitJson
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MIMV5LTU.mjs";
|
|
21
21
|
import {
|
|
22
22
|
AuthError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FGHRRJ3D.mjs";
|
|
24
24
|
import "./chunk-DLIRSHV6.mjs";
|
|
25
25
|
import {
|
|
26
26
|
DeeplineError
|
|
27
27
|
} from "./chunk-NXGCO4JB.mjs";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-JAERLCMH.mjs";
|
|
29
29
|
import "./chunk-WZYKRD7T.mjs";
|
|
30
30
|
import "./chunk-KRD6H754.mjs";
|
|
31
31
|
|
|
@@ -34,7 +34,7 @@ import { randomUUID } from "crypto";
|
|
|
34
34
|
import { readFileSync, writeFileSync } from "fs";
|
|
35
35
|
import { resolve } from "path";
|
|
36
36
|
import { createInterface } from "readline/promises";
|
|
37
|
-
var JSON_OPTION_DESCRIPTION = "Emit JSON output
|
|
37
|
+
var JSON_OPTION_DESCRIPTION = "Emit JSON output";
|
|
38
38
|
function withJsonOption(command) {
|
|
39
39
|
return command.option("--json", JSON_OPTION_DESCRIPTION);
|
|
40
40
|
}
|
|
@@ -78,10 +78,10 @@ function monitorsFailureNextCommand(error, exitCode, options) {
|
|
|
78
78
|
return "deepline monitors status";
|
|
79
79
|
}
|
|
80
80
|
if (error instanceof DeeplineError && error.code === "monitor_tool_not_found") {
|
|
81
|
-
return "deepline monitors available
|
|
81
|
+
return "deepline monitors available";
|
|
82
82
|
}
|
|
83
|
-
if (exitCode === 3) return "deepline auth status
|
|
84
|
-
if (exitCode === 4) return "deepline monitors list --status all
|
|
83
|
+
if (exitCode === 3) return "deepline auth status";
|
|
84
|
+
if (exitCode === 4) return "deepline monitors list --status all";
|
|
85
85
|
return void 0;
|
|
86
86
|
}
|
|
87
87
|
function readValidationIssues(error) {
|
|
@@ -437,7 +437,7 @@ function renderMonitorDeployPlan(payload) {
|
|
|
437
437
|
"",
|
|
438
438
|
"You may already have a monitor covering this \u2014 check before deploying:",
|
|
439
439
|
...candidateLines,
|
|
440
|
-
" Inspect: deepline monitors get <key>
|
|
440
|
+
" Inspect: deepline monitors get <key>"
|
|
441
441
|
);
|
|
442
442
|
}
|
|
443
443
|
const identityConflict = asRecord(payload.identity_conflict);
|
|
@@ -455,7 +455,7 @@ function renderMonitorDeployPlan(payload) {
|
|
|
455
455
|
lines.push(
|
|
456
456
|
"",
|
|
457
457
|
`An existing monitor owns this upstream identity: ${identityOwnerKey}.`,
|
|
458
|
-
`Inspect: deepline monitors get ${identityOwnerKey}
|
|
458
|
+
`Inspect: deepline monitors get ${identityOwnerKey}`,
|
|
459
459
|
"Do not deploy this key unless that conflict is resolved."
|
|
460
460
|
);
|
|
461
461
|
} else {
|
|
@@ -508,7 +508,7 @@ function renderMonitorReactivatePlan(payload, key) {
|
|
|
508
508
|
function assertMonitorDryRunAcknowledged(payload, context) {
|
|
509
509
|
if (payload.dry_run === true) return;
|
|
510
510
|
throw new MonitorDryRunUnsupportedError(
|
|
511
|
-
`${context.command} --dry-run: the server response did not acknowledge dry-run mode (missing "dry_run": true). This Deepline server may not support --dry-run for ${context.mutation}, so the response cannot be trusted as a plan. Nothing was rendered as a plan. Verify current state with \`deepline monitors get <key
|
|
511
|
+
`${context.command} --dry-run: the server response did not acknowledge dry-run mode (missing "dry_run": true). This Deepline server may not support --dry-run for ${context.mutation}, so the response cannot be trusted as a plan. Nothing was rendered as a plan. Verify current state with \`deepline monitors get <key>\`, and re-run without --dry-run only when you intend the real ${context.mutation}.`
|
|
512
512
|
);
|
|
513
513
|
}
|
|
514
514
|
function monitorDeleteRequiresYesError(key) {
|
|
@@ -572,7 +572,7 @@ function renderAvailableToolsText(payload) {
|
|
|
572
572
|
"",
|
|
573
573
|
"Next:",
|
|
574
574
|
" Inspect payload fields, output columns, and a play binding:",
|
|
575
|
-
" deepline monitors available <provider.tool>
|
|
575
|
+
" deepline monitors available <provider.tool>",
|
|
576
576
|
" See monitors already deployed in this workspace:",
|
|
577
577
|
" deepline monitors list",
|
|
578
578
|
" Validate a monitor definition before deploying:",
|
|
@@ -686,7 +686,7 @@ function renderDeployedListText(payload, requestedStatus, filterKind = "status")
|
|
|
686
686
|
);
|
|
687
687
|
}
|
|
688
688
|
if (monitors.length > 0) {
|
|
689
|
-
lines.push("", "Inspect one: deepline monitors get <key>
|
|
689
|
+
lines.push("", "Inspect one: deepline monitors get <key>");
|
|
690
690
|
}
|
|
691
691
|
return `${lines.join("\n")}
|
|
692
692
|
`;
|
|
@@ -922,7 +922,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
|
|
|
922
922
|
dry_run: true,
|
|
923
923
|
batch: { id: batchId, desired_count: lint.normalized.monitors.length },
|
|
924
924
|
issues: lint.issues,
|
|
925
|
-
next: `deepline monitors batches sync ${batchId} --file ${options.file} --idempotency-key <stable-key
|
|
925
|
+
next: `deepline monitors batches sync ${batchId} --file ${options.file} --idempotency-key <stable-key>`
|
|
926
926
|
},
|
|
927
927
|
{ json: options.json }
|
|
928
928
|
);
|
|
@@ -953,7 +953,7 @@ async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
|
|
|
953
953
|
ok: true,
|
|
954
954
|
dry_run: true,
|
|
955
955
|
batch: { id: batchId, intent },
|
|
956
|
-
next: `deepline monitors batches ${intent} ${batchId} --idempotency-key <stable-key
|
|
956
|
+
next: `deepline monitors batches ${intent} ${batchId} --idempotency-key <stable-key>`
|
|
957
957
|
},
|
|
958
958
|
{ json: options.json }
|
|
959
959
|
);
|
|
@@ -1109,7 +1109,7 @@ var MONITOR_FLEET_COMMANDS = [
|
|
|
1109
1109
|
}
|
|
1110
1110
|
];
|
|
1111
1111
|
var MONITOR_FLEET_AGENT_NOTES = [
|
|
1112
|
-
"
|
|
1112
|
+
"Pass --json only when a program parses the output; stdout is then exactly one JSON object.",
|
|
1113
1113
|
"Every error includes a runnable `next` command \u2014 run it, do not guess.",
|
|
1114
1114
|
"Exit 5 = retry the same command; 6 = inspect counts with `get --drift`; 7 = change the request."
|
|
1115
1115
|
];
|
|
@@ -1457,7 +1457,7 @@ async function handleMonitorFleetsInit(fleetId, options) {
|
|
|
1457
1457
|
const file = resolve(out);
|
|
1458
1458
|
writeFileSync(file, `${JSON.stringify(definition, null, 2)}
|
|
1459
1459
|
`, "utf8");
|
|
1460
|
-
const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run
|
|
1460
|
+
const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run`;
|
|
1461
1461
|
printCommandEnvelope(
|
|
1462
1462
|
{ schemaVersion: 2, file, definition, next },
|
|
1463
1463
|
{
|
|
@@ -1571,7 +1571,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
|
|
|
1571
1571
|
printCommandEnvelope(envelope, { json: options.json, text: summary });
|
|
1572
1572
|
return;
|
|
1573
1573
|
}
|
|
1574
|
-
const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift
|
|
1574
|
+
const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift`;
|
|
1575
1575
|
if (status === "degraded") {
|
|
1576
1576
|
reportFleetState(
|
|
1577
1577
|
envelope,
|
|
@@ -1626,7 +1626,7 @@ async function handleMonitorFleetsGet(fleetId, options) {
|
|
|
1626
1626
|
new MonitorFleetStateError({
|
|
1627
1627
|
code: degraded ? "MONITOR_FLEET_DEGRADED" : "MONITOR_FLEET_NOT_CONVERGED",
|
|
1628
1628
|
message: degraded ? `Fleet ${target} is degraded: members are stuck and retrying will not move them.` : `Fleet ${target} has not converged yet.`,
|
|
1629
|
-
next: fleetServerNext(payload) ?? `deepline monitors fleets get ${fleetShellArg(target)} --drift
|
|
1629
|
+
next: fleetServerNext(payload) ?? `deepline monitors fleets get ${fleetShellArg(target)} --drift`
|
|
1630
1630
|
}),
|
|
1631
1631
|
{ json: options.json, text }
|
|
1632
1632
|
);
|
|
@@ -1692,7 +1692,7 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
|
|
|
1692
1692
|
new MonitorFleetStateError({
|
|
1693
1693
|
code: "MONITOR_FLEET_WAIT_TIMEOUT",
|
|
1694
1694
|
message: `Stopped waiting after ${timeoutMs}ms. Fleet ${fleetId} recovery is still in progress on the server.`,
|
|
1695
|
-
next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)}
|
|
1695
|
+
next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)}`
|
|
1696
1696
|
}),
|
|
1697
1697
|
{ json: options.json, text }
|
|
1698
1698
|
);
|
|
@@ -1816,7 +1816,7 @@ Preview the blast radius first:
|
|
|
1816
1816
|
new MonitorFleetStateError({
|
|
1817
1817
|
code: "MONITOR_FLEET_WAIT_TIMEOUT",
|
|
1818
1818
|
message: `Stopped waiting after ${timeoutMs}ms. Deactivation of fleet ${fleetId} is still in progress on the server; nothing was lost.`,
|
|
1819
|
-
next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)}
|
|
1819
|
+
next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)}`
|
|
1820
1820
|
}),
|
|
1821
1821
|
{ json: options.json, text: summary }
|
|
1822
1822
|
);
|
|
@@ -1910,7 +1910,7 @@ function renderMonitorGet(payload) {
|
|
|
1910
1910
|
lines.push(
|
|
1911
1911
|
"",
|
|
1912
1912
|
`Sample test payload: ${JSON.stringify(samplePayload)}`,
|
|
1913
|
-
` deepline monitors test ${key} '${JSON.stringify(samplePayload)}'
|
|
1913
|
+
` deepline monitors test ${key} '${JSON.stringify(samplePayload)}'`
|
|
1914
1914
|
);
|
|
1915
1915
|
}
|
|
1916
1916
|
const monitorSpec = asRecord(payload.monitor_spec);
|
|
@@ -1976,7 +1976,7 @@ function renderMonitorGet(payload) {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
1978
|
if (payload.consumer_health_truncated === true) {
|
|
1979
|
-
lines.push(" Results are truncated
|
|
1979
|
+
lines.push(" Results are truncated.");
|
|
1980
1980
|
}
|
|
1981
1981
|
lines.push("", `Dependent published plays (${plays.length}):`);
|
|
1982
1982
|
if (plays.length === 0) {
|
|
@@ -1994,7 +1994,7 @@ function renderMonitorGet(payload) {
|
|
|
1994
1994
|
}
|
|
1995
1995
|
}
|
|
1996
1996
|
if (dependents?.truncated === true) {
|
|
1997
|
-
lines.push(" Results are truncated
|
|
1997
|
+
lines.push(" Results are truncated.");
|
|
1998
1998
|
}
|
|
1999
1999
|
return `${lines.join("\n")}
|
|
2000
2000
|
`;
|
|
@@ -2202,7 +2202,7 @@ function monitorHealthText(health) {
|
|
|
2202
2202
|
`${health.alignment_required} monitor(s) need provider identity alignment; normal repair intentionally will not guess or create a paid replacement.`
|
|
2203
2203
|
);
|
|
2204
2204
|
lines.push(
|
|
2205
|
-
`Run the exact inventory audit, then review one safe adoption candidate: deepline-admin monitors reconcile ${health.scope.org_id} --monitor <monitor-key> --environment production
|
|
2205
|
+
`Run the exact inventory audit, then review one safe adoption candidate: deepline-admin monitors reconcile ${health.scope.org_id} --monitor <monitor-key> --environment production`
|
|
2206
2206
|
);
|
|
2207
2207
|
}
|
|
2208
2208
|
if (health.worst_offenders.length > 0) {
|
|
@@ -2346,7 +2346,7 @@ async function handleMonitorBatchDeploy(options) {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
if (isCanonicalBatchJsonDocument(manifestNdjson)) {
|
|
2348
2348
|
throw new MonitorsUsageError(
|
|
2349
|
-
"Canonical Batch JSON cannot use --dry-run or --yes; those flags select the retained legacy NDJSON operation. Run `deepline monitors batch lint --file <batch.json
|
|
2349
|
+
"Canonical Batch JSON cannot use --dry-run or --yes; those flags select the retained legacy NDJSON operation. Run `deepline monitors batch lint --file <batch.json>`, then submit the Monitor Job with `deepline monitors batch deploy --file <batch.json> --idempotency-key <key>`."
|
|
2350
2350
|
);
|
|
2351
2351
|
}
|
|
2352
2352
|
const idempotencyKey = monitorBatchIdempotencyKey(
|
|
@@ -2367,7 +2367,7 @@ async function handleMonitorBatchDeploy(options) {
|
|
|
2367
2367
|
text: [
|
|
2368
2368
|
`${result.rejoined ? "rejoined" : "submitted"} deploy batch ${operation.runId}`,
|
|
2369
2369
|
`state ${operation.state} \xB7 retry key ${idempotencyKey}`,
|
|
2370
|
-
`inspect: deepline monitors batch get ${operation.runId}
|
|
2370
|
+
`inspect: deepline monitors batch get ${operation.runId}`
|
|
2371
2371
|
].join("\n") + "\n"
|
|
2372
2372
|
}
|
|
2373
2373
|
);
|
|
@@ -2399,7 +2399,7 @@ async function handleMonitorBatch(kind, options) {
|
|
|
2399
2399
|
const text = [
|
|
2400
2400
|
`${result.rejoined ? "rejoined" : "submitted"} ${operation.kind} batch ${operation.runId}`,
|
|
2401
2401
|
`state ${operation.state} \xB7 retry key ${idempotencyKey}`,
|
|
2402
|
-
`inspect: deepline monitors batch get ${operation.runId}
|
|
2402
|
+
`inspect: deepline monitors batch get ${operation.runId}`
|
|
2403
2403
|
].join("\n");
|
|
2404
2404
|
printCommandEnvelope(
|
|
2405
2405
|
{ ...result, idempotency_key: idempotencyKey },
|
|
@@ -2446,15 +2446,15 @@ Exit codes:
|
|
|
2446
2446
|
\`monitors status\` exits 1 when you lack monitor access (documented contract).
|
|
2447
2447
|
|
|
2448
2448
|
Examples:
|
|
2449
|
-
deepline monitors status
|
|
2450
|
-
deepline tools list --categories monitors
|
|
2449
|
+
deepline monitors status
|
|
2450
|
+
deepline tools list --categories monitors
|
|
2451
2451
|
deepline describe deepline_native.company_radar
|
|
2452
2452
|
deepline monitors check '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
|
|
2453
2453
|
deepline monitors deploy --dry-run --file monitor.json
|
|
2454
2454
|
deepline monitors deploy --file monitor.json
|
|
2455
|
-
deepline monitors list --status all
|
|
2456
|
-
deepline monitors get my-monitor
|
|
2457
|
-
deepline monitors update my-monitor '{"name":"Interested replies"}'
|
|
2455
|
+
deepline monitors list --status all
|
|
2456
|
+
deepline monitors get my-monitor
|
|
2457
|
+
deepline monitors update my-monitor '{"name":"Interested replies"}'
|
|
2458
2458
|
deepline monitors delete my-monitor --dry-run
|
|
2459
2459
|
deepline monitors reactivate my-monitor --dry-run
|
|
2460
2460
|
`
|
|
@@ -2479,7 +2479,7 @@ Notes:
|
|
|
2479
2479
|
|
|
2480
2480
|
Examples:
|
|
2481
2481
|
deepline monitors audit
|
|
2482
|
-
deepline monitors audit --fleet accounts-eu
|
|
2482
|
+
deepline monitors audit --fleet accounts-eu
|
|
2483
2483
|
deepline monitors audit --fleet accounts-eu --watch --timeout 5m
|
|
2484
2484
|
`
|
|
2485
2485
|
)
|
|
@@ -2503,7 +2503,7 @@ Notes:
|
|
|
2503
2503
|
is selected for repair; current Convex writes cannot create that state.
|
|
2504
2504
|
|
|
2505
2505
|
It returns a run id immediately. Inspect retained results with
|
|
2506
|
-
'deepline monitors batch get <run-id>
|
|
2506
|
+
'deepline monitors batch get <run-id>'. Reuse --idempotency-key after
|
|
2507
2507
|
a lost response to rejoin the exact run without another provider request.
|
|
2508
2508
|
|
|
2509
2509
|
Examples:
|
|
@@ -2528,7 +2528,7 @@ Notes:
|
|
|
2528
2528
|
|
|
2529
2529
|
Examples:
|
|
2530
2530
|
deepline monitors health
|
|
2531
|
-
deepline monitors health --fleet accounts-eu
|
|
2531
|
+
deepline monitors health --fleet accounts-eu
|
|
2532
2532
|
`
|
|
2533
2533
|
)
|
|
2534
2534
|
).action(monitorsAction(handleMonitorsHealth));
|
|
@@ -2668,7 +2668,7 @@ Notes:
|
|
|
2668
2668
|
|
|
2669
2669
|
Examples:
|
|
2670
2670
|
deepline monitors status
|
|
2671
|
-
deepline monitors status
|
|
2671
|
+
deepline monitors status
|
|
2672
2672
|
`
|
|
2673
2673
|
)
|
|
2674
2674
|
).action(monitorsAction(handleMonitorsStatus));
|
|
@@ -2689,10 +2689,10 @@ Notes:
|
|
|
2689
2689
|
|
|
2690
2690
|
Examples:
|
|
2691
2691
|
deepline monitors available
|
|
2692
|
-
deepline monitors available --full
|
|
2693
|
-
deepline monitors available --provider deepline_native
|
|
2694
|
-
deepline monitors available deepline_native.company_radar
|
|
2695
|
-
deepline monitors available --search jobs
|
|
2692
|
+
deepline monitors available --full
|
|
2693
|
+
deepline monitors available --provider deepline_native
|
|
2694
|
+
deepline monitors available deepline_native.company_radar
|
|
2695
|
+
deepline monitors available --search jobs
|
|
2696
2696
|
`
|
|
2697
2697
|
).option("--provider <provider>", "Filter by provider").option(
|
|
2698
2698
|
"--tool <tool>",
|
|
@@ -2723,11 +2723,11 @@ Notes:
|
|
|
2723
2723
|
|
|
2724
2724
|
Examples:
|
|
2725
2725
|
deepline monitors list
|
|
2726
|
-
deepline monitors list --state billing_suspended
|
|
2727
|
-
deepline monitors list --state all
|
|
2728
|
-
deepline monitors list --status all
|
|
2729
|
-
deepline monitors list --status all --cursor <next_cursor>
|
|
2730
|
-
deepline monitors list --include-consumers --limit 20
|
|
2726
|
+
deepline monitors list --state billing_suspended
|
|
2727
|
+
deepline monitors list --state all
|
|
2728
|
+
deepline monitors list --status all
|
|
2729
|
+
deepline monitors list --status all --cursor <next_cursor>
|
|
2730
|
+
deepline monitors list --include-consumers --limit 20
|
|
2731
2731
|
`
|
|
2732
2732
|
).option(
|
|
2733
2733
|
"--state <state>",
|
|
@@ -2760,7 +2760,7 @@ Notes:
|
|
|
2760
2760
|
update so scope and downstream effects are visible.
|
|
2761
2761
|
|
|
2762
2762
|
Examples:
|
|
2763
|
-
deepline monitors get my-monitor
|
|
2763
|
+
deepline monitors get my-monitor
|
|
2764
2764
|
`
|
|
2765
2765
|
)
|
|
2766
2766
|
).action(monitorsAction(handleMonitorsGet));
|
|
@@ -2778,7 +2778,7 @@ Notes:
|
|
|
2778
2778
|
payload.
|
|
2779
2779
|
|
|
2780
2780
|
Examples:
|
|
2781
|
-
deepline monitors test rb2b-website-visitors '{"LinkedIn URL":"https://www.linkedin.com/in/example","Website":"https://example.com"}'
|
|
2781
|
+
deepline monitors test rb2b-website-visitors '{"LinkedIn URL":"https://www.linkedin.com/in/example","Website":"https://example.com"}'
|
|
2782
2782
|
`
|
|
2783
2783
|
)
|
|
2784
2784
|
).action(monitorsAction(handleMonitorsTest));
|
|
@@ -2881,8 +2881,8 @@ previously unseen historical findings are chargeable. Filter-only updates,
|
|
|
2881
2881
|
repair, and reactivation instead use a fresh future-only source boundary.
|
|
2882
2882
|
|
|
2883
2883
|
Examples:
|
|
2884
|
-
deepline monitors update my-monitor '{"name":"Interested replies"}'
|
|
2885
|
-
deepline monitors update job-openings '{"payload":{"job_titles":"CEO OR CFO"}}'
|
|
2884
|
+
deepline monitors update my-monitor '{"name":"Interested replies"}'
|
|
2885
|
+
deepline monitors update job-openings '{"payload":{"job_titles":"CEO OR CFO"}}'
|
|
2886
2886
|
deepline monitors update my-monitor --file patch.json
|
|
2887
2887
|
`
|
|
2888
2888
|
).option(
|
|
@@ -2904,7 +2904,7 @@ returns already_deleted without making another upstream call.
|
|
|
2904
2904
|
|
|
2905
2905
|
Examples:
|
|
2906
2906
|
deepline monitors delete my-monitor --dry-run
|
|
2907
|
-
deepline monitors delete my-monitor --yes
|
|
2907
|
+
deepline monitors delete my-monitor --yes
|
|
2908
2908
|
`
|
|
2909
2909
|
).option("--dry-run", "Show the delete plan without deleting anything").option(
|
|
2910
2910
|
"--yes",
|
|
@@ -2927,7 +2927,7 @@ Notes:
|
|
|
2927
2927
|
|
|
2928
2928
|
Examples:
|
|
2929
2929
|
deepline monitors reactivate my-monitor --dry-run
|
|
2930
|
-
deepline monitors reactivate my-monitor
|
|
2930
|
+
deepline monitors reactivate my-monitor
|
|
2931
2931
|
`
|
|
2932
2932
|
).option("--dry-run", "Show the reactivation cost without reactivating")
|
|
2933
2933
|
).action(monitorsAction(handleMonitorsReactivate));
|
|
@@ -3066,8 +3066,8 @@ Notes:
|
|
|
3066
3066
|
Examples:
|
|
3067
3067
|
deepline monitors fleets sync --file fleet.json --dry-run
|
|
3068
3068
|
deepline monitors fleets sync --file fleet.json --wait --timeout 20m
|
|
3069
|
-
deepline monitors fleets sync account-job-openings --wait
|
|
3070
|
-
cat fleet.json | deepline monitors fleets sync --file - --dry-run
|
|
3069
|
+
deepline monitors fleets sync account-job-openings --wait
|
|
3070
|
+
cat fleet.json | deepline monitors fleets sync --file - --dry-run
|
|
3071
3071
|
`
|
|
3072
3072
|
).option(
|
|
3073
3073
|
"-f, --file <path>",
|
|
@@ -3115,9 +3115,9 @@ Notes:
|
|
|
3115
3115
|
read-only here and are defined by each Play's sqlListeners.
|
|
3116
3116
|
|
|
3117
3117
|
Examples:
|
|
3118
|
-
deepline monitors fleets get
|
|
3119
|
-
deepline monitors fleets get account-job-openings
|
|
3120
|
-
deepline monitors fleets get account-job-openings --drift --limit 50
|
|
3118
|
+
deepline monitors fleets get
|
|
3119
|
+
deepline monitors fleets get account-job-openings
|
|
3120
|
+
deepline monitors fleets get account-job-openings --drift --limit 50
|
|
3121
3121
|
deepline monitors fleets get account-job-openings --check
|
|
3122
3122
|
`
|
|
3123
3123
|
).option("--drift", "Include the members that have not settled, and why").option("--limit <n>", "Maximum drift rows to return").option(
|
|
@@ -3136,7 +3136,7 @@ Notes:
|
|
|
3136
3136
|
|
|
3137
3137
|
Examples:
|
|
3138
3138
|
deepline monitors fleets deactivate account-job-openings --dry-run
|
|
3139
|
-
deepline monitors fleets deactivate account-job-openings --yes --wait
|
|
3139
|
+
deepline monitors fleets deactivate account-job-openings --yes --wait
|
|
3140
3140
|
`
|
|
3141
3141
|
).option("--dry-run", "Show the blast radius without deactivating").option("--wait", "Poll until the fleet reports deactivated").option(
|
|
3142
3142
|
"--timeout <duration>",
|
|
@@ -3176,7 +3176,7 @@ Notes:
|
|
|
3176
3176
|
may restart lifecycle billing. A credit top-up alone never does this.
|
|
3177
3177
|
|
|
3178
3178
|
Example:
|
|
3179
|
-
deepline monitors fleets reactivate account-job-openings --yes --wait
|
|
3179
|
+
deepline monitors fleets reactivate account-job-openings --yes --wait
|
|
3180
3180
|
`
|
|
3181
3181
|
).option("--wait", "Poll until the fleet reports converged").option(
|
|
3182
3182
|
"--timeout <duration>",
|