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.
Files changed (157) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +233 -0
  3. package/cli.js +2 -0
  4. package/config/agent-chains.json +16 -0
  5. package/config/agent-dags.json +16 -0
  6. package/config/agents.json +46 -0
  7. package/config/bot-prompt.json +3 -0
  8. package/config/folders.json +66 -0
  9. package/config/prompts.json +92 -0
  10. package/config/repos.json +86 -0
  11. package/config/telegram-config.json +17 -0
  12. package/config/workflows.json +90 -0
  13. package/db.js +1198 -0
  14. package/package.json +55 -0
  15. package/plugins/claude-editor/client.css +171 -0
  16. package/plugins/claude-editor/client.js +183 -0
  17. package/plugins/event-stream/client.css +207 -0
  18. package/plugins/event-stream/client.js +271 -0
  19. package/plugins/linear/client.css +345 -0
  20. package/plugins/linear/client.js +380 -0
  21. package/plugins/linear/config.json +5 -0
  22. package/plugins/linear/server.js +312 -0
  23. package/plugins/repos/client.css +549 -0
  24. package/plugins/repos/client.js +663 -0
  25. package/plugins/repos/server.js +232 -0
  26. package/plugins/sudoku/client.css +196 -0
  27. package/plugins/sudoku/client.js +329 -0
  28. package/plugins/tasks/client.css +414 -0
  29. package/plugins/tasks/client.js +394 -0
  30. package/plugins/tasks/server.js +116 -0
  31. package/plugins/tic-tac-toe/client.css +167 -0
  32. package/plugins/tic-tac-toe/client.js +241 -0
  33. package/public/css/core/components.css +232 -0
  34. package/public/css/core/layout.css +330 -0
  35. package/public/css/core/print.css +18 -0
  36. package/public/css/core/reset.css +36 -0
  37. package/public/css/core/responsive.css +378 -0
  38. package/public/css/core/theme.css +116 -0
  39. package/public/css/core/variables.css +93 -0
  40. package/public/css/features/agent-monitor.css +297 -0
  41. package/public/css/features/agent-sidebar.css +525 -0
  42. package/public/css/features/agents.css +996 -0
  43. package/public/css/features/analytics.css +181 -0
  44. package/public/css/features/background-sessions.css +321 -0
  45. package/public/css/features/cost-dashboard.css +168 -0
  46. package/public/css/features/home.css +313 -0
  47. package/public/css/features/retro-terminal.css +88 -0
  48. package/public/css/features/telegram.css +127 -0
  49. package/public/css/features/tour.css +148 -0
  50. package/public/css/features/voice-input.css +60 -0
  51. package/public/css/features/welcome.css +241 -0
  52. package/public/css/panels/assistant-bot.css +442 -0
  53. package/public/css/panels/dev-docs.css +292 -0
  54. package/public/css/panels/file-explorer.css +322 -0
  55. package/public/css/panels/git-panel.css +221 -0
  56. package/public/css/panels/mcp-manager.css +199 -0
  57. package/public/css/panels/tips-feed.css +353 -0
  58. package/public/css/ui/commands.css +273 -0
  59. package/public/css/ui/context-gauge.css +76 -0
  60. package/public/css/ui/file-picker.css +69 -0
  61. package/public/css/ui/image-attachments.css +106 -0
  62. package/public/css/ui/messages.css +884 -0
  63. package/public/css/ui/modals.css +122 -0
  64. package/public/css/ui/parallel.css +217 -0
  65. package/public/css/ui/permissions.css +110 -0
  66. package/public/css/ui/right-panel.css +481 -0
  67. package/public/css/ui/sessions.css +689 -0
  68. package/public/css/ui/status-bar.css +425 -0
  69. package/public/css/ui/toolbox.css +206 -0
  70. package/public/data/tips.json +218 -0
  71. package/public/icons/favicon.png +0 -0
  72. package/public/icons/icon-192.png +0 -0
  73. package/public/icons/icon-512.png +0 -0
  74. package/public/icons/whaly.png +0 -0
  75. package/public/index.html +1140 -0
  76. package/public/js/core/api.js +591 -0
  77. package/public/js/core/constants.js +3 -0
  78. package/public/js/core/dom.js +270 -0
  79. package/public/js/core/events.js +10 -0
  80. package/public/js/core/plugin-loader.js +153 -0
  81. package/public/js/core/store.js +39 -0
  82. package/public/js/core/utils.js +25 -0
  83. package/public/js/core/ws.js +64 -0
  84. package/public/js/features/agent-monitor.js +222 -0
  85. package/public/js/features/agents.js +1209 -0
  86. package/public/js/features/analytics.js +397 -0
  87. package/public/js/features/attachments.js +251 -0
  88. package/public/js/features/background-sessions.js +475 -0
  89. package/public/js/features/chat.js +589 -0
  90. package/public/js/features/cost-dashboard.js +152 -0
  91. package/public/js/features/dag-editor.js +399 -0
  92. package/public/js/features/easter-egg.js +46 -0
  93. package/public/js/features/home.js +270 -0
  94. package/public/js/features/projects.js +372 -0
  95. package/public/js/features/prompts.js +228 -0
  96. package/public/js/features/sessions.js +332 -0
  97. package/public/js/features/telegram.js +131 -0
  98. package/public/js/features/tour.js +210 -0
  99. package/public/js/features/voice-input.js +185 -0
  100. package/public/js/features/welcome.js +43 -0
  101. package/public/js/features/workflows.js +277 -0
  102. package/public/js/main.js +51 -0
  103. package/public/js/panels/assistant-bot.js +445 -0
  104. package/public/js/panels/dev-docs.js +380 -0
  105. package/public/js/panels/file-explorer.js +486 -0
  106. package/public/js/panels/git-panel.js +285 -0
  107. package/public/js/panels/mcp-manager.js +311 -0
  108. package/public/js/panels/tips-feed.js +303 -0
  109. package/public/js/ui/commands.js +114 -0
  110. package/public/js/ui/context-gauge.js +100 -0
  111. package/public/js/ui/diff.js +124 -0
  112. package/public/js/ui/disabled-tools.js +36 -0
  113. package/public/js/ui/export.js +74 -0
  114. package/public/js/ui/formatting.js +206 -0
  115. package/public/js/ui/header-dropdowns.js +72 -0
  116. package/public/js/ui/input-meta.js +71 -0
  117. package/public/js/ui/max-turns.js +21 -0
  118. package/public/js/ui/messages.js +387 -0
  119. package/public/js/ui/model-selector.js +20 -0
  120. package/public/js/ui/notifications.js +232 -0
  121. package/public/js/ui/parallel.js +176 -0
  122. package/public/js/ui/permissions.js +168 -0
  123. package/public/js/ui/right-panel.js +173 -0
  124. package/public/js/ui/shortcuts.js +143 -0
  125. package/public/js/ui/sidebar-toggle.js +29 -0
  126. package/public/js/ui/status-bar.js +172 -0
  127. package/public/js/ui/tab-sdk.js +623 -0
  128. package/public/js/ui/theme.js +38 -0
  129. package/public/manifest.json +13 -0
  130. package/public/offline.html +190 -0
  131. package/public/style.css +42 -0
  132. package/public/sw.js +91 -0
  133. package/server/agent-loop.js +385 -0
  134. package/server/dag-executor.js +265 -0
  135. package/server/orchestrator.js +514 -0
  136. package/server/paths.js +61 -0
  137. package/server/plugin-mount.js +56 -0
  138. package/server/push-sender.js +31 -0
  139. package/server/routes/agents.js +294 -0
  140. package/server/routes/bot.js +45 -0
  141. package/server/routes/exec.js +35 -0
  142. package/server/routes/files.js +218 -0
  143. package/server/routes/mcp.js +82 -0
  144. package/server/routes/messages.js +36 -0
  145. package/server/routes/notifications.js +37 -0
  146. package/server/routes/projects.js +207 -0
  147. package/server/routes/prompts.js +53 -0
  148. package/server/routes/sessions.js +103 -0
  149. package/server/routes/stats.js +143 -0
  150. package/server/routes/telegram.js +71 -0
  151. package/server/routes/tips.js +135 -0
  152. package/server/routes/workflows.js +81 -0
  153. package/server/summarizer.js +55 -0
  154. package/server/telegram-poller.js +205 -0
  155. package/server/telegram-sender.js +304 -0
  156. package/server/ws-handler.js +926 -0
  157. package/server.js +179 -0
