[{"data":1,"prerenderedAt":601},["ShallowReactive",2],{"docs.index":3,"docs.page.\u002Fdocs\u002Ffiles\u002Fundo-an-agent":417},[4,20,26,34,44,53,62,69,76,82,87,92,101,108,114,119,123,130,134,138,142,149,154,158,165,170,175,184,190,196,202,208,215,219,228,233,239,247,252,258,265,271,277,282,286,290,295,301,306,311,315,319,324,330,336,341,345,352,357,363,368,372,376,380,386,391,396,401,405,411],{"path":5,"title":6,"navTitle":7,"seoTitle":8,"description":9,"type":10,"position":11,"updated":12,"release":13,"related":14,"plans":17},"\u002Fdocs\u002Faccount\u002Fbilling","Upgrade and manage billing","Billing",null,"Move a workspace onto Grove or Forest, understand how seats are charged, and what happens if a payment fails or you cancel.","how-to",2,"2026-09-29","public",[15,16],"\u002Fdocs\u002Faccount\u002Fplans-and-limits","\u002Fdocs\u002Fsharing\u002Finvite-people",[18,19],"grove","forest",{"path":21,"title":22,"navTitle":8,"seoTitle":8,"description":23,"type":24,"position":25,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Faccount","Account and billing","What each plan includes, how billing and seats work, managing your account, and how Treehouse keeps your files safe.","hub",7,{"path":15,"title":27,"navTitle":8,"seoTitle":8,"description":28,"type":29,"position":30,"updated":31,"release":13,"related":32,"plans":8},"Plans and limits","What Seedling, Grove and Forest include, how usage is counted, and what happens when a workspace reaches a limit.","reference",1,"2026-10-29",[5,16,33],"\u002Fdocs\u002Fsharing\u002Fshare-links",{"path":35,"title":36,"navTitle":8,"seoTitle":8,"description":37,"type":38,"position":39,"updated":31,"release":13,"related":40,"plans":8},"\u002Fdocs\u002Faccount\u002Fsecurity-and-privacy","Security and privacy","How Treehouse encrypts your files, who can see what in a workspace, and how keys, share links and HTML pages are kept in check.","concept",4,[41,33,42,43],"\u002Fdocs\u002Fagents\u002Fconnect\u002Fapi-keys","\u002Fdocs\u002Ffiles\u002Fprivate-files","\u002Fdocs\u002Ffiles\u002Fhtml-pages",{"path":45,"title":46,"navTitle":47,"seoTitle":8,"description":48,"type":10,"position":49,"updated":12,"release":13,"related":50,"plans":8},"\u002Fdocs\u002Faccount\u002Fyour-account","Manage your account","Your account","Create an account, sign in and out, reset a forgotten password, and move between the workspaces you belong to.",3,[51,52,35],"\u002Fdocs\u002Fget-started\u002Fquickstart","\u002Fdocs\u002Fsharing\u002Fcustomise-your-workspace",{"path":41,"title":54,"navTitle":55,"seoTitle":8,"description":56,"type":10,"position":57,"updated":31,"release":13,"related":58,"plans":8},"Manage API keys","API keys","Create a key for the sync CLI or an agent that can't sign in through a browser, see what each key can reach, and revoke the ones you no longer need.",6,[59,60,61,35],"\u002Fdocs\u002Fagents\u002Fconnect\u002Fconnected-agents","\u002Fdocs\u002Fagents\u002Fconnect\u002Fclaude-code","\u002Fdocs\u002Fagents\u002Freference\u002Fauthentication",{"path":60,"title":63,"navTitle":8,"seoTitle":8,"description":64,"type":10,"position":49,"updated":65,"release":13,"related":66,"plans":8},"Connect Claude Code","Give Claude Code access to a workspace through your synced folder, the Treehouse MCP server, or both.","2026-10-30",[67,59,41,68],"\u002Fdocs\u002Fagents\u002Fconnect\u002Fhow-agents-work","\u002Fdocs\u002Fplaybooks\u002Fwrite-your-agents-md",{"path":59,"title":70,"navTitle":71,"seoTitle":8,"description":72,"type":10,"position":73,"updated":31,"release":13,"related":74,"plans":8},"Manage connected agents","Connected agents","See which agents have signed in to Treehouse as you, rename how their work is labelled, and disconnect the ones you no longer use.",5,[60,75,41],"\u002Fdocs\u002Fagents\u002Fconnect\u002Fother-agents",{"path":67,"title":77,"navTitle":78,"seoTitle":8,"description":79,"type":38,"position":30,"updated":31,"release":13,"related":80,"plans":8},"How agents work with Treehouse","How agents work","The two ways an agent can reach a workspace, what it can do there, and how its work shows up for everyone else.",[60,59,41,81],"\u002Fdocs\u002Fagents\u002Fhandbook",{"path":83,"title":84,"navTitle":85,"seoTitle":8,"description":86,"type":24,"position":30,"updated":31,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fagents\u002Fconnect","Connect an agent","Connect","Give Claude Code, Codex, Cursor or any other agent access to a workspace, signed in through your browser and labelled with a name you choose.",{"path":75,"title":88,"navTitle":8,"seoTitle":8,"description":89,"type":10,"position":39,"updated":31,"release":13,"related":90,"plans":8},"Connect other agents","Connect Cursor, VS Code, Codex, Gemini CLI, Claude Desktop, claude.ai, ChatGPT or any other MCP client by signing in, or with an API key.",[60,59,41,91],"\u002Fdocs\u002Fagents\u002Freference\u002Fmcp-server",{"path":93,"title":94,"navTitle":95,"seoTitle":96,"description":97,"type":10,"position":11,"updated":31,"release":13,"related":98,"plans":8},"\u002Fdocs\u002Fagents\u002Fconnect\u002Fset-up-a-workspace","Set up a new workspace for someone","Set up a new workspace","Agent guide: set up a new Treehouse workspace","Written for agents. Connect a person's new workspace to their computer, doing as much of the work yourself as you can, then help them organise it.",[99,81,100],"\u002Fdocs\u002Fget-started\u002Fset-up-with-an-agent","\u002Fdocs\u002Fdesktop\u002Fsync-with-the-cli",{"path":81,"title":102,"navTitle":102,"seoTitle":103,"description":104,"type":24,"position":11,"updated":65,"release":13,"related":105,"plans":8},"Agent handbook","Agent handbook: how agents work in Treehouse","Written for agents. How to reach a Treehouse workspace, the rules that keep everyone's work safe, and the conventions the web app understands.",[91,106,107],"\u002Fdocs\u002Fagents\u002Fhandbook\u002Fversions-and-conflicts","\u002Fdocs\u002Fplaybooks\u002Freview-loop",{"path":106,"title":109,"navTitle":8,"seoTitle":8,"description":110,"type":38,"position":30,"updated":31,"release":13,"related":111,"plans":8},"Versions and conflicts","The concurrency contract every Treehouse client shares - version numbers, compare-and-swap writes, conflicted copies, deletes, moves and restores.",[112,113,91],"\u002Fdocs\u002Ffiles\u002Fconflicted-copies","\u002Fdocs\u002Fagents\u002Freference\u002Frest-api",{"path":115,"title":116,"navTitle":8,"seoTitle":117,"description":118,"type":24,"position":30,"updated":31,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fagents","Agents","Treehouse for agents","Everything an agent needs to work in a Treehouse workspace, and everything you need to connect one.",{"path":61,"title":120,"navTitle":8,"seoTitle":8,"description":121,"type":29,"position":30,"updated":31,"release":13,"related":122,"plans":8},"Authentication","How OAuth sign-in for MCP clients and API keys work, what each credential can reach, the device flow the CLI uses, and how access is revoked.",[59,41,91,113],{"path":124,"title":125,"navTitle":8,"seoTitle":8,"description":126,"type":29,"position":39,"updated":31,"release":13,"related":127,"plans":8},"\u002Fdocs\u002Fagents\u002Freference\u002Fchange-feed","Change feed","Read every change to a workspace in order with a cursor, so a script or agent can react to new and edited files.",[128,129,106],"\u002Fdocs\u002Fsharing\u002Factivity","\u002Fdocs\u002Fplaybooks\u002Froutines",{"path":131,"title":132,"navTitle":8,"seoTitle":8,"description":133,"type":24,"position":49,"updated":31,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fagents\u002Freference","API reference","The protocol reference - authentication, every MCP tool, the REST API and the change feed.",{"path":91,"title":135,"navTitle":8,"seoTitle":8,"description":136,"type":29,"position":11,"updated":65,"release":13,"related":137,"plans":8},"MCP server","Every tool the Treehouse MCP server exposes, with parameters, outputs, limits and the instructions it gives connected agents.",[60,75,106],{"path":113,"title":139,"navTitle":8,"seoTitle":8,"description":140,"type":29,"position":49,"updated":65,"release":13,"related":141,"plans":8},"REST API","Endpoints for reading, writing, moving, searching, sharing and commenting on workspace files over HTTP, with headers, status codes and examples.",[61,106,124],{"path":143,"title":144,"navTitle":145,"seoTitle":8,"description":146,"type":29,"position":73,"updated":65,"release":13,"related":147,"plans":8},"\u002Fdocs\u002Fdesktop\u002Fcli-reference","Sync CLI reference","Sync CLI","Every treehouse command and flag, the files and environment variables the CLI reads, and the safety rules it follows while syncing.",[100,148,124],"\u002Fdocs\u002Fdesktop\u002Fhow-sync-works",{"path":148,"title":150,"navTitle":8,"seoTitle":8,"description":151,"type":38,"position":11,"updated":65,"release":13,"related":152,"plans":8},"How sync works","What the sync engine does in the background, which files it skips, and how it protects your work when things go wrong.",[112,42,128,153],"\u002Fdocs\u002Fget-started\u002Fhow-treehouse-works",{"path":155,"title":156,"navTitle":8,"seoTitle":8,"description":157,"type":24,"position":73,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fdesktop","Desktop app and sync","Keep a folder on your computer in step with a workspace, using the Mac app or the sync CLI.",{"path":159,"title":160,"navTitle":8,"seoTitle":8,"description":161,"type":10,"position":30,"updated":162,"release":13,"related":163,"plans":8},"\u002Fdocs\u002Fdesktop\u002Finstall-the-desktop-app","Install the desktop app","Download Treehouse for Mac, sign in and pick a folder, and your workspace's files appear on your computer and stay in sync.","2026-10-12",[148,164,100],"\u002Fdocs\u002Fdesktop\u002Fmanage-synced-folders",{"path":164,"title":166,"navTitle":8,"seoTitle":8,"description":167,"type":10,"position":49,"updated":162,"release":13,"related":168,"plans":8},"Manage synced folders","Check sync status, pause, move or stop syncing a folder, add another workspace, and sign out, all from the Treehouse icon in your menu bar.",[148,100,169],"\u002Fdocs\u002Fhelp\u002Ftroubleshooting",{"path":100,"title":171,"navTitle":172,"seoTitle":8,"description":173,"type":10,"position":39,"updated":31,"release":13,"related":174,"plans":8},"Sync a folder with the CLI","Sync with the CLI","Install the treehouse command-line tool to sync a folder on Windows, Linux, a server or any machine where the desktop app doesn't run.",[143,148,164],{"path":176,"title":177,"navTitle":178,"seoTitle":8,"description":179,"type":10,"position":57,"updated":180,"release":13,"related":181,"plans":8},"\u002Fdocs\u002Ffiles\u002Fboards","Track work on a board","Boards","Show a folder of markdown files as coloured columns of cards, and move work along by dragging a card or changing one line of front matter.","2026-09-30",[182,183,68],"\u002Fdocs\u002Ffiles\u002Ffolder-pages","\u002Fdocs\u002Ffiles\u002Ffront-matter",{"path":112,"title":185,"navTitle":8,"seoTitle":8,"description":186,"type":38,"position":187,"updated":12,"release":13,"related":188,"plans":8},"Conflicted copies","When two edits to the same file collide, Treehouse keeps both. Here's what a conflicted copy is, how to spot one and how to resolve it.",13,[189,148,106],"\u002Fdocs\u002Ffiles\u002Fversion-history",{"path":191,"title":192,"navTitle":193,"seoTitle":8,"description":194,"type":10,"position":11,"updated":12,"release":13,"related":195,"plans":8},"\u002Fdocs\u002Ffiles\u002Fcreate-and-edit","Create and edit files","Create and edit","Make new files and folders in the web app, edit markdown, code and HTML, and save your changes.",[183,112,189],{"path":182,"title":197,"navTitle":198,"seoTitle":8,"description":199,"type":10,"position":73,"updated":180,"release":13,"related":200,"plans":8},"Turn a folder into a page or calendar","Folder pages and calendars","Give a folder a front page with a README, or show a folder of dated notes as a calendar you can reschedule by dragging.",[176,183,43,201],"\u002Fdocs\u002Fplaybooks\u002Fshape-your-workspace",{"path":183,"title":203,"navTitle":204,"seoTitle":8,"description":205,"type":29,"position":25,"updated":65,"release":13,"related":206,"plans":8},"Front matter reference","Front matter","The YAML block at the top of a markdown file, and the keys Treehouse reads from it to label, title, schedule and track your files.",[182,176,191,207,129],"\u002Fdocs\u002Ffiles\u002Ftag-notes",{"path":43,"title":209,"navTitle":210,"seoTitle":8,"description":211,"type":10,"position":212,"updated":12,"release":13,"related":213,"plans":8},"Publish an HTML page","HTML pages","Show HTML files as full pages, decide when their scripts may run, and share them publicly as reports, dashboards or decks.",8,[33,182,214],"\u002Fdocs\u002Ffiles\u002Fview-files",{"path":216,"title":217,"navTitle":8,"seoTitle":8,"description":218,"type":24,"position":49,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Ffiles","Files and folders","Find, read, write, upload and organise the files in a workspace, and get back anything that changed.",{"path":220,"title":221,"navTitle":222,"seoTitle":8,"description":223,"type":10,"position":224,"updated":65,"release":13,"related":225,"plans":8},"\u002Fdocs\u002Ffiles\u002Flink-notes","Link notes together","Link notes","Connect notes with wikilinks, see which notes link to a file, and keep those links working when you rename it.",15,[226,42,227,91],"\u002Fdocs\u002Ffiles\u002Forganise-files","\u002Fdocs\u002Fplaybooks\u002Fsecond-brain",{"path":226,"title":229,"navTitle":230,"seoTitle":8,"description":231,"type":10,"position":39,"updated":31,"release":13,"related":232,"plans":8},"Rename, move and organise files","Organise files","Rename, move, reorder and delete files and folders, and give them icons, from the sidebar tree.",[189,42,201,220],{"path":42,"title":234,"navTitle":235,"seoTitle":8,"description":236,"type":10,"position":237,"updated":65,"release":13,"related":238,"plans":8},"Keep files private","Private files","Make a file or folder visible only to you and your own agents, even in a workspace you share with others.",14,[226,33,67],{"path":240,"title":241,"navTitle":242,"seoTitle":8,"description":243,"type":10,"position":244,"updated":31,"release":13,"related":245,"plans":8},"\u002Fdocs\u002Ffiles\u002Frestore-to-an-earlier-time","Restore a folder or workspace to an earlier time","Restore to an earlier time","Put a folder, or the whole workspace, back the way it was at a moment you choose, after seeing every change it will make.",11,[246,189,128],"\u002Fdocs\u002Ffiles\u002Ftrash",{"path":207,"title":248,"navTitle":248,"seoTitle":8,"description":249,"type":10,"position":250,"updated":65,"release":13,"related":251,"plans":8},"Tag notes","Label notes with tags in their front matter or text, and find every note with a tag from the sidebar search.",16,[183,220,42,91],{"path":246,"title":253,"navTitle":254,"seoTitle":8,"description":255,"type":10,"position":256,"updated":31,"release":13,"related":257,"plans":8},"Bring back deleted files","Trash","Every file deleted from a workspace, by a person or an agent, waits in the trash with the content it had, so you can bring it back.",10,[189,128,42],{"path":259,"title":260,"navTitle":261,"seoTitle":8,"description":262,"type":10,"position":263,"updated":31,"release":13,"related":264,"plans":8},"\u002Fdocs\u002Ffiles\u002Fundo-an-agent","Undo what an agent did","Undo an agent","Reverse everything one agent or API key changed since a moment you choose, while keeping every change anyone else made.",12,[240,128,41],{"path":266,"title":267,"navTitle":268,"seoTitle":8,"description":269,"type":10,"position":49,"updated":12,"release":13,"related":270,"plans":8},"\u002Fdocs\u002Ffiles\u002Fupload-and-download","Upload and download files","Upload and download","Add files from your computer to a workspace, decide what happens when names clash, and download a copy of any file.",[191,148,15],{"path":189,"title":272,"navTitle":273,"seoTitle":8,"description":274,"type":10,"position":275,"updated":31,"release":13,"related":276,"plans":8},"See and restore earlier versions","Version history","Look through every change to a file, see who made it, view or restore an older version, and catch up on what changed while you were away.",9,[246,112,128,106],{"path":214,"title":278,"navTitle":279,"seoTitle":8,"description":280,"type":10,"position":30,"updated":31,"release":13,"related":281,"plans":8},"Find and view files","Find and view","Browse the file tree, search by name, and see how Treehouse shows markdown, HTML, code, images, video, audio and everything else.",[191,182,189],{"path":153,"title":283,"navTitle":8,"seoTitle":8,"description":284,"type":38,"position":49,"updated":31,"release":13,"related":285,"plans":8},"How Treehouse works","Workspaces, versions, conflicted copies and attribution - the handful of ideas the rest of Treehouse is built on.",[189,112,67,106],{"path":287,"title":288,"navTitle":8,"seoTitle":8,"description":289,"type":24,"position":11,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fget-started","Get started","What Treehouse is, how to set up your first workspace, and how it works underneath.",{"path":51,"title":291,"navTitle":8,"seoTitle":8,"description":292,"type":293,"position":11,"updated":31,"release":13,"related":294,"plans":8},"Quickstart","Create a workspace, sync it to your computer, connect an agent and let it set things up. About ten minutes.","guide",[99,60,68],{"path":99,"title":296,"navTitle":297,"seoTitle":8,"description":298,"type":10,"position":39,"updated":31,"release":13,"related":299,"plans":8},"Set up a workspace with an agent","Set up with an agent","Hand a new, empty workspace to an agent. It interviews you, proposes a structure and builds it once you agree.",[201,68,300],"\u002Fdocs\u002Fplaybooks\u002Finbox-and-filing",{"path":302,"title":303,"navTitle":303,"seoTitle":8,"description":304,"type":38,"position":30,"updated":12,"release":13,"related":305,"plans":8},"\u002Fdocs\u002Fget-started\u002Fwhat-is-treehouse","What is Treehouse?","A shared workspace of plain files that people and agents both work in, with the sharing, history and review that plain folders lack.",[51,153,67],{"path":307,"title":308,"navTitle":309,"seoTitle":8,"description":310,"type":29,"position":11,"updated":31,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fhelp\u002Ffaq","Frequently asked questions","FAQ","Short answers to the questions people ask most about Treehouse, agents, sharing and data.",{"path":312,"title":313,"navTitle":8,"seoTitle":8,"description":314,"type":29,"position":49,"updated":31,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fhelp\u002Fglossary","Glossary","The words Treehouse uses, and what each one means in the app and in these docs.",{"path":316,"title":317,"navTitle":8,"seoTitle":8,"description":318,"type":24,"position":212,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fhelp","Help","Fixes for common problems, answers to common questions, and the words Treehouse uses.",{"path":169,"title":320,"navTitle":8,"seoTitle":321,"description":322,"type":10,"position":30,"updated":31,"release":13,"related":323,"plans":8},"Troubleshooting","Troubleshooting Treehouse sync, agents and sharing","The problems people hit most often with sync, agent connections, sharing and limits, and how to fix each one.",[164,60,112],{"path":325,"title":326,"navTitle":8,"seoTitle":327,"description":328,"type":24,"position":329,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs","Treehouse docs","Treehouse documentation","How to set up a shared workspace for your team and your agents, and how to get the most out of it once you have.",0,{"path":331,"title":332,"navTitle":333,"seoTitle":8,"description":334,"type":293,"position":212,"updated":12,"release":13,"related":335,"plans":8},"\u002Fdocs\u002Fplaybooks\u002Fclient-work","Run client work","Client work","A folder per client, agents that prepare the deliverables, and share links that give clients exactly what they should see.",[33,43,107],{"path":300,"title":337,"navTitle":338,"seoTitle":8,"description":339,"type":293,"position":49,"updated":12,"release":13,"related":340,"plans":8},"Run an inbox your agent files","Inbox and filing","Drop anything into Inbox\u002F without deciding where it goes, and have an agent file it by rules you write once.",[129,227,201],{"path":342,"title":343,"navTitle":8,"seoTitle":8,"description":344,"type":24,"position":57,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fplaybooks","Playbooks","Opinionated patterns for running a workspace with your agents, from the rulebook they follow to the routines that keep it alive.",{"path":346,"title":347,"navTitle":348,"seoTitle":8,"description":349,"type":293,"position":73,"updated":31,"release":13,"related":350,"plans":8},"\u002Fdocs\u002Fplaybooks\u002Fmemory-and-decisions","Give your agents a memory","Memory and decisions","Status pages, decision records and handoff notes that let any agent pick up where the last session left off.",[68,351,182],"\u002Fdocs\u002Fplaybooks\u002Fmultiple-agents",{"path":351,"title":353,"navTitle":354,"seoTitle":8,"description":355,"type":293,"position":25,"updated":31,"release":13,"related":356,"plans":8},"Work with several agents","Several agents","Give each agent its own key and its own lane, hand work over through files, and let versioning catch the collisions.",[41,346,112],{"path":107,"title":358,"navTitle":359,"seoTitle":8,"description":360,"type":293,"position":39,"updated":12,"release":13,"related":361,"plans":8},"Review your agent's work","Review loop","Let an agent draft, review it with comments in the web app, and have the agent work through your feedback thread by thread.",[362,189,60],"\u002Fdocs\u002Fsharing\u002Fcomments",{"path":129,"title":364,"navTitle":365,"seoTitle":8,"description":366,"type":293,"position":57,"updated":31,"release":13,"related":367,"plans":8},"Set up routines","Routines","Recurring agent work, like a morning inbox run or a weekly review, and where the schedule lives when Treehouse doesn't run agents itself.",[300,100,124],{"path":227,"title":369,"navTitle":8,"seoTitle":8,"description":370,"type":293,"position":275,"updated":65,"release":13,"related":371,"plans":8},"Build a second brain","A personal workspace where you capture everything quickly and an agent keeps it filed, linked and useful.",[300,129,182],{"path":201,"title":373,"navTitle":8,"seoTitle":8,"description":374,"type":293,"position":11,"updated":31,"release":13,"related":375,"plans":8},"Shape your workspace","Folder structures that work for people and agents alike, and the handful of habits that keep a workspace easy to navigate as it grows.",[68,182,226],{"path":68,"title":377,"navTitle":8,"seoTitle":8,"description":378,"type":293,"position":30,"updated":180,"release":13,"related":379,"plans":8},"Write your AGENTS.md","The one file every agent reads first. What to put in it so any agent, in any session, works the way your team does.",[201,67,99],{"path":381,"title":382,"navTitle":383,"seoTitle":8,"description":384,"type":24,"position":275,"updated":31,"release":13,"related":385,"plans":8},"\u002Fdocs\u002Fself-hosting","Self-host Treehouse","Self-hosting","Run your own Treehouse server - the architecture, required and optional environment variables, storage and encryption, and connecting clients.",[61,91,143],{"path":128,"title":387,"navTitle":388,"seoTitle":8,"description":389,"type":10,"position":39,"updated":31,"release":13,"related":390,"plans":8},"See what changed in a workspace","Activity","The activity feed shows every change and comment in a workspace, who made it, and whether it came from a person or an agent.",[67,59,41,189,112],{"path":362,"title":392,"navTitle":393,"seoTitle":8,"description":394,"type":10,"position":49,"updated":12,"release":13,"related":395,"plans":8},"Comment on a document","Comments","Leave comments on passages of a markdown file, reply and resolve threads, and let agents read and act on your feedback.",[107,189,128],{"path":52,"title":397,"navTitle":398,"seoTitle":8,"description":399,"type":10,"position":73,"updated":12,"release":13,"related":400,"plans":8},"Customise your workspace","Customise a workspace","Rename a workspace, give it an icon and colour, create new workspaces, and choose a theme for everyone or just for you.",[15,33],{"path":402,"title":403,"navTitle":8,"seoTitle":8,"description":404,"type":24,"position":39,"updated":12,"release":13,"related":8,"plans":8},"\u002Fdocs\u002Fsharing","Share and collaborate","Invite people into a workspace, share files with anyone by link, comment on documents and see who changed what.",{"path":16,"title":406,"navTitle":407,"seoTitle":8,"description":408,"type":10,"position":30,"updated":31,"release":13,"related":409,"plans":410},"Invite people to a workspace","Invite people","Bring teammates into a workspace with an invite link, see who's a member, and remove people when they no longer need access.",[33,5,41],[18,19],{"path":33,"title":412,"navTitle":413,"seoTitle":8,"description":414,"type":10,"position":11,"updated":415,"release":13,"related":416,"plans":8},"Share a file or folder with a link","Share links","Send members straight to a file, or give anyone read-only access to a file or folder, with an optional password and a pinned version.","2026-10-20",[16,43,189,15],{"id":418,"title":260,"body":419,"description":262,"extension":594,"meta":595,"navTitle":261,"navigation":596,"path":259,"plans":8,"position":263,"related":597,"release":13,"seo":598,"seoTitle":8,"stem":599,"type":10,"updated":31,"__hash__":600},"docs\u002Fdocs\u002Ffiles\u002Fundo-an-agent.md",{"type":420,"value":421,"toc":586},"minimark",[422,426,431,462,466,487,490,494,497,530,540,544,555,558,566,570],[423,424,425],"p",{},"Every change in Treehouse is recorded with the API key that made it, so when one agent gets something wrong you can take back just its work. Changes by people and by other agents stay as they are.",[427,428,430],"h2",{"id":429},"undo-from-activity","Undo from Activity",[432,433,434,446,453],"ol",{},[435,436,437,438,441,442,445],"li",{},"Select ",[439,440,388],"strong",{}," in the sidebar, then ",[439,443,444],{},"See all activity",".",[435,447,448,449,452],{},"Hover over the first entry by that agent you want undone and select ",[439,450,451],{},"Undo Claude Code's changes…"," (with your agent's name). The moment just before that entry is filled in.",[435,454,437,455,458,459,445],{},[439,456,457],{},"Preview changes",", check the list, then select ",[439,460,461],{},"Undo changes",[427,463,465],{"id":464},"undo-from-the-api-keys-list","Undo from the API keys list",[432,467,468,473,479],{},[435,469,470,471,445],{},"Select your name at the bottom of the sidebar, then ",[439,472,55],{},[435,474,475,476,445],{},"Next to the key, select ",[439,477,478],{},"Undo changes…",[435,480,481,482,484,485,445],{},"Choose how far back to go, select ",[439,483,457],{},", then ",[439,486,461],{},[423,488,489],{},"The API keys list shows your own keys. To undo another member's agent, use its entries in Activity.",[427,491,493],{"id":492},"what-gets-undone","What gets undone",[423,495,496],{},"Each file the agent changed after that moment goes back to how it was just before the agent's first change to it:",[498,499,500,507,513,519],"ul",{},[435,501,502,503,506],{},"Files it ",[439,504,505],{},"edited"," get their earlier content back, as a new version.",[435,508,502,509,512],{},[439,510,511],{},"deleted"," come back.",[435,514,502,515,518],{},[439,516,517],{},"renamed or moved"," go back to their old names.",[435,520,502,521,524,525,529],{},[439,522,523],{},"created"," are deleted. They go to the ",[526,527,528],"a",{"href":246},"trash",", so you can still bring them back.",[423,531,532,533,535,536,539],{},"The undo appears in ",[526,534,388],{"href":128}," as one entry, such as \"undid 6 changes by Claude Code\", and synced folders pick it up. To take the undo back, use ",[439,537,538],{},"Restore to before this…"," on that entry.",[427,541,543],{"id":542},"when-someone-else-changed-a-file-afterwards","When someone else changed a file afterwards",[423,545,546,547,550,551,554],{},"If a person or another agent changed a file after the agent did, that file is ",[439,548,549],{},"left alone",", and the preview lists it with who changed it, such as \"someone else changed it afterwards (Sam Rivera)\". Undoing the agent's change would throw their work away, so Treehouse never does it. Open the file's ",[526,552,553],{"href":189},"history"," to pick the version you want by hand.",[423,556,557],{},"A rename is treated as one change. If someone edited the renamed file, both its old and new names are left alone.",[423,559,560,561,565],{},"The same rules as ",[526,562,564],{"href":563},"\u002Fdocs\u002Ffiles\u002Frestore-to-an-earlier-time#whats-left-alone","restoring to an earlier time"," apply to everything else: files you can't see are never touched, a file private to someone else at the time is left alone, and anything changed after your preview is left alone.",[427,567,569],{"id":568},"agents-undoing-their-own-work","Agents undoing their own work",[423,571,572,573,577,578,581,582,445],{},"An agent connected over MCP can undo its own changes with ",[574,575,576],"code",{},"preview_undo_my_changes"," and ",[574,579,580],{},"undo_my_changes",". It can only ever undo changes made with its own key, never another agent's or a person's. See the ",[526,583,585],{"href":584},"\u002Fdocs\u002Fagents\u002Freference\u002Fmcp-server#preview_undo_my_changes","MCP server reference",{"title":587,"searchDepth":11,"depth":49,"links":588},"",[589,590,591,592,593],{"id":429,"depth":11,"text":430},{"id":464,"depth":11,"text":465},{"id":492,"depth":11,"text":493},{"id":542,"depth":11,"text":543},{"id":568,"depth":11,"text":569},"md",{},true,[240,128,41],{"title":260,"description":262},"docs\u002Ffiles\u002Fundo-an-agent","I0ELxIKgRk6zeO4QSyfmJ7ehu8XysFnDRlJGJaRTgAA",1793370244305]