clawborrator-cli 0.0.13 → 0.0.15
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/dist-bundled/claw.cjs +6 -2
- package/package.json +1 -1
package/dist-bundled/claw.cjs
CHANGED
|
@@ -7105,7 +7105,9 @@ function renderEvent(ev) {
|
|
|
7105
7105
|
if (ev.kind === "chat") {
|
|
7106
7106
|
if (ev.type === "prompt") {
|
|
7107
7107
|
const text = String(p.text ?? p.prompt ?? "").trim() || JSON.stringify(p).slice(0, 200);
|
|
7108
|
-
|
|
7108
|
+
const source = String(p.source ?? "cli");
|
|
7109
|
+
const label = source === "operator" ? `${BOLD}@${String(p.authorLogin ?? "remote")} \u203A${RESET}` : `${BOLD}(cli) \u203A${RESET}`;
|
|
7110
|
+
console.log(`${DIM}[${ts2}]${RESET} ${label} ${text}`);
|
|
7109
7111
|
return;
|
|
7110
7112
|
}
|
|
7111
7113
|
if (ev.type === "assistant_text") {
|
|
@@ -7274,6 +7276,8 @@ var sessionList = new Command("list").alias("ls").description("list sessions you
|
|
|
7274
7276
|
console.log(" recent hook/chat: claw session events <ref>");
|
|
7275
7277
|
console.log(" operator-to-op chat: claw session messages <ref>");
|
|
7276
7278
|
console.log(" <ref> = UUID, @owner/slug, @slug, or bare slug");
|
|
7279
|
+
console.log(" (PowerShell tip: use the bare-slug form \u2014 `@driver` is parsed as");
|
|
7280
|
+
console.log(" a splatting operator and stripped before reaching the CLI)");
|
|
7277
7281
|
});
|
|
7278
7282
|
var sessionInfo = new Command("info").description("show metadata for a single session").argument("<ref>", "session UUID or @routingName").action(async (ref) => {
|
|
7279
7283
|
const id = await resolveSessionId(ref);
|
|
@@ -7642,7 +7646,7 @@ var webhookCmd = new Command("webhook").description("manage webhook subscription
|
|
|
7642
7646
|
|
|
7643
7647
|
// src/index.ts
|
|
7644
7648
|
var program2 = new Command();
|
|
7645
|
-
program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.
|
|
7649
|
+
program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.15");
|
|
7646
7650
|
program2.addCommand(loginCmd);
|
|
7647
7651
|
program2.addCommand(logoutCmd);
|
|
7648
7652
|
program2.addCommand(whoamiCmd);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawborrator-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "claw — command-line client for clawborrator hub_v1. Manages PATs, channel tokens, sessions, cross-session routing, and webhooks; ships an inline TUI for live multi-operator session attach.",
|
|
6
6
|
"license": "MIT",
|