suzumearch 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.
Files changed (4) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +90 -0
  3. package/cli.mjs +615648 -0
  4. package/package.json +30 -0
package/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ UNLICENSED - SUZUMEARCH MOD NOTICE
2
+
3
+ SuzumeArch is an independent CLI mod of the Claude Code Leak by Nefertary I.
4
+ Forster.
5
+
6
+ SuzumeArch is not affiliated with, endorsed by, sponsored by, or presented as
7
+ Anthropic software. No redistribution license is granted by this notice.
8
+
9
+
package/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # SuzumeArch
2
+
3
+ SuzumeArch is an independent CLI mod of the Claude Code Leak by Nefertary I.
4
+ Forster. It is not affiliated with, endorsed by, sponsored by, or presented as
5
+ Anthropic software.
6
+
7
+ It provides a terminal-first AI coding CLI with a React/Ink UI, MCP support,
8
+ external model provider support, and optional local web search through SearXNG.
9
+
10
+ ## Quick Start
11
+
12
+ ```bash
13
+ bun install
14
+ bun run suzume
15
+ ```
16
+
17
+ Useful local checks:
18
+
19
+ ```bash
20
+ bun run lint
21
+ bun run typecheck
22
+ bun run build:prod
23
+ ```
24
+
25
+ After a production build, confirm `dist/cli.mjs` exists and can run:
26
+
27
+ ```bash
28
+ node dist/cli.mjs --version
29
+ bun dist/cli.mjs --version
30
+ ```
31
+
32
+ ## Web Search
33
+
34
+ SuzumeArch can use a self-hosted SearXNG instance for external models.
35
+
36
+ ```bash
37
+ export SEARXNG_BASE_URL="http://localhost:8888"
38
+ ```
39
+
40
+ You can also configure it inside settings:
41
+
42
+ ```json
43
+ {
44
+ "plugins": {
45
+ "entries": {
46
+ "searxng": {
47
+ "config": {
48
+ "webSearch": {
49
+ "baseUrl": "http://localhost:8888",
50
+ "categories": "general,news",
51
+ "language": "en"
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ ```
59
+
60
+ Use `/web-search` in the CLI to install, start, stop, or configure a managed
61
+ SearXNG instance. The managed install enables `format=json` in SearXNG settings.
62
+
63
+ ## MCP Server
64
+
65
+ The MCP helper lives in `mcp-server/`.
66
+
67
+ ```bash
68
+ cd mcp-server
69
+ npm install
70
+ npm run build
71
+ npm start
72
+ ```
73
+
74
+ Use `npm run start:http` for HTTP/SSE mode. Set `MCP_API_KEY` to require bearer
75
+ auth for HTTP.
76
+
77
+ ## Web Terminal
78
+
79
+ The Docker web terminal runs `bun /app/src/server/web/pty-server.ts`.
80
+ Required runtime settings:
81
+
82
+ - `ANTHROPIC_API_KEY` when using the compatible Anthropic API path.
83
+ - `PORT`, default `3000`.
84
+ - `AUTH_TOKEN`, `MAX_SESSIONS`, and `ALLOWED_ORIGINS` as deployment controls.
85
+
86
+ ## Repository Hygiene
87
+
88
+ Keep generated outputs and local dependency folders out of source review. The
89
+ root `.gitignore` excludes `node_modules/`, build output, temporary folders, and
90
+ logs.