@cyber-dash-tech/revela 0.1.16 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyber-dash-tech/revela",
3
- "version": "0.1.16",
3
+ "version": "0.2.0",
4
4
  "description": "OpenCode plugin that turns AI into an HTML slide deck generator",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -51,6 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@xmldom/xmldom": "^0.9.9",
54
+ "dom-to-pptx": "^1.1.6",
54
55
  "fflate": "^0.8.2",
55
56
  "jimp": "^1.6.1",
56
57
  "mammoth": "^1.12.0",
package/plugin.ts CHANGED
@@ -45,6 +45,7 @@ import {
45
45
  handleDomainsRemove,
46
46
  } from "./lib/commands/domains"
47
47
  import { handlePdf } from "./lib/commands/pdf"
48
+ import { handlePptx } from "./lib/commands/pptx"
48
49
  import designsTool from "./tools/designs"
49
50
  import domainsTool from "./tools/domains"
50
51
  import researchSaveTool from "./tools/research-save"
@@ -215,6 +216,10 @@ const server: Plugin = (async (pluginCtx) => {
215
216
  await handlePdf(param, send)
216
217
  throw new Error("__REVELA_PDF_HANDLED__")
217
218
  }
219
+ if (sub === "pptx") {
220
+ await handlePptx(param, send)
221
+ throw new Error("__REVELA_PPTX_HANDLED__")
222
+ }
218
223
 
219
224
  await send(`**Unknown sub-command:** \`${sub}\`\nRun \`/revela\` to see available commands.`)
220
225
  throw new Error("__REVELA_UNKNOWN_HANDLED__")