5 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
b3fe5f2607
Improve CLI release packaging (#137)
* Improve CLI release packaging

* chore: format files for CI

* Make OpenTUI platform deps optional
2026-01-31 16:21:57 +00:00
Nico Albanese
b283f819c4
add install script and rebrand web app (#136)
* Add configurable installer and homepage install card

* Redesign unauthed homepage with improved visual design and UX

* Add CLI connect banner to authenticated homepage and install card to tokens settings

* Use drizzle-kit migrate in prebuild and document POSTGRES_URL requirement

* Rename deep agent exports to Open Harness

* Redesign landing and CLI auth pages with dark terminal aesthetic

* Add design system documentation for dark terminal aesthetic

* Remove tech stack pills from landing page

* Add sign in button to landing page navbar

* Use drizzle-kit push in web prebuild
2026-01-30 17:30:47 +00:00
Nico Albanese
c88bd03028
Add sandbox timeout tracking and state persistence plan (#70)
* Add proactive sandbox timeout management

Sandboxes now track their timeout and proactively call stop() before
the SDK timeout, ensuring beforeStop hooks have time to run. This
prevents cloud sandboxes from silently disappearing without cleanup.

- Add expiresAt and timeout properties to Sandbox interface
- Add onTimeout hook to differentiate timeout-triggered stops
- VercelSandbox schedules proactive stop 30s before SDK timeout
- Make stop() idempotent with proper timer cleanup
- Add remainingTimeout option for sandbox reconnection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add timeout extension hook and method to interfaces

* Refactor timeout properties to private with getters

* Add sandbox state persistence planning document

* Fix sandbox timeout management edge cases

- Add error logging for hook failures (onTimeout, beforeStop)
- Add runtime check for sdk.extendTimeout existence
- Fix _timeout semantic: now represents initial value only
- Remove sdk.timeout fallback in connect() due to uncertain semantics
- Update documentation to clarify timeout vs expiresAt usage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix startTime capture to occur after setup operations

The timeout tracking startTime was being captured before SDK creation
and git operations, causing users to get less actual usage time than
specified. Moved startTime capture to after all setup completes so
the full timeout duration is available for actual sandbox usage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Enable timeout tracking by default for reconnected sandboxes

Reconnecting via connectVercelSandbox({ sandboxId }) previously disabled
timeout tracking when remainingTimeout wasn't provided, which prevented
beforeStop and onTimeout hooks from firing on timeout. This broke state
persistence features that depend on these hooks.

Now uses DEFAULT_RECONNECT_TIMEOUT_MS (5 minutes) as the default timeout
for reconnected sandboxes, ensuring hooks always fire properly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Update packages/sandbox/vercel.ts

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2026-01-12 16:59:31 +00:00
Nico Albanese
6b58d6808a
Add task management and PR creation features (#64)
* init scaffold

* add archive functionality

* update

* remove focus change

* update homepage styles

* add new branch button

* add persistence

* add create pr button

* fix critical errors

cc

* cc critical fixes

* critical fixes

* add diff viewer plan

* more critical fixes

* cc critical fixes

* Guard initial task message without sandbox

Prevents chat requests when tasks lack cloneUrl or sandboxId.

* fix: enforce task sandbox ownership

* chore: update todos

* fix: sync PR branch with sandbox

* Add helper functions for branch management

* Create git-status API endpoint

* Add branch status detection to create PR dialog

* Add commitOnly parameter to generate-pr API

* Convert PR dialog to multi-step wizard UI

* Add readFile tool visibility task to todos

* Add OctokitResult type for auth status
2026-01-12 11:47:59 +00:00