@tealstreet/cli 0.10.0 → 0.10.5
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/README.md +8 -0
- package/package.json +20 -14
package/README.md
CHANGED
|
@@ -65,12 +65,20 @@ High-level entry points:
|
|
|
65
65
|
- `src/index.ts` — Commander.js entry
|
|
66
66
|
- `src/repl.ts` — interactive REPL (readline)
|
|
67
67
|
- `src/listener/` — loopback `127.0.0.1:53219` WS + HTTP side-car for the web app
|
|
68
|
+
- `src/mcp/` — stdio MCP server for scripts, local account reads, publicdata
|
|
69
|
+
snapshots, exchange-services candles and safe-cex market metadata, public
|
|
70
|
+
Polymarket DEX reads, context-query dashboard planning, and optional crawled
|
|
71
|
+
Hyperliquid analytics reads
|
|
68
72
|
- `src/commands/` — command implementations (shared logic in `@tealstreet/cli-core`)
|
|
69
73
|
- `src/config.ts` — `~/.tealstreet/config.json` (accounts, listener kill-switches, footer layout)
|
|
70
74
|
- `src/logger.ts` + `src/log-classify.ts` — console interception, severity taxonomy, operational-noise routing
|
|
71
75
|
- `src/scroll-region.ts` + `src/status-line.ts` + `src/footer.ts` + `src/footer-segments.ts` — the pinned output surfaces (top alert bar + bottom status footer over one shared ANSI scroll region)
|
|
72
76
|
- `src/audit-log.ts` — durable append-only write-op trail + command tracing (`audit` command)
|
|
73
77
|
|
|
78
|
+
Account add/import surfaces must use
|
|
79
|
+
`@tealstreet/safe-cex/src/accounts/buildExchangeAccountConfig`; do not add
|
|
80
|
+
CLI-local credential schemas or exchange support tables.
|
|
81
|
+
|
|
74
82
|
## Development
|
|
75
83
|
|
|
76
84
|
### Watch Mode Pattern (Terminal Takeover)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tealstreet/cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "Tealstreet CLI - Trade crypto from your terminal",
|
|
5
5
|
"main": "bin/tealstreet.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -35,33 +35,39 @@
|
|
|
35
35
|
"version:patch": "yarn version --patch --no-git-tag-version",
|
|
36
36
|
"version:minor": "yarn version --minor --no-git-tag-version",
|
|
37
37
|
"version:major": "yarn version --major --no-git-tag-version",
|
|
38
|
-
"typecheck": "tsc --noEmit --skipLibCheck",
|
|
38
|
+
"typecheck": "node ../../scripts/tsc-ts6.mjs --noEmit --skipLibCheck",
|
|
39
|
+
"typecheck:ts7": "node ../../scripts/tsc-ts7.mjs --noEmit --skipLibCheck",
|
|
39
40
|
"logs": "tail -f ~/.tealstreet/cli.log",
|
|
40
41
|
"test": "vitest",
|
|
41
42
|
"test-ci": "vitest run",
|
|
42
43
|
"postinstall": "node scripts/install-binary.cjs --optional"
|
|
43
44
|
},
|
|
44
|
-
"
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
47
|
+
"@sentry/bun": "^10.73.0",
|
|
45
48
|
"@tealstreet/cli-core": "*",
|
|
49
|
+
"@tealstreet/mcp-data": "*",
|
|
50
|
+
"@tealstreet/oems-core": "*",
|
|
46
51
|
"@tealstreet/safe-cex": "*",
|
|
47
|
-
"@tealstreet/script-api-cli": "*",
|
|
48
52
|
"@tealstreet/script-api-core": "*",
|
|
49
53
|
"@tealstreet/script-api-web": "*",
|
|
54
|
+
"@tealstreet/script-authoring": "*",
|
|
55
|
+
"@tealstreet/service-telemetry": "*",
|
|
50
56
|
"@tealstreet/utils": "*",
|
|
51
|
-
"
|
|
57
|
+
"@types/node": "^20.0.0",
|
|
58
|
+
"@types/ws": "^8.18.1",
|
|
59
|
+
"bun-types": "^1.4.2",
|
|
60
|
+
"chalk": "^6.0.0",
|
|
52
61
|
"commander": "^15.0.0",
|
|
53
62
|
"fast-json-patch": "^3.1.1",
|
|
54
|
-
"open": "^11.0.
|
|
55
|
-
"ora": "^9.4.
|
|
63
|
+
"open": "^11.0.4",
|
|
64
|
+
"ora": "^9.4.1",
|
|
65
|
+
"pg": "^8.23.0",
|
|
56
66
|
"tcp-websocket": "^1.0.0",
|
|
57
|
-
"ws": "^8.21.0"
|
|
58
|
-
},
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"@types/node": "^20.0.0",
|
|
61
|
-
"@types/ws": "^8.18.1",
|
|
62
|
-
"bun-types": "^1.3.14",
|
|
63
67
|
"typescript": "^6.0.3",
|
|
64
68
|
"vite-tsconfig-paths": "^5.1.4",
|
|
65
|
-
"vitest": "^
|
|
69
|
+
"vitest": "^5.0.1",
|
|
70
|
+
"ws": "^8.21.3",
|
|
71
|
+
"zod": "^4.6.5"
|
|
66
72
|
}
|
|
67
73
|
}
|