openclacky 1.5.21 → 1.5.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/lib/clacky/billing/platform_billing.rb +3 -0
  4. data/lib/clacky/default_extensions/git/panels/git/view.js +1911 -398
  5. data/lib/clacky/default_extensions/preview/panels/preview/view.js +199 -34
  6. data/lib/clacky/providers.rb +43 -17
  7. data/lib/clacky/search_config.rb +33 -11
  8. data/lib/clacky/server/git_panel.rb +360 -34
  9. data/lib/clacky/server/http_server.rb +145 -47
  10. data/lib/clacky/server/preview.rb +118 -17
  11. data/lib/clacky/server/scheduler.rb +81 -2
  12. data/lib/clacky/server/web_ui_controller.rb +35 -27
  13. data/lib/clacky/session_manager.rb +52 -5
  14. data/lib/clacky/utils/mac_app_detector.rb +8 -7
  15. data/lib/clacky/utils/model_pricing.rb +60 -2
  16. data/lib/clacky/utils/windows_app_detector.rb +3 -1
  17. data/lib/clacky/version.rb +1 -1
  18. data/lib/clacky/web/app.css +650 -96
  19. data/lib/clacky/web/app.js +59 -6
  20. data/lib/clacky/web/auth.js +1 -1
  21. data/lib/clacky/web/components/composer.js +107 -8
  22. data/lib/clacky/web/components/image-zoom.js +165 -0
  23. data/lib/clacky/web/components/model-picker.js +6 -4
  24. data/lib/clacky/web/components/notify.js +2 -2
  25. data/lib/clacky/web/core/aside.js +60 -3
  26. data/lib/clacky/web/features/billing/view.js +2 -2
  27. data/lib/clacky/web/features/channels/view.js +5 -2
  28. data/lib/clacky/web/features/extensions/view.js +2 -2
  29. data/lib/clacky/web/features/new-session/store.js +79 -2
  30. data/lib/clacky/web/features/new-session/view.js +496 -58
  31. data/lib/clacky/web/features/skills/store.js +1 -1
  32. data/lib/clacky/web/features/tasks/view.js +162 -51
  33. data/lib/clacky/web/features/workspace/store.js +13 -6
  34. data/lib/clacky/web/features/workspace/view.js +153 -163
  35. data/lib/clacky/web/i18n.js +238 -56
  36. data/lib/clacky/web/index.html +173 -157
  37. data/lib/clacky/web/projects.js +37 -4
  38. data/lib/clacky/web/sessions.js +181 -105
  39. data/lib/clacky/web/settings.js +26 -8
  40. data/lib/clacky/web/skills.js +2 -2
  41. data/lib/clacky/web/theme.js +17 -2
  42. data/lib/clacky/web/utils.js +17 -2
  43. data/lib/clacky/web/weixin-qr.html +2 -1
  44. data/lib/clacky/web/ws-dispatcher.js +8 -29
  45. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a120f8d1189892876508f1c49309b7e4a21652c9293499211444b6e42770f649
4
- data.tar.gz: 2c02a199d26ae835426fa5ce8fb65665ac3c342aa7b717337c3e72470fd868f7
3
+ metadata.gz: dad8bbc900ca4c356fd5f6c90be1d3f17dd868cdfd1c5e20f11c2501d60e91a3
4
+ data.tar.gz: 41419dccba92391c36388cb6faeb02d6ad3e1c30f23a8b843289e7fd8d9a5a51
5
5
  SHA512:
