sidestick 0.1.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/README.md +21 -0
- package/package.json +27 -0
- package/src/index.tsx +17 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# sidestick
|
|
2
|
+
|
|
3
|
+
An agentic trading cockpit in your terminal. The agent does the cross-asset
|
|
4
|
+
reasoning; you stay the pilot and approve every trade.
|
|
5
|
+
|
|
6
|
+
## Run it
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
bunx sidestick
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
> Requires the [Bun](https://bun.sh) runtime (the TUI is built on OpenTUI).
|
|
13
|
+
|
|
14
|
+
## Develop
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
bun install
|
|
18
|
+
bun dev
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Built with [OpenTUI](https://git.new/create-tui).
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sidestick",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Agentic trading cockpit TUI — the agent flies, your hand stays on the stick.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"sidestick": "src/index.tsx"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"src"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "bun run --watch src/index.tsx",
|
|
14
|
+
"start": "bun run src/index.tsx"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/bun": "latest"
|
|
18
|
+
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"typescript": "^5"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@opentui/core": "^0.4.2",
|
|
24
|
+
"@opentui/react": "^0.4.2",
|
|
25
|
+
"react": "^19.2.6"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/src/index.tsx
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
import { createCliRenderer, TextAttributes } from "@opentui/core";
|
|
3
|
+
import { createRoot } from "@opentui/react";
|
|
4
|
+
|
|
5
|
+
function App() {
|
|
6
|
+
return (
|
|
7
|
+
<box alignItems="center" justifyContent="center" flexGrow={1}>
|
|
8
|
+
<box justifyContent="center" alignItems="flex-end">
|
|
9
|
+
<ascii-font font="tiny" text="sidestick" />
|
|
10
|
+
<text attributes={TextAttributes.DIM}>the agent flies, your hand stays on the stick</text>
|
|
11
|
+
</box>
|
|
12
|
+
</box>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const renderer = await createCliRenderer();
|
|
17
|
+
createRoot(renderer).render(<App />);
|