mirror of
https://github.com/infinilabs/coco-app.git
synced 2026-07-10 12:37:31 +02:00
* feat: add deep research report workflow and viewer * docs: update changelog * ci: update pizza repository reference from infinilabs to pizza-rs org * fix deep research completion state * fix: prevent deep research stream timeout * fix: update deep research cancel copy * fix: apply rustfmt formatting to attachment.rs * fix: resolve fst-no-std version conflict in pizza-engine CI check The 'check (macos-latest)' CI job fails because pizza-engine (added as a CI dependency) uses infinilabs/fst-no-std while its transitive dependency fst-regex uses pizza-rs/fst-no-std. Cargo treats these as two separate crates, causing: 1. Automaton trait incompatibility between the two fst_no_std instances 2. MapBuilder, Error::Io, and Set::from_iter not found because the infinilabs fork gates them behind 'std' feature while pizza-engine only enabled 'alloc' Fix: - Add [patch."https://github.com/infinilabs/fst-no-std"] to src-tauri/Cargo.toml to redirect the infinilabs fork to pizza-rs/fst-no-std, unifying both into a single crate instance. This patch is a no-op for normal builds without pizza-engine. - Update the CI workflow to also add fst-no-std with std feature so that Error::Io (gated by std) and MapBuilder are available after the redirect. * Update Cargo.toml --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Medcl <m@medcl.net>
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["*"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:event:allow-emit",
|
|
"core:event:allow-listen",
|
|
"core:webview:allow-create-webview",
|
|
"core:webview:allow-create-webview-window",
|
|
"core:webview:allow-get-all-webviews",
|
|
"core:webview:allow-webview-close",
|
|
"core:webview:allow-webview-hide",
|
|
"core:webview:allow-webview-show",
|
|
"core:webview:allow-webview-size",
|
|
"core:webview:allow-set-webview-size",
|
|
"core:webview:allow-set-webview-zoom",
|
|
"core:window:default",
|
|
"core:window:allow-center",
|
|
"core:window:allow-close",
|
|
"core:window:allow-hide",
|
|
"core:window:allow-show",
|
|
"core:window:allow-create",
|
|
"core:window:allow-destroy",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-set-size",
|
|
"core:window:allow-get-all-windows",
|
|
"core:window:allow-set-focus",
|
|
"core:window:allow-set-always-on-top",
|
|
"core:window:deny-internal-toggle-maximize",
|
|
"core:window:allow-set-shadow",
|
|
"core:window:allow-set-position",
|
|
"core:window:allow-set-theme",
|
|
"core:window:allow-set-title",
|
|
"core:window:allow-unminimize",
|
|
"core:window:allow-set-fullscreen",
|
|
"core:window:allow-set-resizable",
|
|
"core:window:allow-maximize",
|
|
"core:app:allow-set-app-theme",
|
|
"shell:default",
|
|
"http:default",
|
|
"http:allow-fetch",
|
|
"http:allow-fetch-cancel",
|
|
"http:allow-fetch-read-body",
|
|
"http:allow-fetch-send",
|
|
"autostart:allow-enable",
|
|
"autostart:allow-disable",
|
|
"autostart:allow-is-enabled",
|
|
"global-shortcut:allow-is-registered",
|
|
"global-shortcut:allow-register",
|
|
"global-shortcut:allow-unregister",
|
|
"global-shortcut:allow-unregister-all",
|
|
"core:event:default",
|
|
"deep-link:allow-get-current",
|
|
"deep-link:default",
|
|
"deep-link:allow-register",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "https://coco.infini.cloud"
|
|
},
|
|
{
|
|
"url": "http://localhost:9000"
|
|
}
|
|
],
|
|
"deny": []
|
|
},
|
|
"dialog:default",
|
|
"fs-pro:default",
|
|
"macos-permissions:default",
|
|
"screenshots:default",
|
|
"process:default",
|
|
"updater:default",
|
|
"windows-version:default",
|
|
"log:default",
|
|
"opener:default"
|
|
]
|
|
}
|