open-kioku 0.1.4 → 1.0.1
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 +44 -9
- package/package.json +15 -10
package/README.md
CHANGED
|
@@ -18,27 +18,62 @@ ok --version
|
|
|
18
18
|
|
|
19
19
|
## Quick Start
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
### Index Your Repository
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
|
|
24
|
+
npm install -g open-kioku
|
|
25
|
+
ok init /absolute/path/to/repo
|
|
26
|
+
ok index /absolute/path/to/repo
|
|
27
|
+
ok doctor /absolute/path/to/repo
|
|
25
28
|
```
|
|
26
29
|
|
|
27
|
-
|
|
30
|
+
Verify that the local index has useful evidence:
|
|
28
31
|
|
|
29
32
|
```sh
|
|
30
|
-
ok --repo
|
|
31
|
-
ok --repo
|
|
32
|
-
ok --repo ./open-kioku-demo impact --file src/auth.rs
|
|
33
|
+
ok --repo /absolute/path/to/repo search "auth flow" --limit 5
|
|
34
|
+
ok --repo /absolute/path/to/repo plan "change auth flow" --format markdown
|
|
33
35
|
```
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
Connect the same indexed repo to your LLM client:
|
|
36
38
|
|
|
37
39
|
```sh
|
|
38
40
|
ok mcp install claude --repo /absolute/path/to/repo
|
|
39
41
|
ok mcp install cursor --repo /absolute/path/to/repo
|
|
40
42
|
```
|
|
41
43
|
|
|
44
|
+
Paste the printed MCP config snippet into Claude Code, Cursor, or another MCP-compatible client. Open Kioku runs locally over stdio and is read-only by default.
|
|
45
|
+
|
|
46
|
+
Ask the agent to use the index before editing:
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
Use Open Kioku before editing. Check repo_status, search_code, get_definition,
|
|
50
|
+
get_references, impact_analysis, and find_tests_for_change. Build a plan first.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Keep the index fresh while you work:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
ok watch /absolute/path/to/repo
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Try The Demo
|
|
60
|
+
|
|
61
|
+
Create and index a sample repository:
|
|
62
|
+
|
|
63
|
+
```sh
|
|
64
|
+
ok demo --force
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Search and inspect the demo:
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
ok --repo ./open-kioku-demo search token
|
|
71
|
+
ok --repo ./open-kioku-demo symbol find issue_token
|
|
72
|
+
ok --repo ./open-kioku-demo impact --file src/auth.rs
|
|
73
|
+
ok --repo ./open-kioku-demo plan token --format markdown
|
|
74
|
+
ok prove ./open-kioku-demo --task token
|
|
75
|
+
```
|
|
76
|
+
|
|
42
77
|
## Package Layout
|
|
43
78
|
|
|
44
79
|
The `open-kioku` npm package is a small JavaScript wrapper. It installs one platform-specific optional dependency containing the native `ok` binary for your operating system and CPU architecture.
|
|
@@ -55,5 +90,5 @@ Supported packages:
|
|
|
55
90
|
|
|
56
91
|
- Repository: https://github.com/shivyadavus/open-kioku
|
|
57
92
|
- Releases: https://github.com/shivyadavus/open-kioku/releases
|
|
58
|
-
- Demo: https://shivyadavus.github.io/open-kioku/
|
|
59
|
-
|
|
93
|
+
- Demo: https://shivyadavus.github.io/open-kioku/
|
|
94
|
+
- Security: https://github.com/shivyadavus/open-kioku/blob/main/SECURITY.md
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-kioku",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Local-first code intelligence MCP for AI coding agents",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ok": "./bin/ok.js",
|
|
7
7
|
"open-kioku": "./bin/ok.js"
|
|
8
8
|
},
|
|
9
9
|
"optionalDependencies": {
|
|
10
|
-
"@open-kioku/darwin-x64": "0.1
|
|
11
|
-
"@open-kioku/darwin-arm64": "0.1
|
|
12
|
-
"@open-kioku/linux-x64": "0.1
|
|
13
|
-
"@open-kioku/linux-arm64": "0.1
|
|
14
|
-
"@open-kioku/win32-x64": "0.1
|
|
10
|
+
"@open-kioku/darwin-x64": "1.0.1",
|
|
11
|
+
"@open-kioku/darwin-arm64": "1.0.1",
|
|
12
|
+
"@open-kioku/linux-x64": "1.0.1",
|
|
13
|
+
"@open-kioku/linux-arm64": "1.0.1",
|
|
14
|
+
"@open-kioku/win32-x64": "1.0.1"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -19,17 +19,22 @@
|
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"mcp",
|
|
22
|
+
"mcp-server",
|
|
22
23
|
"ai",
|
|
24
|
+
"ai-agents",
|
|
23
25
|
"llm",
|
|
24
|
-
"
|
|
26
|
+
"claude",
|
|
27
|
+
"cursor",
|
|
28
|
+
"code-intelligence",
|
|
25
29
|
"tree-sitter",
|
|
26
30
|
"code-index",
|
|
27
|
-
"context"
|
|
31
|
+
"context",
|
|
32
|
+
"local-first"
|
|
28
33
|
],
|
|
29
34
|
"author": "Open Kioku",
|
|
30
35
|
"license": "Elastic-2.0",
|
|
31
36
|
"bugs": {
|
|
32
37
|
"url": "https://github.com/shivyadavus/open-kioku/issues"
|
|
33
38
|
},
|
|
34
|
-
"homepage": "https://shivyadavus.github.io/open-kioku/
|
|
39
|
+
"homepage": "https://shivyadavus.github.io/open-kioku/"
|
|
35
40
|
}
|