mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-03 22:26:43 +00:00

* feat: add ui worker command loading code (not working yet) * feat: add unocss * feat: add-dev-extension page * feat: implemented list view template * feat: implement list view detail view width, add demo extension for dev * fix: resize listview, add metadata component * fix: metadata tag component background color * feat: implement boolean (checkbox), date fields for form template * feat: support default, optional, placeholder for form fields * feat: implemented form view Select Field * feat: markdown view * feat: fixed a markdown schema type error * fix: markdown styling * feat: implement action panel for UI worker template list view * format: format all * chore: bump desktop version * fix: fix search term bind in list view
115 lines
2.5 KiB
JSON
115 lines
2.5 KiB
JSON
{
|
|
"$schema": "../../schema/manifest-json-schema.json",
|
|
"name": "demo-template-extension",
|
|
"version": "0.0.3",
|
|
"type": "module",
|
|
"kunkun": {
|
|
"name": "Demo Template Extension",
|
|
"shortDescription": "Demo Template Extension",
|
|
"longDescription": "Demo Template Extension",
|
|
"identifier": "demo-worker-template-ext",
|
|
"permissions": [
|
|
"fetch:all",
|
|
"shell:kill",
|
|
"security:mac:all",
|
|
{
|
|
"permission": "shell:deno:execute",
|
|
"allow": [
|
|
{
|
|
"path": "$EXTENSION/deno-src/deno-script.ts",
|
|
"env": [
|
|
"npm_package_config_libvips",
|
|
"CWD"
|
|
],
|
|
"ffi": "*",
|
|
"read": [
|
|
"$DESKTOP"
|
|
]
|
|
},
|
|
{
|
|
"path": "$EXTENSION/deno-src/rpc.ts",
|
|
"ffi": "*"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"permission": "open:file",
|
|
"allow": [
|
|
{
|
|
"path": "$EXTENSION/src/deno-script.ts"
|
|
}
|
|
]
|
|
},
|
|
"shell:stdin-write",
|
|
{
|
|
"permission": "shell:execute",
|
|
"allow": [
|
|
{
|
|
"cmd": {
|
|
"program": "ls",
|
|
"args": [
|
|
"-l"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "bash",
|
|
"args": [
|
|
"-c",
|
|
".+"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "deno",
|
|
"args": [
|
|
"-A",
|
|
".+",
|
|
".+"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"demoImages": [],
|
|
"icon": {
|
|
"type": "iconify",
|
|
"value": "carbon:demo"
|
|
},
|
|
"customUiCmds": [],
|
|
"templateUiCmds": [
|
|
{
|
|
"name": "Demo Worker Template",
|
|
"main": "dist/index.js",
|
|
"cmds": []
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"dev": "bun build.ts dev",
|
|
"build": "bun build.ts"
|
|
},
|
|
"dependencies": {
|
|
"@hk/comlink-stdio": "npm:@jsr/hk__comlink-stdio@^0.1.6",
|
|
"@kksh/api": "workspace:*",
|
|
"@kunkun/api": "npm:@jsr/kunkun__api@^0.0.13"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
"@types/bun": "latest",
|
|
"rollup-plugin-visualizer": "^5.12.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"files": [
|
|
"./dist",
|
|
".gitignore"
|
|
]
|
|
}
|