okstra 0.4.0 → 0.5.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.kr.md +157 -0
- package/README.md +93 -1406
- package/bin/okstra +21 -6
- package/docs/kr/architecture.md +900 -0
- package/docs/kr/cli.md +400 -0
- package/package.json +4 -2
- package/runtime/BUILD.json +2 -2
- package/src/install.mjs +14 -0
- package/src/setup.mjs +243 -0
package/bin/okstra
CHANGED
|
@@ -7,27 +7,42 @@ const COMMANDS = new Map([
|
|
|
7
7
|
["ensure-installed", () => import("../src/install.mjs").then((m) => m.runEnsureInstalled)],
|
|
8
8
|
["uninstall", () => import("../src/uninstall.mjs").then((m) => m.runUninstall)],
|
|
9
9
|
["doctor", () => import("../src/doctor.mjs").then((m) => m.run)],
|
|
10
|
+
["setup", () => import("../src/setup.mjs").then((m) => m.run)],
|
|
10
11
|
["check-project", () => import("../src/check-project.mjs").then((m) => m.run)],
|
|
11
12
|
]);
|
|
12
13
|
|
|
13
|
-
const USAGE = `okstra —
|
|
14
|
+
const USAGE = `okstra — multi-agent cross-verification orchestrator for Claude Code
|
|
15
|
+
|
|
16
|
+
This CLI is the installer/admin tool. Day-to-day usage happens inside a
|
|
17
|
+
Claude Code session via slash commands (/okstra-setup, /okstra-run, ...).
|
|
18
|
+
|
|
19
|
+
Quick start (CLI):
|
|
20
|
+
1. npx -y okstra@latest install # one-time, this machine
|
|
21
|
+
2. cd <your project>
|
|
22
|
+
3. npx -y okstra@latest setup --project-id <id> # one-time, this project
|
|
23
|
+
4. open a Claude Code session and run /okstra-run # start a task
|
|
24
|
+
|
|
25
|
+
Inside a Claude Code session you can replace step 3 with /okstra-setup —
|
|
26
|
+
both write the same <PROJECT_ROOT>/.project-docs/okstra/project.json.
|
|
14
27
|
|
|
15
28
|
Usage:
|
|
16
29
|
okstra <command> [options]
|
|
17
30
|
|
|
18
|
-
|
|
19
|
-
install Install
|
|
31
|
+
Admin commands:
|
|
32
|
+
install Install runtime to ~/.okstra and skills to ~/.claude/skills
|
|
20
33
|
ensure-installed Verify install is fresh; reinstall if stale (idempotent)
|
|
21
|
-
uninstall Remove
|
|
22
|
-
|
|
34
|
+
uninstall Remove runtime + skills (user data preserved by default)
|
|
35
|
+
setup Register the current project (.project-docs/okstra/project.json)
|
|
23
36
|
doctor Diagnostic check of the installed runtime
|
|
24
|
-
check-project Verify current project has
|
|
37
|
+
check-project Verify the current project has been registered with setup
|
|
38
|
+
paths Print runtime paths (workspace/agents/pythonpath/bin/home/version)
|
|
25
39
|
|
|
26
40
|
Global options:
|
|
27
41
|
--version Print okstra version and exit
|
|
28
42
|
--help Print this help
|
|
29
43
|
|
|
30
44
|
Run 'okstra <command> --help' for command-specific options.
|
|
45
|
+
Docs: https://github.com/Devonshin/okstra#readme
|
|
31
46
|
`;
|
|
32
47
|
|
|
33
48
|
async function main(argv) {
|