@penclipai/plugin-daytona 0.1.0 → 2026.511.0-canary.1

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/package.json +7 -7
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Paperclip AI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # `@penclipai/plugin-daytona`
2
+
3
+ Published Daytona sandbox provider plugin for Paperclip.
4
+
5
+ This package lives in the Paperclip monorepo, but it is intentionally excluded from the root `pnpm` workspace and shaped to publish and install like a standalone npm package. That lets operators install it from the Plugins page by package name without introducing root lockfile churn for Daytona's SDK dependencies.
6
+
7
+ ## Install
8
+
9
+ From a Paperclip instance, install:
10
+
11
+ ```text
12
+ @penclipai/plugin-daytona
13
+ ```
14
+
15
+ This fork package is published under the `@penclipai` scope and is enrolled in CI release publishing after its initial npm bootstrap publish.
16
+
17
+ For development, source imports keep the upstream-compatible `@paperclipai/plugin-sdk` name. Publish packaging rewrites that local development link to an npm alias targeting `@penclipai/plugin-sdk`.
18
+
19
+ The host plugin installer runs `npm install` into the managed plugin directory, so transitive dependencies such as `@daytonaio/sdk` are pulled in during installation.
20
+
21
+ ## Configuration
22
+
23
+ Configure Daytona from `Company Settings -> Environments`, not from the plugin's instance settings page.
24
+
25
+ - Put the Daytona API key on the sandbox environment itself.
26
+ - When you save an environment, Paperclip stores pasted API keys as company secrets.
27
+ - `DAYTONA_API_KEY` remains an optional host-level fallback when an environment omits the key.
28
+ - Optional `apiUrl` and `target` settings map directly to the Daytona SDK/client configuration. If `apiUrl` is omitted, the Daytona SDK uses its default endpoint.
29
+
30
+ Notes:
31
+
32
+ - The current published Daytona SDK package is `@daytonaio/sdk`.
33
+ - The driver supports both `snapshot`-based and `image`-based sandbox creation. If both are set, validation rejects the config as ambiguous.
34
+ - Reusable leases map to Daytona stop/start semantics. Non-reusable leases are deleted on release.
35
+
36
+ ## Local development
37
+
38
+ ```bash
39
+ cd packages/plugins/sandbox-providers/daytona
40
+ pnpm install --ignore-workspace --no-lockfile
41
+ pnpm build
42
+ pnpm test
43
+ pnpm typecheck
44
+ ```
45
+
46
+ These commands assume the repo root has already been installed once so the local `@paperclipai/plugin-sdk` workspace package is available to the compiler during development.
47
+
48
+ ## Package layout
49
+
50
+ - `src/manifest.ts` declares the sandbox-provider driver metadata
51
+ - `src/plugin.ts` implements the environment lifecycle hooks
52
+ - `paperclipPlugin.manifest` and `paperclipPlugin.worker` point the host at the built plugin entrypoints in `dist/`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@penclipai/plugin-daytona",
3
- "version": "0.1.0",
3
+ "version": "2026.511.0-canary.1",
4
4
  "description": "Daytona sandbox provider plugin for Paperclip environments",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/penclipai/paperclip-cn",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git+https://github.com/penclipai/paperclip-cn.git",
12
+ "url": "https://github.com/penclipai/paperclip-cn",
13
13
  "directory": "packages/plugins/sandbox-providers/daytona"
14
14
  },
15
15
  "type": "module",
@@ -19,6 +19,8 @@
19
19
  "import": "./dist/index.js"
20
20
  }
21
21
  },
22
+ "main": "./dist/index.js",
23
+ "types": "./dist/index.d.ts",
22
24
  "publishConfig": {
23
25
  "access": "public"
24
26
  },
@@ -36,9 +38,7 @@
36
38
  "daytona"
37
39
  ],
38
40
  "dependencies": {
39
- "@paperclipai/plugin-sdk": "npm:@penclipai/plugin-sdk@2026.508.2",
41
+ "@paperclipai/plugin-sdk": "npm:@penclipai/plugin-sdk@2026.511.0-canary.1",
40
42
  "@daytonaio/sdk": "^0.171.0"
41
- },
42
- "main": "./dist/index.js",
43
- "types": "./dist/index.d.ts"
44
- }
43
+ }
44
+ }