{
  "_comment": [
    "IndyKnow connections template — two example profiles. Easiest path: skip this file entirely",
    "and ask Claude in Claude Desktop: 'set up a connections.json for me' — IndyKnow writes it",
    "into the right folder for you. To use THIS file instead, save it as connections.json in your",
    "IndyKnow app-data folder (Windows: %APPDATA%\\IndyKnow\\ | macOS: ~/Library/Application Support/IndyKnow/",
    "| Linux: ~/.config/indyknow/), then replace the placeholder values.",
    "MICROSOFT-STORE Claude Desktop: Windows keeps the live file under %LOCALAPPDATA%\\Packages\\",
    "Claude_...\\LocalCache\\Roaming\\IndyKnow\\ instead — say 'open my connections file' rather than browsing.",
    "MODEL: each profile is an ENVIRONMENT; each letter A-Z inside it is one database. Reach the",
    "active profile with a bare letter (db: A), or ANY profile with db: 'profile/slot' (e.g. copy",
    "customer-acme/A into local-work/B) — no switching needed. Databases are READ-ONLY by default;",
    "a cloud database (envId) is ALWAYS read-only. A cross-environment write is deliberate.",
    "PASSWORD: type it between the quotes on the empty \"password\" line of each local database,",
    "then run any IndyKnow tool. IndyKnow moves it into its encrypted store and replaces it here",
    "with \"@stored\" — the file never keeps a plaintext password. Avoid \";\" in one.",
    "Switch profiles by asking ('use the customer-acme profile'); run whoami for the live setup.",
    "This note is only help text — feel free to delete it."
  ],
  "version": 1,
  "defaultProfile": "local-work",
  "profiles": {
    "local-work": {
      "A": {
        "server": "localhost",
        "database": "YourDatabase",
        "login": "ro_indyknow",
        "password": "",
        "readOnly": true,
        "label": "my local database (default)"
      },
      "B": {
        "envId": "REPLACE-WITH-YOUR-CLOUD-ENVIRONMENT-ID",
        "label": "cloud (read-only, opt-in via db:B)"
      }
    },
    "customer-acme": {
      "A": {
        "envId": "REPLACE-WITH-ACME-CLOUD-ENVIRONMENT-ID",
        "label": "acme source (cloud, read-only)"
      },
      "B": {
        "server": "localhost",
        "database": "AcmeRestore",
        "login": "ro_indyknow",
        "password": "",
        "readOnly": false,
        "label": "acme destination (local, writable)"
      }
    }
  }
}
