@signaliz/sdk 1.0.21 → 1.0.23

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  Signaliz
4
- } from "./chunk-SLU4VF5G.mjs";
4
+ } from "./chunk-EQ3WI2UU.mjs";
5
5
 
6
6
  // src/mcp-config.ts
7
7
  import * as fs from "fs";
@@ -75,8 +75,8 @@ async function handleSetup(apiKey) {
75
75
  async function handleTest(apiKey) {
76
76
  const signaliz = new Signaliz({ apiKey });
77
77
  try {
78
- const ws = await signaliz.getWorkspace();
79
- console.log(`\u2705 Connected to workspace: ${ws.name} (${ws.creditsRemaining.toLocaleString()} credits remaining)`);
78
+ const health = await signaliz.health();
79
+ console.log(`\u2705 Connected to Signaliz (${health.status}; ${health.products.length} products)`);
80
80
  } catch (e) {
81
81
  console.error(`\u274C Connection failed: ${e.message}`);
82
82
  process.exit(1);
@@ -89,11 +89,11 @@ async function handleTools(apiKey) {
89
89
  console.log(`
90
90
  \u{1F4CB} Available tools (${tools.length}):
91
91
  `);
92
- console.log("Name".padEnd(40) + "Category".padEnd(15) + "Credits".padEnd(10) + "Description");
93
- console.log("\u2500".repeat(100));
92
+ console.log("Name".padEnd(36) + "Description");
93
+ console.log("\u2500".repeat(96));
94
94
  for (const t of tools) {
95
95
  console.log(
96
- (t.name ?? "").padEnd(40) + (t.category ?? "-").padEnd(15) + String(t.costCredits ?? "-").padEnd(10) + (t.description ?? "").slice(0, 60)
96
+ (t.name ?? "").padEnd(36) + (t.description ?? "").slice(0, 60)
97
97
  );
98
98
  }
99
99
  } catch (e) {
package/package.json CHANGED
@@ -1,22 +1,21 @@
1
1
  {
2
2
  "name": "@signaliz/sdk",
3
- "version": "1.0.21",
4
- "description": "Signaliz SDK GTM Kernel, Nango routes, MCP, and enrichment for AI agents",
3
+ "version": "1.0.23",
4
+ "description": "Signaliz SDK for Find Email, Verify Email, Company Signal Enrichment, and Signal to Copy AI.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
8
8
  "bin": {
9
- "signaliz": "dist/cli.js",
10
9
  "signaliz-mcp": "dist/mcp-config.js"
11
10
  },
12
11
  "files": ["dist", "README.md"],
13
12
  "scripts": {
14
13
  "generate-types": "tsx scripts/generate-types.ts",
15
- "build": "npm run generate-types && tsup src/index.ts src/cli.ts src/mcp-config.ts --format cjs,esm --dts --clean",
16
- "test": "tsx tests/campaigns.test.ts && tsx tests/campaign-builder-agent.test.ts && tsx tests/gtm-kernel.test.ts && tsx tests/campaign-envelope.test.ts && tsx tests/client-mcp-unwrapping.test.ts && tsx tests/public-ground-truth.test.ts && tsx tests/signals.test.ts && tsx tests/gtm-workflows.test.ts && tsx tests/webhook-delivery.test.ts && tsx tests/ops.test.ts && tsx tests/ops-contract-compat.test.ts && tsx tests/execution-reference.test.ts && tsx tests/cli.test.ts",
14
+ "build": "npm run generate-types && tsup src/index.ts src/mcp-config.ts --format cjs,esm --dts --clean",
15
+ "test": "tsx tests/core-products.test.ts",
17
16
  "prepublishOnly": "npm run build"
18
17
  },
19
- "keywords": ["signaliz", "mcp", "ai-agents", "gtm", "gtm-kernel", "nango", "email-finder", "email-verification", "enrichment"],
18
+ "keywords": ["signaliz", "mcp", "email-finder", "email-verification", "company-signals", "signal-to-copy"],
20
19
  "license": "MIT",
21
20
  "repository": {
22
21
  "type": "git",