xevol 0.14.1 → 0.15.0

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 +38 -3
  2. package/dist/index.js +306 -247
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -54,6 +54,8 @@ xevol workspace switch <workspace-id>
54
54
 
55
55
  ### Xevol Work
56
56
  - `xevol ads ...` — manage Ads projects, collections, creatives, formats, copy, links, status, archives, and history
57
+ - `xevol brands ...` — Brands: list, get, create, update, sourced facts, pinned files (logo, font, picture, product), Knowledge links, motion kits and managers
58
+ - `xevol files put <file> <path>` — upload a local file to a Workspace Files path (up to 20 MiB), e.g. a product photo to pin on a Brand
57
59
  - `xevol companies ...` — all Companies reads and commands: list, get, options, create, update, remove, enrich, research, and primary Contact
58
60
  - `xevol contacts ...` — all Contacts reads and commands: list, get, create, update, and proposed-fact decisions
59
61
  - `xevol offers ...` — every Offers procedure used by Xevol Work Web, including profiles, status, snapshots, audiences, angles, artifacts, revisions, and reviewed generation
@@ -62,6 +64,11 @@ xevol workspace switch <workspace-id>
62
64
  - `xevol career ...` — read-only source job browsing and detail, separate from personal Matches and Pursuits
63
65
  - `xevol deals ...` — list, get, create, update, and stage management
64
66
  - `xevol activities ...` — record timelines, counts, personal tasks, activity creation, and task completion
67
+ - `xevol sites ...` — local-business sites: make one from a Google listing, draft, keep or discard, preview links, publish, domains, the client's approval, paid-until, word edits and the weekly report
68
+ - `xevol motion ...` — a Brand's videos, pictures and voice-overs: plan, render, contact sheets, video sets (paid work uses the Workspace's credits)
69
+ - `xevol social ...` — connected social accounts and publications: draft, edit, list, cancel, retry. Approving a post and connecting an account happen in Xevol's browser app
70
+ - `xevol newsletter ...` — lists, subscribers, drip sequences, campaigns, reports and sending domains. Adding subscribers, test sends, activating sequences and approving campaigns happen in Xevol's browser app
71
+ - `xevol workflows ...` — draft, check and start workflows; runs, tasks, ready-made jobs; complete an external task. Activating, pausing and cancelling happen in Xevol
65
72
  - `xevol search [query]` — search Companies, Contacts, and Deals across the selected Workspace
66
73
 
67
74
  Every grouped procedure is a first-class kebab-case subcommand; Search is a direct command. Use `xevol <group> --help` for the complete list. Common creation has direct flags:
@@ -92,8 +99,9 @@ Campaign execution commands keep the Work API's reviewed-policy and acknowledgem
92
99
 
93
100
  Ads commands mirror the `ads.*` Work manager. They create and edit native records, upload
94
101
  formats, change status, archive and restore, and expose append-only change history. They
95
- do not run the operator importer, generate creative, publish, or manage ad-platform
96
- campaigns, targeting, budgets, spend, or attribution.
102
+ also start paid generated batches (template or photo ads), follow them, keep or reject the
103
+ results and save the zip. They do not run the operator importer, publish, or manage
104
+ ad-platform campaigns, targeting, budgets, spend, or attribution.
97
105
 
98
106
  ```bash
99
107
  xevol ads projects --json
@@ -109,6 +117,22 @@ xevol ads restore <creative-id> --entity creative --json
109
117
  xevol ads history <creative-id> --json
110
118
  ```
111
119
 
120
+ Generated batches, end to end (a person's token; an agent may submit and read, while
121
+ `batch-review`, `batch-export`, `brands pin` and the use class stay with a person):
122
+
123
+ ```bash
124
+ xevol brands create --file brand.json --json
125
+ xevol brands add-fact <brand-id> --input '{"kind":"PRODUCT","text":"...","sourceUrl":"https://..."}' --json
126
+ xevol files put app.png /Brands/anglokit/app.png --json
127
+ xevol brands pin <brand-id> --input '{"role":"PRODUCT","path":"/Brands/anglokit/app.png","rightsAttested":true,"product":{"name":"Anglokit","kind":"SCREEN","text":"..."}}' --json
128
+ xevol ads batch-submit --file batch.json --json # "photo":{"productAssetId":"<asset-id>"} for photo ads
129
+ xevol ads batch-watch <set-id>
130
+ xevol ads batch <set-id> --json # concepts, candidates, check verdicts and reasons
131
+ xevol ads batch-review --input '{"setId":"<set-id>","creativeIds":["<id>"],"status":"Selected"}' --json
132
+ xevol ads batch-export <set-id> --json # makes missing formats (the photo 9:16 is paid once)
133
+ xevol ads batch-download <set-id> anglokit.zip
134
+ ```
135
+
112
136
  `ads update` and `ads status` fetch the creative's current `updatedAt` when
