Commit Graph

187 Commits

Author SHA1 Message Date
Chris
d8a58a427b Merge upstream/main to refresh PR validation baseline
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-12 13:37:13 +08:00
Amp
212c66fad2 🔧 chore(sync): merge origin/main into fix/remote-desktop-skylight-init-deadlock
- 🔧 bring the approved branch up to current main so CI reruns
  against today's checks instead of a base thousands of commits old

Amp-Thread-ID: https://ampcode.com/threads/T-e53d993f-cdf8-4093-8879-7daee278591c
Co-authored-by: xdanger <xdanger@gmail.com>
Signed-off-by: Amp <amp@ampcode.com>
2026-11-11 20:04:37 +00:00
DavidShenXD
ad9d36702f fix(desktop): 保持菜单栏图标位置并支持桌面目标操作 (#9919)
* fix(desktop): preserve menu bar placement and support desktop pointer targets

Embed a stable AppKit preference identity in native menu bar helpers,
with isolated development profile identities and metadata-aware caching.
Expose explicit capture-bound desktop click and drag through Computer Use
while preserving window targeting, input serialization and user protection.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>

* fix(desktop): invalidate desktop captures after local input

Record the start of each desktop capture and verify system idle time before
queueing and dispatch. Reject local HID input after capture even once the
user is no longer active, including input during capture and unknown timing.

Add production-dispatch regression coverage for stale click and drag,
slow captures, and unknown idle state.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>

* fix(desktop): clean up generated desktop captures

Release host-owned desktop screenshots on replacement, failure, cancellation and session cleanup while preserving explicit exports and concurrent reads.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>

---------

Signed-off-by: David <david@DaviddeMacBook-Air.local>
Co-authored-by: David <david@DaviddeMacBook-Air.local>
2026-11-11 20:02:51 +08:00
kirozeng
0d66836cd4 fix(desktop): 侧栏无色材质改用标记式钩子,并更新设计规则
- 不再替换 NSVisualEffectView 的类(可能破坏已有的 KVO 观察者),改为对
  NSVisualEffectView 一次性挂钩,只处理被标记的侧栏视图;取消标记时恢复系统原样
  材质。
- wallpaper.md 写入 2026-11-11 的侧栏规则(同色调稍深、Mac 无色系统磨砂、
  Windows 只用透明度规则);研究记录补充材质层结构与实测数据。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-11 04:27:55 +08:00
kirozeng
ba6da846cc feat(desktop): Mac 侧栏恢复无色系统磨砂,侧栏同色调稍深
- 恢复 macOS 侧栏下的系统材质(setSidebar、theme:set-sidebar-width、
  useSidebarMaterial),并去掉材质自带的灰色、桌面取色层和饱和度增强,只保留
  模糊;材质切换为常驻激活,窗口失焦时不再变成另一色相的不透明灰。离开桌面
  模式时恢复系统原样材质,0% 与图片壁纸不受影响。
- 桌面模式下侧栏与主区域同色、同透明度,再叠一层固定的薄黑(浅色 4%、
  深色 10%),即同一色调、稍深一点;主区域遮罩从侧栏可见边缘开始。Windows
  只使用这条透明度规则,模糊仍为整窗亚克力。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-11 04:14:57 +08:00
kirozeng
791445dde1 feat(desktop): Windows 系统模糊跟随 Cindy 深浅色,桌面模糊改为开关
- Windows 11 亚克力的底色由窗口自身的深浅色决定,Electron 默认跟随 Windows
  系统设置,导致 Cindy 暗色皮肤在浅色 Windows 上开模糊时发白。通过
  windows-taskbar 原生模块设置 DWMWA_USE_IMMERSIVE_DARK_MODE,让主窗口与副窗口
  跟随 Cindy 实际主题,并在 Windows 切换系统主题后重新设置。
- Windows 系统模糊只有一种强度,Windows 上无壁纸时的「桌面模糊」改为开关;
  开启时恢复上一次的非零模糊值,图片壁纸的模糊仍保留滑动条。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-11 01:51:22 +08:00
kirozeng
cb289dcf28 feat(desktop): 侧栏跟随桌面透明度与模糊
无壁纸时侧栏不再挂独立的系统 HUD 磨砂,改为与主区域共用整窗模糊半径和
半透明遮罩;有壁纸时同样去掉侧栏额外的 28px 模糊。停靠侧栏不加自己的底色,
与主区域同色,只靠 1px 分割线区分。

- 0% 桌面透明度在所有平台都保持原来的窗口背景与磨砂侧栏(#9424 扩展到 macOS)。
- 悬停滑出的抽屉与主区域同色,自身底色取 max(主区域遮罩, 90%),保留分割线与
  浮层阴影;透明窗口里网页层模糊不生效,去掉无效的 backdrop-filter。
- 删除侧栏遮罩相关的原生 setSidebar、theme:set-sidebar-width IPC 与
  useSidebarMaterial,更新设计规则 wallpaper.md 与研究记录。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-11 00:17:35 +08:00
Chris
2b128acdca fix(input-handoff): decode supplied QR images while desktop is locked
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-10 12:43:12 +08:00
Dash
dcc5f089c4 chore: merge main into credits balance PR
Sync with origin/main at 0c867dd037 to rerun CI against the current base.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 12:08:36 +13:00
Dash
fb77ecd31e fix(desktop): 显示系统灵动岛的未读完成任务
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 01:56:34 +13:00
DavidShen
f97515706d fix(menubar): avoid redundant native status button updates
Signed-off-by: DavidShen <david@xd.com>
2026-11-09 12:49:00 +08:00
Dash
f45526ed6a fix(desktop): open the displayed task from system live activity
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-09 12:09:10 +13:00
Dash
ba6b3003ef feat(desktop): 支持桌面半透明与可调模糊并保留侧栏磨砂
复用壁纸控件与背景规则,保留 macOS 圆角和独立侧栏材质;按变化项更新原生状态,透明度拖动本地预览、提交时保存。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-08 21:17:49 +13:00
Dash
fdd013dd66 fix(desktop): restore permission guide above System Settings
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 18:01:33 +13:00
Dash
e3a8866c5a fix(release): sign the Live Activity extension with the release identity
signMacAppWithIdentity signed Resources, Frameworks and the app but not
Contents/PlugIns, so the widget extension kept its ad-hoc signature at
notarization. Sign each .appex with the release identity and the App
Sandbox entitlements before the main app, and point the notes at it.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 15:43:16 +13:00
Dash
58aeaf34e8 Merge remote-tracking branch 'origin/main' into cindy/sturdy-tesla
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

# Conflicts:
#	i18n/glossary.json
2026-11-07 15:01:01 +13:00
Dash
4c08ab9954 refactor(agent-island): drop the mascot ground shadow
With the keyboard gone the shadow under the mascot only showed on the
light Settings cards (it is near invisible on the dark notch and Live
Activity). Remove it from every scene, the Settings preview and Pululu's
preview art.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 14:52:53 +13:00
Dash
02aa02ff66 refactor(agent-island): drop the mascot keyboard
The running pose no longer sits at a keyboard: Agent Notch's working
scene keeps its bounce and head turn, and the Live Activity's running
still and the Settings previews follow. Removes the keyboard drawing, its
per-skin colors (and their color exemptions), the preview's key
animations and Pululu's keyboard art.

Also puts the collapsed character avatar on the 8px radius scale.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 14:40:31 +13:00
Dash
6e247c23e2 feat(agent-island): share character and sounds with the Live Activity
The settings page is regrouped: Agent Notch's own options (subtle
reminders, display) sit under its switch, then the Dynamic Island switch,
then Shared settings with the character (was "icon skin") and event
sounds, which stay available when only the Live Activity is on.

With Agent Notch off, its event sounds now still play for the Live
Activity, through afplay instead of respawning the suspended helper. The
Live Activity's own alert stays silent. When only the Live Activity is
on and it can actually show (allowed in System Settings, showing, or a
window is visible to start it), it replaces the OS notification for
finished tasks and requests for input; errors keep theirs, and a failed
task now reads "Error" instead of "Completed".

The two card descriptions are rewritten to the same shape in all
languages.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 14:19:14 +13:00
Dash
1af419bbac feat(agent-island): rename it to 任务胶囊 / Agent Notch
With Apple's Dynamic Island on the new MacBook Pro, Cindy's own top panel
sharing the Chinese name 灵动岛 became ambiguous. It is now 任务胶囊
(任務膠囊) in Chinese and Agent Notch elsewhere; 灵动岛 / Dynamic Island
only means Apple's. The settings section keeps the 灵动岛 title as the
umbrella for both switches, and the Live Activity switch now reads
"Show tasks in the Dynamic Island" with where it appears on each Mac.

Old names stay searchable in Settings, the help knowledge and glossary
are updated, and code identifiers are unchanged.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 13:52:09 +13:00
Dash
9a8d3f2488 fix(agent-island): keep the avatar alone in the expanded Dynamic Island
The status line sat in the bottom region, which runs under the leading
avatar. Move it into the center region with the title, so the expanded
island reads avatar | title and status | counts, like the menu bar card.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 11:24:54 +13:00
Dash
ee06231089 fix(agent-island): drop the duplicate status dot in the Live Activity
The expanded and banner views showed the status twice: as the dot on the
avatar's corner and again before the status line. Keep the avatar dot,
which the compact and minimal views also use, and let the status line
carry the color in its text.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 11:03:41 +13:00
Dash
388237f485 feat(agent-island): show the companion's avatar in the Live Activity
When the task the island surfaces belongs to a companion and it needs the
user or has replied, the Live Activity shows that companion's avatar
instead of the mascot: the island's bounded JPEG thumbnail, or its emoji or
initial on its hue. Running work keeps the mascot.

An avatar over the island's 2 KB bound is dropped, since ActivityKit
rejects a whole content update above 4 KB.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 11:00:17 +13:00
Dash
1baf2a5f03 fix(agent-island): give the Live Activity mascot its eyes
The sprite PNGs have no eyes; the island draws them in code. The widget
used the raw sprites, so the mascot showed up without eyes.

The island helper now has an `--export-mascots <dir>` mode that renders a
still of every skin in the running / waiting / done poses. build.mjs runs
the packaged helper and compiles those stills into the extension's asset
catalog, and the widget picks the pose for the current status.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 10:51:33 +13:00
Dash
7f5a83cc1e feat(agent-island): redesign the Live Activity and expand it on new requests
The Live Activity now uses Agent Island's colors and count format
(waiting teal, running orange, unread green, "waiting · running") and
adds a summary line such as "2 more tasks running".

It briefly expands only when a task newly needs the user or work
finishes, with a silent alert sound so Cindy's own sounds are not doubled.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 10:28:25 +13:00
Chris
e4219a88cd fix(desktop): only a deliberate press locks the away cover
Releases, pointer drift, Caps Lock and a stray scroll tick are swallowed
without locking; idle mice, wireless receivers and some keypads emit them on
their own. Key down, button down, a modifier going down or a real scroll still
lock immediately.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-06 23:16:39 +08:00
Chris
215901f8d8 fix(desktop): lock even when Cindy dies under the away cover
A force-quit Cindy closed the helper's stdout, and writing its status word
raised SIGPIPE, killing the helper before it locked; the masks vanished with
Cindy and left the desktop unlocked. The away guard now ignores SIGPIPE and
turns SIGTERM, SIGHUP and SIGINT into the lock as well.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-06 23:16:38 +08:00
Chris
4ea986e442 fix(desktop): keep Cindy a Dock app while the away cover is up
The privacy masks used Electron's visibleOnFullScreen, which hides the Dock
tile and leaves the whole process as a background-only (UIElement) app; after
unlocking, the test build had no Dock icon and its windows could not come back.
Away masks are now non-activating panels that skip the process transform, and
any mask teardown restores Dock presence (also for remote desktop). The helper
reports a fixed word for what triggered the lock.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-06 23:16:37 +08:00
Chris
1f82952f95 fix(desktop): ignore pointer drift and restore Cindy's window after the away lock
Wireless receivers report small movements on their own, so movement alone no
longer locks; keys, modifiers, clicks and scrolls still do. The helper no longer
tries to reactivate apps (macOS 14+ refuses that); Main brings back the Cindy
window that was focused, which Electron's all-Spaces masks had pushed behind
every other window.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-06 23:16:36 +08:00
Chris
98b9711877 fix(desktop): bring the owner's app back after the away cover locks
The away guard now stops reading input as soon as the system lock is up and,
once the owner unlocks, reactivates the app that was in front when the cover
appeared. Without this the test build's window sank behind every other window
after unlocking and looked like it had quit.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-06 23:16:35 +08:00
Chris
5bab1dc53f feat(desktop): keep working while away behind privacy masks on macOS
While an Agent is working, the display no longer idle-sleeps into the lock
screen. Once the owner has been away for the system display-sleep time, the
remote desktop privacy masks cover every display and Agents keep working
behind them. Physical input becomes the real system lock (unlock with Touch ID
or password); work ending, turning the setting off, a new display, a failed
mask or a crashed Cindy also lock. Default off, macOS 14+.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-11-06 23:16:34 +08:00
Dash
c584ae08c7 fix(agent-island): 实时活动在菜单栏显示角色与运行中数量
本机 macOS 27.3 截图发现:从文件读的角色图片在 WidgetKit 里渲染成灰块,「运行中」
的数量用 .primary 在深色药丸上变成黑字看不见,且菜单栏会省略只有文字的右侧区域。

- 用 actool 把角色图片编进扩展的 Assets.car,按名称取图。
- 灵动岛与菜单栏药丸内的文字固定为白色,横幅仍跟随外观。
- 运行中状态位加上图标,与需要处理的状态位一致。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 00:21:38 +13:00
Dash
5695a85f6d feat(agent-island): 兼容新款 MacBook Pro 的系统灵动岛并接入实时活动
PROLED MacBook Pro 用摄像头挖孔取代刘海,系统灵动岛占据屏幕顶部正中,画在我们的
面板之上且不吞点击(macOS 27.3 虚拟机实测)。

- 识别系统灵动岛屏(内建屏 + NSScreen.touchCapabilities,或私有 CenterHUD 几何),
  这类屏幕不按刘海布局、不做居中吸附;未保存位置时默认放在系统灵动岛展开范围右侧,
  用户拖动后照常记住自己的位置。
- 新增 macOS 27.3 实时活动:main 通过 N-API 扩展调用 ActivityKit,WidgetKit 扩展在
  打包后装进 Contents/PlugIns,把运行中、需要处理和未读完成的任务显示在系统灵动岛
  (无灵动岛的 Mac 显示在菜单栏)。灵动岛设置页新增开关,默认开启,与我们自己的岛
  是否开启无关;缺少 27.3 SDK 或非 Apple 芯片时构建自动跳过。
- 文档记录 ActivityKit 只认主进程且发起时需可见窗口、扩展须以 _NSExtensionMain 链接、
  发布签名需单独以沙盒权限签扩展。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-07 00:07:52 +13:00
Lizi
b1715914db Merge pull request #9025 from makecindy/cindy/lively-colden
feat(desktop): 让 Work Louder 每颗任务键都有独立状态灯
2026-11-05 23:32:45 +08:00
Dash
866d41eef9 fix(desktop): 键位无法改写时保留出厂路由,并让还原只覆盖 Cindy 改过的布局
- 宿主发现键盘不能改写键位(SDK 无文件接口,或 Windows helper 的固件不支持
  fs.read)时,退出绑定循环并上报 factoryKeymap;控制器据此按出厂键名路由
  HID、只发 6 路灯光,不再按 Cindy 改写后的键码解释输入。
- 键位已经是 Cindy 要写的布局时不再标记「待还原」,除非上次占用的快照还留在
  磁盘上;还原成功后删除快照。Codex 出厂布局本身就是整层 KV_OAI 网格,
  没有遗留快照时改写前保存当前完整文档,而不是沿用旧快照。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-06 01:30:26 +13:00
Dash
49a9f80bd7 feat(desktop): 让 Work Louder 每颗任务键都有独立状态灯
Creator Micro 2 固件 0.6.2 实测能点亮 AG06–AG12。任务键 N 写成 AG{N},
灯光发全部 13 路线程,不再只有前 6 颗亮灯。

Codex Micro 也改写键位:macOS 走官方 SDK 宿主,Windows 原生 helper
补上读写 keymap.json、占用前快照与停用还原,备份名与 SDK 宿主一致。
两块板走同一套映射,设置页去掉「只有前 6 颗有灯」提示。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-06 00:33:04 +13:00
Dash
0caf33633f fix(agent-island): use the narrow notch inset whenever no quota fits at the wide one
A 100% reading (29pt) does not fit beside the notch with the badge's 9pt
inset when the side is 36pt, yet fits with 7pt; the inset fallback only
triggered when the bare percentage already fit at 9pt, so nothing showed.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 23:09:37 +13:00
Dash
20ef2c9325 fix(agent-island): drop quota on account switch; keep lowest when only credits remain
resetRuntimeState now clears the quota and notifies enabled subscribers so the
quota bridge releases the overview and re-enabling reads the new account.
The lowest plan carries the menu bar's own reading (compactText), so when all
subscriptions are used up and only extra credits remain the folded island
still shows 0% instead of nothing.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 22:58:37 +13:00
Dash
02c318fb66 Merge remote-tracking branch 'origin/main' into dash/island-quota 2026-11-05 22:39:19 +13:00
Dash
d2a2ac1dbe fix(agent-island): center quota in the expanded top bar with tasks too
With tasks the expanded top bar put quota right after the mascot, while the
idle island centers it. It is now centered in both, moving aside only as far
as the mascot or the toolbar needs. Beside a hardware notch the center is
taken, so quota still follows the mascot there.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 22:25:48 +13:00
Dash
84cbde372a fix(agent-island): keep idle quota centered when the island expands
Collapsed, the idle quota sits centered; expanded it jumped to the left.
It now stays where the collapsed island showed it, so expanding only grows
the island around it, and moves left only as far as the toolbar needs.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 22:20:17 +13:00
Lizi
61f765d1cf Merge pull request #8960 from Battleplus/codex/fix-8924-menubar-autosave
fix(menubar): persist macOS status item placement
2026-11-05 17:14:17 +08:00
Dash
f2bcb0d22b fix(agent-island): stop the island swinging sideways after a resize drag
During a resize the panel hugs the island; on release main sends the shared
carrier size back. That frame was set after the animated state change, so
the panel jumped wider at once while the island's offset inside it sprang
across, swinging the island about 120pt sideways and back. A carrier that
only grows around the current panel is now set before the state change.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 20:47:44 +13:00
Dash
01031b6908 feat(agent-island): keep the lowest plan while widening the island
The bare percentage shown at the default notch width is now the lowest
plan's own chip with its logo folded away, and that plan keeps its place
whenever not every chip fits. Widening the island therefore only adds plans
around it instead of swapping it for the first plan. Steps in what fits fade
and slide, even mid-drag.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 20:36:43 +13:00
Dash
5918b1d612 feat(agent-island): fall back to the lowest percentage when no quota fits
At the default notch width not even one quota chip fits beside the notch.
Show the menu bar's lowest-remaining percentage alone there instead, the
same number the menu bar icon shows, colored like its plan.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 20:27:40 +13:00
Dash
96c024f4c6 fix(agent-island): never widen the island for quota
The island's width is the user's. Quota now only fills the room the current
width leaves, dropping chips from the end; nothing in main or the helper
reserves extra width for it any more.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 20:21:01 +13:00
Dash
7aa49a5041 feat(agent-island): show plan quota on the island, following the menu bar
Idle, the island shows each plan's remaining quota in place of the app name
(beside a hardware notch: on the trailing side, widening the pill like the
count badge). Expanded, the top bar shows it next to the mascot where there
is room. Sources, order, visibility and privacy masking come from the menu
bar quota overview; the island holds the overview only while it is on.

Main computes each chip's nominal width so the carrier and the native layout
reserve the same number.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-05 20:14:23 +13:00
Battleplus
fcf83b8028 fix(menubar): persist macOS status item placement
Signed-off-by: Battleplus <3559424769@qq.com>
2026-11-05 14:51:19 +08:00
fmfsaisai
b56ffb28a9 fix(desktop): keep reminder width temporary on resize clicks
Only persist native island layout after horizontal dragging. Replay deferred reminder expiry with the saved frame when the resize edge was pressed without moving.

Add native controller regression coverage for held pointer polling, deferred expiry, actual resizing and opening the task list.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-11-05 10:23:04 +08:00
fmfsaisai
5e39e6811f feat(desktop): 为灵动岛添加图标轻提醒选项
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
2026-11-04 23:05:03 +08:00