spectrum-ts 1.12.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
|
-
"
|
|
668
|
+
"Terminal"
|
|
669
669
|
);
|
|
670
670
|
}
|
|
671
671
|
function protocolToSpectrum(p) {
|
|
@@ -737,7 +737,7 @@ function protocolToSpectrum(p) {
|
|
|
737
737
|
}
|
|
738
738
|
return { type: "custom", raw: p };
|
|
739
739
|
}
|
|
740
|
-
var terminal = definePlatform("
|
|
740
|
+
var terminal = definePlatform("Terminal", {
|
|
741
741
|
config: z.object({
|
|
742
742
|
commands: z.array(commandSchema).optional()
|
|
743
743
|
}),
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"key": "imessage",
|
|
4
|
+
"import": "imessage",
|
|
5
|
+
"path": "spectrum-ts/providers/imessage",
|
|
6
|
+
"label": "iMessage"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"key": "slack",
|
|
10
|
+
"import": "slack",
|
|
11
|
+
"path": "spectrum-ts/providers/slack",
|
|
12
|
+
"label": "Slack"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"key": "terminal",
|
|
16
|
+
"import": "terminal",
|
|
17
|
+
"path": "spectrum-ts/providers/terminal",
|
|
18
|
+
"label": "Terminal"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "whatsapp-business",
|
|
22
|
+
"import": "whatsappBusiness",
|
|
23
|
+
"path": "spectrum-ts/providers/whatsapp-business",
|
|
24
|
+
"label": "WhatsApp Business"
|
|
25
|
+
}
|
|
26
|
+
]
|
package/dist/providers/index.js
CHANGED
|
@@ -86,7 +86,7 @@ interface TerminalClient {
|
|
|
86
86
|
proc: ChildProcess;
|
|
87
87
|
session: RpcSession;
|
|
88
88
|
}
|
|
89
|
-
declare const terminal: Platform<PlatformDef<"
|
|
89
|
+
declare const terminal: Platform<PlatformDef<"Terminal", z__default.ZodObject<{
|
|
90
90
|
commands: z__default.ZodOptional<z__default.ZodArray<z__default.ZodObject<{
|
|
91
91
|
name: z__default.ZodString;
|
|
92
92
|
description: z__default.ZodOptional<z__default.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spectrum-ts",
|
|
3
|
-
"version": "1.
|
|
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",
|
|
@@ -30,10 +30,11 @@
|
|
|
30
30
|
"./providers/*": {
|
|
31
31
|
"types": "./dist/providers/*/index.d.ts",
|
|
32
32
|
"default": "./dist/providers/*/index.js"
|
|
33
|
-
}
|
|
33
|
+
},
|
|
34
|
+
"./manifest.json": "./dist/manifest.json"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
|
-
"@photon-ai/advanced-imessage": "^0.
|
|
37
|
+
"@photon-ai/advanced-imessage": "^0.9.0",
|
|
37
38
|
"@photon-ai/imessage-kit": "^3.0.0",
|
|
38
39
|
"@photon-ai/otel": "^0.1.1",
|
|
39
40
|
"@photon-ai/slack": "^0.2.0",
|