spectrum-ts 1.13.0 → 1.13.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.
@@ -665,7 +665,7 @@ async function spectrumToProtocol(content) {
665
665
  }
666
666
  throw UnsupportedError.content(
667
667
  content.type,
668
- "terminal"
668
+ "Terminal"
669
669
  );
670
670
  }
671
671
  function protocolToSpectrum(p) {
@@ -7,7 +7,7 @@ import {
7
7
  } from "../chunk-E7AXYNOZ.js";
8
8
  import {
9
9
  terminal
10
- } from "../chunk-ZGWANTLX.js";
10
+ } from "../chunk-NBXNTQIQ.js";
11
11
  import "../chunk-4TXLNBGE.js";
12
12
  import {
13
13
  whatsappBusiness
@@ -107,15 +107,15 @@ declare const terminal: Platform<PlatformDef<"Terminal", z__default.ZodObject<{
107
107
  } | undefined;
108
108
  id: string;
109
109
  content: {
110
- type: "text";
111
- text: string;
112
- } | {
113
110
  type: "attachment";
114
111
  name: string;
115
112
  mimeType: string;
116
113
  read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
117
114
  stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
118
115
  size?: number | undefined;
116
+ } | {
117
+ type: "text";
118
+ text: string;
119
119
  } | {
120
120
  type: "custom";
121
121
  raw: unknown;
@@ -210,15 +210,15 @@ declare const terminal: Platform<PlatformDef<"Terminal", z__default.ZodObject<{
210
210
  } | {
211
211
  type: "effect";
212
212
  content: {
213
- type: "text";
214
- text: string;
215
- } | {
216
213
  type: "attachment";
217
214
  name: string;
218
215
  mimeType: string;
219
216
  read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
220
217
  stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
221
218
  size?: number | undefined;
219
+ } | {
220
+ type: "text";
221
+ text: string;
222
222
  };
223
223
  effect: string;
224
224
  } | {
@@ -237,17 +237,17 @@ declare const terminal: Platform<PlatformDef<"Terminal", z__default.ZodObject<{
237
237
  kind: "clear";
238
238
  };
239
239
  } | {
240
- type: "edit";
240
+ type: "reply";
241
241
  content: {
242
- type: "text";
243
- text: string;
244
- } | {
245
242
  type: "attachment";
246
243
  name: string;
247
244
  mimeType: string;
248
245
  read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
249
246
  stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
250
247
  size?: number | undefined;
248
+ } | {
249
+ type: "text";
250
+ text: string;
251
251
  } | {
252
252
  type: "custom";
253
253
  raw: unknown;
@@ -342,15 +342,15 @@ declare const terminal: Platform<PlatformDef<"Terminal", z__default.ZodObject<{
342
342
  } | {
343
343
  type: "effect";
344
344
  content: {
345
- type: "text";
346
- text: string;
347
- } | {
348
345
  type: "attachment";
349
346
  name: string;
350
347
  mimeType: string;
351
348
  read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
352
349
  stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
353
350
  size?: number | undefined;
351
+ } | {
352
+ type: "text";
353
+ text: string;
354
354
  };
355
355
  effect: string;
356
356
  } | {
@@ -371,17 +371,17 @@ declare const terminal: Platform<PlatformDef<"Terminal", z__default.ZodObject<{
371
371
  };
372
372
  target: Message<string, User, Space<unknown>>;
373
373
  } | {
374
- type: "reply";
374
+ type: "edit";
375
375
  content: {
376
- type: "text";
377
- text: string;
378
- } | {
379
376
  type: "attachment";
380
377
  name: string;
381
378
  mimeType: string;
382
379
  read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
383
380
  stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
384
381
  size?: number | undefined;
382
+ } | {
383
+ type: "text";
384
+ text: string;
385
385
  } | {
386
386
  type: "custom";
387
387
  raw: unknown;
@@ -476,15 +476,15 @@ declare const terminal: Platform<PlatformDef<"Terminal", z__default.ZodObject<{
476
476
  } | {
477
477
  type: "effect";
478
478
  content: {
479
- type: "text";
480
- text: string;
481
- } | {
482
479
  type: "attachment";
483
480
  name: string;
484
481
  mimeType: string;
485
482
  read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
486
483
  stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
487
484
  size?: number | undefined;
485
+ } | {
486
+ type: "text";
487
+ text: string;
488
488
  };
489
489
  effect: string;
490
490
  } | {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  terminal
3
- } from "../../chunk-ZGWANTLX.js";
3
+ } from "../../chunk-NBXNTQIQ.js";
4
4
  import "../../chunk-4TXLNBGE.js";
5
5
  import "../../chunk-L3VXHUVY.js";
6
6
  import "../../chunk-YDHES53X.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spectrum-ts",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Bring agents to any interface — unified messaging SDK for TypeScript.",
5
5
  "repository": {
6
6
  "type": "git",