@castari/sdk 0.3.2 → 0.3.3
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/dist/client.d.ts +9 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +12 -0
- package/dist/client.js.map +1 -1
- package/dist/files.d.ts +95 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +191 -0
- package/dist/files.js.map +1 -0
- package/dist/http.d.ts +11 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +64 -0
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mounts.d.ts +49 -0
- package/dist/mounts.d.ts.map +1 -0
- package/dist/mounts.js +97 -0
- package/dist/mounts.js.map +1 -0
- package/dist/storage.d.ts +81 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +156 -0
- package/dist/storage.js.map +1 -0
- package/dist/types.d.ts +287 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +10 -10
- package/LICENSE +0 -21
package/dist/mounts.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API for managing agent mounts
|
|
3
|
+
*/
|
|
4
|
+
export class MountsAPI {
|
|
5
|
+
client;
|
|
6
|
+
constructor(client) {
|
|
7
|
+
this.client = client;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List all mounts for an agent
|
|
11
|
+
* @param agentSlug - The agent's unique slug
|
|
12
|
+
* @returns Array of mounts
|
|
13
|
+
*/
|
|
14
|
+
async getMounts(agentSlug) {
|
|
15
|
+
const response = await this.client.request('GET', `/agents/${encodeURIComponent(agentSlug)}/mounts`);
|
|
16
|
+
return response.mounts;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Get a specific mount
|
|
20
|
+
* @param agentSlug - The agent's unique slug
|
|
21
|
+
* @param mountId - The mount's ID
|
|
22
|
+
* @returns The mount
|
|
23
|
+
*/
|
|
24
|
+
async getMount(agentSlug, mountId) {
|
|
25
|
+
return this.client.request('GET', `/agents/${encodeURIComponent(agentSlug)}/mounts/${encodeURIComponent(mountId)}`);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Add a mount to an agent
|
|
29
|
+
* @param agentSlug - The agent's unique slug
|
|
30
|
+
* @param options - Mount options
|
|
31
|
+
* @returns The created mount
|
|
32
|
+
*/
|
|
33
|
+
async addMount(agentSlug, options) {
|
|
34
|
+
const body = {
|
|
35
|
+
bucket_slug: options.bucketSlug,
|
|
36
|
+
mount_path: options.mountPath,
|
|
37
|
+
};
|
|
38
|
+
if (options.sourcePrefix !== undefined) {
|
|
39
|
+
body.source_prefix = options.sourcePrefix;
|
|
40
|
+
}
|
|
41
|
+
if (options.permissionRules !== undefined) {
|
|
42
|
+
body.permission_rules = options.permissionRules;
|
|
43
|
+
}
|
|
44
|
+
if (options.cacheEnabled !== undefined) {
|
|
45
|
+
body.cache_enabled = options.cacheEnabled;
|
|
46
|
+
}
|
|
47
|
+
if (options.cacheTtlSeconds !== undefined) {
|
|
48
|
+
body.cache_ttl_seconds = options.cacheTtlSeconds;
|
|
49
|
+
}
|
|
50
|
+
return this.client.request('POST', `/agents/${encodeURIComponent(agentSlug)}/mounts`, { body });
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Update a mount
|
|
54
|
+
* @param agentSlug - The agent's unique slug
|
|
55
|
+
* @param mountId - The mount's ID
|
|
56
|
+
* @param options - Update options
|
|
57
|
+
* @returns The updated mount
|
|
58
|
+
*/
|
|
59
|
+
async updateMount(agentSlug, mountId, options) {
|
|
60
|
+
const body = {};
|
|
61
|
+
if (options.mountPath !== undefined) {
|
|
62
|
+
body.mount_path = options.mountPath;
|
|
63
|
+
}
|
|
64
|
+
if (options.sourcePrefix !== undefined) {
|
|
65
|
+
body.source_prefix = options.sourcePrefix;
|
|
66
|
+
}
|
|
67
|
+
if (options.permissionRules !== undefined) {
|
|
68
|
+
body.permission_rules = options.permissionRules;
|
|
69
|
+
}
|
|
70
|
+
if (options.cacheEnabled !== undefined) {
|
|
71
|
+
body.cache_enabled = options.cacheEnabled;
|
|
72
|
+
}
|
|
73
|
+
if (options.cacheTtlSeconds !== undefined) {
|
|
74
|
+
body.cache_ttl_seconds = options.cacheTtlSeconds;
|
|
75
|
+
}
|
|
76
|
+
if (options.enabled !== undefined) {
|
|
77
|
+
body.enabled = options.enabled;
|
|
78
|
+
}
|
|
79
|
+
return this.client.request('PATCH', `/agents/${encodeURIComponent(agentSlug)}/mounts/${encodeURIComponent(mountId)}`, { body });
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Remove a mount from an agent
|
|
83
|
+
* @param agentSlug - The agent's unique slug
|
|
84
|
+
* @param mountId - The mount's ID
|
|
85
|
+
*/
|
|
86
|
+
async removeMount(agentSlug, mountId) {
|
|
87
|
+
return this.client.request('DELETE', `/agents/${encodeURIComponent(agentSlug)}/mounts/${encodeURIComponent(mountId)}`);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Force sync mounts for a running agent
|
|
91
|
+
* @param agentSlug - The agent's unique slug
|
|
92
|
+
*/
|
|
93
|
+
async syncMounts(agentSlug) {
|
|
94
|
+
return this.client.request('POST', `/agents/${encodeURIComponent(agentSlug)}/files/sync`);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=mounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mounts.js","sourceRoot":"","sources":["../src/mounts.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,MAAM,OAAO,SAAS;IACA;IAApB,YAAoB,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAE1C;;;;OAIG;IACH,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC/B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAA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I,CAAC,MAAM,CAAC,OAAO,CACxB,MAAM,EACN,WAAW,kBAAkB,CAAC,SAAS,CAAC,aAAa,CACtD,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { HttpClient } from './http.js';
|
|
2
|
+
import type { Bucket, CreateBucketOptions, UpdateBucketOptions, BucketCredentials, TestConnectionResult, PresignedUrl, PresignedUrlOptions, FileInfo } from './types.js';
|
|
3
|
+
/**
|
|
4
|
+
* API for managing storage buckets
|
|
5
|
+
*/
|
|
6
|
+
export declare class StorageAPI {
|
|
7
|
+
private client;
|
|
8
|
+
constructor(client: HttpClient);
|
|
9
|
+
/**
|
|
10
|
+
* Create a new storage bucket
|
|
11
|
+
* @param options - Bucket creation options
|
|
12
|
+
* @returns The created bucket
|
|
13
|
+
*/
|
|
14
|
+
createBucket(options: CreateBucketOptions): Promise<Bucket>;
|
|
15
|
+
/**
|
|
16
|
+
* List all buckets for the authenticated user
|
|
17
|
+
* @returns Array of buckets
|
|
18
|
+
*/
|
|
19
|
+
getBuckets(): Promise<Bucket[]>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a bucket by slug
|
|
22
|
+
* @param slug - The bucket's unique slug
|
|
23
|
+
* @returns The bucket
|
|
24
|
+
* @throws NotFoundError if bucket doesn't exist
|
|
25
|
+
*/
|
|
26
|
+
getBucket(slug: string): Promise<Bucket>;
|
|
27
|
+
/**
|
|
28
|
+
* Update a bucket
|
|
29
|
+
* @param slug - The bucket's unique slug
|
|
30
|
+
* @param options - Update options
|
|
31
|
+
* @returns The updated bucket
|
|
32
|
+
*/
|
|
33
|
+
updateBucket(slug: string, options: UpdateBucketOptions): Promise<Bucket>;
|
|
34
|
+
/**
|
|
35
|
+
* Delete a bucket
|
|
36
|
+
* @param slug - The bucket's unique slug
|
|
37
|
+
* @throws NotFoundError if bucket doesn't exist
|
|
38
|
+
*/
|
|
39
|
+
deleteBucket(slug: string): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Set credentials for a bucket
|
|
42
|
+
* @param slug - The bucket's unique slug
|
|
43
|
+
* @param credentials - The credentials to set
|
|
44
|
+
*/
|
|
45
|
+
setCredentials(slug: string, credentials: BucketCredentials): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete credentials for a bucket
|
|
48
|
+
* @param slug - The bucket's unique slug
|
|
49
|
+
*/
|
|
50
|
+
deleteCredentials(slug: string): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Test bucket connection with stored credentials
|
|
53
|
+
* @param slug - The bucket's unique slug
|
|
54
|
+
* @returns Test connection result
|
|
55
|
+
*/
|
|
56
|
+
testConnection(slug: string): Promise<TestConnectionResult>;
|
|
57
|
+
/**
|
|
58
|
+
* Get a presigned URL for uploading a file
|
|
59
|
+
* @param slug - The bucket's unique slug
|
|
60
|
+
* @param path - Path within the bucket
|
|
61
|
+
* @param options - URL options
|
|
62
|
+
* @returns Presigned URL for upload
|
|
63
|
+
*/
|
|
64
|
+
getUploadUrl(slug: string, path: string, options?: PresignedUrlOptions): Promise<PresignedUrl>;
|
|
65
|
+
/**
|
|
66
|
+
* Get a presigned URL for downloading a file
|
|
67
|
+
* @param slug - The bucket's unique slug
|
|
68
|
+
* @param path - Path within the bucket
|
|
69
|
+
* @param options - URL options
|
|
70
|
+
* @returns Presigned URL for download
|
|
71
|
+
*/
|
|
72
|
+
getDownloadUrl(slug: string, path: string, options?: PresignedUrlOptions): Promise<PresignedUrl>;
|
|
73
|
+
/**
|
|
74
|
+
* List files in a bucket
|
|
75
|
+
* @param slug - The bucket's unique slug
|
|
76
|
+
* @param prefix - Optional prefix to filter files
|
|
77
|
+
* @returns Array of file info
|
|
78
|
+
*/
|
|
79
|
+
listFiles(slug: string, prefix?: string): Promise<FileInfo[]>;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/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,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,YAAY,CAAC;IAaxB;;;;;OAKG;IACG,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;CAapE"}
|
package/dist/storage.js
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API for managing storage buckets
|
|
3
|
+
*/
|
|
4
|
+
export class StorageAPI {
|
|
5
|
+
client;
|
|
6
|
+
constructor(client) {
|
|
7
|
+
this.client = client;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new storage bucket
|
|
11
|
+
* @param options - Bucket creation options
|
|
12
|
+
* @returns The created bucket
|
|
13
|
+
*/
|
|
14
|
+
async createBucket(options) {
|
|
15
|
+
const body = {
|
|
16
|
+
name: options.name,
|
|
17
|
+
slug: options.slug,
|
|
18
|
+
provider: options.provider,
|
|
19
|
+
bucket_name: options.bucketName,
|
|
20
|
+
};
|
|
21
|
+
if (options.region) {
|
|
22
|
+
body.region = options.region;
|
|
23
|
+
}
|
|
24
|
+
if (options.endpointUrl) {
|
|
25
|
+
body.endpoint_url = options.endpointUrl;
|
|
26
|
+
}
|
|
27
|
+
return this.client.request('POST', '/buckets', { body });
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* List all buckets for the authenticated user
|
|
31
|
+
* @returns Array of buckets
|
|
32
|
+
*/
|
|
33
|
+
async getBuckets() {
|
|
34
|
+
const response = await this.client.request('GET', '/buckets');
|
|
35
|
+
return response.buckets;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Get a bucket by slug
|
|
39
|
+
* @param slug - The bucket's unique slug
|
|
40
|
+
* @returns The bucket
|
|
41
|
+
* @throws NotFoundError if bucket doesn't exist
|
|
42
|
+
*/
|
|
43
|
+
async getBucket(slug) {
|
|
44
|
+
return this.client.request('GET', `/buckets/${encodeURIComponent(slug)}`);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Update a bucket
|
|
48
|
+
* @param slug - The bucket's unique slug
|
|
49
|
+
* @param options - Update options
|
|
50
|
+
* @returns The updated bucket
|
|
51
|
+
*/
|
|
52
|
+
async updateBucket(slug, options) {
|
|
53
|
+
const body = {};
|
|
54
|
+
if (options.name !== undefined) {
|
|
55
|
+
body.name = options.name;
|
|
56
|
+
}
|
|
57
|
+
if (options.bucketName !== undefined) {
|
|
58
|
+
body.bucket_name = options.bucketName;
|
|
59
|
+
}
|
|
60
|
+
if (options.region !== undefined) {
|
|
61
|
+
body.region = options.region;
|
|
62
|
+
}
|
|
63
|
+
if (options.endpointUrl !== undefined) {
|
|
64
|
+
body.endpoint_url = options.endpointUrl;
|
|
65
|
+
}
|
|
66
|
+
return this.client.request('PATCH', `/buckets/${encodeURIComponent(slug)}`, { body });
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Delete a bucket
|
|
70
|
+
* @param slug - The bucket's unique slug
|
|
71
|
+
* @throws NotFoundError if bucket doesn't exist
|
|
72
|
+
*/
|
|
73
|
+
async deleteBucket(slug) {
|
|
74
|
+
return this.client.request('DELETE', `/buckets/${encodeURIComponent(slug)}`);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Set credentials for a bucket
|
|
78
|
+
* @param slug - The bucket's unique slug
|
|
79
|
+
* @param credentials - The credentials to set
|
|
80
|
+
*/
|
|
81
|
+
async setCredentials(slug, credentials) {
|
|
82
|
+
const body = {};
|
|
83
|
+
if (credentials.accessKeyId) {
|
|
84
|
+
body.access_key_id = credentials.accessKeyId;
|
|
85
|
+
}
|
|
86
|
+
if (credentials.secretAccessKey) {
|
|
87
|
+
body.secret_access_key = credentials.secretAccessKey;
|
|
88
|
+
}
|
|
89
|
+
if (credentials.serviceAccountJson) {
|
|
90
|
+
body.service_account_json = credentials.serviceAccountJson;
|
|
91
|
+
}
|
|
92
|
+
return this.client.request('POST', `/buckets/${encodeURIComponent(slug)}/credentials`, {
|
|
93
|
+
body,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Delete credentials for a bucket
|
|
98
|
+
* @param slug - The bucket's unique slug
|
|
99
|
+
*/
|
|
100
|
+
async deleteCredentials(slug) {
|
|
101
|
+
return this.client.request('DELETE', `/buckets/${encodeURIComponent(slug)}/credentials`);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Test bucket connection with stored credentials
|
|
105
|
+
* @param slug - The bucket's unique slug
|
|
106
|
+
* @returns Test connection result
|
|
107
|
+
*/
|
|
108
|
+
async testConnection(slug) {
|
|
109
|
+
return this.client.request('POST', `/buckets/${encodeURIComponent(slug)}/test`);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Get a presigned URL for uploading a file
|
|
113
|
+
* @param slug - The bucket's unique slug
|
|
114
|
+
* @param path - Path within the bucket
|
|
115
|
+
* @param options - URL options
|
|
116
|
+
* @returns Presigned URL for upload
|
|
117
|
+
*/
|
|
118
|
+
async getUploadUrl(slug, path, options) {
|
|
119
|
+
return this.client.request('POST', `/buckets/${encodeURIComponent(slug)}/upload-url`, {
|
|
120
|
+
body: {
|
|
121
|
+
path,
|
|
122
|
+
expires_in: options?.expiresIn ?? 3600,
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Get a presigned URL for downloading a file
|
|
128
|
+
* @param slug - The bucket's unique slug
|
|
129
|
+
* @param path - Path within the bucket
|
|
130
|
+
* @param options - URL options
|
|
131
|
+
* @returns Presigned URL for download
|
|
132
|
+
*/
|
|
133
|
+
async getDownloadUrl(slug, path, options) {
|
|
134
|
+
return this.client.request('POST', `/buckets/${encodeURIComponent(slug)}/download-url`, {
|
|
135
|
+
body: {
|
|
136
|
+
path,
|
|
137
|
+
expires_in: options?.expiresIn ?? 3600,
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* List files in a bucket
|
|
143
|
+
* @param slug - The bucket's unique slug
|
|
144
|
+
* @param prefix - Optional prefix to filter files
|
|
145
|
+
* @returns Array of file info
|
|
146
|
+
*/
|
|
147
|
+
async listFiles(slug, prefix) {
|
|
148
|
+
const query = {};
|
|
149
|
+
if (prefix) {
|
|
150
|
+
query.prefix = prefix;
|
|
151
|
+
}
|
|
152
|
+
const response = await this.client.request('GET', `/buckets/${encodeURIComponent(slug)}/files`, { query });
|
|
153
|
+
return response.files;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.js","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAcA;;GAEG;AACH,MAAM,OAAO,UAAU;IACD;IAApB,YAAoB,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAE1C;;;;OAIG;IACH,KAAK,CAAC,YAAY,CAAC,OAA4B;QAC7C,MAAM,IAAI,GAA4B;YACpC,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,WAAW,EAAE,OAAO,CAAC,UAAU;SAChC,CAAC;QAEF,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC/B,CAAC;QACD,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;YACxB,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;QAC1C,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAS,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,UAAU;QACd,MAAM,QAAQ,GAAG,MAAM,I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B,IAAY,EACZ,IAAY,EACZ,OAA6B;QAE7B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB,MAAM,EACN,YAAY,kBAAkB,CAAC,IAAI,CAAC,eAAe,EACnD;YACE,IAAI,EAAE;gBACJ,IAAI;gBACJ,UAAU,EAAE,OAAO,EAAE,SAAS,IAAI,IAAI;aACvC;SACF,CACF,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CAAC,IAAY,EAAE,MAAe;QAC3C,MAAM,KAAK,GAAuC,EAAE,CAAC;QACrD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QACxB,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CACxC,KAAK,EACL,YAAY,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAC5C,EAAE,KAAK,EAAE,CACV,CAAC;QACF,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;CACF"}
|
package/dist/types.d.ts
CHANGED
|
@@ -178,4 +178,291 @@ export interface ApiErrorResponse {
|
|
|
178
178
|
detail: string;
|
|
179
179
|
code?: string;
|
|
180
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* Storage provider types
|
|
183
|
+
*/
|
|
184
|
+
export type StorageProvider = 's3' | 'gcs' | 'r2';
|
|
185
|
+
/**
|
|
186
|
+
* A storage bucket configuration
|
|
187
|
+
*/
|
|
188
|
+
export interface Bucket {
|
|
189
|
+
id: string;
|
|
190
|
+
user_id: string;
|
|
191
|
+
name: string;
|
|
192
|
+
slug: string;
|
|
193
|
+
provider: StorageProvider;
|
|
194
|
+
bucket_name: string;
|
|
195
|
+
region?: string | null;
|
|
196
|
+
endpoint_url?: string | null;
|
|
197
|
+
has_credentials: boolean;
|
|
198
|
+
created_at: string;
|
|
199
|
+
updated_at: string;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Response from listing buckets
|
|
203
|
+
*/
|
|
204
|
+
export interface BucketListResponse {
|
|
205
|
+
buckets: Bucket[];
|
|
206
|
+
meta: {
|
|
207
|
+
total: number;
|
|
208
|
+
limit: number;
|
|
209
|
+
offset: number;
|
|
210
|
+
has_more: boolean;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Options for creating a bucket
|
|
215
|
+
*/
|
|
216
|
+
export interface CreateBucketOptions {
|
|
217
|
+
name: string;
|
|
218
|
+
slug: string;
|
|
219
|
+
provider: StorageProvider;
|
|
220
|
+
bucketName: string;
|
|
221
|
+
region?: string;
|
|
222
|
+
endpointUrl?: string;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Options for updating a bucket
|
|
226
|
+
*/
|
|
227
|
+
export interface UpdateBucketOptions {
|
|
228
|
+
name?: string;
|
|
229
|
+
bucketName?: string;
|
|
230
|
+
region?: string;
|
|
231
|
+
endpointUrl?: string;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Bucket credentials
|
|
235
|
+
*/
|
|
236
|
+
export interface BucketCredentials {
|
|
237
|
+
/** S3/R2 access key ID */
|
|
238
|
+
accessKeyId?: string;
|
|
239
|
+
/** S3/R2 secret access key */
|
|
240
|
+
secretAccessKey?: string;
|
|
241
|
+
/** GCS service account JSON */
|
|
242
|
+
serviceAccountJson?: string;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Result from testing bucket connection
|
|
246
|
+
*/
|
|
247
|
+
export interface TestConnectionResult {
|
|
248
|
+
success: boolean;
|
|
249
|
+
message: string;
|
|
250
|
+
latency_ms?: number;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Options for presigned URLs
|
|
254
|
+
*/
|
|
255
|
+
export interface PresignedUrlOptions {
|
|
256
|
+
/** Expiration time in seconds (default: 3600) */
|
|
257
|
+
expiresIn?: number;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Presigned URL response
|
|
261
|
+
*/
|
|
262
|
+
export interface PresignedUrl {
|
|
263
|
+
url: string;
|
|
264
|
+
expires_at: string;
|
|
265
|
+
method: 'GET' | 'PUT';
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* File information
|
|
269
|
+
*/
|
|
270
|
+
export interface FileInfo {
|
|
271
|
+
path: string;
|
|
272
|
+
size: number;
|
|
273
|
+
last_modified: string;
|
|
274
|
+
is_directory: boolean;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Response from listing files
|
|
278
|
+
*/
|
|
279
|
+
export interface FileListResponse {
|
|
280
|
+
files: FileInfo[];
|
|
281
|
+
prefix?: string;
|
|
282
|
+
truncated: boolean;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Permission mode for mount paths
|
|
286
|
+
*/
|
|
287
|
+
export type PermissionMode = 'ro' | 'rw';
|
|
288
|
+
/**
|
|
289
|
+
* Permission rule for a mount path
|
|
290
|
+
*/
|
|
291
|
+
export interface PermissionRule {
|
|
292
|
+
path: string;
|
|
293
|
+
mode: PermissionMode;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* A bucket mount configuration
|
|
297
|
+
*/
|
|
298
|
+
export interface Mount {
|
|
299
|
+
id: string;
|
|
300
|
+
bucket_id: string;
|
|
301
|
+
agent_id: string;
|
|
302
|
+
bucket: Bucket;
|
|
303
|
+
mount_path: string;
|
|
304
|
+
source_prefix: string;
|
|
305
|
+
permission_rules: PermissionRule[];
|
|
306
|
+
cache_enabled: boolean;
|
|
307
|
+
cache_ttl_seconds: number;
|
|
308
|
+
enabled: boolean;
|
|
309
|
+
created_at: string;
|
|
310
|
+
updated_at: string;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Response from listing mounts
|
|
314
|
+
*/
|
|
315
|
+
export interface MountListResponse {
|
|
316
|
+
mounts: Mount[];
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Options for adding a mount
|
|
320
|
+
*/
|
|
321
|
+
export interface AddMountOptions {
|
|
322
|
+
bucketSlug: string;
|
|
323
|
+
mountPath: string;
|
|
324
|
+
sourcePrefix?: string;
|
|
325
|
+
permissionRules?: PermissionRule[];
|
|
326
|
+
cacheEnabled?: boolean;
|
|
327
|
+
cacheTtlSeconds?: number;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Options for updating a mount
|
|
331
|
+
*/
|
|
332
|
+
export interface UpdateMountOptions {
|
|
333
|
+
mountPath?: string;
|
|
334
|
+
sourcePrefix?: string;
|
|
335
|
+
permissionRules?: PermissionRule[];
|
|
336
|
+
cacheEnabled?: boolean;
|
|
337
|
+
cacheTtlSeconds?: number;
|
|
338
|
+
enabled?: boolean;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* File scope for managed storage
|
|
342
|
+
*/
|
|
343
|
+
export type FileScope = 'user' | 'agent' | 'session';
|
|
344
|
+
/**
|
|
345
|
+
* File upload status
|
|
346
|
+
*/
|
|
347
|
+
export type FileUploadStatus = 'pending' | 'confirmed';
|
|
348
|
+
/**
|
|
349
|
+
* A managed file in Castari storage
|
|
350
|
+
*/
|
|
351
|
+
export interface ManagedFile {
|
|
352
|
+
id: string;
|
|
353
|
+
file_id: string;
|
|
354
|
+
filename: string;
|
|
355
|
+
content_type: string | null;
|
|
356
|
+
size_bytes: number;
|
|
357
|
+
sha256_hash: string;
|
|
358
|
+
scope: FileScope;
|
|
359
|
+
scope_id: string | null;
|
|
360
|
+
description: string | null;
|
|
361
|
+
tags: string[];
|
|
362
|
+
upload_status: FileUploadStatus;
|
|
363
|
+
created_at: string;
|
|
364
|
+
updated_at: string;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Response from uploading a file
|
|
368
|
+
*/
|
|
369
|
+
export interface FileUploadResponse {
|
|
370
|
+
file_id: string;
|
|
371
|
+
filename: string;
|
|
372
|
+
content_type: string | null;
|
|
373
|
+
size_bytes: number;
|
|
374
|
+
sha256_hash: string;
|
|
375
|
+
created_at: string;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Response from listing managed files
|
|
379
|
+
*/
|
|
380
|
+
export interface ManagedFileList {
|
|
381
|
+
files: ManagedFile[];
|
|
382
|
+
meta: {
|
|
383
|
+
total: number;
|
|
384
|
+
limit: number;
|
|
385
|
+
offset: number;
|
|
386
|
+
has_more: boolean;
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Storage usage statistics
|
|
391
|
+
*/
|
|
392
|
+
export interface StorageUsage {
|
|
393
|
+
total_files: number;
|
|
394
|
+
total_bytes: number;
|
|
395
|
+
total_mb: number;
|
|
396
|
+
limit_mb: number;
|
|
397
|
+
usage_percent: number;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Presigned upload URL response
|
|
401
|
+
*/
|
|
402
|
+
export interface PresignedUpload {
|
|
403
|
+
file_id: string;
|
|
404
|
+
upload_url: string;
|
|
405
|
+
upload_method: 'PUT';
|
|
406
|
+
upload_headers: Record<string, string>;
|
|
407
|
+
expires_at: string;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* A file attached to an agent
|
|
411
|
+
*/
|
|
412
|
+
export interface AgentFile {
|
|
413
|
+
id: string;
|
|
414
|
+
file_id: string;
|
|
415
|
+
filename: string;
|
|
416
|
+
mount_path: string;
|
|
417
|
+
read_only: boolean;
|
|
418
|
+
size_bytes: number;
|
|
419
|
+
created_at: string;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Response from listing agent files
|
|
423
|
+
*/
|
|
424
|
+
export interface AgentFileList {
|
|
425
|
+
files: AgentFile[];
|
|
426
|
+
total_size_bytes: number;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* Options for attaching a file to an agent
|
|
430
|
+
*/
|
|
431
|
+
export interface AttachFileOptions {
|
|
432
|
+
fileId: string;
|
|
433
|
+
mountPath?: string;
|
|
434
|
+
readOnly?: boolean;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Options for listing managed files
|
|
438
|
+
*/
|
|
439
|
+
export interface ListFilesOptions {
|
|
440
|
+
limit?: number;
|
|
441
|
+
offset?: number;
|
|
442
|
+
scope?: FileScope;
|
|
443
|
+
tags?: string;
|
|
444
|
+
search?: string;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Options for uploading a file
|
|
448
|
+
*/
|
|
449
|
+
export interface UploadFileOptions {
|
|
450
|
+
description?: string;
|
|
451
|
+
tags?: string[];
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Options for updating a file
|
|
455
|
+
*/
|
|
456
|
+
export interface UpdateFileOptions {
|
|
457
|
+
description?: string;
|
|
458
|
+
tags?: string[];
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Options for getting a presigned upload URL
|
|
462
|
+
*/
|
|
463
|
+
export interface GetUploadUrlOptions {
|
|
464
|
+
contentType?: string;
|
|
465
|
+
description?: string;
|
|
466
|
+
tags?: string[];
|
|
467
|
+
}
|
|
181
468
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE9F;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,OAAO,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,OA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