Skip to content

Releases

Cookbook v0.34.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 17:05
9f17d5b

Patch Changes

  • #218 7172e51 Thanks @tenphi! - The agent harness, the docs and the upgrade-cookbook skill now name harnesspm by its new package, @harnesspm/cli, and type npx -y @harnesspm/cli, which also works outside the project folder.

Cookbook v0.34.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 11:15
0f106e7

Patch Changes

  • #214 ffcc0a5 Thanks @tenphi! - New sites also get a CLAUDE.md that imports AGENTS.md. Claude Code reads AGENTS.md only when no CLAUDE.md exists in its folder or above, so a site created with --source inside a repository that has one lost its agent instructions in Claude Code. An existing CLAUDE.md is kept.
  • #214 ffcc0a5 Thanks @tenphi! - The docs are one guide again, with Guide and Reference tabs, for people and their coding agents alike. Work with a coding agent now holds the prompts of the former Ask your agent page, whose URL redirects there. They are organized by case: each prompt says what you want and the facts only you know, and leaves the commands to your agent. The agent start page, For AI agents, and the packaged docs/llms.txt index stay where they were.
  • #216 e5c9694 Thanks @tenphi! - A component module beside content outside the site's folder, such as docs/components/StatusBadge.ts in a site created with --source, can import @tenphi/cookbook/styling. Node resolution from that folder could not reach the site's node_modules, so astro dev and astro build failed to resolve the import. Cookbook now resolves its own entries from the site for every importer.

Cookbook v0.34.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 19:19
621de0a

Minor Changes

  • #210 9f0a649 Thanks @tenphi! - Ship an agent harness for harnesspm in @tenphi/cookbook. A site that sets up harnesspm gives its coding agent a short Cookbook rule, an index of the installed docs (docs/llms.txt, also useful without harnesspm), and the Tasty, Glaze, and Tasty lint harnesses of the versions Cookbook uses. Cookbook adapts their rules: colors come from theme.brand and theme.palette, lint needs a tasty.config.ts built with createValidationConfig(docs.theme), and harness/dev.harnesspm/theme.mjs loads a site's docs.config.ts, so tasty:styles --setup and glaze:inspect see the site's tokens, units, presets, states, and palette. It also replaces Glaze's glaze-theme skill with the steps for a site's theme.palette, which needs harnesspm 0.10.1 or later. @tenphi/cookbook now depends on @tenphi/tasty, @tenphi/glaze, and @tenphi/eslint-plugin-tasty directly, at the versions the renderer already installs. The Glaze guides packaged in docs/upstream/glaze/ are plain Markdown from Glaze 3.2.0, so their examples read offline too. The Tasty lint plugin 1.21.3 makes tasty-lint:check and the edit hook follow a site's lint config set up through @tenphi/cookbook/eslint-plugin or oxlint.config.mjs, and its edit hook tells the agent when eslint is missing, as in Yarn sites. The docs now have two parts, For humans and For AI agents, with new For AI agents, Ask your agent, and Agent harness pages. Generated sites point their agents at the new start page and mention harnesspm as an option, and the upgrade skill runs harnesspm sync and sync --check in sites that use it.
  • #210 9f0a649 Thanks @tenphi! - Add createColorTheme(theme) to @tenphi/docs, which returns a site's colors as one Glaze theme, and configureTastyTheme(theme) to @tenphi/renderer, which configures Tasty with a site's theme as a Cookbook build does. Agent tools use them to read a site's theme. declareComponentTokensForTools() in @tenphi/renderer tells Tasty's tasty:styles tool about the color and token names that Cookbook's components define on their own roots, such as #callout-text, so the tool does not report them as undefined; builds never call it. Update Tasty to 3.19.2, whose tasty:styles tool resolves --setup modules from the current folder and warns about color and token names the theme does not define, and Glaze to 3.2.0, whose glaze:inspect tool takes a module inside an installed package.
  • #210 9f0a649 Thanks @tenphi! - Generated llms.txt files follow the default language's sidebar, with pages in sidebar order: a Documentation section for the top-level navigation items, and one section for each navigation tab with items. Each page is listed under the tab that pages show for it, so agents see the same structure as readers. Discoverable pages that the sidebar does not list, such as translations, follow under Other pages.

Patch Changes

  • #210 9f0a649 Thanks @tenphi! - A navigation tab whose items are all drafts, or empty, no longer shifts the sidebar of every tab after it: each tab's pages show that tab's sidebar again.
  • #212 0957f7e Thanks @tenphi! - Use Tasty ESLint 1.21.2 so Cookbook lint presets support TypeScript 7 and the optional Oxc parser fallback.

