@nodegx/mcp 0.2.1 → 0.2.3
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/README.md +10 -0
- package/dist/backend/cli.js +317 -233
- package/dist/cloud-bundle.cjs +898 -18
- package/dist/kit-extract.cjs +343 -210
- package/dist/kit-extract.inputs.json +1 -0
- package/dist/node-catalog.json +45 -1
- package/dist/noodl-mcp.cjs +6908 -612
- package/dist/package.json +1 -1
- package/dist/render-harness/data/node-catalog-enriched.json +45 -1
- package/dist/render-harness/data/node-catalog.json +45 -1
- package/dist/render-harness/drive-steps.js +74 -5
- package/dist/render-harness/measure-from-disk.js +68 -3
- package/dist/src/external/viewer/global.d.ts.keep +13 -0
- package/dist/src/external/viewer/noodl.viewer.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,6 +143,16 @@ project is a message on screen rather than a spawn failure in your terminal.
|
|
|
143
143
|
|
|
144
144
|
Every tool accepts either form; responses carry both.
|
|
145
145
|
|
|
146
|
+
## The honesty number
|
|
147
|
+
|
|
148
|
+
The honesty number is the share of an app's nodes whose behaviour is specced and graded (known) against the nodes that hold code nobody has checked: Function, Script, Expression and Visual Function nodes, and kit nodes with no spec (script). It is known ÷ (known + script), counted by node instance; component instances are counted inside their component, and a shipped node still waiting for its spec is reported apart as unspecced. It is not a quality score: a Function written on purpose is still script. It says how much of the app can be explained without reading code, and the script list says which parts cannot.
|
|
149
|
+
|
|
150
|
+
Every project carries it, however low (P111 SEE-001): `get_project_info` returns `honesty` (the number, its counts, the
|
|
151
|
+
same figure weighed by script lines, the script node types and the components with the most script), `get_component`
|
|
152
|
+
returns the component's number and its script nodes by id, every `create_component` / `update_component` result says
|
|
153
|
+
the component's number and the project's after the write, and `render_report` adds a `HONESTY —` section. The rule is
|
|
154
|
+
defined once, in `@nodegx/node-spec`'s `src/honesty.ts`; this paragraph is its `HONESTY_SENTENCE`, word for word.
|
|
155
|
+
|
|
146
156
|
## Tools
|
|
147
157
|
|
|
148
158
|
### Read (always available)
|