Commit Graph
9 Commits
Author SHA1 Message Date
Claudeandshawn-t516 a8dcdfc2be Traditional Chinese on the Mac (from #314)
shawn-t516's Traditional Chinese translation:
- Localizable.xcstrings: the "zh-Hant" localization of every key, from
  #314 (plus the update.* and step.needs-input strings main gained since),
  and 繁體中文 in the language picker after 简体中文;
  CFBundleLocalizations of both Mac targets.
- #314's wrapping of hard-coded English in String(localized:): outfit
  names (MochiWardrobe), PillCatalog category titles and subtitles, and the
  DeepSeek, Qwen and Moonshot "key saved" messages. Pill ids are unchanged.
  The catalog gains #314's new keys (those, plus literals the code already
  shows that the catalog lacked, and the plan card's Change plan, Auto mode
  and Manual buttons), each translated in every language; the
  ones Windows already translates in extra.json reuse those translations
  (and #701/#700's German and Turkish) and leave extra.json, since the Mac
  catalog now has them. Brand names and URLs keep their English text.
- scripts/test-localization.py and its CONTRIBUTING note, now also run by
  the macOS Build workflow.

Co-Authored-By: shawn-t516 <180199675+shawn-t516@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-20 02:23:33 +02:00
Claude c0475b19ed Merge remote-tracking branch 'origin/main' into community/batch-2
# Conflicts:
#	.github/workflows/build.yml
#	NotchBuddy/Sources/App/IslandWindowController.swift
2026-10-07 18:47:11 +02:00
Steeven 4c4831d732 Choose which screen Mochi lives on
Settings → General → Display: the screen with the notch (default, unchanged
behaviour), the main screen with the menu bar, a specific screen by name, or
Follow the mouse.

- IslandDisplayChoice.swift (new): pure choice + resolver, tested by
  scripts/test-display-choice.sh. A chosen screen is stored by its display
  UUID and falls back to the notch screen while it is disconnected.
- IslandWindowController: relocate(to:) recomputes the resting geometry
  (notch or bar) and moves the panel. Follow the mouse runs in the existing
  60 Hz loop and only moves a hidden or compact island, never an open one.
  The island now follows screen changes (plug, unplug, lid, resolution).
- Settings window and desktop Mochi flights target the island's screen.
- BotCanvasView: eye tracking used the global midX of NSScreen.main against
  a screen-local mouse position, so Mochi looked off on an external screen.
- docs/SPEC.md, README.md, CONTRIBUTING.md updated.
2026-10-05 14:07:28 +02:00
Jean-Pierre 2a24913d37 Merge upstream main and adapt PR #25 to current app 2026-10-03 02:49:48 +02:00
Louis adfef6b8a2 Pill catalog, multi-provider chat and docs (#87)
* design: agent pills, Settings agents section, model picker mockups

Three additions to notch-buddy.html:
- Agent pills: Gemini CLI (#4285F4), Antigravity (#FF7043), Codex (#22C55E)
  with two togglable variants (A: tinted bg / B: colored top accent)
- Settings panel: Agents section with per-tool install/uninstall buttons,
  inline diff preview and result directly under each row
- Model picker: variant A (compact dropdowns) and variant B (provider chips)
  each with a provider-change animation (wink or surprised, togglable)

New sim buttons: "Agents mélangés" and "Fin d'une session Gemini".
All controls in a new "Nouveautés" panel at the bottom of the controls.

* feat: agent pills variant B, multi-provider model picker, provider animation

Pills: top gradient accent + tool color label (uppercased) replacing the
plain grey label; border at higher opacity; shadow on hover.

Model picker: provider chips (Anthropic / Google / OpenAI) + model list
popover accessible from a capsule button in the chat prompt view. Mochi
plays the "surprised" emote whenever the provider changes.

Multi-provider chat: ClaudeService routes to chatOpenAICompatible() for
Google and OpenAI (OpenAI-compatible endpoint); API keys stored in
Keychain (google-api-key, openai-api-key); per-provider model choice
persisted in UserDefaults.

Settings: new "Chat — autres fournisseurs" section with Google and
OpenAI API key fields.

Prototype: variant B locked as default in notch-buddy.html.

* Keep the shipped pill design and add the rule to CLAUDE.md

* Load chat models from each provider's API

* Keep hidden views from pushing the island header off screen

* Declare your tools in Settings with a pill catalog

* Update the docs for the pill catalog and the multi-provider chat

* Keep the design mockups out of the prototype
2026-10-02 00:53:02 +02:00
Jean-Pierre 8729a8d1a6 Merge upstream main after no-notch support 2026-10-01 09:23:03 +02:00
Jean-Pierre b11a90d0b7 Adapt resting island to displays without a notch 2026-10-01 08:36:32 +02:00
Jean-Pierre 74984f2d6a Respect the configured auto-close delay 2026-10-01 01:58:28 +02:00
Louis Raille af080da806 Coucou — first public release 2026-09-27 23:54:00 +02:00