diff options
| author | t <t@tjp.lol> | 2026-12-01 16:31:43 -0700 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-12-04 13:53:47 -0700 |
| commit | 8c1c5786ebfe8dda40a70571f332e876b184ad4d (patch) | |
| tree | 1116068ae630c45c1218b17fabb3d253bb8003d9 /catalog.lua | |
| parent | f7a1e30c1dfbe5fddcbfe38e89a0c5efef9fbeab (diff) | |
Isolate ACP via custom agent and add steering, usage, reseed, and footer updates
Replace the osascript permission dialog and settings.json permission seed with
a per-thread generated custom main agent (excludeDefaultComponents, tools: [],
no inherited customizations or MCP) launched with --agent,
--include-default-customizations=false, and --dangerously-skip-permissions.
Keep HOME unchanged (isolating via --gemini-dir only) so macOS finds the login
Keychain, mark exported tools with antigravity/alwaysLoad, and require the
relay to serve tools/list before the first prompt.
Add ACP turn steering for queued user and workflow text at tool boundaries,
preserve agent_thought_chunk thinking blocks with block-aware checkpoint
hashing, report live usage_update context snapshots and deduplicated final plus
steering token usage, and mount a live above-input native tool activity
component for up to six non-MCP ACP calls.
Support reseeding a new ACP session from history_transcript after /tree or cold
resume, allow direct submissions to take over an idle session from another
thread, and let extension follow-ups continue a matching warm session. Update
the usage footer with startup and three-minute timer refreshes, 1w/5h labels,
per-letter antigravity colors, and expired-bucket handling.
Diffstat (limited to 'catalog.lua')
| -rw-r--r-- | catalog.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog.lua b/catalog.lua index ef10bdf..31297d0 100644 --- a/catalog.lua +++ b/catalog.lua @@ -10,7 +10,7 @@ function M.catalog(req, names) local t=assert(all[name], 'Tool not in active rig: '..name); local s=json.decode(t.input_schema_json) assert(s.type=='object','Expected MCP object input schema for '..name) local wire=name:gsub('%.','__'); assert(wire:match('^[%w_-]+$') and #wire<=128 and not by[wire], 'Invalid or colliding MCP tool name: '..name) - by[wire]={name=name,schema=s}; list[i]={name=wire,description=t.description,inputSchema=s} + by[wire]={name=name,schema=s}; list[i]={name=wire,description=t.description,inputSchema=s,_meta={['antigravity/alwaysLoad']=true}} end return by,list end |
