agentic-drive 0.3.0 → 0.4.0
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/CHANGELOG.md +33 -0
- package/README.md +94 -5
- package/dist/{chunk-VSVIJBMJ.js → chunk-ATJDMCRV.js} +61 -9
- package/dist/{chunk-GMA5I5L6.js → chunk-DRACF66Y.js} +1 -1
- package/dist/{chunk-5KEISBS4.js → chunk-L7GASKBQ.js} +1 -1
- package/dist/cli.js +44 -14
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -2
- package/dist/{drive-Dlzwukjq.d.ts → drive-Cn3mpuDW.d.ts} +3 -3
- package/dist/index.d.ts +26 -16
- package/dist/index.js +15 -3
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +2 -2
- package/dist/worker.d.ts +8 -7
- package/dist/worker.js +4 -8
- package/llms.txt +1 -1
- package/package.json +16 -3
- package/ui-dist/_headers +4 -0
- package/ui-dist/assets/index-e_cefh0u.js +49 -0
- package/ui-dist/assets/index-xUEd8lQS.css +1 -0
- package/ui-dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/ui-dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/ui-dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/ui-dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/ui-dist/index.html +14 -0
- package/ui-dist/theme-init.js +1 -0
package/llms.txt
CHANGED
|
@@ -6,7 +6,7 @@ Keywords: drive,files,folders,storage,upload,sharing,agents,mcp,cli,r2.
|
|
|
6
6
|
|
|
7
7
|
- SDK: import { createDrive } from "agentic-drive".
|
|
8
8
|
- Remote SDK: import { createClient } from "agentic-drive/client". createClient({ baseUrl, token, fetch?, retries? }) has one method for each bearer route and each shared route (list, stat, mkdir, upload, download, move, trash, restore, purge, search, share, createLink, and more). A failed call throws DriveApiError with code and status. It runs in browsers, Workers, and Node 22.
|
|
9
|
-
- CLI: agentic-drive ls /.
|
|
9
|
+
- CLI: agentic-drive ls /. Needs a principal: set AGENTIC_DRIVE_TOKEN (or --token) to an API key. Make one with `principal add <id> [--of <person>]` and `key issue <id>`. No key, or a revoked key, exits 3.
|
|
10
10
|
- MCP: run agentic-drive mcp, then call drive_ls.
|
|
11
11
|
|
|
12
12
|
## Docs
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-drive",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Store, sort, and share files and folders.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"drive",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"dist",
|
|
30
|
+
"ui-dist",
|
|
30
31
|
"README.md",
|
|
31
32
|
"CHANGELOG.md",
|
|
32
33
|
"LICENSE",
|
|
@@ -58,8 +59,11 @@
|
|
|
58
59
|
"typecheck": "tsc --noEmit",
|
|
59
60
|
"test": "vitest run",
|
|
60
61
|
"clean": "rm -rf dist",
|
|
61
|
-
"prepack": "npm run build --silent >&2",
|
|
62
|
-
"ci:local": "npm run build && npm run typecheck && npm test"
|
|
62
|
+
"prepack": "npm run build --silent >&2 && npm run build:ui --silent >&2",
|
|
63
|
+
"ci:local": "npm run build && npm run build:ui && npm run typecheck && npm test && npm run test:e2e",
|
|
64
|
+
"build:ui": "vite build",
|
|
65
|
+
"deploy:demo": "npm run build:ui && wrangler deploy -c wrangler.demo.jsonc",
|
|
66
|
+
"test:e2e": "playwright test"
|
|
63
67
|
},
|
|
64
68
|
"dependencies": {
|
|
65
69
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
@@ -68,10 +72,19 @@
|
|
|
68
72
|
"zod": "^3.25.0"
|
|
69
73
|
},
|
|
70
74
|
"devDependencies": {
|
|
75
|
+
"@axe-core/playwright": "^4.14.0",
|
|
76
|
+
"@playwright/test": "^1.64.1",
|
|
71
77
|
"@types/node": "^22.0.0",
|
|
78
|
+
"@types/react": "^19.3.0",
|
|
79
|
+
"@types/react-dom": "^19.3.0",
|
|
80
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
81
|
+
"agentic-design": "^0.1.0",
|
|
72
82
|
"miniflare": "^4.20260730.0",
|
|
83
|
+
"react": "^19.3.1",
|
|
84
|
+
"react-dom": "^19.3.1",
|
|
73
85
|
"tsup": "^8.0.0",
|
|
74
86
|
"typescript": "^5.6.0",
|
|
87
|
+
"vite": "^7.3.7",
|
|
75
88
|
"vitest": "^3.0.0",
|
|
76
89
|
"wrangler": "^4.155.0"
|
|
77
90
|
},
|
package/ui-dist/_headers
ADDED