Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

2.4 KB
Raw Blame
{
  "$schema": "../gen/schemas/desktop-schema.json",
  "identifier": "default",
  "description": "enables the default permissions",
  "windows": ["main"],
  "permissions": [
    "core:default",
    "core:webview:allow-set-webview-zoom",
    "core:window:allow-start-dragging",
    "core:window:allow-start-resize-dragging",
    "core:window:allow-set-theme",
    "core:window:allow-minimize",
    "core:window:allow-toggle-maximize",
    "core:window:allow-close",
    "core:window:allow-destroy",
    "shell:allow-spawn",
    "shell:allow-open",
    "core:app:allow-set-app-theme",
    "core:window:allow-set-focus",
    "os:default",
    "opener:default",
    "notification:default",
    "log:default",
    "core:webview:allow-create-webview-window",
    "opener:allow-open-url",
    "opener:allow-open-path",
    "opener:allow-reveal-item-in-dir",
    "store:default",
    "vector-db:default",
    "rag:default",
    "websearch:default",
    "agent-tools:default",
    "hardware:default",
    "deep-link:default",
    "llamacpp:default",
    "updater:default",
    "updater:allow-check",
    {
      "identifier": "http:default",
      "allow": [
        {
          "url": "https://*:*"
        },
        {
          "url": "http://*:*"
        }
      ],
      "deny": []
    },
    {
      "identifier": "shell:allow-execute",
      "allow": []
    },
    {
      "identifier": "opener:allow-open-url",
      "description": "opens the default permissions for the core module",
      "windows": ["*"],
      "allow": [
        {
          "url": "https://*"
        },
        {
          "url": "http://127.0.0.1:*"
        },
        {
          "url": "http://0.0.0.0:*"
        }
      ]
    },
    {
      "identifier": "opener:allow-open-path",
      "description": "Open a Cowork artifact in the OS default application. Scoped to any path because a Cowork project folder is user-chosen and can live anywhere. Opening hands the file to another application and reads nothing into the window, which is why this stays broad while the assetProtocol scope is granted per folder at runtime. Depends on plugins.opener.requireLiteralLeadingDot=false in tauri.conf.json: the Unix default makes `**` refuse dot-led components, and every Cowork workspace sits under ~/.local/share on Linux, so without it this scope matches nothing there.",
      "windows": ["*"],
      "allow": [
        {
          "path": "**"
        }
      ]
    }
  ]
}