[{"data":1,"prerenderedAt":497},["ShallowReactive",2],{"navigation_docs":3,"-guide-updates":180,"-guide-updates-surround":492},[4,30,108,142],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":29},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18,21,25],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":5,"path":19,"stem":20},"\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":22,"path":23,"stem":24},"Build from source","\u002Fgetting-started\u002Fbuild-from-source","1.getting-started\u002F4.build-from-source",{"title":26,"path":27,"stem":28},"Troubleshooting","\u002Fgetting-started\u002Ftroubleshooting","1.getting-started\u002F5.troubleshooting",false,{"title":31,"icon":32,"path":33,"stem":34,"children":35,"page":29},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104],{"title":37,"path":38,"stem":39},"Interface","\u002Fguide\u002Finterface","2.guide\u002F01.interface",{"title":41,"path":42,"stem":43},"Workspace","\u002Fguide\u002Fworkspace","2.guide\u002F02.workspace",{"title":45,"path":46,"stem":47},"Collections","\u002Fguide\u002Fcollections","2.guide\u002F03.collections",{"title":49,"path":50,"stem":51},"HTTP requests","\u002Fguide\u002Fhttp-requests","2.guide\u002F04.http-requests",{"title":53,"path":54,"stem":55},"Variables","\u002Fguide\u002Fvariables","2.guide\u002F05.variables",{"title":57,"path":58,"stem":59},"Authorization","\u002Fguide\u002Fauthorization","2.guide\u002F06.authorization",{"title":61,"path":62,"stem":63},"Scripts and tests","\u002Fguide\u002Fscripts-and-tests","2.guide\u002F07.scripts-and-tests",{"title":65,"path":66,"stem":67},"Collection runner","\u002Fguide\u002Fcollection-runner","2.guide\u002F08.collection-runner",{"title":69,"path":70,"stem":71},"Import and export","\u002Fguide\u002Fimport-export","2.guide\u002F09.import-export",{"title":73,"path":74,"stem":75},"Code snippets","\u002Fguide\u002Fcode-snippets","2.guide\u002F10.code-snippets",{"title":77,"path":78,"stem":79},"gRPC","\u002Fguide\u002Fgrpc","2.guide\u002F11.grpc",{"title":81,"path":82,"stem":83},"WebSocket","\u002Fguide\u002Fwebsocket","2.guide\u002F12.websocket",{"title":85,"path":86,"stem":87},"Cookies, proxy and certificates","\u002Fguide\u002Fcookies-proxy-certificates","2.guide\u002F13.cookies-proxy-certificates",{"title":89,"path":90,"stem":91},"Settings","\u002Fguide\u002Fsettings","2.guide\u002F14.settings",{"title":93,"path":94,"stem":95},"Keyboard shortcuts","\u002Fguide\u002Fkeyboard-shortcuts","2.guide\u002F15.keyboard-shortcuts",{"title":97,"path":98,"stem":99},"Privacy and security","\u002Fguide\u002Fprivacy-and-security","2.guide\u002F16.privacy-and-security",{"title":101,"path":102,"stem":103},"Updates","\u002Fguide\u002Fupdates","2.guide\u002F17.updates",{"title":105,"path":106,"stem":107},"AI Agent","\u002Fguide\u002Fai-agent","2.guide\u002F18.ai-agent",{"title":109,"icon":110,"path":111,"stem":112,"children":113,"page":29},"Reference","i-lucide-square-terminal","\u002Freference","3.reference",[114,118,122,126,130,134,138],{"title":115,"path":116,"stem":117},"Command line","\u002Freference\u002Fcli","3.reference\u002F1.cli",{"title":119,"path":120,"stem":121},"Automation tools","\u002Freference\u002Fautomation-tools","3.reference\u002F2.automation-tools",{"title":123,"path":124,"stem":125},"Scripting API","\u002Freference\u002Fscripting-api","3.reference\u002F3.scripting-api",{"title":127,"path":128,"stem":129},"Dynamic variables","\u002Freference\u002Fdynamic-variables","3.reference\u002F4.dynamic-variables",{"title":131,"path":132,"stem":133},"UI control channel","\u002Freference\u002Fui-control-channel","3.reference\u002F5.ui-control-channel",{"title":135,"path":136,"stem":137},"Workspace format","\u002Freference\u002Fworkspace-format","3.reference\u002F6.workspace-format",{"title":139,"path":140,"stem":141},"Feature status","\u002Freference\u002Ffeature-status","3.reference\u002F7.feature-status",{"title":143,"icon":144,"path":145,"stem":146,"children":147,"page":29},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","4.contributing",[148,152,156,160,164,168,172,176],{"title":149,"path":150,"stem":151},"Contributing overview","\u002Fcontributing\u002Foverview","4.contributing\u002F1.overview",{"title":153,"path":154,"stem":155},"Development","\u002Fcontributing\u002Fdevelopment","4.contributing\u002F2.development",{"title":157,"path":158,"stem":159},"Architecture","\u002Fcontributing\u002Farchitecture","4.contributing\u002F3.architecture",{"title":161,"path":162,"stem":163},"Known gaps","\u002Fcontributing\u002Fgaps","4.contributing\u002F4.gaps",{"title":165,"path":166,"stem":167},"Adding a feature","\u002Fcontributing\u002Fadding-a-feature","4.contributing\u002F5.adding-a-feature",{"title":169,"path":170,"stem":171},"Assets and clean-room","\u002Fcontributing\u002Fassets-and-clean-room","4.contributing\u002F6.assets-and-clean-room",{"title":173,"path":174,"stem":175},"Releasing","\u002Fcontributing\u002Freleasing","4.contributing\u002F7.releasing",{"title":177,"path":178,"stem":179},"Writing the documentation","\u002Fcontributing\u002Fdocumentation","4.contributing\u002F8.documentation",{"id":181,"title":101,"body":182,"description":485,"extension":486,"links":487,"meta":488,"navigation":489,"path":102,"seo":490,"stem":103,"__hash__":491},"docs\u002F2.guide\u002F17.updates.md",{"type":183,"value":184,"toc":477},"minimark",[185,189,194,237,248,262,266,274,289,292,299,303,433,436,447,451,471],[186,187,188],"p",{},"Postguy can check for a new release, then download, verify and install it from inside the app.",[190,191,193],"h2",{"id":192},"finding-a-new-release","Finding a new release",[195,196,197,223],"ul",{},[198,199,200,204,205,209,210,213,214,217,218,222],"li",{},[201,202,203],"strong",{},"Automatically."," At startup and then once a day, Postguy asks GitHub for the latest published release of ",[206,207,208],"code",{},"zuramai\u002Fpostguy",". Drafts and pre-releases are never offered. Turn this off with ",[206,211,212],{},"Settings › About › Check automatically",". The setting is stored as ",[206,215,216],{},"checkForUpdates"," in the workspace's ",[219,220,221],"a",{"href":90},"settings file",".",[198,224,225,228,229,232,233,236],{},[201,226,227],{},"By hand."," ",[206,230,231],{},"Help › Check for updates…",", the command palette, or ",[206,234,235],{},"Settings › About › Check now",". These work even with the automatic check off.",[186,238,239,240,243,244,247],{},"When a newer version exists, an ",[206,241,242],{},"Update"," button appears in the header next to the Settings gear. It opens the update dialog with the version and the release notes. A failed automatic check (no network, for example) shows only in ",[206,245,246],{},"Settings › About",". A check you started yourself shows its error in the dialog.",[186,249,250,251,254,255,258,259,222],{},"The check is one HTTPS request to ",[206,252,253],{},"api.github.com",". It honours your ",[219,256,257],{"href":86},"proxy and CA bundle"," settings, always verifies the server certificate and never sends a client certificate. Nothing is downloaded until you choose ",[206,260,261],{},"Download and install",[190,263,265],{"id":264},"downloading-and-verifying","Downloading and verifying",[186,267,268,270,271,222],{},[206,269,261],{}," fetches the package for your system from the release, plus the release's ",[206,272,273],{},"SHA256SUMS.txt",[275,276,277,283,286],"ol",{},[198,278,279,280,282],{},"The download's SHA-256 must match the line for it in ",[206,281,273],{},". If it does not, the file is deleted and nothing is installed.",[198,284,285],{},"If the running app is code-signed, the new one must carry a valid signature from the same signer: the same Apple Developer ID team on macOS, the same Authenticode certificate subject on Windows. A mismatch or a missing signature stops the install. The dialog says which checks ran.",[198,287,288],{},"Linux packages and unsigned builds are verified by the checksum alone.",[186,290,291],{},"Redirects may not leave HTTPS. Downloads are capped at 512 MiB.",[186,293,294,295,298],{},"When the update is ready, the header button reads ",[206,296,297],{},"Restart to update",". Restarting saves your session, including unsaved drafts, closes the window, installs the update and opens Postguy again with the same workspace. If the install fails, the old version opens again and shows why.",[190,300,302],{"id":301},"what-updates-itself","What updates itself",[304,305,306,322],"table",{},[307,308,309],"thead",{},[310,311,312,316,319],"tr",{},[313,314,315],"th",{},"Install",[313,317,318],{},"Package used",[313,320,321],{},"How it is replaced",[323,324,325,343,356,376,389,411],"tbody",{},[310,326,327,335,340],{},[328,329,330,331,334],"td",{},"macOS ",[206,332,333],{},"Postguy.app"," (DMG or zip)",[328,336,337],{},[206,338,339],{},"postguy-\u003Cversion>-macos-universal.zip",[328,341,342],{},"The app bundle is swapped in place.",[310,344,345,348,353],{},[328,346,347],{},"Windows MSI",[328,349,350],{},[206,351,352],{},"postguy-\u003Cversion>-windows-\u003Carch>.msi",[328,354,355],{},"The installer runs after Postguy closes. Windows asks for administrator rights.",[310,357,358,361,366],{},[328,359,360],{},"Windows portable zip",[328,362,363],{},[206,364,365],{},"postguy-\u003Cversion>-windows-\u003Carch>.zip",[328,367,368,371,372,375],{},[206,369,370],{},"postguy.exe"," and ",[206,373,374],{},"postguy-cli.exe"," are replaced in their folder.",[310,377,378,381,386],{},[328,379,380],{},"Linux AppImage",[328,382,383],{},[206,384,385],{},"postguy-\u003Cversion>-linux-\u003Carch>.AppImage",[328,387,388],{},"The AppImage file is replaced.",[310,390,391,397,402],{},[328,392,393,394],{},"Linux ",[206,395,396],{},".tar.gz",[328,398,399],{},[206,400,401],{},"postguy-\u003Cversion>-linux-\u003Carch>.tar.gz",[328,403,404,371,407,410],{},[206,405,406],{},"bin\u002Fpostguy",[206,408,409],{},"bin\u002Fpostguy-cli"," are replaced.",[310,412,413,423,426],{},[328,414,415,416,419,420],{},"Flatpak, ",[206,417,418],{},".deb",", ",[206,421,422],{},".rpm",[328,424,425],{},"none",[328,427,428,429,432],{},"Update with ",[206,430,431],{},"flatpak update",", your package manager or your software centre. The dialog says so.",[186,434,435],{},"The folder holding the app must be writable by you. If it is not, the dialog says so; download the update from the release page instead. A build you compiled yourself cannot update itself.",[186,437,438,439,442,443,446],{},"Downloads wait in a per-user folder: the temporary folder on macOS and Windows, ",[206,440,441],{},"~\u002F.cache\u002Fpostguy-update"," (or ",[206,444,445],{},"$XDG_CACHE_HOME",") on Linux. Postguy removes them a day later.",[190,448,450],{"id":449},"headless","Headless",[195,452,453,459],{},[198,454,455,458],{},[206,456,457],{},"update_check"," returns this build's version, the latest release with its assets and whether it is an update.",[198,460,461,464,465,468,469,222],{},[206,462,463],{},"update_download"," downloads one asset into a folder inside ",[206,466,467],{},"--root"," and verifies it against ",[206,470,273],{},[186,472,473,474,222],{},"Installing over the desktop app is done by the app itself. See ",[219,475,119],{"href":476},"\u002Freference\u002Fautomation-tools#updates",{"title":478,"searchDepth":479,"depth":479,"links":480},"",2,[481,482,483,484],{"id":192,"depth":479,"text":193},{"id":264,"depth":479,"text":265},{"id":301,"depth":479,"text":302},{"id":449,"depth":479,"text":450},"How Postguy finds a new release, how a download is verified, which installs update themselves, and how to turn the automatic check off.","md",null,{},true,{"title":101,"description":485},"wrYQh-WJZ6Mv9BqaG43UJbbrXn9cG0PdTUGXISSEses",[493,495],{"title":97,"path":98,"stem":99,"description":494,"children":-1},"What Postguy sends over the network, where secrets are stored, what scripts can do, and how the opt-in control channel is protected.",{"title":105,"path":106,"stem":107,"description":496,"children":-1},"Set up a model provider, chat with an agent that edits and runs your collections, approve deletes, and drive the agent headless. What is sent, what it can do and its limits.",1794482870755]