styrby-cli 0.1.0-beta.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/LICENSE +53 -0
- package/README.md +108 -0
- package/dist/daemon/daemonProcess.js +16912 -0
- package/dist/daemon/daemonProcess.js.map +7 -0
- package/dist/index.js +47002 -0
- package/dist/index.js.map +7 -0
- package/dist/lib.js +64 -0
- package/dist/lib.js.map +7 -0
- package/package.json +109 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
STYRBY CLI - PROPRIETARY SOFTWARE LICENSE
|
|
2
|
+
=========================================
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2025-2026 Steel Motion LLC. All rights reserved.
|
|
5
|
+
|
|
6
|
+
NOTICE: This is proprietary software. You may NOT copy, modify, distribute,
|
|
7
|
+
sublicense, sell, or use this software without explicit written permission
|
|
8
|
+
from Steel Motion LLC.
|
|
9
|
+
|
|
10
|
+
This software is provided for use only as part of the Styrby product and
|
|
11
|
+
services. Unauthorized use, reproduction, or distribution is strictly
|
|
12
|
+
prohibited and may result in legal action.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
REQUIRED THIRD-PARTY ATTRIBUTION
|
|
18
|
+
================================
|
|
19
|
+
|
|
20
|
+
Portions of this software are derived from Happy Coder
|
|
21
|
+
(https://github.com/slopus/happy), which is licensed under the MIT License.
|
|
22
|
+
|
|
23
|
+
As required by the MIT License, the following notice is preserved:
|
|
24
|
+
|
|
25
|
+
MIT License
|
|
26
|
+
Copyright (c) 2024 Happy Coder Contributors
|
|
27
|
+
|
|
28
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
29
|
+
a copy of this software and associated documentation files (the
|
|
30
|
+
"Software"), to deal in the Software without restriction, including
|
|
31
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
32
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
33
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
34
|
+
the following conditions:
|
|
35
|
+
|
|
36
|
+
The above copyright notice and this permission notice shall be
|
|
37
|
+
included in all copies or substantial portions of the Software.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
40
|
+
EXPRESS OR IMPLIED.
|
|
41
|
+
|
|
42
|
+
NOTE: The MIT attribution above applies ONLY to the derived code portions.
|
|
43
|
+
It does NOT grant any rights to the Styrby product as a whole, which remains
|
|
44
|
+
the exclusive property of Steel Motion LLC under the proprietary license above.
|
|
45
|
+
|
|
46
|
+
Derived code locations:
|
|
47
|
+
- src/agent/ (Agent abstraction layer)
|
|
48
|
+
- src/claude/ (Claude Code integration patterns)
|
|
49
|
+
- src/codex/ (Codex integration patterns)
|
|
50
|
+
- src/gemini/ (Gemini CLI integration patterns)
|
|
51
|
+
|
|
52
|
+
All modifications, additions, and new code are Copyright (c) 2025-2026
|
|
53
|
+
Steel Motion LLC and are subject to the proprietary license above.
|
package/README.md
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Styrby
|
|
2
|
+
|
|
3
|
+
**One app to control all your AI coding agents from your phone.**
|
|
4
|
+
|
|
5
|
+
Control Claude Code, Codex, Gemini CLI, OpenCode, and Aider — all from a single mobile app. End-to-end encrypted. Your code never leaves your machine.
|
|
6
|
+
|
|
7
|
+
## Why Styrby?
|
|
8
|
+
|
|
9
|
+
- **Multi-agent** — 5 AI agents, one interface. No vendor lock-in.
|
|
10
|
+
- **E2E encrypted** — XSalsa20-Poly1305 encryption with per-session keys. We never see your code.
|
|
11
|
+
- **Offline resilient** — Commands queue when you're offline and sync automatically. Your laptop can sleep.
|
|
12
|
+
- **Cost tracking** — Real-time token usage, budget alerts, and cross-agent cost comparison.
|
|
13
|
+
- **Push notifications** — Know when sessions complete, permissions need approval, or budgets are hit.
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g styrby
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Quick Start
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# First-time setup (auth + mobile pairing, ~60 seconds)
|
|
25
|
+
styrby onboard
|
|
26
|
+
|
|
27
|
+
# Start a coding session with Claude Code
|
|
28
|
+
styrby start --agent claude
|
|
29
|
+
|
|
30
|
+
# Or use a different agent
|
|
31
|
+
styrby start --agent codex
|
|
32
|
+
styrby start --agent gemini
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Supported Agents
|
|
36
|
+
|
|
37
|
+
| Agent | Provider | Install |
|
|
38
|
+
|-------|----------|---------|
|
|
39
|
+
| Claude Code | Anthropic | `styrby install claude` |
|
|
40
|
+
| Codex | OpenAI | `styrby install codex` |
|
|
41
|
+
| Gemini CLI | Google | `styrby install gemini` |
|
|
42
|
+
| OpenCode | Open Source | `styrby install opencode` |
|
|
43
|
+
| Aider | Open Source | `styrby install aider` |
|
|
44
|
+
|
|
45
|
+
## Commands
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
styrby Interactive mode
|
|
49
|
+
styrby onboard Setup wizard (~60 seconds)
|
|
50
|
+
styrby start Start an agent session
|
|
51
|
+
styrby install <agent> Install an AI agent
|
|
52
|
+
styrby pair Pair with mobile app (QR code)
|
|
53
|
+
styrby costs Show token usage & costs
|
|
54
|
+
styrby costs --today Today's costs only
|
|
55
|
+
styrby costs --month Current month's costs
|
|
56
|
+
styrby doctor Run system health checks
|
|
57
|
+
styrby daemon install Auto-start on boot
|
|
58
|
+
styrby template list Manage prompt templates
|
|
59
|
+
styrby help Show help
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## How It Works
|
|
63
|
+
|
|
64
|
+
Styrby is a **relay layer** — it doesn't do AI coding itself. Instead:
|
|
65
|
+
|
|
66
|
+
1. You spawn an agent (Claude Code, Codex, etc.) on your machine
|
|
67
|
+
2. Styrby captures stdin/stdout and encrypts messages end-to-end
|
|
68
|
+
3. Your phone connects via Supabase Realtime
|
|
69
|
+
4. You type on your phone → agent executes on your machine
|
|
70
|
+
5. Results are encrypted before leaving your machine → decrypted only on your phone
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
Phone (Styrby App)
|
|
74
|
+
│
|
|
75
|
+
│ E2E Encrypted via Supabase Realtime
|
|
76
|
+
▼
|
|
77
|
+
Styrby CLI (this package)
|
|
78
|
+
│
|
|
79
|
+
│ stdin/stdout
|
|
80
|
+
▼
|
|
81
|
+
AI Coding Agent (Claude/Codex/Gemini/OpenCode/Aider)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Security
|
|
85
|
+
|
|
86
|
+
- **End-to-end encryption** — TweetNaCl (XSalsa20-Poly1305) with HMAC-SHA512 key derivation
|
|
87
|
+
- **Per-session keys** — Each session generates unique keys bound to user + machine + session
|
|
88
|
+
- **Zero-knowledge relay** — Styrby servers forward ciphertext only, never plaintext
|
|
89
|
+
- **No third-party messaging** — Unlike solutions routing through Telegram or Discord, your data stays on your infrastructure
|
|
90
|
+
|
|
91
|
+
## Requirements
|
|
92
|
+
|
|
93
|
+
- Node.js 20+
|
|
94
|
+
- One of the supported AI agents installed
|
|
95
|
+
- Styrby mobile app (iOS/Android) or web dashboard
|
|
96
|
+
|
|
97
|
+
## Links
|
|
98
|
+
|
|
99
|
+
- **Website:** https://styrbyapp.com
|
|
100
|
+
- **Docs:** https://styrbyapp.com/docs
|
|
101
|
+
- **Security:** https://styrbyapp.com/security
|
|
102
|
+
- **Issues:** https://github.com/VetSecItPro/styrby-app/issues
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
Proprietary - All Rights Reserved. See [LICENSE](./LICENSE) for details.
|
|
107
|
+
|
|
108
|
+
© 2026 Steel Motion LLC
|