astro-claw 1.0.0

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/.env.example ADDED
@@ -0,0 +1,12 @@
1
+ # Slack tokens (required)
2
+ SLACK_BOT_TOKEN=xoxb-your-bot-token
3
+ SLACK_APP_TOKEN=xapp-your-app-level-token
4
+ SLACK_SIGNING_SECRET=your-signing-secret
5
+
6
+ # No API key needed — Astro Claw uses your Claude CLI login.
7
+
8
+ # Admin user IDs — comma-separated Slack user IDs (optional)
9
+ # ADMIN_USER_IDS=U1234567890
10
+
11
+ # Workspace directory (defaults to ./workspace)
12
+ # WORKSPACE_DIR=/path/to/your/project
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Taxflow
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # Astro Claw — Claude Code over Slack
2
+
3
+ Talk to Claude Code from Slack, using your existing Claude subscription.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ npx astro-claw
9
+ ```
10
+
11
+ The setup wizard walks you through everything on first run.
12
+
13
+ ## Prerequisites
14
+
15
+ - Node.js 18+
16
+ - Claude Code CLI installed and logged in (`claude` command works in your terminal)
17
+ - A Claude Pro/Max subscription
18
+
19
+ ## Manual Setup (from source)
20
+
21
+ ```bash
22
+ git clone https://github.com/felipesalinasr/astro-claw.git
23
+ cd astro-claw
24
+ npm install
25
+ npm start
26
+ ```
27
+
28
+ Edit `.env` with your Slack tokens (already pre-filled if you followed the setup).
29
+
30
+ ## Workspace
31
+
32
+ The `workspace/` directory is your Claude Code working directory — the equivalent of the folder you'd `cd` into before running `claude` in your terminal.
33
+
34
+ - `workspace/CLAUDE.md` — system instructions (edit this to customize the agent's behavior)
35
+ - `workspace/.claude/skills/` — drop skill files here, same as you would locally
36
+
37
+ You can also point `WORKSPACE_DIR` in `.env` to any existing project directory that already has a `CLAUDE.md`.
38
+
39
+ ## Run
40
+
41
+ ```bash
42
+ npx astro-claw
43
+ ```
44
+
45
+ You should see "Astro Claw is online!" — then DM the bot in Slack.
46
+
47
+ ## Slack Commands
48
+
49
+ - Just message normally — it's like typing in your Claude Code terminal
50
+ - `/reset` — start a new session (like closing and reopening terminal)
51
+ - `/session` — show current session info
52
+
53
+ ## How Auth Works
54
+
55
+ No API key needed. The bot uses the same authentication as your `claude` CLI — your subscription login. As long as you're logged into Claude Code on the machine running this bot, it just works.
56
+
57
+ ## License
58
+
59
+ MIT
Binary file