clawdbot-pipedrive 1.0.2 → 1.1.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.
Files changed (3) hide show
  1. package/README.md +11 -3
  2. package/install.sh +68 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -14,13 +14,21 @@ Pipedrive CRM integration plugin for [Clawdbot](https://clawd.bot).
14
14
 
15
15
  ## Installation
16
16
 
17
+ ### Quick Install (recommended)
18
+
17
19
  ```bash
18
- clawdbot plugins install clawdbot-pipedrive
20
+ curl -sL https://raw.githubusercontent.com/graileanu/clawdbot-pipedrive/master/install.sh | bash
19
21
  ```
20
22
 
21
- Or via npm directly: https://www.npmjs.com/package/clawdbot-pipedrive
23
+ This installs the plugin AND sets up the skill template (won't overwrite existing files).
24
+
25
+ ### Manual Install
26
+
27
+ ```bash
28
+ clawdbot plugins install clawdbot-pipedrive
29
+ ```
22
30
 
23
- Manual: copy to `~/.clawdbot/extensions/pipedrive/`
31
+ npm: https://www.npmjs.com/package/clawdbot-pipedrive
24
32
 
25
33
  ## Configuration
26
34
 
package/install.sh ADDED
@@ -0,0 +1,68 @@
1
+ #!/bin/bash
2
+ #
3
+ # clawdbot-pipedrive installer
4
+ # Installs the plugin and sets up the skill template
5
+ #
6
+
7
+ set -e
8
+
9
+ SKILL_DIR="$HOME/.clawdbot/skills/pipedrive"
10
+ SKILL_FILE="$SKILL_DIR/SKILL.md"
11
+ CONFIG_FILE="$HOME/.clawdbot/config.json"
12
+
13
+ echo "=== clawdbot-pipedrive installer ==="
14
+ echo
15
+
16
+ # 1. Install plugin
17
+ echo "[1/3] Installing plugin..."
18
+ if command -v clawdbot &> /dev/null; then
19
+ clawdbot plugins install clawdbot-pipedrive
20
+ else
21
+ echo " clawdbot not found. Installing via npm..."
22
+ npm install -g clawdbot-pipedrive
23
+ fi
24
+ echo " Done."
25
+ echo
26
+
27
+ # 2. Set up skill template
28
+ echo "[2/3] Setting up skill template..."
29
+ mkdir -p "$SKILL_DIR"
30
+
31
+ if [ -f "$SKILL_FILE" ]; then
32
+ echo " $SKILL_FILE already exists. Skipping (not overwriting)."
33
+ echo " To update manually, see: https://github.com/graileanu/clawdbot-pipedrive/blob/master/examples/SKILL-TEMPLATE.md"
34
+ else
35
+ # Download template from GitHub
36
+ curl -sL "https://raw.githubusercontent.com/graileanu/clawdbot-pipedrive/master/examples/SKILL-TEMPLATE.md" -o "$SKILL_FILE"
37
+ echo " Created $SKILL_FILE"
38
+ echo " Edit this file to customize for your organization."
39
+ fi
40
+ echo
41
+
42
+ # 3. Config reminder
43
+ echo "[3/3] Configuration..."
44
+ echo " Add to $CONFIG_FILE:"
45
+ echo
46
+ echo ' {
47
+ "plugins": {
48
+ "entries": {
49
+ "clawdbot-pipedrive": {
50
+ "enabled": true,
51
+ "config": {
52
+ "apiKey": "YOUR_PIPEDRIVE_API_KEY",
53
+ "domain": "YOUR_COMPANY"
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }'
59
+ echo
60
+ echo " Get your API key: Pipedrive > Settings > Personal preferences > API"
61
+ echo
62
+
63
+ echo "=== Installation complete ==="
64
+ echo
65
+ echo "Next steps:"
66
+ echo " 1. Add your Pipedrive config to ~/.clawdbot/config.json"
67
+ echo " 2. Customize ~/.clawdbot/skills/pipedrive/SKILL.md"
68
+ echo " 3. Restart clawdbot"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawdbot-pipedrive",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Pipedrive CRM integration for Clawdbot",
6
6
  "author": "graileanu",