@hanskristoffer/agentpool 0.20.0 → 0.21.1

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.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -31,7 +31,7 @@ Without npm:
31
31
  curl -fsSL https://raw.githubusercontent.com/HansKristoffer/agentgate/main/install.sh | sh
32
32
  ```
33
33
 
34
- Update a machine installed this way with `agentgate update`: it installs the latest release and restarts the service. `agentgate update <node>` does the same on a paired machine, and the app lists machines on an older release on the overview with an **Update** button under Machines. With npm, run `npm install -g @hanskristoffer/agentpool@latest` and `agentgate service restart`; the Mac app updates itself and its daemon.
34
+ Update a machine installed this way with `agentgate update`: it installs the latest release and restarts the service, and also updates a global npm or bun install of agentgate that your PATH finds first. The CLI warns when it is not the release the daemon runs. `agentgate update <node>` does the same on a paired machine, and the app lists machines on an older release on the overview with an **Update** button under Machines. With npm, run `npm install -g @hanskristoffer/agentpool@latest` and `agentgate service restart`; the Mac app updates itself and its daemon.
35
35
 
36
36
  Or from source: `bun install && bun run build` (binaries land in `dist/`), or run `bun run cli -- …` directly.
37
37
 
@@ -188,12 +188,15 @@ Gitignored files such as `.env.local` or `apps/expo-app/.env` follow a repositor
188
188
  ```sh
189
189
  agentgate project files add .env.local apps/expo-app/.env # save them for every machine
190
190
  agentgate project files ls
191
+ agentgate project files cat .env.local # print the saved contents
192
+ agentgate project files set .env.local < new.env # replace them on every machine
193
+ agentgate project files set .env.local --if-sha <sha256> < new.env # unless saved again since (cat | shasum -a 256)
191
194
  agentgate project files rm .env.local
192
195
  ```
193
196
 
194
- In the app, choose **Env files** in a repository's menu on the Projects page to see its files, add one from a checkout on that machine, or stop syncing one; a repository's row lists its files and says when they are not syncing. Run `add` again to save a newer version; the newest save of each file wins. A checkout agentgate creates, through a handoff or a clone, gets the files: buncargo's `files pull` where the repository uses buncargo, otherwise each file that is missing, never replacing one that is there. A handoff also carries the thread's own changes to those files. Files buncargo marks as machine-only stay on their machine.
197
+ In the app, choose **Env files** in a repository's menu on the Projects page to see its files, add one from a checkout on that machine, edit one's contents, or stop syncing one; a repository's row lists its files and says when they are not syncing. Run `add` again to save a newer version; the newest save of each file wins. An edit in the app or with `set` also updates that machine's checkouts, and every worktree of them, that still hold the previous version; a checkout with its own changes to the file keeps them. A checkout agentgate creates, through a handoff or a clone, gets the files: buncargo's `files pull` where the repository uses buncargo, otherwise each file that is missing, never replacing one that is there. A handoff also carries the thread's own changes to those files. Files buncargo marks as machine-only stay on their machine.
195
198
 
196
- Only github.com repositories sync, and all of a repository's files together can be about 700 KiB. Every machine must run this agentgate release first. The files sync like MCP secrets: end-to-end encrypted through the relay, and stored unencrypted in each machine's `agentgate.db`. `agentgate export --no-secrets` leaves them out.
199
+ Only github.com repositories sync, and all of a repository's files together can be about 700 KiB. Every machine must run agentgate 0.20.0 or later, because older versions drop the files when they save a project: until then none are saved, and the app and `project files ls` name the machine to update. The files sync like MCP secrets: end-to-end encrypted through the relay, and stored unencrypted in each machine's `agentgate.db`. `agentgate export --no-secrets` leaves them out.
197
200
 
198
201
  ## Your MCP servers and skills in Grok
199
202
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanskristoffer/agentpool",
3
- "version": "0.20.0",
3
+ "version": "0.21.1",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,9 +22,9 @@
22
22
  "agentgate": "bin/agentpool.js"
23
23
  },
24
24
  "optionalDependencies": {
25
- "agentpool-darwin-arm64": "0.20.0",
26
- "agentpool-darwin-x64": "0.20.0",
27
- "agentpool-linux-x64": "0.20.0",
28
- "agentpool-linux-arm64": "0.20.0"
25
+ "agentpool-darwin-arm64": "0.21.1",
26
+ "agentpool-darwin-x64": "0.21.1",
27
+ "agentpool-linux-x64": "0.21.1",
28
+ "agentpool-linux-arm64": "0.21.1"
29
29
  }
30
30
  }