@signaliz/cli 1.0.86 → 1.0.87

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.
Files changed (3) hide show
  1. package/README.md +7 -3
  2. package/dist/bin.js +19 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -206,6 +206,7 @@ automation. All context is bounded and all provider actions remain gated:
206
206
  ```bash
207
207
  signaliz campaign-os clients --status active --json
208
208
  signaliz campaign-os context --client-id <uuid> --json
209
+ signaliz campaign-os provider-runtime --client-id <uuid> --provider clay --json
209
210
  signaliz campaign-os draft --client-id <uuid> --name "Launch intent" \
210
211
  --lane realtime --agent codex --idempotency-key launch-draft-v1 --json
211
212
  signaliz campaign-os request --client-id <uuid> --campaign-id <uuid> \
@@ -213,6 +214,9 @@ signaliz campaign-os request --client-id <uuid> --campaign-id <uuid> \
213
214
  signaliz campaign-os receipts --client-id <uuid> --json
214
215
  ```
215
216
 
216
- `draft` creates only a locked Signaliz campaign object. `request` creates only
217
- an auditable review request. Neither command loads leads, activates a provider
218
- campaign, or sends email.
217
+ `provider-runtime` explains the safe Clay or Instantly route, adapter source,
218
+ approval boundaries, and receipt semantics without returning credentials or
219
+ calling the provider. `draft` creates only a locked Signaliz campaign object.
220
+ `request` creates only an auditable review request. None of these commands
221
+ loads leads, activates a provider campaign, spends Clay allowance, or sends
222
+ email.
package/dist/bin.js CHANGED
@@ -58,6 +58,7 @@ Product commands:
58
58
  signaliz builds download --run-id <uuid> --out results.csv
59
59
  signaliz campaign-os clients [--status active] [--query signaliz] [--limit 100]
60
60
  signaliz campaign-os context --client-id <uuid> [--source-limit 50]
61
+ signaliz campaign-os provider-runtime --client-id <uuid> --provider clay|instantly
61
62
  signaliz campaign-os draft --client-id <uuid> --name "Campaign" [--objective "..."] [--lane one_time|always_on|realtime] [--audience-binding-id <uuid>] [--agent codex]
62
63
  signaliz campaign-os request --client-id <uuid> [--campaign-id <uuid>] --agent codex --action build_campaign --instructions "..." [--idempotency-key <key>]
63
64
  signaliz campaign-os receipts [--client-id <uuid>] [--campaign-id <uuid>] [--limit 50]
@@ -2137,6 +2138,23 @@ async function campaignOs(args) {
2137
2138
  });
2138
2139
  return;
2139
2140
  }
2141
+ if (action === "provider-runtime") {
2142
+ const clientId = flag("client-id");
2143
+ const provider = flag("provider");
2144
+ if (!clientId || !provider) {
2145
+ throw new CliInputError("signaliz campaign-os provider-runtime requires --client-id <uuid> --provider clay|instantly");
2146
+ }
2147
+ if (!["clay", "instantly"].includes(provider)) {
2148
+ throw new CliInputError("--provider must be clay or instantly");
2149
+ }
2150
+ const result = await client.getCampaignOsProviderRuntime(clientId, provider);
2151
+ output(result, () => {
2152
+ process.stdout.write(`${provider === "clay" ? "Clay" : "Instantly"} runtime for ${result.client.name}: ${result.connected ? "connected" : "not connected"}
2153
+ `);
2154
+ process.stdout.write("Provider secrets were not returned and no provider call, spend, or mutation started.\n");
2155
+ });
2156
+ return;
2157
+ }
2140
2158
  if (action === "draft") {
2141
2159
  const clientId = flag("client-id");
2142
2160
  const name = flag("name");
@@ -2209,7 +2227,7 @@ async function campaignOs(args) {
2209
2227
  });
2210
2228
  return;
2211
2229
  }
2212
- throw new CliInputError("Usage: signaliz campaign-os clients|context|draft|request|receipts");
2230
+ throw new CliInputError("Usage: signaliz campaign-os clients|context|provider-runtime|draft|request|receipts");
2213
2231
  }
2214
2232
  async function main() {
2215
2233
  const [, , command, ...args] = process.argv;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaliz/cli",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "Signaliz CLI for Campaign OS, core products, Signal Awareness, Signaliz Flow, and reusable managed builds.",
5
5
  "bin": {
6
6
  "signaliz": "dist/bin.js"
@@ -30,7 +30,7 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "dependencies": {
33
- "@signaliz/sdk": "^1.0.90"
33
+ "@signaliz/sdk": "^1.0.91"
34
34
  },
35
35
  "devDependencies": {
36
36
  "tsup": "^8.0.0",