From 106ad28f9fec874cddec17dc1f2e83193e972300 Mon Sep 17 00:00:00 2001 From: megaproxy Date: Sat, 9 May 2026 00:43:52 +0100 Subject: [PATCH] Record v0 first-run milestone and the 4 bring-up fixes in memory.md --- memory.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/memory.md b/memory.md index df8ad88..bdb8b25 100644 --- a/memory.md +++ b/memory.md @@ -32,8 +32,13 @@ Durable memory for this project. Read at session start, update before session en - Authored Rust modules: `state.rs`, `settings.rs`, `paths.rs`, `jsonl.rs`, `usage.rs` (with unit tests for block boundaries), `watch.rs`, `commands.rs`, `lib.rs`, `main.rs`. - Authored Svelte 5 frontend: `App`, `TitleBar`, `BlockRing`, `WeeklyBar`, `ModelStack`, `Settings` components plus `ipc.ts`, `types.ts`, `format.ts`, `styles.css`. - Wrote `scripts/seed-fake-jsonl.ps1` verification helper and `README.md` build instructions. -- 6 commits on `main`, pushed to Forgejo at `https://git.rdx4.com/megaproxy/claude-usage-widget`. (Note: had to rename local `master` → `main` after the fact — `git init` ran before the global `init.defaultBranch=main` was set.) -- Toolchain (rust/node/pnpm) NOT installed in this WSL environment — that's expected; the build runs on the Windows host. `cargo check` / `pnpm install` not yet run. +- Pushed to Forgejo at `https://git.rdx4.com/megaproxy/claude-usage-widget`. (Note: had to rename local `master` → `main` after the fact — `git init` ran before the global `init.defaultBranch=main` was set.) +- **First successful run on Windows host (Doug's machine).** Took 4 incremental fixes to get there: + 1. pnpm 11 default-deny on postinstall scripts → declared `pnpm.onlyBuiltDependencies: ["esbuild"]` in `package.json`. + 2. Missing icons → user generated placeholder via PowerShell `System.Drawing` + `pnpm tauri icon`. + 3. `notify::Watcher` trait not in scope (E0599) and `tokio::JoinHandle` ≠ `tauri::async_runtime::JoinHandle` (E0308 ×2) in `watch.rs` — fixed in commit `ab75ca9`. + 4. `tauri-plugin-autostart` doesn't accept a `{"args":[…]}` block in `tauri.conf.json` — args go through the Rust `init()` call only. Removed the JSON entry in commit `8c25b01`. +- Toolchain (rust/node/pnpm) NOT installed in this WSL environment — that's expected; the build runs on the Windows host. `cargo check` / `pnpm install` not run from here. ## External references