@fungi.computer/bonsai 0.6.36 → 0.6.37

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @fungi.computer/bonsai
2
2
 
3
+ ## 0.6.37
4
+
5
+ ### Patch Changes
6
+
7
+ - Changes since 0.6.36:
8
+
9
+ - fix(apps): restore first-step emphasis and empty-state headings
10
+ - fix(bonsai): balance compact overview columns around their content
11
+ - fix(bonsai): retain tile movement while arranging compact views
12
+ - fix(bonsai): omit the row height override for saved layouts
13
+ - fix(apps): tighten Inkcap Trellis and Bonsai first views
14
+
15
+ - Updated dependencies
16
+ - Updated dependencies
17
+ - Updated dependencies
18
+ - @fungi.computer/caps@0.10.5
19
+ - @fungi.computer/oyster@0.19.34
20
+ - @fungi.computer/trellis@0.10.8
21
+
3
22
  ## 0.6.36
4
23
 
5
24
  ### Patch Changes
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@fungi.computer/bonsai",
3
- "version": "0.6.36",
3
+ "version": "0.6.37",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "type": "module",
6
6
  "description": "Bonsai: a git platform for many agents working at once, on Workers and Artifacts",
7
7
  "dependencies": {
8
8
  "@fungi.computer/agar": "0.9.1",
9
- "@fungi.computer/caps": "0.10.4",
9
+ "@fungi.computer/caps": "0.10.5",
10
10
  "@fungi.computer/issues": "0.2.0",
11
- "@fungi.computer/oyster": "0.19.33",
11
+ "@fungi.computer/oyster": "0.19.34",
12
12
  "@fungi.computer/puffball": "0.5.5",
13
13
  "@fungi.computer/sigils": "0.3.1",
14
14
  "@fungi.computer/stipe": "0.1.1",
@@ -30,7 +30,7 @@
30
30
  "@visx/hierarchy": "3.12.0",
31
31
  "@fungi.computer/gills": "0.3.0",
32
32
  "@fungi.computer/nacre": "0.4.5",
33
- "@fungi.computer/trellis": "0.10.7",
33
+ "@fungi.computer/trellis": "0.10.8",
34
34
  "@fungi.computer/braid": "0.4.8",
35
35
  "@fungi.computer/workflows-wire": "0.4.8"
36
36
  },
@@ -48,10 +48,10 @@ export function compactDefaultLayout(): InsightLayout {
48
48
  return {
49
49
  view: "overview",
50
50
  placements: [
51
- { id: "readme", col: 0, row: 0, w: 3, h: 1 },
52
- { id: "next", col: 3, row: 0, w: 1, h: 1 },
53
- { id: "network", col: 0, row: 1, w: 3, h: 1 },
54
- { id: "live", col: 3, row: 1, w: 1, h: 1 },
51
+ { id: "readme", col: 0, row: 0, w: 2, h: 1 },
52
+ { id: "next", col: 2, row: 0, w: 2, h: 1 },
53
+ { id: "network", col: 0, row: 1, w: 2, h: 1 },
54
+ { id: "live", col: 2, row: 1, w: 2, h: 1 },
55
55
  ],
56
56
  };
57
57
  }
package/web/bonsai.css CHANGED
@@ -645,7 +645,18 @@ body {
645
645
  }
646
646
  }
647
647
 
648
- /* The empty home's three steps: a row on wide screens, a stack on phones. */
648
+ /* The invitation and next steps share one reading measure. */
649
+ .bonsai-onboarding {
650
+ max-width: 42rem;
651
+ margin-inline: auto;
652
+ }
653
+ .bonsai-onboarding > .empty-state > .empty-state-title {
654
+ margin: 0;
655
+ font-size: var(--text-lg);
656
+ font-weight: 600;
657
+ line-height: 1.25;
658
+ text-wrap: balance;
659
+ }
649
660
  .bonsai-next-steps {
650
661
  display: grid;
651
662
  gap: var(--spacing-md);
package/web/home-page.tsx CHANGED
@@ -344,6 +344,7 @@ export function HomePage({ live }: { live: LiveState }) {
344
344
  ) : repos.data.repos.length === 0 ? (
345
345
  missing ? (
346
346
  <SetupNotice
347
+ className="bonsai-onboarding"
347
348
  variant="panel"
348
349
  need="Bonsai needs Git access to save your repositories"
349
350
  cause="Keep files and their history, with a separate working copy for each AI helper."
@@ -356,7 +357,7 @@ export function HomePage({ live }: { live: LiveState }) {
356
357
  waitingFor="your answer"
357
358
  />
358
359
  ) : (
359
- <>
360
+ <div className="bonsai-onboarding">
360
361
  <EmptyState
361
362
  variant="plain"
362
363
  visual="blobs"
@@ -376,7 +377,7 @@ export function HomePage({ live }: { live: LiveState }) {
376
377
  }))}
377
378
  />
378
379
  <NextSteps />
379
- </>
380
+ </div>
380
381
  )
381
382
  ) : (
382
383
  <div className="flex items-center justify-between gap-3">
package/web/insights.tsx CHANGED
@@ -23,11 +23,13 @@ function Grid({
23
23
  initial,
24
24
  definitions,
25
25
  controlsTarget,
26
+ compactHero,
26
27
  }: {
27
28
  repo: string;
28
29
  initial: InsightLayout["placements"];
29
30
  definitions: BoardTile[];
30
31
  controlsTarget: HTMLElement | null;
32
+ compactHero: boolean;
31
33
  }) {
32
34
  const client = useQueryClient();
33
35
  const [tiles, setTiles] = useState(initial);
@@ -175,6 +177,7 @@ function Grid({
175
177
  </p>
176
178
  ) : null}
177
179
  <BonsaiBoard
180
+ {...(compactHero && !editing ? { rowHeight: 0 } : {})}
178
181
  placements={tiles}
179
182
  tiles={definitions}
180
183
  phoneOrder={
@@ -254,6 +257,7 @@ export function OverviewBoard({
254
257
  }
255
258
  definitions={definitions}
256
259
  controlsTarget={controlsTarget}
260
+ compactHero={compactHero && layout.data.tiles === null}
257
261
  />
258
262
  );
259
263
  }
package/web/overview.tsx CHANGED
@@ -1,4 +1,5 @@
1
1
  import { useMemo } from "react";
2
+ import { ChevronRight } from "lucide-react";
2
3
  import { EmptyState } from "@fungi.computer/caps/blocks/empty-state";
3
4
  import {
4
5
  DataList,
@@ -290,7 +291,12 @@ export function Overview({
290
291
  />
291
292
  </div>
292
293
  ),
293
- <Link to={repoLink("code", readmePath)}>Open in Code ›</Link>,
294
+ <Link
295
+ className="inline-flex items-center gap-1"
296
+ to={repoLink("code", readmePath)}
297
+ >
298
+ Open in Code <ChevronRight aria-hidden="true" size={16} />
299
+ </Link>,
294
300
  );
295
301
  for (const id of [
296
302
  "actors",