@enactprotocol/cli 2.1.6 → 2.1.10
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/commands/auth/index.js +1 -1
- package/dist/commands/auth/index.js.map +1 -1
- package/dist/commands/index.d.ts +1 -1
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/info/index.d.ts +11 -0
- package/dist/commands/info/index.d.ts.map +1 -0
- package/dist/commands/info/index.js +232 -0
- package/dist/commands/info/index.js.map +1 -0
- package/dist/commands/init/index.d.ts.map +1 -1
- package/dist/commands/init/index.js +92 -61
- package/dist/commands/init/index.js.map +1 -1
- package/dist/commands/learn/index.d.ts +4 -0
- package/dist/commands/learn/index.d.ts.map +1 -1
- package/dist/commands/learn/index.js +159 -5
- package/dist/commands/learn/index.js.map +1 -1
- package/dist/commands/mcp/index.d.ts +20 -0
- package/dist/commands/mcp/index.d.ts.map +1 -0
- package/dist/commands/mcp/index.js +460 -0
- package/dist/commands/mcp/index.js.map +1 -0
- package/dist/commands/publish/index.d.ts.map +1 -1
- package/dist/commands/publish/index.js +14 -7
- package/dist/commands/publish/index.js.map +1 -1
- package/dist/commands/sign/index.d.ts +2 -1
- package/dist/commands/sign/index.d.ts.map +1 -1
- package/dist/commands/sign/index.js +75 -17
- package/dist/commands/sign/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/commands/auth/index.ts +1 -1
- package/src/commands/index.ts +1 -1
- package/src/commands/{get → info}/index.ts +103 -16
- package/src/commands/init/index.ts +104 -65
- package/src/commands/learn/index.ts +228 -5
- package/src/commands/publish/index.ts +14 -7
- package/src/commands/sign/index.ts +93 -18
- package/src/index.ts +3 -3
- package/tests/commands/{get.test.ts → info.test.ts} +35 -33
- package/tests/commands/init.test.ts +204 -17
- package/tests/commands/learn.test.ts +2 -2
- package/tests/e2e.test.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- /package/tests/fixtures/echo-tool/{enact.md → SKILL.md} +0 -0
|
@@ -55,14 +55,14 @@ describe("learn command", () => {
|
|
|
55
55
|
expect(jsonOpt).toBeDefined();
|
|
56
56
|
});
|
|
57
57
|
|
|
58
|
-
test("
|
|
58
|
+
test("has --verbose option for showing attestation details", () => {
|
|
59
59
|
const program = new Command();
|
|
60
60
|
configureLearnCommand(program);
|
|
61
61
|
|
|
62
62
|
const learnCmd = program.commands.find((cmd) => cmd.name() === "learn");
|
|
63
63
|
const opts = learnCmd?.options ?? [];
|
|
64
64
|
const verboseOpt = opts.find((o) => o.long === "--verbose");
|
|
65
|
-
expect(verboseOpt).
|
|
65
|
+
expect(verboseOpt).toBeDefined();
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
|
package/tests/e2e.test.ts
CHANGED
|
@@ -139,7 +139,7 @@ describe("E2E: Tool Installation Flow", () => {
|
|
|
139
139
|
const { manifest, destPath } = installTool(ECHO_TOOL, destBase);
|
|
140
140
|
|
|
141
141
|
expect(manifest.name).toBe("test/echo-tool");
|
|
142
|
-
expect(existsSync(join(destPath, "
|
|
142
|
+
expect(existsSync(join(destPath, "SKILL.md"))).toBe(true);
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
test("installs multiple tools without conflict", () => {
|