deepline 0.1.129 → 0.1.131

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/index.js CHANGED
@@ -200,6 +200,15 @@ function sdkCliConfigDir(baseUrl) {
200
200
  const home = process.env.HOME?.trim() || (0, import_node_os.homedir)();
201
201
  return (0, import_node_path.join)(home, ".local", "deepline", baseUrlSlug(baseUrl || PROD_URL));
202
202
  }
203
+ function sdkCliStateDirPath(baseUrl, homeDir = process.env.HOME?.trim() || (0, import_node_os.homedir)()) {
204
+ return (0, import_node_path.join)(
205
+ homeDir,
206
+ ".local",
207
+ "deepline",
208
+ baseUrlSlug(baseUrl || PROD_URL),
209
+ "sdk-cli"
210
+ );
211
+ }
203
212
  function sdkCliEnvFilePath(baseUrl) {
204
213
  return (0, import_node_path.join)(sdkCliConfigDir(baseUrl), ".env");
205
214
  }
@@ -275,10 +284,10 @@ var SDK_RELEASE = {
275
284
  // 0.1.108 ships explicit dataset column/tool recompute policy and removes
276
285
  // the SDK enrich generator's one-second stale policy.
277
286
  // 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
278
- version: "0.1.129",
287
+ version: "0.1.131",
279
288
  apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
280
289
  supportPolicy: {
281
- latest: "0.1.129",
290
+ latest: "0.1.131",
282
291
  minimumSupported: "0.1.53",
283
292
  deprecatedBelow: "0.1.53",
284
293
  commandMinimumSupported: [
@@ -428,6 +437,10 @@ var HttpClient = class {
428
437
  if (explicit) return explicit;
429
438
  try {
430
439
  const versionPath = (0, import_node_path2.join)(
440
+ sdkCliStateDirPath(this.config.baseUrl),
441
+ "skills-version"
442
+ );
443
+ const legacyVersionPath = (0, import_node_path2.join)(
431
444
  process.env.HOME?.trim() || (0, import_node_os3.homedir)(),
432
445
  ".local",
433
446
  "deepline",
@@ -435,8 +448,9 @@ var HttpClient = class {
435
448
  "sdk-skills",
436
449
  ".version"
437
450
  );
438
- if (!(0, import_node_fs2.existsSync)(versionPath)) return null;
439
- return this.cleanDiagnosticHeader((0, import_node_fs2.readFileSync)(versionPath, "utf-8"));
451
+ const resolvedPath = (0, import_node_fs2.existsSync)(versionPath) ? versionPath : legacyVersionPath;
452
+ if (!(0, import_node_fs2.existsSync)(resolvedPath)) return null;
453
+ return this.cleanDiagnosticHeader((0, import_node_fs2.readFileSync)(resolvedPath, "utf-8"));
440
454
  } catch {
441
455
  return null;
442
456
  }
package/dist/index.mjs CHANGED
@@ -122,6 +122,15 @@ function sdkCliConfigDir(baseUrl) {
122
122
  const home = process.env.HOME?.trim() || homedir();
123
123
  return join(home, ".local", "deepline", baseUrlSlug(baseUrl || PROD_URL));
124
124
  }
125
+ function sdkCliStateDirPath(baseUrl, homeDir = process.env.HOME?.trim() || homedir()) {
126
+ return join(
127
+ homeDir,
128
+ ".local",
129
+ "deepline",
130
+ baseUrlSlug(baseUrl || PROD_URL),
131
+ "sdk-cli"
132
+ );
133
+ }
125
134
  function sdkCliEnvFilePath(baseUrl) {
126
135
  return join(sdkCliConfigDir(baseUrl), ".env");
127
136
  }
@@ -197,10 +206,10 @@ var SDK_RELEASE = {
197
206
  // 0.1.108 ships explicit dataset column/tool recompute policy and removes
198
207
  // the SDK enrich generator's one-second stale policy.
199
208
  // 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
200
- version: "0.1.129",
209
+ version: "0.1.131",
201
210
  apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
202
211
  supportPolicy: {
203
- latest: "0.1.129",
212
+ latest: "0.1.131",
204
213
  minimumSupported: "0.1.53",
205
214
  deprecatedBelow: "0.1.53",
206
215
  commandMinimumSupported: [
@@ -350,6 +359,10 @@ var HttpClient = class {
350
359
  if (explicit) return explicit;
351
360
  try {
352
361
  const versionPath = join2(
362
+ sdkCliStateDirPath(this.config.baseUrl),
363
+ "skills-version"
364
+ );
365
+ const legacyVersionPath = join2(
353
366
  process.env.HOME?.trim() || homedir3(),
354
367
  ".local",
355
368
  "deepline",
@@ -357,8 +370,9 @@ var HttpClient = class {
357
370
  "sdk-skills",
358
371
  ".version"
359
372
  );
360
- if (!existsSync2(versionPath)) return null;
361
- return this.cleanDiagnosticHeader(readFileSync2(versionPath, "utf-8"));
373
+ const resolvedPath = existsSync2(versionPath) ? versionPath : legacyVersionPath;
374
+ if (!existsSync2(resolvedPath)) return null;
375
+ return this.cleanDiagnosticHeader(readFileSync2(resolvedPath, "utf-8"));
362
376
  } catch {
363
377
  return null;
364
378
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.129",
3
+ "version": "0.1.131",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {