@appuo/orbit 1.0.6 โ†’ 1.0.10

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 CHANGED
@@ -1,6 +1,8 @@
1
- ![Orbit](./assets/orbit-header.png)
1
+ ![Orbit](./assets/orbit-header.gif)
2
2
 
3
- **Switch Vercel identities instantly.**
3
+ **Orbit by AppUo**
4
+
5
+ Switch Vercel identities instantly.
4
6
 
5
7
  No logout. No shell hacks. No credential mess.
6
8
 
@@ -52,6 +54,42 @@ pnpm add -g @appuo/orbit
52
54
 
53
55
  ---
54
56
 
57
+ ## ๐Ÿงพ Release & Changelog Flow
58
+
59
+ Use this flow to keep `CHANGELOG.md` updated on every change/release:
60
+
61
+ ```bash
62
+ # 1) Add an entry while working
63
+ pnpm changelog:add -- --type changed --message "Improve profile auth rollback"
64
+
65
+ # 2) Bump version for release
66
+ npm version 1.0.9 --no-git-tag-version
67
+
68
+ # 3) Move [Unreleased] notes into the new version + validate
69
+ pnpm release:prepare
70
+
71
+ # 4) Publish to GitHub Packages
72
+ npm login --scope=@appuo --auth-type=legacy --registry=https://npm.pkg.github.com
73
+ pnpm release:publish
74
+
75
+ # One-command release (version bump + changelog + publish + commit/tag/push)
76
+ pnpm release:ship
77
+ # or explicit version:
78
+ pnpm release:ship -- --version 1.0.9
79
+ # run everything except git push:
80
+ pnpm release:ship -- --no-push
81
+ ```
82
+
83
+ Optional npmjs publish:
84
+
85
+ ```bash
86
+ pnpm release:publish:npm
87
+ ```
88
+
89
+ `pnpm changelog:release` will fail if `[Unreleased]` has no entries, to prevent empty release notes.
90
+
91
+ ---
92
+
55
93
  ## โšก 30-Second Setup
56
94
 
57
95
  ```bash
@@ -86,10 +124,20 @@ No `vercel logout`. No `vercel login`. Just switch and go.
86
124
  | `orbit exec vercel <cmd>` | Run with active profile |
87
125
  | `orbit run vercel <profile> <cmd>` | Run with specific profile |
88
126
  | `orbit current` | Show active profile |
127
+ | `orbit rotate-key` | Rotate local encryption key |
89
128
  | `orbit remove vercel <profile>` | Remove a profile |
90
129
 
91
130
  ---
92
131
 
132
+ ## ๐Ÿงฐ Global Flags
133
+
134
+ | Flag | Description |
135
+ |------|-------------|
136
+ | `--json` | Machine-readable output for automation |
137
+ | `--debug` | Redacted debug stack traces |
138
+
139
+ ---
140
+
93
141
  ## ๐Ÿ”„ How It Works
94
142
 
95
143
  When you run `orbit use vercel company`, Orbit:
@@ -116,13 +164,26 @@ No environment variable injection. No wrappers. The Vercel CLI reads its own aut
116
164
  ## ๐Ÿ” Security
117
165
 
118
166
  - Tokens encrypted with **AES-256-GCM** at rest
167
+ - Credentials key and token store enforced at `chmod 600`
119
168
  - Auth snapshots stored with `chmod 600`
169
+ - Config and auth directories enforced at `chmod 700`
170
+ - Corrupt config/credential files are quarantined before reset
120
171
  - No secrets in config files
121
172
  - No shell modifications (`.bashrc`, `.zshrc`)
122
173
  - Zero native dependencies
123
174
 
124
175
  ---
125
176
 
177
+ ## ๐Ÿงฏ Failure Modes & Recovery
178
+
179
+ - Missing auth snapshot during `orbit use`: command fails safely and does not change current profile.
180
+ - Missing auth snapshot during `orbit exec`/`orbit run`: Orbit falls back to token-scoped env execution.
181
+ - Corrupt `config.json` or `credentials.json`: file is moved to `*.corrupt-<timestamp>` and re-initialized.
182
+
183
+ See the full runbook in [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md).
184
+
185
+ ---
186
+
126
187
  ## ๐Ÿ–ฅ๏ธ Cross-Platform
127
188
 
128
189
  | | macOS | Linux | Windows |
@@ -167,6 +228,11 @@ orbit --version
167
228
 
168
229
  See [CONTRIBUTING.md](CONTRIBUTING.md).
169
230
 
231
+ ## ๐Ÿ“š Additional Docs
232
+
233
+ - [Migration Guide](docs/MIGRATION.md)
234
+ - [Troubleshooting](docs/TROUBLESHOOTING.md)
235
+
170
236
  ## ๐Ÿ“„ License
171
237
 
172
238
  MIT โ€” see [LICENSE](LICENSE).
Binary file