@tloncorp/tlon-skill 0.1.8 → 0.1.10

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 (2) hide show
  1. package/SKILL.md +9 -3
  2. package/package.json +6 -6
package/SKILL.md CHANGED
@@ -177,24 +177,30 @@ tlon dms decline ~sampel # Decline DM invite
177
177
 
178
178
  ### Posts
179
179
 
180
- Manage channel posts.
180
+ Manage channel posts (reactions, edits, deletes).
181
181
 
182
182
  ```bash
183
183
  tlon posts react chat/~host/slug 170.141... "👍" # React to a post
184
184
  tlon posts unreact chat/~host/slug 170.141... # Remove reaction
185
+ tlon posts edit chat/~host/slug 170.141... "New text" # Edit with plain text
186
+ tlon posts edit diary/~host/slug 170.141... --title "T" --image <url> --content rich.json # Edit notebook
185
187
  tlon posts delete chat/~host/slug 170.141... # Delete a post
186
188
  ```
187
189
 
190
+ Edit options for notebooks: `--title`, `--image` (cover URL), `--content` (Story JSON file for rich formatting).
191
+
188
192
  ### Notebook
189
193
 
190
194
  Post to diary/notebook channels.
191
195
 
192
196
  ```bash
193
197
  tlon notebook diary/~host/slug "Title" # Post with no body
194
- tlon notebook diary/~host/slug "Title" --content file.md # Post from file
195
- tlon notebook diary/~host/slug "Title" --image <url> # Post with image
198
+ tlon notebook diary/~host/slug "Title" --content rich.json # Post with Story JSON
199
+ tlon notebook diary/~host/slug "Title" --image <url> # Post with cover image
196
200
  ```
197
201
 
202
+ The `--content` file should be Story JSON format (array of verses with headers, code blocks, formatting). See the [Story types in tlon-apps](https://github.com/tloncorp/tlon-apps/blob/develop/packages/shared/src/urbit/content.ts).
203
+
198
204
  ### Upload
199
205
 
200
206
  Upload images to Tlon storage.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tloncorp/tlon-skill",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Tlon/Urbit skill for OpenClaw agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,13 +20,13 @@
20
20
  "postinstall": "node scripts/postinstall.js"
21
21
  },
22
22
  "optionalDependencies": {
23
- "@tloncorp/tlon-skill-darwin-arm64": "0.1.8",
24
- "@tloncorp/tlon-skill-darwin-x64": "0.1.8",
25
- "@tloncorp/tlon-skill-linux-x64": "0.1.8",
26
- "@tloncorp/tlon-skill-linux-arm64": "0.1.8"
23
+ "@tloncorp/tlon-skill-darwin-arm64": "0.1.10",
24
+ "@tloncorp/tlon-skill-darwin-x64": "0.1.10",
25
+ "@tloncorp/tlon-skill-linux-x64": "0.1.10",
26
+ "@tloncorp/tlon-skill-linux-arm64": "0.1.10"
27
27
  },
28
28
  "devDependencies": {
29
- "@tloncorp/api": "git+https://github.com/tloncorp/api-beta.git#main",
29
+ "@tloncorp/api": "git+https://github.com/tloncorp/api-beta.git#v0.0.2",
30
30
  "@urbit/aura": "^3.0.0",
31
31
  "@types/node": "^22.0.0",
32
32
  "typescript": "^5.9.3"