claudeck 1.0.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 +21 -0
- package/README.md +233 -0
- package/cli.js +2 -0
- package/config/agent-chains.json +16 -0
- package/config/agent-dags.json +16 -0
- package/config/agents.json +46 -0
- package/config/bot-prompt.json +3 -0
- package/config/folders.json +66 -0
- package/config/prompts.json +92 -0
- package/config/repos.json +86 -0
- package/config/telegram-config.json +17 -0
- package/config/workflows.json +90 -0
- package/db.js +1198 -0
- package/package.json +55 -0
- package/plugins/claude-editor/client.css +171 -0
- package/plugins/claude-editor/client.js +183 -0
- package/plugins/event-stream/client.css +207 -0
- package/plugins/event-stream/client.js +271 -0
- package/plugins/linear/client.css +345 -0
- package/plugins/linear/client.js +380 -0
- package/plugins/linear/config.json +5 -0
- package/plugins/linear/server.js +312 -0
- package/plugins/repos/client.css +549 -0
- package/plugins/repos/client.js +663 -0
- package/plugins/repos/server.js +232 -0
- package/plugins/sudoku/client.css +196 -0
- package/plugins/sudoku/client.js +329 -0
- package/plugins/tasks/client.css +414 -0
- package/plugins/tasks/client.js +394 -0
- package/plugins/tasks/server.js +116 -0
- package/plugins/tic-tac-toe/client.css +167 -0
- package/plugins/tic-tac-toe/client.js +241 -0
- package/public/css/core/components.css +232 -0
- package/public/css/core/layout.css +330 -0
- package/public/css/core/print.css +18 -0
- package/public/css/core/reset.css +36 -0
- package/public/css/core/responsive.css +378 -0
- package/public/css/core/theme.css +116 -0
- package/public/css/core/variables.css +93 -0
- package/public/css/features/agent-monitor.css +297 -0
- package/public/css/features/agent-sidebar.css +525 -0
- package/public/css/features/agents.css +996 -0
- package/public/css/features/analytics.css +181 -0
- package/public/css/features/background-sessions.css +321 -0
- package/public/css/features/cost-dashboard.css +168 -0
- package/public/css/features/home.css +313 -0
- package/public/css/features/retro-terminal.css +88 -0
- package/public/css/features/telegram.css +127 -0
- package/public/css/features/tour.css +148 -0
- package/public/css/features/voice-input.css +60 -0
- package/public/css/features/welcome.css +241 -0
- package/public/css/panels/assistant-bot.css +442 -0
- package/public/css/panels/dev-docs.css +292 -0
- package/public/css/panels/file-explorer.css +322 -0
- package/public/css/panels/git-panel.css +221 -0
- package/public/css/panels/mcp-manager.css +199 -0
- package/public/css/panels/tips-feed.css +353 -0
- package/public/css/ui/commands.css +273 -0
- package/public/css/ui/context-gauge.css +76 -0
- package/public/css/ui/file-picker.css +69 -0
- package/public/css/ui/image-attachments.css +106 -0
- package/public/css/ui/messages.css +884 -0
- package/public/css/ui/modals.css +122 -0
- package/public/css/ui/parallel.css +217 -0
- package/public/css/ui/permissions.css +110 -0
- package/public/css/ui/right-panel.css +481 -0
- package/public/css/ui/sessions.css +689 -0
- package/public/css/ui/status-bar.css +425 -0
- package/public/css/ui/toolbox.css +206 -0
- package/public/data/tips.json +218 -0
- package/public/icons/favicon.png +0 -0
- package/public/icons/icon-192.png +0 -0
- package/public/icons/icon-512.png +0 -0
- package/public/icons/whaly.png +0 -0
- package/public/index.html +1140 -0
- package/public/js/core/api.js +591 -0
- package/public/js/core/constants.js +3 -0
- package/public/js/core/dom.js +270 -0
- package/public/js/core/events.js +10 -0
- package/public/js/core/plugin-loader.js +153 -0
- package/public/js/core/store.js +39 -0
- package/public/js/core/utils.js +25 -0
- package/public/js/core/ws.js +64 -0
- package/public/js/features/agent-monitor.js +222 -0
- package/public/js/features/agents.js +1209 -0
- package/public/js/features/analytics.js +397 -0
- package/public/js/features/attachments.js +251 -0
- package/public/js/features/background-sessions.js +475 -0
- package/public/js/features/chat.js +589 -0
- package/public/js/features/cost-dashboard.js +152 -0
- package/public/js/features/dag-editor.js +399 -0
- package/public/js/features/easter-egg.js +46 -0
- package/public/js/features/home.js +270 -0
- package/public/js/features/projects.js +372 -0
- package/public/js/features/prompts.js +228 -0
- package/public/js/features/sessions.js +332 -0
- package/public/js/features/telegram.js +131 -0
- package/public/js/features/tour.js +210 -0
- package/public/js/features/voice-input.js +185 -0
- package/public/js/features/welcome.js +43 -0
- package/public/js/features/workflows.js +277 -0
- package/public/js/main.js +51 -0
- package/public/js/panels/assistant-bot.js +445 -0
- package/public/js/panels/dev-docs.js +380 -0
- package/public/js/panels/file-explorer.js +486 -0
- package/public/js/panels/git-panel.js +285 -0
- package/public/js/panels/mcp-manager.js +311 -0
- package/public/js/panels/tips-feed.js +303 -0
- package/public/js/ui/commands.js +114 -0
- package/public/js/ui/context-gauge.js +100 -0
- package/public/js/ui/diff.js +124 -0
- package/public/js/ui/disabled-tools.js +36 -0
- package/public/js/ui/export.js +74 -0
- package/public/js/ui/formatting.js +206 -0
- package/public/js/ui/header-dropdowns.js +72 -0
- package/public/js/ui/input-meta.js +71 -0
- package/public/js/ui/max-turns.js +21 -0
- package/public/js/ui/messages.js +387 -0
- package/public/js/ui/model-selector.js +20 -0
- package/public/js/ui/notifications.js +232 -0
- package/public/js/ui/parallel.js +176 -0
- package/public/js/ui/permissions.js +168 -0
- package/public/js/ui/right-panel.js +173 -0
- package/public/js/ui/shortcuts.js +143 -0
- package/public/js/ui/sidebar-toggle.js +29 -0
- package/public/js/ui/status-bar.js +172 -0
- package/public/js/ui/tab-sdk.js +623 -0
- package/public/js/ui/theme.js +38 -0
- package/public/manifest.json +13 -0
- package/public/offline.html +190 -0
- package/public/style.css +42 -0
- package/public/sw.js +91 -0
- package/server/agent-loop.js +385 -0
- package/server/dag-executor.js +265 -0
- package/server/orchestrator.js +514 -0
- package/server/paths.js +61 -0
- package/server/plugin-mount.js +56 -0
- package/server/push-sender.js +31 -0
- package/server/routes/agents.js +294 -0
- package/server/routes/bot.js +45 -0
- package/server/routes/exec.js +35 -0
- package/server/routes/files.js +218 -0
- package/server/routes/mcp.js +82 -0
- package/server/routes/messages.js +36 -0
- package/server/routes/notifications.js +37 -0
- package/server/routes/projects.js +207 -0
- package/server/routes/prompts.js +53 -0
- package/server/routes/sessions.js +103 -0
- package/server/routes/stats.js +143 -0
- package/server/routes/telegram.js +71 -0
- package/server/routes/tips.js +135 -0
- package/server/routes/workflows.js +81 -0
- package/server/summarizer.js +55 -0
- package/server/telegram-poller.js +205 -0
- package/server/telegram-sender.js +304 -0
- package/server/ws-handler.js +926 -0
- package/server.js +179 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "review-pr",
|
|
4
|
+
"title": "Review PR",
|
|
5
|
+
"description": "Analyze current changes, identify issues, and suggest improvements",
|
|
6
|
+
"steps": [
|
|
7
|
+
{
|
|
8
|
+
"label": "Analyze changes",
|
|
9
|
+
"prompt": "Run `git diff` to see the current unstaged changes and `git diff --cached` for staged changes. Summarize what files were modified and what the changes do at a high level."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"label": "Identify issues",
|
|
13
|
+
"prompt": "Based on the changes you just analyzed, identify any bugs, security issues, performance problems, or code style violations. Be specific about file names and line numbers."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"label": "Suggest improvements",
|
|
17
|
+
"prompt": "Based on your analysis, provide a prioritized list of concrete improvements. For each suggestion, explain the rationale and show the recommended code change."
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "onboard-repo",
|
|
23
|
+
"title": "Onboard Me to This Repo",
|
|
24
|
+
"description": "Get a comprehensive overview of the repository structure and architecture",
|
|
25
|
+
"steps": [
|
|
26
|
+
{
|
|
27
|
+
"label": "Map structure",
|
|
28
|
+
"prompt": "Explore the repository structure. List the top-level directories and key files. Identify the tech stack, frameworks, and languages used."
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"label": "Explain architecture",
|
|
32
|
+
"prompt": "Based on your exploration, explain the architecture of this project. Cover: entry points, routing, data flow, key abstractions, and how the major components interact."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"label": "Development guide",
|
|
36
|
+
"prompt": "Provide a quick-start development guide: how to install dependencies, run the project locally, run tests, and the typical development workflow. Also note any important conventions or patterns used in the codebase."
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "migration-plan",
|
|
42
|
+
"title": "Generate Migration Plan",
|
|
43
|
+
"description": "Create a detailed plan for migrating or upgrading the codebase",
|
|
44
|
+
"steps": [
|
|
45
|
+
{
|
|
46
|
+
"label": "Audit dependencies",
|
|
47
|
+
"prompt": "Read the package.json (or equivalent dependency file) and identify outdated dependencies, deprecated packages, or version conflicts. List what needs to be updated or replaced."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"label": "Assess impact",
|
|
51
|
+
"prompt": "For each dependency or pattern that needs updating, assess the impact: how many files are affected, what breaking changes exist, and what the risk level is (low/medium/high)."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "Create migration plan",
|
|
55
|
+
"prompt": "Create a step-by-step migration plan ordered by priority and risk. Each step should include: what to change, files affected, estimated effort, and any rollback strategy. Format as a clear checklist."
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "code-health",
|
|
61
|
+
"title": "Code Health Check",
|
|
62
|
+
"description": "Lint, format review, and validate that the codebase is clean and runnable",
|
|
63
|
+
"steps": [
|
|
64
|
+
{
|
|
65
|
+
"label": "Discover project tooling",
|
|
66
|
+
"prompt": "Read the package.json file and inspect the \"scripts\" section. List all available scripts (lint, format, build, test, typecheck, etc.). Also check for config files in the project root: .eslintrc*, .prettierrc*, biome.json, tsconfig.json, .stylelintrc*, etc. Report what tooling is available. If there are lint/format/build/test scripts, we will use those in the next steps. If there are none, we will fall back to manual checks."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"label": "Lint & format check",
|
|
70
|
+
"prompt": "Based on the tooling discovered in step 1: If the project has lint scripts (e.g. `npm run lint`, `npm run eslint`, `npm run format:check`), run them and report the results. If the project has a build or typecheck script, run those too. If NO scripts are available, fall back to manual checks: run `node --check` on all JS files to catch syntax errors, then grep all import/require statements and verify the referenced files exist on disk. Report any broken imports, missing files, or syntax issues as a table: file | issue | severity."
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"label": "Code style & consistency",
|
|
74
|
+
"prompt": "Based on the tooling discovered in step 1: If the project has a formatter (Prettier, Biome, etc.) with a check command, run it. If NOT, manually review the codebase for style consistency: inconsistent quoting (single vs double), inconsistent semicolons, mixed indentation, unused variables or imports, console.log statements that should be removed, commented-out dead code, and inconsistent naming conventions. Focus on source files (not node_modules). Report findings grouped by category with file paths and line numbers."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"label": "Dead code & unused exports",
|
|
78
|
+
"prompt": "Find dead code in the project. Check for: source files that exist but are never imported by any other file, exported functions/variables that are never imported anywhere, CSS classes defined but never used in any JS or HTML file, and HTML elements with IDs that are never referenced in JS. List each finding with the file path and what can be safely removed."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"label": "Server validation",
|
|
82
|
+
"prompt": "Based on the tooling discovered in step 1: If there is a build or typecheck script, check if it covers server code. If NOT, run `node --check` on all server-side JS files to catch syntax errors. Check that all route files are properly imported. Verify that all API endpoints referenced by the client have corresponding server routes. Report any mismatches or issues found."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"label": "Summary & fixes",
|
|
86
|
+
"prompt": "Based on all issues found in previous steps, provide a prioritized summary: 1) Critical issues that would break the app (syntax errors, missing imports, failed build), 2) Important issues (dead code, unused exports, lint errors), 3) Minor style issues. For critical and important issues, provide the exact fix. Ask the user if they want you to auto-fix the issues."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
]
|