Commit 2525f37
committed
v0.7.2
# v0.7.2 — Provider Presets, Island System & Bug Fixes
---
## Features
- **Island system** — extracted `Island` and `IslandFollowUpContentView` into the shared `@craft-agent/ui` package as reusable primitives for annotation follow-ups and inline content expansion (7c4ba6af, 2432b421, 4397b284)
- **Minimax provider preset** — added Minimax as a built-in LLM connection preset with pre-configured base URL and model list (36cf45d5)
- **Kimi (Coding) provider preset** — added Moonshot's Kimi Coding as a built-in LLM connection preset (c59d9d8d)
- **OpenAI regional presets** — added OpenAI EU (`api.openai.eu`) and US (`api.openai.us`) regional API endpoint presets (bfc2be3c)
- **App-level default thinking level** — thinking level (off / think / max) can now be set as an app-wide default that persists across sessions and app restarts; workspace-level overrides take precedence (f5593fb1, 7c0f2659)
- **Local dev build mode** — new `CRAFT_DEV_RUNTIME` build flag resolves SDK and interceptor from the monorepo during development, with platform-aware bun fallback; adds `electron:dist:dev:{mac,win,linux}` scripts (506f2b02)
## Improvements
- **Deferred SDK checks** — Anthropic SDK and runtime validation is now deferred from app startup to session creation (`strict: false` at boot, `strict: true` at session start), allowing the app to open windows even when SDK/interceptor/Bun are not yet available (cc70ce76)
- **Staged typecheck flow** — pre-commit hook now runs targeted typecheck only on packages touched by staged files instead of a full monorepo typecheck (538b12f4)
- **Toast theming** — Sonner toast description text and close button now respect the active theme tokens instead of using hardcoded colors (59cfeab4, caea757f)
- **Branch creation hardening** — strict SDK-fork semantics for new branches; non-whitespace preflight prompt prevents Anthropic `invalid_request` errors on branched sessions (9a2f5ed2)
## Bug Fixes
- **Google OAuth error misclassification** — `access_denied` from a user clicking Cancel was incorrectly shown as "app is blocked by administrator"; fixed the boolean logic (`||` → `&&`) so the special message only appears when Google's error description mentions verification. Fixes [#300](#300) (partially)
- **Status icon overrides ignored** — local status icon filenames were not being discovered due to a missing directory scan; also added `.webp` support to the icon filename pattern. Fixes [#358](#358) (f40d2e41, 0ffee7f6, c11819ef)
- **Pi provider routing** — custom endpoints now correctly resolve the `piAuthProvider` field instead of requiring a preset selection. Fixes [#363](#363) (f40d2e41)
- **Shared session still accessible after delete** — session delete now revokes the viewer share link via a DELETE request with a 5-second timeout, preventing deleted sessions from remaining publicly accessible. Fixes [#328](#328) (15e4830e, c11819ef)
- **@mention autocomplete breaks after space** — file matching now uses subsequence search instead of prefix matching, so `app comp` correctly matches `app/components/...`. Fixes [#298](#298) (c939d930)
- **CI bun.lock drift** — refreshed `bun.lock` and pinned bun version in CI to prevent `--frozen-lockfile` failures. Fixes [#359](#359) (9e9cebd2, 15e4830e)
- **Transport banner overlaps TopBar** — the reconnection banner's Retry button was hidden behind the TopBar's help button; fixed by lifting the 48px TopBar offset to the shared parent container (71abeda4)
- **Pi session directory on Windows** — session files were created in the wrong directory on Windows due to a path separator issue (d3e83985)
- **Copilot OAuth subpath** — fixed incorrect OAuth callback path for Pi-based copilot authentication flows (430c6f3d)
- **Connection error diagnostics** — client-only mode is now logged on startup; connection error messages include the server URL for easier debugging (ff7cf0b8)
---
Special thanks to [@dragonguy888](https://github.com/dragonguy888), [@chouch0u](https://github.com/chouch0u), [@DocplannerLech](https://github.com/DocplannerLech), [@thomaszdxsn](https://github.com/thomaszdxsn), and [@ImLukeF](https://github.com/ImLukeF) for their PR contributions, and to [@jonzhan](https://github.com/jonzhan), [@Novtopro](https://github.com/Novtopro), [@lloydwu](https://github.com/lloydwu), [@alexzadeh](https://github.com/alexzadeh), [@galaxyboyleo](https://github.com/galaxyboyleo), and [@minak-collab](https://github.com/minak-collab) for reporting the issues addressed in this release.1 parent 56fdf95 commit 2525f37
File tree
229 files changed
+14807
-2185
lines changed- .github/workflows
- apps
- cli
- electron
- eslint-rules
- __tests__
- resources
- bin
- docs
- permissions
- release-notes
- tool-icons
- src
- main
- __tests__
- handlers
- __tests__
- renderer
- actions
- __tests__
- assets/provider-icons
- components
- apisetup
- __tests__
- app-shell
- input
- automations
- ui
- __tests__
- contexts
- context
- __tests__
- event-processor
- handlers
- __tests__
- hooks
- __tests__
- lib
- __tests__
- pages/settings
- playground
- registry
- utils
- __tests__
- transport
- viewer
- src
- packages
- core
- src/types
- pi-agent-server
- src
- tools/search
- providers
- server-core
- src
- domain
- handlers
- rpc
- sessions
- server
- session-mcp-server
- session-tools-core
- ui
- eslint-rules
- __tests__
- src
- components
- annotations
- __tests__
- chat
- __tests__
- markdown
- __tests__
- extensions
- overlay
- __tests__
- ui
- __tests__
- lib
- styles
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
229 files changed
+14807
-2185
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
| |||
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
114 | 125 | | |
115 | 126 | | |
116 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments