Expand description
Glass Development Environment runtime.
This crate owns the resident software-development workspace used by the
glass product. Browser intelligence remains provided by the one-way
glass-browser dependency.
The interactive TUI separates terminal rendering from workspace work. A snapshot worker hydrates resident projections and executes governed browser, Git, agent, and project operations off the input loop. The UI applies versioned snapshots, keeps drafts and modal state local, and restores the terminal without waiting for an active bounded job.
§Public API
DevelopmentWorkspace owns the resident project runtime and its trust
boundary. SharedDevelopmentWorkspace is the thread-safe handle used by
the TUI, daemon, MCP, and agent services. DevelopmentToolRouter exposes
governed tool execution, while PiReadiness and PiSessionRequest
describe the managed Pi runtime surface.
The focused browser-only API lives in
glass_browser.
The docs.rs page documents the Rust library API; installed command behavior is specified in the CLI reference.
§Quick start
use glass_dev::DevelopmentWorkspace;
let workspace = DevelopmentWorkspace::open(".")?;
println!("{}", workspace.root().display());§Modules
agents owns resident Pi scheduling and evidence. browser provides
the development browser service. development contains files, editors,
processes, language services, and project execution. tools and
trust enforce governed operations, while tui and workspace
connect those services to the interactive product.
Re-exports§
pub use agents::AgentEvent;pub use agents::AgentId;pub use agents::AgentRegistry;pub use agents::AgentSnapshot;pub use agents::AgentSpec;pub use agents::AgentStatus;pub use agents::ResidentAgentBroker;pub use browser::BrowserRuntimeState;pub use browser::BrowserService;pub use browser::BrowserStartConfig;pub use customization::Customization;pub use customization::GlassConfig;pub use customization::Skill;pub use experiments::ExperimentComparison;pub use experiments::ExperimentEvidence;pub use experiments::ExperimentManager;pub use experiments::ExperimentRanking;pub use experiments::ExperimentSnapshot;pub use experiments::ExperimentState;pub use experiments::ExperimentTrustPolicy;pub use experiments::ExperimentWeights;pub use intelligence::CausalPath;pub use intelligence::DevelopmentEdge;pub use intelligence::DevelopmentIntelligence;pub use intelligence::DevelopmentNode;pub use intelligence::DevelopmentNodeKind;pub use intelligence::ObservableDevelopmentEvent;pub use intelligence::ObservableEventInput;pub use intelligence::ReplayDiff;pub use lsp::LanguageServerConfig;pub use lsp::LanguageService;pub use lsp::LanguageServiceEvent;pub use pi_runtime::PINNED_PI_SDK_VERSION;pub use pi_runtime::PiReadiness;pub use pi_runtime::PiReadinessComponent;pub use pi_runtime::PiReadinessState;pub use pi_runtime::PiSessionRequest;pub use tasks::RetryPolicy;pub use tasks::TaskBudget;pub use tasks::TaskEvidence;pub use tasks::TaskId;pub use tasks::TaskScheduler;pub use tasks::TaskSnapshot;pub use tasks::TaskSpec;pub use tasks::TaskState;pub use tasks::VerificationRequirement;pub use tools::DevelopmentToolContext;pub use tools::DevelopmentToolRouter;pub use trust::LocalTrustDecision;pub use trust::WorkspaceIdentity;pub use trust::WorkspaceTrust;pub use trust::WorkspaceTrustStore;pub use workspace::DevelopmentWorkspace;
Modules§
- agents
- Glass-owned scheduling for independent resident Pi agent sessions.
- browser
- Resident browser and workflow ownership for the Glass development workspace.
- cli
- Glass Dev-owned project CLI dispatch.
- customization
- Governed project configuration, skills, hooks, commands, and custom tools.
- daemon
- Local authenticated daemon that owns complete development workspaces.
- debugger
- Resident Debug Adapter Protocol runtime.
- development
- Terminal-native project development runtime.
- experiments
- Isolated competing implementations ranked from observable evidence.
- git
- Native bounded Git and worktree service for Glass Dev.
- intelligence
- Bounded causal graph and observable development replay.
- kernels
- Named persistent execution kernels for Glass Dev.
- lsp
- Shared resident language-service ownership for humans and agents.
- mcp
- Full-product MCP tools contributed to the browser-owned transport.
- pi_
runtime - Glass-owned host for Pi’s native
AgentSessionSDK runtime. - tasks
- Autonomous, verified task DAG scheduling above resident Pi agents.
- testing
- Resident test discovery and execution service.
- tools
- Governed tool routing into one resident development workspace.
- trust
- Identity-bound workspace trust stored outside repository control.
- tui
- Decomposed full Glass Dev terminal application.
- workspace
- Resident development workspace ownership.
Functions§
- dispatch
- Dispatch the full Glass Development Environment.