@spectrum-ts/core 12.2.0 → 12.4.0

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.
@@ -642,12 +642,6 @@ declare const editSchema: z.ZodObject<{
642
642
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
643
643
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
644
644
  size?: number | undefined;
645
- } | {
646
- type: "group";
647
- items: Message<string, User, Space<unknown>>[];
648
- } | {
649
- type: "custom";
650
- raw: unknown;
651
645
  } | {
652
646
  type: "text";
653
647
  text: string;
@@ -655,9 +649,14 @@ declare const editSchema: z.ZodObject<{
655
649
  type: "markdown";
656
650
  markdown: string;
657
651
  } | {
658
- type: "reaction";
659
- emoji: string;
660
- target: Message<string, User, Space<unknown>>;
652
+ type: "custom";
653
+ raw: unknown;
654
+ } | {
655
+ type: "group";
656
+ items: Message<string, User, Space<unknown>>[];
657
+ } | {
658
+ type: "richlink";
659
+ url: string;
661
660
  } | {
662
661
  type: "poll";
663
662
  title: string;
@@ -691,9 +690,6 @@ declare const editSchema: z.ZodObject<{
691
690
  name?: string | undefined;
692
691
  duration?: number | undefined;
693
692
  size?: number | undefined;
694
- } | {
695
- type: "richlink";
696
- url: string;
697
693
  } | {
698
694
  type: "app";
699
695
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -708,6 +704,10 @@ declare const editSchema: z.ZodObject<{
708
704
  summary: z.ZodOptional<z.ZodString>;
709
705
  }, z.core.$strip>>>;
710
706
  live?: boolean | undefined;
707
+ } | {
708
+ type: "reaction";
709
+ emoji: string;
710
+ target: Message<string, User, Space<unknown>>;
711
711
  } | {
712
712
  type: "effect";
713
713
  content: {
@@ -800,12 +800,6 @@ declare const editSchema: z.ZodObject<{
800
800
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
801
801
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
802
802
  size?: number | undefined;
803
- } | {
804
- type: "group";
805
- items: Message<string, User, Space<unknown>>[];
806
- } | {
807
- type: "custom";
808
- raw: unknown;
809
803
  } | {
810
804
  type: "text";
811
805
  text: string;
@@ -813,9 +807,14 @@ declare const editSchema: z.ZodObject<{
813
807
  type: "markdown";
814
808
  markdown: string;
815
809
  } | {
816
- type: "reaction";
817
- emoji: string;
818
- target: Message<string, User, Space<unknown>>;
810
+ type: "custom";
811
+ raw: unknown;
812
+ } | {
813
+ type: "group";
814
+ items: Message<string, User, Space<unknown>>[];
815
+ } | {
816
+ type: "richlink";
817
+ url: string;
819
818
  } | {
820
819
  type: "poll";
821
820
  title: string;
@@ -849,9 +848,6 @@ declare const editSchema: z.ZodObject<{
849
848
  name?: string | undefined;
850
849
  duration?: number | undefined;
851
850
  size?: number | undefined;
852
- } | {
853
- type: "richlink";
854
- url: string;
855
851
  } | {
856
852
  type: "app";
857
853
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -866,6 +862,10 @@ declare const editSchema: z.ZodObject<{
866
862
  summary: z.ZodOptional<z.ZodString>;
867
863
  }, z.core.$strip>>>;
868
864
  live?: boolean | undefined;
865
+ } | {
866
+ type: "reaction";
867
+ emoji: string;
868
+ target: Message<string, User, Space<unknown>>;
869
869
  } | {
870
870
  type: "effect";
871
871
  content: {
@@ -1188,12 +1188,6 @@ declare const replySchema: z.ZodObject<{
1188
1188
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1189
1189
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1190
1190
  size?: number | undefined;
1191
- } | {
1192
- type: "group";
1193
- items: Message<string, User, Space<unknown>>[];
1194
- } | {
1195
- type: "custom";
1196
- raw: unknown;
1197
1191
  } | {
1198
1192
  type: "text";
1199
1193
  text: string;
@@ -1201,9 +1195,14 @@ declare const replySchema: z.ZodObject<{
1201
1195
  type: "markdown";
1202
1196
  markdown: string;
1203
1197
  } | {
1204
- type: "reaction";
1205
- emoji: string;
1206
- target: Message<string, User, Space<unknown>>;
1198
+ type: "custom";
1199
+ raw: unknown;
1200
+ } | {
1201
+ type: "group";
1202
+ items: Message<string, User, Space<unknown>>[];
1203
+ } | {
1204
+ type: "richlink";
1205
+ url: string;
1207
1206
  } | {
1208
1207
  type: "poll";
1209
1208
  title: string;
@@ -1237,9 +1236,6 @@ declare const replySchema: z.ZodObject<{
1237
1236
  name?: string | undefined;
1238
1237
  duration?: number | undefined;
1239
1238
  size?: number | undefined;
1240
- } | {
1241
- type: "richlink";
1242
- url: string;
1243
1239
  } | {
1244
1240
  type: "app";
1245
1241
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -1254,6 +1250,10 @@ declare const replySchema: z.ZodObject<{
1254
1250
  summary: z.ZodOptional<z.ZodString>;
1255
1251
  }, z.core.$strip>>>;
1256
1252
  live?: boolean | undefined;
1253
+ } | {
1254
+ type: "reaction";
1255
+ emoji: string;
1256
+ target: Message<string, User, Space<unknown>>;
1257
1257
  } | {
1258
1258
  type: "effect";
1259
1259
  content: {
@@ -1346,12 +1346,6 @@ declare const replySchema: z.ZodObject<{
1346
1346
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1347
1347
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1348
1348
  size?: number | undefined;
1349
- } | {
1350
- type: "group";
1351
- items: Message<string, User, Space<unknown>>[];
1352
- } | {
1353
- type: "custom";
1354
- raw: unknown;
1355
1349
  } | {
1356
1350
  type: "text";
1357
1351
  text: string;
@@ -1359,9 +1353,14 @@ declare const replySchema: z.ZodObject<{
1359
1353
  type: "markdown";
1360
1354
  markdown: string;
1361
1355
  } | {
1362
- type: "reaction";
1363
- emoji: string;
1364
- target: Message<string, User, Space<unknown>>;
1356
+ type: "custom";
1357
+ raw: unknown;
1358
+ } | {
1359
+ type: "group";
1360
+ items: Message<string, User, Space<unknown>>[];
1361
+ } | {
1362
+ type: "richlink";
1363
+ url: string;
1365
1364
  } | {
1366
1365
  type: "poll";
1367
1366
  title: string;
@@ -1395,9 +1394,6 @@ declare const replySchema: z.ZodObject<{
1395
1394
  name?: string | undefined;
1396
1395
  duration?: number | undefined;
1397
1396
  size?: number | undefined;
1398
- } | {
1399
- type: "richlink";
1400
- url: string;
1401
1397
  } | {
1402
1398
  type: "app";
1403
1399
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -1412,6 +1408,10 @@ declare const replySchema: z.ZodObject<{
1412
1408
  summary: z.ZodOptional<z.ZodString>;
1413
1409
  }, z.core.$strip>>>;
1414
1410
  live?: boolean | undefined;
1411
+ } | {
1412
+ type: "reaction";
1413
+ emoji: string;
1414
+ target: Message<string, User, Space<unknown>>;
1415
1415
  } | {
1416
1416
  type: "effect";
1417
1417
  content: {
@@ -6874,10 +6874,10 @@ interface SpectrumOptions {
6874
6874
  flattenGroups?: boolean;
6875
6875
  /**
6876
6876
  * Minimum severity emitted by the SDK's structured logger (to both the
6877
- * console and, when telemetry is on, OTLP). Applies process-wide. The
6878
- * `LOG_LEVEL` environment variable still takes precedence.
6877
+ * console and, when telemetry is on, OTLP). Applies process-wide and takes
6878
+ * precedence over the `LOG_LEVEL` environment variable when provided.
6879
6879
  *
6880
- * @default "debug" in development, "info" otherwise (via `DEPLOYMENT_ENV`)
6880
+ * @default "info"
6881
6881
  */
6882
6882
  logLevel?: LogLevel;
6883
6883
  }
@@ -7333,12 +7333,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7333
7333
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7334
7334
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7335
7335
  size?: number | undefined;
7336
- } | {
7337
- type: "group";
7338
- items: Message<string, User, Space<unknown>>[];
7339
- } | {
7340
- type: "custom";
7341
- raw: unknown;
7342
7336
  } | {
7343
7337
  type: "text";
7344
7338
  text: string;
@@ -7346,9 +7340,14 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7346
7340
  type: "markdown";
7347
7341
  markdown: string;
7348
7342
  } | {
7349
- type: "reaction";
7350
- emoji: string;
7351
- target: Message<string, User, Space<unknown>>;
7343
+ type: "custom";
7344
+ raw: unknown;
7345
+ } | {
7346
+ type: "group";
7347
+ items: Message<string, User, Space<unknown>>[];
7348
+ } | {
7349
+ type: "richlink";
7350
+ url: string;
7352
7351
  } | {
7353
7352
  type: "poll";
7354
7353
  title: string;
@@ -7382,9 +7381,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7382
7381
  name?: string | undefined;
7383
7382
  duration?: number | undefined;
7384
7383
  size?: number | undefined;
7385
- } | {
7386
- type: "richlink";
7387
- url: string;
7388
7384
  } | {
7389
7385
  type: "app";
7390
7386
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -7399,6 +7395,10 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7399
7395
  summary: z.ZodOptional<z.ZodString>;
7400
7396
  }, z.core.$strip>>>;
7401
7397
  live?: boolean | undefined;
7398
+ } | {
7399
+ type: "reaction";
7400
+ emoji: string;
7401
+ target: Message<string, User, Space<unknown>>;
7402
7402
  } | {
7403
7403
  type: "effect";
7404
7404
  content: {
@@ -7491,12 +7491,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7491
7491
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7492
7492
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7493
7493
  size?: number | undefined;
7494
- } | {
7495
- type: "group";
7496
- items: Message<string, User, Space<unknown>>[];
7497
- } | {
7498
- type: "custom";
7499
- raw: unknown;
7500
7494
  } | {
7501
7495
  type: "text";
7502
7496
  text: string;
@@ -7504,9 +7498,14 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7504
7498
  type: "markdown";
7505
7499
  markdown: string;
7506
7500
  } | {
7507
- type: "reaction";
7508
- emoji: string;
7509
- target: Message<string, User, Space<unknown>>;
7501
+ type: "custom";
7502
+ raw: unknown;
7503
+ } | {
7504
+ type: "group";
7505
+ items: Message<string, User, Space<unknown>>[];
7506
+ } | {
7507
+ type: "richlink";
7508
+ url: string;
7510
7509
  } | {
7511
7510
  type: "poll";
7512
7511
  title: string;
@@ -7540,9 +7539,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7540
7539
  name?: string | undefined;
7541
7540
  duration?: number | undefined;
7542
7541
  size?: number | undefined;
7543
- } | {
7544
- type: "richlink";
7545
- url: string;
7546
7542
  } | {
7547
7543
  type: "app";
7548
7544
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -7557,6 +7553,10 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7557
7553
  summary: z.ZodOptional<z.ZodString>;
7558
7554
  }, z.core.$strip>>>;
7559
7555
  live?: boolean | undefined;
7556
+ } | {
7557
+ type: "reaction";
7558
+ emoji: string;
7559
+ target: Message<string, User, Space<unknown>>;
7560
7560
  } | {
7561
7561
  type: "effect";
7562
7562
  content: {
@@ -7653,12 +7653,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7653
7653
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7654
7654
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7655
7655
  size?: number | undefined;
7656
- } | {
7657
- type: "group";
7658
- items: Message<string, User, Space<unknown>>[];
7659
- } | {
7660
- type: "custom";
7661
- raw: unknown;
7662
7656
  } | {
7663
7657
  type: "text";
7664
7658
  text: string;
@@ -7666,9 +7660,14 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7666
7660
  type: "markdown";
7667
7661
  markdown: string;
7668
7662
  } | {
7669
- type: "reaction";
7670
- emoji: string;
7671
- target: Message<string, User, Space<unknown>>;
7663
+ type: "custom";
7664
+ raw: unknown;
7665
+ } | {
7666
+ type: "group";
7667
+ items: Message<string, User, Space<unknown>>[];
7668
+ } | {
7669
+ type: "richlink";
7670
+ url: string;
7672
7671
  } | {
7673
7672
  type: "poll";
7674
7673
  title: string;
@@ -7702,9 +7701,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7702
7701
  name?: string | undefined;
7703
7702
  duration?: number | undefined;
7704
7703
  size?: number | undefined;
7705
- } | {
7706
- type: "richlink";
7707
- url: string;
7708
7704
  } | {
7709
7705
  type: "app";
7710
7706
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -7719,6 +7715,10 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7719
7715
  summary: z.ZodOptional<z.ZodString>;
7720
7716
  }, z.core.$strip>>>;
7721
7717
  live?: boolean | undefined;
7718
+ } | {
7719
+ type: "reaction";
7720
+ emoji: string;
7721
+ target: Message<string, User, Space<unknown>>;
7722
7722
  } | {
7723
7723
  type: "effect";
7724
7724
  content: {
@@ -7811,12 +7811,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7811
7811
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7812
7812
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7813
7813
  size?: number | undefined;
7814
- } | {
7815
- type: "group";
7816
- items: Message<string, User, Space<unknown>>[];
7817
- } | {
7818
- type: "custom";
7819
- raw: unknown;
7820
7814
  } | {
7821
7815
  type: "text";
7822
7816
  text: string;
@@ -7824,9 +7818,14 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7824
7818
  type: "markdown";
7825
7819
  markdown: string;
7826
7820
  } | {
7827
- type: "reaction";
7828
- emoji: string;
7829
- target: Message<string, User, Space<unknown>>;
7821
+ type: "custom";
7822
+ raw: unknown;
7823
+ } | {
7824
+ type: "group";
7825
+ items: Message<string, User, Space<unknown>>[];
7826
+ } | {
7827
+ type: "richlink";
7828
+ url: string;
7830
7829
  } | {
7831
7830
  type: "poll";
7832
7831
  title: string;
@@ -7860,9 +7859,6 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7860
7859
  name?: string | undefined;
7861
7860
  duration?: number | undefined;
7862
7861
  size?: number | undefined;
7863
- } | {
7864
- type: "richlink";
7865
- url: string;
7866
7862
  } | {
7867
7863
  type: "app";
7868
7864
  url: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodURL>>;
@@ -7877,6 +7873,10 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7877
7873
  summary: z.ZodOptional<z.ZodString>;
7878
7874
  }, z.core.$strip>>>;
7879
7875
  live?: boolean | undefined;
7876
+ } | {
7877
+ type: "reaction";
7878
+ emoji: string;
7879
+ target: Message<string, User, Space<unknown>>;
7880
7880
  } | {
7881
7881
  type: "effect";
7882
7882
  content: {
@@ -1,4 +1,4 @@
1
- import { Cn as reactionSchema, Dt as asRichlink, Gn as photoActionSchema, Gt as asPollOption, H as ProviderMessageRecord, Hn as avatarSchema, It as renameSchema, Nt as replySchema, Pn as asContact, Rt as asRead, U as ProviderUserRecord, Un as PhotoInput, Wn as buildPhotoAction, Wt as asPoll, Yt as asMarkdown, _t as asVoice, bt as asUnsend, gn as leaveSpaceSchema, in as groupSchema, jt as asReply, mn as addMemberSchema, nn as asGroup, q as ManagedStream, r as asAttachment, vn as removeMemberSchema, wn as asCustom, wt as asText, xn as asReaction } from "./attachment-Wgb7-di3.js";
1
+ import { Cn as reactionSchema, Dt as asRichlink, Gn as photoActionSchema, Gt as asPollOption, H as ProviderMessageRecord, Hn as avatarSchema, It as renameSchema, Nt as replySchema, Pn as asContact, Rt as asRead, U as ProviderUserRecord, Un as PhotoInput, Wn as buildPhotoAction, Wt as asPoll, Yt as asMarkdown, _t as asVoice, bt as asUnsend, gn as leaveSpaceSchema, in as groupSchema, jt as asReply, mn as addMemberSchema, nn as asGroup, q as ManagedStream, r as asAttachment, vn as removeMemberSchema, wn as asCustom, wt as asText, xn as asReaction } from "./attachment-D8Egdh4m.js";
2
2
  import z from "zod";
3
3
  import { FetchSpanOptions, LogAttrs, LogAttrs as LogAttrs$1, LogLevel, PhotonLogger, SanitizeUrlOptions, createLogger, sanitizeEmail, sanitizeErrorMessage, sanitizePhone, sanitizeUrl, setLogLevel } from "@photon-ai/otel";
4
4
  import { Token } from "marked";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as DedicatedTokenData, $t as StreamTextSource, A as isFusorEvent, An as ContactInput, At as Reply, B as PlatformUser, Bn as AvatarInput, Bt as Poll, C as FusorVerify, Ct as typing, D as WebhookRawResult, Dn as ContactAddress, E as WebhookRawRequest, En as Contact, Et as Richlink, F as PlatformInstance, Fn as contact, Ft as rename, G as SpaceNamespace, Ht as PollChoiceInput, I as PlatformMessage, In as AgentSender, J as broadcast, Jn as AppOptions, Jt as Markdown, K as Broadcaster, Kn as App, Kt as option, L as PlatformProviderConfig, Ln as User, Lt as Read, M as EventProducer, Mn as ContactOrg, Mt as reply, N as Platform, Nn as ContactPhone, O as FusorEvent, On as ContactDetails, Ot as richlink, P as PlatformDef, Pt as Rename, Q as CloudPlatform, Qt as StreamText, R as PlatformRuntime, Rn as Avatar, S as FusorRespond, Sn as reaction, St as Typing, T as WebhookHandler, Tn as custom, Tt as text, Ut as PollOption, V as ProviderMessage, Vn as avatar, Vt as PollChoice, W as SchemaMessage, X as stream, Xn as app, Xt as markdown, Y as mergeStreams, Yn as AppUrl, Z as Store, Zn as appLayoutSchema, Zt as DeltaExtractor, _ as FusorClient, _n as removeMember, a as Content, an as Edit, at as ProjectProfile, b as FusorMessagesReturn, bn as ReactionBuilder, c as fromVCard, cn as Space, ct as SlackTokenData, d as UnsupportedKind, dn as MemberInput, dt as SubscriptionStatus, en as TextStreamOptions, et as FusorTokenData, f as Spectrum, fn as RemoveMember, ft as TokenData, g as isFusorClient, gt as Voice, h as fusor, hn as leaveSpace, ht as EmojiKey, i as attachment, it as ProjectData, j as AnyPlatformDef, jn as ContactName, k as fusorEvent, kn as ContactEmail, kt as resolveContents, l as toVCard, ln as AddMember, lt as SpectrumCloudError, m as definePlatform, mt as Emoji, n as AttachmentInput, nt as PlatformStatus, o as ContentBuilder, on as edit, ot as SharedTokenData, p as SpectrumInstance, pn as addMember, pt as cloud, q as ManagedStream, qn as AppLayout, qt as poll, rn as group, rt as PlatformsData, s as ContentInput, sn as Message, st as SlackTeamMeta, t as Attachment, tn as Group, tt as ImessageInfoData, u as UnsupportedError, un as LeaveSpace, ut as SubscriptionData, v as FusorMessages, vt as voice, w as FusorVerifyRequest, x as FusorReply, xt as unsend, y as FusorMessagesCtx, yn as Reaction, yt as Unsend, z as PlatformSpace, zn as AvatarData, zt as read } from "./attachment-Wgb7-di3.js";
1
+ import { $ as DedicatedTokenData, $t as StreamTextSource, A as isFusorEvent, An as ContactInput, At as Reply, B as PlatformUser, Bn as AvatarInput, Bt as Poll, C as FusorVerify, Ct as typing, D as WebhookRawResult, Dn as ContactAddress, E as WebhookRawRequest, En as Contact, Et as Richlink, F as PlatformInstance, Fn as contact, Ft as rename, G as SpaceNamespace, Ht as PollChoiceInput, I as PlatformMessage, In as AgentSender, J as broadcast, Jn as AppOptions, Jt as Markdown, K as Broadcaster, Kn as App, Kt as option, L as PlatformProviderConfig, Ln as User, Lt as Read, M as EventProducer, Mn as ContactOrg, Mt as reply, N as Platform, Nn as ContactPhone, O as FusorEvent, On as ContactDetails, Ot as richlink, P as PlatformDef, Pt as Rename, Q as CloudPlatform, Qt as StreamText, R as PlatformRuntime, Rn as Avatar, S as FusorRespond, Sn as reaction, St as Typing, T as WebhookHandler, Tn as custom, Tt as text, Ut as PollOption, V as ProviderMessage, Vn as avatar, Vt as PollChoice, W as SchemaMessage, X as stream, Xn as app, Xt as markdown, Y as mergeStreams, Yn as AppUrl, Z as Store, Zn as appLayoutSchema, Zt as DeltaExtractor, _ as FusorClient, _n as removeMember, a as Content, an as Edit, at as ProjectProfile, b as FusorMessagesReturn, bn as ReactionBuilder, c as fromVCard, cn as Space, ct as SlackTokenData, d as UnsupportedKind, dn as MemberInput, dt as SubscriptionStatus, en as TextStreamOptions, et as FusorTokenData, f as Spectrum, fn as RemoveMember, ft as TokenData, g as isFusorClient, gt as Voice, h as fusor, hn as leaveSpace, ht as EmojiKey, i as attachment, it as ProjectData, j as AnyPlatformDef, jn as ContactName, k as fusorEvent, kn as ContactEmail, kt as resolveContents, l as toVCard, ln as AddMember, lt as SpectrumCloudError, m as definePlatform, mt as Emoji, n as AttachmentInput, nt as PlatformStatus, o as ContentBuilder, on as edit, ot as SharedTokenData, p as SpectrumInstance, pn as addMember, pt as cloud, q as ManagedStream, qn as AppLayout, qt as poll, rn as group, rt as PlatformsData, s as ContentInput, sn as Message, st as SlackTeamMeta, t as Attachment, tn as Group, tt as ImessageInfoData, u as UnsupportedError, un as LeaveSpace, ut as SubscriptionData, v as FusorMessages, vt as voice, w as FusorVerifyRequest, x as FusorReply, xt as unsend, y as FusorMessagesCtx, yn as Reaction, yt as Unsend, z as PlatformSpace, zn as AvatarData, zt as read } from "./attachment-D8Egdh4m.js";
2
2
  export { type AddMember, type AgentSender, type AnyPlatformDef, type App, type AppLayout, type AppOptions, type AppUrl, type Attachment, type AttachmentInput, type Avatar, type AvatarData, type AvatarInput, type Broadcaster, type CloudPlatform, type Contact, type ContactAddress, type ContactDetails, type ContactEmail, type ContactInput, type ContactName, type ContactOrg, type ContactPhone, type Content, type ContentBuilder, type ContentInput, type DedicatedTokenData, type DeltaExtractor, type Edit, Emoji, type EmojiKey, type EventProducer, type FusorClient, type FusorEvent, type FusorMessages, type FusorMessagesCtx, type FusorMessagesReturn, type FusorReply, type FusorRespond, type FusorTokenData, type FusorVerify, type FusorVerifyRequest, type Group, type ImessageInfoData, type LeaveSpace, type ManagedStream, type Markdown, type MemberInput, type Message, type Platform, type PlatformDef, type PlatformInstance, type PlatformMessage, type PlatformProviderConfig, type PlatformRuntime, type PlatformSpace, type PlatformStatus, type PlatformUser, type PlatformsData, type Poll, type PollChoice, type PollChoiceInput, type PollOption, type ProjectData, type ProjectProfile, type ProviderMessage, type Reaction, type ReactionBuilder, type Read, type RemoveMember, type Rename, type Reply, type Richlink, type SchemaMessage, type SharedTokenData, type SlackTeamMeta, type SlackTokenData, type Space, type SpaceNamespace, Spectrum, SpectrumCloudError, type SpectrumInstance, type Store, type StreamText, type StreamTextSource, type SubscriptionData, type SubscriptionStatus, type TextStreamOptions, type TokenData, type Typing, type Unsend, UnsupportedError, type UnsupportedKind, type User, type Voice, type WebhookHandler, type WebhookRawRequest, type WebhookRawResult, addMember, app, appLayoutSchema, attachment, avatar, broadcast, cloud, contact, custom, definePlatform, edit, fromVCard, fusor, fusorEvent, group, isFusorClient, isFusorEvent, leaveSpace, markdown, mergeStreams, option, poll, reaction, read, removeMember, rename, reply, resolveContents, richlink, stream, text, toVCard, typing, unsend, voice };
package/dist/index.js CHANGED
@@ -3011,7 +3011,7 @@ function definePlatform(platformId, rawDef) {
3011
3011
  }
3012
3012
  //#endregion
3013
3013
  //#region src/build-env.ts
3014
- const SPECTRUM_SDK_VERSION = "12.2.0";
3014
+ const SPECTRUM_SDK_VERSION = "12.4.0";
3015
3015
  //#endregion
3016
3016
  //#region src/utils/provider-packages.ts
3017
3017
  const OFFICIAL_PROVIDER_PACKAGES = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-ts/core",
3
- "version": "12.2.0",
3
+ "version": "12.4.0",
4
4
  "description": "The spectrum-ts runtime — Spectrum, content builders, fusor, and the provider authoring API.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  "access": "public"
33
33
  },
34
34
  "dependencies": {
35
- "@photon-ai/otel": "^3.1.0",
35
+ "@photon-ai/otel": "^3.3.0",
36
36
  "@photon-ai/proto": "^0.2.4",
37
37
  "@repeaterjs/repeater": "^3.0.6",
38
38
  "marked": "^18.0.5",