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:
+2
-2
@@ -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"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user