@withoperon/cli 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Operon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,85 @@
1
+ # Operon CLI
2
+
3
+ Team agent memory for AI-native engineering teams.
4
+
5
+ Operon mines local Claude Code, Codex, and Cursor sessions, turns repeated
6
+ workflows into versioned operons, and syncs them with your team workspace.
7
+
8
+ ## Install
9
+
10
+ Run without installing:
11
+
12
+ ```bash
13
+ npx @withoperon/cli@latest --help
14
+ ```
15
+
16
+ Or install globally:
17
+
18
+ ```bash
19
+ npm i -g @withoperon/cli
20
+ operon --help
21
+ ```
22
+
23
+ Requires Node.js 22 or newer.
24
+
25
+ ## Sign In
26
+
27
+ ```bash
28
+ operon login
29
+ ```
30
+
31
+ The command prints the Operon sign-in URL and prompts for a Supabase access
32
+ token or `op_pat_*` personal access token. It stores the token locally and uses
33
+ it for workspace commands. Pass `--workspace <slug>` to set a default workspace.
34
+
35
+ ## Mine Local Sessions
36
+
37
+ ```bash
38
+ operon mine --workspace acme --since 30d --top 5 --dry-run
39
+ operon mine --workspace acme --since 30d --top 5
40
+ ```
41
+
42
+ `mine` reads local Claude Code, Codex, and Cursor transcripts, ranks
43
+ repeated workflow candidates, previews what already exists in your workspace,
44
+ and asks which suggestions to publish. Use `--dry-run` to preview without
45
+ writing anything, or `--yes` to publish every surfaced candidate without
46
+ prompts.
47
+
48
+ If you want the lower-level pieces:
49
+
50
+ ```bash
51
+ operon scan --since 30d
52
+ operon suggest --top 10
53
+ ```
54
+
55
+ ## Publish An Operon
56
+
57
+ ```bash
58
+ operon publish audit-website --workspace acme
59
+ ```
60
+
61
+ `publish` uploads a polished `SKILL.md` to the selected workspace. Workspaces
62
+ with eval gating keep the new version as a draft until it passes.
63
+
64
+ ## Install An Operon
65
+
66
+ ```bash
67
+ operon install acme/audit-website
68
+ operon install audit-website --workspace acme
69
+ ```
70
+
71
+ `install` downloads the current published version, verifies the content hash,
72
+ caches it under `~/.operon/skills`, and writes native Claude Code and Codex
73
+ skill files. Use `--semver` to pin a specific version and `--target` to install
74
+ only one local runtime.
75
+
76
+ ## Other Useful Commands
77
+
78
+ ```bash
79
+ operon list
80
+ operon show audit-website
81
+ operon doctor --fix
82
+ operon config get apiUrl
83
+ ```
84
+
85
+ Run `operon <command> --help` for command-specific flags.