@hyperflow.fun/ghost 0.0.2 → 0.0.4

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 (39) hide show
  1. package/README.md +31 -14
  2. package/dist/index.js +14410 -14309
  3. package/dist/package.json +1 -1
  4. package/dist/skills/builtin/event-judge/SKILL.md +2 -1
  5. package/dist/web/dist/assets/{Chart-DwirCj9o.js → Chart-BgUhYrVH.js} +1 -1
  6. package/dist/web/dist/assets/{Config-Csnvaqpn.js → Config-CMp84sNc.js} +1 -1
  7. package/dist/web/dist/assets/{Cost-BSD_2GYX.js → Cost-BgKdnj4i.js} +1 -1
  8. package/dist/web/dist/assets/{Cron-BVKdKUFN.js → Cron-L4GEQwj0.js} +1 -1
  9. package/dist/web/dist/assets/{Dashboard-Ccr5J95V.js → Dashboard-D1UNPhTW.js} +1 -1
  10. package/dist/web/dist/assets/{Logs-CUgA7IGb.js → Logs-DZkot-wQ.js} +1 -1
  11. package/dist/web/dist/assets/{Memory-C_Q_iNlN.js → Memory-DsQackdo.js} +1 -1
  12. package/dist/web/dist/assets/SVN-RethinkSans-Bold-BIisIh3U.otf +0 -0
  13. package/dist/web/dist/assets/SVN-RethinkSans-Italic-8Q-lLPN5.otf +0 -0
  14. package/dist/web/dist/assets/SVN-RethinkSans-Medium-yLh4RBRv.otf +0 -0
  15. package/dist/web/dist/assets/SVN-RethinkSans-Regular-CVuIF6ni.otf +0 -0
  16. package/dist/web/dist/assets/{Sessions-KDhnYDnX.js → Sessions-uqRIDn57.js} +1 -1
  17. package/dist/web/dist/assets/{Skills-BK-V7HFa.js → Skills-B9WQPgSe.js} +1 -1
  18. package/dist/web/dist/assets/{Tools-a3aqqugu.js → Tools-Dyf8Zp-H.js} +1 -1
  19. package/dist/web/dist/assets/{activity-DsxRdk-G.js → activity-DRn1WSJo.js} +1 -1
  20. package/dist/web/dist/assets/{clock-DCbfDkWu.js → clock-FMsaqykN.js} +1 -1
  21. package/dist/web/dist/assets/empty-notifications-C88Hm9lC.svg +62 -0
  22. package/dist/web/dist/assets/empty-token-search-aBFBwedz.svg +5 -0
  23. package/dist/web/dist/assets/{highlighted-body-OFNGDK62-C8yP3qbm.js → highlighted-body-OFNGDK62-Ck5_e4wj.js} +1 -1
  24. package/dist/web/dist/assets/index-CGNakXCn.css +1 -0
  25. package/dist/web/dist/assets/index-DNznoLXb.js +54 -0
  26. package/dist/web/dist/assets/{mermaid-GHXKKRXX-CbzD1Jp7.js → mermaid-GHXKKRXX-jlxJo7RH.js} +3 -3
  27. package/dist/web/dist/assets/{refresh-cw-B9ZNJZIb.js → refresh-cw-CRQa2SMT.js} +1 -1
  28. package/dist/web/dist/assets/welcome-globe-analytics-sF4OWku9.svg +201 -0
  29. package/dist/web/dist/assets/welcome-globe-bars-COA7MJUP.svg +305 -0
  30. package/dist/web/dist/assets/welcome-news-card-BfM47ZZ3.svg +59 -0
  31. package/dist/web/dist/index.html +2 -2
  32. package/package.json +1 -1
  33. package/dist/web/dist/assets/SF-Pro-Display-Bold-CkqE-6tD.otf +0 -0
  34. package/dist/web/dist/assets/SF-Pro-Display-Medium-DSttQARu.otf +0 -0
  35. package/dist/web/dist/assets/SF-Pro-Display-Regular-DF_3XEGl.otf +0 -0
  36. package/dist/web/dist/assets/SF-Pro-Display-Semibold-Dg2-djaL.otf +0 -0
  37. package/dist/web/dist/assets/index-3q7g734D.js +0 -54
  38. package/dist/web/dist/assets/index-DRvGorcf.css +0 -1
  39. package/dist/web/dist/assets/welcome-illustration-B8_SJ7In.svg +0 -319
