Aventuras/package.json
Tony Frazier b7bd906fd6
Update Tauri packages and Rust dependencies (#610)
## Summary

Updates the Tauri JS packages and Rust crates to their latest 2.x
releases, moves `zip` to 9, documents how the HTTP plugin's network
transport differs from the WebView's `fetch`, and stops PR runs of
Clippy from saving their own Rust cache.

## Changes

**JS (`package.json`, `package-lock.json`)**

| Package | From | To |
| --- | --- | --- |
| `@tauri-apps/api` | 2.11.1 | 2.12.3 |
| `@tauri-apps/cli` | 2.11.4 | 2.12.2 |
| `@tauri-apps/plugin-dialog` | 2.7.2 | 2.8.2 |
| `@tauri-apps/plugin-fs` | 2.5.1 | 2.7.0 |
| `@tauri-apps/plugin-http` | 2.5.9 | 2.8.2 |
| `@tauri-apps/plugin-notification` | 2.3.3 | 2.6.0 |
| `@tauri-apps/plugin-opener` | 2.5.4 | 2.7.1 |
| `@tauri-apps/plugin-process` | 2.3.1 | 2.4.0 |
| `@tauri-apps/plugin-sql` | 2.4.0 | 2.5.0 |
| `@tauri-apps/plugin-updater` | 2.10.1 | 2.13.3 |

**Rust (`src-tauri/Cargo.toml`, `src-tauri/Cargo.lock`)**

- `Cargo.lock` is refreshed, bringing the matching Rust plugin crates to
the same versions as the JS packages above, and `tauri` to 2.12.3.
- `zip` 8 → 9 (still `default-features = false`, `deflate` only).
- tokio's `macros` feature moves from the main dependency to
`[dev-dependencies]`, so release builds no longer compile it.

**Docs (`docs/architecture/overview.md`)**

- New **Network transport** section: remote HTTP goes through
`@tauri-apps/plugin-http` and which helper to use for each case, and
what the plugin changes for the server on the other end (an `Origin`
header that can't be dropped, webpki roots instead of the OS trust
store, no response decompression).
- Records a known, unverified limitation: stock Ollama doesn't allow the
`http://tauri.localhost` origin, so Windows and Android requests may
need `OLLAMA_ORIGINS=http://tauri.localhost`.

**CI (`.github/workflows/rust-lint.yml`,
`docs/development/release.md`)**

- Rust Lint also runs on pushes to `master` that touch Rust sources or
the Cargo manifest or lockfile.
- The Clippy job's `rust-cache` step saves only on `master` (`save-if`),
the same rule the build workflows use. PRs restore the master-scoped
cache instead of saving a ~600 MiB entry that no other run can read and
that pushes master's build and npm caches toward eviction.
- `release.md` describes the new trigger and the cache rule.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01Mp6GGHh2aY397TuZXyUXKX


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Updated the app’s underlying components for dialogs, file access,
networking, notifications, database access, and software updates, along
with related tooling.
* Updated supporting components for asynchronous tasks and archive
handling.
  * Improved Rust lint workflow triggers and cache handling.
  * No user-facing feature or behavior changes are noted.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 17:24:50 -04:00

123 lines
4.2 KiB
JSON

{
"name": "aventura",
"version": "0.7.12",
"description": "AI-powered adventure and creative writing frontend",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"tauri": "tauri",
"test": "vitest run",
"test:watch": "vitest",
"release": "node scripts/release.js",
"fake-provider": "node scripts/fake-provider.mjs",
"lint": "node scripts/pm.js run lint:ts && node scripts/pm.js run lint:rust",
"lint:fix": "node scripts/pm.js run lint:ts:fix && node scripts/pm.js run lint:rust:fix",
"lint:ts": "eslint .",
"lint:ts:fix": "eslint . --fix",
"lint:rust": "cargo fmt --manifest-path src-tauri/Cargo.toml --check && cargo +1.99.0 clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features -- -D warnings",
"lint:rust:fix": "cargo +1.99.0 clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features --fix --allow-dirty -- -D warnings && cargo fmt --manifest-path src-tauri/Cargo.toml",
"format": "prettier --write \"**/*.{ts,js,svelte,json,css,html}\""
},
"license": "AGPL-3.0",
"dependencies": {
"@ai-sdk/anthropic": "^4.0.27",
"@ai-sdk/deepseek": "^3.0.19",
"@ai-sdk/google": "^4.0.31",
"@ai-sdk/groq": "^4.0.19",
"@ai-sdk/mistral": "^4.0.20",
"@ai-sdk/openai": "^4.0.27",
"@ai-sdk/openai-compatible": "^3.0.20",
"@ai-sdk/xai": "^4.0.25",
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/lang-liquid": "^6.3.2",
"@codemirror/language": "^6.12.4",
"@codemirror/state": "^6.7.1",
"@codemirror/view": "^6.43.7",
"@lezer/highlight": "^1.2.3",
"@lucide/svelte": "^1.31.0",
"@openrouter/ai-sdk-provider": "^3.0.0",
"@saintno/comfyui-sdk": "0.3.1",
"@tauri-apps/api": "^2.12.3",
"@tauri-apps/plugin-dialog": "^2.8.2",
"@tauri-apps/plugin-fs": "^2.7.0",
"@tauri-apps/plugin-http": "^2.8.2",
"@tauri-apps/plugin-notification": "^2.6.0",
"@tauri-apps/plugin-opener": "^2.7.1",
"@tauri-apps/plugin-process": "^2.4.0",
"@tauri-apps/plugin-sql": "^2.5.0",
"@tauri-apps/plugin-updater": "^2.13.3",
"@tauri-apps/plugin-websocket": "^2.5.0",
"@tutorlatin/svelte-tiny-virtual-list": "^3.0.20",
"ai": "^7.0.47",
"ai-sdk-pollinations": "^0.0.2",
"clsx": "^2.1.1",
"codemirror": "^6.0.2",
"gpt-tokenizer": "^3.4.0",
"harper.js": "^2.7.0",
"html5-qrcode": "^2.3.8",
"jsonrepair": "^3.15.0",
"liquidjs": "^10.27.2",
"marked": "^18.0.7",
"svelte-codemirror-editor": "^2.1.0",
"tailwind-merge": "^3.6.0",
"yaml": "^2.9.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@ai-sdk/provider": "^4.0.4",
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.70.2",
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"@tailwindcss/vite": "^4.3.3",
"@tauri-apps/cli": "^2.12.2",
"@types/json-schema": "^7.0.15",
"@types/node": "^26.1.2",
"bits-ui": "^2.18.1",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-boundaries": "^7.1.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-svelte": "^3.22.0",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.8.0",
"jsdom": "^30.1.1",
"lefthook": "^2.1.10",
"picomatch": "^4.0.5",
"prettier": "^3.9.6",
"prettier-plugin-svelte": "^4.1.1",
"prettier-plugin-tailwindcss": "^0.8.1",
"svelte": "^5.56.8",
"svelte-check": "^4.7.4",
"tailwind-variants": "^3.3.0",
"tailwindcss": "^4.3.3",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.65.0",
"vaul-svelte": "^1.0.0-next.7",
"vite": "^8.2.0",
"vitest": "^4.1.10"
},
"aube": {
"allowBuilds": {
"esbuild": true,
"lefthook": true,
"unrs-resolver": true
}
},
"devEngines": {
"runtime": {
"name": "node",
"version": "^24.15.0",
"onFail": "error"
}
},
"allowScripts": {
"lefthook@2.1.10": true,
"unrs-resolver@1.12.2": true
}
}