lazyclaw 6.0.0 → 6.1.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.ko.md +88 -25
- package/README.md +121 -190
- package/channels/handoff.mjs +18 -5
- package/channels/matrix.mjs +23 -5
- package/channels/slack.mjs +83 -50
- package/channels/slack_env.mjs +45 -0
- package/channels/telegram.mjs +49 -6
- package/channels-discord/index.mjs +76 -0
- package/channels-discord/package.json +14 -0
- package/channels-email/index.mjs +109 -0
- package/channels-email/package.json +14 -0
- package/channels-signal/index.mjs +69 -0
- package/channels-signal/package.json +9 -0
- package/channels-voice/index.mjs +81 -0
- package/channels-voice/package.json +9 -0
- package/channels-whatsapp/index.mjs +70 -0
- package/channels-whatsapp/package.json +13 -0
- package/cli.mjs +10 -21
- package/commands/agents.mjs +669 -0
- package/commands/auth_nodes.mjs +323 -0
- package/commands/automation.mjs +582 -0
- package/commands/channels.mjs +254 -0
- package/commands/chat.mjs +1253 -0
- package/commands/config.mjs +315 -0
- package/commands/daemon.mjs +275 -0
- package/commands/gateway.mjs +194 -0
- package/commands/misc.mjs +128 -0
- package/commands/providers.mjs +490 -0
- package/commands/service.mjs +113 -0
- package/commands/sessions.mjs +343 -0
- package/commands/setup.mjs +742 -0
- package/commands/setup_channels.mjs +207 -0
- package/commands/skills.mjs +218 -0
- package/commands/workflow.mjs +661 -0
- package/config_features.mjs +106 -0
- package/daemon/lib/auth.mjs +58 -0
- package/daemon/lib/cost.mjs +30 -0
- package/daemon/lib/inbound_dedup.mjs +108 -0
- package/daemon/lib/learn_queue.mjs +46 -0
- package/daemon/lib/provider.mjs +69 -0
- package/daemon/lib/respond.mjs +83 -0
- package/daemon/route_table.mjs +96 -0
- package/daemon/routes/_deps.mjs +42 -0
- package/daemon/routes/config.mjs +99 -0
- package/daemon/routes/conversation.mjs +435 -0
- package/daemon/routes/meta.mjs +239 -0
- package/daemon/routes/ops.mjs +165 -0
- package/daemon/routes/providers.mjs +211 -0
- package/daemon/routes/rates.mjs +90 -0
- package/daemon/routes/registry.mjs +223 -0
- package/daemon/routes/sessions.mjs +213 -0
- package/daemon/routes/skills.mjs +260 -0
- package/daemon/routes/workflows.mjs +224 -0
- package/dotenv_min.mjs +51 -0
- package/first_run.mjs +24 -0
- package/goals_cron.mjs +37 -0
- package/lib/args.mjs +216 -0
- package/lib/config.mjs +113 -0
- package/lib/gateway_guard.mjs +100 -0
- package/lib/inbound_client.mjs +108 -0
- package/lib/registry_boot.mjs +55 -0
- package/lib/service_install.mjs +207 -0
- package/package.json +15 -3
- package/providers/probe.mjs +28 -0
- package/secure_write.mjs +46 -0
- package/tui/editor.mjs +18 -2
- package/tui/repl.mjs +25 -4
- package/tui/slash_commands.mjs +4 -0
- package/tui/slash_dispatcher.mjs +118 -0
- package/tui/splash_props.mjs +52 -0
- package/web/dashboard.css +6 -12
- package/web/dashboard.html +2 -34
- package/web/dashboard.js +3 -3
package/web/dashboard.html
CHANGED
|
@@ -14,43 +14,11 @@
|
|
|
14
14
|
<meta charset="utf-8">
|
|
15
15
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
16
16
|
<title>LazyClaw</title>
|
|
17
|
-
<link rel="stylesheet" href="
|
|
17
|
+
<link rel="stylesheet" href="dashboard.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<header>
|
|
21
21
|
<div class="logo">
|
|
22
|
-
<svg class="mascot" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" shape-rendering="crispEdges" aria-label="lazyclaw mascot" role="img">
|
|
23
|
-
<!-- antennae / claws -->
|
|
24
|
-
<rect x="3" y="1" width="1" height="1" fill="#a02b1c"/>
|
|
25
|
-
<rect x="12" y="1" width="1" height="1" fill="#a02b1c"/>
|
|
26
|
-
<rect x="3" y="2" width="1" height="1" fill="#a02b1c"/>
|
|
27
|
-
<rect x="12" y="2" width="1" height="1" fill="#a02b1c"/>
|
|
28
|
-
<!-- helmet -->
|
|
29
|
-
<rect x="3" y="3" width="10" height="1" fill="#c33d2a"/>
|
|
30
|
-
<rect x="2" y="4" width="12" height="1" fill="#c33d2a"/>
|
|
31
|
-
<rect x="1" y="5" width="2" height="1" fill="#c33d2a"/>
|
|
32
|
-
<rect x="3" y="5" width="1" height="1" fill="#ff8a6a"/>
|
|
33
|
-
<rect x="4" y="5" width="8" height="1" fill="#c33d2a"/>
|
|
34
|
-
<rect x="12" y="5" width="1" height="1" fill="#ff8a6a"/>
|
|
35
|
-
<rect x="13" y="5" width="2" height="1" fill="#c33d2a"/>
|
|
36
|
-
<rect x="1" y="6" width="14" height="1" fill="#c33d2a"/>
|
|
37
|
-
<rect x="2" y="7" width="12" height="1" fill="#c33d2a"/>
|
|
38
|
-
<!-- star body (Claude asterisk) — top edge below helmet brim -->
|
|
39
|
-
<rect x="3" y="8" width="10" height="1" fill="#d97757"/>
|
|
40
|
-
<!-- face row (idle: sleepy slit eyes) -->
|
|
41
|
-
<rect x="2" y="9" width="3" height="1" fill="#d97757"/>
|
|
42
|
-
<rect x="5" y="9" width="2" height="1" fill="#1a1410"/>
|
|
43
|
-
<rect x="7" y="9" width="2" height="1" fill="#d97757"/>
|
|
44
|
-
<rect x="9" y="9" width="2" height="1" fill="#1a1410"/>
|
|
45
|
-
<rect x="11" y="9" width="3" height="1" fill="#d97757"/>
|
|
46
|
-
<!-- star arms + tip -->
|
|
47
|
-
<rect x="1" y="10" width="14" height="1" fill="#d97757"/>
|
|
48
|
-
<rect x="0" y="11" width="16" height="1" fill="#d97757"/>
|
|
49
|
-
<rect x="1" y="12" width="14" height="1" fill="#d97757"/>
|
|
50
|
-
<rect x="3" y="13" width="10" height="1" fill="#d97757"/>
|
|
51
|
-
<rect x="5" y="14" width="6" height="1" fill="#d97757"/>
|
|
52
|
-
<rect x="7" y="15" width="2" height="1" fill="#d97757"/>
|
|
53
|
-
</svg>
|
|
54
22
|
<span>lazyclaw</span>
|
|
55
23
|
</div>
|
|
56
24
|
<div class="ver" id="version">…</div>
|
|
@@ -276,6 +244,6 @@
|
|
|
276
244
|
</div>
|
|
277
245
|
</div>
|
|
278
246
|
|
|
279
|
-
<script src="
|
|
247
|
+
<script src="dashboard.js"></script>
|
|
280
248
|
</body>
|
|
281
249
|
</html>
|
package/web/dashboard.js
CHANGED
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
? `<span class="pill ok" title="trained by ${escHtml(s.trainedBy || 'trainer')}">trained: ${escHtml(s.trainedBy || 'on')}</span>`
|
|
154
154
|
: '';
|
|
155
155
|
const tagAgent = s.agentName
|
|
156
|
-
? `<span class="pill" style="background:rgba(217,
|
|
156
|
+
? `<span class="pill" style="background:rgba(217,179,90,0.18);color:var(--accent);">@${escHtml(s.agentName)}</span>`
|
|
157
157
|
: '';
|
|
158
158
|
const trajBtn = s.trajectoryId
|
|
159
159
|
? `<button class="btn btn-secondary btn-sm" data-action="trajectory" data-traj="${escHtml(s.trajectoryId)}">Trajectory</button>`
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
const tag = p.requiresApiKey
|
|
392
392
|
? '<span class="pill warn">api key</span>'
|
|
393
393
|
: '<span class="pill ok">no key</span>';
|
|
394
|
-
const customTag = p.custom ? ' <span class="pill" style="background:rgba(217,
|
|
394
|
+
const customTag = p.custom ? ' <span class="pill" style="background:rgba(217,179,90,0.18);color:var(--accent);">custom</span>' : '';
|
|
395
395
|
const builtinCompat = p.builtinOpenAICompat ? ' <span class="pill" style="background:rgba(74,222,128,0.12);color:var(--ok);">openai-compat</span>' : '';
|
|
396
396
|
const models = (p.suggestedModels || []).slice(0, 6).join(' · ') || '<span class="dim">(default)</span>';
|
|
397
397
|
const removeBtn = p.custom
|
|
@@ -1221,7 +1221,7 @@
|
|
|
1221
1221
|
const label = md.session_id || md.skill_name || md.trajectory_id || md.topic || '—';
|
|
1222
1222
|
return `<div class="card">
|
|
1223
1223
|
<div class="row" style="border:0;padding:0;">
|
|
1224
|
-
<span class="pill" style="background:rgba(217,
|
|
1224
|
+
<span class="pill" style="background:rgba(217,179,90,0.18);color:var(--accent);">${escHtml(h.scope)}</span>
|
|
1225
1225
|
<div class="name" style="margin-left:8px;">${escHtml(String(label))}</div>
|
|
1226
1226
|
<div class="dim row-actions">bm25 ${Number(h.bm25 || 0).toFixed(2)}</div>
|
|
1227
1227
|
</div>
|