pushci 0.8.1 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +38 -0
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -65,6 +65,35 @@ Flask, Spring Boot, Rails, Laravel, Phoenix, Flutter +more
65
65
  GCP (Cloud Run/App Engine), Azure, Vercel, Railway,
66
66
  Fly.io, Netlify, Docker, Kubernetes, SSH
67
67
 
68
+ ## Messaging Channels
69
+
70
+ Control your CI/CD from WhatsApp, Slack, Discord, Telegram, or any webhook.
71
+
72
+ ```
73
+ "run tests" → PushCI runs your pipeline
74
+ "deploy staging" → Deploys to staging
75
+ "status" → Shows last run result
76
+ "diagnose" → AI root-cause analysis
77
+ ```
78
+
79
+ Connect from the dashboard at **app.pushci.dev/channels**, or via API:
80
+
81
+ ```bash
82
+ curl -X POST https://api.pushci.dev/api/channels/connect \
83
+ -H "Authorization: Bearer $TOKEN" \
84
+ -d '{"channelType":"slack","credentials":{"accessToken":"xoxb-...","teamId":"T123"}}'
85
+ ```
86
+
87
+ Supported platforms:
88
+
89
+ | Platform | Webhook | Response Limit |
90
+ |----------|---------|----------------|
91
+ | WhatsApp | Meta Business API | 4,000 chars |
92
+ | Slack | Events API | 39,000 chars |
93
+ | Discord | Interactions | 2,000 chars |
94
+ | Telegram | Bot API | 4,000 chars |
95
+ | Custom | Webhook | 40,000 chars |
96
+
68
97
  ## Commands
69
98
 
70
99
  ```
@@ -106,6 +135,15 @@ deploy:
106
135
 
107
136
  Or just run `pushci init` — AI figures everything out.
108
137
 
138
+ ## Git Hook
139
+
140
+ `pushci init` installs a pre-push hook that runs checks before every push.
141
+ The hook is designed to never block your workflow:
142
+
143
+ - **Skip once**: `git push --no-verify`
144
+ - **Disable permanently**: `export PUSHCI_SKIP_HOOK=1`
145
+ - **Auto-skips** if the pushci binary is unavailable (no download hang)
146
+
109
147
  ## Pricing
110
148
 
111
149
  | Free | Pro $9/mo | Team $29/mo |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushci",
3
- "version": "0.8.1",
3
+ "version": "1.0.1",
4
4
  "description": "Zero-config AI CI/CD — auto-detects your stack, runs on your machine",
5
5
  "bin": {
6
6
  "pushci": "bin/pushci.js"
@@ -10,7 +10,10 @@
10
10
  "README.md",
11
11
  "LICENSE"
12
12
  ],
13
- "scripts": {},
13
+ "scripts": {
14
+ "prepublishOnly": "echo 'Publishing pushci v'${npm_package_version}",
15
+ "postpublish": "bash scripts/submit-registries.sh"
16
+ },
14
17
  "keywords": [
15
18
  "ci",
16
19
  "cd",