@happyvertical/smrt-cli 0.51.12 → 0.51.14
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.
|
@@ -3910,7 +3910,7 @@ async function discoverInstalledPackages(installedDirectories, complete = false)
|
|
|
3910
3910
|
const { readdirSync } = await import("node:fs");
|
|
3911
3911
|
for (const entry of installedDirectories) {
|
|
3912
3912
|
if (!entry.name.startsWith("smrt-")) continue;
|
|
3913
|
-
const pkg = loadPackageInfo(entry.realDirectory, entry.name, complete);
|
|
3913
|
+
const pkg = loadPackageInfo(entry.realDirectory, entry.name, complete, `@happyvertical/${entry.name}`);
|
|
3914
3914
|
if (pkg) packages.push(pkg);
|
|
3915
3915
|
}
|
|
3916
3916
|
if (packages.length === 0) {
|
|
@@ -3940,12 +3940,12 @@ function discoverSdkPackages(installedDirectories, complete = false) {
|
|
|
3940
3940
|
const packages = [];
|
|
3941
3941
|
for (const entry of installedDirectories) {
|
|
3942
3942
|
if (entry.name.startsWith("smrt-") || entry.name === "smrt") continue;
|
|
3943
|
-
const pkg = loadPackageInfo(entry.realDirectory, entry.name, complete);
|
|
3943
|
+
const pkg = loadPackageInfo(entry.realDirectory, entry.name, complete, `@happyvertical/${entry.name}`);
|
|
3944
3944
|
if (pkg) packages.push(pkg);
|
|
3945
3945
|
}
|
|
3946
3946
|
return packages.sort((a, b) => a.name.localeCompare(b.name));
|
|
3947
3947
|
}
|
|
3948
|
-
function loadPackageInfo(packagePath, dirName, complete) {
|
|
3948
|
+
function loadPackageInfo(packagePath, dirName, complete, specifier) {
|
|
3949
3949
|
const packageJsonPath = join(packagePath, "package.json");
|
|
3950
3950
|
if (!existsSync(packageJsonPath)) return null;
|
|
3951
3951
|
try {
|
|
@@ -3960,6 +3960,7 @@ function loadPackageInfo(packagePath, dirName, complete) {
|
|
|
3960
3960
|
claudeMd: agentDoc.content,
|
|
3961
3961
|
docSource: agentDoc.source,
|
|
3962
3962
|
directory: packagePath,
|
|
3963
|
+
specifier: specifier ?? packageJson.name,
|
|
3963
3964
|
moduleDocPaths: agentDoc.source === "AGENTS.md" ? resolveAgentModuleDocPaths(packagePath, agentDoc.content ?? void 0) : [],
|
|
3964
3965
|
moduleDocs: complete && agentDoc.source === "AGENTS.md" ? readAgentModuleDocs(packagePath, agentDoc.content ?? void 0) : []
|
|
3965
3966
|
};
|
|
@@ -4032,10 +4033,11 @@ function renderPackageDoc(pkg, lines, complete) {
|
|
|
4032
4033
|
const paths = pkg.moduleDocPaths ?? pkg.moduleDocs?.map((doc) => doc.path) ?? [];
|
|
4033
4034
|
if (!complete && paths.length > 0) {
|
|
4034
4035
|
lines.push("#### Module documentation", "");
|
|
4035
|
-
lines.push("
|
|
4036
|
+
lines.push("Resolve each link under `node_modules/` (for example `node_modules/@happyvertical/smrt-core/agents/object-runtime.md`) and read it on demand, or regenerate with `--complete`.", "");
|
|
4036
4037
|
for (const path of paths) {
|
|
4037
|
-
const
|
|
4038
|
-
|
|
4038
|
+
const relative = path.replace(/\\/g, "/");
|
|
4039
|
+
const specifier = pkg.specifier ?? pkg.name;
|
|
4040
|
+
lines.push(`- [${relative}](<${specifier}/${relative}>)`);
|
|
4039
4041
|
}
|
|
4040
4042
|
lines.push("");
|
|
4041
4043
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {}
|
package/dist/index.js
CHANGED
|
@@ -49,63 +49,63 @@ var _playgroundCommands = null;
|
|
|
49
49
|
var _workbenchCommands = null;
|
|
50
50
|
async function getGnodeCommands() {
|
|
51
51
|
if (!_gnodeCommands) {
|
|
52
|
-
const { gnodeCommands } = await import("./commands-
|
|
52
|
+
const { gnodeCommands } = await import("./commands-BhDS-TVS.js");
|
|
53
53
|
_gnodeCommands = gnodeCommands;
|
|
54
54
|
}
|
|
55
55
|
return _gnodeCommands;
|
|
56
56
|
}
|
|
57
57
|
async function getGitCommands() {
|
|
58
58
|
if (!_gitCommands) {
|
|
59
|
-
const { gitCommands } = await import("./commands-
|
|
59
|
+
const { gitCommands } = await import("./commands-BhDS-TVS.js");
|
|
60
60
|
_gitCommands = gitCommands;
|
|
61
61
|
}
|
|
62
62
|
return _gitCommands;
|
|
63
63
|
}
|
|
64
64
|
async function getGenerateCommands() {
|
|
65
65
|
if (!_generateCommands) {
|
|
66
|
-
const { generateCommands } = await import("./commands-
|
|
66
|
+
const { generateCommands } = await import("./commands-BhDS-TVS.js");
|
|
67
67
|
_generateCommands = generateCommands;
|
|
68
68
|
}
|
|
69
69
|
return _generateCommands;
|
|
70
70
|
}
|
|
71
71
|
async function getInitCommands() {
|
|
72
72
|
if (!_initCommands) {
|
|
73
|
-
const { initCommands } = await import("./commands-
|
|
73
|
+
const { initCommands } = await import("./commands-BhDS-TVS.js");
|
|
74
74
|
_initCommands = initCommands;
|
|
75
75
|
}
|
|
76
76
|
return _initCommands;
|
|
77
77
|
}
|
|
78
78
|
async function getUtilityCommands() {
|
|
79
79
|
if (!_utilityCommands) {
|
|
80
|
-
const { utilityCommands } = await import("./commands-
|
|
80
|
+
const { utilityCommands } = await import("./commands-BhDS-TVS.js");
|
|
81
81
|
_utilityCommands = utilityCommands;
|
|
82
82
|
}
|
|
83
83
|
return _utilityCommands;
|
|
84
84
|
}
|
|
85
85
|
async function getDispatchCommands() {
|
|
86
86
|
if (!_dispatchCommands) {
|
|
87
|
-
const { dispatchCommands } = await import("./commands-
|
|
87
|
+
const { dispatchCommands } = await import("./commands-BhDS-TVS.js");
|
|
88
88
|
_dispatchCommands = dispatchCommands;
|
|
89
89
|
}
|
|
90
90
|
return _dispatchCommands;
|
|
91
91
|
}
|
|
92
92
|
async function getDocsCommands() {
|
|
93
93
|
if (!_docsCommands) {
|
|
94
|
-
const { docsCommands } = await import("./commands-
|
|
94
|
+
const { docsCommands } = await import("./commands-BhDS-TVS.js");
|
|
95
95
|
_docsCommands = docsCommands;
|
|
96
96
|
}
|
|
97
97
|
return _docsCommands;
|
|
98
98
|
}
|
|
99
99
|
async function getPlaygroundCommands() {
|
|
100
100
|
if (!_playgroundCommands) {
|
|
101
|
-
const { playgroundCommands } = await import("./commands-
|
|
101
|
+
const { playgroundCommands } = await import("./commands-BhDS-TVS.js");
|
|
102
102
|
_playgroundCommands = playgroundCommands;
|
|
103
103
|
}
|
|
104
104
|
return _playgroundCommands;
|
|
105
105
|
}
|
|
106
106
|
async function getWorkbenchCommands() {
|
|
107
107
|
if (!_workbenchCommands) {
|
|
108
|
-
const { workbenchCommands } = await import("./commands-
|
|
108
|
+
const { workbenchCommands } = await import("./commands-BhDS-TVS.js");
|
|
109
109
|
_workbenchCommands = workbenchCommands;
|
|
110
110
|
}
|
|
111
111
|
return _workbenchCommands;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-cli",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.14",
|
|
4
4
|
"description": "Developer CLI for SMRT framework - introspection, testing, and project management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,24 +28,25 @@
|
|
|
28
28
|
"@happyvertical/ai": "^0.89.12",
|
|
29
29
|
"@happyvertical/files": "^0.89.12",
|
|
30
30
|
"@happyvertical/logger": "^0.89.12",
|
|
31
|
-
"@happyvertical/smrt-agents": "0.51.
|
|
32
|
-
"@happyvertical/smrt-config": "0.51.
|
|
33
|
-
"@happyvertical/smrt-core": "0.51.
|
|
34
|
-
"@happyvertical/smrt-dev-mcp": "0.51.
|
|
35
|
-
"@happyvertical/smrt-playground": "0.51.
|
|
36
|
-
"@happyvertical/smrt-types": "0.51.
|
|
31
|
+
"@happyvertical/smrt-agents": "0.51.14",
|
|
32
|
+
"@happyvertical/smrt-config": "0.51.14",
|
|
33
|
+
"@happyvertical/smrt-core": "0.51.14",
|
|
34
|
+
"@happyvertical/smrt-dev-mcp": "0.51.14",
|
|
35
|
+
"@happyvertical/smrt-playground": "0.51.14",
|
|
36
|
+
"@happyvertical/smrt-types": "0.51.14",
|
|
37
37
|
"@happyvertical/sql": "^0.89.12",
|
|
38
38
|
"@happyvertical/utils": "^0.89.12",
|
|
39
|
-
"acorn": "^8.
|
|
39
|
+
"acorn": "^8.18.0",
|
|
40
40
|
"fast-glob": "3.3.3",
|
|
41
|
-
"tar": "^7.5.
|
|
41
|
+
"tar": "^7.5.22"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@
|
|
45
|
-
"
|
|
44
|
+
"@microsoft/api-extractor": "7.59.1",
|
|
45
|
+
"@types/node": "24.13.6",
|
|
46
|
+
"tsx": "^4.23.13",
|
|
46
47
|
"typescript": "5.9.3",
|
|
47
48
|
"vite": "8.1.4",
|
|
48
|
-
"vite-plugin-dts": "
|
|
49
|
+
"vite-plugin-dts": "5.1.0",
|
|
49
50
|
"vitest": "4.1.10"
|
|
50
51
|
},
|
|
51
52
|
"keywords": [
|