Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
2fd7af8
feat(docs): add OpenSpec documentation structure and project specific…
zjy365 Oct 23, 2025
4ed73e8
feat: implement-devbox-sdk-core architecture
zjy365 Oct 23, 2025
92baee5
refactor: migrate to monorepo architecture with Bun runtime
zjy365 Oct 23, 2025
b4536b7
delete src
zjy365 Oct 23, 2025
003029b
update
zjy365 Oct 23, 2025
db765b9
feat: create shared package and optimize monorepo configuration
zjy365 Oct 23, 2025
7d144a7
update task
zjy365 Oct 24, 2025
585db2b
Add bun.lockb for reproducible builds
zjy365 Oct 30, 2025
8934beb
feat: Add core server architecture and comprehensive testing
zjy365 Oct 30, 2025
745f047
feat(server): implement session management and enhance API capabilities
zjy365 Oct 30, 2025
5ed5eca
chore: fix lint configuration and auto-format code
zjy365 Oct 30, 2025
f22486f
docs: add SDK implementation tasks and testing documentation
zjy365 Oct 31, 2025
815cc5f
feat: implement SDK Phase 1 core functionality
zjy365 Oct 31, 2025
c495bad
docs: add Phase 1 completion summary
zjy365 Oct 31, 2025
0371ae6
docs: update tasks README with comprehensive project status (2025-11-03)
zjy365 Nov 3, 2025
7e21c08
feat(sdk): complete Phase 4 testing and optimization infrastructure
zjy365 Nov 4, 2025
6090e6f
chore: temporarily disable CI and Release workflows, switch to manual…
zjy365 Nov 4, 2025
2845431
refactor: update API response types and transformation logic
zjy365 Nov 4, 2025
8fef816
Merge pull request #14 from zzjin/dev_server_go
zzjin Nov 7, 2025
dd3fe49
feat: add comprehensive project documentation and enhance test coverage
zjy365 Nov 5, 2025
c2dedc2
feat(process): add sync execution and streaming endpoints (#15)
zzjin Nov 8, 2025
fa3d564
Add shutdown method to DevboxInstance and refactor SDK core
zjy365 Nov 10, 2025
a3b1bae
chore: bump actions/labeler from 5 to 6 in /.github/workflows (#2)
dependabot[bot] Nov 10, 2025
fe8c42d
chore: bump actions/stale from 9.0.0 to 10.1.0 in /.github/workflows …
dependabot[bot] Nov 10, 2025
ddb09e4
chore: bump codecov/codecov-action from 4 to 5 in /.github/workflows …
dependabot[bot] Nov 10, 2025
6d97594
chore: bump peter-evans/create-issue-from-file in /.github/workflows …
dependabot[bot] Nov 10, 2025
2915671
chore: temporarily disable Dependabot auto-update functionality
zjy365 Nov 10, 2025
fc912af
fix devbox lifecycle operations and update status types
zjy365 Nov 10, 2025
d5b4e5a
fix type definitions and connection manager for devbox server operations
zjy365 Nov 10, 2025
5bcfa1f
update go-server docs
zjy365 Nov 11, 2025
a2c00b3
fix: configure build tools and remove unused server references
zjy365 Nov 11, 2025
d2a5a24
feat: Add process management and Git version control features
zjy365 Nov 11, 2025
9666b28
Dev server go (#18)
zzjin Nov 12, 2025
9856706
Add codeRun method to support Node.js and Python code execution
zjy365 Nov 12, 2025
3c08832
Refactor Git API to modular structure and standardize file naming to …
zjy365 Nov 12, 2025
8003224
Fix git normalizePath to handle remote container paths and prevent te…
zjy365 Nov 12, 2025
63470ac
Update errors. (#19)
zzjin Nov 13, 2025
9938f0b
refactor: improve error handling and retry logic
zjy365 Nov 13, 2025
f2faaec
feat: configure package exports and optimize build settings
zjy365 Nov 14, 2025
fe2580a
feat: add docs app and update build configuration (#21)
zjy365 Nov 14, 2025
01ee7bd
Dev server go (#22)
zzjin Nov 14, 2025
d8f2c6e
feat: add docs app and update build configuration (#23)
zjy365 Nov 19, 2025
90c010c
fix file operations: align API types, add test cleanup, and refactor …
zjy365 Nov 19, 2025
2f31f8a
update page
zjy365 Nov 20, 2025
198e71a
refactor: landing page
zjy365 Nov 20, 2025
ca78d81
feat: add Docker support for docs app with monorepo build
zjy365 Nov 20, 2025
649557c
feat: update devbox sdk name
zjy365 Nov 24, 2025
65ccf88
refactor: migrate package names from @sealos/* to unscoped names and …
zjy365 Nov 24, 2025
5bfed4d
add llm.txt
zjy365 Nov 27, 2025
3ecd514
test: improve background process test with HTTP server and port cleanup
zjy365 Nov 27, 2025
295d438
feat: Optimize large file writes with binary mode, standardize `readF…
zjy365 Nov 28, 2025
2e01483
feat: add Devbox SDK Node.js execution tests covering basic execution…
zjy365 Nov 28, 2025
45bef0f
Dev server rust (#28)
zzjin Nov 29, 2025
bc4539e
Dev server go (#29)
zzjin Dec 2, 2025
dd0e92f
Try add server rust release. (#32)
zzjin Dec 3, 2025
7e92146
Update release and help. (#33)
zzjin Dec 4, 2025
99b14cd
fix: correct file path for server-rust release in workflow (#34)
zzjin Dec 4, 2025
5a6f909
feat: enhance server-rust release workflow and build process for mult…
zzjin Dec 4, 2025
621bf01
Merge pull request #35 from zzjin/dev_server_rust
zzjin Dec 4, 2025
4eed9d6
fix: update destination name for aarch64 target in server-rust releas…
zzjin Dec 4, 2025
bd65361
fix: update destination name for x86_64 target in server-rust release…
zzjin Dec 5, 2025
56d9cce
Dev server rust (#38)
zzjin Dec 5, 2025
7a8762c
feat: add graceful shutdown handling for the server (#39)
zzjin Dec 5, 2025
fd4e1fb
fix(security): upgrade React and Next.js to patch CVE-2025-55182
zjy365 Dec 8, 2025
380be73
feat: server build with panic-immediate-abort (#41)
zijiren233 Dec 9, 2025
d2d76be
chore: remove tasks and integrate SDK server (#42)
zjy365 Dec 11, 2025
4d916ad
chore: disable ws module and remove file watching feature
zjy365 Dec 11, 2025
a92b285
feat: add release notes generation for server-rust (#43)
zzjin Dec 12, 2025
e6fa371
fix react
zjy365 Dec 15, 2025
6e905d0
update version
zjy365 Dec 15, 2025
4fa1b59
fix sdk
zjy365 Dec 16, 2025
1c800ed
update ci
zjy365 Dec 16, 2025
cfc05d7
fix(ci): migrate from npm to pnpm and update Node.js version
zjy365 Dec 16, 2025
3d098d4
fix(lint): migrate docs from next lint to biome and fix formatting
zjy365 Dec 16, 2025
e9b7267
fix(lint): use exponentiation operator instead of Math.pow
zjy365 Dec 16, 2025
52e7993
ci: remove test step to avoid CI failures
zjy365 Dec 16, 2025
90e9887
chore: add changeset configuration directory
zjy365 Dec 16, 2025
1179f96
chore: add changeset for first stable release
zjy365 Dec 16, 2025
1341355
chore: update changeset to minor version for 1.1.0 release
zjy365 Dec 16, 2025
67e7948
chore: add repo configuration to changeset config
zjy365 Dec 16, 2025
2b1dd12
ci: remove release-preview job with pkg-pr-new
zjy365 Dec 16, 2025
bbfbe93
chore: new release (#46)
github-actions[bot] Dec 16, 2025
fc5419a
chore: exclude devbox-shared from npm publishing
zjy365 Dec 16, 2025
8b58a81
chore: format changeset config and remove tutorial
zjy365 Dec 16, 2025
555975a
chore: release v1.1.1
zjy365 Dec 16, 2025
c4ab3c0
feat: use pack-relative-relocs for build (#48)
zijiren233 Dec 17, 2025
1578265
feat: Implement file listing, permission changes, and search function…
zzjin Dec 18, 2025
0298da9
Dev server rust (#52)
zzjin Dec 19, 2025
13c897b
revert: remove getPreviewLink method and PortPreviewUrl type (#51)
zjy365 Dec 22, 2025
17b8518
fix(changesets): resolve validation error by linking devbox-sdk (#60)
zjy365 Dec 23, 2025
31a0dc3
fix(main): simplify version output format (#63)
zzjin Dec 24, 2025
7c45da5
feat: parse API URL from kubeconfig instead of environment variable (…
zjy365 Dec 26, 2025
fd64e41
chore: bump the dependencies-major group with 3 updates
dependabot[bot] Dec 29, 2025
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
Empty file added .changeset/.gitkeep
Empty file.
10 changes: 10 additions & 0 deletions .changeset/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Ignore Configuration

devbox-docs: Documentation site, not published to npm

# Note on devbox-shared:
# - devbox-shared is an internal private package (private: true) and will not be published to npm
# - It cannot be in the ignore list because devbox-sdk depends on it (changesets validation rule)
# - It is linked with devbox-sdk to share version numbers
# - The private: true flag ensures it will never be published, even though it's not ignored

23 changes: 23 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "zjy365/devbox-sdk"
}
],
"commit": false,
"fixed": [],
"linked": [
[
"devbox-sdk",
"devbox-shared"
]
],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"devbox-docs"
]
}
44 changes: 44 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Git
.git
.gitignore

# Dependencies
node_modules
**/node_modules

# Build outputs
.next
**/.next
dist
**/dist
build
**/build

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment
.env
.env*.local

# IDE
.vscode
.idea
*.swp
*.swo

# OS
.DS_Store
Thumbs.db

# Testing
coverage
**/.coverage

# Misc
.vercel
*.tsbuildinfo

2 changes: 2 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
KUBECONFIG=
LOG_LEVEL=INFO # Supports: INFO, WARN, ERROR
87 changes: 45 additions & 42 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: ".github/workflows"
schedule:
interval: "monthly"
commit-message:
# Prefix all commit messages with "chore: "
prefix: "chore"
open-pull-requests-limit: 10
# Temporarily disable Dependabot auto-update dependency feature
# To re-enable, uncomment the following

- package-ecosystem: "npm"
directory: "/"
commit-message:
# Prefix all commit messages with "chore: "
prefix: "chore"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
# Use the 'dependencies' default label and add
# the 'automerge' one for automerge github action support
labels:
- "dependencies"
- "automerge"
groups:
# Production dependencies without breaking changes
dependencies:
dependency-type: "production"
update-types:
- "minor"
- "patch"
# Production dependencies with breaking changes
dependencies-major:
dependency-type: "production"
update-types:
- "major"
# Development dependencies
dev-dependencies:
dependency-type: "development"
# example for ignoring dependencies:
# ignore:
# - dependency-name: tap
# update-types: ["version-update:semver-major"]
# version: 2
# updates:
# - package-ecosystem: "github-actions"
# directory: ".github/workflows"
# schedule:
# interval: "monthly"
# commit-message:
# # Prefix all commit messages with "chore: "
# prefix: "chore"
# open-pull-requests-limit: 10
#
# - package-ecosystem: "npm"
# directory: "/"
# commit-message:
# # Prefix all commit messages with "chore: "
# prefix: "chore"
# schedule:
# interval: "weekly"
# open-pull-requests-limit: 10
# # Use the 'dependencies' default label and add
# # the 'automerge' one for automerge github action support
# labels:
# - "dependencies"
# - "automerge"
# groups:
# # Production dependencies without breaking changes
# dependencies:
# dependency-type: "production"
# update-types:
# - "minor"
# - "patch"
# # Production dependencies with breaking changes
# dependencies-major:
# dependency-type: "production"
# update-types:
# - "major"
# # Development dependencies
# dev-dependencies:
# dependency-type: "development"
# # example for ignoring dependencies:
# # ignore:
# # - dependency-name: tap
# # update-types: ["version-update:semver-major"]
37 changes: 37 additions & 0 deletions .github/workflows/build-server-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: build-server-go

# Manually trigger build of server-go binary
on:
workflow_dispatch:

jobs:
build:
name: Build server-go (linux/${{ matrix.goarch }})
runs-on: ubuntu-latest
strategy:
matrix:
goarch: [amd64, arm64]
go-version: ['1.25.x']
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true

- name: Build binary via Makefile
working-directory: packages/server-go
run: |
make clean
make build BUILD_ENV="CGO_ENABLED=0 GOOS=linux GOARCH=${{ matrix.goarch }}"

- name: Upload binary artifact
uses: actions/upload-artifact@v4
with:
name: devbox-server-linux-${{ matrix.goarch }}
path: packages/server-go/build/devbox-server
if-no-files-found: error
retention-days: 7
49 changes: 29 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI

on: [push, pull_request]
on:
pull_request:
branches: [main, master]
push:
branches: [main, master]
workflow_dispatch:

jobs:
test:
Expand All @@ -12,38 +17,42 @@ jobs:
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.15.0
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
cache: 'pnpm'
- name: install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: lint code
run: npm run lint
run: pnpm run lint
- name: typecheck
run: pnpm run typecheck
- name: build project
run: npm run build
- name: run tests
run: npm run test
- name: coverage
uses: codecov/codecov-action@v4
if: github.actor != 'dependabot[bot]'
with:
fail_ci_if_error: true
verbose: false
token: ${{ secrets.CODECOV_TOKEN }}
env:
CI: true
run: pnpm run build

release-preview:
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.15.0
- uses: actions/setup-node@v4
with:
node-version: "22.x"
node-version: '22.x'
cache: 'pnpm'
- name: install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: build project
run: npm run build
- name: release preview with pkr-pr-new
run: npx pkg-pr-new publish
run: pnpm run build
- name: release preview with pkg-pr-new
working-directory: packages/sdk
run: pnpm dlx pkg-pr-new publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
- uses: actions/labeler@v6
2 changes: 1 addition & 1 deletion .github/workflows/links-checker-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@24452a72d85239eacf1468b0f1982a9f3fec4c94 # v5.0.0
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v6.0.0
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lock-threads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
with:
close-issue-message: |
This issue has not seen any activity since it was marked stale.
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/markdown-lint.yml

This file was deleted.

18 changes: 11 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: release

on:
push:
branches:
- main
branches: [main, master]
workflow_dispatch:

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -19,18 +19,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.15.0
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'pnpm'
- name: install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: build project
run: npm run build
run: pnpm run build
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: npm run release
version: npm run version
publish: pnpm run release
version: pnpm run version
commit: "chore: new release"
title: "chore: new release candidate"
env:
Expand Down
Loading
Loading