deepline 0.1.124 → 0.1.125
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 +2 -2
- package/dist/cli/index.js +26 -3
- package/dist/cli/index.mjs +27 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -101,10 +101,10 @@ export const SDK_RELEASE = {
|
|
|
101
101
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
102
102
|
// the SDK enrich generator's one-second stale policy.
|
|
103
103
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
104
|
-
version: '0.1.
|
|
104
|
+
version: '0.1.125',
|
|
105
105
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
106
106
|
supportPolicy: {
|
|
107
|
-
latest: '0.1.
|
|
107
|
+
latest: '0.1.125',
|
|
108
108
|
minimumSupported: '0.1.53',
|
|
109
109
|
deprecatedBelow: '0.1.53',
|
|
110
110
|
commandMinimumSupported: [
|
package/dist/cli/index.js
CHANGED
|
@@ -404,10 +404,10 @@ var SDK_RELEASE = {
|
|
|
404
404
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
405
405
|
// the SDK enrich generator's one-second stale policy.
|
|
406
406
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
407
|
-
version: "0.1.
|
|
407
|
+
version: "0.1.125",
|
|
408
408
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
409
409
|
supportPolicy: {
|
|
410
|
-
latest: "0.1.
|
|
410
|
+
latest: "0.1.125",
|
|
411
411
|
minimumSupported: "0.1.53",
|
|
412
412
|
deprecatedBelow: "0.1.53",
|
|
413
413
|
commandMinimumSupported: [
|
|
@@ -21329,6 +21329,27 @@ function findRepoBackedSdkRoot(startPath) {
|
|
|
21329
21329
|
current = parent;
|
|
21330
21330
|
}
|
|
21331
21331
|
}
|
|
21332
|
+
function inferNpmGlobalPrefixFromEntrypoint(entrypoint) {
|
|
21333
|
+
const normalized = (() => {
|
|
21334
|
+
try {
|
|
21335
|
+
return (0, import_node_fs14.realpathSync)(entrypoint);
|
|
21336
|
+
} catch {
|
|
21337
|
+
return (0, import_node_path17.resolve)(entrypoint);
|
|
21338
|
+
}
|
|
21339
|
+
})();
|
|
21340
|
+
const parts = normalized.split(/[\\/]+/);
|
|
21341
|
+
const nodeModulesIndex = parts.lastIndexOf("node_modules");
|
|
21342
|
+
if (nodeModulesIndex <= 0 || parts[nodeModulesIndex + 1] !== "deepline") {
|
|
21343
|
+
return null;
|
|
21344
|
+
}
|
|
21345
|
+
const prefixParts = parts.slice(0, nodeModulesIndex);
|
|
21346
|
+
if (prefixParts.at(-1) !== "lib") {
|
|
21347
|
+
return null;
|
|
21348
|
+
}
|
|
21349
|
+
prefixParts.pop();
|
|
21350
|
+
const prefix = normalized.startsWith("/") && prefixParts[0] !== "" ? `/${prefixParts.join("/")}` : prefixParts.join("/");
|
|
21351
|
+
return prefix || null;
|
|
21352
|
+
}
|
|
21332
21353
|
function resolveUpdatePlan(options = {}) {
|
|
21333
21354
|
const env = options.env ?? process.env;
|
|
21334
21355
|
const homeDir2 = options.homeDir ?? (0, import_node_os12.homedir)();
|
|
@@ -21350,11 +21371,13 @@ function resolveUpdatePlan(options = {}) {
|
|
|
21350
21371
|
if (sidecarPlan) return sidecarPlan;
|
|
21351
21372
|
const command = "npm";
|
|
21352
21373
|
const packageSpec = options.packageSpec || "deepline@latest";
|
|
21353
|
-
const
|
|
21374
|
+
const installPrefix = entrypoint ? inferNpmGlobalPrefixFromEntrypoint(entrypoint) : null;
|
|
21375
|
+
const args = installPrefix ? ["install", "-g", "--prefix", installPrefix, packageSpec] : ["install", "-g", packageSpec];
|
|
21354
21376
|
return {
|
|
21355
21377
|
kind: "npm-global",
|
|
21356
21378
|
command,
|
|
21357
21379
|
args,
|
|
21380
|
+
...installPrefix ? { installPrefix } : {},
|
|
21358
21381
|
manualCommand: `${command} ${args.map(shellQuote3).join(" ")}`
|
|
21359
21382
|
};
|
|
21360
21383
|
}
|
package/dist/cli/index.mjs
CHANGED
|
@@ -381,10 +381,10 @@ var SDK_RELEASE = {
|
|
|
381
381
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
382
382
|
// the SDK enrich generator's one-second stale policy.
|
|
383
383
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
384
|
-
version: "0.1.
|
|
384
|
+
version: "0.1.125",
|
|
385
385
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
386
386
|
supportPolicy: {
|
|
387
|
-
latest: "0.1.
|
|
387
|
+
latest: "0.1.125",
|
|
388
388
|
minimumSupported: "0.1.53",
|
|
389
389
|
deprecatedBelow: "0.1.53",
|
|
390
390
|
commandMinimumSupported: [
|
|
@@ -21274,6 +21274,7 @@ import { spawn as spawn2 } from "child_process";
|
|
|
21274
21274
|
import {
|
|
21275
21275
|
existsSync as existsSync10,
|
|
21276
21276
|
mkdirSync as mkdirSync8,
|
|
21277
|
+
realpathSync as realpathSync2,
|
|
21277
21278
|
readFileSync as readFileSync10,
|
|
21278
21279
|
renameSync,
|
|
21279
21280
|
rmSync as rmSync3,
|
|
@@ -21358,6 +21359,27 @@ function findRepoBackedSdkRoot(startPath) {
|
|
|
21358
21359
|
current = parent;
|
|
21359
21360
|
}
|
|
21360
21361
|
}
|
|
21362
|
+
function inferNpmGlobalPrefixFromEntrypoint(entrypoint) {
|
|
21363
|
+
const normalized = (() => {
|
|
21364
|
+
try {
|
|
21365
|
+
return realpathSync2(entrypoint);
|
|
21366
|
+
} catch {
|
|
21367
|
+
return resolve12(entrypoint);
|
|
21368
|
+
}
|
|
21369
|
+
})();
|
|
21370
|
+
const parts = normalized.split(/[\\/]+/);
|
|
21371
|
+
const nodeModulesIndex = parts.lastIndexOf("node_modules");
|
|
21372
|
+
if (nodeModulesIndex <= 0 || parts[nodeModulesIndex + 1] !== "deepline") {
|
|
21373
|
+
return null;
|
|
21374
|
+
}
|
|
21375
|
+
const prefixParts = parts.slice(0, nodeModulesIndex);
|
|
21376
|
+
if (prefixParts.at(-1) !== "lib") {
|
|
21377
|
+
return null;
|
|
21378
|
+
}
|
|
21379
|
+
prefixParts.pop();
|
|
21380
|
+
const prefix = normalized.startsWith("/") && prefixParts[0] !== "" ? `/${prefixParts.join("/")}` : prefixParts.join("/");
|
|
21381
|
+
return prefix || null;
|
|
21382
|
+
}
|
|
21361
21383
|
function resolveUpdatePlan(options = {}) {
|
|
21362
21384
|
const env = options.env ?? process.env;
|
|
21363
21385
|
const homeDir2 = options.homeDir ?? homedir10();
|
|
@@ -21379,11 +21401,13 @@ function resolveUpdatePlan(options = {}) {
|
|
|
21379
21401
|
if (sidecarPlan) return sidecarPlan;
|
|
21380
21402
|
const command = "npm";
|
|
21381
21403
|
const packageSpec = options.packageSpec || "deepline@latest";
|
|
21382
|
-
const
|
|
21404
|
+
const installPrefix = entrypoint ? inferNpmGlobalPrefixFromEntrypoint(entrypoint) : null;
|
|
21405
|
+
const args = installPrefix ? ["install", "-g", "--prefix", installPrefix, packageSpec] : ["install", "-g", packageSpec];
|
|
21383
21406
|
return {
|
|
21384
21407
|
kind: "npm-global",
|
|
21385
21408
|
command,
|
|
21386
21409
|
args,
|
|
21410
|
+
...installPrefix ? { installPrefix } : {},
|
|
21387
21411
|
manualCommand: `${command} ${args.map(shellQuote3).join(" ")}`
|
|
21388
21412
|
};
|
|
21389
21413
|
}
|
package/dist/index.js
CHANGED
|
@@ -275,10 +275,10 @@ var SDK_RELEASE = {
|
|
|
275
275
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
276
276
|
// the SDK enrich generator's one-second stale policy.
|
|
277
277
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
278
|
-
version: "0.1.
|
|
278
|
+
version: "0.1.125",
|
|
279
279
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
280
280
|
supportPolicy: {
|
|
281
|
-
latest: "0.1.
|
|
281
|
+
latest: "0.1.125",
|
|
282
282
|
minimumSupported: "0.1.53",
|
|
283
283
|
deprecatedBelow: "0.1.53",
|
|
284
284
|
commandMinimumSupported: [
|
package/dist/index.mjs
CHANGED
|
@@ -197,10 +197,10 @@ var SDK_RELEASE = {
|
|
|
197
197
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
198
198
|
// the SDK enrich generator's one-second stale policy.
|
|
199
199
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
200
|
-
version: "0.1.
|
|
200
|
+
version: "0.1.125",
|
|
201
201
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
202
202
|
supportPolicy: {
|
|
203
|
-
latest: "0.1.
|
|
203
|
+
latest: "0.1.125",
|
|
204
204
|
minimumSupported: "0.1.53",
|
|
205
205
|
deprecatedBelow: "0.1.53",
|
|
206
206
|
commandMinimumSupported: [
|