@happyvertical/smrt-cli 0.52.0 → 0.53.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/AGENTS.md +1 -0
- package/README.md +1 -0
- package/dist/{ApiKey-BZmbOTnL-CMUo3WLf.js → ApiKey-BZmbOTnL-d61__hH4.js} +2 -2
- package/dist/ApiKeyCollection-Bfb_nw81-BVJ-i1Aw.js +2 -0
- package/dist/AuditLogCollection-B1YonCAP-bpq7rM2b.js +2 -0
- package/dist/{NostrIdentity-n70E0vck-BD7uutxz.js → NostrIdentity-n70E0vck-CmFPKTaE.js} +3 -3
- package/dist/NostrIdentityCollection-Ca74dkaL-C0rNgSy-.js +2 -0
- package/dist/{OidcIdentity-Cb1bxreM-DY0aRLu-.js → OidcIdentity-Cb1bxreM-L5LCgsel.js} +2 -2
- package/dist/OidcIdentityCollection-TV8VdK69-CUmZ-j4r.js +2 -0
- package/dist/ProfileAssetCollection-B9hacUJa-C53RAi1e.js +2 -0
- package/dist/{ProfileCollection-DuJT7Mum-D_ScbSMu.js → ProfileCollection-DuJT7Mum-zuWR2h3v.js} +26 -26
- package/dist/ProfileLinkCollection-4uNURz32-Fmbnrmyr.js +2 -0
- package/dist/ProfileMetadataCollection-DQhbfEfa-D30yWyzB.js +2 -0
- package/dist/{ProfileMetafieldCollection-CoBuM_5G-BDwo4x3z.js → ProfileMetafieldCollection-CoBuM_5G-TNxSMsBJ.js} +1 -1
- package/dist/{ProfileRelationshipCollection-DUVgaIqf-BRrBeg1Q.js → ProfileRelationshipCollection-DUVgaIqf-CKcxS2xW.js} +1 -1
- package/dist/{ProfileRelationshipTermCollection-DtA9OM23-D4WMfN9a.js → ProfileRelationshipTermCollection-DtA9OM23-h-4GhOFl.js} +1 -1
- package/dist/{ProfileRelationshipType-BRiRka6t-B32A4UFT.js → ProfileRelationshipType-BRiRka6t-BFgCVe6p.js} +1 -1
- package/dist/{ProfileRelationshipTypeCollection-BdXwd7Kf-BqQa8Awc.js → ProfileRelationshipTypeCollection-BdXwd7Kf-Djb3_k5Z.js} +1 -1
- package/dist/cli-generator.d.ts.map +1 -1
- package/dist/commands/db-qualified-names.d.ts +39 -0
- package/dist/commands/db-qualified-names.d.ts.map +1 -0
- package/dist/commands/gnode.d.ts.map +1 -1
- package/dist/commands/index.d.ts +1 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/mcp-apps-packaging.d.ts +24 -0
- package/dist/commands/mcp-apps-packaging.d.ts.map +1 -0
- package/dist/commands/utilities.d.ts.map +1 -1
- package/dist/{commands-BvcMfEoO.js → commands-e1tsvozP.js} +487 -6
- package/dist/{dist-BTxdRxKP.js → dist-8C4XjDhz.js} +2 -2
- package/dist/{dist-Dm4q4uB4.js → dist-CLA60jwS.js} +4 -4
- package/dist/{dist-qJw7ALwV.js → dist-CksLvqnZ.js} +10 -6
- package/dist/{dist-vJJL0WMc.js → dist-DtTkpUee.js} +26 -26
- package/dist/index.js +17 -11
- package/dist/{oidcProvisioningPrimitives-D9OYu5-F-D9DQdiwS.js → oidcProvisioningPrimitives-D9OYu5-F-CJ6bTipi.js} +4 -4
- package/dist/resolveIdentity-B-PK6RwU-DxJFF8ad.js +2 -0
- package/package.json +16 -15
- package/dist/ApiKeyCollection-Bfb_nw81-C3Xz7MUq.js +0 -2
- package/dist/AuditLogCollection-B1YonCAP-DmmboC_X.js +0 -2
- package/dist/NostrIdentityCollection-Ca74dkaL--KYlM_ou.js +0 -2
- package/dist/OidcIdentityCollection-TV8VdK69-DPeFJt3R.js +0 -2
- package/dist/ProfileAssetCollection-B9hacUJa-6R8lwjti.js +0 -2
- package/dist/ProfileLinkCollection-4uNURz32-lMKBjaik.js +0 -2
- package/dist/ProfileMetadataCollection-DQhbfEfa-B1QlmBkX.js +0 -2
- package/dist/resolveIdentity-B-PK6RwU-Dvqeq9-I.js +0 -2
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-e1tsvozP.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-e1tsvozP.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-e1tsvozP.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-e1tsvozP.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-e1tsvozP.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-e1tsvozP.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-e1tsvozP.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-e1tsvozP.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-e1tsvozP.js");
|
|
109
109
|
_workbenchCommands = workbenchCommands;
|
|
110
110
|
}
|
|
111
111
|
return _workbenchCommands;
|
|
@@ -820,7 +820,8 @@ var CLIGenerator = class {
|
|
|
820
820
|
...playgroundCommands,
|
|
821
821
|
...workbenchCommands
|
|
822
822
|
};
|
|
823
|
-
const
|
|
823
|
+
const builtInMatch = matchLeadingCommand(processedArgv, [], builtInCommands);
|
|
824
|
+
const builtInCommand = builtInMatch.command ?? builtInCommands[parsed.command] ?? Object.values(builtInCommands).find((cmd) => cmd.name === parsed.command || cmd.aliases?.includes(parsed.command ?? ""));
|
|
824
825
|
if (builtInCommand) {
|
|
825
826
|
const requiredArgCount = countRequiredArgs(builtInCommand.args);
|
|
826
827
|
if (parsed.args.length < requiredArgCount) {
|
|
@@ -832,7 +833,12 @@ var CLIGenerator = class {
|
|
|
832
833
|
this.exitWithError(`Command '${parsed.command}' has no handler defined`);
|
|
833
834
|
return;
|
|
834
835
|
}
|
|
835
|
-
const
|
|
836
|
+
const start = firstArgumentIndex(processedArgv);
|
|
837
|
+
const reParsed = parseCliCommandArgs(builtInMatch.command && builtInMatch.wordCount > 1 ? [
|
|
838
|
+
...processedArgv.slice(0, start),
|
|
839
|
+
builtInCommand.name,
|
|
840
|
+
...processedArgv.slice(start + builtInMatch.wordCount)
|
|
841
|
+
] : processedArgv, [builtInCommand], {});
|
|
836
842
|
try {
|
|
837
843
|
await builtInCommand.handler(reParsed.args, reParsed.options);
|
|
838
844
|
return;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
-
import { c as isSystemContext } from "./dist-
|
|
3
|
-
import { n as __exportAll$1 } from "./NostrIdentity-n70E0vck-
|
|
4
|
-
import { t as OidcIdentity } from "./OidcIdentity-Cb1bxreM-
|
|
5
|
-
import { c as saveOidcRaceArbiter, i as ProfileType, n as ProfileCollection, t as Profile } from "./ProfileCollection-DuJT7Mum-
|
|
2
|
+
import { c as isSystemContext } from "./dist-8C4XjDhz.js";
|
|
3
|
+
import { n as __exportAll$1 } from "./NostrIdentity-n70E0vck-CmFPKTaE.js";
|
|
4
|
+
import { t as OidcIdentity } from "./OidcIdentity-Cb1bxreM-L5LCgsel.js";
|
|
5
|
+
import { c as saveOidcRaceArbiter, i as ProfileType, n as ProfileCollection, t as Profile } from "./ProfileCollection-DuJT7Mum-zuWR2h3v.js";
|
|
6
6
|
import { SmrtCollection, smrt } from "@happyvertical/smrt-core";
|
|
7
7
|
//#region ../profiles/dist/chunks/oidcProvisioningPrimitives-D9OYu5-F.js
|
|
8
8
|
var oidcProvisioningPrimitives_D9OYu5_F_exports = /* @__PURE__ */ __exportAll({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.0",
|
|
4
4
|
"description": "Developer CLI for SMRT framework - introspection, testing, and project management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,22 +25,23 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@happyvertical/ai": "^0.
|
|
29
|
-
"@happyvertical/files": "^0.
|
|
30
|
-
"@happyvertical/logger": "^0.
|
|
31
|
-
"@happyvertical/smrt-agents": "0.
|
|
32
|
-
"@happyvertical/smrt-config": "0.
|
|
33
|
-
"@happyvertical/smrt-core": "0.
|
|
34
|
-
"@happyvertical/smrt-dev-mcp": "0.
|
|
35
|
-
"@happyvertical/smrt-ledgers": "0.
|
|
36
|
-
"@happyvertical/smrt-playground": "0.
|
|
37
|
-
"@happyvertical/smrt-types": "0.
|
|
38
|
-
"@happyvertical/smrt-users": "0.
|
|
39
|
-
"@happyvertical/sql": "^0.
|
|
40
|
-
"@happyvertical/utils": "^0.
|
|
28
|
+
"@happyvertical/ai": "^0.98.0",
|
|
29
|
+
"@happyvertical/files": "^0.98.0",
|
|
30
|
+
"@happyvertical/logger": "^0.98.0",
|
|
31
|
+
"@happyvertical/smrt-agents": "0.53.0",
|
|
32
|
+
"@happyvertical/smrt-config": "0.53.0",
|
|
33
|
+
"@happyvertical/smrt-core": "0.53.0",
|
|
34
|
+
"@happyvertical/smrt-dev-mcp": "0.53.0",
|
|
35
|
+
"@happyvertical/smrt-ledgers": "0.53.0",
|
|
36
|
+
"@happyvertical/smrt-playground": "0.53.0",
|
|
37
|
+
"@happyvertical/smrt-types": "0.53.0",
|
|
38
|
+
"@happyvertical/smrt-users": "0.53.0",
|
|
39
|
+
"@happyvertical/sql": "^0.98.0",
|
|
40
|
+
"@happyvertical/utils": "^0.98.0",
|
|
41
41
|
"acorn": "^8.18.0",
|
|
42
42
|
"fast-glob": "3.3.3",
|
|
43
|
-
"tar": "^7.5.22"
|
|
43
|
+
"tar": "^7.5.22",
|
|
44
|
+
"ajv": "8.20.0"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@types/node": "24.13.6",
|