feat: scaffold codespace backend

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tao.chen
2026-07-02 15:07:54 +08:00
co-authored by Claude Fable 5
commit 411ed1f8ba
43 changed files with 4428 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package watcher
// Event represents a filesystem change event.
type Event struct {
Type string `json:"type"`
Path string `json:"path"`
}
// Watcher is a placeholder interface for future filesystem watching.
// Not wired into the API in v1.
type Watcher interface {
Start(root string) error
Stop() error
Events() <-chan Event
}