Skip to main content

Module development

Module development 

Source
Expand description

Terminal-native project development runtime.

This module owns the local development contracts used by the CLI, MCP, TUI, and embedded harness. Browser authority remains in the existing browser runtime: project state can coordinate a live application without duplicating browser control logic.

Glass Dev directly owns the concrete project, editor, PTY, language-server, graph, replay, Neovim, experiment, and agent contracts. There is no browser feature bridge or disabled compatibility implementation.

Project paths are resolved beneath one canonical root; reads, output tails, event logs, and retained buffers have hard bounds. Writes are atomic and actor-attributed. Runtime claims such as live-update provenance remain pending until explicit source/runtime evidence or browser revision evidence supports them. A project session never implies browser mutation authority.

Re-exports§

pub use agent::AgentAuthorityContext;
pub use agent::AgentContextPacket;
pub use agent::AgentToolGateway;
pub use agent::BrowserAgentContext;
pub use agent::HarnessEvent;
pub use agent::HarnessRequest;
pub use agent::LocalHarness;
pub use agent::PiHarness;
pub use agent::PiHarnessOptions;
pub use agent::ToolAuthorization;
pub use agent::ToolCall;
pub use agent::ToolDescriptor;
pub use agent::ToolRegistry;
pub use agent::resolve_context;
pub use agent::resolve_context_with_browser;
pub use cockpit::AttentionItem;
pub use cockpit::AttentionState;
pub use cockpit::ReconnectCapsule;
pub use cockpit::ReconnectCapsuleStore;
pub use cockpit::ResidentDevelopmentSessions;
pub use cockpit::VerificationCard;
pub use cockpit::VerificationCheck;
pub use cockpit::attention_inbox;
pub use collaboration::CollaborationBus;
pub use collaboration::CollaborationEvent;
pub use collaboration::EditAccess;
pub use collaboration::EditClaim;
pub use debug::SemanticBreakpoint;
pub use debug::SemanticBreakpointHit;
pub use debug::SemanticEntityState;
pub use debug::SemanticSnapshot;
pub use debug::evaluate_breakpoints;
pub use diff::ProjectDiff;
pub use diff::build_diff;
pub use editor::FoldRegion;
pub use editor::SyntaxKind;
pub use editor::SyntaxSpan;
pub use editor::TextPosition;
pub use editor::TextSelection;
pub use editor::fold_regions;
pub use editor::matching_bracket;
pub use editor::syntax_spans;
pub use events::Actor;
pub use events::ActorAuthority;
pub use events::ActorConnection;
pub use events::ActorKind;
pub use events::DevelopmentEvent;
pub use events::DevelopmentEventKind;
pub use events::DevelopmentEventPage;
pub use events::Timeline;
pub use experiment::ExperimentComparison;
pub use experiment::ExperimentEvidence;
pub use experiment::ExperimentManager;
pub use experiment::ExperimentWorkspace;
pub use graph::DevelopmentGraph;
pub use graph::LinkEvidence;
pub use graph::LinkProvenance;
pub use graph::SourceLocation;
pub use language::DiagnosticPosition;
pub use language::LanguageDiagnostic;
pub use language::LanguageDocument;
pub use language::LanguageResponse;
pub use language::LspClient;
pub use neovim::NeovimCapability;
pub use neovim::probe_neovim;
pub use neovim::start_neovim;
pub use process::ProcessHealth;
pub use process::ProcessManager;
pub use process::ProcessSnapshot;
pub use process::ProcessState;
pub use project::CommandConfig;
pub use project::EditorBuffer;
pub use project::FileEntry;
pub use project::FileKind;
pub use project::GlassProjectConfig;
pub use project::ProjectDetection;
pub use project::ProjectTreeResult;
pub use project::ProjectWorkspace;
pub use project::detect_project;
pub use remote_view::RemoteFrame;
pub use remote_view::RemoteInput;
pub use remote_view::RemoteView;
pub use replay::DevelopmentRevision;
pub use replay::ReplayWindow;
pub use replay::replay;
pub use search::SearchHit;
pub use search::SearchKind;
pub use search::fuzzy_score;
pub use search::rank;

Modules§

agent
cockpit
collaboration
debug
diff
editor
events
experiment
graph
language
neovim
process
project
remote_view
Loopback-only, token-scoped browser view transport for SSH forwarding.
replay
search

Enums§

DevelopmentError

Constants§

DEVELOPMENT_COCKPIT_SCHEMA_VERSION
DEVELOPMENT_EVENT_SCHEMA_VERSION
DEVELOPMENT_SCHEMA_VERSION
MAX_BUFFER_BYTES
MAX_FILE_BYTES
MAX_FILE_ENTRIES
MAX_PROCESS_OUTPUT_BYTES
MAX_TIMELINE_EVENTS

Type Aliases§

DevelopmentResult