@trading-boy/cli 2.0.1 → 2.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/README.md +2 -2
- package/dist/api-client.d.ts +15 -1
- package/dist/api-client.js +57 -14
- package/dist/cli.bundle.js +764 -104
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/package.json +15 -14
- package/LICENSE +0 -22
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { formatConnectionError } from './utils.js';
|
|
2
2
|
export { storeCredentials, loadCredentials, clearCredentials, redactApiKey, getCredentialsFilePath } from './credentials.js';
|
|
3
3
|
export type { StoredCredentials } from './credentials.js';
|
|
4
|
-
export { apiRequest, resolveApiKey, getApiBase, ApiError } from './api-client.js';
|
|
4
|
+
export { apiRequest, resolveApiKey, resolveApiKeyWithSource, getApiBase, ApiError, ApiCredentialConflictError, ApiCredentialMissingError, } from './api-client.js';
|
|
5
|
+
export type { ApiKeySourceName, ResolvedApiKey } from './api-client.js';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { formatConnectionError } from './utils.js';
|
|
2
2
|
export { storeCredentials, loadCredentials, clearCredentials, redactApiKey, getCredentialsFilePath } from './credentials.js';
|
|
3
|
-
export { apiRequest, resolveApiKey, getApiBase, ApiError } from './api-client.js';
|
|
3
|
+
export { apiRequest, resolveApiKey, resolveApiKeyWithSource, getApiBase, ApiError, ApiCredentialConflictError, ApiCredentialMissingError, } from './api-client.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trading-boy/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Trading Boy CLI — remote trading intelligence for traders and AI agents.",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://tradingboy.ai",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/0xLLM73/Trading-Boy"
|
|
8
|
+
"url": "git+https://github.com/0xLLM73/Trading-Boy.git"
|
|
9
9
|
},
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"keywords": [
|
|
@@ -50,6 +50,14 @@
|
|
|
50
50
|
"README.md",
|
|
51
51
|
"!dist/**/*.map"
|
|
52
52
|
],
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "tsc && node esbuild.config.js",
|
|
55
|
+
"typecheck": "tsc -b --pretty false",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"lint": "eslint src/",
|
|
58
|
+
"clean": "rm -rf dist .turbo",
|
|
59
|
+
"prepublishOnly": "node prepublish-check.js"
|
|
60
|
+
},
|
|
53
61
|
"dependencies": {
|
|
54
62
|
"@inquirer/prompts": "~7.10.1",
|
|
55
63
|
"@napi-rs/keyring": "~1.1.3",
|
|
@@ -60,15 +68,8 @@
|
|
|
60
68
|
"qrcode-terminal": "~0.12.0"
|
|
61
69
|
},
|
|
62
70
|
"devDependencies": {
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
},
|
|
67
|
-
"scripts": {
|
|
68
|
-
"build": "tsc && node esbuild.config.js",
|
|
69
|
-
"typecheck": "tsc -b --pretty false",
|
|
70
|
-
"test": "vitest run",
|
|
71
|
-
"lint": "eslint src/",
|
|
72
|
-
"clean": "rm -rf dist .turbo"
|
|
71
|
+
"@trading-boy/core": "workspace:*",
|
|
72
|
+
"esbuild": "~0.28.1",
|
|
73
|
+
"typescript": "^5.7.0"
|
|
73
74
|
}
|
|
74
|
-
}
|
|
75
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2026 Cabal Ventures. All rights reserved.
|
|
2
|
-
|
|
3
|
-
This software and associated documentation files (the "Software") are the
|
|
4
|
-
proprietary property of Cabal Ventures. Unauthorized copying, modification,
|
|
5
|
-
distribution, or use of this Software, in whole or in part, is strictly
|
|
6
|
-
prohibited without the express written permission of Cabal Ventures.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
10
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
11
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
12
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
13
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
14
|
-
SOFTWARE.
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
This project uses the following open-source software:
|
|
19
|
-
|
|
20
|
-
Hermes Agent Framework — MIT License
|
|
21
|
-
Copyright (c) Hermes Contributors
|
|
22
|
-
https://github.com/hermes-ai/hermes
|