agentic-drive 0.11.0 → 0.11.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.
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/dist/{chunk-NMHARN2A.js → chunk-W27ZQYPT.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.1
|
|
4
|
+
|
|
5
|
+
- Allow `agentic-design` and `agentic-identity` releases below 1.0.0 while keeping the existing lower bounds. Test with identity 0.12.0 and design 0.10.1.
|
|
6
|
+
|
|
3
7
|
## 0.11.0
|
|
4
8
|
|
|
5
9
|
- Add `onOpenItem` to the public UI options. Hosts can handle reference opens in list and grid views by pointer or keyboard. Export `OnOpenItem` and `Item` from `agentic-drive/ui`. Keep the download action for unhandled items.
|
package/README.md
CHANGED
|
@@ -323,7 +323,7 @@ drive.update({ baseUrl: location.origin, getToken: () => session.token, onOpenIt
|
|
|
323
323
|
|
|
324
324
|
`DriveUiOptions` exports this optional hook for both `mount` and `DriveBrowser`. `update()` can replace or remove it. React hosts can change the `onOpenItem` prop without resetting the current folder. The callback is synchronous.
|
|
325
325
|
|
|
326
|
-
`getToken` returns 1 to 512 letters, digits, `-` or `_`, or `undefined` to send no `authorization` header. A bad `baseUrl` or a `getToken` that is not a function makes `mount` throw a `TypeError`. The server still checks every request against the token. The embed shows files and trash with upload, rename, move, share, and the "Created by agent" label. It has no sign-in form, because your app owns sign-in. It does not change the page address, and it has no theme switch. `agentic-design/styles.css` sets base styles for the whole page, and it follows the dark mode of the system unless your page sets `data-theme`. Add `agentic-design@">=0.8.0 <0.
|
|
326
|
+
`getToken` returns 1 to 512 letters, digits, `-` or `_`, or `undefined` to send no `authorization` header. A bad `baseUrl` or a `getToken` that is not a function makes `mount` throw a `TypeError`. The server still checks every request against the token. The embed shows files and trash with upload, rename, move, share, and the "Created by agent" label. It has no sign-in form, because your app owns sign-in. It does not change the page address, and it has no theme switch. `agentic-design/styles.css` sets base styles for the whole page, and it follows the dark mode of the system unless your page sets `data-theme`. Add `agentic-design@">=0.8.0 <1.0.0"` to your own dependencies, because your page imports its files. The Worker sends no CORS headers, so the server must be on the origin of your page. Set `baseUrl` to the same address as `DRIVE_PUBLIC_URL`, or the UI refuses its download links. `unmount` and `update` abort the requests that run and stop an upload that has more files to send. The UI keeps the list or grid choice in `localStorage` under `agentic-drive-view`, and it has its own heading for each view. Dialogs, menus, and messages render in `document.body`, outside your element. A click with Ctrl, Cmd, Shift, or the middle button on a folder link does not open the folder. The class names start with `drive-`. The design-system classes start with `agd-`. `DriveBrowser` is the same UI as a React component. It closes its requests when it unmounts. Wrap it in `TooltipProvider` and `ToastProvider` from `agentic-design/react`. `react` and `react-dom` (version 19 or later) are optional peer dependencies. Install them in your project when you use `agentic-drive/ui`. The web UI that the Worker serves uses the same views.
|
|
327
327
|
|
|
328
328
|
### Serve the UI from the package
|
|
329
329
|
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/dist/mcp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-drive",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Store, sort, and share files and folders.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"drive",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
81
|
-
"agentic-design": ">=0.8.0 <0.
|
|
82
|
-
"agentic-identity": ">=0.9.0 <0.
|
|
81
|
+
"agentic-design": ">=0.8.0 <1.0.0",
|
|
82
|
+
"agentic-identity": ">=0.9.0 <1.0.0",
|
|
83
83
|
"hono": "^4.13.14",
|
|
84
84
|
"zod": "^4.6.6"
|
|
85
85
|
},
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@types/react-dom": "^19.3.0",
|
|
93
93
|
"@vitejs/plugin-react": "^5.2.0",
|
|
94
94
|
"agentic-design-tested": "npm:agentic-design@0.10.1",
|
|
95
|
-
"agentic-identity-tested": "npm:agentic-identity@0.
|
|
95
|
+
"agentic-identity-tested": "npm:agentic-identity@0.12.0",
|
|
96
96
|
"esbuild": "^0.27.7",
|
|
97
97
|
"jsdom": "^26.1.0",
|
|
98
98
|
"miniflare": "^4.20260730.0",
|