package/README.md CHANGED
@@ -24,7 +24,7 @@ powershell -c "irm bun.sh/install.ps1 | iex" # Windows
24
24
  **1. Install Ghost**
25
25
 
26
26
  ```bash
27
- npm install -g @hyperflow.fun/ghost
27
+ bun install -g "@hyperflow.fun/ghost"
28
28
  ```
29
29
 
30
30
  **2. Onboard**
@@ -39,6 +39,10 @@ You'll be asked to pick:
39
39
  - **LLM Model** — Claude Code, Anthropic, OpenAI, Gemini, OpenRouter, or a custom endpoint
40
40
  - **Install Ghost service** — Select **Yes** to keep Ghost running in the background
41
41
 
42
+ > **Paper trading?** Pick **Paper** during onboard for a simulated 10,000 USDC
43
+ > balance — no wallet, no real trades. Set a custom balance with
44
+ > `ghost daemon --paper -b 50000`.
45
+
42
46
  **3. Open the dashboard**
43
47
 
44
48
  Visit **http://localhost:15401** and start trading.
@@ -55,6 +59,24 @@ ghost uninstall # Remove service + ~/.ghost
55
59
 
56
60
  See the [User Guide](USER_GUIDE.md) for the full reference.
57
61
 
62
+ ## Telegram (optional)
63
+
64
+ Chat with Ghost from Telegram instead of (or alongside) the dashboard.
65
+
66
+ **From the dashboard** — click the **Telegram icon** in the top bar and follow
67
+ the in-app steps. Most users only need this.
68
+
69
+ **From the CLI** — same flow, scripted:
70
+
71
+ ```bash
72
+ ghost channel setup # Create the bot + bind it to your account
73
+ ghost channel pair # Pair another device to the same channel
74
+ ghost channel status # Show channel + pairing state
75
+ ```
76
+
77
+ Once connected, Ghost mirrors trade prompts, alerts, and confirmations to
78
+ Telegram.
79
+
58
80
  ## Documentation
59
81
 
60
82
  | Document | Purpose |
@@ -62,10 +84,6 @@ See the [User Guide](USER_GUIDE.md) for the full reference.
62
84
  | [User Guide](USER_GUIDE.md) | Install, setup, daily commands, update, uninstall, troubleshooting |
63
85
  | [Install & Onboard Guide](INSTALL_GUIDE.md) | Step-by-step onboard flow for AI agents |
64
86
  | [Developer Guide](CLAUDE.md) | Architecture, tech stack, conventions, development pipeline |
65
- | [Product Vision](PRODUCT_VISION.md) | Market research, product vision, roadmap |
66
- | [Features](FEATURES.md) | 22 features across 4 pillars |
67
- | [Personas](PERSONAS.md) | Trader personas and emotion-response framework |
68
- | [Journeys](JOURNEYS.md) | Journey narratives — Ghost in action for each persona |
69
87
 
70
88
  ## Data Storage
71
89
 
@@ -77,20 +95,19 @@ All data stored in `~/.ghost/` (config, credentials, database, memory, sessions)
77
95
  - If you installed an earlier version, uninstall first — this release contains breaking changes:
78
96
  ```bash
79
97
  ghost uninstall
80
- npm uninstall -g @hyperflow.fun/ghost
98
+ bun remove -g @hyperflow.fun/ghost
81
99
  ```
82
100
 
83
101
  ## Security
84
102
 
85
103
  The Ghost gateway has no built-in authentication layer. By default it binds to
86
- `0.0.0.0:15401`, which is convenient for local use but requires external
87
- hardening before exposing the port to the internet. Options include Cloudflare
88
- Tunnel + Access, Tailscale Serve, or ngrok OAuth. Alternatively, set
89
- `gateway.host=127.0.0.1` in `~/.ghost/config.json` to restrict access to
90
- localhost only.
91
-
92
- See [docs/security/network-exposure.md](docs/security/network-exposure.md) for
93
- detailed recipes and what to avoid.
104
+ loopback only (`gateway.host=127.0.0.1`), so the dashboard is reachable from
105
+ the same machine but invisible to the network safe to leave as-is for local
106
+ use.
107
+
108
+ To reach the dashboard from another device, put an authenticated tunnel
109
+ (Tailscale Serve, ngrok OAuth, mTLS proxy) in front of `127.0.0.1:15401`.
110
+ See [docs/security/network-exposure.md](docs/security/network-exposure.md).
94
111
 
95
112
  ## License
96
113