clawborrator-cli 0.2.3 → 0.2.4
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 +2 -2
- package/dist-bundled/claw.cjs +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ claw token mint --name "$(hostname)" --mcp-snippet --out .mcp.json
|
|
|
57
57
|
# `claw session list`.
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
The session token is stored at `~/.clawborrator/
|
|
60
|
+
The session token is stored at `~/.clawborrator/cli_v1.json` (mode
|
|
61
61
|
0600). To talk to a different hub, pass `--hub <url>` once on login;
|
|
62
62
|
the URL persists.
|
|
63
63
|
|
|
@@ -290,7 +290,7 @@ In-TUI commands:
|
|
|
290
290
|
|
|
291
291
|
| Path | Contents |
|
|
292
292
|
|---|---|
|
|
293
|
-
| `~/.clawborrator/
|
|
293
|
+
| `~/.clawborrator/cli_v1.json` | hub URL + session token (mode 0600) |
|
|
294
294
|
| `$CLAWBORRATOR_HUB` | env override for hub URL (one-shot, doesn't persist) |
|
|
295
295
|
|
|
296
296
|
---
|
package/dist-bundled/claw.cjs
CHANGED
|
@@ -64007,11 +64007,11 @@ var import_node_os = require("node:os");
|
|
|
64007
64007
|
var import_node_path = require("node:path");
|
|
64008
64008
|
var import_node_fs = require("node:fs");
|
|
64009
64009
|
var CONFIG_DIR = (0, import_node_path.resolve)((0, import_node_os.homedir)(), ".clawborrator");
|
|
64010
|
-
var CONFIG_PATH = (0, import_node_path.resolve)(CONFIG_DIR, "
|
|
64010
|
+
var CONFIG_PATH = (0, import_node_path.resolve)(CONFIG_DIR, "cli_v1.json");
|
|
64011
64011
|
var DEFAULTS = {
|
|
64012
64012
|
// Default to the public hub. Local-dev users override via either
|
|
64013
64013
|
// CLAWBORRATOR_HUB=http://localhost:8787 or `claw login --hub <url>`,
|
|
64014
|
-
// which persists into ~/.clawborrator/
|
|
64014
|
+
// which persists into ~/.clawborrator/cli_v1.json.
|
|
64015
64015
|
hubUrl: process.env.CLAWBORRATOR_HUB ?? "https://next.clawborrator.com",
|
|
64016
64016
|
sessionToken: null
|
|
64017
64017
|
};
|
|
@@ -64213,7 +64213,7 @@ var loginCmd = new Command("login").description("authenticate against a hub_v1 i
|
|
|
64213
64213
|
saveConfig({ hubUrl, sessionToken: session.token });
|
|
64214
64214
|
console.log(`logged in as @${user.githubLogin}`);
|
|
64215
64215
|
console.log(`hub: ${hubUrl}`);
|
|
64216
|
-
console.log(`session: ${session.token.slice(0, 16)}\u2026 (stored in ~/.clawborrator/
|
|
64216
|
+
console.log(`session: ${session.token.slice(0, 16)}\u2026 (stored in ~/.clawborrator/cli_v1.json)`);
|
|
64217
64217
|
console.log(`expires at: ${session.expiresAt}`);
|
|
64218
64218
|
} catch (e) {
|
|
64219
64219
|
if (e instanceof ApiError && e.status === 503) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawborrator-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
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",
|