Skip to content

Commit cc255ea

Browse files
Version Packages (#227)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b840209 commit cc255ea

10 files changed

Lines changed: 52 additions & 40 deletions

File tree

‎.changeset/exec-session.md‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎.changeset/file-metadata-ops.md‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎packages/box-pi/CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @upstash/box-pi
22

3+
## 0.1.7
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [b840209]
8+
- Updated dependencies [cc370f8]
9+
- @upstash/box@0.7.1
10+
311
## 0.1.6
412

513
### Patch Changes

‎packages/box-pi/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@upstash/box-pi",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "Pi coding agent extension that runs all tool calls inside a remote Upstash Box sandbox while the agent runs locally",
55
"type": "module",
66
"repository": {

‎packages/cli/CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @upstash/box-cli
22

3+
## 0.2.20
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [b840209]
8+
- Updated dependencies [cc370f8]
9+
- @upstash/box@0.7.1
10+
311
## 0.2.19
412

513
### Patch Changes

‎packages/cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@upstash/box-cli",
3-
"version": "0.2.19",
3+
"version": "0.2.20",
44
"description": "CLI for Upstash Box — REPL-first interface for AI coding agents",
55
"repository": {
66
"type": "git",

‎packages/cli/src/version.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Generated from package.json by scripts/gen-version.mjs — do not edit.
2-
export const VERSION = "0.2.19";
2+
export const VERSION = "0.2.20";

‎packages/sdk/CHANGELOG.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# @upstash/box
22

3+
## 0.7.1
4+
5+
### Patch Changes
6+
7+
- b840209: Add `box.exec.session()` — a live, interactive command session over a WebSocket.
8+
9+
Unlike `exec.command` / `exec.stream`, which run a command and hand back its
10+
result, a session returns a handle to a _running_ process:
11+
- `argv` runs a program directly (no shell); `cmd` runs one via `bash -lc`.
12+
- `write()` sends stdin, `endStdin()` closes it so a command reading to EOF can
13+
finish, and `onStdout` / `onStderr` receive output as it arrives (separate
14+
streams unless `tty` is set).
15+
- `tty` allocates a real PTY sized by `rows`/`cols`, with `resize()` for later
16+
changes — enough for interactive programs and terminal UIs.
17+
- `kill(signal)` sends an allowlisted signal; `terminate(graceMs)` asks the
18+
server for SIGTERM then SIGKILL after the grace.
19+
- `wait()` resolves with the exit code; `close()` hangs up, which also stops the
20+
process.
21+
22+
Node-only: authentication uses a request header, which browsers cannot set on a
23+
WebSocket handshake. `ws` moves from a dev dependency to a runtime dependency;
24+
the public types stay free of `@types/ws`.
25+
26+
- cc370f8: Add filesystem metadata operations to `box.files`:
27+
- `stat(path, { follow })` — type (file/directory/symlink/other), size, mtime,
28+
inode, and an opaque `version` token for optimistic-concurrency guards.
29+
Defaults to lstat; `follow: true` dereferences a final symlink.
30+
- `mkdir(path, { parents })`, `rename(from, to)`, `remove(path, { recursive })`.
31+
- `read(path, { offset, length })` — bounded byte-range read, so a large file can
32+
be sliced instead of pulled whole.
33+
334
## 0.7.0
435

536
### Minor Changes

‎packages/sdk/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@upstash/box",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "Upstash Box SDK - TypeScript client for async and parallel AI coding agents",
55
"repository": {
66
"type": "git",

‎packages/sdk/src/version.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Generated from package.json by scripts/gen-version.mjs — do not edit.
2-
export const VERSION = "0.7.0";
2+
export const VERSION = "0.7.1";

0 commit comments

Comments
 (0)