@blade-hq/agent-client 2610.0.0 → 2610.0.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/README.md +2 -1
- package/dist/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/dist/resources/sessions.d.ts +5 -0
- package/package.json +1 -1
- package/public-api.md +1 -1
|
@@ -507,6 +507,11 @@ export declare class SessionsResource {
|
|
|
507
507
|
uploadFiles(sessionId: string, dirPath: string, files: FileList | File[] | UploadFileEntry[], options?: UploadFilesOptions): Promise<{
|
|
508
508
|
uploaded: string[];
|
|
509
509
|
failed: string[];
|
|
510
|
+
results: Array<{
|
|
511
|
+
index: number;
|
|
512
|
+
path?: string;
|
|
513
|
+
error?: string;
|
|
514
|
+
}>;
|
|
510
515
|
}>;
|
|
511
516
|
/** 把应用自己的业务 CLI 安装到会话沙盒,并保留开发者声明的命令名。 */
|
|
512
517
|
attachAppCli(sessionId: string, definition: AppCliDefinition): Promise<AppCliAttachment>;
|
package/package.json
CHANGED
package/public-api.md
CHANGED
|
@@ -1883,7 +1883,7 @@ updateSession: (sessionId: string, payload: { intent?: string; chat_group_id?: s
|
|
|
1883
1883
|
updateSessionMemory: (sessionId: string, memoryEnabled: boolean) => Promise<{ memory_enabled: boolean; }>
|
|
1884
1884
|
updateSessionPluginConfig: (sessionId: string, name: string, update: SessionPluginConfigUpdate, init?: RequestInit) => Promise<{ plugin: string; config: SessionPluginConfigState; }>
|
|
1885
1885
|
updateSharing: (sessionId: string, shared: boolean) => Promise<{ shared: boolean; }>
|
|
1886
|
-
uploadFiles: (sessionId: string, dirPath: string, files: FileList | File[] | UploadFileEntry[], options?: UploadFilesOptions) => Promise<{ uploaded: string[]; failed: string[]; }>
|
|
1886
|
+
uploadFiles: (sessionId: string, dirPath: string, files: FileList | File[] | UploadFileEntry[], options?: UploadFilesOptions) => Promise<{ uploaded: string[]; failed: string[]; results: Array<{ index: number; path?: string; error?: string; }>; }>
|
|
1887
1887
|
writeFile: (sessionId: string, filePath: string, content: string) => Promise<{ success: boolean; }>
|
|
1888
1888
|
```
|
|
1889
1889
|
|