Skip to content

feat: add Solana IDE control center, diagnostics, build loop, inspector, and monitor#135

Merged
nullxnothing merged 17 commits intomainfrom
feat/solana-project-control-center
May 4, 2026
Merged

feat: add Solana IDE control center, diagnostics, build loop, inspector, and monitor#135
nullxnothing merged 17 commits intomainfrom
feat/solana-project-control-center

Conversation

@nullxnothing
Copy link
Copy Markdown
Owner

@nullxnothing nullxnothing commented May 4, 2026

Summary

Expands the Solana Toolbox into the first real foundation for an all-in-one Solana IDE workflow.

This PR now adds five concrete surfaces and one backend diagnostics upgrade:

1. Project Control Center

  • Combines active project detection, Solana readiness, toolchain status, local runtime state, MCP coverage, and next best actions.
  • Adds a Solana readiness score for the active repo.
  • Adds readiness signals for project classification, Solana CLI, Anchor, AVM, local runtime, LiteSVM, and suggested MCP context.
  • Adds next-action cards for missing tooling, starting Surfpool/test-validator, enabling MCPs, adding fast program tests, and moving into protocol packs.

2. Backend Solana project diagnostics

  • Upgrades the existing project detector to return deeper diagnostics without adding a new IPC namespace.
  • Scans for:
    • Anchor.toml
    • programs/
    • generated IDL artifacts in target/idl
    • program keypairs in target/deploy
    • declare_id! from program source
    • IDL address drift
    • deploy keypair address drift
  • Compares detected program IDs across Anchor.toml, source, IDL, and deploy keypairs.

3. Diagnose panel

  • Adds a first-class Diagnose tab in the Solana Toolbox.
  • Shows workspace-level checks and per-program drift checks.
  • Surfaces mismatches before users build, deploy, or upgrade IDLs.

4. Build / Test / Deploy panel

  • Adds terminal-backed commands for the core Solana program loop:
    • anchor build
    • anchor test
    • cargo test
    • pnpm test
    • devnet-oriented deploy and IDL command starters
  • Keeps deploy actions behind explicit safety guidance instead of pretending mainnet deploy is safe by default.
  • Adds a deploy safety checklist covering build/test pass, cluster confirmation, upgrade authority, IDL/program ID drift, local runtime, and Solana CLI availability.

5. Transaction Inspector foundation

  • Adds a read-only inspector surface for transaction signatures, simulation output, Anchor errors, and program logs.
  • Extracts useful runtime signals:
    • transaction signatures
    • invoked programs
    • Anchor/program errors
    • compute-unit usage
    • program logs
  • Adds read-only terminal helpers for solana confirm -v <signature> and solana logs.
  • Adds a focused Solana agent handoff that sends the pasted logs/signature/error into a debugging prompt.

6. Program Monitor foundation

  • Adds a Monitor tab for deployed program state review.
  • Uses detected program IDs from diagnostics to launch read-only Solana CLI lookups.
  • Supports:
    • solana config get
    • solana program show <PROGRAM_ID>
    • solana account <PROGRAM_ID>
  • Keeps monitor actions read-only.

Why

This moves DAEMON beyond separate Solana panels and toward a connected developer loop:

Detect → Prepare → Diagnose → Build/Test → Inspect → Monitor → Debug → Ship

The implementation is intentionally practical: terminal-backed commands, read-only inspection, explicit deploy safety, and agent handoff. It avoids claiming a full production replay engine until the backend fork/replay work is actually wired.

Files changed

  • electron/services/SolanaDetector.ts
  • src/store/solanaToolbox.ts
  • src/panels/SolanaToolbox/ProjectControlCenter.tsx
  • src/panels/SolanaToolbox/ProjectControlCenter.css
  • src/panels/SolanaToolbox/ProjectDiagnosticsPanel.tsx
  • src/panels/SolanaToolbox/BuildDeployPanel.tsx
  • src/panels/SolanaToolbox/TransactionInspector.tsx
  • src/panels/SolanaToolbox/ProgramMonitorPanel.tsx
  • src/panels/SolanaToolbox/SolanaIdeWorkflow.css
  • src/panels/SolanaToolbox/SolanaToolbox.tsx

Follow-up work

Recommended next PRs:

  1. Add real simulation and replay services using local validator or Surfpool fork state.
  2. Add deploy history and persistent program monitor state.
  3. Add upgrade authority parsing from solana program show output.
  4. Add tests for the new Solana Toolbox surfaces and detector diagnostics.
  5. Add UI controls for refreshing diagnostics without re-opening the project.

Notes

I did not run the local test suite from this environment. Please run:

pnpm run typecheck
pnpm test

before merging.

Also note: the branch is currently behind main by 1 commit, so update/rebase before merging if GitHub requires it.

@nullxnothing nullxnothing changed the title feat: add Solana Project Control Center feat: add Solana IDE control center, build loop, and inspector May 4, 2026
@nullxnothing nullxnothing changed the title feat: add Solana IDE control center, build loop, and inspector feat: add Solana IDE control center, diagnostics, build loop, inspector, and monitor May 4, 2026
@nullxnothing nullxnothing merged commit 8d6d523 into main May 4, 2026
5 checks passed
@nullxnothing nullxnothing deleted the feat/solana-project-control-center branch May 4, 2026 22:31
@nullxnothing nullxnothing mentioned this pull request May 5, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant