Commit Graph

7 Commits

Author SHA1 Message Date
Z User
75f2a30722 Rewrite README as LLM-navigable reference index 2026-05-30 20:34:25 +00:00
Z User
e3a78f335a Add comprehensive Tauri 2.0 error resolution guide
- tauri2-guide/error-resolution-guide.md: ~1700 lines covering 18 error categories
  with 65+ specific errors, exact messages, root causes, and working solutions:

  Category A: Rust compilation errors (Cargo build, version mismatch, edition,
    missing tools, windows crate hangs)
  Category B: v1->v2 migration compile errors (api removals, type renames,
    feature changes, JS import paths)
  Category C: Async command & thread safety errors (lifetime issues, Mutex/RwLock
    Send bounds, non-Send types)
  Category D: Configuration errors (v1 keys in v2 config, allowlist, frontendDist)
  Category E: Capabilities & permission errors (plugin not allowed, scope denied,
    shell scope)
  Category F: Plugin integration errors (registration, version conflicts)
  Category G: IPC/command runtime errors (command not found, serialize issues)
  Category H: Webview & window errors (WebView2, blank screens, unstable feature)
  Category I: Event system errors (race conditions, cross-window events)
  Category J: CSP errors (ipc.localhost, CSS-in-JS)
  Category K: Frontend integration (Vite, Next.js, SvelteKit issues)
  Category L: WebSocket errors (broken pipe, unstable connections)
  Category M: Path & asset protocol errors (403 forbidden, traversal)
  Category N: Shell & sidecar errors (binary not found, naming)
  Category O: Mobile build errors (iOS code signing, Android NDK, targets)
  Category P: Platform-specific build errors (Linux deps, ICNS, linuxdeploy)
  Category Q: Panics & runtime crashes
  Category R: Error handling best practices

  Plus a quick-reference table of the 25 most common errors.
2026-05-30 19:59:54 +00:00
Z User
5e7cbbae47 Remove all moxie-app references — make guides standalone
All documents now reference only Tauri 2.0 official patterns and APIs
with no dependency on any specific reference application.
2026-05-30 19:29:03 +00:00
Z User
04c128f509 Add definitive Tauri 2.0 guide, agent prompts, and WebSocket docs
- tauri2-guide/definitive-guide.md: Comprehensive Tauri 2.0 reference covering project structure, configuration, capabilities/permissions, commands/IPC, events/channels, window management, plugin ecosystem, WebSocket server, script injection, state management, v1->v2 migration, anti-patterns, and quick reference cheat sheet.

- tauri2-guide/agent-prompts.md: Copy-paste ready prompts for instructing AI agents to build Tauri 2.0 apps. Includes universal system prompt with sandbox constraints, 10 task-specific prompts, verification checklist, and v1->v2 API map.

- tauri2-docs/ws_server_client_inject_guide.md: Complete WebSocket server/client/script injection guide based on the moxie-app reference implementation. Covers the native Tokio WebSocket server pattern, frontend client connections, and script injection into external webview windows.

All code validated against Tauri 2.0 official docs (https://v2.tauri.app).
2026-05-30 19:24:21 +00:00
7f8eb17292 update gitignore 2026-05-30 11:23:20 -07:00
5bf8e2f21f working app and docs 2026-05-30 10:44:44 -07:00
f11762efbe Initial commit 2026-05-30 10:30:15 -07:00