@darwin.finance/cli 1.0.0
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/LICENSE +21 -0
- package/README.md +113 -0
- package/dist/darwin.js +5410 -0
- package/npm-shrinkwrap.json +319 -0
- package/package.json +47 -0
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@darwin.finance/cli",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "@darwin.finance/cli",
|
|
9
|
+
"version": "1.0.0",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@napi-rs/keyring": "2.1.0"
|
|
13
|
+
},
|
|
14
|
+
"bin": {
|
|
15
|
+
"darwin": "dist/darwin.js"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/bun": "1.3.0",
|
|
19
|
+
"@types/node": "22.20.5",
|
|
20
|
+
"typescript": "5.9.3"
|
|
21
|
+
},
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"node_modules/@napi-rs/keyring": {
|
|
27
|
+
"version": "2.1.0",
|
|
28
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring/-/keyring-2.1.0.tgz",
|
|
29
|
+
"integrity": "sha512-km9J3fomkGSLpImpelq0cMvLBrJ5eVlTzuWdG3Iy0laP6gU90MmHYjqhUhG32aYq0/0++r2TLuAA9xlnh4XU1g==",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">= 10"
|
|
33
|
+
},
|
|
34
|
+
"funding": {
|
|
35
|
+
"type": "github",
|
|
36
|
+
"url": "https://github.com/sponsors/Brooooooklyn"
|
|
37
|
+
},
|
|
38
|
+
"optionalDependencies": {
|
|
39
|
+
"@napi-rs/keyring-darwin-arm64": "2.1.0",
|
|
40
|
+
"@napi-rs/keyring-darwin-x64": "2.1.0",
|
|
41
|
+
"@napi-rs/keyring-freebsd-x64": "2.1.0",
|
|
42
|
+
"@napi-rs/keyring-linux-arm-gnueabihf": "2.1.0",
|
|
43
|
+
"@napi-rs/keyring-linux-arm64-gnu": "2.1.0",
|
|
44
|
+
"@napi-rs/keyring-linux-arm64-musl": "2.1.0",
|
|
45
|
+
"@napi-rs/keyring-linux-riscv64-gnu": "2.1.0",
|
|
46
|
+
"@napi-rs/keyring-linux-x64-gnu": "2.1.0",
|
|
47
|
+
"@napi-rs/keyring-linux-x64-musl": "2.1.0",
|
|
48
|
+
"@napi-rs/keyring-win32-arm64-msvc": "2.1.0",
|
|
49
|
+
"@napi-rs/keyring-win32-ia32-msvc": "2.1.0",
|
|
50
|
+
"@napi-rs/keyring-win32-x64-msvc": "2.1.0"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"node_modules/@napi-rs/keyring-darwin-arm64": {
|
|
54
|
+
"version": "2.1.0",
|
|
55
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-darwin-arm64/-/keyring-darwin-arm64-2.1.0.tgz",
|
|
56
|
+
"integrity": "sha512-j6ATTOhmPW+N5EKwi8Yzn6P4Bz/uqnxzyYvqOL73/dgzDSYG5pS5eprqpVmOLse68WUTf79ZMqz97HnfvirJ9g==",
|
|
57
|
+
"cpu": [
|
|
58
|
+
"arm64"
|
|
59
|
+
],
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"optional": true,
|
|
62
|
+
"os": [
|
|
63
|
+
"darwin"
|
|
64
|
+
],
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">= 10"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"node_modules/@napi-rs/keyring-darwin-x64": {
|
|
70
|
+
"version": "2.1.0",
|
|
71
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-darwin-x64/-/keyring-darwin-x64-2.1.0.tgz",
|
|
72
|
+
"integrity": "sha512-54Q803nguiOaQzBG2h4uIkacI0eLGAlzzdpxPNi6IZtXbjqbPI4AQ86GrQy25tw3czBqRPBoGu0lHP2U+/f5iA==",
|
|
73
|
+
"cpu": [
|
|
74
|
+
"x64"
|
|
75
|
+
],
|
|
76
|
+
"license": "MIT",
|
|
77
|
+
"optional": true,
|
|
78
|
+
"os": [
|
|
79
|
+
"darwin"
|
|
80
|
+
],
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">= 10"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"node_modules/@napi-rs/keyring-freebsd-x64": {
|
|
86
|
+
"version": "2.1.0",
|
|
87
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-freebsd-x64/-/keyring-freebsd-x64-2.1.0.tgz",
|
|
88
|
+
"integrity": "sha512-BL7ngJAYQBrUp1PTF8enOXOIVfxN51RbwVOEQ+8eAjWypF/5Ipqs8oQoMqkuc0wAbk+vatnNVjdKCIFa/HPglg==",
|
|
89
|
+
"cpu": [
|
|
90
|
+
"x64"
|
|
91
|
+
],
|
|
92
|
+
"license": "MIT",
|
|
93
|
+
"optional": true,
|
|
94
|
+
"os": [
|
|
95
|
+
"freebsd"
|
|
96
|
+
],
|
|
97
|
+
"engines": {
|
|
98
|
+
"node": ">= 10"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"node_modules/@napi-rs/keyring-linux-arm-gnueabihf": {
|
|
102
|
+
"version": "2.1.0",
|
|
103
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-arm-gnueabihf/-/keyring-linux-arm-gnueabihf-2.1.0.tgz",
|
|
104
|
+
"integrity": "sha512-JYgbCDk+giss7lKla8NTXhM/fLj+Hrfgr3xwKQ8jKn8qMD6vXLwYcfK8HJ9VoAcjIeYEUpCL6dRszJC5M4zFNg==",
|
|
105
|
+
"cpu": [
|
|
106
|
+
"arm"
|
|
107
|
+
],
|
|
108
|
+
"license": "MIT",
|
|
109
|
+
"optional": true,
|
|
110
|
+
"os": [
|
|
111
|
+
"linux"
|
|
112
|
+
],
|
|
113
|
+
"engines": {
|
|
114
|
+
"node": ">= 10"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"node_modules/@napi-rs/keyring-linux-arm64-gnu": {
|
|
118
|
+
"version": "2.1.0",
|
|
119
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-arm64-gnu/-/keyring-linux-arm64-gnu-2.1.0.tgz",
|
|
120
|
+
"integrity": "sha512-+PMONFQ+2GkBXG7vRG2spgR73bNCMeVpNopHoSmhj2E+5Gu6zJooRBjoaIZKj6hCyrOU8pXAhoZ22EEFQ/4YeQ==",
|
|
121
|
+
"cpu": [
|
|
122
|
+
"arm64"
|
|
123
|
+
],
|
|
124
|
+
"license": "MIT",
|
|
125
|
+
"optional": true,
|
|
126
|
+
"os": [
|
|
127
|
+
"linux"
|
|
128
|
+
],
|
|
129
|
+
"engines": {
|
|
130
|
+
"node": ">= 10"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"node_modules/@napi-rs/keyring-linux-arm64-musl": {
|
|
134
|
+
"version": "2.1.0",
|
|
135
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-arm64-musl/-/keyring-linux-arm64-musl-2.1.0.tgz",
|
|
136
|
+
"integrity": "sha512-dKjiXKTHQjAS57hL0HVzLpW9XYNGFpfYkr/51FzIIvbZR08PAnzIDYKwShoNYGvjQP6+rDFf1a5Utl0aWwcFrA==",
|
|
137
|
+
"cpu": [
|
|
138
|
+
"arm64"
|
|
139
|
+
],
|
|
140
|
+
"license": "MIT",
|
|
141
|
+
"optional": true,
|
|
142
|
+
"os": [
|
|
143
|
+
"linux"
|
|
144
|
+
],
|
|
145
|
+
"engines": {
|
|
146
|
+
"node": ">= 10"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"node_modules/@napi-rs/keyring-linux-riscv64-gnu": {
|
|
150
|
+
"version": "2.1.0",
|
|
151
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-riscv64-gnu/-/keyring-linux-riscv64-gnu-2.1.0.tgz",
|
|
152
|
+
"integrity": "sha512-tqhb0ofhtEJ2+ZfmlKTDHbmIoNSz+SSTPWRgMfSVCgI4JVkqDdfcmIOcThZfRffJ3QI9C3Tng+rZL24acmD+GA==",
|
|
153
|
+
"cpu": [
|
|
154
|
+
"riscv64"
|
|
155
|
+
],
|
|
156
|
+
"license": "MIT",
|
|
157
|
+
"optional": true,
|
|
158
|
+
"os": [
|
|
159
|
+
"linux"
|
|
160
|
+
],
|
|
161
|
+
"engines": {
|
|
162
|
+
"node": ">= 10"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"node_modules/@napi-rs/keyring-linux-x64-gnu": {
|
|
166
|
+
"version": "2.1.0",
|
|
167
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-x64-gnu/-/keyring-linux-x64-gnu-2.1.0.tgz",
|
|
168
|
+
"integrity": "sha512-7ZA0ssxfpuGXV8S5Ct1ZJoEL3sKg/8u7mIL4SK9/PwKBhxIq7K+FVcjnggNsuFnEhHTX+HYl9hHDrlX0odZnHg==",
|
|
169
|
+
"cpu": [
|
|
170
|
+
"x64"
|
|
171
|
+
],
|
|
172
|
+
"license": "MIT",
|
|
173
|
+
"optional": true,
|
|
174
|
+
"os": [
|
|
175
|
+
"linux"
|
|
176
|
+
],
|
|
177
|
+
"engines": {
|
|
178
|
+
"node": ">= 10"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"node_modules/@napi-rs/keyring-linux-x64-musl": {
|
|
182
|
+
"version": "2.1.0",
|
|
183
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-x64-musl/-/keyring-linux-x64-musl-2.1.0.tgz",
|
|
184
|
+
"integrity": "sha512-dI74Fzl03CrN2TEP7YVBtUBFgyRTRPyK1LMcIgAUfgW3o6f5SD1a8EsfT82+brpFOltjOhacIlFiYOkYtSI5Fg==",
|
|
185
|
+
"cpu": [
|
|
186
|
+
"x64"
|
|
187
|
+
],
|
|
188
|
+
"license": "MIT",
|
|
189
|
+
"optional": true,
|
|
190
|
+
"os": [
|
|
191
|
+
"linux"
|
|
192
|
+
],
|
|
193
|
+
"engines": {
|
|
194
|
+
"node": ">= 10"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"node_modules/@napi-rs/keyring-win32-arm64-msvc": {
|
|
198
|
+
"version": "2.1.0",
|
|
199
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-win32-arm64-msvc/-/keyring-win32-arm64-msvc-2.1.0.tgz",
|
|
200
|
+
"integrity": "sha512-SltrXXkEe9a+Jv8ConDkZW2Mdr0srpWurS7oYkYP1Mp07DNBpFyqawRnyo4p7ZvQU3e+R6irj/Fq0epCCvVUXA==",
|
|
201
|
+
"cpu": [
|
|
202
|
+
"arm64"
|
|
203
|
+
],
|
|
204
|
+
"license": "MIT",
|
|
205
|
+
"optional": true,
|
|
206
|
+
"os": [
|
|
207
|
+
"win32"
|
|
208
|
+
],
|
|
209
|
+
"engines": {
|
|
210
|
+
"node": ">= 10"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"node_modules/@napi-rs/keyring-win32-ia32-msvc": {
|
|
214
|
+
"version": "2.1.0",
|
|
215
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-win32-ia32-msvc/-/keyring-win32-ia32-msvc-2.1.0.tgz",
|
|
216
|
+
"integrity": "sha512-l5wJQhqXkAfQ4FGxoRh0wMpL9VxVmfiYI5TTeOGNupuVsQvbHmysh8gfDQBBWVhyMENHJS2OqOSYIuqVjumAtA==",
|
|
217
|
+
"cpu": [
|
|
218
|
+
"ia32"
|
|
219
|
+
],
|
|
220
|
+
"license": "MIT",
|
|
221
|
+
"optional": true,
|
|
222
|
+
"os": [
|
|
223
|
+
"win32"
|
|
224
|
+
],
|
|
225
|
+
"engines": {
|
|
226
|
+
"node": ">= 10"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"node_modules/@napi-rs/keyring-win32-x64-msvc": {
|
|
230
|
+
"version": "2.1.0",
|
|
231
|
+
"resolved": "https://registry.npmjs.org/@napi-rs/keyring-win32-x64-msvc/-/keyring-win32-x64-msvc-2.1.0.tgz",
|
|
232
|
+
"integrity": "sha512-3zYwO7dhJiUNyv2te81ujXm2vGxHwgx+z2eBm0dTYe3aWpvKQVzpfxCp/7cViJs8duVYE04wVOgXiRhRCMEq2w==",
|
|
233
|
+
"cpu": [
|
|
234
|
+
"x64"
|
|
235
|
+
],
|
|
236
|
+
"license": "MIT",
|
|
237
|
+
"optional": true,
|
|
238
|
+
"os": [
|
|
239
|
+
"win32"
|
|
240
|
+
],
|
|
241
|
+
"engines": {
|
|
242
|
+
"node": ">= 10"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"node_modules/@types/bun": {
|
|
246
|
+
"version": "1.3.0",
|
|
247
|
+
"resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.3.0.tgz",
|
|
248
|
+
"integrity": "sha512-+lAGCYjXjip2qY375xX/scJeVRmZ5cY0wyHYyCYxNcdEXrQ4AOe3gACgd4iQ8ksOslJtW4VNxBJ8llUwc3a6AA==",
|
|
249
|
+
"dev": true,
|
|
250
|
+
"license": "MIT",
|
|
251
|
+
"dependencies": {
|
|
252
|
+
"bun-types": "1.3.0"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"node_modules/@types/node": {
|
|
256
|
+
"version": "22.20.5",
|
|
257
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.5.tgz",
|
|
258
|
+
"integrity": "sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA==",
|
|
259
|
+
"dev": true,
|
|
260
|
+
"license": "MIT",
|
|
261
|
+
"dependencies": {
|
|
262
|
+
"undici-types": "~6.21.0"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"node_modules/@types/react": {
|
|
266
|
+
"version": "19.3.0",
|
|
267
|
+
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz",
|
|
268
|
+
"integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==",
|
|
269
|
+
"dev": true,
|
|
270
|
+
"license": "MIT",
|
|
271
|
+
"peer": true,
|
|
272
|
+
"dependencies": {
|
|
273
|
+
"csstype": "^3.2.2"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"node_modules/bun-types": {
|
|
277
|
+
"version": "1.3.0",
|
|
278
|
+
"resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.3.0.tgz",
|
|
279
|
+
"integrity": "sha512-u8X0thhx+yJ0KmkxuEo9HAtdfgCBaM/aI9K90VQcQioAmkVp3SG3FkwWGibUFz3WdXAdcsqOcbU40lK7tbHdkQ==",
|
|
280
|
+
"dev": true,
|
|
281
|
+
"license": "MIT",
|
|
282
|
+
"dependencies": {
|
|
283
|
+
"@types/node": "*"
|
|
284
|
+
},
|
|
285
|
+
"peerDependencies": {
|
|
286
|
+
"@types/react": "^19"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"node_modules/csstype": {
|
|
290
|
+
"version": "3.2.3",
|
|
291
|
+
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
|
|
292
|
+
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
|
|
293
|
+
"dev": true,
|
|
294
|
+
"license": "MIT",
|
|
295
|
+
"peer": true
|
|
296
|
+
},
|
|
297
|
+
"node_modules/typescript": {
|
|
298
|
+
"version": "5.9.3",
|
|
299
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
|
300
|
+
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
|
301
|
+
"dev": true,
|
|
302
|
+
"license": "Apache-2.0",
|
|
303
|
+
"bin": {
|
|
304
|
+
"tsc": "bin/tsc",
|
|
305
|
+
"tsserver": "bin/tsserver"
|
|
306
|
+
},
|
|
307
|
+
"engines": {
|
|
308
|
+
"node": ">=14.17"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"node_modules/undici-types": {
|
|
312
|
+
"version": "6.21.0",
|
|
313
|
+
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
|
|
314
|
+
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
|
|
315
|
+
"dev": true,
|
|
316
|
+
"license": "MIT"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@darwin.finance/cli",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Darwin CLI \u2014 trade and check your Darwin agent from a terminal",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"darwin": "dist/darwin.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/darwin.js",
|
|
12
|
+
"npm-shrinkwrap.json",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=20"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/DarwinFinance/darwin-cli.git"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://darwin.finance/agents/cli",
|
|
24
|
+
"keywords": [
|
|
25
|
+
"darwin",
|
|
26
|
+
"trading",
|
|
27
|
+
"solana",
|
|
28
|
+
"agent",
|
|
29
|
+
"cli",
|
|
30
|
+
"mcp"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "bun run scripts/build.ts",
|
|
34
|
+
"typecheck": "tsc --noEmit",
|
|
35
|
+
"lint": "bun run scripts/lint.ts",
|
|
36
|
+
"test": "bun test",
|
|
37
|
+
"check": "bun run typecheck && bun run lint && bun run test && bun run build"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@napi-rs/keyring": "2.1.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/bun": "1.3.0",
|
|
44
|
+
"@types/node": "22.20.5",
|
|
45
|
+
"typescript": "5.9.3"
|
|
46
|
+
}
|
|
47
|
+
}
|