113
137
  `--updated-at` is omitted. Other edits require the `updatedAt` read from the API, passed
114
138
  through `--updated-at` or JSON, so concurrent changes return `CONFLICT` instead of being
@@ -209,22 +233,33 @@ Work and system commands return `xevol.cli/v1` envelopes in `--json` mode and ke
209
233
  - `xevol add --file source.pdf --lang en` — upload PDF, UTF-8 text, audio, or video
210
234
  - `xevol retry <id> --regenerate --lang en` — regenerate saved content on the same transcription
211
235
 
212
- Add, upload, status, and retry use the selected Work Workspace's Creator gateway. Retained authority still routes to Creator; exclusive Native authority uses canonical Work ingestion. Use `--operation-id <id>` on a single add/upload/retry to repeat an uncertain response without starting another import. Audio/video requires the Agent's optional ASR configuration.
236
+ Add, upload, status, and retry use the selected Work Workspace's Creator gateway. Retained authority still routes to Creator; exclusive Native authority uses canonical Work ingestion. Use `--operation-id <id>` on a single add/upload/retry to repeat an uncertain response without starting another import. Audio/video is hashed locally and uploaded straight to the Cloudflare transcription gateway; Work only receives its name, size and SHA-256.
213
237
  - `xevol create [text]` — create from text/file/url/stdin/editor
214
238
  - `xevol list` — list transcriptions
215
239
  - `xevol view <id>` — view summary/content
216
240
  - `xevol delete <id>` — delete transcription
217
241
  - `xevol open <id>` — open item in browser
218
242
 
243
+ ### Direct transcription (Cloudflare gateway)
244
+ - `xevol transcribe <file>` — transcribe a local audio/video file; the bytes go straight to the Cloudflare gateway, never through Work
245
+ - `xevol transcribe <file> --no-wait --json` — submit and print the stable job id
246
+ - `xevol transcribe --job <id> --stream --json` — resume events over SSE as NDJSON (`--after <cursor>` replays from a cursor)
247
+ - `xevol transcribe --job <id> --format json|txt|srt|vtt --output <path>` — export with SHA-256 verification
248
+ - `xevol transcribe --job <id> --cancel` — request cancellation (Ctrl-C only closes the stream)
249
+
219
250
  ### Analysis & prompts
220
251
  - `xevol analyze <id> --prompt <promptId>` — create/read spike output
221
252
  - `xevol stream <spikeId>` — SSE stream spike content
222
253
  - `xevol resume <transcriptionId>` — resume interrupted stream session
223
254
  - `xevol prompts ...` — prompt CRUD/list/get
224
255
 
256
+ Every Work command runs with your rights in the Workspace you pick: FORBIDDEN when you lack the role (Brand manager, Workspace owner), PRECONDITION_FAILED when the Workspace's plan does not include the module, PAYMENT_REQUIRED when credits, the monthly cap or the subscription stop paid work. Commands marked "people only" are refused for agent tokens. Approving posts and campaigns, connecting accounts, adding subscribers and cancelling workflow runs need Xevol's browser app.
257
+
225
258
  ### Usage, billing, exports, locations
226
259
  - `xevol usage` — plan + usage snapshot
227
260
  - `xevol billing [--workspace-id <id>] [--json]` — read the Workspace credit balance, monthly use, enforcement policy, and waiting-work count
261
+ - `xevol saved list|process|to-knowledge|copy-to|remove` — read and use what you saved
262
+ - `xevol saved import <export-folder> [--apply] [--workspace-id <id>] [--json]` — bring a Telegram Desktop Saved Messages export (JSON, with media) into Saved. Without `--apply` it only reports counts, file sizes, what is left out and the credits needed; with it, one message at a time, skipping anything already imported, so the same command resumes. One credit per stored file; nothing is processed
228
263
  - `xevol export <id> --format json|markdown|text` — export content locally
229
264
  - `xevol coordinates current` — latest Xevol Coordinates context, with coordinates hidden unless `--exact`
230
265
  - `xevol coordinates current --json` — stable machine-readable current context for scripts/agents