Skip to content

0.1.8 - Polling, ASIA region, CJS - #19

Open
TheMultii wants to merge 28 commits into
mainfrom
rc
Open

0.1.8 - Polling, ASIA region, CJS#19
TheMultii wants to merge 28 commits into
mainfrom
rc

Conversation

@TheMultii

Copy link
Copy Markdown
Collaborator

No description provided.

TheMultii and others added 28 commits March 4, 2026 12:54
* 0.1.5 - Sandbox apps (#8)

* feat: add sandbox apps array API support

* feat: regenerate types from openapi spec and wire up app endpoints

* feat: add per-app methods to Sandbox entity and handle STALE setup status

* test: add integration tests for sandbox app start/stop/logs

* test: use multiple apps and verify independent start/stop behavior

* feat: add apps example demonstrating per-app start/stop/logs

* docs: add apps section to README

* fix: resolve lint warnings in app tests and example

* chore: add apps example to example:all script

* fix: increase afterAll destroy timeout from 30s to 60s

* Revert "fix: increase afterAll destroy timeout from 30s to 60s"

This reverts commit df1dc39.

* bumped timeout for the ubuntu 22.04 sandbox startup

* Revert "bumped timeout for the ubuntu 22.04 sandbox startup"

This reverts commit d9c6778.

* chore(release): bump version to 0.1.5

* chore: set pnpm minimumReleaseAge to 2 days

* fix: patch openapi spec for missing String schema

* fix: drop circular Target types from generated schemas

* chore: bump @hey-api/openapi-ts to 0.97.2

* feat: regenerate openapi types with timeout and fetch fields

* refactor: migrate BuddyApiClient to per-part body/path/query validation

* test: add unit tests for timeout and fetch in addSandbox

* test: add integration tests for Sandbox.create timeout and fetch

* docs: document timeout and add fetch section to README

* fix: drop circular Target types from generated schemas

* test: increase ubuntu 22.04 sandbox creation timeout to 120s
# Conflicts:
#	README.md
#	package.json
#	src/api/openapi/types.gen.ts
#	src/api/openapi/zod.gen.ts
#	src/core/buddy-api-client.ts
* feat: add PATCH support to HttpClient

* feat: add updateSandbox and snapshot endpoints to BuddyApiClient

* feat: add Snapshot entity class

* feat: add update, snapshot and createFromSnapshot methods to Sandbox entity

* feat: export Snapshot and related types from public API

* test: add MSW unit tests for updateSandbox and snapshot endpoints

* test: add integration tests for update, snapshot lifecycle, idempotency and data preservation

* test: add directory download integration test

* test: add error cases for createFromSnapshot, update on destroyed sandbox and getSnapshot 404

* test: add empirical update behavior probes

* docs: document update and Snapshot entity in README

* refactor: drop snapshot.restore in favor of Sandbox.createFromSnapshot

* test: assert restored sandbox name and identifier match overrides

* chore: simplify example:all with concurrently glob pattern

* feat: add sandbox update example

* feat: add snapshots example with create, restore and marker file verification

* feat: add fetch example for cloning a public repo at first boot

* test: add MSW unit tests for sandbox app start, stop and logs endpoints

* refactor: dedupe sandbox create helpers and tighten Snapshot constructor

* test: assert setup_status contract in update behavior probes

* test: ensure sandbox is RUNNING before update and snapshots tests

* chore: wrap examples in try/finally for guaranteed resource cleanup

* feat: add static Sandbox.listSnapshots for listing all snapshots in a project

* feat: add static Sandbox.deleteSnapshot for project-level deletion

* test: cover project-level snapshot delete and harden cleanup

* feat: add getSandboxCommands endpoint to BuddyApiClient

* feat: add sandbox.listCommands and static Sandbox.clone

* test: cover commands history, clone, and widen global teardown

* fix: surface non-404 errors from getByIdentifier and remove stale identifier fallback

* unit tests
# Conflicts:
#	README.md
#	package.json
#	src/core/buddy-api-client.ts
#	tests/buddy-api-client.test.ts
* fix: updated spec

* fail boot_logs

* refactor: avoid redundant boot_logs slice in setup failure error
* feat: back off while polling instead of a fixed 1s interval

* chore: drop unused exports from poll helper
* feat: dual ESM/CJS build with accurate engines range

CJS entry requires p-retry (pure ESM), which needs require(esm)
support, so narrow engines to ^20.19.0 || >=22.12.0.

* checks: legacyCjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant