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
- "terminal"
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("terminal", {
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
+ ]
@@ -7,7 +7,7 @@ import {
7
7
  } from "../chunk-E7AXYNOZ.js";
8
8
  import {
9
9
  terminal
10
- } from "../chunk-7Z3QGRGI.js";
10
+ } from "../chunk-NBXNTQIQ.js";
11
11
  import "../chunk-4TXLNBGE.js";
12
12
  import {
13
13
  whatsappBusiness
@@ -86,7 +86,7 @@ interface TerminalClient {
86
86
  proc: ChildProcess;
87
87
  session: RpcSession;
88
88
  }
89
- declare const terminal: Platform<PlatformDef<"terminal", z__default.ZodObject<{
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>;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  terminal
3
- } from "../../chunk-7Z3QGRGI.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.12.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",
@@ -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.8.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",