deepline 0.3.288 → 0.3.289

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.
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
200
200
  // getters keep their established compatibility behavior.
201
201
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
202
202
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
203
- version: '0.3.288',
203
+ version: '0.3.289',
204
204
  updateSummary:
205
205
  'Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.',
206
206
  packageCapabilities: {
package/dist/cli/index.js CHANGED
@@ -3515,7 +3515,7 @@ var SDK_RELEASE = {
3515
3515
  // getters keep their established compatibility behavior.
3516
3516
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
3517
3517
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
3518
- version: "0.3.288",
3518
+ version: "0.3.289",
3519
3519
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
3520
3520
  packageCapabilities: {
3521
3521
  updatePreferences: 1
@@ -46644,16 +46644,27 @@ function resolvePersistentGlobalCommand(dependencies = {}) {
46644
46644
  const pathClis = dependencies.pathClis ?? resolvePathCommands("deepline");
46645
46645
  const homebrewCommand = pathClis.find(isHomebrewFormulaCommand);
46646
46646
  if (homebrewCommand) return homebrewCommand;
46647
- const plan = resolveShellSpawn("npm", ["prefix", "-g"], platform3);
46648
- const prefix = run(plan.command, plan.args, {
46649
- encoding: "utf8",
46650
- shell: plan.shell
46651
- });
46652
- if (prefix.status !== 0) return null;
46653
- const root = String(prefix.stdout ?? "").trim();
46654
- if (!root) return null;
46655
- const candidates = platform3 === "win32" ? [(0, import_node_path27.join)(root, "deepline.cmd"), (0, import_node_path27.join)(root, "deepline")] : [(0, import_node_path27.join)(root, "bin", "deepline")];
46656
- return candidates.find((candidate) => pathExists(candidate)) ?? null;
46647
+ for (const manager of ["npm", "pnpm"]) {
46648
+ const plan = resolveShellSpawn(
46649
+ manager,
46650
+ manager === "npm" ? ["prefix", "-g"] : ["bin", "-g"],
46651
+ platform3
46652
+ );
46653
+ const result = run(plan.command, plan.args, {
46654
+ encoding: "utf8",
46655
+ shell: plan.shell,
46656
+ cwd: manager === "pnpm" ? (0, import_node_os14.homedir)() : void 0,
46657
+ timeout: 1e4
46658
+ });
46659
+ if (result.status !== 0) continue;
46660
+ const root = String(result.stdout ?? "").trim();
46661
+ if (!root) continue;
46662
+ const bin = manager === "npm" && platform3 !== "win32" ? (0, import_node_path27.join)(root, "bin") : root;
46663
+ const candidates = platform3 === "win32" ? [(0, import_node_path27.join)(bin, "deepline.cmd"), (0, import_node_path27.join)(bin, "deepline")] : [(0, import_node_path27.join)(bin, "deepline")];
46664
+ const command = candidates.find((candidate) => pathExists(candidate));
46665
+ if (command) return command;
46666
+ }
46667
+ return null;
46657
46668
  }
46658
46669
  function inspectGlobalCliAvailability(input2) {
46659
46670
  const pathClis = input2?.pathClis ?? resolvePathCommands("deepline");
@@ -3510,7 +3510,7 @@ var SDK_RELEASE = {
3510
3510
  // getters keep their established compatibility behavior.
3511
3511
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
3512
3512
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
3513
- version: "0.3.288",
3513
+ version: "0.3.289",
3514
3514
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
3515
3515
  packageCapabilities: {
3516
3516
  updatePreferences: 1
@@ -46743,16 +46743,27 @@ function resolvePersistentGlobalCommand(dependencies = {}) {
46743
46743
  const pathClis = dependencies.pathClis ?? resolvePathCommands("deepline");
46744
46744
  const homebrewCommand = pathClis.find(isHomebrewFormulaCommand);
46745
46745
  if (homebrewCommand) return homebrewCommand;
46746
- const plan = resolveShellSpawn("npm", ["prefix", "-g"], platform3);
46747
- const prefix = run(plan.command, plan.args, {
46748
- encoding: "utf8",
46749
- shell: plan.shell
46750
- });
46751
- if (prefix.status !== 0) return null;
46752
- const root = String(prefix.stdout ?? "").trim();
46753
- if (!root) return null;
46754
- const candidates = platform3 === "win32" ? [join21(root, "deepline.cmd"), join21(root, "deepline")] : [join21(root, "bin", "deepline")];
46755
- return candidates.find((candidate) => pathExists(candidate)) ?? null;
46746
+ for (const manager of ["npm", "pnpm"]) {
46747
+ const plan = resolveShellSpawn(
46748
+ manager,
46749
+ manager === "npm" ? ["prefix", "-g"] : ["bin", "-g"],
46750
+ platform3
46751
+ );
46752
+ const result = run(plan.command, plan.args, {
46753
+ encoding: "utf8",
46754
+ shell: plan.shell,
46755
+ cwd: manager === "pnpm" ? homedir9() : void 0,
46756
+ timeout: 1e4
46757
+ });
46758
+ if (result.status !== 0) continue;
46759
+ const root = String(result.stdout ?? "").trim();
46760
+ if (!root) continue;
46761
+ const bin = manager === "npm" && platform3 !== "win32" ? join21(root, "bin") : root;
46762
+ const candidates = platform3 === "win32" ? [join21(bin, "deepline.cmd"), join21(bin, "deepline")] : [join21(bin, "deepline")];
46763
+ const command = candidates.find((candidate) => pathExists(candidate));
46764
+ if (command) return command;
46765
+ }
46766
+ return null;
46756
46767
  }
46757
46768
  function inspectGlobalCliAvailability(input2) {
46758
46769
  const pathClis = input2?.pathClis ?? resolvePathCommands("deepline");
package/dist/index.js CHANGED
@@ -1328,7 +1328,7 @@ var SDK_RELEASE = {
1328
1328
  // getters keep their established compatibility behavior.
1329
1329
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
1330
1330
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
1331
- version: "0.3.288",
1331
+ version: "0.3.289",
1332
1332
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
1333
1333
  packageCapabilities: {
1334
1334
  updatePreferences: 1
package/dist/index.mjs CHANGED
@@ -1232,7 +1232,7 @@ var SDK_RELEASE = {
1232
1232
  // getters keep their established compatibility behavior.
1233
1233
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
1234
1234
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
1235
- version: "0.3.288",
1235
+ version: "0.3.289",
1236
1236
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
1237
1237
  packageCapabilities: {
1238
1238
  updatePreferences: 1
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.288";
152
+ readonly version: "0.3.289";
153
153
  readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.d.ts CHANGED
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.288";
152
+ readonly version: "0.3.289";
153
153
  readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.js CHANGED
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
74
74
  // getters keep their established compatibility behavior.
75
75
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
76
76
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
77
- version: "0.3.288",
77
+ version: "0.3.289",
78
78
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
79
79
  packageCapabilities: {
80
80
  updatePreferences: 1
package/dist/release.mjs CHANGED
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
48
48
  // getters keep their established compatibility behavior.
49
49
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
50
50
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
51
- version: "0.3.288",
51
+ version: "0.3.289",
52
52
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
53
53
  packageCapabilities: {
54
54
  updatePreferences: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.3.288",
3
+ "version": "0.3.289",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",