deepline 0.1.244 → 0.1.246
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 +4 -7
- package/dist/cli/index.js +22 -5
- package/dist/cli/index.mjs +22 -5
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* happens at publish time: on push to main, `.github/workflows/sdk-release.yml`
|
|
6
6
|
* (via `scripts/sdk-release-autobump.ts`) compares the built package against
|
|
7
7
|
* the latest published npm tarball and, when the content changed, stamps the
|
|
8
|
-
* next unpublished patch into `version`
|
|
9
|
-
*
|
|
8
|
+
* next unpublished patch into `version` in the CI workspace only and
|
|
9
|
+
* publishes it in the same run. That patch stamp is not
|
|
10
10
|
* committed back to main; production endpoints read npm metadata when they
|
|
11
11
|
* need the newest patch-level SDK/CLI version.
|
|
12
12
|
*
|
|
13
13
|
* Edit THIS file by hand only for deliberate release decisions:
|
|
14
|
-
* - minor/major version bumps (set `version`
|
|
14
|
+
* - minor/major version bumps (set `version`),
|
|
15
15
|
* - `apiContract` cutovers (see `docs/sdk-runtime-compatibility.md`),
|
|
16
16
|
* - support-window moves (`minimumSupported` / `deprecatedBelow`).
|
|
17
17
|
* The automation never touches `apiContract`, `minimumSupported`, or
|
|
@@ -36,8 +36,6 @@
|
|
|
36
36
|
export type SdkReleaseChannel = 'latest' | 'next' | 'beta';
|
|
37
37
|
|
|
38
38
|
export type SdkSupportPolicy = {
|
|
39
|
-
/** Checked-in latest policy value; publish-time patch latest is read from npm. */
|
|
40
|
-
latest: string;
|
|
41
39
|
/**
|
|
42
40
|
* Anything strictly below this returns `status: "unsupported"` from
|
|
43
41
|
* `/api/v2/sdk/compat` and the CLI must hard-fail with the update command.
|
|
@@ -115,10 +113,9 @@ export const SDK_RELEASE = {
|
|
|
115
113
|
// runtime intentionally no longer compiles at publish or launch time.
|
|
116
114
|
// 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
|
|
117
115
|
// deploy-time artifact migration. Play authoring now has one CJS contract.
|
|
118
|
-
version: '0.1.
|
|
116
|
+
version: '0.1.246',
|
|
119
117
|
apiContract: '2026-07-cjs-absurd-only-play-runtime-hard-cutover',
|
|
120
118
|
supportPolicy: {
|
|
121
|
-
latest: '0.1.244',
|
|
122
119
|
minimumSupported: '0.1.53',
|
|
123
120
|
deprecatedBelow: '0.1.219',
|
|
124
121
|
commandMinimumSupported: [
|
package/dist/cli/index.js
CHANGED
|
@@ -632,10 +632,9 @@ 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
|
-
version: "0.1.
|
|
635
|
+
version: "0.1.246",
|
|
636
636
|
apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
|
|
637
637
|
supportPolicy: {
|
|
638
|
-
latest: "0.1.244",
|
|
639
638
|
minimumSupported: "0.1.53",
|
|
640
639
|
deprecatedBelow: "0.1.219",
|
|
641
640
|
commandMinimumSupported: [
|
|
@@ -24351,24 +24350,42 @@ function renderAvailableToolsText(payload) {
|
|
|
24351
24350
|
const returned = asFiniteNumber(payload.returned) ?? tools.length;
|
|
24352
24351
|
const total = asFiniteNumber(payload.total);
|
|
24353
24352
|
const lines = [
|
|
24354
|
-
total !== void 0 ? `
|
|
24353
|
+
total !== void 0 ? `Signal Radar types you can deploy (${returned} of ${total}):` : "Signal Radar types you can deploy:"
|
|
24355
24354
|
];
|
|
24355
|
+
let currentProvider;
|
|
24356
24356
|
for (const raw of tools) {
|
|
24357
24357
|
const entry = asRecord(raw);
|
|
24358
24358
|
const id = entry ? asString(entry.tool) : void 0;
|
|
24359
24359
|
if (!entry || !id) continue;
|
|
24360
24360
|
const name = asString(entry.name) ?? asString(entry.display_name);
|
|
24361
24361
|
const deployedCount = asFiniteNumber(entry.deployed_count);
|
|
24362
|
+
const description = asString(entry.description);
|
|
24363
|
+
const streams = Array.isArray(entry.streams) ? entry.streams.map((stream) => asString(stream)).filter((stream) => Boolean(stream)) : [];
|
|
24364
|
+
const provider = id.split(".")[0];
|
|
24365
|
+
if (provider && provider !== currentProvider) {
|
|
24366
|
+
currentProvider = provider;
|
|
24367
|
+
lines.push("", ` ${provider}:`);
|
|
24368
|
+
}
|
|
24362
24369
|
lines.push(
|
|
24363
|
-
`
|
|
24370
|
+
` ${id.split(".").slice(1).join(".") || id}${name ? ` \u2014 ${name}` : ""}${deployedCount !== void 0 ? ` (${deployedCount} deployed)` : ""}`
|
|
24364
24371
|
);
|
|
24372
|
+
if (description) lines.push(` ${description}`);
|
|
24373
|
+
if (streams.length > 0) {
|
|
24374
|
+
lines.push(` emits: ${streams.join(", ")}`);
|
|
24375
|
+
}
|
|
24365
24376
|
}
|
|
24366
24377
|
if (payload.is_truncated === true) {
|
|
24367
24378
|
lines.push("List truncated; raise --limit to see more.");
|
|
24368
24379
|
}
|
|
24369
24380
|
lines.push(
|
|
24370
24381
|
"",
|
|
24371
|
-
"
|
|
24382
|
+
"Next:",
|
|
24383
|
+
" Inspect payload fields, output columns, and a play binding:",
|
|
24384
|
+
" deepline monitors available <provider.tool> --json",
|
|
24385
|
+
" See monitors already deployed in this workspace:",
|
|
24386
|
+
" deepline monitors list",
|
|
24387
|
+
" Validate a monitor definition before deploying:",
|
|
24388
|
+
` deepline monitors check '{"key":"my-radar","tool":"<provider.tool>","payload":{...}}'`
|
|
24372
24389
|
);
|
|
24373
24390
|
return `${lines.join("\n")}
|
|
24374
24391
|
`;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -617,10 +617,9 @@ 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
|
-
version: "0.1.
|
|
620
|
+
version: "0.1.246",
|
|
621
621
|
apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
|
|
622
622
|
supportPolicy: {
|
|
623
|
-
latest: "0.1.244",
|
|
624
623
|
minimumSupported: "0.1.53",
|
|
625
624
|
deprecatedBelow: "0.1.219",
|
|
626
625
|
commandMinimumSupported: [
|
|
@@ -24387,24 +24386,42 @@ function renderAvailableToolsText(payload) {
|
|
|
24387
24386
|
const returned = asFiniteNumber(payload.returned) ?? tools.length;
|
|
24388
24387
|
const total = asFiniteNumber(payload.total);
|
|
24389
24388
|
const lines = [
|
|
24390
|
-
total !== void 0 ? `
|
|
24389
|
+
total !== void 0 ? `Signal Radar types you can deploy (${returned} of ${total}):` : "Signal Radar types you can deploy:"
|
|
24391
24390
|
];
|
|
24391
|
+
let currentProvider;
|
|
24392
24392
|
for (const raw of tools) {
|
|
24393
24393
|
const entry = asRecord(raw);
|
|
24394
24394
|
const id = entry ? asString(entry.tool) : void 0;
|
|
24395
24395
|
if (!entry || !id) continue;
|
|
24396
24396
|
const name = asString(entry.name) ?? asString(entry.display_name);
|
|
24397
24397
|
const deployedCount = asFiniteNumber(entry.deployed_count);
|
|
24398
|
+
const description = asString(entry.description);
|
|
24399
|
+
const streams = Array.isArray(entry.streams) ? entry.streams.map((stream) => asString(stream)).filter((stream) => Boolean(stream)) : [];
|
|
24400
|
+
const provider = id.split(".")[0];
|
|
24401
|
+
if (provider && provider !== currentProvider) {
|
|
24402
|
+
currentProvider = provider;
|
|
24403
|
+
lines.push("", ` ${provider}:`);
|
|
24404
|
+
}
|
|
24398
24405
|
lines.push(
|
|
24399
|
-
`
|
|
24406
|
+
` ${id.split(".").slice(1).join(".") || id}${name ? ` \u2014 ${name}` : ""}${deployedCount !== void 0 ? ` (${deployedCount} deployed)` : ""}`
|
|
24400
24407
|
);
|
|
24408
|
+
if (description) lines.push(` ${description}`);
|
|
24409
|
+
if (streams.length > 0) {
|
|
24410
|
+
lines.push(` emits: ${streams.join(", ")}`);
|
|
24411
|
+
}
|
|
24401
24412
|
}
|
|
24402
24413
|
if (payload.is_truncated === true) {
|
|
24403
24414
|
lines.push("List truncated; raise --limit to see more.");
|
|
24404
24415
|
}
|
|
24405
24416
|
lines.push(
|
|
24406
24417
|
"",
|
|
24407
|
-
"
|
|
24418
|
+
"Next:",
|
|
24419
|
+
" Inspect payload fields, output columns, and a play binding:",
|
|
24420
|
+
" deepline monitors available <provider.tool> --json",
|
|
24421
|
+
" See monitors already deployed in this workspace:",
|
|
24422
|
+
" deepline monitors list",
|
|
24423
|
+
" Validate a monitor definition before deploying:",
|
|
24424
|
+
` deepline monitors check '{"key":"my-radar","tool":"<provider.tool>","payload":{...}}'`
|
|
24408
24425
|
);
|
|
24409
24426
|
return `${lines.join("\n")}
|
|
24410
24427
|
`;
|
package/dist/index.js
CHANGED
|
@@ -431,10 +431,9 @@ 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
|
-
version: "0.1.
|
|
434
|
+
version: "0.1.246",
|
|
435
435
|
apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
|
|
436
436
|
supportPolicy: {
|
|
437
|
-
latest: "0.1.244",
|
|
438
437
|
minimumSupported: "0.1.53",
|
|
439
438
|
deprecatedBelow: "0.1.219",
|
|
440
439
|
commandMinimumSupported: [
|
package/dist/index.mjs
CHANGED
|
@@ -361,10 +361,9 @@ 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
|
-
version: "0.1.
|
|
364
|
+
version: "0.1.246",
|
|
365
365
|
apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
|
|
366
366
|
supportPolicy: {
|
|
367
|
-
latest: "0.1.244",
|
|
368
367
|
minimumSupported: "0.1.53",
|
|
369
368
|
deprecatedBelow: "0.1.219",
|
|
370
369
|
commandMinimumSupported: [
|