Commit graph

8 commits

Author SHA1 Message Date
Luke Parker
34490b7c7d fix(browser): let a configured browser deny win over the desktop's attach grant
Attaching a desktop browser writes browser:* and skill:browser allows into the
session's permissions. Session rules are evaluated after agent rules, so the
grant overrode a browser deny from config, an agent definition (for example a
"*" deny) or the session itself. Browser tools never called the permission
check either, so tool.use policies did not apply.

The plugin now records each agent's rules before it appends its own default
deny. A browser call is refused when those rules, plus the session's rules
without the grant, deny the browser, decided the way core's tool filter decides.
The call then runs the permission check with the operation as its resource, so
permission.evaluate hooks such as tool.use policies apply. Sessions without a
deny behave as before: the grant allows the check, so nothing prompts.

Refs #54044, #53294, #56869
2026-11-13 08:16:25 +10:00
Luke Parker
8b29d45ec1
fix(browser): drive tunnel, proxy and network hop lifecycles through state machines (#61996) 2026-11-05 01:00:23 -06:00
Luke Parker
dd39237ddf
fix(plugin-browser): drive browser attachments through one state machine (#61985) 2026-11-05 00:56:59 -06:00
Aiden Cline
69269e4ebe
feat(core): support in-memory skill:// URIs (#60921) 2026-11-01 01:07:13 -05:00
Kit Langton
1aae67e853
chore: upgrade Effect to rc.118 (#50231) 2026-10-09 01:36:06 -07:00
Luke Parker
01efd22b2a
feat(desktop): comment on page elements from the in-app browser (#52217) 2026-09-30 16:52:42 +10:00
Luke Parker
60ed84ecd1
feat(app): open agent-referenced files as rich artifact tabs (#49882) 2026-09-21 15:20:15 +10:00
Luke Parker
3ebc4b01b9
feat(browser): add a public-API browser plugin (#46531) 2026-09-07 17:16:01 +10:00