mattrguerra/cortexmainPrivate on GitHub, published here in full

main.json

Language JSON1.3 KB24 lines

src-tauri/capabilities/main.json

  1. {
  2. "$schema": "../gen/schemas/desktop-schema.json",
  3. "identifier": "main",
  4. "description": "The main window: every app command, dragging, and opening https links.",
  5. "windows": ["main"],
  6. "permissions": [
  7. "core:default",
  8. "core:window:allow-start-dragging",
  9. "core:window:allow-set-theme",
  10. { "identifier": "opener:allow-open-url", "allow": [{ "url": "https://*" }] },
  11. "allow-app-info", "allow-window-ready", "allow-show-main",
  12. "allow-list-providers", "allow-save-provider", "allow-delete-provider",
  13. "allow-set-api-key", "allow-clear-api-key", "allow-has-api-key",
  14. "allow-list-models", "allow-refresh-models",
  15. "allow-list-conversations", "allow-get-conversation", "allow-create-conversation", "allow-rename-conversation",
  16. "allow-set-pinned", "allow-set-archived", "allow-delete-conversation", "allow-set-conversation-model", "allow-set-system-prompt",
  17. "allow-send-message", "allow-cancel-stream", "allow-truncate-from", "allow-estimate-prompt",
  18. "allow-search", "allow-spend-summary", "allow-usage-report",
  19. "allow-list-presets", "allow-save-preset", "allow-delete-preset",
  20. "allow-get-settings", "allow-save-settings",
  21. "allow-pick-attachments", "allow-attach-bytes", "allow-attachment-bytes", "allow-discard-attachment",
  22. "allow-export-conversation", "allow-choose-vault-folder"
  23. ]
  24. }