mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-13 12:15:48 +08:00
[feat] add DeepSeek Harness sidebar support and setup guides
This commit is contained in:
1 parent
bdce69607f
commit
02a25a759f
15 files changed
+533
-76
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { build } from "esbuild";
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = resolve(dirname(fileURLToPath(import.meta.url)), "../integrations/deepseek-harness");
|
||||
await build({ entryPoints: [resolve(root, "src/host.js")], outfile: resolve(root, "dist/host.js"),
|
||||
bundle: true, format: "esm", platform: "node", target: "node22" });
|
||||
await build({ entryPoints: [resolve(root, "src/client.js")], outfile: resolve(root, "dist/client.js"),
|
||||
bundle: true, format: "cjs", platform: "browser", target: "es2022",
|
||||
banner: { js: 'window.__ModuleLoader__.load({ id: "@chunkdash/dsh-crossdesk-sidebar", factory: (require) => { var module = { exports: {} }; var exports = module.exports;' },
|
||||
footer: { js: "return module.exports; } });" } });
|
||||
@@ -37,6 +37,7 @@ try {
|
||||
"src",
|
||||
"ui",
|
||||
"scripts",
|
||||
"integrations",
|
||||
"tsconfig.json",
|
||||
"tsconfig.ui.json",
|
||||
"package-lock.json",
|
||||
@@ -56,6 +57,8 @@ try {
|
||||
"src",
|
||||
"ui",
|
||||
"scripts/build-ui.mjs",
|
||||
"scripts/build-harness.mjs",
|
||||
"integrations",
|
||||
"tsconfig.json",
|
||||
"tsconfig.ui.json",
|
||||
"build-package.json",
|
||||
|
||||
Reference in new issue
Block a user