Skip to content

Commit d91e8a8

Browse files
committed
📦 update to clayterm 0.6.0 and fix JSR publish
Include all CLI modules in the publish list, add version constraint for @effectionx/context-api, and format AGENTS.md.
1 parent f094d7c commit d91e8a8

3 files changed

Lines changed: 24 additions & 15 deletions

File tree

‎AGENTS.md‎

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
# Agents
22

3-
This repository uses AI agents to assist with development tasks. This file provides entry points for agent discovery.
3+
This repository uses AI agents to assist with development tasks. This file
4+
provides entry points for agent discovery.
45

56
## Project Overview
67

78
Staticalize is a CLI tool and library that downloads and staticalizes websites
8-
from a sitemap. It fetches pages, rewrites links to point to a new base URL,
9-
and saves the result to disk. Published to JSR as `@frontside/staticalize` and
10-
to npm via a Deno build step.
9+
from a sitemap. It fetches pages, rewrites links to point to a new base URL, and
10+
saves the result to disk. Published to JSR as `@frontside/staticalize` and to
11+
npm via a Deno build step.
1112

1213
## Effection
1314

14-
This repository builds on [Effection](https://github.com/thefrontside/effection), a structured concurrency library. Before working with code here, read the [Effection AGENTS.md](https://github.com/thefrontside/effection/blob/v4/AGENTS.md) for essential concepts:
15+
This repository builds on
16+
[Effection](https://github.com/thefrontside/effection), a structured concurrency
17+
library. Before working with code here, read the
18+
[Effection AGENTS.md](https://github.com/thefrontside/effection/blob/v4/AGENTS.md)
19+
for essential concepts:
1520

1621
- Operations vs Promises (lazy vs eager execution)
1722
- Scope ownership and structured concurrency
@@ -40,7 +45,8 @@ This repository builds on [Effection](https://github.com/thefrontside/effection)
4045
- Resources must clean up properly on scope exit
4146
- Prefer `Operation<T>` for async operations
4247
- Use `until()` for lifting promises into operations
43-
- Never kill the process directly (`Deno.exit()`, `process.exit()`) — use `yield* exit()` from Effection
48+
- Never kill the process directly (`Deno.exit()`, `process.exit()`) — use
49+
`yield* exit()` from Effection
4450

4551
## Commit and PR Conventions
4652

@@ -52,4 +58,3 @@ Do not include any agent marketing material (e.g. "Generated with...",
5258
"Co-Authored-By: \<agent>") in commits, pull requests, issues, or comments.
5359

5460
Pull requests use **Motivation / Approach** sections (not Summary / Test plan).
55-

‎deno.json‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"@std/path": "jsr:@std/path@1",
2323
"@libs/xml": "jsr:@libs/xml@^6.0.0",
2424
"effection": "npm:effection@^4.0.2",
25-
"@effectionx/context-api": "npm:@effectionx/context-api",
26-
"clayterm": "https://esm.sh/pr/clayterm@e413755",
25+
"@effectionx/context-api": "npm:@effectionx/context-api@^0.5.3",
26+
"clayterm": "npm:clayterm@^0.6.0",
2727
"hast-util-from-html": "npm:hast-util-from-html@^2.0.3",
2828
"hast-util-select": "npm:hast-util-select@^6.0.4",
2929
"hast-util-to-html": "npm:hast-util-to-html@^9.0.5",
@@ -42,10 +42,16 @@
4242
"publish": {
4343
"include": [
4444
"mod.ts",
45+
"main.ts",
4546
"staticalize.ts",
47+
"downloader.ts",
4648
"task-buffer.ts",
4749
"config.ts",
48-
"main.ts",
50+
"progress.ts",
51+
"terminal.ts",
52+
"resize.ts",
53+
"stdio.ts",
54+
"use-input.ts",
4955
"README.md",
5056
"deno.json"
5157
]

‎deno.lock‎

Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)