@hyperscript-tools/i18n 7.1.0 → 7.3.0
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 +68 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,72 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [7.3.0] - 2026-10-21
|
|
11
|
+
|
|
12
|
+
`@hyperfixi/mcp-server` lists its 14 core tools by default and keeps the other 70 in toolsets
|
|
13
|
+
that `LOKASCRIPT_MCP_TOOLSETS` lists, and five of its tools that were broken work. A minor, as
|
|
14
|
+
when the sampling tools went opt-in (2.11.0): every tool still answers a call by name, and the
|
|
15
|
+
variable lists any of them again.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **`@hyperfixi/mcp-server` lists 14 core tools by default; the other 70 are in opt-in
|
|
20
|
+
toolsets.** A connection listed all 84: about 13k tokens of definitions in each client that
|
|
21
|
+
loads them all, and a month of sessions called 7 of them. The default list is the agent loop
|
|
22
|
+
and what it leans on (`validate_and_compile`, `get_diagnostics`, `get_code_fixes`,
|
|
23
|
+
`get_command_docs`, `get_expression_docs`, `search_patterns`), translation (`translate_code`,
|
|
24
|
+
`translate_to_english`, `get_keyword_translations`, `list_supported_languages`), proof that
|
|
25
|
+
a change kept its meaning (`score_fidelity`, `diff_behaviors`), and `detect_domain` /
|
|
26
|
+
`compile_auto`: about 2.5k tokens. Set `LOKASCRIPT_MCP_TOOLSETS` to list more: `domains`
|
|
27
|
+
(26), `lse` (13), `grail` (5), `debug` (4), `editor` (3), `analysis` (9), `profiles` (5),
|
|
28
|
+
`project` (5), comma-separated, or `all`. Only the list changes: every tool still answers a
|
|
29
|
+
call by name. A client that picks tools from the list (Claude Code, Claude Desktop) needs
|
|
30
|
+
the variable to see a tool outside the core; the README lists each toolset's tools (#1607).
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- **`lse_from_hyperscript` returned `[get patient:null]` for every input**, with `ok: true` and
|
|
35
|
+
confidence 1: it read the semantic parse as the AST builder's tree. It now renders the parse,
|
|
36
|
+
and refuses (`ok: false`, the rendered LSE under `partial`) a parse that left input unread or
|
|
37
|
+
a shape whose LSE does not parse back, such as a `then` chain inside a handler (#1607).
|
|
38
|
+
- **`extract_routes` and `generate_server_routes` threw on every input** ("Cannot read
|
|
39
|
+
properties of undefined"), from the day they were added: they read `.routes` from the array
|
|
40
|
+
`scanRoutes` returns. They report server-bridge's route conflicts where they promised an
|
|
41
|
+
`errors` field it never had. The import that hid this from the typecheck (an untyped ambient
|
|
42
|
+
module) is gone (#1607).
|
|
43
|
+
- **`get_code_fixes` had no fixes for the codes `validate_and_compile` emits**
|
|
44
|
+
(`ENGINE_PARSE_ERROR`, `UNCONSUMED_INPUT`, …), though the server's instructions send an agent
|
|
45
|
+
there from its diagnostics; `get_diagnostics`' `parse-error` and `low-confidence` mapped to
|
|
46
|
+
keys that did not exist. Every code compilation-service emits now has fixes, and a test holds
|
|
47
|
+
that (#1607).
|
|
48
|
+
- **`explain_code` listed commands by kind, not in the order they run** (toggle → wait → add
|
|
49
|
+
came out "toggles … adds … waits") and dropped their targets. It explains the parse now: each
|
|
50
|
+
step rendered back to English with what it does, a block's body and an `if`'s two branches (#1607).
|
|
51
|
+
- **`get_diagnostics`' typo fix was titled `Fix typo: ${suggestion}`**, unfilled, with no edit.
|
|
52
|
+
It now reads "Fix typo: toggle" with an edit that replaces the misspelled word (#1607).
|
|
53
|
+
|
|
54
|
+
## [7.2.0] - 2026-10-20
|
|
55
|
+
|
|
56
|
+
`@hyperfixi/mcp-server` moves to `@lokascript/domains` 7.1.0: learn left the domains for
|
|
57
|
+
lokascript-learn, its only user, and the server's four learn tools went with it. A minor, though
|
|
58
|
+
it removes tools: there are no known users of them, and `translate_code` writes what they wrote.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- **`@hyperfixi/mcp-server` is on `@lokascript/domains` 7.1.0.** The domain DSLs take each
|
|
63
|
+
language's grammar from `@lokascript/framework/languages` (framework 7.1); the six that remain
|
|
64
|
+
read and write exactly as on 5.0.4 (the domains' round-trip gate: 0 worse, 0 better, 0 parses
|
|
65
|
+
moved). Domains 7.1.0 peers framework and intent `^7.1.0`; semantic is no longer a peer
|
|
66
|
+
(#1604, #1605).
|
|
67
|
+
|
|
68
|
+
### Removed
|
|
69
|
+
|
|
70
|
+
- **`@hyperfixi/mcp-server`'s four learn tools** (`parse_learn`, `compile_learn`,
|
|
71
|
+
`validate_learn`, `translate_learn`), and learn in `detect_domain` and the composite tools.
|
|
72
|
+
learn left `@lokascript/domains` in 7.1.0 for lokascript-learn, its only user. Its commanding
|
|
73
|
+
sentence was `@lokascript/semantic`'s translation, which `translate_code` writes. A default
|
|
74
|
+
connection lists 84 tools (88 before) (#1605).
|
|
75
|
+
|
|
10
76
|
## [7.1.0] - 2026-10-20
|
|
11
77
|
|
|
12
78
|
Each language's grammar is framework's data now (`@lokascript/framework/languages/<code>`), and
|
|
@@ -2194,7 +2260,8 @@ _Synchronized version release. See git history for details._
|
|
|
2194
2260
|
- npm access token stored in GitHub Secrets
|
|
2195
2261
|
- 2FA recommended for npm organization
|
|
2196
2262
|
|
|
2197
|
-
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v7.
|
|
2263
|
+
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v7.2.0...HEAD
|
|
2264
|
+
[7.2.0]: https://github.com/codetalcott/hyperfixi/compare/v7.1.0...v7.2.0
|
|
2198
2265
|
[7.1.0]: https://github.com/codetalcott/hyperfixi/compare/v7.0.0...v7.1.0
|
|
2199
2266
|
[7.0.0]: https://github.com/codetalcott/hyperfixi/compare/v6.3.0...v7.0.0
|
|
2200
2267
|
[6.3.0]: https://github.com/codetalcott/hyperfixi/compare/v6.2.0...v6.3.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperscript-tools/i18n",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "Build-time translation for hyperscript code samples — generate per-language HTML from a canonical English source",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"author": "HyperFixi Contributors",
|
|
49
49
|
"license": "MIT",
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@lokascript/semantic": "^7.
|
|
51
|
+
"@lokascript/semantic": "^7.3.0",
|
|
52
52
|
"hyperscript.org": "^0.9.93"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|