@cyber-dash-tech/revela 0.1.15 → 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/README.md +87 -90
- package/README.zh-CN.md +90 -93
- package/designs/monet/DESIGN.md +2736 -0
- package/lib/commands/help.ts +2 -1
- package/lib/commands/pptx.ts +75 -0
- package/lib/pptx/export.ts +974 -0
- package/package.json +3 -1
- package/plugin.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyber-dash-tech/revela",
|
|
3
|
-
"version": "0.
|
|
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",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"skill/",
|
|
15
15
|
"designs/aurora/DESIGN.md",
|
|
16
16
|
"designs/summit/DESIGN.md",
|
|
17
|
+
"designs/monet/DESIGN.md",
|
|
17
18
|
"domains/general/INDUSTRY.md",
|
|
18
19
|
"domains/deeptech-investment/INDUSTRY.md",
|
|
19
20
|
"domains/consulting/INDUSTRY.md",
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
52
53
|
"@xmldom/xmldom": "^0.9.9",
|
|
54
|
+
"dom-to-pptx": "^1.1.6",
|
|
53
55
|
"fflate": "^0.8.2",
|
|
54
56
|
"jimp": "^1.6.1",
|
|
55
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__")
|