Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .changeset/exec-session.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/file-metadata-ops.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/box-pi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @upstash/box-pi

## 0.1.7

### Patch Changes

- Updated dependencies [b840209]
- Updated dependencies [cc370f8]
- @upstash/box@0.7.1

## 0.1.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/box-pi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@upstash/box-pi",
"version": "0.1.6",
"version": "0.1.7",
"description": "Pi coding agent extension that runs all tool calls inside a remote Upstash Box sandbox while the agent runs locally",
"type": "module",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @upstash/box-cli

## 0.2.20

### Patch Changes

- Updated dependencies [b840209]
- Updated dependencies [cc370f8]
- @upstash/box@0.7.1

## 0.2.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@upstash/box-cli",
"version": "0.2.19",
"version": "0.2.20",
"description": "CLI for Upstash Box — REPL-first interface for AI coding agents",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Generated from package.json by scripts/gen-version.mjs — do not edit.
export const VERSION = "0.2.19";
export const VERSION = "0.2.20";
31 changes: 31 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @upstash/box

## 0.7.1

### Patch Changes

- b840209: Add `box.exec.session()` — a live, interactive command session over a WebSocket.

Unlike `exec.command` / `exec.stream`, which run a command and hand back its
result, a session returns a handle to a _running_ process:
- `argv` runs a program directly (no shell); `cmd` runs one via `bash -lc`.
- `write()` sends stdin, `endStdin()` closes it so a command reading to EOF can
finish, and `onStdout` / `onStderr` receive output as it arrives (separate
streams unless `tty` is set).
- `tty` allocates a real PTY sized by `rows`/`cols`, with `resize()` for later
changes — enough for interactive programs and terminal UIs.
- `kill(signal)` sends an allowlisted signal; `terminate(graceMs)` asks the
server for SIGTERM then SIGKILL after the grace.
- `wait()` resolves with the exit code; `close()` hangs up, which also stops the
process.

Node-only: authentication uses a request header, which browsers cannot set on a
WebSocket handshake. `ws` moves from a dev dependency to a runtime dependency;
the public types stay free of `@types/ws`.

- cc370f8: Add filesystem metadata operations to `box.files`:
- `stat(path, { follow })` — type (file/directory/symlink/other), size, mtime,
inode, and an opaque `version` token for optimistic-concurrency guards.
Defaults to lstat; `follow: true` dereferences a final symlink.
- `mkdir(path, { parents })`, `rename(from, to)`, `remove(path, { recursive })`.
- `read(path, { offset, length })` — bounded byte-range read, so a large file can
be sliced instead of pulled whole.

## 0.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@upstash/box",
"version": "0.7.0",
"version": "0.7.1",
"description": "Upstash Box SDK - TypeScript client for async and parallel AI coding agents",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Generated from package.json by scripts/gen-version.mjs — do not edit.
export const VERSION = "0.7.0";
export const VERSION = "0.7.1";
Loading