deepline 0.1.241 → 0.1.242

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.
@@ -113,10 +113,10 @@ export const SDK_RELEASE = {
113
113
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
114
114
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
115
115
  // runtime intentionally no longer compiles at publish or launch time.
116
- version: '0.1.241',
116
+ version: '0.1.242',
117
117
  apiContract: '2026-07-immutable-cjs-play-artifacts-hard-cutover',
118
118
  supportPolicy: {
119
- latest: '0.1.241',
119
+ latest: '0.1.242',
120
120
  minimumSupported: '0.1.53',
121
121
  deprecatedBelow: '0.1.219',
122
122
  commandMinimumSupported: [
package/dist/cli/index.js CHANGED
@@ -630,10 +630,10 @@ var SDK_RELEASE = {
630
630
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
631
631
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
632
632
  // runtime intentionally no longer compiles at publish or launch time.
633
- version: "0.1.241",
633
+ version: "0.1.242",
634
634
  apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
635
635
  supportPolicy: {
636
- latest: "0.1.241",
636
+ latest: "0.1.242",
637
637
  minimumSupported: "0.1.53",
638
638
  deprecatedBelow: "0.1.219",
639
639
  commandMinimumSupported: [
@@ -29050,6 +29050,22 @@ function sidecarStateDir(input2) {
29050
29050
  }
29051
29051
  return (0, import_node_path19.join)(input2.homeDir, ".local", "deepline", scope, "sdk-cli");
29052
29052
  }
29053
+ function sidecarRegistryUrl(hostUrl) {
29054
+ let url;
29055
+ try {
29056
+ url = new URL(hostUrl);
29057
+ } catch {
29058
+ throw new Error(
29059
+ "The Python-managed SDK sidecar is missing a valid Deepline host URL for its npm registry."
29060
+ );
29061
+ }
29062
+ if (url.protocol !== "https:" && url.protocol !== "http:" || !url.hostname || url.username || url.password) {
29063
+ throw new Error(
29064
+ "The Python-managed SDK sidecar has an invalid Deepline host URL for its npm registry."
29065
+ );
29066
+ }
29067
+ return new URL("/api/v2/npm/", url).toString();
29068
+ }
29053
29069
  function readOptionalText(path) {
29054
29070
  try {
29055
29071
  return (0, import_node_fs17.readFileSync)(path, "utf8").trim();
@@ -29079,8 +29095,9 @@ function resolvePythonSidecarUpdatePlan(options) {
29079
29095
  );
29080
29096
  const packageSpec = options.packageSpec || "deepline@latest";
29081
29097
  const npmCommand = "npm";
29098
+ const registryUrl = sidecarRegistryUrl(hostUrl);
29082
29099
  const versionDir = (0, import_node_path19.join)(stateDir, "versions", "<version>");
29083
- const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${shellQuote6(versionDir)} ${NPM_SDK_INSTALL_COMMON_FLAGS.map(shellQuote6).join(" ")} ${shellQuote6(packageSpec)}`;
29100
+ const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${shellQuote6(versionDir)} --registry ${shellQuote6(registryUrl)} ${NPM_SDK_INSTALL_COMMON_FLAGS.map(shellQuote6).join(" ")} ${shellQuote6(packageSpec)}`;
29084
29101
  return {
29085
29102
  kind: "python-sidecar",
29086
29103
  stateDir,
@@ -29089,6 +29106,7 @@ function resolvePythonSidecarUpdatePlan(options) {
29089
29106
  npmCommand,
29090
29107
  scope,
29091
29108
  hostUrl,
29109
+ registryUrl,
29092
29110
  packageSpec,
29093
29111
  manualCommand
29094
29112
  };
@@ -29348,6 +29366,8 @@ async function runPythonSidecarUpdatePlan(plan, options = {}) {
29348
29366
  "install",
29349
29367
  "--prefix",
29350
29368
  tempDir,
29369
+ "--registry",
29370
+ plan.registryUrl,
29351
29371
  ...NPM_SDK_INSTALL_COMMON_FLAGS,
29352
29372
  plan.packageSpec
29353
29373
  ],
@@ -615,10 +615,10 @@ var SDK_RELEASE = {
615
615
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
616
616
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
617
617
  // runtime intentionally no longer compiles at publish or launch time.
618
- version: "0.1.241",
618
+ version: "0.1.242",
619
619
  apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
620
620
  supportPolicy: {
621
- latest: "0.1.241",
621
+ latest: "0.1.242",
622
622
  minimumSupported: "0.1.53",
623
623
  deprecatedBelow: "0.1.219",
624
624
  commandMinimumSupported: [
@@ -29113,6 +29113,22 @@ function sidecarStateDir(input2) {
29113
29113
  }
29114
29114
  return join14(input2.homeDir, ".local", "deepline", scope, "sdk-cli");
29115
29115
  }
29116
+ function sidecarRegistryUrl(hostUrl) {
29117
+ let url;
29118
+ try {
29119
+ url = new URL(hostUrl);
29120
+ } catch {
29121
+ throw new Error(
29122
+ "The Python-managed SDK sidecar is missing a valid Deepline host URL for its npm registry."
29123
+ );
29124
+ }
29125
+ if (url.protocol !== "https:" && url.protocol !== "http:" || !url.hostname || url.username || url.password) {
29126
+ throw new Error(
29127
+ "The Python-managed SDK sidecar has an invalid Deepline host URL for its npm registry."
29128
+ );
29129
+ }
29130
+ return new URL("/api/v2/npm/", url).toString();
29131
+ }
29116
29132
  function readOptionalText(path) {
29117
29133
  try {
29118
29134
  return readFileSync13(path, "utf8").trim();
@@ -29142,8 +29158,9 @@ function resolvePythonSidecarUpdatePlan(options) {
29142
29158
  );
29143
29159
  const packageSpec = options.packageSpec || "deepline@latest";
29144
29160
  const npmCommand = "npm";
29161
+ const registryUrl = sidecarRegistryUrl(hostUrl);
29145
29162
  const versionDir = join14(stateDir, "versions", "<version>");
29146
- const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${shellQuote6(versionDir)} ${NPM_SDK_INSTALL_COMMON_FLAGS.map(shellQuote6).join(" ")} ${shellQuote6(packageSpec)}`;
29163
+ const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${shellQuote6(versionDir)} --registry ${shellQuote6(registryUrl)} ${NPM_SDK_INSTALL_COMMON_FLAGS.map(shellQuote6).join(" ")} ${shellQuote6(packageSpec)}`;
29147
29164
  return {
29148
29165
  kind: "python-sidecar",
29149
29166
  stateDir,
@@ -29152,6 +29169,7 @@ function resolvePythonSidecarUpdatePlan(options) {
29152
29169
  npmCommand,
29153
29170
  scope,
29154
29171
  hostUrl,
29172
+ registryUrl,
29155
29173
  packageSpec,
29156
29174
  manualCommand
29157
29175
  };
@@ -29411,6 +29429,8 @@ async function runPythonSidecarUpdatePlan(plan, options = {}) {
29411
29429
  "install",
29412
29430
  "--prefix",
29413
29431
  tempDir,
29432
+ "--registry",
29433
+ plan.registryUrl,
29414
29434
  ...NPM_SDK_INSTALL_COMMON_FLAGS,
29415
29435
  plan.packageSpec
29416
29436
  ],
package/dist/index.js CHANGED
@@ -429,10 +429,10 @@ var SDK_RELEASE = {
429
429
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
430
430
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
431
431
  // runtime intentionally no longer compiles at publish or launch time.
432
- version: "0.1.241",
432
+ version: "0.1.242",
433
433
  apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
434
434
  supportPolicy: {
435
- latest: "0.1.241",
435
+ latest: "0.1.242",
436
436
  minimumSupported: "0.1.53",
437
437
  deprecatedBelow: "0.1.219",
438
438
  commandMinimumSupported: [
package/dist/index.mjs CHANGED
@@ -359,10 +359,10 @@ var SDK_RELEASE = {
359
359
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
360
360
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
361
361
  // runtime intentionally no longer compiles at publish or launch time.
362
- version: "0.1.241",
362
+ version: "0.1.242",
363
363
  apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
364
364
  supportPolicy: {
365
- latest: "0.1.241",
365
+ latest: "0.1.242",
366
366
  minimumSupported: "0.1.53",
367
367
  deprecatedBelow: "0.1.219",
368
368
  commandMinimumSupported: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.241",
3
+ "version": "0.1.242",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {