Skip to content

Commit 3d9efc0

Browse files
committed
fix(release): retry npm visibility check
1 parent 73dcdd7 commit 3d9efc0

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,13 @@ jobs:
9797
run: npm access set status=public @async/dispatch --registry=https://registry.npmjs.org
9898

9999
- name: Verify npm visibility
100-
run: npm view @async/dispatch@$npm_package_version version bin dist.tarball --json --registry=https://registry.npmjs.org
100+
run: |
101+
version="$(node -p "JSON.parse(require('node:fs').readFileSync('package.json', 'utf8')).version")"
102+
for attempt in 1 2 3 4 5 6; do
103+
if npm view "@async/dispatch@$version" version bin dist.tarball --json --registry=https://registry.npmjs.org; then
104+
exit 0
105+
fi
106+
echo "npm visibility check failed for @async/dispatch@$version on attempt $attempt; waiting for propagation"
107+
sleep 10
108+
done
109+
exit 1

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ runtime state in prompts.
1414

1515
## Install
1616

17-
Dispatch is an installable CLI with bundled Codex skills. Install the CLI first,
18-
then install the skills that teach Codex how to use the CLI for async root chats,
19-
domain chats, workers, receipts, idle/wake handling, and code-routing decisions.
17+
Dispatch is distributed as the public npm package `@async/dispatch`. Install the
18+
CLI first, then install the bundled skills that teach Codex how to use that CLI
19+
for async root chats, domain chats, workers, receipts, idle/wake handling, and
20+
code-routing decisions. A normal user should not need a source checkout.
2021

2122
Requirements:
2223

@@ -64,6 +65,10 @@ async-dispatch skills install
6465
async-dispatch skills status
6566
```
6667

68+
After this, start a fresh Codex session so the newly installed Dispatch skills
69+
are discoverable. The installed skills call `async-dispatch`; they should not
70+
duplicate runtime state in prompts or local skill files.
71+
6772
By default that writes to `~/.codex/skills`. Installed Dispatch-managed skills
6873
include metadata with the package version and source hash so `skills status` can
6974
report `missing`, `current`, `stale`, `modified`, or `unmanaged`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@async/dispatch",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "Installable CLI and bundled Codex skills for coordinating async chats, plans, workers, and receipts.",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)