crewly 1.0.1 → 1.0.3
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/dist/backend/backend/src/services/agent/agent-heartbeat-monitor.service.js +1 -1
- package/dist/backend/backend/src/services/agent/agent-registration.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/agent/agent-registration.service.js +9 -3
- package/dist/backend/backend/src/services/agent/agent-registration.service.js.map +1 -1
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.d.ts +28 -4
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.js +74 -7
- package/dist/backend/backend/src/services/marketplace/marketplace-installer.service.js.map +1 -1
- package/dist/backend/backend/src/services/orchestrator/orchestrator-heartbeat-monitor.service.js +1 -1
- package/dist/backend/backend/src/services/session/pty/pty-terminal-buffer.d.ts.map +1 -1
- package/dist/backend/backend/src/services/session/pty/pty-terminal-buffer.js +2 -1
- package/dist/backend/backend/src/services/session/pty/pty-terminal-buffer.js.map +1 -1
- package/dist/backend/backend/src/services/skill/skill-catalog.service.d.ts +11 -0
- package/dist/backend/backend/src/services/skill/skill-catalog.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/skill/skill-catalog.service.js +46 -3
- package/dist/backend/backend/src/services/skill/skill-catalog.service.js.map +1 -1
- package/dist/backend/backend/src/services/slack/slack.service.d.ts.map +1 -1
- package/dist/backend/backend/src/services/slack/slack.service.js +4 -2
- package/dist/backend/backend/src/services/slack/slack.service.js.map +1 -1
- package/dist/cli/cli/src/commands/install.d.ts +23 -0
- package/dist/cli/cli/src/commands/install.d.ts.map +1 -0
- package/dist/cli/cli/src/commands/install.js +113 -0
- package/dist/cli/cli/src/commands/install.js.map +1 -0
- package/dist/cli/cli/src/commands/search.d.ts +23 -0
- package/dist/cli/cli/src/commands/search.d.ts.map +1 -0
- package/dist/cli/cli/src/commands/search.js +85 -0
- package/dist/cli/cli/src/commands/search.js.map +1 -0
- package/dist/cli/cli/src/commands/start.d.ts.map +1 -1
- package/dist/cli/cli/src/commands/start.js +11 -0
- package/dist/cli/cli/src/commands/start.js.map +1 -1
- package/dist/cli/cli/src/index.js +12 -0
- package/dist/cli/cli/src/index.js.map +1 -1
- package/dist/cli/cli/src/utils/marketplace.d.ts +111 -0
- package/dist/cli/cli/src/utils/marketplace.d.ts.map +1 -0
- package/dist/cli/cli/src/utils/marketplace.js +209 -0
- package/dist/cli/cli/src/utils/marketplace.js.map +1 -0
- package/package.json +4 -1
- package/config/skills/agent/_common/lib.sh +0 -4
- package/config/skills/agent/accept-task/execute.sh +0 -21
- package/config/skills/agent/accept-task/instructions.md +0 -20
- package/config/skills/agent/accept-task/skill.json +0 -20
- package/config/skills/agent/block-task/execute.sh +0 -26
- package/config/skills/agent/block-task/instructions.md +0 -22
- package/config/skills/agent/block-task/skill.json +0 -20
- package/config/skills/agent/check-quality-gates/execute.sh +0 -20
- package/config/skills/agent/check-quality-gates/instructions.md +0 -23
- package/config/skills/agent/check-quality-gates/skill.json +0 -20
- package/config/skills/agent/complete-task/execute.sh +0 -26
- package/config/skills/agent/complete-task/instructions.md +0 -22
- package/config/skills/agent/complete-task/skill.json +0 -20
- package/config/skills/agent/computer-use/execute.sh +0 -151
- package/config/skills/agent/computer-use/instructions.md +0 -60
- package/config/skills/agent/computer-use/skill.json +0 -22
- package/config/skills/agent/get-my-context/execute.sh +0 -23
- package/config/skills/agent/get-my-context/instructions.md +0 -21
- package/config/skills/agent/get-my-context/skill.json +0 -20
- package/config/skills/agent/get-sops/execute.sh +0 -24
- package/config/skills/agent/get-sops/instructions.md +0 -21
- package/config/skills/agent/get-sops/skill.json +0 -20
- package/config/skills/agent/get-team-status/execute.sh +0 -8
- package/config/skills/agent/get-team-status/instructions.md +0 -17
- package/config/skills/agent/get-team-status/skill.json +0 -20
- package/config/skills/agent/heartbeat/execute.sh +0 -22
- package/config/skills/agent/heartbeat/instructions.md +0 -23
- package/config/skills/agent/heartbeat/skill.json +0 -20
- package/config/skills/agent/manage-knowledge/execute.sh +0 -60
- package/config/skills/agent/manage-knowledge/instructions.md +0 -46
- package/config/skills/agent/nano-banana-image/generate.sh +0 -73
- package/config/skills/agent/nano-banana-image/instructions.md +0 -50
- package/config/skills/agent/nano-banana-image/skill.json +0 -39
- package/config/skills/agent/query-knowledge/execute.sh +0 -30
- package/config/skills/agent/query-knowledge/instructions.md +0 -47
- package/config/skills/agent/query-knowledge/skill.json +0 -20
- package/config/skills/agent/read-task/execute.sh +0 -15
- package/config/skills/agent/read-task/instructions.md +0 -19
- package/config/skills/agent/read-task/skill.json +0 -20
- package/config/skills/agent/recall/execute.sh +0 -24
- package/config/skills/agent/recall/instructions.md +0 -23
- package/config/skills/agent/recall/skill.json +0 -20
- package/config/skills/agent/record-learning/execute.sh +0 -29
- package/config/skills/agent/record-learning/instructions.md +0 -24
- package/config/skills/agent/record-learning/skill.json +0 -20
- package/config/skills/agent/register-self/execute.sh +0 -28
- package/config/skills/agent/register-self/instructions.md +0 -18
- package/config/skills/agent/register-self/skill.json +0 -20
- package/config/skills/agent/remember/execute.sh +0 -29
- package/config/skills/agent/remember/instructions.md +0 -24
- package/config/skills/agent/remember/skill.json +0 -20
- package/config/skills/agent/report-progress/execute.sh +0 -28
- package/config/skills/agent/report-progress/instructions.md +0 -25
- package/config/skills/agent/report-progress/skill.json +0 -20
- package/config/skills/agent/report-status/execute.sh +0 -35
- package/config/skills/agent/report-status/instructions.md +0 -36
- package/config/skills/agent/report-status/skill.json +0 -20
- package/config/skills/agent/send-chat-response/execute.sh +0 -26
- package/config/skills/agent/send-chat-response/instructions.md +0 -22
- package/config/skills/agent/send-chat-response/skill.json +0 -20
- package/config/skills/agent/send-message/execute.sh +0 -17
- package/config/skills/agent/send-message/instructions.md +0 -20
- package/config/skills/agent/send-message/skill.json +0 -20
- package/config/skills/agent/send-pdf-to-slack/execute.sh +0 -182
- package/config/skills/agent/send-pdf-to-slack/instructions.md +0 -49
- package/config/skills/agent/send-pdf-to-slack/skill.json +0 -20
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Send PDF to Slack
|
|
2
|
-
|
|
3
|
-
Converts a markdown file to PDF using `weasyprint` (Python) and uploads it to a Slack channel via the `/api/slack/upload-file` endpoint.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
- **python3** must be installed (comes with macOS, or `brew install python3`)
|
|
8
|
-
- On first run, a virtual environment is created at `~/.crewly/venv/pdf-tools/` with `weasyprint` and `markdown` packages installed automatically
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
bash config/skills/agent/send-pdf-to-slack/execute.sh --channel C0123ABC --file /path/to/document.md --title "Weekly Report"
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Required | Description |
|
|
19
|
-
|-----------|----------|-------------|
|
|
20
|
-
| `--channel`, `-c` | Yes | Slack channel ID to upload the PDF to |
|
|
21
|
-
| `--file`, `-f` | Yes | Path to the markdown file to convert |
|
|
22
|
-
| `--title`, `-T` | No | Title for the uploaded PDF (defaults to filename) |
|
|
23
|
-
| `--text`, `-t` | No | Initial comment to include with the upload |
|
|
24
|
-
| `--thread`, `-r` | No | Slack thread timestamp for threaded upload |
|
|
25
|
-
|
|
26
|
-
## Examples
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# Basic upload
|
|
30
|
-
bash execute.sh --channel C0123ABC --file report.md
|
|
31
|
-
|
|
32
|
-
# Upload with title and comment
|
|
33
|
-
bash execute.sh --channel C0123ABC --file report.md --title "Q4 Report" --text "Here is the quarterly report"
|
|
34
|
-
|
|
35
|
-
# Upload in a thread
|
|
36
|
-
bash execute.sh --channel C0123ABC --file notes.md --thread 1707123456.789000
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Output
|
|
40
|
-
|
|
41
|
-
JSON response from the upload API with `fileId` on success. Also emits a `[NOTIFY]` block for chat service integration.
|
|
42
|
-
|
|
43
|
-
## Error Handling
|
|
44
|
-
|
|
45
|
-
- Exits with error if `python3` is not installed (includes install instructions)
|
|
46
|
-
- Auto-installs weasyprint/markdown into a persistent venv on first run
|
|
47
|
-
- Exits with error if the markdown file does not exist
|
|
48
|
-
- Exits with error if PDF conversion fails
|
|
49
|
-
- Temp PDF files are cleaned up after upload (stored in `~/.crewly/tmp/slack-pdfs/`)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "agent-send-pdf-to-slack",
|
|
3
|
-
"name": "Send PDF to Slack",
|
|
4
|
-
"description": "Convert a markdown file to PDF and upload it to a Slack channel.",
|
|
5
|
-
"category": "communication",
|
|
6
|
-
"skillType": "claude-skill",
|
|
7
|
-
"promptFile": "instructions.md",
|
|
8
|
-
"execution": {
|
|
9
|
-
"type": "script",
|
|
10
|
-
"script": {
|
|
11
|
-
"file": "execute.sh",
|
|
12
|
-
"interpreter": "bash",
|
|
13
|
-
"timeoutMs": 60000
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"assignableRoles": ["developer", "qa", "tpm", "designer", "frontend-developer", "backend-developer", "fullstack-dev", "qa-engineer", "product-manager", "architect", "generalist", "sales", "support"],
|
|
17
|
-
"triggers": ["send pdf", "pdf to slack", "markdown to pdf", "export pdf"],
|
|
18
|
-
"tags": ["communication", "slack", "pdf", "markdown", "export"],
|
|
19
|
-
"version": "1.0.0"
|
|
20
|
-
}
|