feat(core): add remote workspace environment seam

This commit is contained in:
Kit Langton 2026-07-17 00:04:13 -04:00
commit fd92aeac66
10 changed files with 805 additions and 24 deletions

View file

@ -2,8 +2,19 @@ export * as Workspace from "./workspace.js"
import { WorkspaceEvent } from "./workspace-event.js"
import { WorkspaceID } from "./workspace-id.js"
import { Project } from "./project.js"
import { AbsolutePath } from "./schema.js"
import { Schema } from "effect"
export const ID = WorkspaceID
export type ID = WorkspaceID
export const Info = Schema.Struct({
id: ID,
name: Schema.String,
directory: AbsolutePath,
project: Project.Current,
}).annotate({ identifier: "Workspace.Info" })
export interface Info extends Schema.Schema.Type<typeof Info> {}
export const Event = WorkspaceEvent