[{"data":1,"prerenderedAt":245},["ShallowReactive",2],{"doc-features\u002Fpragma-session-restoration":3,"content-query-BWNzG4n3BR":4},null,{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"body":11,"_type":239,"_id":240,"_source":241,"_file":242,"_stem":243,"_extension":244},"\u002Fdocs\u002Ffeatures\u002Fpragma-session-restoration","features",false,"","Pragma Session Restoration","Understand what Pragma restores when you reopen the app, and what stays local or temporary.",{"type":12,"children":13,"toc":232},"root",[14,22,39,45,58,65,70,90,95,101,149,155,189,195],{"type":15,"tag":16,"props":17,"children":19},"element","h1",{"id":18},"pragma-session-restoration",[20],{"type":21,"value":9},"text",{"type":15,"tag":23,"props":24,"children":29},"div",{"className":25,"ariaHidden":28},[26,27],"docs-page-hero","docs-page-hero--manilla","true",[30,32],{"type":21,"value":31},"\n  ",{"type":15,"tag":33,"props":34,"children":38},"img",{"src":35,"alt":8,"width":36,"height":37},"\u002Fimages\u002Fdocs-illustrations\u002Fpragma-session.svg",128,72,[],{"type":15,"tag":40,"props":41,"children":42},"p",{},[43],{"type":21,"value":44},"Session restoration helps you return to recent terminal \u002F workspace state after restarting Pragma or reopening a window.",{"type":15,"tag":40,"props":46,"children":47},{},[48,50,56],{"type":21,"value":49},"Related toggles live in ",{"type":15,"tag":51,"props":52,"children":53},"strong",{},[54],{"type":21,"value":55},"Settings → Features",{"type":21,"value":57},".",{"type":15,"tag":59,"props":60,"children":62},"h2",{"id":61},"what-restoration-can-bring-back",[63],{"type":21,"value":64},"What Restoration Can Bring Back",{"type":15,"tag":40,"props":66,"children":67},{},[68],{"type":21,"value":69},"Depending on settings and session type, Pragma may restore:",{"type":15,"tag":71,"props":72,"children":73},"ul",{},[74,80,85],{"type":15,"tag":75,"props":76,"children":77},"li",{},[78],{"type":21,"value":79},"Recent tabs \u002F panes layout",{"type":15,"tag":75,"props":81,"children":82},{},[83],{"type":21,"value":84},"Working directory context",{"type":15,"tag":75,"props":86,"children":87},{},[88],{"type":21,"value":89},"Session metadata needed to continue work",{"type":15,"tag":40,"props":91,"children":92},{},[93],{"type":21,"value":94},"Exact behavior can differ for local shells, SSH sessions, and cloud agent environments.",{"type":15,"tag":59,"props":96,"children":98},{"id":97},"what-you-should-know",[99],{"type":21,"value":100},"What You Should Know",{"type":15,"tag":102,"props":103,"children":104},"ol",{},[105,115,125,144],{"type":15,"tag":75,"props":106,"children":107},{},[108,113],{"type":15,"tag":51,"props":109,"children":110},{},[111],{"type":21,"value":112},"Restoration is convenience, not a backup system.",{"type":21,"value":114}," Important work still belongs in git and durable storage.",{"type":15,"tag":75,"props":116,"children":117},{},[118,123],{"type":15,"tag":51,"props":119,"children":120},{},[121],{"type":21,"value":122},"Remote sessions",{"type":21,"value":124}," may need to reconnect; restoration cannot invent a live SSH connection if the host is down.",{"type":15,"tag":75,"props":126,"children":127},{},[128,133,135,142],{"type":15,"tag":51,"props":129,"children":130},{},[131],{"type":21,"value":132},"Privacy:",{"type":21,"value":134}," restored session data is for your account\u002Fmachine workflow — review ",{"type":15,"tag":136,"props":137,"children":139},"a",{"href":138},"\u002Fdocs\u002Ffeatures\u002Fpragma-privacy",[140],{"type":21,"value":141},"privacy",{"type":21,"value":143}," if you share a machine.",{"type":15,"tag":75,"props":145,"children":146},{},[147],{"type":21,"value":148},"If restoration surprises you (wrong folder, stale tab), disable the feature, restart once, then re-enable after confirming settings.",{"type":15,"tag":59,"props":150,"children":152},{"id":151},"tips",[153],{"type":21,"value":154},"Tips",{"type":15,"tag":71,"props":156,"children":157},{},[158,163,176],{"type":15,"tag":75,"props":159,"children":160},{},[161],{"type":21,"value":162},"Commit or stash before risky restarts",{"type":15,"tag":75,"props":164,"children":165},{},[166,168,174],{"type":21,"value":167},"For remote work, prefer documented ",{"type":15,"tag":136,"props":169,"children":171},{"href":170},"\u002Fdocs\u002Ffeatures\u002Fpragma-remote-ssh",[172],{"type":21,"value":173},"Remote & SSH",{"type":21,"value":175}," reconnect flow",{"type":15,"tag":75,"props":177,"children":178},{},[179,181,187],{"type":21,"value":180},"Use ",{"type":15,"tag":136,"props":182,"children":184},{"href":183},"\u002Fdocs\u002Ffeatures\u002Fpragma-drive",[185],{"type":21,"value":186},"Pragma Drive",{"type":21,"value":188}," for files that must survive across devices",{"type":15,"tag":59,"props":190,"children":192},{"id":191},"related-pages",[193],{"type":21,"value":194},"Related Pages",{"type":15,"tag":71,"props":196,"children":197},{},[198,207,215,224],{"type":15,"tag":75,"props":199,"children":200},{},[201],{"type":15,"tag":136,"props":202,"children":204},{"href":203},"\u002Fdocs\u002Ffeatures\u002Fpragma-terminal",[205],{"type":21,"value":206},"Pragma Terminal",{"type":15,"tag":75,"props":208,"children":209},{},[210],{"type":15,"tag":136,"props":211,"children":212},{"href":170},[213],{"type":21,"value":214},"Pragma Remote & SSH",{"type":15,"tag":75,"props":216,"children":217},{},[218],{"type":15,"tag":136,"props":219,"children":221},{"href":220},"\u002Fdocs\u002Ffeatures\u002Fpragma-settings",[222],{"type":21,"value":223},"Pragma Settings",{"type":15,"tag":75,"props":225,"children":226},{},[227],{"type":15,"tag":136,"props":228,"children":229},{"href":138},[230],{"type":21,"value":231},"Pragma Privacy & Telemetry",{"title":8,"searchDepth":233,"depth":233,"links":234},2,[235,236,237,238],{"id":61,"depth":233,"text":64},{"id":97,"depth":233,"text":100},{"id":151,"depth":233,"text":154},{"id":191,"depth":233,"text":194},"markdown","content:docs:features:pragma-session-restoration.md","content","docs\u002Ffeatures\u002Fpragma-session-restoration.md","docs\u002Ffeatures\u002Fpragma-session-restoration","md",1791370284472]