@labring/devbox-sdk 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # devbox-sdk
1
+ # @labring/devbox-sdk
2
2
 
3
3
  **Secure Sandbox SDK for Isolated Code Execution.** Execute AI-generated code, run automation tasks, and test untrusted code with zero risk to your infrastructure.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install devbox-sdk
8
+ npm install @labring/devbox-sdk
9
9
  ```
10
10
 
11
11
  ## Requirements
@@ -18,7 +18,7 @@ npm install devbox-sdk
18
18
  ### Secure Code Execution
19
19
 
20
20
  ```typescript
21
- import { DevboxSDK } from 'devbox-sdk'
21
+ import { DevboxSDK } from '@labring/devbox-sdk'
22
22
 
23
23
  // Initialize SDK
24
24
  const sdk = new DevboxSDK({
@@ -383,7 +383,7 @@ import {
383
383
  FileOperationError,
384
384
  DevboxNotFoundError,
385
385
  ValidationError
386
- } from 'devbox-sdk'
386
+ } from '@labring/devbox-sdk'
387
387
 
388
388
  try {
389
389
  await sandbox.writeFile('/invalid/path', 'content')
@@ -410,7 +410,7 @@ try {
410
410
  ### Complete AI Agent Workflow
411
411
 
412
412
  ```typescript
413
- import { DevboxSDK } from 'devbox-sdk'
413
+ import { DevboxSDK } from '@labring/devbox-sdk'
414
414
 
415
415
  async function runAIAgent() {
416
416
  const sdk = new DevboxSDK({
@@ -457,7 +457,7 @@ import type {
457
457
  FileMap,
458
458
  ProcessExecOptions,
459
459
  GitCloneOptions
460
- } from 'devbox-sdk'
460
+ } from '@labring/devbox-sdk'
461
461
  ```
462
462
 
463
463
  ## Performance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@labring/devbox-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Enterprise TypeScript SDK for Sealos Devbox management",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",