deepline 0.3.225 → 0.3.226

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.
@@ -3401,6 +3401,9 @@ export class DeeplineClient {
3401
3401
  if (options.searchTerms?.trim()) {
3402
3402
  params.set('search_terms', options.searchTerms.trim());
3403
3403
  }
3404
+ if (options.task?.trim()) {
3405
+ params.set('task', options.task.trim());
3406
+ }
3404
3407
  return this.http.get<ToolSearchResult>(
3405
3408
  `/api/v2/tools/search?${params.toString()}`,
3406
3409
  );
@@ -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.225',
203
+ version: '0.3.226',
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: {
@@ -476,6 +476,8 @@ export interface ToolSearchOptions {
476
476
  categories?: string;
477
477
  /** Optional explicit search terms used by agent/CLI callers. */
478
478
  searchTerms?: string;
479
+ /** One sentence: the input you have and the result you need (not the query restated). */
480
+ task?: string;
479
481
  /** Search algorithm/version. Defaults to the current ranked mode. */
480
482
  searchMode?: 'v1' | 'v2';
481
483
  /** Include backend debug metadata in the search response. */
package/dist/cli/index.js CHANGED
@@ -3051,7 +3051,7 @@ var SDK_RELEASE = {
3051
3051
  // getters keep their established compatibility behavior.
3052
3052
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
3053
3053
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
3054
- version: "0.3.225",
3054
+ version: "0.3.226",
3055
3055
  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.",
3056
3056
  packageCapabilities: {
3057
3057
  updatePreferences: 1
@@ -7603,6 +7603,9 @@ var DeeplineClient = class _DeeplineClient {
7603
7603
  if (options.searchTerms?.trim()) {
7604
7604
  params.set("search_terms", options.searchTerms.trim());
7605
7605
  }
7606
+ if (options.task?.trim()) {
7607
+ params.set("task", options.task.trim());
7608
+ }
7606
7609
  return this.http.get(
7607
7610
  `/api/v2/tools/search?${params.toString()}`
7608
7611
  );
@@ -50068,6 +50071,7 @@ async function searchTools(queryInput, options = {}) {
50068
50071
  query,
50069
50072
  categories: options.categories,
50070
50073
  searchTerms: options.searchTerms,
50074
+ task: options.task,
50071
50075
  limit: options.limit,
50072
50076
  offset: options.offset,
50073
50077
  searchMode: options.searchMode,
@@ -50303,6 +50307,9 @@ Notes:
50303
50307
  supplied. Providing neither is a usage error. Both filters accept
50304
50308
  comma-separated values. Use --limit and --offset to page through ranked
50305
50309
  results (limit 1-50, offset is zero-based); JSON includes next_offset.
50310
+ Pass --task with one sentence on what you are trying to accomplish right
50311
+ now: the input you have and the result you need, not a restatement of the
50312
+ query. It materially improves ranking, especially for short queries.
50306
50313
  Use a provider name in the query; --prefix is not a supported option.
50307
50314
  The grep alias is the same ranked retrieval surface with a more literal name
50308
50315
  for agents that are filtering a registry rather than choosing a workflow.
@@ -50310,6 +50317,7 @@ Notes:
50310
50317
  Examples:
50311
50318
  deepline tools search email --limit 10 --json
50312
50319
  deepline tools search email --limit 10 --offset 10 --json
50320
+ deepline tools search linkedin --task "I have 200 LinkedIn profile URLs and need each person's current title and company" --json
50313
50321
  deepline tools search --categories company_search --search_terms "investors,funding"
50314
50322
  deepline tools grep "company enrichment" --categories enrichment --json
50315
50323
  deepline tools search verifier --search-mode v2 --json
@@ -50320,7 +50328,10 @@ Examples:
50320
50328
  ).option(
50321
50329
  "--search_terms <terms>",
50322
50330
  "Comma-separated structured search terms; may be used without a query"
50323
- ).option("--search-terms <terms>", "Alias for --search_terms").option("--limit <count>", "Maximum ranked results to return (1-50)").option("--offset <count>", "Zero-based ranked result offset").option("--search-mode <mode>", "Ranked search mode: v1 or v2").option("--include-search-debug", "Include ranked search debug metadata").option("--compact", "Drop verbose fields from JSON output").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(async (query, options) => {
50331
+ ).option("--search-terms <terms>", "Alias for --search_terms").option(
50332
+ "--task <sentence>",
50333
+ "What you are trying to accomplish: input you have -> result you need"
50334
+ ).option("--limit <count>", "Maximum ranked results to return (1-50)").option("--offset <count>", "Zero-based ranked result offset").option("--search-mode <mode>", "Ranked search mode: v1 or v2").option("--include-search-debug", "Include ranked search debug metadata").option("--compact", "Drop verbose fields from JSON output").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(async (query, options) => {
50324
50335
  process.exitCode = await searchTools(query, {
50325
50336
  json: options.json,
50326
50337
  compact: options.compact,
@@ -50328,6 +50339,7 @@ Examples:
50328
50339
  offset: options.offset !== void 0 ? Number.parseInt(options.offset, 10) : void 0,
50329
50340
  categories: options.categories,
50330
50341
  searchTerms: options.searchTerms ?? options.search_terms,
50342
+ task: options.task,
50331
50343
  searchMode: options.searchMode === "v1" || options.searchMode === "v2" ? options.searchMode : void 0,
50332
50344
  includeSearchDebug: Boolean(options.includeSearchDebug)
50333
50345
  });
@@ -3046,7 +3046,7 @@ var SDK_RELEASE = {
3046
3046
  // getters keep their established compatibility behavior.
3047
3047
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
3048
3048
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
3049
- version: "0.3.225",
3049
+ version: "0.3.226",
3050
3050
  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.",
3051
3051
  packageCapabilities: {
3052
3052
  updatePreferences: 1
@@ -7598,6 +7598,9 @@ var DeeplineClient = class _DeeplineClient {
7598
7598
  if (options.searchTerms?.trim()) {
7599
7599
  params.set("search_terms", options.searchTerms.trim());
7600
7600
  }
7601
+ if (options.task?.trim()) {
7602
+ params.set("task", options.task.trim());
7603
+ }
7601
7604
  return this.http.get(
7602
7605
  `/api/v2/tools/search?${params.toString()}`
7603
7606
  );
@@ -50216,6 +50219,7 @@ async function searchTools(queryInput, options = {}) {
50216
50219
  query,
50217
50220
  categories: options.categories,
50218
50221
  searchTerms: options.searchTerms,
50222
+ task: options.task,
50219
50223
  limit: options.limit,
50220
50224
  offset: options.offset,
50221
50225
  searchMode: options.searchMode,
@@ -50451,6 +50455,9 @@ Notes:
50451
50455
  supplied. Providing neither is a usage error. Both filters accept
50452
50456
  comma-separated values. Use --limit and --offset to page through ranked
50453
50457
  results (limit 1-50, offset is zero-based); JSON includes next_offset.
50458
+ Pass --task with one sentence on what you are trying to accomplish right
50459
+ now: the input you have and the result you need, not a restatement of the
50460
+ query. It materially improves ranking, especially for short queries.
50454
50461
  Use a provider name in the query; --prefix is not a supported option.
50455
50462
  The grep alias is the same ranked retrieval surface with a more literal name
50456
50463
  for agents that are filtering a registry rather than choosing a workflow.
@@ -50458,6 +50465,7 @@ Notes:
50458
50465
  Examples:
50459
50466
  deepline tools search email --limit 10 --json
50460
50467
  deepline tools search email --limit 10 --offset 10 --json
50468
+ deepline tools search linkedin --task "I have 200 LinkedIn profile URLs and need each person's current title and company" --json
50461
50469
  deepline tools search --categories company_search --search_terms "investors,funding"
50462
50470
  deepline tools grep "company enrichment" --categories enrichment --json
50463
50471
  deepline tools search verifier --search-mode v2 --json
@@ -50468,7 +50476,10 @@ Examples:
50468
50476
  ).option(
50469
50477
  "--search_terms <terms>",
50470
50478
  "Comma-separated structured search terms; may be used without a query"
50471
- ).option("--search-terms <terms>", "Alias for --search_terms").option("--limit <count>", "Maximum ranked results to return (1-50)").option("--offset <count>", "Zero-based ranked result offset").option("--search-mode <mode>", "Ranked search mode: v1 or v2").option("--include-search-debug", "Include ranked search debug metadata").option("--compact", "Drop verbose fields from JSON output").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(async (query, options) => {
50479
+ ).option("--search-terms <terms>", "Alias for --search_terms").option(
50480
+ "--task <sentence>",
50481
+ "What you are trying to accomplish: input you have -> result you need"
50482
+ ).option("--limit <count>", "Maximum ranked results to return (1-50)").option("--offset <count>", "Zero-based ranked result offset").option("--search-mode <mode>", "Ranked search mode: v1 or v2").option("--include-search-debug", "Include ranked search debug metadata").option("--compact", "Drop verbose fields from JSON output").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(async (query, options) => {
50472
50483
  process.exitCode = await searchTools(query, {
50473
50484
  json: options.json,
50474
50485
  compact: options.compact,
@@ -50476,6 +50487,7 @@ Examples:
50476
50487
  offset: options.offset !== void 0 ? Number.parseInt(options.offset, 10) : void 0,
50477
50488
  categories: options.categories,
50478
50489
  searchTerms: options.searchTerms ?? options.search_terms,
50490
+ task: options.task,
50479
50491
  searchMode: options.searchMode === "v1" || options.searchMode === "v2" ? options.searchMode : void 0,
50480
50492
  includeSearchDebug: Boolean(options.includeSearchDebug)
50481
50493
  });
package/dist/index.d.mts CHANGED
@@ -1492,6 +1492,8 @@ interface ToolSearchOptions {
1492
1492
  categories?: string;
1493
1493
  /** Optional explicit search terms used by agent/CLI callers. */
1494
1494
  searchTerms?: string;
1495
+ /** One sentence: the input you have and the result you need (not the query restated). */
1496
+ task?: string;
1495
1497
  /** Search algorithm/version. Defaults to the current ranked mode. */
1496
1498
  searchMode?: 'v1' | 'v2';
1497
1499
  /** Include backend debug metadata in the search response. */
package/dist/index.d.ts CHANGED
@@ -1492,6 +1492,8 @@ interface ToolSearchOptions {
1492
1492
  categories?: string;
1493
1493
  /** Optional explicit search terms used by agent/CLI callers. */
1494
1494
  searchTerms?: string;
1495
+ /** One sentence: the input you have and the result you need (not the query restated). */
1496
+ task?: string;
1495
1497
  /** Search algorithm/version. Defaults to the current ranked mode. */
1496
1498
  searchMode?: 'v1' | 'v2';
1497
1499
  /** Include backend debug metadata in the search response. */
package/dist/index.js CHANGED
@@ -864,7 +864,7 @@ var SDK_RELEASE = {
864
864
  // getters keep their established compatibility behavior.
865
865
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
866
866
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
867
- version: "0.3.225",
867
+ version: "0.3.226",
868
868
  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.",
869
869
  packageCapabilities: {
870
870
  updatePreferences: 1
@@ -5275,6 +5275,9 @@ var DeeplineClient = class _DeeplineClient {
5275
5275
  if (options.searchTerms?.trim()) {
5276
5276
  params.set("search_terms", options.searchTerms.trim());
5277
5277
  }
5278
+ if (options.task?.trim()) {
5279
+ params.set("task", options.task.trim());
5280
+ }
5278
5281
  return this.http.get(
5279
5282
  `/api/v2/tools/search?${params.toString()}`
5280
5283
  );
package/dist/index.mjs CHANGED
@@ -768,7 +768,7 @@ var SDK_RELEASE = {
768
768
  // getters keep their established compatibility behavior.
769
769
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
770
770
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
771
- version: "0.3.225",
771
+ version: "0.3.226",
772
772
  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.",
773
773
  packageCapabilities: {
774
774
  updatePreferences: 1
@@ -5179,6 +5179,9 @@ var DeeplineClient = class _DeeplineClient {
5179
5179
  if (options.searchTerms?.trim()) {
5180
5180
  params.set("search_terms", options.searchTerms.trim());
5181
5181
  }
5182
+ if (options.task?.trim()) {
5183
+ params.set("task", options.task.trim());
5184
+ }
5182
5185
  return this.http.get(
5183
5186
  `/api/v2/tools/search?${params.toString()}`
5184
5187
  );
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.225";
152
+ readonly version: "0.3.226";
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.225";
152
+ readonly version: "0.3.226";
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.225",
77
+ version: "0.3.226",
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.225",
51
+ version: "0.3.226",
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.225",
3
+ "version": "0.3.226",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",