bazel start + mcp start

This commit is contained in:
ari committed 2026-11-01 14:55:33 -05:00
1 parent a90653260a
commit 4c082aca7c
33 files changed
+1728 -79

No files matched your search

+8
View File
@@ -2,6 +2,7 @@ package node
import (
"context"
"errors"
"fmt"
"net/http"
"time"
@@ -32,8 +33,15 @@ type Node interface {
FinishImport(ctx context.Context, id string, quotaMB int64) error
AbortImport(ctx context.Context, id string) error
DeleteHome(ctx context.Context, drive, machine string) error
// Paths are relative to the home folder.
ReadFile(ctx context.Context, drive, machine, path string, offset int64, limit int) (data []byte, size int64, err error)
WriteFile(ctx context.Context, drive, machine, path string, offset int64, data []byte) error
}
// Returned when a node runs an older version that doesn't know a call.
var ErrTooOld = errors.New("this node runs an older version")
type NodeInfo struct {
Name string `json:"name"`
Version string `json:"version,omitempty"`