clawdbot-pipedrive 1.0.1 → 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.
package/README.md CHANGED
@@ -14,11 +14,21 @@ Pipedrive CRM integration plugin for [Clawdbot](https://clawd.bot).
14
14
 
15
15
  ## Installation
16
16
 
17
+ ### Quick Install (recommended)
18
+
19
+ ```bash
20
+ curl -sL https://raw.githubusercontent.com/graileanu/clawdbot-pipedrive/master/install.sh | bash
21
+ ```
22
+
23
+ This installs the plugin AND sets up the skill template (won't overwrite existing files).
24
+
25
+ ### Manual Install
26
+
17
27
  ```bash
18
28
  clawdbot plugins install clawdbot-pipedrive
19
29
  ```
20
30
 
21
- Or manually: copy to `~/.clawdbot/extensions/pipedrive/`
31
+ npm: https://www.npmjs.com/package/clawdbot-pipedrive
22
32
 
23
33
  ## Configuration
24
34
 
@@ -86,8 +96,8 @@ For organization-specific workflows (naming conventions, required fields, etc.),
86
96
 
87
97
  ```bash
88
98
  # Copy the template
89
- mkdir -p ~/.clawdbot/skills/pipedrive-crm
90
- cp examples/SKILL-TEMPLATE.md ~/.clawdbot/skills/pipedrive-crm/SKILL.md
99
+ mkdir -p ~/.clawdbot/skills/pipedrive
100
+ cp examples/SKILL-TEMPLATE.md ~/.clawdbot/skills/pipedrive/SKILL.md
91
101
 
92
102
  # Then customize with your pipeline stages, naming conventions, etc.
93
103
  ```
@@ -1,6 +1,6 @@
1
1
  # Pipedrive CRM Workflows
2
2
 
3
- > Copy this file to `~/.clawdbot/skills/pipedrive-crm/SKILL.md` and customize for your organization.
3
+ > Copy this file to `~/.clawdbot/skills/pipedrive/SKILL.md` and customize for your organization.
4
4
 
5
5
  ## Deal Naming Convention
6
6
 
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.1",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Pipedrive CRM integration for Clawdbot",
6
6
  "author": "graileanu",