@assemblyline-agents/dropbox 3.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Assembly Line contributors
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,81 @@
1
+ # @assemblyline-agents/dropbox
2
+
3
+ Official Assembly Line direct Dropbox API connection plugin. It calls Dropbox
4
+ API v2 from the runtime host and does not use MCP.
5
+
6
+ ## Install and configure
7
+
8
+ ```sh
9
+ assembly-line add dropbox agent
10
+ ```
11
+
12
+ This creates `connections/dropbox.ts`:
13
+
14
+ ```ts
15
+ import { defineDropboxConnection } from "@assemblyline-agents/dropbox";
16
+
17
+ export default defineDropboxConnection({
18
+ // Reviewed reads and writes are enabled by default.
19
+ });
20
+ ```
21
+
22
+ Create one Dropbox API app in the
23
+ [Dropbox App Console](https://www.dropbox.com/developers/apps). Enable these
24
+ permissions for the full reviewed surface:
25
+
26
+ - `account_info.read`
27
+ - `files.metadata.read`
28
+ - `files.content.read`
29
+ - `files.content.write`
30
+ - `sharing.read`
31
+ - `sharing.write`
32
+
33
+ Choose App Folder or Full Dropbox access to match the product boundary. Set
34
+ the application credentials on the Assembly Line runtime:
35
+
36
+ ```sh
37
+ DROPBOX_APP_KEY=your_app_key
38
+ DROPBOX_APP_SECRET=your_app_secret
39
+ ```
40
+
41
+ Register the exact Assembly Line callback URL in the Dropbox app. It is the
42
+ public runtime origin followed by `/assembly-line/connections/callback`. Set
43
+ `DROPBOX_REDIRECT_URI` only when the connection should override the runtime's
44
+ derived callback URL.
45
+
46
+ The default OAuth flow uses Authorization Code + PKCE and requests offline
47
+ access so the host can store and rotate a refreshable user grant. Tokens remain
48
+ outside agent files and model context. For a local, single-account test, pass a
49
+ custom `auth` definition that reads a generated access token from host env;
50
+ do not commit the token.
51
+
52
+ ## Reviewed surface
53
+
54
+ Read tools cover the connected account, space usage, metadata, folder listing,
55
+ search, temporary content links, and existing shared links. Write tools create,
56
+ copy, move, and delete files or folders and create shared links. New Dropbox
57
+ routes stay hidden until this package reviews and classifies them.
58
+
59
+ Use the read-only preset to hide every mutation and request only read scopes:
60
+
61
+ ```ts
62
+ export default defineDropboxConnection({ access: "read-only" });
63
+ ```
64
+
65
+ Use `access: "approval-required"` to require approval for every reviewed
66
+ Dropbox mutation.
67
+
68
+ This first layer intentionally omits binary upload and download. Dropbox serves
69
+ those calls from a separate content origin, while Assembly Line's direct HTTP
70
+ tool results are JSON/text. `files_get_temporary_link` provides a bounded
71
+ content handoff without treating arbitrary file bytes as model text.
72
+
73
+ Official references:
74
+
75
+ - [Dropbox OAuth guide](https://developers.dropbox.com/oauth-guide)
76
+ - [Dropbox file access guide](https://developers.dropbox.com/dbx-file-access-guide)
77
+ - [Dropbox API Explorer](https://dropbox.github.io/dropbox-api-v2-explorer/)
78
+
79
+ ## License
80
+
81
+ MIT
@@ -0,0 +1,7 @@
1
+ import { type ConnectionAuthDefinition, type HttpApiPluginConnectionOptions } from "@assemblyline-agents/core";
2
+ export interface DropboxConnectionOptions extends Omit<HttpApiPluginConnectionOptions, "auth" | "operations"> {
3
+ auth?: ConnectionAuthDefinition | false;
4
+ }
5
+ export declare function defineDropboxConnection(options?: DropboxConnectionOptions): import("@assemblyline-agents/core").HttpApiConnectionDefinition;
6
+ export declare const assemblyLinePlugin: import("@assemblyline-agents/core").PluginModule;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,wBAAwB,EAE7B,KAAK,8BAA8B,EAEpC,MAAM,2BAA2B,CAAC;AA0KnC,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,8BAA8B,EAAE,MAAM,GAAG,YAAY,CAAC;IAC3G,IAAI,CAAC,EAAE,wBAAwB,GAAG,KAAK,CAAC;CACzC;AAED,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,wBAA6B,mEAO7E;AAED,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,146 @@
1
+ import { connectionPluginMetadata, defineHttpApiPluginConnection, defineOAuthAuthorization, definePlugin } from "@assemblyline-agents/core";
2
+ const PLUGIN = connectionPluginMetadata("dropbox");
3
+ const READ_SCOPES = [
4
+ "account_info.read",
5
+ "files.metadata.read",
6
+ "files.content.read",
7
+ "sharing.read"
8
+ ];
9
+ const WRITE_SCOPES = ["files.content.write", "sharing.write"];
10
+ const PATH_ROOT_PARAMETER = {
11
+ name: "Dropbox-API-Path-Root",
12
+ in: "header",
13
+ schema: {
14
+ type: "string",
15
+ description: "Optional JSON-encoded Dropbox path-root selector for team spaces or namespaces."
16
+ }
17
+ };
18
+ const pathSchema = {
19
+ type: "string",
20
+ description: "Dropbox path, file/folder id, or revision accepted by this route. Use an empty string for the root where supported."
21
+ };
22
+ const cursorSchema = {
23
+ type: "string",
24
+ description: "Opaque cursor returned by the corresponding first-page operation."
25
+ };
26
+ const emptyRequestSchema = {
27
+ type: "null",
28
+ description: "Dropbox no-argument RPC routes require a JSON null body."
29
+ };
30
+ const pathRequestSchema = objectSchema({ path: pathSchema }, ["path"]);
31
+ const DROPBOX_OPERATIONS = [
32
+ rpcOperation("users_get_current_account", "Get identity and account details for the connected Dropbox user.", "/users/get_current_account", emptyRequestSchema),
33
+ rpcOperation("users_get_space_usage", "Get used and allocated Dropbox space for the connected user.", "/users/get_space_usage", emptyRequestSchema),
34
+ rpcOperation("files_get_metadata", "Get metadata for one Dropbox file or folder by path or id.", "/files/get_metadata", objectSchema({
35
+ path: pathSchema,
36
+ include_media_info: { type: "boolean" },
37
+ include_deleted: { type: "boolean" },
38
+ include_has_explicit_shared_members: { type: "boolean" }
39
+ }, ["path"]), true),
40
+ rpcOperation("files_list_folder", "List a Dropbox folder. If has_more is true, continue with files_list_folder_continue and the returned cursor.", "/files/list_folder", objectSchema({
41
+ path: pathSchema,
42
+ recursive: { type: "boolean" },
43
+ include_deleted: { type: "boolean" },
44
+ include_mounted_folders: { type: "boolean" },
45
+ include_non_downloadable_files: { type: "boolean" },
46
+ limit: { type: "integer", minimum: 1, maximum: 2000 }
47
+ }, ["path"]), true),
48
+ rpcOperation("files_list_folder_continue", "Continue a paginated Dropbox folder listing with its opaque cursor.", "/files/list_folder/continue", objectSchema({ cursor: cursorSchema }, ["cursor"]), true),
49
+ rpcOperation("files_search_v2", "Search Dropbox file and folder metadata by query, optionally scoped to a path.", "/files/search_v2", objectSchema({
50
+ query: { type: "string", minLength: 1 },
51
+ options: objectSchema({
52
+ path: pathSchema,
53
+ max_results: { type: "integer", minimum: 1, maximum: 1000 },
54
+ filename_only: { type: "boolean" },
55
+ file_extensions: { type: "array", items: { type: "string" } },
56
+ file_categories: { type: "array", items: { type: "object", additionalProperties: true } }
57
+ })
58
+ }, ["query"]), true),
59
+ rpcOperation("files_search_continue_v2", "Continue a paginated Dropbox search with its opaque cursor.", "/files/search/continue_v2", objectSchema({ cursor: cursorSchema }, ["cursor"]), true),
60
+ rpcOperation("files_get_temporary_link", "Create a short-lived download link for one Dropbox file.", "/files/get_temporary_link", pathRequestSchema, true),
61
+ rpcOperation("sharing_list_shared_links", "List shared links, optionally limited to a Dropbox path and direct links.", "/sharing/list_shared_links", objectSchema({
62
+ path: pathSchema,
63
+ cursor: cursorSchema,
64
+ direct_only: { type: "boolean" }
65
+ }), true),
66
+ rpcOperation("files_create_folder_v2", "Create a Dropbox folder.", "/files/create_folder_v2", objectSchema({ path: pathSchema, autorename: { type: "boolean" } }, ["path"]), true),
67
+ rpcOperation("files_copy_v2", "Copy a Dropbox file or folder to another Dropbox path.", "/files/copy_v2", relocationSchema(), true),
68
+ rpcOperation("files_move_v2", "Move or rename a Dropbox file or folder.", "/files/move_v2", relocationSchema(), true),
69
+ rpcOperation("files_delete_v2", "Delete a Dropbox file or folder and return its metadata at deletion time.", "/files/delete_v2", objectSchema({ path: pathSchema, parent_rev: { type: "string" } }, ["path"]), true),
70
+ rpcOperation("sharing_create_shared_link_with_settings", "Create a Dropbox shared link for a file or folder with optional provider-native settings.", "/sharing/create_shared_link_with_settings", objectSchema({
71
+ path: pathSchema,
72
+ settings: {
73
+ type: "object",
74
+ description: "Dropbox shared-link settings such as audience, access level, expiry, password, and allow_download.",
75
+ additionalProperties: true
76
+ }
77
+ }, ["path"]), true)
78
+ ];
79
+ export function defineDropboxConnection(options = {}) {
80
+ const { auth, ...connection } = options;
81
+ return defineHttpApiPluginConnection(PLUGIN, {
82
+ ...connection,
83
+ operations: DROPBOX_OPERATIONS,
84
+ auth: auth === false ? false : auth ?? dropboxOAuth(options.access)
85
+ });
86
+ }
87
+ export const assemblyLinePlugin = definePlugin({ connections: [PLUGIN] });
88
+ function dropboxOAuth(access) {
89
+ return ({ env }) => {
90
+ const clientId = env.DROPBOX_APP_KEY?.trim();
91
+ const clientSecret = env.DROPBOX_APP_SECRET?.trim();
92
+ const redirectUri = env.DROPBOX_REDIRECT_URI?.trim();
93
+ if (!clientId || !clientSecret) {
94
+ throw new Error("Dropbox OAuth requires DROPBOX_APP_KEY and DROPBOX_APP_SECRET.");
95
+ }
96
+ return defineOAuthAuthorization({
97
+ displayName: "Dropbox",
98
+ authorizeUrl: "https://www.dropbox.com/oauth2/authorize",
99
+ tokenUrl: "https://api.dropboxapi.com/oauth2/token",
100
+ clientId,
101
+ clientSecret,
102
+ scopes: writesEnabled(access) ? [...READ_SCOPES, ...WRITE_SCOPES] : [...READ_SCOPES],
103
+ ...(redirectUri ? { redirectUri } : {}),
104
+ authorizationParams: { token_access_type: "offline" },
105
+ pkce: true
106
+ });
107
+ };
108
+ }
109
+ function writesEnabled(access) {
110
+ if (access === "read-only")
111
+ return false;
112
+ return typeof access !== "object" || access.write !== false;
113
+ }
114
+ function rpcOperation(name, description, path, schema, pathRoot = false) {
115
+ return {
116
+ name,
117
+ description,
118
+ method: "POST",
119
+ path,
120
+ ...(pathRoot ? { parameters: [PATH_ROOT_PARAMETER] } : {}),
121
+ body: {
122
+ contentType: "application/json",
123
+ field: "body",
124
+ schema,
125
+ required: true
126
+ }
127
+ };
128
+ }
129
+ function objectSchema(properties, required = []) {
130
+ return {
131
+ type: "object",
132
+ properties,
133
+ ...(required.length > 0 ? { required } : {}),
134
+ additionalProperties: false
135
+ };
136
+ }
137
+ function relocationSchema() {
138
+ return objectSchema({
139
+ from_path: pathSchema,
140
+ to_path: pathSchema,
141
+ allow_shared_folder: { type: "boolean" },
142
+ autorename: { type: "boolean" },
143
+ allow_ownership_transfer: { type: "boolean" }
144
+ }, ["from_path", "to_path"]);
145
+ }
146
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B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,EAAE;QAC/B,wBAAwB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC9C,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;AAC/B,CAAC"}
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@assemblyline-agents/dropbox",
3
+ "version": "3.0.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "default": "./dist/index.js"
9
+ }
10
+ },
11
+ "dependencies": {
12
+ "@assemblyline-agents/core": "3.0.0"
13
+ },
14
+ "description": "Official Assembly Line direct Dropbox API connection plugin.",
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "engines": {
19
+ "node": ">=22.19.0"
20
+ },
21
+ "license": "MIT",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/jasonbadeaux/assembly-line.git",
25
+ "directory": "packages/dropbox"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/jasonbadeaux/assembly-line/issues"
29
+ },
30
+ "homepage": "https://github.com/jasonbadeaux/assembly-line#readme",
31
+ "author": "Assembly Line contributors",
32
+ "keywords": [
33
+ "assembly-line",
34
+ "ai",
35
+ "agents",
36
+ "dropbox",
37
+ "storage",
38
+ "oauth",
39
+ "connection",
40
+ "plugin"
41
+ ],
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "scripts": {
46
+ "build": "tsc -p tsconfig.json",
47
+ "check": "tsc -p tsconfig.json --noEmit"
48
+ }
49
+ }