@jclvsh/dropspace 2.7.0 → 2.7.2

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.
@@ -22,7 +22,7 @@ export function registerAutopilotCommands(program, client) {
22
22
  .option("--enabled", "turn nightly runs on")
23
23
  .option("--disabled", "turn nightly runs off")
24
24
  .option("--mode <mode>", "review | auto")
25
- .option("--platforms <list>", "comma-separated platforms (e.g. twitter,linkedin)")
25
+ .option("--platforms <list>", "comma-separated platforms: facebook,linkedin,twitter,reddit,instagram,tiktok,youtube")
26
26
  .option("--formats <list>", "comma-separated formats: text,visual,video")
27
27
  .option("--persona <id>", 'persona uuid for voice (use "none" to clear)')
28
28
  .option("--times <list>", "comma-separated posting times HH:MM (config timezone)")
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ const AUTO_POST_PLATFORMS = ["facebook", "linkedin", "twitter", "reddit", "instagram", "tiktok", "youtube"];
2
3
  function ok(result) {
3
4
  return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
4
5
  }
@@ -23,7 +24,10 @@ export function registerAutopilotTools(server, client) {
23
24
  .enum(["review", "auto"])
24
25
  .optional()
25
26
  .describe("review = drafts wait for approval; auto = publishes on schedule"),
26
- platforms: z.array(z.string()).optional().describe("platforms to post on (must have connected accounts)"),
27
+ platforms: z
28
+ .array(z.enum(AUTO_POST_PLATFORMS))
29
+ .optional()
30
+ .describe("platforms to post on (must have connected accounts)"),
27
31
  formats: z
28
32
  .array(z.enum(["text", "visual", "video"]))
29
33
  .optional()
package/dist/types.d.ts CHANGED
@@ -211,10 +211,12 @@ export interface WebhookDelivery {
211
211
  webhook_id: string;
212
212
  event_type: string;
213
213
  status: string;
214
- attempts: number;
214
+ attempt_count: number;
215
215
  response_status: number | null;
216
216
  response_body: string | null;
217
217
  delivered_at: string | null;
218
+ failed_at: string | null;
219
+ next_retry_at: string | null;
218
220
  created_at: string;
219
221
  }
220
222
  /** Dropspace platform status entry */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jclvsh/dropspace",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "MCP server and CLI for the Dropspace API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",