Commit Graph

3 Commits

Author SHA1 Message Date
dependabot[bot] 19288f4b01
chore(deps): bump the npm_and_yarn group across 2 directories with 4 updates
Bumps the npm_and_yarn group with 1 update in the /vscode-extension directory: [esbuild](https://github.com/evanw/esbuild).
Bumps the npm_and_yarn group with 3 updates in the /vscode-extension/webview directory: [esbuild](https://github.com/evanw/esbuild), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) and [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core).


Updates `esbuild` from 0.20.2 to 0.28.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.20.2...v0.28.1)

Removes `esbuild`

Updates `vite` from 6.4.1 to 8.2.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.2.0/packages/vite)

Updates `vite` from 6.4.1 to 8.2.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.2.0/packages/vite)

Updates `@babel/core` from 7.29.0 to 7.29.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-core)

Updates `postcss` from 8.5.8 to 8.5.25
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.8...8.5.25)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.28.1
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: esbuild
  dependency-version:
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-version: 8.2.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-version: 8.2.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: "@babel/core"
  dependency-version: 7.29.7
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: postcss
  dependency-version: 8.5.25
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-05 23:44:03 +00:00
davidmonterocrespo24 201d414aa7 feat(vscode-extension): 0.2.0 — Pro license gate + deep-link sign-in
Adds the Velxio Pro subscription gate to the VS Code extension. Every
compile / run validates against `https://velxio.dev/api/pro/license/validate`
before proceeding; a 60-second in-memory cache avoids hammering the
endpoint during a tight compile/run loop. No offline mode by design —
the extension throws OfflineError on network failure rather than
caching a permission grant locally. For offline workflows users get
the desktop app (separate distribution channel).

New surface:

  - `LicenseService` (src/LicenseService.ts) — secret-store-backed key
    storage, validate, nonce-backed deep-link OAuth handshake,
    OfflineError + EntitlementError taxonomy.
  - `Velxio: Sign In`              — opens velxio.dev/auth/vscode, returns
                                     via vscode://velxio.velxio-simulator/auth.
  - `Velxio: Paste License Key`    — manual fallback for headless boxes.
  - `Velxio: Sign Out`             — clears the keychain entry.
  - `Velxio: Show License Status`  — plan + trial countdown modal.
  - Status bar item: Sign in / Trial Nd / Pro / Trial ended with the
    appropriate warning/error background colour.
  - Setting `velxio.licenseApiBase` for staging overrides.

CHANGELOG.md + README.md added.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 04:51:07 +02:00
David Montero Crespo dcf1bea20b feat: scaffold VS Code extension (Phase 1 MVP)
Adds the Velxio VS Code extension skeleton with:
- Extension host: commands (Open/Compile/Run/Stop/Select Board),
  WebView panel with postMessage bridge, FastAPI backend manager,
  velxio.toml + diagram.json config parser, file watcher, serial
  pseudo-terminal
- WebView: placeholder React app with board display and serial
  monitor, ready for wiring to the real simulation engines
- Build system: esbuild for extension (94KB), Vite for webview (198KB)
- Wokwi-compatible diagram.json schema for future import support

Based on reverse-engineering of the Wokwi VS Code extension (v3.5.0).
Key differentiator: Velxio runs simulation 100% locally (avr8js/rp2040js
in WebView, QEMU for ESP32) vs Wokwi's cloud iframe approach.

Refs #4

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 01:18:22 -03:00