codekin 0.3.5 → 0.3.7
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 +11 -1
- package/bin/codekin.mjs +4 -1
- package/dist/assets/index-Dc76fIdG.js +174 -0
- package/dist/assets/index-DoL2Uppj.css +1 -0
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/server/dist/claude-process.d.ts +0 -1
- package/server/dist/claude-process.js +1 -2
- package/server/dist/claude-process.js.map +1 -1
- package/server/dist/session-archive.js +6 -1
- package/server/dist/session-archive.js.map +1 -1
- package/server/dist/session-manager.js +6 -1
- package/server/dist/session-manager.js.map +1 -1
- package/server/dist/stepflow-handler.js +2 -2
- package/server/dist/stepflow-handler.js.map +1 -1
- package/server/dist/tsconfig.tsbuildinfo +1 -1
- package/server/dist/types.d.ts +2 -8
- package/server/dist/upload-routes.js +12 -2
- package/server/dist/upload-routes.js.map +1 -1
- package/server/dist/webhook-handler.js +2 -2
- package/server/dist/webhook-handler.js.map +1 -1
- package/server/dist/workflow-routes.js +1 -1
- package/server/dist/workflow-routes.js.map +1 -1
- package/server/dist/ws-message-handler.js +0 -3
- package/server/dist/ws-message-handler.js.map +1 -1
- package/server/dist/ws-server.js +18 -6
- package/server/dist/ws-server.js.map +1 -1
- package/dist/assets/index-Cp27uOZO.js +0 -174
- package/dist/assets/index-D3SqBuHB.css +0 -1
package/README.md
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
[](LICENSE)
|
|
4
4
|
[](https://www.npmjs.com/package/codekin)
|
|
5
5
|
|
|
6
|
+
**[codekin.ai](https://codekin.ai)**
|
|
7
|
+
|
|
6
8
|
Web UI for Claude Code sessions — multi-session support, WebSocket streaming, file uploads, and slash-command skills.
|
|
7
9
|
|
|
10
|
+

|
|
11
|
+
|
|
8
12
|
## Install
|
|
9
13
|
|
|
10
14
|
**Prerequisites:**
|
|
@@ -43,10 +47,17 @@ codekin uninstall # Remove Codekin entirely
|
|
|
43
47
|
## Features
|
|
44
48
|
|
|
45
49
|
- **Multi-session terminal** — Open and switch between multiple Claude Code sessions, one per repo
|
|
50
|
+
- **Session archive** — Full retrieval and re-activation of archived sessions
|
|
46
51
|
- **Repo browser** — Auto-discovers local repos and GitHub org repos
|
|
47
52
|
- **Screenshot upload** — Drag-and-drop or paste images; the file path is sent to Claude so it can read them natively
|
|
48
53
|
- **Skill browser** — Browse and invoke `/skills` defined in each repo's `.claude/skills/`
|
|
49
54
|
- **Command palette** — `Ctrl+K` to quickly search repos, skills, and actions
|
|
55
|
+
- **Approval management** — Persistent approval storage with detailed per-permission revoking
|
|
56
|
+
- **Mobile-friendly** — Responsive layout that works on phones and tablets
|
|
57
|
+
- **Markdown browser** — Browse and view `.md` files directly in the UI
|
|
58
|
+
- **AI Workflows** — Scheduled code and repository audits and maintenance, with support for custom workflows defined as Markdown files
|
|
59
|
+
- **GitHub webhooks** — Automated bugfixing on CI failures via webhook integration
|
|
60
|
+
- **LLM-powered chores** — Optional API keys (Groq, OpenAI, Gemini, Anthropic) for background tasks like session auto-naming
|
|
50
61
|
|
|
51
62
|
## Upgrade
|
|
52
63
|
|
|
@@ -79,7 +90,6 @@ All configuration lives in `~/.config/codekin/env`. Edit this file to override d
|
|
|
79
90
|
|---|---|---|
|
|
80
91
|
| `PORT` | `32352` | Server port |
|
|
81
92
|
| `REPOS_ROOT` | `~/repos` | Root directory scanned for local repositories |
|
|
82
|
-
| `GH_ORG` | — | Comma-separated GitHub orgs for repo listing |
|
|
83
93
|
| `GROQ_API_KEY` | — | Optional. Enables session auto-naming via Llama 4 Scout (free tier at [groq.com](https://groq.com)) |
|
|
84
94
|
| `OPENAI_API_KEY` | — | Optional. Fallback for session auto-naming via GPT-4o Mini ([platform.openai.com](https://platform.openai.com)) |
|
|
85
95
|
| `GEMINI_API_KEY` | — | Optional. Fallback for session auto-naming via Gemini 2.5 Flash ([aistudio.google.com](https://aistudio.google.com)) |
|
package/bin/codekin.mjs
CHANGED
|
@@ -156,6 +156,8 @@ async function cmdSetup({ regenerate = false } = {}) {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
+
|
|
160
|
+
|
|
159
161
|
// Write env file
|
|
160
162
|
const frontendDist = findFrontendDist()
|
|
161
163
|
const envVars = {
|
|
@@ -219,8 +221,9 @@ function buildPlist() {
|
|
|
219
221
|
// Inject PATH and HOME so launchd service can find gh, node, etc.
|
|
220
222
|
if (!envVars.PATH && process.env.PATH) envVars.PATH = process.env.PATH
|
|
221
223
|
if (!envVars.HOME) envVars.HOME = homedir()
|
|
224
|
+
const escXml = (s) => s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>')
|
|
222
225
|
const envEntries = Object.entries(envVars)
|
|
223
|
-
.map(([k, v]) => `\t\t<key>${k}</key>\n\t\t<string>${v}</string>`)
|
|
226
|
+
.map(([k, v]) => `\t\t<key>${escXml(k)}</key>\n\t\t<string>${escXml(v)}</string>`)
|
|
224
227
|
.join('\n')
|
|
225
228
|
|
|
226
229
|
return `<?xml version="1.0" encoding="UTF-8"?>
|