René's URL Explorer Experiment


Title: feat(folders): cut file folders over, and give knowledge bases and tables folders by waleedlatif1 · Pull Request #6045 · simstudioai/sim · GitHub

Open Graph Title: feat(folders): cut file folders over, and give knowledge bases and tables folders by waleedlatif1 · Pull Request #6045 · simstudioai/sim

X Title: feat(folders): cut file folders over, and give knowledge bases and tables folders by waleedlatif1 · Pull Request #6045 · simstudioai/sim

Description: Summary Builds on the generic resourceType-driven folder engine (#6037, already merged) to finish the file-folder migration and extend folders to two more resource trees, behind one shared UI module. File-folder cutover. All 30 workspace_file_folders query sites now target folder scoped to resourceType = 'file' — id-keyed lookups included, because nothing stops a caller handing a workflow folder's id to a file-folder endpoint. Adds the restore-conflict handling the legacy path never had: a folder whose name was taken while it was archived now deduplicates against the resolved parent (restore re-roots when the original parent is still archived) instead of being permanently unrestorable. Knowledge Bases and Tables get folders. knowledge_base.folder_id and user_table_definitions.folder_id are written and served end to end; every create/move admits a folder only through findActiveFolder, scoped to workspace and resourceType. Both pages get folder rows, breadcrumbs, inline rename on rows and on the breadcrumb, move-to submenus, pin/unpin, drag-a-row-onto-a-folder, and folders-first ordering — matching Files. One shared folder module. components/folders/ backs Knowledge and Tables, and Files shares its move-option renderer: folderBreadcrumbItems, folderRow, folderRowId/parseFolderedRowId, buildMoveOptions / buildDescendantIndex / renderMoveOptions, nextUntitledFolderName, FolderContextMenu, useFolderNavigation, useFolderRowDragDrop. The Knowledge/Tables duplicates from the parallel build are collapsed into one of each; files/move-options.tsx is deleted. Breadcrumbs are data feeding Resource.Header, not a rival component — the header owns the root-crumb popover, width allocation, and the single-crumb-as-title rule. Recently Deleted restores folders of every type, driven by one declarative table rather than a branch per resource. Please read these three before approving 1. Restore is timestamp-matched — a deliberate behavior change on a shipped path. A folder delete stamps one shared timestamp across the subtree, and restore resurrects only rows carrying that exact timestamp. So a webhook or schedule archived independently before the folder was deleted stays archived through the folder's restore. That is the point — it stops a restore reviving siblings the user deleted on purpose — but it is a change in observable behavior for folder restore, which already ships. 2. Deploy ordering: this must go out at least one cycle after the engine (#6037). resourceType defaults to 'workflow' when omitted — that is what made the engine rolling-deploy safe. A value that is present but unrecognized is now rejected with a 400, never coerced (servedFolderResourceTypeSchema, pinned by tests), because coercing would file a knowledge-base folder into the workflow tree where the Knowledge page could never see it again. Residual rolling-window behavior: a new client talking to an old pod can have a folderId silently stripped by the old contract, so a knowledge base created inside a folder lands at the root. Recoverable by moving it; not corrupting. 3. File folders moved storage but kept their API. /api/folders deliberately does not serve resourceType: 'file'. The Files routes (/api/workspaces/[id]/files/folders/**) remain the only writer, because they serialize every mutation behind the workspace_file_folders:${workspaceId} advisory lock — name deliberately unchanged, so old and new pods take the same lock during the rolling deploy — and because they reject names containing /, \, . and .., which the generic contract allows and which would corrupt a file folder's path (a folder named a/b becomes unreachable by path, and breadcrumbs resolve it as two segments). This was briefly served during development and is now excluded, with a test pinning it. Converging the two engines is follow-up work. Folder locking remains workflow-only by design — supportsLocking is declared on the workflow config alone, and a locked value on any other tree is dropped rather than persisted. Migration 0274 — data loss without it, and it must run twice 0272's file-folder backfill is guarded by WHERE NOT EXISTS (… resource_type = 'file'), so it fires exactly once — and nothing has written those rows since: the deployed manager reads and writes workspace_file_folders exclusively. So folder's file rows are frozen at the 0272 snapshot while every rename, move, delete, and restore since then lives only in the legacy table. Since the cutover repoints all reads at folder, without 0274: folders created after 0272 vanish and their contents become unreachable; folders renamed or moved after 0272 revert; folders deleted after 0272 reappear as active phantoms; and a stale-active row can hold the name a newer folder legitimately took. 0274 therefore reconciles rather than catches up — it parks mirrored names, then upserts the full row state from the authoritative legacy table. The conflict target is (id) on purpose: a name collision would mean the source violated its own unique index, and must fail loudly rather than be swallowed by a bare ON CONFLICT DO NOTHING, which would silently discard a folder and strand every file inside it. ⚠️ Operational step: run 0274 again once the deploy has fully drained. Old pods keep writing the legacy table until they are gone, so anything they write during the rolling window lands after the migration runs. Both statements are idempotent; a journaled migration does not replay, so this is manual. packages/db/schema.ts previously described workspace_file_folders as "unread, unwritten … dropped in a follow-up contract migration". It was live until this PR. The comment now says what is actually true and names what must hold before anyone drops it. Bugs fixed along the way (second commit) Archived folders were mutable, bypassing the folder lock. The folder routes and updateFolder filtered id + resourceType but never deletedAt, while getFolderLockStatus does — so an archived-but-locked folder reported unlocked. Lock a subfolder, delete its parent, and any write-level member could rename and reparent it. DELETE deliberately still accepts an archived folder, because it reuses that folder's deletedAt to make a partial cascade retryable. v1/admin/workflows/import wrote folderId with no validation at all (0272 dropped the FK), accepting another workspace's folder or a knowledge-base folder. The workflow then rendered under no sidebar node while still executing, billing, and escaping the folder delete cascade. Folder restore did not undo folder delete. Delete routes through archiveWorkflow, which also disables schedules, webhooks, chats, and MCP tools; restore ran a bare archivedAt = null. Restoring a folder reported success while every schedule stayed disabled forever and chats 404'd. Deployment state is still deliberately not revived, matching single-workflow restore. Cascade restore would have dumped every child at the workspace root. The canonical restores re-root a resource whose folder is archived — correct alone, wrong inside a cascade, which restores children before un-archiving the folders. resolveRestoredFolderId exempts the subtree being restored. restoreTable gained the re-root check it lacked entirely. getFolderPath had no cycle guard, so a cycle in the client cache (reachable via useReorderFolders' unchecked optimistic write) hung the tab. Its twin already had one. Sidebar "New folder" inside a folder hardcoded the name; the second one 409'd, was swallowed with only a log line, and the user got no folder and no message. chunkedBatchDelete deleted by id with no re-check, so a resource restored between the SELECT and the DELETE was hard-deleted anyway, orphaning its cascade-restored children. Pinned rows carry a pin glyph again — they sort to the top and had nothing explaining why since the inline pin button was removed. v1/admin/workspaces/[id]/import returned 500 on a concurrent import sharing a folder path (unserialized SELECT-then-INSERT); it now adopts whichever folder won, since the name is server-chosen. Folder duplicate returned 500 on a retry. newId is client-supplied, so replaying a duplicate whose response was lost hit the primary key rather than a name conflict. Now a 409. Perf: knowledgeKeys moved to a keys-only module. Reading it from hooks/queries/kb/knowledge pulled a ~1000-line hook module (and the @sim/emcn barrel behind it) into hooks/queries/folders, which three server prefetches import — the same import edge the navigation-speed audit measured at 11.8MB per workspace route. Merge drop: Knowledge never got the chrome Tables did. Its prefetch now fetches the folder tree alongside the bases (so the list does not paint ungrouped and a ?folderId= deep link is not an empty breadcrumb), and its loading fallback declares the "New folder" action. Post-deploy runbook (two manual steps) 1. Re-run migration 0274 once the deploy has fully drained. Old pods keep writing workspace_file_folders until they are gone, so anything written during the rolling window lands after the migration ran. It is idempotent, but a journaled migration does not replay. Precondition: run it before the soft-delete cleanup job purges expired folder rows — cleanup hard-deletes from folder but never from the legacy table, so re-running afterwards would reinstate purged folders as soft-deleted phantoms whose files are already gone. Retention is far longer than any drain, so running promptly is sufficient. 2. Run the workflow-folder reconcile below, same timing, same precondition. 0272's workflow backfill is one-shot (WHERE NOT EXISTS (… resource_type = 'workflow')) and its own comment defers later rows to "the separate post-drain catch-up pass" — which exists for files (0274) and not for workflows. Without this, a workflow folder an old pod creates during the rolling window is stranded in workflow_folder: invisible in the sidebar, with its workflows appearing at the workspace root. Deliberately not shipped as a migration — at deploy time it is a no-op (0272 copies everything), so it only ever matters as a manual post-drain step. It is insert-only, unlike 0274. workspace_file_folders enforces its own active-unique key so file folders can be mirrored verbatim; workflow_folder never did, so 0272 deduplicated as it copied. Upserting raw names back would undo those renames and collide on folder_workspace_resource_parent_name_active_unique. Rows already in folder are therefore left untouched — the new code has been writing them and is authoritative — and only ids absent from folder are adopted, with dedup applied against both what the table already holds and what the statement is about to insert. Workflow-folder reconcile SQL (verified — see below) DO $$ BEGIN INSERT INTO "folder" (id, resource_type, name, user_id, workspace_id, parent_id, locked, sort_order, created_at, updated_at, deleted_at) WITH missing AS ( SELECT f.* FROM "workflow_folder" f WHERE NOT EXISTS (SELECT 1 FROM "folder" e WHERE e.id = f.id) ), taken AS ( SELECT workspace_id, coalesce(parent_id, '') AS scope, name FROM "folder" WHERE resource_type = 'workflow' AND deleted_at IS NULL ), candidates AS ( -- Archived rows are exempt: the unique index is partial on `deleted_at IS NULL`. SELECT id, workspace_id, coalesce(parent_id, '') AS scope, name, created_at FROM missing WHERE archived_at IS NULL ), occupied AS ( -- Dodge both what the table holds and what this statement is about to insert. SELECT workspace_id, scope, name FROM taken UNION SELECT workspace_id, scope, name FROM candidates ), ranked AS ( SELECT c.id, c.workspace_id, c.scope, c.name, ROW_NUMBER() OVER (PARTITION BY c.workspace_id, c.scope, c.name ORDER BY c.created_at, c.id) AS rn, EXISTS (SELECT 1 FROM taken t WHERE t.workspace_id = c.workspace_id AND t.scope = c.scope AND t.name = c.name) AS base_taken FROM candidates c ), renamed AS ( SELECT d.id, ( -- First UNUSED suffix, not the row number: the app's own dedup produces this exact -- shape, so `name || ' (' || rn || ')'` can regenerate a name that already exists. SELECT d.name || ' (' || candidate.n || ')' FROM generate_series(1, 10000) AS candidate(n) WHERE NOT EXISTS ( SELECT 1 FROM occupied o WHERE o.workspace_id = d.workspace_id AND o.scope = d.scope AND o.name = d.name || ' (' || candidate.n || ')') ORDER BY candidate.n -- If the bare name is already held, even rn = 1 needs a suffix. OFFSET (CASE WHEN d.base_taken THEN d.rn ELSE d.rn - 1 END) - 1 LIMIT 1 ) AS new_name FROM ranked d WHERE d.base_taken OR d.rn > 1 ) SELECT f.id, 'workflow', coalesce(r.new_name, f.name), f.user_id, f.workspace_id, f.parent_id, f.locked, f.sort_order, f.created_at, f.updated_at, f.archived_at FROM missing f LEFT JOIN renamed r ON r.id = f.id ON CONFLICT (id) DO NOTHING; END $$; Verified the same way as 0274: a read-only production dry run (source rows and mirrored rows match exactly, nothing for it to insert at deploy time, target state collision-free), and end-to-end execution on Postgres 17.9 against fixtures built to break the dedup — a name already held by an existing row, a name colliding with what 0272 renamed a row to, two new rows sharing a name, a generated suffix that had to dodge a new sibling holding it, a case needing three suffixes skipped, archived duplicates (correctly exempt), children ordered before parents, same name in another workspace and another parent scope, unicode and 255-char names, and locked carry-over. Every case produced the correct name; replaying it three times plus 0274 left the state hash byte-identical. Restore does not reactivate, on purpose Archive overwrites schedule.status → 'disabled' with nextRunAt cleared, and webhook/chat.isActive → false, without recording what they were. Restore clears archivedAt but does not set those back: a deliberately-disabled schedule or webhook is a common state rather than an edge case, so restoring to a constant would re-enable something the user had switched off, and re-run a 'completed' one-shot. Re-enabling stays explicit — a redeploy sets status: 'active' — matching deployment state, which restore also leaves off. Making this lossless requires archive to persist pre-archive state, which is a schema change on a shipped path and belongs in its own PR. Net vs. staging: folder restore previously left dependents archived and disabled; it now un-archives them correctly and scoped to the archive stamp. Known gaps, documented rather than patched The KB and table cascade hooks restore children one at a time; a child restored concurrently by another request throws and aborts the rest of that folder's restore. By design the folder stays archived and the whole restore is retryable, so this degrades to a retry rather than corruption — but it is a real race. (Workflows use the bulk path and are unaffected.) archiveTableChildren walks tables one at a time through deleteTable. guardLockedTables has already rejected the folder if any table is locked, so the loop is likely equivalent to the bulk path; collapsing it changes cascade semantics and was left for a follow-up. useUpdateFolder has no optimistic update, so a dragged folder lags where a dragged resource does not. restore_resource's two new folder types are unreachable until the restore_resource parameter enum in the copilot service's contracts/tool-catalog-v1.json — a different repository, mirrored here by scripts/sync-tool-catalog.ts — widens. Accepted on this side already, so it needs no follow-up here. Files still builds its own folder row, breadcrumb trail, row-id scheme and untitled-name loop rather than the shared module's; it shares the move-option renderer and root sentinel. Files carries multi-select and external-file drops the shared helpers do not model — that is why it does not regress here — and each shared helper's TSDoc says so rather than overclaiming. Knowledge and Tables have no external-file-drop guard, so dropping an OS file on the list lets the browser navigate away. Files wraps the page to prevent this. Pre-existing shape for those two pages, called out because it is now a visible difference between foldered lists. Type of Change Bug fix New feature Breaking change Documentation Other: DB migration (backfill), behavior change on folder restore Migration verification: 0272 + 0274 Where 0272 has not yet run, it and 0274 apply back to back in the same deploy, and 0274 becomes a no-op reconcile over the rows 0272 just wrote. Read-only dry run. Materialised the complete post-0272 folder table from both source tables — applying 0272's exact dedup CTE — and asserted every constraint the table declares: Check Result NULL names / NULL required columns none Primary-key collisions between the two source tables none folder_workspace_resource_parent_name_active_unique violations none folder_parent_resource_type_match — resource-type / workspace none FK violations — parent / user / workspace none Dedup renames that found no free suffix (would NOT-NULL fail) none Foldered files / workflows left with an unresolvable folder id none Both files run in tens of milliseconds at the data volumes involved. ⚠️ From #6037, not this PR: 0272's dedup renames a small number of workflow folders whose names collide under the new partial unique index, which is stricter than what workflow_folder enforced. Mostly auto-generated Folder N names. No file folders are renamed — the legacy table enforces the same active-unique key, which is why 0274 can write raw names. Executed end-to-end locally (Postgres 17.9) against a dataset built to break it — duplicate groups where the naive name (rn) rename would collide with an existing sibling, triples with (1) and (2) already taken, archived duplicates, unicode and 255-char names, cross-workspace and cross-parent same-names, and children ordered before their parents. Both migrations applied cleanly; every invariant held; replaying 0274 twice and 0272 again left the state hash byte-identical (idempotent). The same harness reproduced the divergence 0274 exists for — including a rename-then-reuse swap, where the mirror still holds a name the legacy table has since given to a different folder — and proved two things: the original insert-only form silently discarded a folder (ON CONFLICT DO NOTHING swallows a name violation as readily as an id one) and left every diverged row stale; the unparked ON CONFLICT (id) form only succeeds by luck of row order — forcing the adversarial order reproduces duplicate key value violates folder_workspace_resource_parent_name_active_unique. The shipped form (park names, then upsert, inside a DO block) reconciled the mirror to byte-for-byte identical with no rows missing, no field divergences and no parked names left behind. The DO block matters because 0272 ends with an embedded COMMIT for its CONCURRENTLY index builds, so this file is not guaranteed to run inside drizzle's batch transaction — a bare two-statement form could commit the parking pass and then fail the reconcile, leaving every mirrored folder holding a placeholder name. Testing bunx tsc --noEmit clean in apps/sim, packages/db, and packages/platform-authz; lint, check:api-validation, check:migrations, check:react-query, and check:client-boundary all pass; bunx vitest run --root apps/sim is green apart from one pre-existing, unrelated environment failure (executor/handlers/pi/cloud-review-tools.test.ts, FileNotFoundError: 'rg' — ripgrep is not on this machine). New tests: lib/folders/lifecycle.test.ts (create/update/delete/restore, the re-root, all 23505 mappings), lib/api/contracts/folders.test.ts (the deploy-ordering contract above), components/folders/folders.test.ts, table folder-assignment route tests, KB folder-assignment service tests, and folder-target assertions in cleanup-soft-deletes.test.ts. Reviewers should focus on: migration 0274 and its ordering against the deploy; the restore-semantics change; and the archived-folder lock bypass fix, since DELETE and PUT deliberately differ there. The UI has not been exercised in a browser. Folder navigation, drag-and-drop, inline rename, and the breadcrumb menus on Knowledge and Tables are verified by types and unit tests only. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Builds on the generic resourceType-driven folder engine (#6037, already merged) to finish the file-folder migration and extend folders to two more resource trees, behind one shared UI modul...

X Description: Summary Builds on the generic resourceType-driven folder engine (#6037, already merged) to finish the file-folder migration and extend folders to two more resource trees, behind one shared UI modul...

Opengraph URL: https://github.com/simstudioai/sim/pull/6045

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:43320f88-2a8f-126c-e7f1-2c5cbd21266e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA20:2E7595:582D45:7E427E:6AFB3E92
html-safe-noncec70ab4edef1ef3539d0c261dcd44508dbbe1f5c3c90d5a4742a0438b900c9f08
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTIwOjJFNzU5NTo1ODJENDU6N0U0MjdFOjZBRkIzRTkyIiwidmlzaXRvcl9pZCI6IjU0NjgzNjgxMTI3MDcxMjQ4ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfd840ca583f0c69f81a0844ac6b033ae2ebf5e5ea039c7db99769adff80754a8
hovercard-subject-tagpull_request:4156828989
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6045/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Builds on the generic resourceType-driven folder engine (#6037, already merged) to finish the file-folder migration and extend folders to two more resource trees, behind one shared UI modul...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6045/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6045%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6045%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6045/files
Reloadhttps://github.com/simstudioai/sim/pull/6045/files
Reloadhttps://github.com/simstudioai/sim/pull/6045/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests202 (202)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/folders-kb-tableshttps://github.com/simstudioai/sim/tree/feat/folders-kb-tables
Conversation 31 https://github.com/simstudioai/sim/pull/6045
Commits 11 https://github.com/simstudioai/sim/pull/6045/commits
Checks 27 https://github.com/simstudioai/sim/pull/6045/checks
Files changed https://github.com/simstudioai/sim/pull/6045/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6045/files
feat(folders): cut file folders over, and give knowledge bases and tables folders https://github.com/simstudioai/sim/pull/6045/files#top
Show all changes 11 commits https://github.com/simstudioai/sim/pull/6045/files
79a0636 feat(folders): cut file folders over, and give knowledge bases and ta… waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/79a0636fabc900baf915512a67e1490a2734398a
f7eda07 fix(folders): close the folder-engine audit findings waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/f7eda07b07310a1d4c66396cf72627967f3b0b7e
d1d3b99 improvement(folders): show the pin glyph on Files rows and pin the de… waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/d1d3b9953c4c994f278db51c5454d17a0a80eb72
781a768 fix(folders): close the findings from the full-diff audit waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/781a76825499bd1bf41372372641e1f012a28e36
e0eea45 fix(folders): address the review round and the full-PR audit waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/e0eea45ad071559845e71b3bea30df6ce629089e
4fecd39 docs(folders): record the 0272 + 0274 dry-run results on the migration waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/4fecd39179785e00142bd842735a11b8fc6ff2af
088801b fix(folders): close the findings from the line-by-line audit of the PR waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/088801b8f141d6e1684ba45e0b5b6acb5518c803
87ffb4a fix(tables): re-read live placement before skipping a move as a no-op waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/87ffb4acb3159042eea3640264b55823e3378553
b1c2a33 chore(folders): drop production figures from migration and code comments waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/b1c2a3390b7baa8d824130d33c4206bc299240f9
7f0d935 fix(folders): close the findings from auditing the whole release land… waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/7f0d9352a7d80314bf1b5808b67f8fbb83804935
3ad97f0 fix(folders): gate the orphan fallback on a resolved folder index, no… waleedlatif1 Jul 29, 2026 https://github.com/simstudioai/sim/pull/6045/commits/3ad97f03749aca5ea7dc57c96e5e4bd3167264db
Clear filters https://github.com/simstudioai/sim/pull/6045/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6045/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6045/files
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-0cedffc8fb190ded9fe6b1a7bbbbb3c738d179fb1fc298a2112ff709928ee5c5
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-bc834c30c5734dbb55d99e516581f881dae88d7a59ea3b325a07149af52c6d25
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-b129b15100d23e118b7bd08b06e9b55c01ac095eea9085577c0037dacfd8c5ac
route.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-e5ea6097d30829dc87b5aec294665393e0fdc9523663d8cd6543f9a59b145fe4
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-af63fb1520039c1507662bda0884649d85c7878f621acd42d59a04643d76579e
route.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-00fdcb09c8bbcd7277d542a7fc1a0d2e7a42c158bd096f975ca9398c0f3ce5b8
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-d2f34cac1e88fb3e15c5e49992656f39f3036cafa3b8026fb66c66b1fbcb6b15
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-81960503e261596563920f1d72b231544a54a0c663fea60b69ce67ec8b5f2d9b
route.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-69ea714f5574f4c303f91204c3bb3b6868cca7f2b452d6f9e40569415ded37a8
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-76d0784067d7a7c3755426895cee91db6dd9333b3b7277220b16f8ed43fa9b05
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
route.ts https://github.com/simstudioai/sim/pull/6045/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
folder-breadcrumbs.ts https://github.com/simstudioai/sim/pull/6045/files#diff-c9e59d499930bb4ea4dd9470549e9facb7f05fef966add53e2bcabc5b69c697f
folder-context-menu.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-76abddb9bf11efcfc5ede2ec16bdc8d368e1ffb9ece8e21d08567bae6e8d8635
folder-naming.ts https://github.com/simstudioai/sim/pull/6045/files#diff-7a46a571d2030e4c56622bd6bdd23f3504e0497ae1811ad8160b67557734c0fc
folder-row-id.ts https://github.com/simstudioai/sim/pull/6045/files#diff-a88c38c448519a4e8524381f2b1d66d4dd8993dc2d6ca35d9490064a91e9b778
folder-row.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-a4db5b8e63cefae7f647d25d5f08ed28ea07b460810ec41703dbab8379aa0dfb
folders.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-313c3eca7da8ac2f9eb33a5e3af686e98dedc6fd135bd80aebf0df7c33c78f64
index.ts https://github.com/simstudioai/sim/pull/6045/files#diff-c4a245a2535d154a9859253f7aa12cd277a4df0a976d5a973d04cc308fbddb96
move-options.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-b81b530236f3a0ece103df74c219ab20ff44d54f881c4d68c064b648f75ceb5d
search-params.ts https://github.com/simstudioai/sim/pull/6045/files#diff-4dfc3e6cdc90aa821b5d2878e950693a5d0ab03017614fd64debebd7c0a342a6
use-folder-navigation.ts https://github.com/simstudioai/sim/pull/6045/files#diff-09bab5ab24f100133c545663ee0105c640bde246cd15be0ef84f06fd0a8a52b7
use-folder-row-drag-drop.ts https://github.com/simstudioai/sim/pull/6045/files#diff-d1b8d8888d4ad0079637b118c40d2079336e2d645b0533ba0f8419a40184e823
resource.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-0a8b4241a80381381e908b7da57edc5b1a8e7c6f6c9f2ae6d199cb1b2f4c8f22
action-bar.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-9cc56ec5ac6a1ab6d582e6b89a30a7dd75d23d7333cf9de9b3502f754a81e228
file-row-context-menu.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-946be4d50c9d8d5a74031d9fdb4fd75b5988280e935629daf237e2cb57e2ef65
files.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
move-options.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-565ac8042726ae1231179439b95b74cfa9882b7dc25523c1036a7058fe4790f9
resource-registry.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-eaf7e7619609bfc2f8f15789303683e3655ef94c9968cffb86a757f740a964ec
prefetch.ts https://github.com/simstudioai/sim/pull/6045/files#diff-da054228aa79cebe6be900656001205e9f72af11e43b3ca7e6064f01dc9b498c
create-base-modal.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-6dc51f5a2de9f62757e4653bfaa1e26b6b869862d3085e2630c4ef7353c50246
knowledge-base-context-menu.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-be4b4fae48f507205335462344d0b0aa6f95f6e7d3cdaa1da87bf30b54cb3a9d
knowledge-list-context-menu.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-3b82fd62514ff9cc80c7b96565d4fb89c7f8069dbe646b381466f8e4916d611b
use-knowledge-upload.ts https://github.com/simstudioai/sim/pull/6045/files#diff-d37736a20924ecf750ac28c1df8bd7fc3e6091764826d2e2bf2acf7f07d7d575
knowledge.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
loading.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-62424c715c506ccf71fa443dba6cbc984d8760b9ee2696d066a3f6fd8e5470e5
prefetch.ts https://github.com/simstudioai/sim/pull/6045/files#diff-cbabd41588f9501e29016577c4bd074a22f2b379aa7860fa0f01780c3fc5b9e7
prefetch.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-0f96fdbc0043b9049bd7b95533743eec99f8fae0184fd3464b17ed4f5c19e1d5
prefetch.ts https://github.com/simstudioai/sim/pull/6045/files#diff-17f9da631614610a1ed03ff8fad6b917e56b57da971435a4cf7561dfaf7383f3
recently-deleted.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-b168e7e8c7e0d495fe4fbfc0398957a43fd1de5b02251b1d09818486206aef4d
table-context-menu.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-d424f0b25e047e416c9b341dd8f61d7c5dfbde74112faae51f7dae8abe72bd28
tables-list-context-menu.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-6dee8aa78d7ea4003b5ecea1acc4d2cd59827ccfd02320acba14fcea9ca11775
loading.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-4825778e1a15c99c2addd439aaf54135acf6076fe8784be025652664c47242fa
prefetch.ts https://github.com/simstudioai/sim/pull/6045/files#diff-89315f08bdc0de4369a4c676ab352d148ad9f065b2d79e828e78f2c1aab06b77
search-params.ts https://github.com/simstudioai/sim/pull/6045/files#diff-ed5aba54ada37864ce509003e9511b3acec6579cb07e1425deae1003ceed7c9c
tables.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-6f863f5398bd7eec36119c2c77deb2483dbe0374d1bb6909d3e6a279d857bbdc
knowledge-base-selector.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-d0d0e368c0e7b41031b4893948dee1434c9eef3a236c86782da11bd8a45a9306
folder-item.tsx https://github.com/simstudioai/sim/pull/6045/files#diff-d0bf23590be08985090d1f3e3081773b400e76d913c283bb6a1a57518d0bae12
cleanup-soft-deletes.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-7e22c35b1e0f894a4804c728a349279bf85c81dc84d790ce61e3fa8af30c66ea
cleanup-soft-deletes.ts https://github.com/simstudioai/sim/pull/6045/files#diff-0d27a0e21a9e9287bfa78ce2693f0694d417ae9bde9b2379b06f1d7bdd4052d6
copy-resources.ts https://github.com/simstudioai/sim/pull/6045/files#diff-8090f65dbd57000145cea8bb14673ad7008ab9c9bf550c267d736e4abf3c7ffb
copy-workflows.ts https://github.com/simstudioai/sim/pull/6045/files#diff-cf848b79f30956f4fcfd02bf3cc4542a1c4786526d4c22368946d1a9badcc1b8
resources.ts https://github.com/simstudioai/sim/pull/6045/files#diff-5adb982fc5f6f1e509246ad9a09920ab3e21703f78fdd833e44648d5c2a8c15e
use-knowledge-base-tag-definitions.ts https://github.com/simstudioai/sim/pull/6045/files#diff-c81253cdbec2acd9e22f3e1b9b9892fcb87f9c572198aa54b2e7395eb05e276a
use-knowledge.ts https://github.com/simstudioai/sim/pull/6045/files#diff-390c921bf4f3e9fef1a112e47db4deabb96fa53afade8d16218528adc5b9cd12
use-tag-definitions.ts https://github.com/simstudioai/sim/pull/6045/files#diff-5e74325bb4302148118049b350523870552177738cafed404d42390492388f44
folders.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-a47db43cd22a033b92e61c5a2f90bf01c7ebaf39ab11381ee7d0111519edf79a
folders.ts https://github.com/simstudioai/sim/pull/6045/files#diff-fcd03a08650b2640b95989818e3e89e886aa743ccf2921d90ffd3ec1a689f1b1
connectors.ts https://github.com/simstudioai/sim/pull/6045/files#diff-13f97cd6f6b052ac1fb420979601d978b4aee1a9e84b5dba8e12845057e8ddf2
knowledge.ts https://github.com/simstudioai/sim/pull/6045/files#diff-3567d290a76f48b2b0e1e0e1dc1f71033418f444dc6d1256a280c8e635036211
tables.ts https://github.com/simstudioai/sim/pull/6045/files#diff-1d761ed5a7a2ed9ba4435d0f39c5f1f7ac13c177b301c401b38f5a6d731ac8cb
folder-cache.ts https://github.com/simstudioai/sim/pull/6045/files#diff-376a2ef7c93a22fb8473472b360e3c12cf9a8c0994f2ef0be569d124093c5033
folder-keys.ts https://github.com/simstudioai/sim/pull/6045/files#diff-7b06b62502a0c091077a81e5260ff6649f9a53cac9be652278451627f73168b3
knowledge-keys.ts https://github.com/simstudioai/sim/pull/6045/files#diff-34cd91a1fe0c34d5018c11053ac0fb7c154f1977421719989218644c836157b9
folders.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-66570baff111102901e3ab2496f0fd2f7e0b4cd9584f2c1c455b4531e1682178
folders.ts https://github.com/simstudioai/sim/pull/6045/files#diff-9e8771cad5420784bd0df53439724fc197ee48fe567e49e11cff405cfbcb0e1b
base.ts https://github.com/simstudioai/sim/pull/6045/files#diff-af4bae723c3963d83aa7976287345a51652d8e76ae08ba51f65c5bfde501c1d8
pinned-items.ts https://github.com/simstudioai/sim/pull/6045/files#diff-3d86a542fc3ad6f695c54651fea6f3b5dcde603919211bc1731e0f7a1c33a2f3
primitives.ts https://github.com/simstudioai/sim/pull/6045/files#diff-74acbd246ecd57f97189320f8dbdafcd78d0d5150fd1d25da51057ebd06f43f1
tables.ts https://github.com/simstudioai/sim/pull/6045/files#diff-927ba827479bb6f5c0c9cee9dfe1067112e939610060f6a1e939f232b976257d
batch-delete.ts https://github.com/simstudioai/sim/pull/6045/files#diff-f07b958aaec9193a4b4c14e384154d004e0aa8d937949fcf60403269307315a5
materialize-file.ts https://github.com/simstudioai/sim/pull/6045/files#diff-c1bd6ed8e2b10944a63adf2f291cb3c82fe8ab41259efb1631b366211b41e84a
restore-resource.ts https://github.com/simstudioai/sim/pull/6045/files#diff-9853b8d4cae5683fa953ea84427636743d398dfdb4df85d199da66b91bfb85f2
cascade.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-85f0247de40fbad12361aee59e01dbd9d2db3c15935ffc96a9b0d62e3e4e2392
cascade.ts https://github.com/simstudioai/sim/pull/6045/files#diff-5a0bd5e1e62ab534542ac83eab4c17b19f1325cc7ab741756a1db0e5e1d9c3f8
config.ts https://github.com/simstudioai/sim/pull/6045/files#diff-37bb2a7db7c25ee5b9390e2f98c60a0f26ea81448a07e2fb2ee06f278b4a713d
lifecycle.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-a8f1c3f618fff6b4625c421c4caf8d379702418c6861611522540397576ef154
lifecycle.ts https://github.com/simstudioai/sim/pull/6045/files#diff-5549871eaa1033ce9ab06110a45243e09b010842207b25b9bffeaefb843e53ba
naming.ts https://github.com/simstudioai/sim/pull/6045/files#diff-5a9434edcbff55b742df47678bacb13c35eaa16872ac320c5f72fcf13bd8e261
queries.ts https://github.com/simstudioai/sim/pull/6045/files#diff-8c09d4934ac710b9fc5d471563a51c44da290d6daee339c54f2d124faad282e4
tree.ts https://github.com/simstudioai/sim/pull/6045/files#diff-5ca3076c615d0d69691988944dcc988a7327a587bc25e4c9a47f8c8f8d5932bd
folders.test.ts https://github.com/simstudioai/sim/pull/6045/files#diff-a25a6125cfae4c08f6752afa2c75d513386c5d2285632d2e3114a2fdad95c6a3
service.ts https://github.com/simstudioai/sim/pull/6045/files#diff-6978b26968fd05cf5c7635c366c8c806693b6145235f476627302fb402f32d18
types.ts https://github.com/simstudioai/sim/pull/6045/files#diff-c146f796ce404df4c0ea92b7c25fe6f3db0a8ac60e4883bea192464d69cc83f0
resources.ts https://github.com/simstudioai/sim/pull/6045/files#diff-22958842ac2677cb44a4634de8eadaf7af84976c661c6a31a0622e7c0fe0f193
restore-resource.ts https://github.com/simstudioai/sim/pull/6045/files#diff-46d98db58ca940c4398f73f9c545e0b0d2bae71205aa3f6ebd207ad2bdbaec03
service.ts https://github.com/simstudioai/sim/pull/6045/files#diff-691e9b1dc59be0015a1be5ea6189899b241d4e979a8b40e088dd7d722cfaadb6
types.ts https://github.com/simstudioai/sim/pull/6045/files#diff-d1e7779b43ae63cc518e46dc1391df909007ee5cd0f9ee4c920688b1111e2cf1
workspace-file-folder-manager.ts https://github.com/simstudioai/sim/pull/6045/files#diff-7ab6712e7e7b3b214000c022f68393bf7da60abb4ec2a557d5fa912f10c245cc
lifecycle.ts https://github.com/simstudioai/sim/pull/6045/files#diff-4ac8584a20de376e1a1ee56d455dec9907427b807ace597059e316122c4f4f5b
folder-lifecycle.ts https://github.com/simstudioai/sim/pull/6045/files#diff-2f72b73aa7690aee6452ed732da12fce707f93e7f21577a80b7a87ee745afd4d
naming.ts https://github.com/simstudioai/sim/pull/6045/files#diff-a1247cba0a17cb01aca36cf35c9d0f64e4530617f3498bc61187de66aea92a8c
0274_file_folder_cutover_reconcile.sql https://github.com/simstudioai/sim/pull/6045/files#diff-1311be26a23fe4ccfd77f7f131728a13acad7506ec8ee0062973624f67a29c17
0274_snapshot.json https://github.com/simstudioai/sim/pull/6045/files#diff-4b9de30a6cf547d14272287f683f9a838dc77548c82d3277a3ac0287c9d5a758
_journal.json https://github.com/simstudioai/sim/pull/6045/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649
schema.ts https://github.com/simstudioai/sim/pull/6045/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928
apps/sim/app/api/folders/[id]/duplicate/route.tshttps://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
View file https://github.com/simstudioai/sim/blob/3ad97f03749aca5ea7dc57c96e5e4bd3167264db/apps/sim/app/api/folders/%5Bid%5D/duplicate/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6045/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
https://github.com/simstudioai/sim/pull/6045/files#diff-c7e886eb51c1c149b93393fc1208a2fe9db245c17b30dc82f87c1ce215c39600
apps/sim/app/api/folders/[id]/route.tshttps://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
View file https://github.com/simstudioai/sim/blob/3ad97f03749aca5ea7dc57c96e5e4bd3167264db/apps/sim/app/api/folders/%5Bid%5D/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6045/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/6045/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
apps/sim/app/api/folders/reorder/route.tshttps://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
View file https://github.com/simstudioai/sim/blob/3ad97f03749aca5ea7dc57c96e5e4bd3167264db/apps/sim/app/api/folders/reorder/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6045/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
https://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
https://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
https://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
https://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
https://github.com/simstudioai/sim/pull/6045/files#diff-b21260328f16a6c01500a23b148a64b601fc9c8150991ba38b154e637a3310e6
Please reload this pagehttps://github.com/simstudioai/sim/pull/6045/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6045/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.