deepline 0.1.132 → 0.1.133
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 +44 -7
- package/dist/cli/index.mjs +44 -7
- 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.133',
|
|
105
105
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
106
106
|
supportPolicy: {
|
|
107
|
-
latest: '0.1.
|
|
107
|
+
latest: '0.1.133',
|
|
108
108
|
minimumSupported: '0.1.53',
|
|
109
109
|
deprecatedBelow: '0.1.53',
|
|
110
110
|
commandMinimumSupported: [
|
package/dist/cli/index.js
CHANGED
|
@@ -413,10 +413,10 @@ var SDK_RELEASE = {
|
|
|
413
413
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
414
414
|
// the SDK enrich generator's one-second stale policy.
|
|
415
415
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
416
|
-
version: "0.1.
|
|
416
|
+
version: "0.1.133",
|
|
417
417
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
418
418
|
supportPolicy: {
|
|
419
|
-
latest: "0.1.
|
|
419
|
+
latest: "0.1.133",
|
|
420
420
|
minimumSupported: "0.1.53",
|
|
421
421
|
deprecatedBelow: "0.1.53",
|
|
422
422
|
commandMinimumSupported: [
|
|
@@ -21798,6 +21798,23 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
|
|
|
21798
21798
|
}
|
|
21799
21799
|
|
|
21800
21800
|
// src/cli/commands/update.ts
|
|
21801
|
+
var NPM_SDK_INSTALL_COMMON_FLAGS = ["--no-audit", "--no-fund"];
|
|
21802
|
+
var NPM_SDK_GLOBAL_INSTALL_FLAGS = [
|
|
21803
|
+
"--no-audit",
|
|
21804
|
+
"--no-fund",
|
|
21805
|
+
"--allow-scripts=esbuild"
|
|
21806
|
+
];
|
|
21807
|
+
var NPM_SDK_SIDECAR_PACKAGE_JSON = `${JSON.stringify(
|
|
21808
|
+
{
|
|
21809
|
+
private: true,
|
|
21810
|
+
allowScripts: {
|
|
21811
|
+
esbuild: true
|
|
21812
|
+
}
|
|
21813
|
+
},
|
|
21814
|
+
null,
|
|
21815
|
+
2
|
|
21816
|
+
)}
|
|
21817
|
+
`;
|
|
21801
21818
|
function posixShellQuote(value) {
|
|
21802
21819
|
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
21803
21820
|
}
|
|
@@ -21815,6 +21832,16 @@ function buildSourceUpdateCommand(sourceRoot) {
|
|
|
21815
21832
|
const cdCommand = process.platform === "win32" ? `cd /d ${quotedRoot}` : `cd ${quotedRoot}`;
|
|
21816
21833
|
return `${cdCommand} && git fetch origin main --tags && git merge --ff-only origin/main`;
|
|
21817
21834
|
}
|
|
21835
|
+
function buildSidecarProjectConfigCommand(versionDir, nodeBin) {
|
|
21836
|
+
const script = [
|
|
21837
|
+
"const fs=require('node:fs');",
|
|
21838
|
+
"const path=require('node:path');",
|
|
21839
|
+
"const dir=process.argv[1];",
|
|
21840
|
+
"fs.mkdirSync(dir,{recursive:true});",
|
|
21841
|
+
`fs.writeFileSync(path.join(dir,'package.json'),${JSON.stringify(NPM_SDK_SIDECAR_PACKAGE_JSON)});`
|
|
21842
|
+
].join("");
|
|
21843
|
+
return `${shellQuote4(nodeBin)} -e ${shellQuote4(script)} ${shellQuote4(versionDir)}`;
|
|
21844
|
+
}
|
|
21818
21845
|
function sidecarStateDir(input2) {
|
|
21819
21846
|
const scope = input2.env.DEEPLINE_CONFIG_SCOPE?.trim();
|
|
21820
21847
|
if (!scope || scope.includes("/") || scope.includes("\\")) {
|
|
@@ -21851,7 +21878,8 @@ function resolvePythonSidecarUpdatePlan(options) {
|
|
|
21851
21878
|
);
|
|
21852
21879
|
const packageSpec = options.packageSpec || "deepline@latest";
|
|
21853
21880
|
const npmCommand = "npm";
|
|
21854
|
-
const
|
|
21881
|
+
const versionDir = (0, import_node_path18.join)(stateDir, "versions", "<version>");
|
|
21882
|
+
const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${shellQuote4(versionDir)} ${NPM_SDK_INSTALL_COMMON_FLAGS.map(shellQuote4).join(" ")} ${shellQuote4(packageSpec)}`;
|
|
21855
21883
|
return {
|
|
21856
21884
|
kind: "python-sidecar",
|
|
21857
21885
|
stateDir,
|
|
@@ -21918,7 +21946,14 @@ function resolveUpdatePlan(options = {}) {
|
|
|
21918
21946
|
const command = "npm";
|
|
21919
21947
|
const packageSpec = options.packageSpec || "deepline@latest";
|
|
21920
21948
|
const installPrefix = entrypoint ? inferNpmGlobalPrefixFromEntrypoint(entrypoint) : null;
|
|
21921
|
-
const args = installPrefix ? [
|
|
21949
|
+
const args = installPrefix ? [
|
|
21950
|
+
"install",
|
|
21951
|
+
"-g",
|
|
21952
|
+
"--prefix",
|
|
21953
|
+
installPrefix,
|
|
21954
|
+
...NPM_SDK_GLOBAL_INSTALL_FLAGS,
|
|
21955
|
+
packageSpec
|
|
21956
|
+
] : ["install", "-g", ...NPM_SDK_GLOBAL_INSTALL_FLAGS, packageSpec];
|
|
21922
21957
|
return {
|
|
21923
21958
|
kind: "npm-global",
|
|
21924
21959
|
command,
|
|
@@ -22093,7 +22128,7 @@ async function runPythonSidecarUpdatePlan(plan) {
|
|
|
22093
22128
|
);
|
|
22094
22129
|
(0, import_node_fs15.rmSync)(tempDir, { recursive: true, force: true });
|
|
22095
22130
|
(0, import_node_fs15.mkdirSync)(tempDir, { recursive: true });
|
|
22096
|
-
(0, import_node_fs15.writeFileSync)((0, import_node_path18.join)(tempDir, "package.json"),
|
|
22131
|
+
(0, import_node_fs15.writeFileSync)((0, import_node_path18.join)(tempDir, "package.json"), NPM_SDK_SIDECAR_PACKAGE_JSON);
|
|
22097
22132
|
const env = {
|
|
22098
22133
|
...process.env,
|
|
22099
22134
|
PATH: `${(0, import_node_path18.dirname)(plan.nodeBin)}${process.platform === "win32" ? ";" : ":"}${process.env.PATH ?? ""}`
|
|
@@ -22104,8 +22139,7 @@ async function runPythonSidecarUpdatePlan(plan) {
|
|
|
22104
22139
|
"install",
|
|
22105
22140
|
"--prefix",
|
|
22106
22141
|
tempDir,
|
|
22107
|
-
|
|
22108
|
-
"--no-fund",
|
|
22142
|
+
...NPM_SDK_INSTALL_COMMON_FLAGS,
|
|
22109
22143
|
plan.packageSpec
|
|
22110
22144
|
],
|
|
22111
22145
|
env
|
|
@@ -22705,6 +22739,9 @@ function shouldDeferSkillsSyncForCommand() {
|
|
|
22705
22739
|
const args = process.argv.slice(2);
|
|
22706
22740
|
const command = args[0];
|
|
22707
22741
|
const subcommand = args[1];
|
|
22742
|
+
if (command === "tools" && ["list", "search", "grep", "describe", "get"].includes(subcommand ?? "")) {
|
|
22743
|
+
return true;
|
|
22744
|
+
}
|
|
22708
22745
|
return (command === "play" || command === "plays") && subcommand === "run" && args.includes("--json");
|
|
22709
22746
|
}
|
|
22710
22747
|
function isLegacyNoopInvocation() {
|
package/dist/cli/index.mjs
CHANGED
|
@@ -390,10 +390,10 @@ var SDK_RELEASE = {
|
|
|
390
390
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
391
391
|
// the SDK enrich generator's one-second stale policy.
|
|
392
392
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
393
|
-
version: "0.1.
|
|
393
|
+
version: "0.1.133",
|
|
394
394
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
395
395
|
supportPolicy: {
|
|
396
|
-
latest: "0.1.
|
|
396
|
+
latest: "0.1.133",
|
|
397
397
|
minimumSupported: "0.1.53",
|
|
398
398
|
deprecatedBelow: "0.1.53",
|
|
399
399
|
commandMinimumSupported: [
|
|
@@ -21829,6 +21829,23 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
|
|
|
21829
21829
|
}
|
|
21830
21830
|
|
|
21831
21831
|
// src/cli/commands/update.ts
|
|
21832
|
+
var NPM_SDK_INSTALL_COMMON_FLAGS = ["--no-audit", "--no-fund"];
|
|
21833
|
+
var NPM_SDK_GLOBAL_INSTALL_FLAGS = [
|
|
21834
|
+
"--no-audit",
|
|
21835
|
+
"--no-fund",
|
|
21836
|
+
"--allow-scripts=esbuild"
|
|
21837
|
+
];
|
|
21838
|
+
var NPM_SDK_SIDECAR_PACKAGE_JSON = `${JSON.stringify(
|
|
21839
|
+
{
|
|
21840
|
+
private: true,
|
|
21841
|
+
allowScripts: {
|
|
21842
|
+
esbuild: true
|
|
21843
|
+
}
|
|
21844
|
+
},
|
|
21845
|
+
null,
|
|
21846
|
+
2
|
|
21847
|
+
)}
|
|
21848
|
+
`;
|
|
21832
21849
|
function posixShellQuote(value) {
|
|
21833
21850
|
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
21834
21851
|
}
|
|
@@ -21846,6 +21863,16 @@ function buildSourceUpdateCommand(sourceRoot) {
|
|
|
21846
21863
|
const cdCommand = process.platform === "win32" ? `cd /d ${quotedRoot}` : `cd ${quotedRoot}`;
|
|
21847
21864
|
return `${cdCommand} && git fetch origin main --tags && git merge --ff-only origin/main`;
|
|
21848
21865
|
}
|
|
21866
|
+
function buildSidecarProjectConfigCommand(versionDir, nodeBin) {
|
|
21867
|
+
const script = [
|
|
21868
|
+
"const fs=require('node:fs');",
|
|
21869
|
+
"const path=require('node:path');",
|
|
21870
|
+
"const dir=process.argv[1];",
|
|
21871
|
+
"fs.mkdirSync(dir,{recursive:true});",
|
|
21872
|
+
`fs.writeFileSync(path.join(dir,'package.json'),${JSON.stringify(NPM_SDK_SIDECAR_PACKAGE_JSON)});`
|
|
21873
|
+
].join("");
|
|
21874
|
+
return `${shellQuote4(nodeBin)} -e ${shellQuote4(script)} ${shellQuote4(versionDir)}`;
|
|
21875
|
+
}
|
|
21849
21876
|
function sidecarStateDir(input2) {
|
|
21850
21877
|
const scope = input2.env.DEEPLINE_CONFIG_SCOPE?.trim();
|
|
21851
21878
|
if (!scope || scope.includes("/") || scope.includes("\\")) {
|
|
@@ -21882,7 +21909,8 @@ function resolvePythonSidecarUpdatePlan(options) {
|
|
|
21882
21909
|
);
|
|
21883
21910
|
const packageSpec = options.packageSpec || "deepline@latest";
|
|
21884
21911
|
const npmCommand = "npm";
|
|
21885
|
-
const
|
|
21912
|
+
const versionDir = join13(stateDir, "versions", "<version>");
|
|
21913
|
+
const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${shellQuote4(versionDir)} ${NPM_SDK_INSTALL_COMMON_FLAGS.map(shellQuote4).join(" ")} ${shellQuote4(packageSpec)}`;
|
|
21886
21914
|
return {
|
|
21887
21915
|
kind: "python-sidecar",
|
|
21888
21916
|
stateDir,
|
|
@@ -21949,7 +21977,14 @@ function resolveUpdatePlan(options = {}) {
|
|
|
21949
21977
|
const command = "npm";
|
|
21950
21978
|
const packageSpec = options.packageSpec || "deepline@latest";
|
|
21951
21979
|
const installPrefix = entrypoint ? inferNpmGlobalPrefixFromEntrypoint(entrypoint) : null;
|
|
21952
|
-
const args = installPrefix ? [
|
|
21980
|
+
const args = installPrefix ? [
|
|
21981
|
+
"install",
|
|
21982
|
+
"-g",
|
|
21983
|
+
"--prefix",
|
|
21984
|
+
installPrefix,
|
|
21985
|
+
...NPM_SDK_GLOBAL_INSTALL_FLAGS,
|
|
21986
|
+
packageSpec
|
|
21987
|
+
] : ["install", "-g", ...NPM_SDK_GLOBAL_INSTALL_FLAGS, packageSpec];
|
|
21953
21988
|
return {
|
|
21954
21989
|
kind: "npm-global",
|
|
21955
21990
|
command,
|
|
@@ -22124,7 +22159,7 @@ async function runPythonSidecarUpdatePlan(plan) {
|
|
|
22124
22159
|
);
|
|
22125
22160
|
rmSync3(tempDir, { recursive: true, force: true });
|
|
22126
22161
|
mkdirSync9(tempDir, { recursive: true });
|
|
22127
|
-
writeFileSync14(join13(tempDir, "package.json"),
|
|
22162
|
+
writeFileSync14(join13(tempDir, "package.json"), NPM_SDK_SIDECAR_PACKAGE_JSON);
|
|
22128
22163
|
const env = {
|
|
22129
22164
|
...process.env,
|
|
22130
22165
|
PATH: `${dirname11(plan.nodeBin)}${process.platform === "win32" ? ";" : ":"}${process.env.PATH ?? ""}`
|
|
@@ -22135,8 +22170,7 @@ async function runPythonSidecarUpdatePlan(plan) {
|
|
|
22135
22170
|
"install",
|
|
22136
22171
|
"--prefix",
|
|
22137
22172
|
tempDir,
|
|
22138
|
-
|
|
22139
|
-
"--no-fund",
|
|
22173
|
+
...NPM_SDK_INSTALL_COMMON_FLAGS,
|
|
22140
22174
|
plan.packageSpec
|
|
22141
22175
|
],
|
|
22142
22176
|
env
|
|
@@ -22736,6 +22770,9 @@ function shouldDeferSkillsSyncForCommand() {
|
|
|
22736
22770
|
const args = process.argv.slice(2);
|
|
22737
22771
|
const command = args[0];
|
|
22738
22772
|
const subcommand = args[1];
|
|
22773
|
+
if (command === "tools" && ["list", "search", "grep", "describe", "get"].includes(subcommand ?? "")) {
|
|
22774
|
+
return true;
|
|
22775
|
+
}
|
|
22739
22776
|
return (command === "play" || command === "plays") && subcommand === "run" && args.includes("--json");
|
|
22740
22777
|
}
|
|
22741
22778
|
function isLegacyNoopInvocation() {
|
package/dist/index.js
CHANGED
|
@@ -284,10 +284,10 @@ var SDK_RELEASE = {
|
|
|
284
284
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
285
285
|
// the SDK enrich generator's one-second stale policy.
|
|
286
286
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
287
|
-
version: "0.1.
|
|
287
|
+
version: "0.1.133",
|
|
288
288
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
289
289
|
supportPolicy: {
|
|
290
|
-
latest: "0.1.
|
|
290
|
+
latest: "0.1.133",
|
|
291
291
|
minimumSupported: "0.1.53",
|
|
292
292
|
deprecatedBelow: "0.1.53",
|
|
293
293
|
commandMinimumSupported: [
|
package/dist/index.mjs
CHANGED
|
@@ -206,10 +206,10 @@ var SDK_RELEASE = {
|
|
|
206
206
|
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
207
207
|
// the SDK enrich generator's one-second stale policy.
|
|
208
208
|
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
209
|
-
version: "0.1.
|
|
209
|
+
version: "0.1.133",
|
|
210
210
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
211
211
|
supportPolicy: {
|
|
212
|
-
latest: "0.1.
|
|
212
|
+
latest: "0.1.133",
|
|
213
213
|
minimumSupported: "0.1.53",
|
|
214
214
|
deprecatedBelow: "0.1.53",
|
|
215
215
|
commandMinimumSupported: [
|