spencer and Claude Opus 4.8
b4f5e06ec8
feat(tools): adaptive stdin/stdout I/O for the tool pipe
...
Infer per command whether a tool uses file paths or streams: if the command
omits {{in}}, thor feeds the source on the tool's stdin; if it omits {{out}},
thor captures stdout and writes it to the output file. All four
in/out x stdin/stdout combinations end with a real file at out_path.
This makes the docs' recommended stdin/stdout form actually work and removes
the silent "ships unprocessed CSS" failure mode. Adds tests for the streaming
forms and a TODO recording the future fingerprint/contents-Resource migration.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-09-08 13:58:50 -04:00
Spencer Brower
122627c51c
feat: Added tools feature for CSS pre/post processors.
2026-09-08 13:21:58 -04:00
Spencer Brower
c570b29f9a
fix: Fixed issue with rel_url not accepting JSON strings.
2026-09-07 11:41:18 -04:00
Spencer Brower
317264b45b
feat: Added rel_url pipe for subsites.
2026-08-30 14:13:34 -04:00
Spencer Brower
c11edba894
fix: Fixed an issue with broken paths in nix build.
2026-08-30 11:29:01 -04:00
Spencer Brower
e0fb07c06d
chore: Temp diabling broken tests.
2026-08-30 11:15:29 -04:00
Spencer Brower
94374f8cd3
test: Re-suppressed some unnecessary logs.
2026-08-12 10:50:10 -04:00
Spencer Brower
f6bda92397
test: removed nil_logger from tests.
...
Tests always pass with it.
2026-08-12 10:50:10 -04:00
Spencer Brower
a9d7525dd6
fix: Empty tags now report diagnostics.
2026-08-10 17:42:43 -04:00
Spencer Brower
3551eb3b2c
fix: Fixed diagnostic issue with first/last in partials.
2026-08-10 17:15:38 -04:00
Spencer Brower
3cb20b55e8
fix: pipe diagnostics highlight only the pipe and arguments.
2026-08-10 17:08:26 -04:00
Spencer Brower
6c09c73eb3
refactor: Renamed DIAGNOSTIC_TODOS.yaml to DIAGNOSTIC_TESTS.yaml.
2026-08-10 16:38:15 -04:00
Spencer Brower
cf32ff0218
test: Converted DIAGNOSTIC_TODOS.yaml into a test suite.
2026-08-10 16:34:43 -04:00
Spencer Brower
b779cd68a5
feat: .Warning added to Error_Kind.
2026-08-10 12:48:17 -04:00
Spencer Brower
f0800b8e13
feat: Added diagnostics to first and last.
2026-08-07 11:33:23 -04:00
Spencer Brower
a7d471fa11
feat: Added first and last filters.
2026-08-07 10:41:47 -04:00
Spencer Brower
fb765fc83b
refactor: Moved diagnostic code into its own package.
2026-08-05 18:13:16 -04:00
Spencer Brower
380c324623
perf: Replaced fmt.aprintf/fmt.tprintf calls with fmt.sbprintf.
2026-08-04 15:39:51 -04:00
Spencer Brower
6a4debe35a
perf(mustache): Removed lambda support.
...
It really wasn't benefitting us in any way.
2026-08-03 14:43:38 -04:00
Spencer Brower
616880b3da
fix: No longer logs warnings for missing params.* keys. (except spellcheck).
2026-08-03 14:43:37 -04:00
Spencer Brower
10be1b92c4
feat: help for misspelled pipes is now shown to the user.
2026-08-03 14:43:36 -04:00
Spencer Brower
49d08c3129
refactor: Filters are now read as an enum.
2026-08-03 14:43:36 -04:00
Spencer Brower
e1b2c9d321
fix: pipe Typos diagnostic now highlights only the broken pipe name.
2026-08-03 14:43:36 -04:00
Spencer Brower
86c5428f77
fix: typos in pipe arguments (i.e. format) now show a proper diagnostic.
2026-08-03 14:43:36 -04:00
Spencer Brower
54d3bed630
build(nix): Updated prettier config.
2026-08-03 14:43:35 -04:00
Spencer Brower
4d2fdf284d
style: Cleaned up #partial switches.
2026-08-03 14:43:35 -04:00
Spencer Brower
ceae8bfa8b
style: Ran typos.
2026-08-03 14:43:34 -04:00
Spencer Brower
8cb7d1243b
style: Ran odinfmt.
2026-08-03 14:43:33 -04:00
Spencer Brower
6d7b88a8d6
feat: Warns the user if they exceed 16 context frames.
2026-08-03 14:43:33 -04:00
Spencer Brower
b81aa38c62
feat: page prop now falls through (implicit access).
2026-08-03 14:43:32 -04:00
Spencer Brower
178b02da74
feat: Added page to template context.
2026-08-03 14:43:32 -04:00
Spencer Brower
75a7d7a14b
refactor: Eliminated global TZ cache
...
The configured timezone (or local) is now set on Site directly.
2026-07-24 12:47:50 -04:00
Spencer Brower
4f09312daf
feat(mustache): apply_format now accepts timezone info.
2026-07-24 11:23:58 -04:00
Spencer Brower
4d847d95d3
feat: Added timezone infrastructure.
2026-07-24 11:03:29 -04:00
spencer
0d1e9ba352
feat(parse_iso_Date): Added timezone parsing.
2026-07-24 10:38:09 -04:00
spencer
213385dd70
feat: Added timezone field to Base_Data.
2026-07-24 10:35:35 -04:00
Spencer Brower
23b0b3fa5f
feat: format pipe can now accept custom formats as quoted strings.
2026-07-23 16:12:04 -04:00
Spencer Brower
d35da93dcf
feat: Added Go style date format configuration.
2026-07-23 16:12:03 -04:00
Spencer Brower
4560014954
feat: Pipes now have access to the full template context.
2026-07-23 11:45:37 -04:00
Spencer Brower
b3608fe493
feat: Added date config to site.
2026-07-23 11:45:37 -04:00
Spencer Brower
83f2dc18f9
perf(mustache): Improved performance.
2026-07-23 11:26:36 -04:00
Spencer Brower
986038f54c
refactor(mustache): Simplified Node parser.
2026-07-23 11:26:36 -04:00
Spencer Brower
1856e29763
perf: Fixed leaks.
2026-07-23 11:26:36 -04:00
Spencer Brower
cfd01a02d0
refactor: Changed Render_Error from Union to struct.
...
Also renamed it to `Error`.
2026-07-23 11:26:35 -04:00
Spencer Brower
f04532229b
feat: Added Rust-style error messages for template errors.
2026-07-23 11:26:32 -04:00
Spencer Brower
b239bf2d87
feat: Added format pipe for dates.
2026-07-21 14:31:09 -04:00
Spencer Brower
bed7effd4b
test(lambda_test.odin): Made some stylistic changes.
2026-07-21 11:10:44 -04:00
Spencer Brower
5cef29e16f
chore(EXTENSIONS.md): Removed future pipe plans.
2026-07-20 13:43:02 -04:00
Spencer Brower
770a04481d
feat(mustache): Added group_by filter to templates
2026-07-20 12:44:40 -04:00
Spencer Brower
29d244c1a6
fix: Fixed issue with double-any wrapping.
2026-07-19 14:55:31 -04:00