aired 1.0.2 → 1.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 +17 -0
- package/SKILL.md +2 -0
- package/dist/cli.cjs +103 -65
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -140,6 +140,23 @@ Every command outputs structured JSON. Exit codes are consistent:
|
|
|
140
140
|
|
|
141
141
|
---
|
|
142
142
|
|
|
143
|
+
## Accounts (optional)
|
|
144
|
+
|
|
145
|
+
Sign in with GitHub to manage all your pages in one place.
|
|
146
|
+
Anonymous publish still works without an account.
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
npx aired login # browser flow
|
|
150
|
+
npx aired login --device # SSH-friendly fallback
|
|
151
|
+
npx aired claim --all # bind existing tokens to your account
|
|
152
|
+
npx aired whoami
|
|
153
|
+
npx aired logout
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Session is stored in `~/.config/aired/session.json` (mode 0600).
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
143
160
|
## License
|
|
144
161
|
|
|
145
162
|
MIT — see [LICENSE](../../LICENSE)
|
package/SKILL.md
CHANGED
|
@@ -103,3 +103,5 @@ The MCP tool accepts `html` (string), `file_path` (STDIO only), `title`, `pin`,
|
|
|
103
103
|
- **Directory requires index.html.** `npx aired ./dir/` looks for `index.html` in the directory root. No other entry point is supported.
|
|
104
104
|
- **PIN is not encryption.** Content is stored in plaintext on R2. PIN just gates browser access. Don't use aired for sensitive data.
|
|
105
105
|
- **Default expiry is 7 days.** Pages auto-delete unless `--permanent` is set. The TTL resets on update.
|
|
106
|
+
|
|
107
|
+
Anonymous by default. `aired login` for cross-machine access. Existing tokens.json still works.
|