Cookbook v0.33.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 10:41
6b8ac5e

Patch Changes

  • #207 cefaf4c Thanks @tenphi! - Make borders quieter and refresh the page footer controls. The border and border-strong roles now take about one eighth (a 0.12 factor) of the brand saturation instead of one fifth, so with a vivid brand they stay close to the soft text color instead of reading as tinted lines. The page actions share the pagination cards' fill, gain copy and download icons, and give clearer hover and pressed feedback. The copy control is now labeled Copy as Markdown and briefly shows a check after a successful copy. Pagination hover strengthens the card border, and the Edit page link gains a pencil icon, a rounded focus ring, and a stronger resting color than the surrounding metadata. New customizable sub-elements: PageActions.Active, PageActions.Icon, PageActions.CopyIcon, PageActions.DownloadIcon, and Footer.MetaLinkIcon.
  • #205 8221028 Thanks @tenphi! - Use Tasty 3.18.0 for documentation styling, including state aliases that reference other aliases.
  • #208 444666e Thanks @tenphi! - Update the bundled Tasty ESLint plugin to 1.20.0 for configurable protected inner-style allowances and correct line-height shorthand checks in extension layers.
  • #203 68305bf Thanks @tenphi! - Use the official Tasty ESLint plugin 1.18.0 in published lint configurations. It adds an opt-in wrappers-only mode for protected-restyle checks while preserving the default checks.
  • #209 c2bb170 Thanks @tenphi! - Upgrade the bundled Tasty lint plugin to check raw colors in native SVG color attributes and explain theme-aware alternatives.

Cookbook v0.33.1

Choose a tag to compare

@github-actions github-actions released this 06 Nov 17:21
00264b5

Patch Changes

  • #200 5dc7a6f Thanks @tenphi! - Upgrade Glaze to 3.0.1 so theme shadows and glows do not report an unreachable
    step merely because high contrast or a numeric contrast level moved their
    surface. Resolved colors and generated exports are unchanged.
  • #202 206bc11 Thanks @tenphi! - Use the official Tasty ESLint plugin 1.17.1 for code validation and published lint configurations. It avoids false runtime-mutation warnings for style objects constructed once at module load, while retaining checks inside functions and instance fields.

Cookbook v0.33.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 13:31
08656b7

Minor Changes

  • #198 25b3158 Thanks @tenphi! - Upgrade Glaze to 3.0.0. Shadows now step an exact number of tones: the built-in shadow role steps 8 tones in light and dark and is transparent in high contrast. In the default contrast mode, light shadows look as before and dark ones are noticeably stronger, since 2.x stepped only about 3 tones on a dark page. theme.glaze.shadowTuning and a shadow role's own tuning take Glaze 3's objectInfluence, tint, reach, and hueBleed instead of the removed 2.x fields, and palette roles accept glow declarations.

Cookbook v0.32.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 10:44
2d8935f

Minor Changes

  • #194 50cbc33 Thanks @tenphi! - Add CardGrid, which lays out Card elements in one column on narrow screens and two equal-height columns from 40rem, separated only by the grid gap instead of Markdown block spacing. Customize it with theme.styles.CardGrid, including its Card sub-element.

Patch Changes

  • #194 50cbc33 Thanks @tenphi! - Keep prose block spacing out of tab, code group, code block, and card anatomy. Tab panels now sit directly under the tab list, panel content starts at the panel padding, code group captions keep their own gap to the code, copy buttons stay in the top-right corner regardless of stylesheet order, and card descriptions follow the title by the card gap, staying at the top when a grid stretches the card. New customizable sub-elements: Tabs.Tab, Tab.Body, CodeGroup.MarkdownCodeBlock, and Card.Body.

Cookbook v0.31.4

Choose a tag to compare

@github-actions github-actions released this 06 Nov 09:57
90b233b

Patch Changes

  • #192 a698508 Thanks @tenphi! - Use the official Tasty ESLint plugin 1.16.0 for code validation and published lint configurations. It adds the opt-in replaceable pixel mode and stops suggesting spacing units for type sizes.

Cookbook v0.31.3

Choose a tag to compare

@github-actions github-actions released this 02 Nov 19:38
e29ac9f

Patch Changes

  • #189 895936a Thanks @tenphi! - Upgrade Tasty to 3.17.0 and the Tasty ESLint plugin to 1.15.0, including the two-color fill migration diagnostics and fixes.

Cookbook v0.31.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 14:19
5588e3e

Patch Changes

  • #187 e8e391f Thanks @tenphi! - Upgrade Glaze to 2.0.2 for theme generation and packaged upstream documentation.