122 Commits

Author SHA1 Message Date
open-agents-bot[bot]
9679c867ce
chore: rename open-harness to open-agents (#703)
* refactor: rename open-harness to open-agents

* refactor: replace ai-sdk import with inline FetchFunction type

* refactor: rename "Open Agents" to "Open Agent"

* fix: align chat runtime package imports

---------

Co-authored-by: willsather <56037657+willsather@users.noreply.github.com>
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-20 23:09:41 -05:00
Nico Albanese
1fd82e578f
feat: require approval for reading dotenv files (#821)
* feat: require approval for reading dotenv files

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* feat: require approval for environment file access

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-20 10:58:51 +01:00
Nico Albanese
f1d6e2f220
feat: update deps and add Opus 4.7 adaptive thinking support (#801)
* feat: add Opus 4.7 adaptive thinking support

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* chore(deps): update ai sdk dependencies for opus 4.7

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-16 17:22:24 +02:00
Nico Albanese
83a214b2a4
refactor: simplify GPT-5.4 prompt overlay (#797)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-16 13:21:06 +00:00
Nico Albanese
eab74b1f05
fix(fetch): improve error handling and increase max body length limit (#780)
* fix: improve fetch response parsing with prefix markers

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: fetch tool error handling and migrate to native fetch API

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* refactor: reimplement fetch tool using curl

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: increase max body length for fetch tool to 10KB

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* refactor: export MAX_BODY_LENGTH constant

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-15 20:47:31 +02:00
Nico Albanese
9ca9d969b9
chore: upgrade ai sdk dependencies and remove devtools (#775)
* chore: upgrade ai sdk dependencies

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* chore: remove @ai-sdk/devtools dependency

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* Remove unused AI SDK devtools middleware

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-15 17:11:21 +02:00
Nico Albanese
5e6e156842
chore: reduce MAX_BODY_LENGTH to 5000 characters (#771)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-15 16:17:09 +02:00
Will Sather
94566c06fa
chore: move fetch tool to sandbox (#741)
* fix: prevent SSRF in fetch tool by running curl in sandbox

Co-Authored-By: open-agents-bot[bot] <open-agents-bot[bot]@users.noreply.github.com>

* fix: remove statusText from fetch response to prevent SSRF

Co-Authored-By: open-agents-bot[bot] <open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 11:40:13 +02:00
Will Sather
d221c58c2d
fix: remove sensitive data from error logs (#740)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 11:38:50 +02:00
open-agents-bot[bot]
1333bd5395
refactor: simplify github authentication flow (#721)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-14 00:02:56 +00:00
open-agents-bot[bot]
bd3e5c2fe8
feat: add ranked lists to public usage profile display (#697)
* feat: add ranked lists to public usage profile display

* fix: pin @types/bun for frozen installs

* fix: avoid client-only shared entrypoint in server components

* refactor: remove TopRepos component from profile page

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-11 08:46:48 +00:00
open-agents-bot[bot]
1ea5e85153
chore: shared formatTokens util (#664)
* refactor: shared formatTokens util

* style: remove extra blank lines between functions

* test: fix token formatting edge cases and add rounding boundary tests

---------

Co-authored-by: willsather <56037657+willsather@users.noreply.github.com>
2026-04-10 17:37:01 +00:00
willsather
534c0255a0 fix: pass abortSignal to exec calls to allow stopping agent 2026-04-07 20:28:27 +00:00
openharness[bot]
90dba80861
refactor: migrate sessions to named sandboxes (#619)
* refactor: rename sandboxId to sandboxName, consolidate resume checks

* fix: selectively clear sandbox state on unavailable

* feat: add session state refresh for named sandboxes

* feat: auto-restore snapshot on session entry

* refactor: clarify paused sandbox state checks

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-07 17:30:09 +00:00
openharness[bot]
93e7ea0e0c
feat: add GPT-5.4 conciseness overlay (#610)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-05 16:41:46 +00:00
Nico Albanese
6de8b5a77f
fix(sandbox): skip git init when refreshing Vercel base snapshots (#593)
* fix(sandbox): skip git init when refreshing Vercel base snapshots

Prevents .git in /vercel/sandbox from breaking subsequent git clone into the workspace.

Made-with: Cursor

* chore(sandbox): add comment explaining skipGitWorkspaceBootstrap in refresh script

Made-with: Cursor
2026-04-03 15:40:31 +01:00
Nico Albanese
631a50f1a4
feat: add vercel base snapshot refresh tooling (#590)
Keep base snapshot updates repeatable from the repo and record the latest code-server snapshot in config.
2026-04-03 14:59:44 +01:00
openharness[bot]
7bc1e1c7e9
refactor: remove direct REST optimization path (#567)
* docs: add migration plan for SDK V1 to V2 Named Sandboxes

* refactor: remove direct REST optimization path

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-31 20:35:29 +00:00
openharness[bot]
21a16cc096
chore: update all dependencies (#564)
* chore(deps): update all dependencies

* chore: update all dependencies

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-31 17:27:59 +00:00
openharness[bot]
239cf37dfb
feat: add design subagent (#563)
* feat: add design subagent

* refactor: extract shared subagent prompt constants

* refactor: localize explorer reminder constant

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-31 10:50:23 +00:00
openharness[bot]
b5adee6c36
feat: implement subagent registry and executor framework (#561)
* docs: add subagent registry implementation plan

* feat: add subagent registry and constants

* docs: remove redundant sandbox note from task docs

* refactor: remove name field from subagent registry

* chore: remove PLAN.md

* docs: expand subagent descriptions for clarity

* docs: clarify when to use subagents

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-30 21:36:18 +00:00
openharness[bot]
81c2655352
fix: handle Vercel 404/403 errors gracefully in sandbox lifecycle management (#529)
* fix: handle 403/404 gracefully and prevent duplicate lifecycle kicks

* fix: handle 404 errors as graceful shutdown in reconnect logic

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-20 18:17:22 +00:00
Hayden Bleasel
8694312489
Replace Biome with Ultracite (oxlint + oxfmt) (#525)
* Install oxlint/oxfmt with Ultracite

* Remove Biome, update commands

* Synthesis

* Update

* Update

* Update .oxlintrc.json

* Update .oxlintrc.json

* Update .oxlintrc.json

* Remove nested configs

* Update .oxlintrc.json

* Update .oxfmtrc.jsonc

* Run fix

* Fix CI

* Update design-system.md

* Restore md files

* Update .oxfmtrc.jsonc

* Update docs
2026-03-20 09:15:18 -07:00
openharness[bot]
2fc850f45c
fix: apply low text verbosity defaults to GPT-5.4 models (#514)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 17:06:11 -07:00
openharness[bot]
03f5e234cf
fix: enforce store false for OpenAI model variants (#507)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 22:20:52 +00:00
openharness[bot]
65203a306d
feat: handle 410 status when sandbox is expired (#506)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 22:16:08 +00:00
openharness[bot]
c783d5932d
fix: remove -codex suffix from GPT-5 model IDs (#500)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 13:02:38 -07:00
openharness[bot]
7c0f033f85
test: add recordWorkflowUsage tests for subagent usage reporting (#495)
* test: add recordWorkflowUsage tests

* docs: add git merge preference for branch sync

* refactor: format sumLanguageModelUsage call

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 18:17:41 +00:00
openharness[bot]
cea652e742
chore: update default model to claude-opus-4.6 (#496)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 18:03:25 +00:00
openharness[bot]
dfcc315ecf
feat: auto-archive sessions on PR closure (#393)
* feat: auto-archive sessions when PR is closed

* refactor: extract session archival logic into reusable helper

* chore: upgrade @types/bun and bun-types to 1.3.11

* feat: add archive finalization failure recovery

* fix: setup module mocking before test imports

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 10:20:29 -07:00
openharness[bot]
7c35a4ea88
feat: remove OpenAI thinking mode default and protect built-in model variants (#485)
* refactor: remove reasoningEffort defaults from OpenAI

* feat: protect built-in model variants from modification

* style: format GPT-5.4 variant display name

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-19 06:37:39 -07:00
openharness[bot]
fc83d6476d
feat: implement workflow durability for chat operations (#477)
* feat: add workflow durability with durable step execution

* feat: migrate chat endpoint to durable workflow pattern

* refactor: migrate chat stop/stream endpoints to workflow API

* feat: add workflow durability and usage tracking to chat

* feat: implement workflow durability with post-finish steps

* feat: convert static imports to dynamic for workflow durability

* feat: implement auto-commit workflow parameter handling

* feat: persist assistant messages on workflow abort to prevent data loss

* feat: persist assistant message on chat stop to prevent data loss

* feat: persist user messages before workflow starts for durability

* style: format code with improved line breaks and wrapping

* test: use isolated test runner for workflow durability

* revert: undo CI workflow change (needs workflows permission)

* Update ci.yml

* feat: add workflow durability by reconnecting to active runs

* feat: add CAS-based workflow concurrency control with maxSteps

* feat: add visibility-aware stream recovery probing

* refactor: format stream recovery hook for readability

* Update ci.yml

* test: add comprehensive tests for chat-post-finish workflow

* test: add comprehensive tests for chat stop endpoint

* feat: track finish reasons for agent workflow steps

* fix: skip workflow startup when active workflow exists

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
Co-authored-by: nicoalbanese <gcalbanese96@gmail.com>
2026-03-17 18:38:11 +00:00
openharness[bot]
8cd8b8c8fb
refactor: separate model ID resolution logic from chat route (#470)
* docs: clarify model ID handling separation of concerns

* test: add model selection resolution tests for chat route

* refactor: extract model selection logic to dedicated module

* test: move model selection tests to dedicated module

* test: remove redundant model mocking in chat route tests

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-16 20:02:11 +00:00
openharness[bot]
d351aa517c
feat: add direct vercel sandbox connection with fallback (#463)
* feat: add direct vercel sandbox connection with fallback

* refactor: remove direct vercel sandbox connector fallback

* feat: add parent dir creation and route-based env vars to direct sandbox

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-16 16:46:35 +00:00
openharness[bot]
3ad51ba689
refactor: simplify bash tool approval to only require rm -rf (#460)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-16 09:52:03 +00:00
Nico Albanese
44e45791dc
Simplify platform to web + cloud-only agent runtime (#443)
* Remove CLI from project

* Simplify agent approvals to bash safety only

* simplify agent cloud execution model

* hardcode bash safety policy

* Remove agent context compaction

* remove

* updates

* refactor(agent): replace call options with agent factories

* refactor(agent): remove prepareCall from agents

* Use model selections in agent factory

* Relax bash approval heuristics

* Remove local and in-memory sandboxes

* Refactor agent sandbox config to be serializable

* Fix stale bash approval test

* Revert "refactor(agent): replace call options with agent factories"

This reverts commit b0b8345526b2dd152fe09b0ef25bd5b868290345.

* refactor(agent): remove live sandbox from call options

* refactor(agent): remove live sandbox compatibility path

* refactor: extract chat auth context into reusable module (#444)

Co-authored-by: nicoalbanese
<49612682+nicoalbanese@users.noreply.github.com>

* resolve merge conficts

* soft reconnect fix

* remove dead compaction context code from chat request helpers
2026-03-16 09:31:20 +00:00
openharness[bot]
3995523772
test: add tests for getProviderOptionsForModel (#453)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-14 10:58:10 +00:00
openharness[bot]
2076adce32
fix: remove duplicate OpenAI reasoning cleanup code (#450)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-13 23:26:33 +00:00
openharness[bot]
831b872cb8
feat: increase sandbox default vCPUs from 2 to 4 (#449)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-13 23:14:48 +00:00
openharness[bot]
4a7cdfdf15
feat: add aggressive context compaction helpers for tool calls (#445)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-13 20:28:24 +00:00
openharness[bot]
db982d6cca
refactor: remove hybrid sandbox type and related logic (#425)
* refactor: remove hybrid sandbox type and related logic

* fix: move hybrid cleanup into new migration

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-11 12:47:31 +00:00
openharness[bot]
8eca63b8aa
refactor: update sandbox persistence messaging (#427)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-11 12:46:25 +00:00
Nico Albanese
2a675548d5
fix: sanitize incomplete GPT-5.4 reasoning before agent calls (#411)
* init fix

* update

* refactor: improve OpenAI reasoning block removal with itemId tracking
2026-03-08 17:40:38 +00:00
openharness[bot]
0eb077765e
refactor: normalize sandbox paths to workspace-relative format (#409)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-08 16:58:21 +00:00
openharness[bot]
c86ed30d2e
fix: wrap compacted tool notice in text object structure (#407)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-08 13:25:12 +00:00
openharness[bot]
27322f8780
feat: increase agent max steps from 100 to 200 (#408)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-08 13:18:51 +00:00
openharness[bot]
a396c62322
feat: add GPT-5 reasoning defaults detection function (#404) 2026-03-08 08:55:50 +00:00
Nico Albanese
7d68e520e3
Refactor task tool to use fullStream API and output schema (#378)
* Remove configVersion from lockfile

* Reorganize imports in task tool

* refactor: simplify task tool state management and rendering

* refactor: simplify tool call tracking and rendering logic

* refactor: optimize task tool render updates and add toolCallCount

* refactor: improve task timing with stable server-side timestamps

* refactor: add modelId to task tool render output

* refactor: keep last tool call in interim updates to prevent UI flicker

* refactor: use shared TaskPendingToolCall type across components
2026-03-05 10:06:05 +00:00
openharness[bot]
0c7f542fbc
feat: add model variants compound configuration (#359)
* feat: add model variant resolution to chat and settings API

* test: add comprehensive model variant validation tests

* feat: add variant label to model options in preferences

* refactor: enhance model combobox with variant badges and descriptions

* feat: add variant form dialog and card components for model configuratio

* refactor: return error messages instead of boolean from onSubmit

* feat: add dynamic model options fetching with fallback handling

* feat: add model variants storage and format code

* refactor: simplify model options logic with initial fallback

* feat: add note about concurrent update limitations

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-04 16:17:05 +00:00
openharness[bot]
6f19e42ae4
test(agent/tools): add comprehensive test suite for agent tools (#365)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-04 11:36:59 +00:00