slacklocalvibe 0.1.6 → 0.1.8
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/README.md +20 -11
- package/package.json +1 -1
- package/src/commands/notify.js +4 -1
package/README.md
CHANGED
|
@@ -1,26 +1,35 @@
|
|
|
1
|
+
<img src="logo.png" alt="SlackLocalVibe logo" width="400">
|
|
2
|
+
|
|
1
3
|
# SlackLocalVibe for Codex / ClaudeCode
|
|
2
4
|
|
|
3
|
-
##
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Send Codex / ClaudeCode results to Slack DM
|
|
8
|
+
- Run Slack thread replies as CLI `resume`
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
- Slack スレッド返信を CLI resume として実行
|
|
10
|
+
<video src="/demo.mp4" controls></video>
|
|
7
11
|
|
|
8
|
-
##
|
|
12
|
+
## Requirements
|
|
9
13
|
|
|
10
14
|
- Node.js 18+
|
|
11
|
-
- Slack App
|
|
15
|
+
- Slack App (Socket Mode)
|
|
12
16
|
|
|
13
|
-
##
|
|
17
|
+
## Install
|
|
14
18
|
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
This is the only command users run (setup, update, and test).
|
|
20
|
+
The wizard will run `npm i -g slacklocalvibe`.
|
|
17
21
|
|
|
18
22
|
```bash
|
|
19
23
|
npx slacklocalvibe
|
|
20
24
|
```
|
|
21
25
|
|
|
22
|
-
##
|
|
26
|
+
## Intro Tweet (Video)
|
|
27
|
+
|
|
28
|
+
<blockquote class="twitter-tweet">
|
|
29
|
+
<a href="https://x.com/Y20010920T/status/2017544598105821533?s=20">https://x.com/Y20010920T/status/2017544598105821533?s=20</a>
|
|
30
|
+
</blockquote>
|
|
23
31
|
|
|
24
|
-
|
|
25
|
-
- ログ: `~/Library/Logs/slacklocalvibe/`
|
|
32
|
+
## Config & Logs
|
|
26
33
|
|
|
34
|
+
- Config: `~/.config/slacklocalvibe/config.json`
|
|
35
|
+
- Logs: `~/Library/Logs/slacklocalvibe/`
|
package/package.json
CHANGED
package/src/commands/notify.js
CHANGED
|
@@ -108,10 +108,13 @@ async function runNotify({ tool }) {
|
|
|
108
108
|
String(input.assistant_text || "").startsWith("(本文抽出エラー:");
|
|
109
109
|
|
|
110
110
|
if (userTextMissing) {
|
|
111
|
-
log(LEVELS.
|
|
111
|
+
log(LEVELS.ERROR, "notify.user_text_missing", {
|
|
112
112
|
tool: input.tool,
|
|
113
113
|
meta: input.meta || {},
|
|
114
|
+
duration_ms: Date.now() - startedAt,
|
|
114
115
|
});
|
|
116
|
+
process.exitCode = 1;
|
|
117
|
+
return;
|
|
115
118
|
}
|
|
116
119
|
if (assistantTextMissing) {
|
|
117
120
|
log(LEVELS.WARNING, "notify.assistant_text_missing", { tool: input.tool });
|