6
- metadata.gz: aed2dcb3fb47de8a9fc9b20cccbae1f45e70338b37a44e5edbea6ec54c8c3065a27976a2ea5cb2b34ac209cbc3d53c8b6866598deb1a78ff5194ecbef6c0d66e
7
- data.tar.gz: 948e67f2dc8f003e55daea5f8e4d790e5368ef58eec63489d317e8be4336e2e04a9db498bdb1e362005a66b502f930a1dd5c88e9da6607863d9dfc4b06986feb
6
+ metadata.gz: 1cfb5f474c526ce2e5ae71b3685d6a710c0da51f68b06d5cf1ae54c4983454dbed9046654b98d02d64968755331eeeaf95058e53f9a861c63797096aa4b2f834
7
+ data.tar.gz: 4230f8c558a10c71dc4a32a88963151885f22962e8edb8f7c221b908a08ab6d30afc6ae7e33574792100c476a943a0619ba1ac59c0c48a69caaf70f2aef4ff8a
data/CHANGELOG.md CHANGED
@@ -4,6 +4,67 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
+ ## [1.5.22] - 2026-10-30
8
+
9
+ ### Added
10
+ - Rebuild the Git changes panel with scoped review and lazy diffs
11
+ - Choose which unpushed commits to review and which base to compare against, from the committed scope pill
12
+ - Scroll each diff pane sideways on its own while the gutters stay pinned
13
+ - Open a per-file menu from the diff header
14
+ - Show file icons in the changes panel diff headers
15
+ - Toggle the file tree and expand all from the Git panel's single-row toolbar
16
+ - Add a git branch picker to the new session page
17
+ - Drag workspace files straight into the composer
18
+ - Recall sent messages with the arrow keys in the composer
19
+ - Zoom and pan image previews
20
+ - Open attachment cards in the file preview
21
+ - Add a chrome-style preview toolbar with zoom controls
22
+ - Redesign the scheduled tasks page
23
+ - Show when each scheduled task runs next
24
+ - Toggle the aside panel with Cmd/Ctrl+L, and show the shortcut in its tooltip
25
+ - Move the pending input queue above the session info bar
26
+ - Hide the chat column when showing the aside would leave it too narrow
27
+ - Keep the task summary visible until the unread session is opened
28
+ - Show vendor icons on the model cards in settings
29
+ - Reuse file-tree icons for attachment chips
30
+ - Add Office, PDF and text file icons
31
+ - Add Kimi K3.1 Pro and K3.1 Pro Highspeed, and default Kimi to K3.1 Pro
32
+
33
+ ### Improved
34
+ - Draw every icon-button hint through one shared tooltip that measures itself before it opens
35
+ - Group the diff toolbar buttons into one pill and soften the Git panel icons
36
+ - Translate tooltips in place when the language changes, including the composer and session info bar
37
+ - Tighten task card typography and give billing controls more breathing room
38
+ - Switch the theme in a single cross-fade instead of a flash
39
+ - Treat the theme accent and the recycle bin as one hover region
40
+ - Draw the slash command button as an icon
41
+ - Fade the leading edge of scrolling text
42
+ - Share one session list scan across concurrent callers
43
+ - Disable browser auto-translation on the web pages
44
+
45
+ ### Fixed
46
+ - Explain a missing working directory in the file tree
47
+ - Detect open-with apps for files without an extension
48
+ - Report a failure to open a file instead of returning a silent success
49
+ - Stop leaking the open-with template into the picker label
50
+ - End the `ask_user` countdown when switching to manual so the session waits for an answer
51
+ - Store web search API keys per provider so switching providers never reuses another provider's key
52
+ - Keep agent-resolved `ask_user` cards closed when replaying history
53
+ - Light the done dot only on `task_finished`
54
+ - Make the open project session highlight translucent so the drop frame shows through
55
+ - Keep the drop zone inside the chat column
56
+ - Add the missing workspace preview label
57
+ - Keep the Git panel scope pill on the first row of a narrow toolbar
58
+ - Hide the shared tooltip when its anchor is clicked
59
+ - Keep the preview address bar in sync with in-frame navigation
60
+ - Keep billing period buttons inside their own panel
61
+ - Lighten extension descriptions
62
+
63
+ ### More
64
+ - Rename DeepSeek Flash to `dsk-deepseek-v4.1-flash`, and refresh the Volcengine Ark lineup and pricing
65
+ - Bill the Claude series at 45% of list
66
+ - Unify the localStorage key naming
67
+
7
68
  ## [1.5.21] - 2026-10-22
8
69
 
9
70
  ### Added
@@ -18,7 +18,10 @@ module Clacky
18
18
  # Retired aliases stay here so usage recorded under them still resolves.
19
19
  ALIAS_TO_REAL = {
20
20
  # deepseek (dsk-)
21
+ # REAL_TO_ALIAS is built with Hash#invert, which keeps the last entry
22
+ # per real id — list the current alias after its retired predecessor.
21
23
  "dsk-deepseek-flash" => "deepseek-flash",
24
+ "dsk-deepseek-v4.1-flash" => "deepseek-flash",
22
25
  "dsk-deepseek-v4-pro" => "deepseek-v4-pro",
23
26
  "dsk-deepseek-v4-flash" => "deepseek-v4-flash",
24
27
  "dsk-deepseek-v4-flash-vision-exp" => "deepseek-v4-flash-vision-exp",