@lightupai/polaris 0.0.89 → 0.0.90

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.
@@ -111,11 +111,14 @@ jobs:
111
111
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
112
112
  run: |
113
113
  npm publish --access public || {
114
- # If publish failed, check whether the version already exists (race
115
- # between two concurrent CD runs). If so, treat it as success.
116
- if npm view @lightupai/polaris@${{ steps.version-check.outputs.local }} version > /dev/null 2>&1; then
117
- echo "Version ${{ steps.version-check.outputs.local }} already published — skipping (race condition)."
118
- exit 0
119
- fi
114
+ # If publish failed (E403 = already published, E409 = staged/in-flight),
115
+ # retry npm view a few times to let propagation settle, then treat as success.
116
+ for i in 1 2 3; do
117
+ sleep 5
118
+ if npm view @lightupai/polaris@${{ steps.version-check.outputs.local }} version > /dev/null 2>&1; then
119
+ echo "Version ${{ steps.version-check.outputs.local }} already published — skipping (race condition, attempt $i)."
120
+ exit 0
121
+ fi
122
+ done
120
123
  exit 1
121
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightupai/polaris",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
4
4
  "description": "Record and stream Claude Code sessions to Slack. Like Gong for AI coding — capture every prompt, response, and tool call. Multiplayer collaboration across AI coding agents.",
5
5
  "keywords": [
6
6
  "claude-code",