peerband 0.2.3 → 0.2.5

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/herdr-plugin.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  id = "peerband"
2
2
  name = "PeerBand"
3
- version = "0.2.3"
3
+ version = "0.2.5"
4
4
  min_herdr_version = "0.9.3"
5
5
  description = "Reach your Herdr agents from any MCP client through your PeerBand account"
6
6
  platforms = ["linux", "macos", "windows"]
package/package.json CHANGED
@@ -1,42 +1,16 @@
1
1
  {
2
2
  "name": "peerband",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "PeerBand CLI and Herdr plugin: reach your local coding agents from any MCP client through your PeerBand account",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "homepage": "https://peerband.com",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/kshvidler/peerband-cli.git"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/kshvidler/peerband-cli/issues"
14
- },
15
- "keywords": [
16
- "peerband",
17
- "herdr",
18
- "mcp",
19
- "coding-agents",
20
- "cli"
21
- ],
22
- "bin": {
23
- "peerband": "dist/peerband.mjs"
24
- },
25
- "engines": {
26
- "node": ">=22.13.0"
27
- },
28
- "files": [
29
- "dist/",
30
- "herdr/",
31
- "herdr-plugin.toml",
32
- "protocol/",
33
- "install/",
34
- "skills/",
35
- "README.md",
36
- "LICENSE",
37
- "NOTICE",
38
- "SECURITY.md"
39
- ],
8
+ "repository": { "type": "git", "url": "git+https://github.com/kshvidler/peerband-cli.git" },
9
+ "bugs": { "url": "https://github.com/kshvidler/peerband-cli/issues" },
10
+ "keywords": ["peerband", "herdr", "mcp", "coding-agents", "cli"],
11
+ "bin": { "peerband": "dist/peerband.mjs" },
12
+ "engines": { "node": ">=22.13.0" },
13
+ "files": ["dist/", "herdr/", "herdr-plugin.toml", "protocol/", "install/", "skills/", "README.md", "LICENSE", "NOTICE", "SECURITY.md"],
40
14
  "scripts": {
41
15
  "build": "node scripts/build.mjs",
42
16
  "typecheck": "tsc --noEmit",
@@ -51,7 +51,7 @@ available. A server must check this feature before routing `list_environment` or
51
51
  request deadline are unchanged. Old servers can ignore the header value.
52
52
 
53
53
  Both tools require `principal.role: "owner"`, `environment:control` in the verified
54
- principal's scopes, and the local `enableEnvironmentControl` opt-in. Read-only
54
+ principal's scopes, and local environment control not being turned off (`enableEnvironmentControl` defaults to true). Read-only
55
55
  mode and configured agent/workspace allowlists deny both tools. The server must
56
56
  resolve ownership and require an explicit installation before dispatch. Guest
57
57
  shares never grant environment authority.
@@ -70,3 +70,9 @@ A write returns a durable receipt, queried through `get_request_status`; success
70
70
  receipts include bounded metadata in `result`, with camelCase result IDs. Receipt
71
71
  states and uncertainty rules match message delivery. Neither the relay nor the
72
72
  connector retries a mutation after disconnection or startup reconciliation.
73
+
74
+ Connectors may additionally return an `actions` array from `list_environment`.
75
+ Clients should require `agent.rename` in that list before offering agent-name
76
+ changes. This action takes `{paneId, name, idempotencyKey}` and addresses Herdr
77
+ by the explicit pane ID. Pane metadata includes the agent live `name` when known.
78
+ Older connectors omit `actions` and keep their existing environment controls.
@@ -12,8 +12,9 @@
12
12
  ],
13
13
  "$defs": {
14
14
  "environmentControlArgs": {
15
- "description": "Owner-only, opt-in actions; no native args, shell, implicit targets, close/stop or env overrides. cwd must be an absolute path on the remote machine. See README for supported agent kinds.",
15
+ "description": "Owner-only actions (on unless the machine turns them off); no native args, shell, implicit targets, close/stop or env overrides. cwd must be an absolute path on the remote machine. See README for supported agent kinds.",
16
16
  "oneOf": [
17
+ {"type": "object", "required": ["action", "idempotencyKey", "paneId", "name"], "additionalProperties": false, "properties": {"action": {"const": "agent.rename"}, "idempotencyKey": {"type": "string", "minLength": 16, "maxLength": 256}, "paneId": {"type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[A-Za-z0-9][A-Za-z0-9:_-]{0,255}$"}, "name": {"type": "string", "minLength": 1, "maxLength": 32, "pattern": "^[a-z][a-z0-9_-]{0,31}$"}}},
17
18
  {"type": "object", "required": ["action", "idempotencyKey", "cwd"], "additionalProperties": false, "properties": {"action": {"const": "workspace.create"}, "idempotencyKey": {"type": "string", "minLength": 16, "maxLength": 256}, "cwd": {"type": "string", "minLength": 1, "maxLength": 2048}, "label": {"type": "string", "minLength": 1, "maxLength": 128}}},
18
19
  {"type": "object", "required": ["action", "idempotencyKey", "workspaceId", "cwd"], "additionalProperties": false, "properties": {"action": {"const": "tab.create"}, "idempotencyKey": {"type": "string", "minLength": 16, "maxLength": 256}, "workspaceId": {"type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[A-Za-z0-9][A-Za-z0-9:_-]{0,255}$"}, "cwd": {"type": "string", "minLength": 1, "maxLength": 2048}, "label": {"type": "string", "minLength": 1, "maxLength": 128}}},
19
20
  {"type": "object", "required": ["action", "idempotencyKey", "paneId", "cwd", "direction"], "additionalProperties": false, "properties": {"action": {"const": "pane.split"}, "idempotencyKey": {"type": "string", "minLength": 16, "maxLength": 256}, "paneId": {"type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[A-Za-z0-9][A-Za-z0-9:_-]{0,255}$"}, "cwd": {"type": "string", "minLength": 1, "maxLength": 2048}, "direction": {"enum": ["right", "down", "left", "up"]}}},
@@ -98,9 +98,10 @@ peerband notify "Migration finished, 3 tests failing"
98
98
 
99
99
  Use `list_environment` and `control_environment` for owner-requested Herdr layout
100
100
  changes and agent startup. These need explicit `installation_id`, separate
101
- `environment:control` OAuth consent, and `enableEnvironmentControl: true` in the
102
- machine's connector config. Message shares never grant this authority. Ask the
103
- owner to enable it when disabled; do not edit their config on a guest's request.
101
+ `environment:control` OAuth consent. They are on by default; the owner can turn
102
+ them off with `enableEnvironmentControl: false` in the machine's connector config
103
+ (or read-only mode). Message shares never grant this authority. Ask the owner to
104
+ enable it when disabled; do not edit their config on a guest's request.
104
105
 
105
106
  List machines, then list that machine's environment for exact IDs. Use
106
107
  `tab.create` with `workspace_id` and an absolute remote `cwd`, check the receipt