xevol 0.12.4 → 0.12.6

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Terminal client for Xevol content execution.
4
4
 
5
- Use it to ingest content, run analysis (spikes), manage prompts, inspect usage, and work across personal/team workspaces.
5
+ Use it to operate Xevol Work Leads, Contacts, and Companies; ingest content; run analysis; manage prompts; inspect usage; and work across Workspaces.
6
6
 
7
7
  ## Install
8
8
 
@@ -41,7 +41,7 @@ xevol workspace list
41
41
  xevol workspace switch <workspace-id>
42
42
  ```
43
43
 
44
- When a workspace is selected, CLI sends `X-Workspace-Id` automatically for workspace-aware API routes.
44
+ `workspace list` and `workspace switch` use the Xevol Work API. The selected Work `workspaceId` is injected into Work commands and cannot be replaced by JSON input. When Creator is enabled, switching also records its mapped Creator Workspace ID for legacy content routes.
45
45
 
46
46
  ## Command map
47
47
 
@@ -50,8 +50,31 @@ When a workspace is selected, CLI sends `X-Workspace-Id` automatically for works
50
50
  - `xevol logout` — revoke token + clear local config
51
51
  - `xevol whoami` — current authenticated account
52
52
 
53
+ ### Xevol Work CRM
54
+ - `xevol companies ...` — all Companies reads and commands: list, get, options, create, update, remove, enrich, research, and primary Contact
55
+ - `xevol contacts ...` — all Contacts reads and commands: list, get, create, update, and proposed-fact decisions
56
+ - `xevol leads ...` — every Leads procedure used by Xevol Work Web, including campaigns, review, identity, packets, Deal handoff, outreach, learning, import, insights, and export
57
+
58
+ Every procedure is a first-class kebab-case subcommand. Use `xevol <group> --help` for the complete list. Common creation has direct flags:
59
+
60
+ ```bash
61
+ xevol companies create --name Acme --domain acme.com --json
62
+ xevol contacts create --first-name Ada --email ada@acme.com --company-id <company-id> --json
63
+ xevol leads create --campaign-id <campaign-id> --source MANUAL --company Acme --domain acme.com --json
64
+ ```
65
+
66
+ Complex or less common inputs still accept exactly one of `--input`, `--file`, or stdin:
67
+
68
+ ```bash
69
+ xevol leads packet-decide --input '{"packetId":"...","action":"QUALIFY"}' --json
70
+ xevol leads packet-decide --file decision.json --json
71
+ cat decision.json | xevol leads packet-decide --json
72
+ ```
73
+
74
+ List commands also accept `--query`, `--page`, `--page-size`, `--sort`, and `--dir`. `--workspace-id` overrides the selected Workspace for one command while still relying on server-side membership authorization.
75
+
53
76
  ### Ingestion & content
54
- - `xevol add <url>` — URL ingestion (YouTube + non-YouTube)
77
+ - `xevol add [url]` — URL ingestion (YouTube + non-YouTube); omit URL when using `--batch`
55
78
  - `xevol create [text]` — create from text/file/url/stdin/editor
56
79
  - `xevol list` — list transcriptions
57
80
  - `xevol view <id>` — view summary/content
@@ -67,10 +90,14 @@ When a workspace is selected, CLI sends `X-Workspace-Id` automatically for works
67
90
  ### Usage, exports, locations
68
91
  - `xevol usage` — plan + usage snapshot
69
92
  - `xevol export <id> --format json|markdown|text` — export content locally
70
- - `xevol whereami` — latest Xevol Coordinates location
71
- - `xevol locations` — Xevol Coordinates history
93
+ - `xevol coordinates current` — latest Xevol Coordinates context, with coordinates hidden unless `--exact`
94
+ - `xevol coordinates current --json` — stable machine-readable current context for scripts/agents
95
+ - `xevol coordinates locations` — Xevol Coordinates history
96
+ - `xevol whereami` / `xevol locations` — legacy convenience aliases
72
97
 
73
98
  ### Interface
99
+ - `xevol agent-help` — machine-oriented guide for agents/scripts using xevol-cli
100
+ - `xevol agent-help --json` — structured command/workflow guide for agents
74
101
  - `xevol tui` — interactive terminal UI
75
102
 
76
103
  ## Common flags
@@ -101,7 +128,12 @@ CLI config is stored in:
101
128
 
102
129
  - `~/.xevol/config.json`
103
130
 
104
- Includes token, API URL, selected workspace, and defaults.
131
+ Includes the CLI token, Creator API URL, Work API URL, selected Work and mapped Creator Workspace IDs, and defaults.
132
+
133
+ - `XEVOL_API_URL` overrides the Creator API origin.
134
+ - `XEVOL_WORK_API_URL` overrides the Xevol Work origin (default `https://xevol.com`).
135
+
136
+ The same device-flow CLI token is introspected by Xevol Work and mapped through its imported Creator identity binding. Every request still passes normal active Workspace membership and module gates.
105
137
 
106
138
  ## Notes
107
139
 
package/dist/bin.js CHANGED
File without changes