@circlesac/holla 26.2.18 → 26.2.20

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
@@ -142,6 +142,29 @@ holla slack channels list
142
142
  holla slack channels list --workspace circles
143
143
  ```
144
144
 
145
+ ## Skills
146
+
147
+ | Skill | Description |
148
+ |-------|-------------|
149
+ | **slack** | Interact with Slack — send messages, read threads, search, manage canvases, and more |
150
+
151
+ ### Claude Code
152
+
153
+ ```bash
154
+ # Add marketplace
155
+ /plugin marketplace add circlesac/holla-cli
156
+
157
+ # Install plugin
158
+ /plugin install holla
159
+ ```
160
+
161
+ ### Pi
162
+
163
+ ```bash
164
+ pi install git:circlesac/holla-cli
165
+ # or: npx @mariozechner/pi-coding-agent install git:circlesac/holla-cli
166
+ ```
167
+
145
168
  ## Environment Variables
146
169
 
147
170
  | Variable | Description |
package/package.json CHANGED
@@ -39,5 +39,5 @@
39
39
  "test": "vitest run"
40
40
  },
41
41
  "type": "module",
42
- "version": "26.2.18"
42
+ "version": "26.2.20"
43
43
  }
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: slack
3
3
  description: Use holla CLI to interact with Slack — send messages, read threads, search, manage canvases, and more
4
+ user-invocable: true
4
5
  ---
5
6
 
6
7
  holla is a CLI tool that lets you interact with Slack as yourself (using your user token). All commands require `--workspace <name>` (or `-w`).
@@ -64,15 +65,34 @@ Options: `--sort timestamp|score`, `--sort-dir asc|desc`, `--limit <n>`, `--page
64
65
  # Create (with optional auto-share)
65
66
  holla slack canvases create --title "Title" --markdown "content" --channel "#general" -w <ws>
66
67
 
67
- # Edit
68
+ # Create from file via stdin (--stdio required)
69
+ cat document.md | holla slack canvases create --title "Title" --stdio -w <ws>
70
+
71
+ # Look up section IDs (required for targeted edits)
72
+ holla slack canvases sections --canvas <id> --contains "search text" -w <ws> --json
73
+
74
+ # Edit a specific section (replace, insert_before, insert_after, delete)
75
+ holla slack canvases edit --canvas <id> --operation replace --section-id <section-id> --markdown "new content" -w <ws>
76
+
77
+ # Edit via stdin (--stdio required)
78
+ cat content.md | holla slack canvases edit --canvas <id> --operation insert_at_end --stdio -w <ws>
79
+
80
+ # Append to end (no section-id needed)
68
81
  holla slack canvases edit --canvas <id> --operation insert_at_end --markdown "more" -w <ws>
69
82
 
70
83
  # Share
71
84
  holla slack canvases access-set --canvas <id> --level read --channels "#general" -w <ws>
85
+
86
+ # Delete
87
+ holla slack canvases delete --canvas <id> -w <ws>
72
88
  ```
73
89
 
74
90
  Operations: `insert_at_start`, `insert_at_end`, `insert_before`, `insert_after`, `replace`, `delete`
75
91
 
92
+ **Important**: Section IDs change after each edit. Always look up fresh IDs with `sections` before editing. The `--contains` filter requires at least one search term.
93
+
94
+ **Canvas markdown limitations**: The Slack Canvas API does not support bullet sub-items under numbered lists (e.g. `1. item` → `- sub`). This causes `canvas_creation_failed`. The CLI auto-converts these to numbered sub-items (with a warning), but when writing markdown for canvases, prefer consistent nesting: bullets under bullets, or numbers under numbers.
95
+
76
96
  ## Channels
77
97
 
78
98
  ```bash