pi-mom-slack 0.1.0 → 0.1.2
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/CHANGELOG.md +8 -0
- package/README.md +17 -2
- package/package.json +18 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
- Works with pi 1.5.2.
|
|
6
|
+
|
|
7
|
+
## 0.1.1
|
|
8
|
+
|
|
9
|
+
- First release published from GitHub Actions (npm trusted publishing).
|
|
10
|
+
|
|
3
11
|
## 0.1.0
|
|
4
12
|
|
|
5
13
|
- First release: one pi session per Slack thread, mentions, direct messages and thread follow-ups, attachments, `slack_upload` tool, reactions, `!stop`, `!status`, `!model`, `!help`, resume after restart.
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ npx pi-mom-slack
|
|
|
8
8
|
|
|
9
9
|
<p align="center"><img src="docs/screenshots/hero.jpg" alt="A request in #demo: 👀, then the thread with the status line, the uploaded primes.txt, the report, and ✅" width="85%"></p>
|
|
10
10
|
|
|
11
|
-
Inspired by `mom`, the Slack bot removed from pi-mono on 30 April 2026. Not affiliated with Earendil.
|
|
11
|
+
Inspired by `mom`, the Slack bot removed from pi-mono on 30 April 2026. Its last release, `@mariozechner/pi-mom` 0.70.6, is still on npm but tied to the pre-1.0 pi under the old `@mariozechner` scope. Not affiliated with Earendil.
|
|
12
12
|
|
|
13
13
|
## What you get
|
|
14
14
|
|
|
@@ -150,7 +150,7 @@ After=network-online.target
|
|
|
150
150
|
|
|
151
151
|
[Service]
|
|
152
152
|
WorkingDirectory=%h/pi-slack
|
|
153
|
-
ExecStart=/usr/bin/env npx --yes pi-mom-slack@0.1.
|
|
153
|
+
ExecStart=/usr/bin/env npx --yes pi-mom-slack@0.1.1
|
|
154
154
|
Restart=on-failure
|
|
155
155
|
|
|
156
156
|
[Install]
|
|
@@ -164,6 +164,21 @@ sudo loginctl enable-linger $USER # keep it running after logout
|
|
|
164
164
|
|
|
165
165
|
Pin the version and update it on purpose: the startup message lists what changed. `pi-mom-slack@latest` also works, but then every restart may run a release you have not read, including the automatic pi updates. Under systemd, `npx` must be on the unit's `PATH` (with nvm, set `Environment=PATH=…` to nvm's `bin` folder), or use `scripts/deploy-ssh.sh`, which does it for you.
|
|
166
166
|
|
|
167
|
+
## Compared with mom
|
|
168
|
+
|
|
169
|
+
pi-mom-slack is not a port of mom. It keeps the idea (pi in Slack, one command) and builds on the current pi SDK.
|
|
170
|
+
|
|
171
|
+
| | mom 0.70.6 | pi-mom-slack |
|
|
172
|
+
|---|---|---|
|
|
173
|
+
| pi | own tools on pi 0.70 (`@mariozechner`) | pi's SDK and tools, `@earendil-works` 1.x, updated with pi |
|
|
174
|
+
| Conversation unit | one context per channel, with the channel log | one pi session per thread |
|
|
175
|
+
| Configuration | its own folder (`~/.pi/mom/`) | your pi: model, credentials, skills, `AGENTS.md` |
|
|
176
|
+
| Sandbox | Docker mode | runs as the bot's user; use a dedicated user or a container |
|
|
177
|
+
| Scheduled events | yes (one-shot, periodic, immediate) | not yet |
|
|
178
|
+
| Memory files | `MEMORY.md`, global and per channel | pi's context files |
|
|
179
|
+
| Commands | | `!stop`, `!status`, `!model`, `!help` |
|
|
180
|
+
| Extending | | `customTools`, `commands`, `hooks` |
|
|
181
|
+
|
|
167
182
|
## Security
|
|
168
183
|
|
|
169
184
|
The agent runs pi's tools, `bash` included, as the user running the bot, on that machine. Treat access to the bot like shell access: list only people you would give a shell to, and run it under a dedicated user or in a container if the machine holds anything sensitive. Removing credentials from the agent's shell prevents mistakes, not a determined agent.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-mom-slack",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Run the pi coding agent in Slack: one pi session per thread, in one command.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "tsua0002",
|
|
@@ -11,7 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://github.com/tsua0002/pi-mom-slack#readme",
|
|
13
13
|
"bugs": "https://github.com/tsua0002/pi-mom-slack/issues",
|
|
14
|
-
"keywords": [
|
|
14
|
+
"keywords": [
|
|
15
|
+
"pi",
|
|
16
|
+
"pi-coding-agent",
|
|
17
|
+
"slack",
|
|
18
|
+
"bot",
|
|
19
|
+
"agent",
|
|
20
|
+
"mom"
|
|
21
|
+
],
|
|
15
22
|
"bin": {
|
|
16
23
|
"pi-mom-slack": "dist/cli.js"
|
|
17
24
|
},
|
|
@@ -24,7 +31,13 @@
|
|
|
24
31
|
},
|
|
25
32
|
"./package.json": "./package.json"
|
|
26
33
|
},
|
|
27
|
-
"files": [
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"manifest.json",
|
|
37
|
+
"CHANGELOG.md",
|
|
38
|
+
"README.md",
|
|
39
|
+
"LICENSE"
|
|
40
|
+
],
|
|
28
41
|
"engines": {
|
|
29
42
|
"node": ">=22.19"
|
|
30
43
|
},
|
|
@@ -36,8 +49,8 @@
|
|
|
36
49
|
"prepack": "npm run build"
|
|
37
50
|
},
|
|
38
51
|
"dependencies": {
|
|
39
|
-
"@earendil-works/pi-ai": "1.5.
|
|
40
|
-
"@earendil-works/pi-coding-agent": "1.5.
|
|
52
|
+
"@earendil-works/pi-ai": "1.5.2",
|
|
53
|
+
"@earendil-works/pi-coding-agent": "1.5.2",
|
|
41
54
|
"@slack/socket-mode": "3.1.1",
|
|
42
55
|
"@slack/web-api": "8.3.0",
|
|
43
56
|
"typebox": "1.3.27"
|