Skip to content

Commit c23b3d8

Browse files
authored
Merge branch 'main' into meow/review-pr-comment
2 parents b7bdeff + c0d1ed4 commit c23b3d8

15 files changed

Lines changed: 246 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.26.2] - 2026-04-21
11+
12+
See [docs/releases/v0.26.2.md](docs/releases/v0.26.2.md) for full notes and [docs/releases/v0.26.2/assets.md](docs/releases/v0.26.2/assets.md) for release asset inventory.
13+
14+
### Added
15+
16+
- Add native desktop screenshot capture fallback.
17+
18+
### Changed
19+
20+
- Bump server version to 0.26.1.
21+
- Handle defensive ALTER TABLE defects in migrations.
22+
- Surface local backend detection and ultrathink config.
23+
24+
### Fixed
25+
26+
- Publish cli from cjs bin.
27+
- Make npm publish rerun-safe.
28+
- Verify published cli with okcode bin.
29+
- Fix error notification dismissal regressions.
30+
1031
## [0.26.0] - 2026-04-18
1132

1233
See [docs/releases/v0.26.0.md](docs/releases/v0.26.0.md) for full notes and [docs/releases/v0.26.0/assets.md](docs/releases/v0.26.0/assets.md) for release asset inventory.
@@ -845,3 +866,4 @@ First public version tag. See [docs/releases/v0.0.1.md](docs/releases/v0.0.1.md)
845866
[0.24.0]: https://github.com/OpenKnots/okcode/releases/tag/v0.24.0
846867
[0.25.0]: https://github.com/OpenKnots/okcode/releases/tag/v0.25.0
847868
[0.26.0]: https://github.com/OpenKnots/okcode/releases/tag/v0.26.0
869+
[0.26.2]: https://github.com/OpenKnots/okcode/releases/tag/v0.26.2

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@okcode/desktop",
3-
"version": "0.26.0",
3+
"version": "0.26.2",
44
"private": true,
55
"main": "dist-electron/main.js",
66
"scripts": {

apps/mobile/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
1010
versionCode 1
11-
versionName "0.26.0"
11+
versionName "0.26.2"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

apps/mobile/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
"$(inherited)",
307307
"@executable_path/Frameworks",
308308
);
309-
MARKETING_VERSION = 0.26.0;
309+
MARKETING_VERSION = 0.26.2;
310310
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
311311
PRODUCT_BUNDLE_IDENTIFIER = com.openknots.okcode.mobile;
312312
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -331,7 +331,7 @@
331331
"$(inherited)",
332332
"@executable_path/Frameworks",
333333
);
334-
MARKETING_VERSION = 0.26.0;
334+
MARKETING_VERSION = 0.26.2;
335335
PRODUCT_BUNDLE_IDENTIFIER = com.openknots.okcode.mobile;
336336
PRODUCT_NAME = "$(TARGET_NAME)";
337337
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";

apps/mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@okcode/mobile",
3-
"version": "0.26.0",
3+
"version": "0.26.2",
44
"private": true,
55
"type": "module",
66
"scripts": {

apps/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "okcodes",
3-
"version": "0.26.1",
3+
"version": "0.26.2",
44
"license": "MIT",
55
"repository": {
66
"type": "git",

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@okcode/web",
3-
"version": "0.26.0",
3+
"version": "0.26.2",
44
"private": true,
55
"type": "module",
66
"scripts": {

apps/web/src/components/chat/ErrorNotificationBar.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ interface NotificationItem {
6060
onDismiss?: () => void;
6161
}
6262

63+
function buildThreadErrorNotificationId(error: string): string {
64+
return `thread-error:${error}`;
65+
}
66+
6367
export const ErrorNotificationBar = memo(function ErrorNotificationBar({
6468
threadError,
6569
showAuthFailuresAsErrors = true,
@@ -139,7 +143,7 @@ export const ErrorNotificationBar = memo(function ErrorNotificationBar({
139143
const showOutOfMemoryRecovery =
140144
isOutOfMemoryThreadError(threadError) && onRecoverFromOutOfMemory !== undefined;
141145
items.push({
142-
id: "thread-error",
146+
id: buildThreadErrorNotificationId(threadError),
143147
kind: "thread-error",
144148
icon: CircleAlertIcon,
145149
title: presentation.title ?? "Error",
@@ -227,8 +231,8 @@ export const ErrorNotificationBar = memo(function ErrorNotificationBar({
227231
notif.onDismiss();
228232
}
229233
}
230-
setDismissedIds(new Set(notifications.map((n) => n.id)));
231-
}, [visibleNotifications, notifications]);
234+
setDismissedIds(new Set(visibleNotifications.filter((n) => n.dismissible).map((n) => n.id)));
235+
}, [visibleNotifications]);
232236

233237
// Nothing to show
234238
if (visibleNotifications.length === 0) return null;

bun.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/releases/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Use this directory for versioned release notes and asset manifests only:
99

1010
| Version | Summary | Assets |
1111
| -------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------- |
12+
| [0.26.2](v0.26.2.md) | Release with 1 new feature(s), 4 fix(es), 3 improvement(s) | [manifest](v0.26.2/assets.md) |
1213
| [0.26.0](v0.26.0.md) | File-content search, desktop terminal docking, transport sna | [manifest](v0.26.0/assets.md) |
1314
| [0.25.0](v0.25.0.md) | Project icon file picker, gateway auth terminology cleanup, | [manifest](v0.25.0/assets.md) |
1415
| [0.24.0](v0.24.0.md) | Theme presets, markdown rendering unification, project icon | [manifest](v0.24.0/assets.md) |

0 commit comments

Comments
 (0)