spectrum-ts 1.3.0 → 1.5.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.
- package/dist/chunk-4U4RINOV.js +2133 -0
- package/dist/{chunk-FF2R4EP3.js → chunk-L6LUFBLF.js} +4 -3
- package/dist/chunk-NIIJ6U34.js +843 -0
- package/dist/chunk-NNRUJOPT.js +849 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -4
- package/dist/providers/imessage/index.d.ts +3 -3
- package/dist/providers/imessage/index.js +6 -2074
- package/dist/providers/index.d.ts +12 -0
- package/dist/providers/index.js +18 -0
- package/dist/providers/terminal/index.d.ts +7 -7
- package/dist/providers/terminal/index.js +4 -838
- package/dist/providers/whatsapp-business/index.d.ts +3 -3
- package/dist/providers/whatsapp-business/index.js +4 -844
- package/dist/{types-BcCLW2VO.d.ts → types-D0QSU6kb.d.ts} +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { imessage } from './imessage/index.js';
|
|
2
|
+
export { terminal } from './terminal/index.js';
|
|
3
|
+
export { whatsappBusiness } from './whatsapp-business/index.js';
|
|
4
|
+
import '../types-D0QSU6kb.js';
|
|
5
|
+
import 'hotscript';
|
|
6
|
+
import 'zod';
|
|
7
|
+
import 'zod/v4/core';
|
|
8
|
+
import '@photon-ai/advanced-imessage';
|
|
9
|
+
import '@photon-ai/imessage-kit';
|
|
10
|
+
import 'node:child_process';
|
|
11
|
+
import 'node:net';
|
|
12
|
+
import '@photon-ai/whatsapp-business';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
imessage
|
|
3
|
+
} from "../chunk-4U4RINOV.js";
|
|
4
|
+
import "../chunk-66GJ45ZZ.js";
|
|
5
|
+
import {
|
|
6
|
+
terminal
|
|
7
|
+
} from "../chunk-NIIJ6U34.js";
|
|
8
|
+
import "../chunk-B4MHPWPZ.js";
|
|
9
|
+
import {
|
|
10
|
+
whatsappBusiness
|
|
11
|
+
} from "../chunk-NNRUJOPT.js";
|
|
12
|
+
import "../chunk-L6LUFBLF.js";
|
|
13
|
+
import "../chunk-LH4YEBG3.js";
|
|
14
|
+
export {
|
|
15
|
+
imessage,
|
|
16
|
+
terminal,
|
|
17
|
+
whatsappBusiness
|
|
18
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as Platform, a as PlatformDef, b as ProviderMessage, S as Store, M as Message } from '../../types-D0QSU6kb.js';
|
|
2
2
|
import { ChildProcess } from 'node:child_process';
|
|
3
3
|
import z__default from 'zod';
|
|
4
4
|
import { Socket } from 'node:net';
|
|
@@ -125,15 +125,15 @@ declare const terminal: Platform<PlatformDef<"terminal", z__default.ZodObject<{
|
|
|
125
125
|
} | undefined;
|
|
126
126
|
id: string;
|
|
127
127
|
content: {
|
|
128
|
-
type: "text";
|
|
129
|
-
text: string;
|
|
130
|
-
} | {
|
|
131
128
|
type: "attachment";
|
|
132
129
|
name: string;
|
|
133
130
|
mimeType: string;
|
|
134
131
|
read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
135
132
|
stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
136
133
|
size?: number | undefined;
|
|
134
|
+
} | {
|
|
135
|
+
type: "text";
|
|
136
|
+
text: string;
|
|
137
137
|
} | {
|
|
138
138
|
type: "custom";
|
|
139
139
|
raw: unknown;
|
|
@@ -228,15 +228,15 @@ declare const terminal: Platform<PlatformDef<"terminal", z__default.ZodObject<{
|
|
|
228
228
|
} | {
|
|
229
229
|
type: "effect";
|
|
230
230
|
content: {
|
|
231
|
-
type: "text";
|
|
232
|
-
text: string;
|
|
233
|
-
} | {
|
|
234
231
|
type: "attachment";
|
|
235
232
|
name: string;
|
|
236
233
|
mimeType: string;
|
|
237
234
|
read: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
238
235
|
stream: z__default.core.$InferOuterFunctionType<z__default.ZodTuple<readonly [], null>, z__default.ZodPromise<z__default.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
239
236
|
size?: number | undefined;
|
|
237
|
+
} | {
|
|
238
|
+
type: "text";
|
|
239
|
+
text: string;
|
|
240
240
|
};
|
|
241
241
|
effect: string;
|
|
242
242
|
};
|