mirror of
https://github.com/infinilabs/coco-app.git
synced 2026-09-02 12:15:39 +02:00
* chore: add websocket & http api about chat AI * feat: Chat AI API debug * chore: modify the config
39 lines
992 B
JSON
39 lines
992 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:event:allow-listen",
|
|
"core:window:default",
|
|
"core:window:allow-start-dragging",
|
|
"core:webview:allow-create-webview",
|
|
"core:window:allow-show",
|
|
"core:webview:allow-create-webview-window",
|
|
"core:webview:allow-webview-close",
|
|
"core:window:allow-close",
|
|
"core:window:allow-hide",
|
|
"core:webview:allow-set-webview-size",
|
|
"core:window:allow-set-size",
|
|
"core:default",
|
|
"shell:allow-open",
|
|
"http:default",
|
|
"http:allow-fetch",
|
|
"http:allow-fetch-cancel",
|
|
"http:allow-fetch-read-body",
|
|
"http:allow-fetch-send",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "http://localhost:2900"
|
|
}
|
|
],
|
|
"deny": []
|
|
},
|
|
"websocket:default",
|
|
"websocket:allow-connect",
|
|
"websocket:allow-send"
|
|
]
|
|
}
|