deepline 0.2.65 → 0.2.67

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.
@@ -160,7 +160,7 @@ export const SDK_RELEASE = {
160
160
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
161
161
  // exposed storage-dependent synchronous access. This deliberate minor
162
162
  // release keeps lazy paging semantics independent of row residency.
163
- version: '0.2.65',
163
+ version: '0.2.67',
164
164
  contracts: {
165
165
  api: {
166
166
  name: 'sdk-http-api',
@@ -1720,13 +1720,17 @@ function isTransientRuntimePostgresConnectionError(error: unknown): boolean {
1720
1720
  code === 'ECONNRESET' ||
1721
1721
  code === 'ETIMEDOUT' ||
1722
1722
  code === 'ECONNREFUSED' ||
1723
+ code === 'EAI_AGAIN' ||
1724
+ code === 'EAI_FAIL' ||
1725
+ code === 'ENOTFOUND' ||
1726
+ code === 'ESERVFAIL' ||
1723
1727
  code === '57P01'
1724
1728
  ) {
1725
1729
  return true;
1726
1730
  }
1727
1731
  const name = 'name' in error ? String(error.name) : '';
1728
1732
  const message = 'message' in error ? String(error.message) : '';
1729
- return /connection (terminated|timeout|timed out|closed|reset)|ETIMEDOUT|ECONNRESET|ECONNREFUSED|UND_ERR_CONNECT_TIMEOUT/i.test(
1733
+ return /connection (terminated|timeout|timed out|closed|reset)|ETIMEDOUT|ECONNRESET|ECONNREFUSED|UND_ERR_CONNECT_TIMEOUT|EAI_AGAIN|EAI_FAIL|ENOTFOUND|ESERVFAIL|getaddrinfo|\bdns\b/i.test(
1730
1734
  `${name} ${message} ${String(error)}`,
1731
1735
  );
1732
1736
  }
package/dist/cli/index.js CHANGED
@@ -1044,7 +1044,7 @@ var SDK_RELEASE = {
1044
1044
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
1045
1045
  // exposed storage-dependent synchronous access. This deliberate minor
1046
1046
  // release keeps lazy paging semantics independent of row residency.
1047
- version: "0.2.65",
1047
+ version: "0.2.67",
1048
1048
  contracts: {
1049
1049
  api: {
1050
1050
  name: "sdk-http-api",
@@ -18165,6 +18165,7 @@ var PLAY_RUN_RESERVED_BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
18165
18165
  "--logs",
18166
18166
  "--full",
18167
18167
  "--force",
18168
+ "--force-tool-refresh",
18168
18169
  "--open",
18169
18170
  "--debug-map-latency",
18170
18171
  "--debug-fixture-provider-pacing"
@@ -22165,6 +22166,7 @@ function parsePlayRunOptions(args) {
22165
22166
  const fullJson = args.includes("--full");
22166
22167
  const emitLogs = !jsonOutput || args.includes("--logs");
22167
22168
  const force = args.includes("--force");
22169
+ const forceToolRefresh = args.includes("--force-tool-refresh");
22168
22170
  const open2 = args.includes("--open");
22169
22171
  const debugMapLatency = args.includes("--debug-map-latency");
22170
22172
  const debugFixtureProviderPacing = args.includes(
@@ -22367,6 +22369,7 @@ function parsePlayRunOptions(args) {
22367
22369
  fullJson,
22368
22370
  waitTimeoutMs,
22369
22371
  force,
22372
+ forceToolRefresh,
22370
22373
  maxConcurrentExternalCalls,
22371
22374
  maxConcurrentRows,
22372
22375
  open: open2,
@@ -23057,6 +23060,7 @@ async function handleFileBackedRun(options, hooks) {
23057
23060
  ...stagedFileInputs.inputFile ? { inputFile: stagedFileInputs.inputFile } : {},
23058
23061
  ...stagedFileInputs.packagedFiles.length ? { packagedFiles: stagedFileInputs.packagedFiles } : {},
23059
23062
  ...options.force ? { force: true } : {},
23063
+ ...options.forceToolRefresh ? { forceToolRefresh: true } : {},
23060
23064
  ...options.maxConcurrentExternalCalls !== null ? { maxConcurrentExternalCalls: options.maxConcurrentExternalCalls } : {},
23061
23065
  ...options.maxConcurrentRows !== null ? { maxConcurrentRows: options.maxConcurrentRows } : {},
23062
23066
  ...options.profile ? { profile: options.profile } : {},
@@ -23240,6 +23244,7 @@ async function handleNamedRun(options, hooks) {
23240
23244
  ...stagedFileInputs.inputFile ? { inputFile: stagedFileInputs.inputFile } : {},
23241
23245
  ...stagedFileInputs.packagedFiles.length ? { packagedFiles: stagedFileInputs.packagedFiles } : {},
23242
23246
  ...options.force ? { force: true } : {},
23247
+ ...options.forceToolRefresh ? { forceToolRefresh: true } : {},
23243
23248
  ...options.maxConcurrentExternalCalls !== null ? { maxConcurrentExternalCalls: options.maxConcurrentExternalCalls } : {},
23244
23249
  ...options.maxConcurrentRows !== null ? { maxConcurrentRows: options.maxConcurrentRows } : {},
23245
23250
  ...options.profile ? { profile: options.profile } : {},
@@ -24701,6 +24706,8 @@ Notes:
24701
24706
  Concurrent runs for the same play are allowed.
24702
24707
  --force starts a fresh run graph without refreshing completed provider calls.
24703
24708
  It does not cancel active sibling runs.
24709
+ --force-tool-refresh re-executes completed tool receipts and may repeat billed
24710
+ provider calls. It is independent from --force.
24704
24711
  --max-concurrent-external-calls controls the per-run provider-tool/ctx.fetch
24705
24712
  resident-work ceiling. Default: ${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
24706
24713
  Provider pacing and sandbox memory limits still apply.
@@ -24767,6 +24774,9 @@ Examples:
24767
24774
  "--logs",
24768
24775
  "When output is non-interactive, stream play logs to stderr while waiting"
24769
24776
  ).option("--tail-timeout-ms <ms>", "Timeout while watching the run stream").option("--force", "Start a fresh run graph").option(
24777
+ "--force-tool-refresh",
24778
+ "Refresh completed tool receipts; may repeat billed provider calls"
24779
+ ).option(
24770
24780
  "--max-concurrent-external-calls <count>",
24771
24781
  `Concurrent provider-tool and ctx.fetch executions (${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
24772
24782
  ).option(
@@ -24816,6 +24826,7 @@ Pass-through input flags:
24816
24826
  ...options.logs ? ["--logs"] : [],
24817
24827
  ...options.tailTimeoutMs ? ["--tail-timeout-ms", options.tailTimeoutMs] : [],
24818
24828
  ...options.force ? ["--force"] : [],
24829
+ ...options.forceToolRefresh ? ["--force-tool-refresh"] : [],
24819
24830
  ...options.maxConcurrentExternalCalls ? [
24820
24831
  "--max-concurrent-external-calls",
24821
24832
  options.maxConcurrentExternalCalls
@@ -33454,21 +33465,22 @@ Examples:
33454
33465
  var DEEPLINE_GTM_SKILL = "/deepline-gtm";
33455
33466
  var DEEPLINE_GTM_STARTER_PROMPTS = [
33456
33467
  {
33457
- id: "waterfall-email-lookup",
33458
- title: "Waterfall email lookup",
33459
- prompt: "/deepline-gtm Find 5 CTOs in NYC and get their verified work emails."
33468
+ id: "contact-email-enrichment",
33469
+ title: "Contact email enrichment",
33470
+ prompt: "/deepline-gtm Find 10 CTOs at B2B SaaS companies and enrich them with email addresses."
33460
33471
  },
33461
33472
  {
33462
- id: "signal-based-outbound",
33463
- title: "Signal-based outbound",
33464
- prompt: "/deepline-gtm Find 5 leads engaging with Gong's competitors on LinkedIn. Score against CMO or VP of Marketing. Waterfall enrich their emails. Build a sequence-ready list with personalized first lines."
33473
+ id: "company-signal-enrichment",
33474
+ title: "Company signal enrichment",
33475
+ prompt: "/deepline-gtm Enrich these company domains with employee count, funding, and recent hiring signals."
33465
33476
  },
33466
33477
  {
33467
- id: "vc-portfolio-scrape",
33468
- title: "VC portfolio scrape",
33469
- prompt: "/deepline-gtm Pull 5 companies from Y Combinator W26. Find the Head of Marketing or VP Sales at each one. Waterfall their emails and write a personalized first line."
33478
+ id: "decision-maker-discovery",
33479
+ title: "Decision-maker discovery",
33480
+ prompt: "/deepline-gtm Find the best people to contact at these companies and verify their email addresses."
33470
33481
  }
33471
33482
  ];
33483
+ var DEEPLINE_GTM_PRIMARY_STARTER_PROMPT = DEEPLINE_GTM_STARTER_PROMPTS[0].prompt;
33472
33484
  var DEEPLINE_GTM_HANDOFF_QUESTION = "Would you like to try one of these examples, or tell me your own business problem?";
33473
33485
  function deeplineGtmGettingStartedPayload() {
33474
33486
  return {
@@ -1030,7 +1030,7 @@ var SDK_RELEASE = {
1030
1030
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
1031
1031
  // exposed storage-dependent synchronous access. This deliberate minor
1032
1032
  // release keeps lazy paging semantics independent of row residency.
1033
- version: "0.2.65",
1033
+ version: "0.2.67",
1034
1034
  contracts: {
1035
1035
  api: {
1036
1036
  name: "sdk-http-api",
@@ -18217,6 +18217,7 @@ var PLAY_RUN_RESERVED_BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
18217
18217
  "--logs",
18218
18218
  "--full",
18219
18219
  "--force",
18220
+ "--force-tool-refresh",
18220
18221
  "--open",
18221
18222
  "--debug-map-latency",
18222
18223
  "--debug-fixture-provider-pacing"
@@ -22217,6 +22218,7 @@ function parsePlayRunOptions(args) {
22217
22218
  const fullJson = args.includes("--full");
22218
22219
  const emitLogs = !jsonOutput || args.includes("--logs");
22219
22220
  const force = args.includes("--force");
22221
+ const forceToolRefresh = args.includes("--force-tool-refresh");
22220
22222
  const open2 = args.includes("--open");
22221
22223
  const debugMapLatency = args.includes("--debug-map-latency");
22222
22224
  const debugFixtureProviderPacing = args.includes(
@@ -22419,6 +22421,7 @@ function parsePlayRunOptions(args) {
22419
22421
  fullJson,
22420
22422
  waitTimeoutMs,
22421
22423
  force,
22424
+ forceToolRefresh,
22422
22425
  maxConcurrentExternalCalls,
22423
22426
  maxConcurrentRows,
22424
22427
  open: open2,
@@ -23109,6 +23112,7 @@ async function handleFileBackedRun(options, hooks) {
23109
23112
  ...stagedFileInputs.inputFile ? { inputFile: stagedFileInputs.inputFile } : {},
23110
23113
  ...stagedFileInputs.packagedFiles.length ? { packagedFiles: stagedFileInputs.packagedFiles } : {},
23111
23114
  ...options.force ? { force: true } : {},
23115
+ ...options.forceToolRefresh ? { forceToolRefresh: true } : {},
23112
23116
  ...options.maxConcurrentExternalCalls !== null ? { maxConcurrentExternalCalls: options.maxConcurrentExternalCalls } : {},
23113
23117
  ...options.maxConcurrentRows !== null ? { maxConcurrentRows: options.maxConcurrentRows } : {},
23114
23118
  ...options.profile ? { profile: options.profile } : {},
@@ -23292,6 +23296,7 @@ async function handleNamedRun(options, hooks) {
23292
23296
  ...stagedFileInputs.inputFile ? { inputFile: stagedFileInputs.inputFile } : {},
23293
23297
  ...stagedFileInputs.packagedFiles.length ? { packagedFiles: stagedFileInputs.packagedFiles } : {},
23294
23298
  ...options.force ? { force: true } : {},
23299
+ ...options.forceToolRefresh ? { forceToolRefresh: true } : {},
23295
23300
  ...options.maxConcurrentExternalCalls !== null ? { maxConcurrentExternalCalls: options.maxConcurrentExternalCalls } : {},
23296
23301
  ...options.maxConcurrentRows !== null ? { maxConcurrentRows: options.maxConcurrentRows } : {},
23297
23302
  ...options.profile ? { profile: options.profile } : {},
@@ -24753,6 +24758,8 @@ Notes:
24753
24758
  Concurrent runs for the same play are allowed.
24754
24759
  --force starts a fresh run graph without refreshing completed provider calls.
24755
24760
  It does not cancel active sibling runs.
24761
+ --force-tool-refresh re-executes completed tool receipts and may repeat billed
24762
+ provider calls. It is independent from --force.
24756
24763
  --max-concurrent-external-calls controls the per-run provider-tool/ctx.fetch
24757
24764
  resident-work ceiling. Default: ${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
24758
24765
  Provider pacing and sandbox memory limits still apply.
@@ -24819,6 +24826,9 @@ Examples:
24819
24826
  "--logs",
24820
24827
  "When output is non-interactive, stream play logs to stderr while waiting"
24821
24828
  ).option("--tail-timeout-ms <ms>", "Timeout while watching the run stream").option("--force", "Start a fresh run graph").option(
24829
+ "--force-tool-refresh",
24830
+ "Refresh completed tool receipts; may repeat billed provider calls"
24831
+ ).option(
24822
24832
  "--max-concurrent-external-calls <count>",
24823
24833
  `Concurrent provider-tool and ctx.fetch executions (${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
24824
24834
  ).option(
@@ -24868,6 +24878,7 @@ Pass-through input flags:
24868
24878
  ...options.logs ? ["--logs"] : [],
24869
24879
  ...options.tailTimeoutMs ? ["--tail-timeout-ms", options.tailTimeoutMs] : [],
24870
24880
  ...options.force ? ["--force"] : [],
24881
+ ...options.forceToolRefresh ? ["--force-tool-refresh"] : [],
24871
24882
  ...options.maxConcurrentExternalCalls ? [
24872
24883
  "--max-concurrent-external-calls",
24873
24884
  options.maxConcurrentExternalCalls
@@ -33513,21 +33524,22 @@ Examples:
33513
33524
  var DEEPLINE_GTM_SKILL = "/deepline-gtm";
33514
33525
  var DEEPLINE_GTM_STARTER_PROMPTS = [
33515
33526
  {
33516
- id: "waterfall-email-lookup",
33517
- title: "Waterfall email lookup",
33518
- prompt: "/deepline-gtm Find 5 CTOs in NYC and get their verified work emails."
33527
+ id: "contact-email-enrichment",
33528
+ title: "Contact email enrichment",
33529
+ prompt: "/deepline-gtm Find 10 CTOs at B2B SaaS companies and enrich them with email addresses."
33519
33530
  },
33520
33531
  {
33521
- id: "signal-based-outbound",
33522
- title: "Signal-based outbound",
33523
- prompt: "/deepline-gtm Find 5 leads engaging with Gong's competitors on LinkedIn. Score against CMO or VP of Marketing. Waterfall enrich their emails. Build a sequence-ready list with personalized first lines."
33532
+ id: "company-signal-enrichment",
33533
+ title: "Company signal enrichment",
33534
+ prompt: "/deepline-gtm Enrich these company domains with employee count, funding, and recent hiring signals."
33524
33535
  },
33525
33536
  {
33526
- id: "vc-portfolio-scrape",
33527
- title: "VC portfolio scrape",
33528
- prompt: "/deepline-gtm Pull 5 companies from Y Combinator W26. Find the Head of Marketing or VP Sales at each one. Waterfall their emails and write a personalized first line."
33537
+ id: "decision-maker-discovery",
33538
+ title: "Decision-maker discovery",
33539
+ prompt: "/deepline-gtm Find the best people to contact at these companies and verify their email addresses."
33529
33540
  }
33530
33541
  ];
33542
+ var DEEPLINE_GTM_PRIMARY_STARTER_PROMPT = DEEPLINE_GTM_STARTER_PROMPTS[0].prompt;
33531
33543
  var DEEPLINE_GTM_HANDOFF_QUESTION = "Would you like to try one of these examples, or tell me your own business problem?";
33532
33544
  function deeplineGtmGettingStartedPayload() {
33533
33545
  return {
package/dist/index.js CHANGED
@@ -780,7 +780,7 @@ var SDK_RELEASE = {
780
780
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
781
781
  // exposed storage-dependent synchronous access. This deliberate minor
782
782
  // release keeps lazy paging semantics independent of row residency.
783
- version: "0.2.65",
783
+ version: "0.2.67",
784
784
  contracts: {
785
785
  api: {
786
786
  name: "sdk-http-api",
package/dist/index.mjs CHANGED
@@ -703,7 +703,7 @@ var SDK_RELEASE = {
703
703
  // 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
704
704
  // exposed storage-dependent synchronous access. This deliberate minor
705
705
  // release keeps lazy paging semantics independent of row residency.
706
- version: "0.2.65",
706
+ version: "0.2.67",
707
707
  contracts: {
708
708
  api: {
709
709
  name: "sdk-http-api",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.2.65",
3
+ "version": "0.2.67",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",