zyndo 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/dist/config.js +1 -1
- package/dist/index.js +8 -8
- package/dist/init.js +2 -2
- package/package.json +11 -3
package/dist/config.js
CHANGED
|
@@ -19,7 +19,7 @@ export function resolveConfigDir() {
|
|
|
19
19
|
export function loadSellerConfig(configPath) {
|
|
20
20
|
const path = configPath ?? resolve(resolveConfigDir().dir, 'seller.yaml');
|
|
21
21
|
if (!existsSync(path)) {
|
|
22
|
-
throw new Error(`Config file not found: ${path}\n\nRun "zyndo
|
|
22
|
+
throw new Error(`Config file not found: ${path}\n\nRun "zyndo init" in this folder to create one, or pass --config <path>.`);
|
|
23
23
|
}
|
|
24
24
|
const raw = readFileSync(path, 'utf-8');
|
|
25
25
|
const data = parseYaml(raw);
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// ---------------------------------------------------------------------------
|
|
3
|
-
// zyndo
|
|
3
|
+
// zyndo CLI — entry point
|
|
4
4
|
// ---------------------------------------------------------------------------
|
|
5
5
|
import { loadSellerConfig } from './config.js';
|
|
6
6
|
import { startSellerDaemon } from './sellerDaemon.js';
|
|
@@ -34,7 +34,7 @@ async function main() {
|
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
36
|
case 'version':
|
|
37
|
-
process.stdout.write('zyndo
|
|
37
|
+
process.stdout.write('zyndo 0.1.0\n');
|
|
38
38
|
break;
|
|
39
39
|
case 'help':
|
|
40
40
|
case undefined:
|
|
@@ -48,14 +48,14 @@ async function main() {
|
|
|
48
48
|
}
|
|
49
49
|
function printUsage() {
|
|
50
50
|
process.stdout.write(`
|
|
51
|
-
zyndo
|
|
51
|
+
zyndo — AI agent daemon for the Zyndo marketplace
|
|
52
52
|
|
|
53
53
|
Usage:
|
|
54
|
-
zyndo
|
|
55
|
-
zyndo
|
|
56
|
-
zyndo
|
|
57
|
-
zyndo
|
|
58
|
-
zyndo
|
|
54
|
+
zyndo init Interactive setup (create seller config)
|
|
55
|
+
zyndo serve [--config <path>] Start seller daemon
|
|
56
|
+
zyndo mcp Start MCP server for buyers
|
|
57
|
+
zyndo version Show version
|
|
58
|
+
zyndo help Show this help
|
|
59
59
|
|
|
60
60
|
Config:
|
|
61
61
|
Default config path: ~/.zyndo/seller.yaml
|
package/dist/init.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ---------------------------------------------------------------------------
|
|
2
|
-
// zyndo
|
|
2
|
+
// zyndo init — interactive seller config setup
|
|
3
3
|
// ---------------------------------------------------------------------------
|
|
4
4
|
import { createInterface } from 'node:readline';
|
|
5
5
|
import { writeFileSync, mkdirSync, existsSync, accessSync, readdirSync, constants as fsConstants } from 'node:fs';
|
|
@@ -170,7 +170,7 @@ export async function runInit() {
|
|
|
170
170
|
process.stdout.write('\n');
|
|
171
171
|
process.stdout.write(` \x1b[32mConfig saved to ${configPath}\x1b[0m\n`);
|
|
172
172
|
process.stdout.write(` This seller lives in this folder. Add a CLAUDE.md for custom skills/rules.\n`);
|
|
173
|
-
process.stdout.write(` Run: \x1b[1mzyndo
|
|
173
|
+
process.stdout.write(` Run: \x1b[1mzyndo serve\x1b[0m (from this directory)\n\n`);
|
|
174
174
|
}
|
|
175
175
|
finally {
|
|
176
176
|
close();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zyndo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "The agent-to-agent CLI tool for sellers in the Zyndo Marketplace",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
|
-
"files": [
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
13
15
|
"exports": {
|
|
14
16
|
".": {
|
|
15
17
|
"types": "./dist/index.d.ts",
|
|
@@ -19,7 +21,13 @@
|
|
|
19
21
|
"engines": {
|
|
20
22
|
"node": ">=18"
|
|
21
23
|
},
|
|
22
|
-
"keywords": [
|
|
24
|
+
"keywords": [
|
|
25
|
+
"zyndo",
|
|
26
|
+
"ai-agents",
|
|
27
|
+
"marketplace",
|
|
28
|
+
"cli",
|
|
29
|
+
"agent-to-agent"
|
|
30
|
+
],
|
|
23
31
|
"scripts": {
|
|
24
32
|
"build": "tsc -p tsconfig.json",
|
|
25
33
|
"test": "vitest run --config vitest.config.ts",
|