diff options
| author | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2026-01-25 07:42:41 -0700 |
|---|---|---|
| committer | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2026-01-26 07:26:16 -0700 |
| commit | 66fff3b01259afddbcf5bfebddcc197ec4281f46 (patch) | |
| tree | c3e256b5be773676a7950907450892ae2ebc22b3 /lua/99/init.lua | |
| parent | 4325ec4f2f443cba038268992e78e81973849eb9 (diff) | |
| download | a4-66fff3b01259afddbcf5bfebddcc197ec4281f46.tar.xz a4-66fff3b01259afddbcf5bfebddcc197ec4281f46.zip | |
ok, skills-v2 attempt
Diffstat (limited to 'lua/99/init.lua')
| -rw-r--r-- | lua/99/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/99/init.lua b/lua/99/init.lua index 028e6df..ee53b0e 100644 --- a/lua/99/init.lua +++ b/lua/99/init.lua @@ -267,9 +267,9 @@ local function wrap_window_capture(cb, context, opts) if not ok then return cb(false) end - local rules = Agents.by_name(_99_state.rules, response) + local rules_and_names = Agents.by_name(_99_state.rules, response) opts.additional_rules = opts.additional_rules or {} - for _, r in ipairs(rules) do + for _, r in ipairs(rules_and_names.rules) do table.insert(opts.additional_rules, r) end opts.additional_prompt = response |
