clawborrator-cli 0.2.5 → 0.2.6
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 +3 -3
- package/package.json +1 -1
package/dist-bundled/claw.cjs
CHANGED
|
@@ -69332,7 +69332,7 @@ var appsTestOauth = new Command("test-oauth").description("walk the full SPA OAu
|
|
|
69332
69332
|
var appsCmd = new Command("apps").description("manage SPA app tokens (kind=app, `cw_app_\u2026`) \u2014 mint, list, revoke, and end-to-end-test the SPA OAuth+PKCE flow").addCommand(appsMint).addCommand(appsList).addCommand(appsRevoke).addCommand(appsTestOauth);
|
|
69333
69333
|
|
|
69334
69334
|
// src/commands/desktop.ts
|
|
69335
|
-
var desktopList = new Command("list").alias("ls").description("list desktop daemons registered for the current user").action(async () => {
|
|
69335
|
+
var desktopList = new Command("list").alias("ls").description("list desktop daemons registered for the current user. Prints the full machineId so it can be passed verbatim to `claw desktop delete`.").action(async () => {
|
|
69336
69336
|
const data = await api.get("/api/v1/desktops");
|
|
69337
69337
|
if (data.items.length === 0) {
|
|
69338
69338
|
console.log("no registered desktops");
|
|
@@ -69342,7 +69342,7 @@ var desktopList = new Command("list").alias("ls").description("list desktop daem
|
|
|
69342
69342
|
const dot = d.online ? "\u25CF" : "\u25CB";
|
|
69343
69343
|
const host = d.hostname ?? "(unknown host)";
|
|
69344
69344
|
const ver = d.daemonVersion ?? "?";
|
|
69345
|
-
console.log(`${dot} ${d.machineId
|
|
69345
|
+
console.log(`${dot} ${d.machineId} ${host.padEnd(24)} v${ver.padEnd(8)} last-seen ${fmtAgo4(d.lastSeenAt)}`);
|
|
69346
69346
|
}
|
|
69347
69347
|
});
|
|
69348
69348
|
var desktopDelete = new Command("delete").description("hard-delete a desktop daemon registration. Revokes any tokens stamped with this machine_id (today: clawborrator-supervisor app tokens) and unmanages any sessions whose managed_by_machine_id matches (the session row survives as unmanaged; destroy it separately if you want it gone). Closes the live /supervisor WS if connected.").argument("<machineId>", "desktop machine id (from `claw desktop list`)").option("--yes", "skip the confirmation prompt").action(async (machineId, opts) => {
|
|
@@ -69386,7 +69386,7 @@ function fmtAgo4(iso) {
|
|
|
69386
69386
|
|
|
69387
69387
|
// src/index.ts
|
|
69388
69388
|
var program2 = new Command();
|
|
69389
|
-
program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.2.
|
|
69389
|
+
program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.2.6");
|
|
69390
69390
|
program2.addCommand(loginCmd);
|
|
69391
69391
|
program2.addCommand(logoutCmd);
|
|
69392
69392
|
program2.addCommand(whoamiCmd);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawborrator-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "claw — command-line client for clawborrator. Attach to remote Claude Code sessions, send prompts, resolve permission gates, route across sessions, manage public agents and webhooks. Auth via GitHub OAuth + PKCE.",
|
|
6
6
|
"license": "MIT",
|