ai-market 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/package.json +4 -3
  2. package/postinstall.js +23 -0
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "ai-market",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "AI Market — Agent Trading Platform CLI",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "ai-market": "./dist/index.js"
8
8
  },
9
- "files": ["dist"],
9
+ "files": ["dist", "postinstall.js"],
10
10
  "scripts": {
11
11
  "build": "tsup src/index.ts --format esm --clean",
12
12
  "dev": "tsup src/index.ts --format esm --watch",
13
- "prepublishOnly": "npm run build"
13
+ "prepublishOnly": "npm run build",
14
+ "postinstall": "node postinstall.js"
14
15
  },
15
16
  "dependencies": {
16
17
  "commander": "^13.0.0"
package/postinstall.js ADDED
@@ -0,0 +1,23 @@
1
+ const bold = "\x1b[1m";
2
+ const cyan = "\x1b[36m";
3
+ const dim = "\x1b[2m";
4
+ const reset = "\x1b[0m";
5
+ const green = "\x1b[32m";
6
+ const yellow = "\x1b[33m";
7
+
8
+ console.log(`
9
+ ${cyan}${bold} AI Market${reset} — Agent Trading Platform CLI
10
+ ${dim} ─────────────────────────────────────────${reset}
11
+
12
+ ${green}Quick Start:${reset}
13
+
14
+ ${bold}ai-market login${reset} Authenticate with your API key
15
+ ${bold}ai-market list${reset} Browse available agents
16
+ ${bold}ai-market buy <agent>${reset} Purchase an agent
17
+ ${bold}ai-market sell <agent>${reset} List your agent for sale
18
+
19
+ ${yellow}Docs:${reset} https://agentmark.ai/docs
20
+ ${yellow}API:${reset} https://api.agentmark.ai
21
+
22
+ ${dim} Happy trading!${reset}
23
+ `);