Package Anidev Skill and standalone API panel integration
This commit is contained in:
1 parent
8e4e8e6ef0
commit
61b05abe44
43 files changed
+1859
-57
No files matched your search
@@ -106,6 +106,7 @@ export async function exportSystem(
|
||||
...iconNames.map((name) => `icons/svg/${name}.svg`),
|
||||
"components/system.css",
|
||||
"components/toast.js",
|
||||
"components/copy-field.js",
|
||||
"components/search-select.js",
|
||||
"components/workspaces.css",
|
||||
"components/ssh-console.js",
|
||||
@@ -161,7 +162,7 @@ export async function exportSystem(
|
||||
}
|
||||
files["selection.json"] = JSON.stringify(
|
||||
{
|
||||
version: "0.1.0",
|
||||
version: "0.2.0",
|
||||
status: "approved-design",
|
||||
concept: c.id,
|
||||
page: state.page,
|
||||
@@ -185,7 +186,7 @@ export async function exportSystem(
|
||||
files["index.html"] =
|
||||
`<!doctype html><meta charset="utf-8"><title>Anidev ${c.name}</title><script>location.replace('playground/frame.html?${exportParams}')<\/script>`;
|
||||
files["README.md"] =
|
||||
`# Anidev / ${c.name}\nApproved Dock design.\nServe this folder over HTTP (for example python -m http.server 8080).\nOpen index.html.\nUse tokens/light.css or tokens/dark.css and components/system.css in any framework.\nSemantic token JSON is the source of values.\nNo upstream implementation is bundled. Reusable Skill packaging is tracked separately.\n`;
|
||||
`# Anidev / ${c.name}\nApproved Dock design — gallery snapshot, version 0.2.0.\nServe this folder over HTTP (for example python -m http.server 8080).\nOpen index.html.\nUse tokens/light.css or tokens/dark.css and components/system.css in any framework.\nFor the separate integration package and installable Skill, run npm run build:package in the source repository; this snapshot does not contain its build tools.\nThird-party terminal licenses are in vendor/xterm.\n`;
|
||||
const url = URL.createObjectURL(zip(files)),
|
||||
a = document.createElement("a");
|
||||
a.href = url;
|
||||
|
||||
Reference in new issue
Block a user