clawborrator-cli 0.2.1 → 0.2.3
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 +1 -1
- package/dist-bundled/claw.cjs +15 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -175,7 +175,7 @@ reach other peers.
|
|
|
175
175
|
Anyone can also call your agent over the
|
|
176
176
|
[A2A protocol](https://a2a-protocol.org) at
|
|
177
177
|
`/api/a2a/v1/agents/<owner>/<slug>` — see the
|
|
178
|
-
[A2A bridge reference](https://next.clawborrator.com/demos/a2a
|
|
178
|
+
[A2A bridge reference](https://next.clawborrator.com/demos/a2a/#reference).
|
|
179
179
|
|
|
180
180
|
### Webhooks
|
|
181
181
|
|
package/dist-bundled/claw.cjs
CHANGED
|
@@ -68551,6 +68551,20 @@ var sessionInfo = new Command("info").description("show metadata for a single se
|
|
|
68551
68551
|
console.log(`started : ${s.startedAt}`);
|
|
68552
68552
|
console.log(`last seen: ${s.lastSeenAt}`);
|
|
68553
68553
|
console.log(`status : ${s.connected ? "connected" : "offline"}${s.archivedAt ? " \xB7 ARCHIVED" : ""}`);
|
|
68554
|
+
if (s.managedBy?.machineId) {
|
|
68555
|
+
const ver = s.managedBy.daemonVersion ? ` (daemon ${s.managedBy.daemonVersion})` : "";
|
|
68556
|
+
console.log(`managed : ${s.managedBy.machineId}${ver}`);
|
|
68557
|
+
console.log(`autoStart: ${s.autoStart ? "ON" : "OFF"}`);
|
|
68558
|
+
const ae = s.autoEnter === void 0 ? "?" : s.autoEnter ? "ON (auto)" : "OFF (manual)";
|
|
68559
|
+
console.log(`autoEnter: ${ae}`);
|
|
68560
|
+
const flags = s.extraFlags;
|
|
68561
|
+
if (flags === void 0) console.log("flags : ?");
|
|
68562
|
+
else if (flags.length === 0) console.log("flags : (none)");
|
|
68563
|
+
else console.log(`flags : ${flags.join(" ")}`);
|
|
68564
|
+
}
|
|
68565
|
+
if (s.agentHandle) {
|
|
68566
|
+
console.log(`agent : ${s.agentHandle}`);
|
|
68567
|
+
}
|
|
68554
68568
|
});
|
|
68555
68569
|
function buildEventsQs(opts) {
|
|
68556
68570
|
const qs = new URLSearchParams({ limit: opts.limit ?? "200" });
|
|
@@ -68676,7 +68690,7 @@ var sessionDelete = new Command("delete").description("hard-delete a single sess
|
|
|
68676
68690
|
`/api/v1/sessions/${encodeURIComponent(id)}?hard=true`
|
|
68677
68691
|
);
|
|
68678
68692
|
const sweep = r.blobsSwept && r.blobsSwept > 0 ? ` \xB7 swept ${r.blobsSwept} blob${r.blobsSwept === 1 ? "" : "s"} (${r.bytesFreed ?? 0} bytes freed)` : "";
|
|
68679
|
-
console.log(`\u2717 deleted ${r.sessionId} (events / op-messages / shares / files cascaded)${sweep}`);
|
|
68693
|
+
console.log(`\u2717 deleted ${r.sessionId} (events / op-messages / shares / files / permission_requests / reply_chunks / any agent + agent_query_log cascaded)${sweep}`);
|
|
68680
68694
|
});
|
|
68681
68695
|
var sessionPrompt = new Command("prompt").description('send a one-shot prompt to a session\'s live Claude. Fire-and-forget \u2014 to find the eventual reply, run `claw session events <ref> --kind=chat --type=reply` (or `claw route <peer> "..."` for ask-mode that blocks for the answer). Use `--attach <fileId>` (repeatable) to attach files structurally \u2014 equivalent to inlining `fileId=N` tokens but cleaner; the receiving session sees the rewritten ids in its prompt text after forward-clone.').argument("<ref>", "session UUID or @routingName").argument("<text>", "prompt text \u2014 quote multi-word; may be empty if --attach is supplied").option("--attach <fileId>", "fileId to attach (repeatable). Each upload happens via POST /api/v1/sessions/<ref>/files first; this flag references an existing fileId.", (v, prev = []) => {
|
|
68682
68696
|
const n = Number.parseInt(v, 10);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawborrator-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
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",
|