claude-code-hub 0.41.0 → 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/README.md +6 -0
- package/lib/actions.js +39 -0
- package/lib/apps.js +136 -9
- package/lib/contain.js +78 -0
- package/lib/cookies.js +13 -0
- package/lib/install.js +89 -0
- package/lib/kill-child.js +32 -0
- package/lib/net-guard.js +6 -1
- package/lib/ping.js +23 -0
- package/lib/themes.js +134 -0
- package/lib/themes.json +548 -0
- package/package.json +12 -8
- package/packages/claude-hub-sdk/src/client.js +371 -0
- package/packages/claude-hub-sdk/src/server.js +30 -0
- package/packages/claude-hub-sdk/src/stub.js +49 -0
- package/plugin/.claude-plugin/marketplace.json +14 -0
- package/plugin/plugins/claude-code-hub/.claude-plugin/plugin.json +8 -0
- package/plugin/plugins/claude-code-hub/skills/hub-builder/SKILL.md +30 -0
- package/plugin/plugins/claude-code-hub/skills/hub-builder/references/extensibility.md +93 -0
- package/plugin/plugins/claude-code-hub/skills/hub-builder/references/themes.md +57 -0
- package/public/app.js +386 -145
- package/public/index.html +23 -2
- package/public/locked.html +1 -1
- package/server.js +340 -118
package/public/index.html
CHANGED
|
@@ -275,7 +275,22 @@
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
/* Mirrors memory's picker: the remove control is hidden until the row is hovered or selected. */
|
|
278
|
-
.palette-row .palette-
|
|
278
|
+
.palette-row .palette-icon {
|
|
279
|
+
display: flex;
|
|
280
|
+
align-self: center;
|
|
281
|
+
justify-content: center;
|
|
282
|
+
width: 16px;
|
|
283
|
+
color: var(--text-dim);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.palette-row .palette-icon svg { width: 16px; height: 16px; }
|
|
287
|
+
|
|
288
|
+
.palette-row .palette-icon.letter { font-weight: 700; }
|
|
289
|
+
|
|
290
|
+
.palette-row.selected .palette-icon { color: var(--accent); }
|
|
291
|
+
|
|
292
|
+
.palette-row .palette-remove,
|
|
293
|
+
.palette-row .palette-restart {
|
|
279
294
|
margin-left: auto;
|
|
280
295
|
padding: 0 6px;
|
|
281
296
|
border: none;
|
|
@@ -289,10 +304,16 @@
|
|
|
289
304
|
}
|
|
290
305
|
|
|
291
306
|
.palette-row:hover .palette-remove,
|
|
292
|
-
.palette-row.selected .palette-remove
|
|
307
|
+
.palette-row.selected .palette-remove,
|
|
308
|
+
.palette-row:hover .palette-restart,
|
|
309
|
+
.palette-row.selected .palette-restart { opacity: 1; }
|
|
293
310
|
|
|
294
311
|
.palette-row .palette-remove:hover { color: #e5484d; }
|
|
295
312
|
|
|
313
|
+
.palette-row .age + .palette-restart { margin-left: 0; }
|
|
314
|
+
|
|
315
|
+
.palette-row .palette-restart:hover { color: var(--accent); }
|
|
316
|
+
|
|
296
317
|
.palette-hint {
|
|
297
318
|
padding: 8px 14px;
|
|
298
319
|
border-top: 1px solid var(--border);
|
package/public/locked.html
CHANGED
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
</svg>
|
|
145
145
|
<div class="card">
|
|
146
146
|
<h1>Unlock Claude Code Hub</h1>
|
|
147
|
-
<p>Open the link the hub prints when it starts, or paste the token from <code>~/.claude-hub
|
|
147
|
+
<p>Open the link the hub prints when it starts, or paste the token from the <code>token</code> file in the hub folder, <code>~/.claude-hub</code> by default. This browser remembers it.</p>
|
|
148
148
|
<form id="unlock">
|
|
149
149
|
<input id="token" type="password" autocomplete="off" spellcheck="false" placeholder="Access token" aria-label="Access token" required autofocus>
|
|
150
150
|
<button type="submit">Unlock</button>
|