open-ready 0.1.75 → 0.1.77
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 +9 -0
- package/package.json +1 -1
- package/CLAUDE.md +0 -24
package/README.md
CHANGED
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
<a href="https://www.npmjs.com/package/open-ready"><img src="https://img.shields.io/npm/dt/open-ready.svg" alt="NPM Total Downloads" /></a>
|
|
13
13
|
<a href="https://www.npmjs.com/package/open-ready"><img src="https://img.shields.io/npm/types/open-ready" alt="TypeScript types" /></a>
|
|
14
14
|
<a href="https://packagephobia.com/result?p=open-ready"><img src="https://packagephobia.com/badge?p=open-ready" alt="Install size" /></a>
|
|
15
|
+
<br />
|
|
16
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/stargazers"><img src="https://img.shields.io/github/stars/OpenSourceAGI/dev-tools-starter-agent" alt="GitHub Stars" /></a>
|
|
17
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/issues"><img src="https://img.shields.io/github/issues/OpenSourceAGI/dev-tools-starter-agent?logo=github" alt="GitHub Issues" /></a>
|
|
18
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/pulls"><img src="https://img.shields.io/github/issues-pr/OpenSourceAGI/dev-tools-starter-agent?logo=github&label=PRs" alt="Open Pull Requests" /></a>
|
|
19
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/pulls?q=is%3Apr+is%3Aclosed"><img src="https://img.shields.io/github/issues-pr-closed/OpenSourceAGI/dev-tools-starter-agent?logo=github&label=PRs%20merged&color=8957e5" alt="Merged Pull Requests" /></a>
|
|
20
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/discussions"><img src="https://img.shields.io/github/discussions/OpenSourceAGI/dev-tools-starter-agent" alt="GitHub Discussions" /></a>
|
|
21
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/commits/master/"><img src="https://img.shields.io/github/last-commit/OpenSourceAGI/dev-tools-starter-agent.svg" alt="GitHub last commit" /></a>
|
|
22
|
+
<br />
|
|
23
|
+
<img src="https://img.shields.io/badge/Bun-14151A?logo=bun&logoColor=white" alt="Bun" /> <img src="https://img.shields.io/badge/Vitest-6E9F18?logo=vitest&logoColor=white" alt="Vitest" />
|
|
15
24
|
</p>
|
|
16
25
|
<!-- template-git-repo:badges:end -->
|
|
17
26
|
|
package/package.json
CHANGED
package/CLAUDE.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# CLAUDE.md — `open-ready` (`packages/open-when-ready`)
|
|
2
|
-
|
|
3
|
-
**npm name:** `open-ready` · **skill:** [`skills/open-ready`](../../skills/open-ready/SKILL.md)
|
|
4
|
-
· **runner:** Vitest · **build:** none — `open-when-ready.mjs` ships as-is
|
|
5
|
-
|
|
6
|
-
Wraps a dev server: watches its output, opens the browser when it reports
|
|
7
|
-
ready, and on an error runs an AI search for the message instead.
|
|
8
|
-
|
|
9
|
-
## The hard part is detection
|
|
10
|
-
|
|
11
|
-
Ready/error detection is pattern-matching against other tools' stdout, which
|
|
12
|
-
changes when they upgrade. So:
|
|
13
|
-
|
|
14
|
-
- **A missed "ready" is worse than a late one** — never open the browser
|
|
15
|
-
speculatively on a timer if a pattern didn't match; that is how users get a
|
|
16
|
-
blank tab.
|
|
17
|
-
- Keep the pass-through faithful: the wrapped process's stdout/stderr, exit
|
|
18
|
-
code and signals must reach the user unchanged. A wrapper that swallows an
|
|
19
|
-
exit code breaks every script that calls it.
|
|
20
|
-
- New framework patterns go in the existing pattern table, not in a new branch.
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
cd packages/open-when-ready && bun run test
|
|
24
|
-
```
|