@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-client",
3
- "version": "2610.0.0",
3
+ "version": "2610.0.1",
4
4
  "description": "Blade Agent 框架无关客户端:会话实时状态机、REST 通道、弹窗登录、页面协作。浏览器与 Node.js 通用。",
5
5
  "repository": {
6
6
  "type": "git",
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