feat(f8): wire SidecarRouter; authoring commands live folder-less (#19 precedent)

Spec §6.4: construct GlobalSidecarStore + SidecarRouter (CoauthorStore when root);
remove the no-root early-return + command stubs so F2/F3/F4 are real folder-less;
renderIfOpen gated by isAuthorable; editor-context menus widened to untitled;
export sidecarRouter on CowritingApi. activate now always returns the API.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ben Stull
2026-06-11 13:13:26 -07:00
parent 7387366e28
commit 7892e2fe87
2 changed files with 39 additions and 50 deletions
+2 -2
View File
@@ -112,12 +112,12 @@
"editor/context": [
{
"command": "cowriting.editSelection",
"when": "editorHasSelection && resourceScheme == file",
"when": "editorHasSelection && (resourceScheme == file || resourceScheme == untitled)",
"group": "1_cowriting@1"
},
{
"command": "cowriting.createThread",
"when": "editorHasSelection && resourceScheme == file",
"when": "editorHasSelection && (resourceScheme == file || resourceScheme == untitled)",
"group": "1_cowriting@2"
}
],