@@ -0,0 +1,60 @@
1
+ /* Voice Input — Speech-to-Text */
2
+
3
+ /* Hide mic button when Speech API is unavailable */
4
+ body.no-speech-api #mic-btn {
5
+ display: none !important;
6
+ }
7
+
8
+ /* Recording state */
9
+ #mic-btn.recording {
10
+ color: var(--error);
11
+ border-color: var(--error);
12
+ background: color-mix(in srgb, var(--error) 12%, transparent);
13
+ animation: micPulse 1.5s ease-in-out infinite;
14
+ }
15
+
16
+ @keyframes micPulse {
17
+ 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--error) 30%, transparent); }
18
+ 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--error) 0%, transparent); }
19
+ }
20
+
21
+ /* Recording indicator bar above input */
22
+ .voice-recording-indicator {
23
+ display: flex;
24
+ align-items: center;
25
+ gap: 8px;
26
+ padding: 6px 14px;
27
+ font-size: 12px;
28
+ color: var(--text-secondary);
29
+ background: var(--bg-secondary);
30
+ border: 1px solid var(--border);
31
+ border-bottom: none;
32
+ border-radius: 8px 8px 0 0;
33
+ margin: 0 0 -1px 0;
34
+ }
35
+
36
+ .voice-recording-indicator.hidden {
37
+ display: none;
38
+ }
39
+
40
+ .voice-recording-dot {
41
+ width: 8px;
42
+ height: 8px;
43
+ border-radius: 50%;
44
+ background: var(--error);
45
+ animation: voiceDotPulse 1s ease-in-out infinite;
46
+ }
47
+
48
+ @keyframes voiceDotPulse {
49
+ 0%, 100% { opacity: 1; }
50
+ 50% { opacity: 0.3; }
51
+ }
52
+
53
+ /* Mobile: keep mic button visible even when toolbox-toggles are hidden */
54
+ @media (max-width: 640px) {
55
+ #mic-btn {
56
+ display: inline-flex !important;
57
+ min-width: 44px;
58
+ min-height: 44px;
59
+ }
60
+ }
@@ -0,0 +1,241 @@
1
+ /* ── Welcome Overlay ──────────────────────────────────── */
2
+ .welcome-overlay {
3
+ position: fixed;
4
+ inset: 0;
5
+ z-index: 9999;
6
+ background: var(--bg);
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ opacity: 1;
11
+ transition: opacity 0.5s var(--ease-out-expo);
12
+ }
13
+
14
+ .welcome-overlay.hiding {
15
+ opacity: 0;
16
+ pointer-events: none;
17
+ }
18
+
19
+ .welcome-overlay.hidden {
20
+ display: none;
21
+ }
22
+
23
+ .welcome-container {
24
+ max-width: 640px;
25
+ width: 100%;
26
+ padding: 0 32px;
27
+ text-align: center;
28
+ animation: welcomeFadeIn 0.8s var(--ease-out-expo) both;
29
+ }
30
+
31
+ /* ── Mascot ───────────────────────────────────────────── */
32
+ .welcome-mascot {
33
+ margin-bottom: 28px;
34
+ }
35
+
36
+ .welcome-whaly {
37
+ width: 140px;
38
+ height: auto;
39
+ image-rendering: pixelated;
40
+ filter: drop-shadow(0 4px 20px var(--accent-glow));
41
+ animation: welcomeFloat 3s ease-in-out infinite;
42
+ cursor: pointer;
43
+ transition: transform 0.3s var(--ease-spring);
44
+ }
45
+
46
+ .welcome-whaly:hover {
47
+ transform: scale(1.1) rotate(-5deg);
48
+ }
49
+
50
+ @keyframes welcomeFloat {
51
+ 0%, 100% { transform: translateY(0); }
52
+ 50% { transform: translateY(-10px); }
53
+ }
54
+
55
+ .welcome-title {
56
+ font-family: var(--font-display);
57
+ font-size: 36px;
58
+ font-weight: 700;
59
+ color: var(--text);
60
+ margin: 0 0 8px;
61
+ letter-spacing: -0.02em;
62
+ }
63
+
64
+ .welcome-title span {
65
+ color: var(--accent);
66
+ }
67
+
68
+ .welcome-version {
69
+ font-family: var(--font-mono);
70
+ font-size: 11px;
71
+ color: var(--text-dim);
72
+ margin-bottom: 28px;
73
+ letter-spacing: 0.05em;
74
+ }
75
+
76
+ .welcome-description {
77
+ font-family: var(--font-sans);
78
+ font-size: 15px;
79
+ line-height: 1.7;
80
+ color: var(--text-secondary);
81
+ margin-bottom: 40px;
82
+ max-width: 480px;
83
+ margin-left: auto;
84
+ margin-right: auto;
85
+ }
86
+
87
+ /* ── Feature Highlights ──────────────────────────────── */
88
+ .welcome-features {
89
+ display: grid;
90
+ grid-template-columns: repeat(3, 1fr);
91
+ gap: 12px;
92
+ margin-bottom: 40px;
93
+ }
94
+
95
+ .welcome-feature {
96
+ background: var(--bg-secondary);
97
+ border: 1px solid var(--border-subtle);
98
+ border-radius: var(--radius-lg);
99
+ padding: 20px 14px 16px;
100
+ transition: all 0.25s var(--ease-smooth);
101
+ }
102
+
103
+ .welcome-feature:hover {
104
+ border-color: var(--border);
105
+ transform: translateY(-2px);
106
+ box-shadow: var(--shadow-sm);
107
+ }
108
+
109
+ .welcome-feature-icon {
110
+ width: 36px;
111
+ height: 36px;
112
+ border-radius: var(--radius-md);
113
+ display: inline-flex;
114
+ align-items: center;
115
+ justify-content: center;
116
+ margin-bottom: 10px;
117
+ }
118
+
119
+ .welcome-feature:nth-child(1) .welcome-feature-icon {
120
+ background: var(--accent-dim);
121
+ color: var(--accent);
122
+ }
123
+
124
+ .welcome-feature:nth-child(2) .welcome-feature-icon {
125
+ background: var(--user-dim);
126
+ color: var(--user);
127
+ }
128
+
129
+ .welcome-feature:nth-child(3) .welcome-feature-icon {
130
+ background: var(--purple-dim);
131
+ color: var(--purple);
132
+ }
133
+
134
+ .welcome-feature-title {
135
+ font-family: var(--font-display);
136
+ font-size: 12px;
137
+ font-weight: 600;
138
+ color: var(--text);
139
+ margin-bottom: 4px;
140
+ letter-spacing: 0.02em;
141
+ }
142
+
143
+ .welcome-feature-desc {
144
+ font-family: var(--font-mono);
145
+ font-size: 10px;
146
+ color: var(--text-dim);
147
+ line-height: 1.5;
148
+ }
149
+
150
+ /* ── Actions ──────────────────────────────────────────── */
151
+ .welcome-actions {
152
+ display: flex;
153
+ gap: 12px;
154
+ justify-content: center;
155
+ align-items: center;
156
+ }
157
+
158
+ /* welcome-btn-primary and welcome-btn-secondary base styles in components.css */
159
+ .welcome-btn-primary,
160
+ .welcome-btn-secondary {
161
+ font-size: 13px;
162
+ letter-spacing: 0.04em;
163
+ padding: 10px 28px;
164
+ }
165
+
166
+ .welcome-btn-primary {
167
+ box-shadow: 0 0 16px var(--accent-glow);
168
+ }
169
+
170
+ /* ── Keyboard hint ────────────────────────────────────── */
171
+ .welcome-hint {
172
+ margin-top: 24px;
173
+ font-family: var(--font-mono);
174
+ font-size: 10px;
175
+ color: var(--text-dim);
176
+ }
177
+
178
+ .welcome-hint kbd {
179
+ display: inline-block;
180
+ background: var(--bg-tertiary);
181
+ border: 1px solid var(--border);
182
+ border-radius: 3px;
183
+ padding: 1px 6px;
184
+ font-family: var(--font-mono);
185
+ font-size: 10px;
186
+ color: var(--text-secondary);
187
+ }
188
+
189
+ /* ── Animations ───────────────────────────────────────── */
190
+ @keyframes welcomeFadeIn {
191
+ from {
192
+ opacity: 0;
193
+ transform: translateY(16px);
194
+ }
195
+ to {
196
+ opacity: 1;
197
+ transform: translateY(0);
198
+ }
199
+ }
200
+
201
+ .welcome-feature:nth-child(1) { animation: welcomeFadeIn 0.5s var(--ease-out-expo) 0.15s both; }
202
+ .welcome-feature:nth-child(2) { animation: welcomeFadeIn 0.5s var(--ease-out-expo) 0.25s both; }
203
+ .welcome-feature:nth-child(3) { animation: welcomeFadeIn 0.5s var(--ease-out-expo) 0.35s both; }
204
+
205
+ .welcome-actions {
206
+ animation: welcomeFadeIn 0.5s var(--ease-out-expo) 0.45s both;
207
+ }
208
+
209
+ /* ── Responsive ───────────────────────────────────────── */
210
+ @media (max-width: 600px) {
211
+ .welcome-features {
212
+ grid-template-columns: 1fr;
213
+ gap: 10px;
214
+ }
215
+
216
+ .welcome-feature {
217
+ display: flex;
218
+ align-items: center;
219
+ gap: 12px;
220
+ padding: 14px 16px;
221
+ text-align: left;
222
+ }
223
+
224
+ .welcome-feature-icon {
225
+ margin-bottom: 0;
226
+ flex-shrink: 0;
227
+ }
228
+
229
+ .welcome-title {
230
+ font-size: 28px;
231
+ }
232
+
233
+ .welcome-actions {
234
+ flex-direction: column;
235
+ }
236
+
237
+ .welcome-btn-primary,
238
+ .welcome-btn-secondary {
239
+ width: 100%;
240
+ }
241
+ }