@chakresh/kresh 0.1.0 → 0.1.1
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/package.json +4 -1
- package/src/commands/publish.js +2 -1
- package/src/services/api.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chakresh/kresh",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"bin": {
|
|
5
5
|
"kresh": "./src/index.js"
|
|
6
6
|
},
|
|
@@ -11,5 +11,8 @@
|
|
|
11
11
|
"chalk": "^5.3.0",
|
|
12
12
|
"ora": "^8.0.1",
|
|
13
13
|
"inquirer": "^9.2.16"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
14
17
|
}
|
|
15
18
|
}
|
package/src/commands/publish.js
CHANGED
|
@@ -6,7 +6,8 @@ import { logger } from '../utils/logger.js';
|
|
|
6
6
|
export async function publishSkill() {
|
|
7
7
|
logger.info("To publish an intelligence skill, please follow these steps:");
|
|
8
8
|
console.log(" 1. Create a markdown file named SKILL.md specifying agent instructions.");
|
|
9
|
-
|
|
9
|
+
const webUrl = process.env.KRESH_API_URL || 'https://kresh.vercel.app';
|
|
10
|
+
console.log(` 2. Open the publisher page: ${webUrl}/dashboard/publish`);
|
|
10
11
|
console.log(" 3. Enter the name, category, version, and upload or paste your SKILL.md content.");
|
|
11
12
|
console.log();
|
|
12
13
|
logger.success("Once published, anyone can install it with `kresh install <slug>`.");
|