moi-computer 0.10.1-next.2 → 0.10.1-next.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.
package/dist/index.html CHANGED
@@ -3,7 +3,22 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <!-- The app has no dark mode (nothing ever adds the `.dark` class), so say
7
+ so: without this the browser picks a base canvas from the OS setting. -->
8
+ <meta name="color-scheme" content="light" />
6
9
  <title>moi</title>
10
+ <!-- First-paint background, inline and before the stylesheet link on
11
+ purpose. index.css is render-blocking, so until it resolves the browser
12
+ has only its own white canvas to paint — on a cold load or a new tab
13
+ that is a white flash the stylesheet cannot prevent, because it *is*
14
+ the stylesheet. Parsed from the HTML, this applies with no round trip.
15
+ The literal duplicates `--muted` in client/index.css (custom properties
16
+ do not exist yet at this point); theme.test.ts pins the two together. -->
17
+ <style>
18
+ html {
19
+ background: oklch(0.97 0 0);
20
+ }
21
+ </style>
7
22
  <link rel="icon" type="image/png" href="/favicon-nbmyjfjh.png" />
8
23
  <!-- React is vendored locally (client/vendor/react, generated by
9
24
  scripts/build-vendor.ts) and served by the /vendor/react route, so moi
@@ -21,7 +36,7 @@
21
36
  }
22
37
  </script>
23
38
 
24
- <link rel="stylesheet" crossorigin href="/chunk-ek8w9tsp.css"><script type="module" crossorigin src="/chunk-vq8ga42s.js"></script></head>
39
+ <link rel="stylesheet" crossorigin href="/chunk-76j95afs.css"><script type="module" crossorigin src="/chunk-vq8ga42s.js"></script></head>
25
40
  <body>
26
41
  <div id="root"></div>
27
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moi-computer",
3
- "version": "0.10.1-next.2",
3
+ "version": "0.10.1-next.3",
4
4
  "description": "Local AI workspace powered by the Claude Agent SDK, Bun, React, and Tailwind. Requires Bun.",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
@@ -439,4 +439,4 @@ This skill is installed with moi (via the CLI or the UI) and can fall behind whe
439
439
  - **Then** — if you updated, mention it.
440
440
 
441
441
  <!-- moi skill version marker — read by `moi skill` to detect drift; do not edit by hand -->
442
- <moi-skill version="0.15.0" />
442
+ <moi-skill version="0.15.1" />
@@ -200,12 +200,3 @@ Cheapest first — stop at the first level that works:
200
200
  every applet using it, and `add` won't overwrite it without `--force`.
201
201
  4. **Wrapper components** — compose primitives into app-level pieces (a `ConfirmDialog` wrapping
202
202
  `AlertDialog` parts) in `.moi/widgets/_shared.tsx`-style files.
203
-
204
- ## Fit within applets
205
-
206
- - **Widgets** are small: keep the composition compact, the number of controls low, and enough room
207
- around each action. Keep interactions inline and self-contained; avoid layered UI such as
208
- popovers and tooltips. Page-scale chrome (sidebars, nav menus, sheets, toasts) is deliberately not
209
- in the set — widgets don't need it, and a view's chrome should be custom (see
210
- `references/DESIGN.md`).
211
- - **Views** can use the full set, including `resizable` layouts and `data-table`.