@hasna/sandboxes 0.1.27 → 0.1.29
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.
- package/README.md +32 -4
- package/dist/cli/cloud.d.ts +2 -0
- package/dist/cli/index.js +5454 -9376
- package/dist/db/cloud-config.d.ts +13 -0
- package/dist/db/cloud-sync.d.ts +29 -0
- package/dist/db/database.d.ts +1 -0
- package/dist/db/pg-migrate.d.ts +7 -0
- package/dist/db/remote-storage.d.ts +11 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5525 -9678
- package/dist/lib/archive.d.ts +2 -0
- package/dist/lib/secrets.d.ts +1 -1
- package/dist/mcp/cloud-tools.d.ts +2 -0
- package/dist/mcp/http.d.ts +2 -1
- package/dist/mcp/index.js +1989 -6787
- package/dist/sdk.d.ts +1 -0
- package/dist/server/index.js +2560 -7388
- package/dist/types/index.d.ts +6 -0
- package/package.json +4 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -179,6 +179,12 @@ export interface FileInfo {
|
|
|
179
179
|
export interface UploadDirOptions {
|
|
180
180
|
/** Patterns to exclude (passed to `tar --exclude`); defaults applied by the archiver. */
|
|
181
181
|
exclude?: string[];
|
|
182
|
+
/**
|
|
183
|
+
* How to prepare the upload payload. `archive` tars the source directory
|
|
184
|
+
* directly; `rsync` first mirrors the source into a temporary staging
|
|
185
|
+
* directory with rsync, then uploads the staged tree.
|
|
186
|
+
*/
|
|
187
|
+
syncStrategy?: "archive" | "rsync";
|
|
182
188
|
}
|
|
183
189
|
export interface UploadDirResult {
|
|
184
190
|
/** Number of bytes uploaded (compressed archive size). */
|
package/package.json
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/sandboxes",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"author": "Andrei Hasna <andrei@hasna.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/hasna/sandboxes.git"
|
|
7
|
+
"url": "git+https://github.com/hasna/sandboxes.git"
|
|
8
8
|
},
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@daytonaio/sdk": "^0.18.0",
|
|
12
12
|
"@e2b/code-interpreter": "^1.5.0",
|
|
13
|
-
"@hasna/cloud": "^0.1.24",
|
|
14
13
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
15
14
|
"chalk": "^5.4.1",
|
|
16
15
|
"commander": "^13.1.0",
|
|
17
16
|
"ink": "^5.2.0",
|
|
17
|
+
"pg": "^8.13.3",
|
|
18
18
|
"react": "^18.3.1",
|
|
19
19
|
"zod": "^3.24.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/bun": "^1.2.4",
|
|
23
|
+
"@types/pg": "^8.11.11",
|
|
23
24
|
"@types/react": "^18.3.18",
|
|
24
25
|
"typescript": "^5.7.3"
|
|
25
26
|
},
|