12 Commits

Author SHA1 Message Date
349b230913 feat: align SDK with updated OpenAPI spec and add missing unit tests
- Update generated types from new openapi.yaml (capsule stats, usage,
  metrics, pause/resume lifecycle, host/channel management, auth flow)
- Add Capsule pause/resume/ping/getMetrics lifecycle methods
- Add Capsule.waitForReady abort signal support
- Add PtyManager.connect and PtySession disposal
- Fix HttpClient empty-body response handling (content-length: 0)
- Add streamProcess() to CommandManager for background process streams
- Add integration tests for capsule lifecycle, git, and PTY features
- Add unit tests for AsyncQueue error paths, PtySession.close,
  Git.checkout without create, Git.add single string,
  Notebook.execCell error case, and PtyStartOptions fields
2026-05-16 19:14:55 +06:00
a69118aa2d chore: switch package manager to bun and create docs for codebase 2026-05-16 17:27:47 +06:00
b35df41f08 test public entry point exports 2026-05-16 16:23:27 +06:00
1f74d48576 feat: complete public entry point exports 2026-05-16 16:11:05 +06:00
573506b4c5 feat: add higher-level git and code interpreter APIs 2026-05-15 16:04:59 +06:00
c6322d8601 feat: add high-level capsule feature modules 2026-05-14 23:22:53 +06:00
8fb9753fde feat: add high-level Capsule lifecycle API 2026-05-14 22:51:01 +06:00
52282618bd Delete live-client.integration.test.ts 2026-05-09 18:06:02 +06:00
f1522eaa0b feat: add low-level Wrenn client resources
Implement WrennClient with typed resource mappings for auth, account,
API keys, users, teams, capsules, files, snapshots, hosts, and channels.
Add endpoint mapping tests plus live integration tess that authenticate
with WRENN_TEST_EMAIL/WRENN_TEST_PASS and use WRENN_API_KEY for API-key
scoped endpoints
2026-05-09 18:05:53 +06:00
5b3f2741a3 feat: add SDK foundation layer
Implement config resolution, typed errors, HTTP and WebSocket transport
helpers, and timeout handling for the SDK foundation. Add unit and local
integration tests covering the SDK foundation behaviour and align
package exports with the tsup output.
2026-05-09 16:32:41 +06:00
db7fccbaed feat: initial project structure and generate API types
Initialized `package.json`, add tsup build config (CJS/ESM/DTS), wire up
full Makefile targets (lint/test/check/build), add missing BadRequest
response component to OpenAPI spec, generate TypeScript types from spec,
configure biome to exclude generated files, and add `@types/ws`
2026-05-09 14:51:48 +06:00
81b525f23f Initial commit 2026-05-06 09:50:32 +00:00