petdex 0.4.3 → 0.4.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.
- package/README.md +6 -6
- package/dist/petdex.js +103 -103
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
The Petdex CLI: browse, install, and submit animated pets for [OpenAI Codex](https://openai.com/codex) from your terminal.
|
|
4
4
|
|
|
5
|
-
- **Gallery & docs:** <https://petdex.
|
|
5
|
+
- **Gallery & docs:** <https://petdex.dev>
|
|
6
6
|
- **Repo:** <https://github.com/crafter-station/petdex>
|
|
7
|
-
- **Hatch a new pet:** <https://petdex.
|
|
7
|
+
- **Hatch a new pet:** <https://petdex.dev/create>
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -102,7 +102,7 @@ This CLI distributes pets. It does not generate them. To create one:
|
|
|
102
102
|
4. Codex generates the spritesheet and animations into `~/.codex/pets/<slug>/`.
|
|
103
103
|
5. Submit it: `petdex submit ~/.codex/pets/<slug>`.
|
|
104
104
|
|
|
105
|
-
The full step-by-step (with tips on what makes a great pet) lives at <https://petdex.
|
|
105
|
+
The full step-by-step (with tips on what makes a great pet) lives at <https://petdex.dev/create>.
|
|
106
106
|
|
|
107
107
|
## Failure modes
|
|
108
108
|
|
|
@@ -118,14 +118,14 @@ The full step-by-step (with tips on what makes a great pet) lives at <https://pe
|
|
|
118
118
|
## Common install issues
|
|
119
119
|
|
|
120
120
|
The CLI is a single bundled JS file with no native dependencies.
|
|
121
|
-
install path is just `fetch
|
|
122
|
-
|
|
121
|
+
install path is just `fetch a JSON manifest, write two files to
|
|
122
|
+
~/.codex/pets/<slug>/`. Most "stuck" reports trace to one of these:
|
|
123
123
|
|
|
124
124
|
| Symptom | Cause | Fix |
|
|
125
125
|
| --- | --- | --- |
|
|
126
126
|
| Hangs at `Need to install the following packages: petdex@x` | `npx`'s own confirmation prompt, not a hang. Press `y` or auto-confirm | `npx -y petdex install <slug>` |
|
|
127
127
|
| `npm ERR! engine Unsupported engine` | Node < 20 | Upgrade Node to 20+ (`nvm install 20` is the easiest path) |
|
|
128
|
-
| `manifest fetch 5xx` / network timeout | Slow connection or corporate/national firewall blocking `
|
|
128
|
+
| `manifest fetch 5xx` / network timeout | Slow connection or corporate/national firewall blocking `petdex.dev` | Set a proxy: `HTTPS_PROXY=http://your.proxy:port npx petdex install <slug>` |
|
|
129
129
|
| `EACCES: permission denied … ~/.codex/pets/` | Pets dir owned by another user | `sudo chown -R "$USER" ~/.codex` or remove the dir and retry |
|
|
130
130
|
| Windows: `'sh' is not recognized` | CLI version older than 0.1.1 piped through `curl … \| sh` | Upgrade: `npm i -g petdex@latest` or `npx petdex@latest install <slug>` |
|
|
131
131
|
|