barebox 0.16.0 → 0.16.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.
- package/CHANGELOG.md +7 -0
- package/package.json +2 -2
- package/src/policy.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
6
6
|
|
|
7
|
+
## [0.16.1] - 2026-12-01
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- bareguard pin 0.38.0 to 0.40.0. bareguard now closes its defaults: an unset `net.allowDomains` asks or denies, and `denyPrivateIps` is on by default (which also denies `localhost.`, `*.localhost` and a trailing dot). barebox already decides hosts itself (the `hosts` lists, then the wall's check of every resolved IP after DNS, which is stricter), so each agent's gate sets `net { allowDomains: ['*'], denyPrivateIps: false }` and nothing changes for you.
|
|
12
|
+
- `denyPrivateIps` stays off in the gate because bareguard's check would otherwise refuse a `localLlm` host such as `localhost:11434` before the wall's local-model exception applies.
|
|
13
|
+
|
|
7
14
|
## [0.16.0] - 2026-12-01
|
|
8
15
|
|
|
9
16
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "barebox",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "Lightweight local sandbox for AI agents: every write undoable, nothing leaves the machine without passing the doorman.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"typescript": "5"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"bareguard": "0.
|
|
53
|
+
"bareguard": "0.40.0",
|
|
54
54
|
"rwxmap": "0.11.1"
|
|
55
55
|
}
|
|
56
56
|
}
|
package/src/policy.js
CHANGED
|
@@ -192,6 +192,8 @@ export async function gateFor({ agent, mode, auditPath, humanChannel, tools = TO
|
|
|
192
192
|
// default word patterns scan the URL and method and would fire before rwx.
|
|
193
193
|
content: { askPatterns: [], denyPatterns: [] },
|
|
194
194
|
flags: FLAGS,
|
|
195
|
+
// barebox decides hosts itself (hosts lists, the wall); bareguard's net check stays open.
|
|
196
|
+
net: { allowDomains: ['*'], denyPrivateIps: false },
|
|
195
197
|
humanChannel,
|
|
196
198
|
});
|
|
197
199
|
await gate.init();
|