Architecture¶
Core modules¶
extension.ts: command orchestration and runtime flow.services/scriptEligibility.ts: executable file checks (package main).services/ephemeralRunner.ts: ephemeral command sequence builder.services/programArgs.ts: quick-input argument parsing.test/suite/*: behavioral regression coverage.
Structural decisions¶
- Integrated Terminal as the primary execution channel.
- Temporary cleanup enabled by default.
- Dual validation (UI context + runtime command gate).
- Local LLM/MCP stub in MVP.
Logical flow¶
flowchart TB
A["VSCode Command"] --> B["Validation Gate"]
B --> C{"go.mod present?"}
C -->|"yes"| D["Project Runner"]
C -->|"no"| E["Ephemeral Runner"]
D --> F["Integrated Terminal"]
E --> F
F --> G["Execution State"]
G --> H["LLM Stub Context"] Strategic V2: Interactive GoSetup¶
When Go is not found:
- Fetch versions from
https://go.dev/dl/?mode=json. - Parse
versionand removegoprefix. - Display options in
showQuickPick. - Execute installation using Kubex Ecosystem GoSetup scripts.
Planned commands: