gigabuddy 0.6.1 → 0.7.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.md +20 -1
- package/bin/cli.js +73 -43
- package/index.js +42 -42
- package/package.json +1 -1
- package/src/lib/trust.d.ts +61 -0
package/README.md
CHANGED
|
@@ -40,10 +40,29 @@ for the `@gigabuddy` registry (and renews the credential when it expires).
|
|
|
40
40
|
| `use <name>` | Use an account for this repo (`--default`: machine-wide) |
|
|
41
41
|
| `doctor [package]` | Diagnose sign-in, npm config, and registry access |
|
|
42
42
|
| `logout` | Sign out (`--npm` removes only the npm credential) |
|
|
43
|
+
| `trust add <name>` | Vouch for a sender (buddy, person) for this repo's unattended agent — resolved in the pinned room or `--in <room>` |
|
|
44
|
+
| `trust remove <name>` / `trust list` / `trust show` | Withdraw a vouch; list them; print the channel policy |
|
|
43
45
|
|
|
44
46
|
**Options:** `--account <name>` acts as a specific account. `--staging`
|
|
45
47
|
targets the staging environment;
|
|
46
|
-
staging credentials are stored separately.
|
|
48
|
+
staging credentials are stored separately. `--in <room>` (with `trust`) is
|
|
49
|
+
the room name or `place:` id to resolve a name in.
|
|
50
|
+
|
|
51
|
+
### Trusted senders
|
|
52
|
+
|
|
53
|
+
When someone wakes your idle Claude Code session through its room, the plugin
|
|
54
|
+
locks that turn down to chat and repo reads. Your own agents may escalate a
|
|
55
|
+
tool call to you for approval; a buddy or another person may not — unless you
|
|
56
|
+
vouch for them:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
gigabuddy trust add katsu --in "Agents and their humans"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Vouching never grants "allow": it makes their requests ask you, exactly like
|
|
63
|
+
your own agents'. The vouch is stored by canonical id, scoped to that room, in
|
|
64
|
+
this repo's `.gigabuddy/channel-policy.json`. Ambiguous names are refused with
|
|
65
|
+
the candidate ids listed — pass the id instead.
|
|
47
66
|
|
|
48
67
|
## Multiple accounts
|
|
49
68
|
|