@omfalos/mokosh 0.5.1 → 0.5.2
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/dist/cli.js +92 -49
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +93 -50
- package/dist/cli.mjs.map +1 -1
- package/dist/duplication-worker.js +6 -6
- package/dist/duplication-worker.js.map +1 -1
- package/dist/duplication-worker.mjs +6 -6
- package/dist/duplication-worker.mjs.map +1 -1
- package/dist/index.d.mts +988 -40
- package/dist/index.d.ts +988 -40
- package/dist/index.js +47 -39
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +48 -40
- package/dist/index.mjs.map +1 -1
- package/dist/mcp.js +52 -43
- package/dist/mcp.js.map +1 -1
- package/dist/mcp.mjs +52 -43
- package/dist/mcp.mjs.map +1 -1
- package/dist/parse-worker.d.mts +1 -1
- package/dist/parse-worker.d.ts +1 -1
- package/dist/parse-worker.js +6 -6
- package/dist/parse-worker.js.map +1 -1
- package/dist/parse-worker.mjs +6 -6
- package/dist/parse-worker.mjs.map +1 -1
- package/dist/{types-DWARi8gF.d.ts → types-B4jVIqMD.d.ts} +3 -0
- package/dist/{types-Ba-BjVQG.d.mts → types-qfwcXiZS.d.mts} +3 -0
- package/package.json +1 -1
- package/templates/skill/SKILL.md +1 -1
- package/templates/skill/mokosh.md +1 -1
|
@@ -75,6 +75,9 @@ interface FileNode extends GraphNode {
|
|
|
75
75
|
cognitiveComplexity?: number;
|
|
76
76
|
/** Per-function complexity breakdown. Covers named function declarations, const-assigned arrow/function expressions, and class methods/constructors/accessors — anonymous inline callbacks are not included. Only present for TypeScript/JavaScript files. */
|
|
77
77
|
functions?: FunctionComplexity[];
|
|
78
|
+
/** Owning workspace package name. Not set by the builder or persisted — a query/output-time
|
|
79
|
+
* annotation stamped by `filterGraph`/handlers when results come from a flattened workspace graph. */
|
|
80
|
+
package?: string;
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
interface RawCallEdge {
|
|
@@ -75,6 +75,9 @@ interface FileNode extends GraphNode {
|
|
|
75
75
|
cognitiveComplexity?: number;
|
|
76
76
|
/** Per-function complexity breakdown. Covers named function declarations, const-assigned arrow/function expressions, and class methods/constructors/accessors — anonymous inline callbacks are not included. Only present for TypeScript/JavaScript files. */
|
|
77
77
|
functions?: FunctionComplexity[];
|
|
78
|
+
/** Owning workspace package name. Not set by the builder or persisted — a query/output-time
|
|
79
|
+
* annotation stamped by `filterGraph`/handlers when results come from a flattened workspace graph. */
|
|
80
|
+
package?: string;
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
interface RawCallEdge {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omfalos/mokosh",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "A high-performance, AST-powered dependency graph generator for frontend projects, optimized for AI context and smart test selection.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
package/templates/skill/SKILL.md
CHANGED
|
@@ -111,7 +111,7 @@ Use with `query({ root, filter: "..." })` via MCP or `--query "..."` via CLI. Al
|
|
|
111
111
|
|
|
112
112
|
`category` values: `logic` · `ui` · `test` · `config` · `barrel` · `type-only` · `other`.
|
|
113
113
|
|
|
114
|
-
`query` (MCP) defaults to `slim: true` — compact nodes with flat `importsFiles`, export names, and meaningful tags only. Tags are filtered to kinds `comment-marker` and `import`; `function`/`class`/`variable`/`type`/`library` tags are dropped in slim output. Call `list_tags`
|
|
114
|
+
`query` (MCP) defaults to `slim: true` — compact nodes with flat `importsFiles`, export names, and meaningful tags only. Tags are filtered to kinds `comment-marker` and `import`; `function`/`class`/`variable`/`type`/`library` tags are dropped in slim output. Call `list_tags` to discover tag names (bounded; its `byKind` histogram shows per-kind totals, `kind`/`prefix`/`minCount` narrow it), or pass `slim: false` when full edge metadata is needed.
|
|
115
115
|
|
|
116
116
|
Run `mokosh --query-help` (CLI) for the full reference at any time.
|
|
117
117
|
|
|
@@ -108,7 +108,7 @@ Use with `query({ root, filter: "..." })` via MCP or `--query "..."` via CLI. Al
|
|
|
108
108
|
|
|
109
109
|
`category` values: `logic` · `ui` · `test` · `config` · `barrel` · `type-only` · `other`.
|
|
110
110
|
|
|
111
|
-
`query` (MCP) defaults to `slim: true` — compact nodes with flat `importsFiles`, export names, and meaningful tags only. Tags are filtered to kinds `comment-marker` and `import`; `function`/`class`/`variable`/`type`/`library` tags are dropped in slim output. Call `list_tags`
|
|
111
|
+
`query` (MCP) defaults to `slim: true` — compact nodes with flat `importsFiles`, export names, and meaningful tags only. Tags are filtered to kinds `comment-marker` and `import`; `function`/`class`/`variable`/`type`/`library` tags are dropped in slim output. Call `list_tags` to discover tag names (bounded; its `byKind` histogram shows per-kind totals, `kind`/`prefix`/`minCount` narrow it), or pass `slim: false` when full edge metadata is needed.
|
|
112
112
|
|
|
113
113
|
Run `mokosh --query-help` (CLI) for the full reference at any time.
|
|
114
114
|
|