Commit Graph

42 Commits

Author SHA1 Message Date
Aiden Cline 804858365e Revert "fix:subagent reasoningEffort not being applied (#8646)"
This reverts commit 35908577ee.
2026-01-15 16:06:35 -06:00
Jeong Juahn 35908577ee fix:subagent reasoningEffort not being applied (#8646)
Co-authored-by: Bot <bot@example.com>
2026-01-15 16:04:01 -06:00
M. Adel Alhashemi 73cd146c85 fix(task): respect agent task permission for nested sub-agents (#8111) 2026-01-12 20:37:42 -06:00
M. Adel Alhashemi 4d0b807ce7 refactor: simplify task tool subagent filtering (#7165)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-07 13:28:13 -06:00
Sewer. 967b6779f6 Added: Ability to hide subagents from primary agents system prompt. (#4773)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-06 22:29:17 -06:00
Aiden Cline c47bece223 fix: ensure commands listing subagent work 2026-01-06 17:05:20 -06:00
Dax e839c1522d Permission rework (#6319)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-01-01 17:54:11 -05:00
Spoon e9484d7368 plugin(hook): add task tool execution hooks and command context tracking (#5642) 2025-12-16 19:28:09 -06:00
Aiden Cline 7cdc97bc58 fix: reduce overhead of task tool metadata 2025-12-06 16:04:33 -06:00
Spoon e4f11b6f5b feat: experimental.primary_tools, allow user to set the tools that should only be available to primary agents (#4913)
Co-authored-by: GitHub Action <action@github.com>
2025-12-03 11:19:43 -06:00
Shantur Rathore c021a04a7e allow task tool to have resume capabilities (#4204)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-11-19 00:17:26 -06:00
Dax 9fdf25c750 Refactor agent loop (#4412) 2025-11-17 10:57:18 -05:00
Rafał Krzyważnia 6fa0834ae5 fix: resolve @file references in slash commands with subagents (#4221) 2025-11-11 19:38:50 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Dax Raad 41b5ce67c3 fix: update references after moving message functions to MessageV2 namespace 2025-11-07 14:47:05 -05:00
Dax Raad aaa60022b7 only display last 100 messages in TUI 2025-11-06 13:21:15 -05:00
Dax Raad ed8913324e big format 2025-11-06 13:03:12 -05:00
Brandon 1e4b8d2e44 feat: Adds session id to Agent context metadata (#3559)
Co-authored-by: Brandon Wisnicki <bwisnicki@palantir.com>
2025-10-30 12:15:21 -05:00
Jérôme Benoit 0787f01d1d chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
Aiden Cline 45caf66145 tweak: consolidate session lock logic (#3185) 2025-10-15 01:12:51 -05:00
Dax Raad 87f71e2183 core: improve session API reliability with proper input validation 2025-10-06 19:37:44 -04:00
Dax Raad ce124c7a87 fix task tool ui disappearing once done 2025-09-19 01:09:52 -04:00
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Dax 7d8d63faff Session management and prompt handling improvements (#2577)
Co-authored-by: GitHub Action <action@github.com>
2025-09-13 05:46:14 -04:00
Dax aea78046d0 Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
adamdotdevin dddc968bb2 feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
Dax 77c101d742 Merge agent and mode into one (#1689)
The concept of mode has been deprecated, there is now only the agent field in the config.

An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it

Full docs here: https://opencode.ai/docs/agents/
2025-08-07 16:32:12 -04:00
Aiden Cline 947bf020a4 fix: handle undefined agent in task tool (#1642) 2025-08-06 05:16:43 -05:00
adamdotdevin 9f429d8dd9 wip: tui permissions 2025-07-31 09:59:17 -05:00
Aiden Cline d9278e4dcc fix: task type error (#1384) 2025-07-29 06:18:34 -05:00
Dax Raad 4b94f390ce allow temperature to be configured per mode
publish / publish (push) Has been cancelled
2025-07-25 13:29:44 -04:00
Dax Raad 0de957a2f0 real life totally configurabl ai subasians
publish / publish (push) Has been cancelled
2025-07-24 21:21:02 -04:00
Yihui Khuu 9e80e6d855 feat: pass mode into task tool (#1248) 2025-07-23 20:29:59 -04:00
Dax Raad b236673fa4 disable todo tools when running as task
publish / publish (push) Has been cancelled
2025-07-19 15:54:11 -04:00
Dax d8dd1f2929 wip: optional IDs in api (#1128)
publish / publish (push) Has been cancelled
2025-07-18 13:42:50 -04:00
Dax Raad f72567716f bring back task tool
publish / publish (push) Has been cancelled
2025-07-15 00:05:54 -04:00
Dax 4c802ae916 Part data model (#950) 2025-07-13 17:22:11 -04:00
Dax 9cad702612 v2 message format and upgrade to ai sdk v5 (#743)
publish / publish (push) Has been cancelled
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me>
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-07-07 15:53:43 -04:00
Dax Raad f5bc0a6de8 fix task agent performance issues
publish / publish (push) Has been cancelled
2025-06-19 13:00:57 -04:00
Dax Raad b7319a304f remove opencode_ prefixes from tool names. unfortunately this will break
publish / publish (push) Has been cancelled
all old sessions and share links. we'll be more backwards compatible in
the future once we're more stable.
2025-06-19 09:59:44 -04:00
Dax Raad 3121d84ede track version on session info
publish / publish (push) Has been cancelled
2025-06-18 13:40:36 -04:00
Dax Raad 073df4d75f subagent 2025-06-12 18:07:31 -04:00