@socialseal/cli 0.1.6 → 0.1.8
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/CHANGELOG.md +11 -0
- package/README.md +15 -1
- package/package.json +1 -1
- package/src/index.js +1220 -16
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.1.8 - 2026-04-13
|
|
6
|
+
- Increase default CLI timeout from 30s to 5m to reduce false timeout failures on heavy tool/export workflows.
|
|
7
|
+
- Harden async `search-journey-run` polling to accept additional active/terminal status labels (`queued`, `in_progress`, `running`, `succeeded`, `error`) instead of failing on unexpected variants.
|
|
8
|
+
- Fix async `search-journey-run` polling workspace propagation to always reuse the resolved effective workspace scope.
|
|
9
|
+
|
|
10
|
+
## 0.1.7 - 2026-03-20
|
|
11
|
+
- Add `socialseal data export-search-results` for CLI-first enriched ranked-search exports, including direct CSV download handling.
|
|
12
|
+
- Add `search_results_enriched` as an alias on `socialseal data export-report` to map to the ranked-search export template.
|
|
13
|
+
- Add `socialseal data export-options` to make available export workflows discoverable from the CLI.
|
|
14
|
+
- Improve export ergonomics with local report-type validation and instructive failure guidance for processing, failed, and expired-download states.
|
|
15
|
+
|
|
5
16
|
## 0.1.6 - 2026-03-19
|
|
6
17
|
- Fix runtime version reporting so `socialseal --version` reads from package metadata instead of a hardcoded source string.
|
|
7
18
|
- Fix `tracking` create request translation so `--workspace-id` is sent on the REST query path the backend uses for workspace binding.
|
package/README.md
CHANGED
|
@@ -42,12 +42,17 @@ Optional config file:
|
|
|
42
42
|
- Tools list (built-in registry):
|
|
43
43
|
- `socialseal tools list`
|
|
44
44
|
- `socialseal tools list --json`
|
|
45
|
+
- `socialseal tools schema --function search-journey-run`
|
|
45
46
|
|
|
46
47
|
- Tools (direct edge function call):
|
|
47
48
|
- `socialseal tools call --function <tool> --body @payload.json --api-base https://api.socialseal.co --api-key <key>`
|
|
48
49
|
- `socialseal tools call --function <tool> --body @payload.json --json`
|
|
49
50
|
- `socialseal tools call --function search-journey-run --body @payload.json --async --workspace-id <uuid>`
|
|
50
51
|
- `socialseal tools call --function search-journey-run --body @payload.json --async --no-poll --workspace-id <uuid>`
|
|
52
|
+
- `socialseal tools status 6809 --kind google_ai_run`
|
|
53
|
+
- `socialseal tools status <job-uuid> --kind agent_job`
|
|
54
|
+
- `socialseal tools status <run-uuid> --kind journey_run --workspace-id <uuid>`
|
|
55
|
+
- `socialseal tools status 6809 --kind google_ai_run --wait --include-results`
|
|
51
56
|
|
|
52
57
|
- Tracked video extraction:
|
|
53
58
|
- `socialseal video queue-analysis --video-id 734829384 --workspace-id <uuid>`
|
|
@@ -56,14 +61,23 @@ Optional config file:
|
|
|
56
61
|
- `socialseal video extract --body @payload.json --out-dir ./video-assets`
|
|
57
62
|
|
|
58
63
|
- Data exports (provisional):
|
|
64
|
+
- `socialseal data export-options`
|
|
59
65
|
- `socialseal data export-tracking --group-id 123 --time-period 30d --workspace-id <uuid> --out out.csv`
|
|
66
|
+
- `socialseal data export-search-results --group-ids 123,124 --workspace-id <uuid> --out ranked.csv`
|
|
67
|
+
- `socialseal data export-report --report-type search_results_enriched --format csv --payload @payload.json --workspace-id <uuid> --out ranked.csv`
|
|
60
68
|
- `socialseal data export-report --report-type keyword_universe --format csv --payload @payload.json --out out.csv`
|
|
61
69
|
|
|
62
70
|
## Notes
|
|
63
|
-
- `export-report` and `
|
|
71
|
+
- `export-report`, `export_tracking_data`, and `export-data`-backed exports are provisional until CLI export specs are finalized.
|
|
64
72
|
- `tools list` ships a stable built-in registry of supported direct-call function targets. It is not live backend enumeration.
|
|
73
|
+
- `tools schema --function <name>` prints static required/optional payload fields and example bodies for high-friction tools.
|
|
74
|
+
- `data export-search-results` maps to `export-data` template `tracking_ranked_videos_raw` and returns enriched ranked-search rows (search fields + video metadata + latest metrics + analysis). It downloads the signed CSV artifact when available.
|
|
75
|
+
- `data export-report --report-type search_results_enriched` is a compatibility alias to the same `export-data` template flow.
|
|
76
|
+
- `data export-report` now validates report types locally and shows the allowed list immediately; run `socialseal data export-options` when choosing between export flows.
|
|
77
|
+
- If an export returns metadata without a file URL (for example status `processing`), the CLI prints an explicit retry hint and returns the metadata JSON so automation can branch on status.
|
|
65
78
|
- `--timeout <ms>` controls HTTP request timeouts. Agent runs default to a 5-minute WebSocket inactivity timeout unless you set `--idle-timeout <ms>` (or the matching env/config value).
|
|
66
79
|
- `search-journey-run` supports CLI-managed async polling: `--async` starts backend async mode, polling is on by default, `--no-poll` returns the initial `runId`, and `--poll-interval <ms>` controls the status polling cadence.
|
|
80
|
+
- `tools status <id>` is the unified read path for numeric Google AI run ids and UUID job/run ids. `--kind auto` detects numeric Google runs and UUID agent jobs, and falls back to journey status when `--workspace-id` is provided.
|
|
67
81
|
- `video queue-analysis` wraps the tracked-video extraction backend in queue-only mode so you can queue one or many tracked videos without downloading assets first.
|
|
68
82
|
- `video extract` wraps the same backend in extraction mode and returns a normalized JSON payload with resolved tracking context, structured analysis, thumbnail/frame assets, and optional local downloads under `--out-dir`.
|
|
69
83
|
- `--video-id` is the primary ergonomic selector for video workflows. The backend tries it as `video_uid` first, then as platform video id. It does not accept tracking item ids. `--search-result-id` remains available when you are starting from a specific tracked rank row.
|