@slates/client 1.0.0-rc.2 → 1.0.0-rc.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/index.d.cts CHANGED
@@ -543,6 +543,17 @@ declare class SlatesProtocolClient {
543
543
  invokeTool(actionId: string, input: Record<string, any>): Promise<{
544
544
  output: Record<string, any>;
545
545
  message?: string | undefined;
546
+ attachments?: {
547
+ content: {
548
+ type: "url";
549
+ url: string;
550
+ } | {
551
+ type: "content";
552
+ encoding: "base64" | "utf-8";
553
+ content: string;
554
+ };
555
+ mimeType?: string | undefined;
556
+ }[] | undefined;
546
557
  requestTraces?: {
547
558
  startedAt: string;
548
559
  durationMs: number;
package/dist/index.d.ts CHANGED
@@ -543,6 +543,17 @@ declare class SlatesProtocolClient {
543
543
  invokeTool(actionId: string, input: Record<string, any>): Promise<{
544
544
  output: Record<string, any>;
545
545
  message?: string | undefined;
546
+ attachments?: {
547
+ content: {
548
+ type: "url";
549
+ url: string;
550
+ } | {
551
+ type: "content";
552
+ encoding: "base64" | "utf-8";
553
+ content: string;
554
+ };
555
+ mimeType?: string | undefined;
556
+ }[] | undefined;
546
557
  requestTraces?: {
547
558
  startedAt: string;
548
559
  durationMs: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slates/client",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,13 +31,13 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@slates/proto": "1.0.0-rc.7",
35
- "@slates/provider": "1.0.0-rc.8",
36
- "@slates/provider-handler": "1.0.0-rc.7"
34
+ "@slates/proto": "1.0.0-rc.8",
35
+ "@slates/provider": "1.0.0-rc.9",
36
+ "@slates/provider-handler": "1.0.0-rc.8"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@slates/tsconfig": "1.0.0-rc.1",
40
40
  "typescript": "5.8.2",
41
41
  "vitest": "^3.1.2"
42
42
  }
43
- }
43
+ }