gm-kilo 2.0.726 → 2.0.728

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-kilo",
3
- "version": "2.0.726",
3
+ "version": "2.0.728",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -1,44 +0,0 @@
1
- name: Publish to npm
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- workflow_dispatch:
8
-
9
- jobs:
10
- publish:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - uses: actions/checkout@v4
14
-
15
- - uses: actions/setup-node@v4
16
- with:
17
- node-version: '22'
18
- registry-url: 'https://registry.npmjs.org'
19
-
20
- - name: Publish to npm
21
- run: |
22
- PACKAGE=$(jq -r '.name' package.json)
23
- VERSION=$(jq -r '.version' package.json)
24
- echo "Package: $PACKAGE@$VERSION"
25
-
26
- # Skip if this exact version is already on npm
27
- PUBLISHED=$(npm view "$PACKAGE@$VERSION" version 2>/dev/null || echo "")
28
- if [ "$PUBLISHED" = "$VERSION" ]; then
29
- echo "✅ $PACKAGE@$VERSION already published - skipping"
30
- exit 0
31
- fi
32
-
33
- echo "Publishing $PACKAGE@$VERSION..."
34
- npm publish --access public 2>&1 | tee /tmp/npm-out.log; EXIT=${PIPESTATUS[0]}
35
- if [ "$EXIT" != "0" ]; then
36
- if grep -q "cannot publish over\|previously published" /tmp/npm-out.log; then
37
- echo "⚠️ Version already published, skipping"
38
- else
39
- exit "$EXIT"
40
- fi
41
- fi
42
- echo "✅ Published $PACKAGE@$VERSION"
43
- env:
44
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}