Compare commits

..

3 commits

Author SHA1 Message Date
53ba0c815d
fix: devShell packages with sd-card tools
All checks were successful
Build and Push OCI Image / build (pull_request) Successful in 1m57s
Use inputsFrom instead of concatenating to packages list
2026-02-27 00:26:37 +01:00
9621c1b727
Merge branch 'main' into feat/20260226-photo-capture
Resolved conflicts:
- flake.nix: Combined flake-parts + sd-card + OCI image
- flake.lock: Updated to include flake-parts input
2026-02-27 00:25:53 +01:00
16e9c891a8 feat: integrate sd-card for interactive spec generation (#2)
## Summary

Integrated **sd-card** workflow for interactive specification generation:

-  Added sd-card flake input
-  Created `nix run .#dev` - starts Vite with annotation proxy
-  Updated dev shell with sd-card tools (tea, playwright, nodejs)
-  Replaced old forgejo-workflow with sd-card

## Usage

### Widget-based annotation
```bash
FORGEJO_TOKEN="your-token" nix run .#dev
```

Opens SvelteKit with ✦ widget injected on every page.

### Interactive annotation (recommended)
Ask Claude to interact with the app via Claudezilla:
```
User: "Open solidhaus"
Claude: [opens in Firefox]
User: "Click the scan barcode button"
Claude: [clicks, shows screenshot]
User: "This should open the camera"
Claude: [generates Gherkin scenario]
```

## Test Plan

- [x] Flake builds successfully
- [x] `nix run .#dev` starts dev server with proxy
- [x] Widget injects on pages
- [x] Claudezilla can open and interact with app
- [x] Dev shell includes all sd-card tools

🤖 Generated with Claude Code

Reviewed-on: toph/solidhaus#2
Co-authored-by: Christopher Mühl <toki@toph.so>
Co-committed-by: Christopher Mühl <toki@toph.so>
2026-02-26 23:07:38 +00:00

View file

@ -169,11 +169,11 @@
};
devShells.default = pkgs.mkShell {
packages = sd-card.packages.${system}.tools # tea, jq, nodejs, playwright
++ (with pkgs; [
packages = with pkgs; [
nodejs
nodePackages.npm
]);
];
inputsFrom = [sd-card.packages.${system}.tools];
};
};
};