@signaliz/cli 1.0.2 → 1.0.4
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.
- package/README.md +144 -50
- package/dist/bin.js +1657 -4452
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -11,6 +11,42 @@ Fresh enrichment throughput now allows Free 60/min, Builder 300/min, Team
|
|
|
11
11
|
600/min, Agency 1,000/min, and Pay-As-You-Go 1,000/min, with a 5,000/hour
|
|
12
12
|
workspace safety cap.
|
|
13
13
|
|
|
14
|
+
## Where To Start
|
|
15
|
+
|
|
16
|
+
If you are not sure whether to use the UI, CLI, Codex, MCP, or SDK, start here:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
signaliz start
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Signaliz is the GTM brain over any stack. Use CLI, MCP, Codex, or SDK when an
|
|
23
|
+
agent needs to build, audit, route, or debug work. Use the UI as the human
|
|
24
|
+
cockpit to inspect state, connect tools, approve gated actions, and monitor
|
|
25
|
+
results.
|
|
26
|
+
|
|
27
|
+
`signaliz start` is read-only. It checks workspace health, credits, Ops proof,
|
|
28
|
+
Kernel readiness, and provider-route blockers, then recommends one next safest
|
|
29
|
+
move plus exact commands for five plain workflows:
|
|
30
|
+
|
|
31
|
+
- Build a campaign plan: `signaliz build "campaign brief"`.
|
|
32
|
+
- Connect tools and provider routes: `signaliz connect`.
|
|
33
|
+
- Audit previous campaigns: `signaliz audit`.
|
|
34
|
+
- Improve results from learning: `signaliz improve <campaign_id>`.
|
|
35
|
+
- Prove Ops delivery: `signaliz prove`.
|
|
36
|
+
|
|
37
|
+
## Concepts
|
|
38
|
+
|
|
39
|
+
Signaliz is the GTM brain over your stack. Six nouns explain the rest:
|
|
40
|
+
|
|
41
|
+
- Op - one executable unit of work, created from a goal or plan. You run it, poll it, and retrieve results.
|
|
42
|
+
- Routine - an Op on a schedule. Each scheduled execution is a Tick, and each Tick produces items you can inspect.
|
|
43
|
+
- Sink - a delivery destination such as webhook, CSV, Slack, Sheets, Airbyte, or Nango.
|
|
44
|
+
- Kernel - your workspace's persistent GTM state: campaigns, memory, connections, provider routes, and readiness gates.
|
|
45
|
+
- Brain - the learning layer over the Kernel. It extracts campaign patterns, calibrates deliverability, and seeds safer defaults.
|
|
46
|
+
- Campaign - a governed outbound object built from Kernel state and Brain learning. A Campaign Build is one execution that produces rows and artifacts.
|
|
47
|
+
|
|
48
|
+
Use Campaign Builder when you need a list now. Use the GTM Kernel when the campaign should persist, route through specific providers, and improve from feedback. Use Ops when the job is prompt-first or recurring, such as monitors, alerts, and ad-hoc pulls.
|
|
49
|
+
|
|
14
50
|
## Install
|
|
15
51
|
|
|
16
52
|
```bash
|
|
@@ -19,36 +55,41 @@ npm install -g @signaliz/cli
|
|
|
19
55
|
|
|
20
56
|
## Quick Start
|
|
21
57
|
|
|
58
|
+
The golden path, in order. Each step shows the canonical command surface; compatibility aliases still work, but the README keeps one path visible.
|
|
59
|
+
|
|
22
60
|
```bash
|
|
23
61
|
# 1. Authenticate
|
|
24
62
|
signaliz auth login
|
|
25
63
|
|
|
26
|
-
# 2.
|
|
27
|
-
signaliz
|
|
28
|
-
|
|
64
|
+
# 2. Orient. This is read-only and prints one next safest move.
|
|
65
|
+
signaliz start
|
|
66
|
+
|
|
67
|
+
# 3. Plan something. Pick the surface that matches the job.
|
|
68
|
+
signaliz campaign build --prompt "VP Sales at B2B SaaS, 50-500 employees" --target-count 100 --dry-run
|
|
69
|
+
signaliz gtm plan "VP Sales at B2B SaaS, 50-500 employees" --target-count 100 --json > plan.json
|
|
70
|
+
signaliz ops plan "Build 100 verified VP Sales leads at B2B SaaS companies"
|
|
29
71
|
|
|
30
|
-
#
|
|
31
|
-
signaliz
|
|
32
|
-
signaliz
|
|
33
|
-
signaliz
|
|
72
|
+
# 4. Launch only after review.
|
|
73
|
+
signaliz campaign build --prompt "VP Sales at B2B SaaS, 50-500 employees" --target-count 100 --confirm-spend --wait
|
|
74
|
+
signaliz gtm commit-plan --plan-file plan.json --confirm
|
|
75
|
+
signaliz ops create "Build 100 verified VP Sales leads at B2B SaaS companies" --confirm-spend
|
|
76
|
+
signaliz ops run <op_id>
|
|
34
77
|
|
|
35
|
-
#
|
|
36
|
-
signaliz
|
|
37
|
-
signaliz
|
|
38
|
-
signaliz
|
|
78
|
+
# 5. Check status and pull results.
|
|
79
|
+
signaliz campaign status <campaign_build_id>
|
|
80
|
+
signaliz campaign rows <campaign_build_id> --limit 100
|
|
81
|
+
signaliz ops status <op_id>
|
|
82
|
+
signaliz ops results <op_id> --limit 100 --json
|
|
39
83
|
|
|
40
|
-
#
|
|
41
|
-
signaliz ops run-status <trigger_run_id>
|
|
42
|
-
signaliz queue --summary
|
|
43
|
-
signaliz
|
|
44
|
-
signaliz
|
|
45
|
-
signaliz tail <trigger_run_id>
|
|
46
|
-
signaliz doctor
|
|
47
|
-
signaliz readiness
|
|
48
|
-
signaliz dashboard summary
|
|
49
|
-
signaliz ops dashboard summary
|
|
84
|
+
# 6. Debug async execution when something stalls.
|
|
85
|
+
signaliz ops run-status <trigger_run_id> --watch
|
|
86
|
+
signaliz ops queue --summary
|
|
87
|
+
signaliz ops logs <trigger_run_id>
|
|
88
|
+
signaliz ops doctor
|
|
50
89
|
```
|
|
51
90
|
|
|
91
|
+
Two gates protect you. `--confirm-spend` approves spendful launches and delivery risk after reviewing an estimate. `--confirm` writes Kernel or provider-route state after a dry-run. Read-only planning and dry-runs do not spend credits or mutate state.
|
|
92
|
+
|
|
52
93
|
## Authentication
|
|
53
94
|
|
|
54
95
|
```bash
|
|
@@ -149,6 +190,71 @@ signaliz email status <job_id>
|
|
|
149
190
|
signaliz email find --company-domain stripe.com --full-name "Jane Smith"
|
|
150
191
|
```
|
|
151
192
|
|
|
193
|
+
## GTM Kernel
|
|
194
|
+
|
|
195
|
+
Use this path when the campaign should become durable workspace state. The plan is read-only, `commit-plan` dry-runs first, and writes require `--confirm`.
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
# Inspect the workspace Kernel context available to agents
|
|
199
|
+
signaliz gtm context
|
|
200
|
+
signaliz gtm context --no-memory --limit 5 --json
|
|
201
|
+
|
|
202
|
+
# Check Kernel, Brain, feedback, memory, and connection readiness gates
|
|
203
|
+
signaliz gtm bootstrap
|
|
204
|
+
signaliz gtm bootstrap --campaign-id <campaign_id> --include-samples --json
|
|
205
|
+
|
|
206
|
+
# Compose a read-only campaign build plan before creating, routing, or spending
|
|
207
|
+
signaliz gtm plan "Find CTOs at fintech startups in NYC" \
|
|
208
|
+
--target-count 100 \
|
|
209
|
+
--layers icp,lead_generation,email_verification,sender,feedback \
|
|
210
|
+
--preferred-providers instantly \
|
|
211
|
+
--include-planned
|
|
212
|
+
|
|
213
|
+
# Save the JSON plan, then dry-run a reviewed campaign-object commit
|
|
214
|
+
signaliz gtm plan "Find CTOs at fintech startups in NYC" --target-count 100 --json > plan.json
|
|
215
|
+
signaliz gtm commit-plan --plan-file plan.json
|
|
216
|
+
signaliz gtm commit-plan --plan-file plan.json --confirm
|
|
217
|
+
|
|
218
|
+
# List and inspect first-class GTM campaigns
|
|
219
|
+
signaliz gtm campaigns --status active
|
|
220
|
+
signaliz gtm campaign <campaign_id> --log-limit 20 --memory-limit 20
|
|
221
|
+
|
|
222
|
+
# Search ranked GTM memory instead of dumping raw history
|
|
223
|
+
signaliz gtm memory "positive replies from technical founders" \
|
|
224
|
+
--outcome-type positive_reply \
|
|
225
|
+
--limit 10
|
|
226
|
+
|
|
227
|
+
# Plan Brain learning in dry-run mode
|
|
228
|
+
signaliz gtm learning <campaign_id> --include-network --write-mode dry_run
|
|
229
|
+
signaliz gtm learning-run <campaign_id> \
|
|
230
|
+
--phases workspace_pattern_extraction,failure_pattern_detection,defaults_seed,delivery_risk \
|
|
231
|
+
--write-mode dry_run
|
|
232
|
+
signaliz gtm calibrate <campaign_id> --min-sample-size 10
|
|
233
|
+
|
|
234
|
+
# Inspect and repair provider readiness without leaving the CLI
|
|
235
|
+
signaliz gtm execution <campaign_id>
|
|
236
|
+
signaliz gtm integrations --campaign-id <campaign_id> --include-planned
|
|
237
|
+
signaliz gtm route-preview --campaign-id <campaign_id> --layer sender
|
|
238
|
+
signaliz gtm activate-route --campaign-id <campaign_id> \
|
|
239
|
+
--provider-id instantly \
|
|
240
|
+
--layer sender
|
|
241
|
+
|
|
242
|
+
# Derive exact dry-run build input from the committed GTM campaign object
|
|
243
|
+
signaliz gtm prepare-build <campaign_id> --build-input --json > build-args.json
|
|
244
|
+
signaliz campaign build --input-file build-args.json --confirm-spend
|
|
245
|
+
|
|
246
|
+
# Write route changes only after reviewing the dry-run
|
|
247
|
+
signaliz gtm activate-route --campaign-id <campaign_id> \
|
|
248
|
+
--provider-id instantly \
|
|
249
|
+
--layer sender \
|
|
250
|
+
--confirm
|
|
251
|
+
|
|
252
|
+
# Prepare feedback ingress with feedback-triggered Brain learning
|
|
253
|
+
signaliz gtm feedback-webhook --provider instantly \
|
|
254
|
+
--campaign-id <campaign_id> \
|
|
255
|
+
--write-mode dry_run
|
|
256
|
+
```
|
|
257
|
+
|
|
152
258
|
## Campaign Builder
|
|
153
259
|
|
|
154
260
|
### Build a campaign
|
|
@@ -262,14 +368,12 @@ email verification primitive.
|
|
|
262
368
|
## Ops Execution And Observability
|
|
263
369
|
|
|
264
370
|
Prompt-first Ops stay simple for beginners, but the CLI exposes production
|
|
265
|
-
inspection paths for operators debugging asynchronous workflows.
|
|
371
|
+
inspection paths for operators debugging asynchronous workflows. The canonical
|
|
372
|
+
surface is `signaliz ops ...`; shortcut aliases remain available for existing
|
|
373
|
+
scripts but are not needed for new work.
|
|
266
374
|
|
|
267
375
|
```bash
|
|
268
376
|
# Natural-language planning and creation
|
|
269
|
-
signaliz /plan "Monitor these accounts daily and alert Slack on funding signals"
|
|
270
|
-
signaliz /goal "Build 100 verified VP Sales leads at B2B SaaS companies" --confirm-spend
|
|
271
|
-
signaliz plan "Monitor these accounts daily and alert Slack on funding signals"
|
|
272
|
-
signaliz goal "Build 100 verified VP Sales leads at B2B SaaS companies" --confirm-spend
|
|
273
377
|
signaliz ops plan "Monitor these accounts daily and alert Slack on funding signals"
|
|
274
378
|
signaliz ops quickstart company_research
|
|
275
379
|
signaliz ops create "Build 100 verified VP Sales leads at B2B SaaS companies" --confirm-spend
|
|
@@ -279,53 +383,45 @@ signaliz ops run <op_id>
|
|
|
279
383
|
signaliz ops status <op_id>
|
|
280
384
|
signaliz ops results <op_id> --limit 100 --json
|
|
281
385
|
signaliz ops results <op_id> --include-failed-runs --json
|
|
282
|
-
signaliz run <op_id>
|
|
283
|
-
signaliz status <op_id>
|
|
284
|
-
signaliz results <op_id> --limit 100 --json
|
|
285
386
|
|
|
286
387
|
# Save repeatable local Ops command recipes
|
|
287
|
-
signaliz saved save daily-goal --
|
|
388
|
+
signaliz ops saved save daily-goal -- create "Build 100 verified VP Sales leads" --target-count 100
|
|
288
389
|
signaliz ops saved save daily-monitor -- plan "Monitor key accounts daily" --cadence daily --destinations slack,csv
|
|
289
|
-
signaliz saved list
|
|
290
|
-
signaliz saved run daily-monitor --json
|
|
291
|
-
signaliz saved delete daily-monitor
|
|
390
|
+
signaliz ops saved list
|
|
391
|
+
signaliz ops saved run daily-monitor --json
|
|
392
|
+
signaliz ops saved delete daily-monitor
|
|
292
393
|
|
|
293
394
|
# Inspect Trigger.dev execution state
|
|
294
395
|
signaliz ops run-status <trigger_run_id>
|
|
295
396
|
signaliz ops run-status <trigger_run_id> --watch --interval-ms 5000 --max-polls 60
|
|
296
|
-
signaliz watch <trigger_run_id>
|
|
297
397
|
signaliz ops run-status --run-ids run_a,run_b --json
|
|
298
398
|
|
|
299
399
|
# Inspect async queue depth, provider pressure, and individual jobs
|
|
300
400
|
signaliz ops queue
|
|
301
401
|
signaliz ops queue --summary
|
|
302
|
-
signaliz queue --summary
|
|
303
402
|
signaliz ops queue --job-id <api_request_queue_id>
|
|
304
403
|
signaliz ops queue --idempotency-key <key>
|
|
305
404
|
|
|
306
405
|
# Stream live run logs
|
|
307
406
|
signaliz ops logs <trigger_run_id>
|
|
308
|
-
signaliz tail <trigger_run_id>
|
|
309
407
|
signaliz ops logs <trigger_run_id> --since <event_id> --filter error
|
|
310
408
|
|
|
311
409
|
# Replay a failed execution from a captured checkpoint
|
|
312
410
|
signaliz ops replay <execution_event_id>
|
|
313
|
-
signaliz replay <execution_event_id>
|
|
314
411
|
|
|
315
412
|
# Approve or reject pending Ops approval tokens
|
|
316
|
-
signaliz approve <approval_token_id> --decision approved
|
|
317
|
-
signaliz approve --token-ids token_a,token_b --decision rejected --notes "Needs review"
|
|
413
|
+
signaliz ops approve <approval_token_id> --decision approved
|
|
414
|
+
signaliz ops approve --token-ids token_a,token_b --decision rejected --notes "Needs review"
|
|
318
415
|
|
|
319
416
|
# Inspect and manually run routines
|
|
320
|
-
signaliz routines --status active
|
|
321
|
-
signaliz routine <routine_id>
|
|
322
|
-
signaliz routine <routine_id> run --force
|
|
323
|
-
signaliz routine <routine_id> ticks --limit 20
|
|
324
|
-
signaliz routine <routine_id> items --state failed --json
|
|
417
|
+
signaliz ops routines --status active
|
|
418
|
+
signaliz ops routine <routine_id>
|
|
419
|
+
signaliz ops routine <routine_id> run --force
|
|
420
|
+
signaliz ops routine <routine_id> ticks --limit 20
|
|
421
|
+
signaliz ops routine <routine_id> items --state failed --json
|
|
325
422
|
|
|
326
423
|
# Pull operator telemetry from the Ops dashboard API
|
|
327
424
|
signaliz ops dashboard summary
|
|
328
|
-
signaliz dashboard summary
|
|
329
425
|
signaliz ops dashboard functions --time-range-days 7 --json
|
|
330
426
|
signaliz ops dashboard recent --limit 25
|
|
331
427
|
signaliz ops dashboard timeseries --granularity hour --json
|
|
@@ -346,11 +442,10 @@ signaliz tools --json
|
|
|
346
442
|
signaliz discover --query "verify emails" --json
|
|
347
443
|
signaliz lead status <job_id> --json
|
|
348
444
|
signaliz email verify jane@example.com --json
|
|
349
|
-
signaliz queue --summary --json
|
|
445
|
+
signaliz ops queue --summary --json
|
|
350
446
|
signaliz ops run-status <trigger_run_id> --json
|
|
351
|
-
signaliz replay <execution_event_id> --json
|
|
447
|
+
signaliz ops replay <execution_event_id> --json
|
|
352
448
|
signaliz ops dashboard summary --json
|
|
353
|
-
signaliz dashboard summary --json
|
|
354
449
|
```
|
|
355
450
|
|
|
356
451
|
When `campaign build --wait --json` is used, the CLI emits one valid JSON
|
|
@@ -366,5 +461,4 @@ document with both `initial` and `final` states.
|
|
|
366
461
|
|
|
367
462
|
## Config File
|
|
368
463
|
|
|
369
|
-
The CLI stores configuration in `~/.signaliz/config.json` (mode 0600). The file contains your API key
|
|
370
|
-
The CLI stores configuration in `~/.signaliz/config.json` (mode 0600). The file contains your API key, optional workspace settings, and local saved Ops command recipes created by `signaliz ops saved save`.
|
|
464
|
+
The CLI stores configuration in `~/.signaliz/config.json` (mode 0600). The file contains your API key, optional workspace context created by `signaliz auth workspace set`, and local saved Ops command recipes created by `signaliz ops saved save`. `SIGNALIZ_API_KEY` and `SIGNALIZ_WORKSPACE_ID` override saved config values for one-off execution.
|