@hyperfixi/behaviors 7.2.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 +44 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,50 @@ 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
|
+
|
|
10
54
|
## [7.2.0] - 2026-10-20
|
|
11
55
|
|
|
12
56
|
`@hyperfixi/mcp-server` moves to `@lokascript/domains` 7.1.0: learn left the domains for
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperfixi/behaviors",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "Reusable hyperscript behaviors for @hyperfixi/engine (hyperfixi-hs.js) and upstream _hyperscript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
"test:check": "VITEST_QUIET=1 bash ../../scripts/vitest-run.sh --reporter=dot"
|
|
115
115
|
},
|
|
116
116
|
"peerDependencies": {
|
|
117
|
-
"@hyperfixi/engine": "^7.
|
|
117
|
+
"@hyperfixi/engine": "^7.3.0"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@hyperfixi/engine": "^7.
|
|
120
|
+
"@hyperfixi/engine": "^7.3.0",
|
|
121
121
|
"tsup": "^9.0.0",
|
|
122
122
|
"typescript": "^5.0.0",
|
|
123
123
|
"vitest": "^5.0.5"
|