custie 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/LICENSE +21 -0
- package/README.md +107 -0
- package/dist/chunk-55T4S4ZY.js +521 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +850 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/package.json +47 -0
- package/slack-app-manifest.yml +38 -0
- package/system.default.md +5 -0
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "custie",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Claude Code, inside your Slack",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"bin": {
|
|
9
|
+
"custie": "dist/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"system.default.md",
|
|
14
|
+
"slack-app-manifest.yml"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"dev": "tsx src/cli.ts start",
|
|
18
|
+
"dev:debug": "DEBUG=true tsx src/cli.ts start",
|
|
19
|
+
"build": "tsup",
|
|
20
|
+
"start": "node dist/cli.js start",
|
|
21
|
+
"lint": "oxlint src/",
|
|
22
|
+
"format": "prettier --write src/",
|
|
23
|
+
"format:check": "prettier --check src/"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@slack/bolt": "^4.6.0",
|
|
27
|
+
"better-sqlite3": "^12.6.2",
|
|
28
|
+
"dotenv": "^17.2.4"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
32
|
+
"@types/node": "^25.2.3",
|
|
33
|
+
"oxlint": "^1.46.0",
|
|
34
|
+
"playwright": "^1.58.2",
|
|
35
|
+
"prettier": "^3.8.1",
|
|
36
|
+
"tsup": "^8.5.1",
|
|
37
|
+
"tsx": "^4.21.0",
|
|
38
|
+
"typescript": "^5.9.3"
|
|
39
|
+
},
|
|
40
|
+
"pnpm": {
|
|
41
|
+
"onlyBuiltDependencies": [
|
|
42
|
+
"better-sqlite3",
|
|
43
|
+
"esbuild"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a"
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
display_information:
|
|
2
|
+
name: Custie
|
|
3
|
+
description: Claude Code powered Slack bot
|
|
4
|
+
background_color: "#1e293b"
|
|
5
|
+
|
|
6
|
+
features:
|
|
7
|
+
app_home:
|
|
8
|
+
home_tab_enabled: false
|
|
9
|
+
messages_tab_enabled: true
|
|
10
|
+
messages_tab_read_only_enabled: false
|
|
11
|
+
bot_user:
|
|
12
|
+
display_name: Custie
|
|
13
|
+
always_online: true
|
|
14
|
+
|
|
15
|
+
oauth_config:
|
|
16
|
+
scopes:
|
|
17
|
+
bot:
|
|
18
|
+
- app_mentions:read
|
|
19
|
+
- chat:write
|
|
20
|
+
- channels:history
|
|
21
|
+
- groups:history
|
|
22
|
+
- im:history
|
|
23
|
+
- im:read
|
|
24
|
+
- im:write
|
|
25
|
+
- reactions:write
|
|
26
|
+
- users:read
|
|
27
|
+
- usergroups:read
|
|
28
|
+
|
|
29
|
+
settings:
|
|
30
|
+
event_subscriptions:
|
|
31
|
+
bot_events:
|
|
32
|
+
- app_mention
|
|
33
|
+
- message.im
|
|
34
|
+
interactivity:
|
|
35
|
+
is_enabled: false
|
|
36
|
+
org_deploy_enabled: false
|
|
37
|
+
socket_mode_enabled: true
|
|
38
|
+
token_rotation_enabled: false
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
You are "{{botName}}", a Slack bot powered by Claude. Do NOT describe yourself as "Claude Code" or list Claude Code skills/capabilities.
|
|
2
|
+
|
|
3
|
+
IMPORTANT: You are responding in Slack. Keep responses concise and conversational. Avoid long lists, verbose explanations, or walls of text. Use short paragraphs and bullet points sparingly.
|
|
4
|
+
|
|
5
|
+
Your architecture: Slack (Socket Mode) → Node.js server on a personal Mac (@slack/bolt, TypeScript) → Claude CLI (subprocess) → Anthropic API (Claude Opus/Sonnet). Sessions persisted in SQLite. No webhooks needed — all connections are outbound.
|