ccdeck 3.36.0 → 3.36.3

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 (40) hide show
  1. package/LICENSING.md +17 -3
  2. package/README.md +6 -1
  3. package/dist/web/apple-touch-icon.png +0 -0
  4. package/dist/web/assets/{BrowserWatchModal-BnNwmF9s.js → BrowserWatchModal-BJKk2x-P.js} +1 -1
  5. package/dist/web/assets/{UsageHistoryModal-CAsrCgeA.js → UsageHistoryModal-ClT1-0hN.js} +1 -1
  6. package/dist/web/assets/index-1U-Iz_x2.css +1 -0
  7. package/dist/web/assets/index-Dj4JHRcG.js +306 -0
  8. package/dist/web/brand/ccdeck-mark-gradient-small-optical.svg +1 -0
  9. package/dist/web/brand/ccdeck-mark-mono-dark-small-optical.svg +1 -0
  10. package/dist/web/favicon.ico +0 -0
  11. package/dist/web/favicon.svg +1 -0
  12. package/dist/web/icon-192.png +0 -0
  13. package/dist/web/icon-512.png +0 -0
  14. package/dist/web/icon-maskable-512.png +0 -0
  15. package/dist/web/index.html +13 -11
  16. package/dist/web/manifest.webmanifest +1 -2
  17. package/dist/web/state/favicon-error-32.png +0 -0
  18. package/dist/web/state/favicon-error.svg +1 -0
  19. package/dist/web/state/favicon-syncing-32.png +0 -0
  20. package/dist/web/state/favicon-syncing.svg +1 -0
  21. package/dist/web/state/favicon-waiting-32.png +0 -0
  22. package/dist/web/state/favicon-waiting.svg +1 -0
  23. package/hook/hook.js +23 -6
  24. package/package.json +1 -1
  25. package/release-notes.json +8 -1
  26. package/src/server/account-origins.mjs +201 -0
  27. package/src/server/account-routes.mjs +106 -5
  28. package/src/server/claude-accounts.mjs +78 -2
  29. package/src/server/cswap-admin.mjs +62 -1
  30. package/src/server/deck-prefs.mjs +9 -1
  31. package/src/server/feedback-form.mjs +125 -0
  32. package/src/server/http-io.mjs +40 -4
  33. package/src/server/index.mjs +9 -3
  34. package/src/server/prefs-routes.mjs +4 -1
  35. package/src/server/reports-routes.mjs +69 -11
  36. package/src/server/static-serve.mjs +1 -0
  37. package/dist/web/assets/index-CuVOi3gc.css +0 -1
  38. package/dist/web/assets/index-MjcQ231B.js +0 -305
  39. package/dist/web/icon-maskable.svg +0 -21
  40. package/dist/web/icon.svg +0 -24
@@ -1,21 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-label="ccdeck">
2
- <!-- The same mark, drawn for a platform that is going to cut it.
3
-
4
- A maskable icon is composited into a shape the icon does not get to
5
- choose — a circle, a squircle, a rounded square, a teardrop — so the
6
- ground runs edge to edge and every part that must survive sits inside the
7
- safe zone: a centred circle of 409 on 512, which is 80%.
8
-
9
- r=136 with a 54 stroke puts the ring's outer edge at 163, against a safe
10
- radius of 204.5. That is 40 points of clearance, and it is deliberate
11
- rather than timid: the ring is a shape whose whole meaning is that it is
12
- closed, and a mask that clips one side of it turns the mark into a letter.
13
-
14
- NEVER THE SAME FILE AS icon.svg with two purposes declared on it. A
15
- rounded square inside a circular mask loses its corners and an icon drawn
16
- for `any` at 80% loses a third of its ring; the spec allows one file to
17
- claim both and every platform that honours it makes one of the two
18
- wrong. -->
19
- <rect width="512" height="512" fill="#0b0c10"/>
20
- <circle cx="256" cy="256" r="136" fill="none" stroke="#7dd3fc" stroke-width="54"/>
21
- </svg>
package/dist/web/icon.svg DELETED
@@ -1,24 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-label="ccdeck">
2
- <!-- The deck's one mark, at icon size.
3
-
4
- The same ring index.html carries as its favicon and the topbar draws as
5
- .brand .logo, at the same proportion: the favicon is r=12 with a 5 stroke
6
- on a 32 box, which is 0.42 of stroke to radius, and 68/170 here is 0.40.
7
- Anything thinner stops reading at 32px in a Dock, and the ring IS the
8
- product's mark — there is no wordmark small enough to be one.
9
-
10
- A ROUNDED SQUARE, not a full bleed. This is the `any` icon, and `any` is
11
- handed to the platform unmasked: macOS puts it in the Dock as drawn, so a
12
- hard-edged square sits among rounded neighbours looking like a mistake.
13
- 112 is 22% of 512, which is what the platforms round their own to. The
14
- maskable icon is the one that fills its square — see icon-maskable.svg,
15
- where the ground is edge to edge precisely because something else is
16
- going to cut it.
17
-
18
- The ground is --bg of the dark theme and the ring is its --accent. One
19
- pair, not two: an icon has no media query, it sits on a Dock whose own
20
- colour we do not know, and the dark ground is the one that keeps a cyan
21
- ring legible on either. -->
22
- <rect width="512" height="512" rx="112" fill="#0b0c10"/>
23
- <circle cx="256" cy="256" r="170" fill="none" stroke="#7dd3fc" stroke-width="68"/>
24
- </svg>