@actario/cli 0.1.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.
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # @actario/cli
2
+
3
+ Actario's command-line client and MCP server.
4
+
5
+ It reads your AI coding sessions (Claude Code, Cowork, ChatGPT and Claude
6
+ exports) on your own machine, redacts credentials and personal data **before
7
+ anything leaves that machine**, scores the capture and uploads it. Your own
8
+ agent then distils the sessions into decisions, facts and open questions, which
9
+ land in an inbox for you to confirm before any other agent can see them.
10
+
11
+ ## Install
12
+
13
+ ```
14
+ npx @actario/cli init
15
+ ```
16
+
17
+ Or install it for real:
18
+
19
+ ```
20
+ npm install -g @actario/cli
21
+ actario init
22
+ ```
23
+
24
+ `init` asks for your workspace API URL and a capture token, checks the token
25
+ before writing anything, and registers this machine as a source.
26
+
27
+ ## Commands
28
+
29
+ ```
30
+ actario capture capture, redact and upload new sessions
31
+ actario analyze analyse the captured batch here, on your own subscription
32
+ actario status local capture state, or one upload's progress
33
+ actario doctor diagnose sources and report format changes
34
+ actario unmask reverse pseudonyms in a downloaded export, locally
35
+ actario mcp serve capture / analyze as MCP tools over stdio
36
+ ```
37
+
38
+ `actario --help` has the options.
39
+
40
+ ## As an MCP server
41
+
42
+ `actario mcp` serves the same capture and analysis flow as tools, for agents
43
+ that have no shell. Most people should not wire this up by hand — install the
44
+ Actario plugin instead, which carries the server config and the skill that
45
+ drives it.
46
+
47
+ ## Where things live
48
+
49
+ Config, upload state and the pseudonym salt live in `~/.actario`
50
+ (`ACTARIO_HOME` overrides it). The salt never leaves the machine, and neither
51
+ does the pseudonym map: `actario unmask` reverses an export locally, which is
52
+ the only way it can be reversed at all.
53
+
54
+ The command was called `distill` before this release. A machine set up under
55
+ that name keeps working: `~/.distill` is moved to `~/.actario` on first run,
56
+ and `DISTILL_*` variables are still read, with a note asking you to rename
57
+ them.
package/bin/actario.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import { main } from '../dist/actario.js';
3
+ await main(process.argv.slice(2));