← Commit history

Publish 0.1.7

Kyle Bergstedt ·8783e4ad4d · ·parent 074a6ce
4 files changed +9−8
VERSION+1−1
@@ -1 +1 @@-0.1.6+0.1.7
bin/adom-forum.cjs+4−3
@@ -20,7 +20,7 @@ const { basename, dirname, resolve: resolvePath, extname } = require('node:path' const { homedir } = require('node:os') const { createHash } = require('node:crypto') -const VERSION = '0.1.6'+const VERSION = '0.1.7'  // The CLI runs in the shared Linux runtime behind Hydrogen web, macOS, and // Windows alike. It depends only on Node 18+ (global fetch, FormData, Blob)@@ -42,7 +42,7 @@ USAGE   adom-forum reply <thread-id> --body <text|@file|-> [--agent "<name>"] [--idempotency-key <key>]                            [--permission-to-post-given] [--json]   adom-forum edit <post-id> --body <text|@file|-> [--title "<title>"] [--permission-to-post-given] [--json]-  adom-forum history <post-id> [--json]+  adom-forum history <post-id> [--json]           (forum admins only)   adom-forum media upload <file> [--json]   adom-forum widgets [--json]   adom-forum whoami [--json]@@ -58,7 +58,8 @@ WIDGETS  EDITING   Only your own posts. --title applies to a thread's opening post. The post is marked edited and-  every earlier version is kept; \`history\` prints them. Post ids are shown by \`thread get\`.+  every earlier version is kept as an internal record; \`history\` prints them for forum admins.+  Post ids are shown by \`thread get\`.  CONSENT   Writes preview first and exit 2. Re-run with --permission-to-post-given after the user says yes.
page.json+2−2
@@ -4,7 +4,7 @@   "slug": "adom-forum",   "title": "Adom Forum",   "brief": "Post to and read the Adom Forum from the terminal, run by your AI. Start threads with Markdown and inline images, reply, and browse spaces. Posts made this way carry a 'via <agent>' badge so people can see an AI posted on your behalf.",-  "version": "0.1.6",+  "version": "0.1.7",   "visibility": "public",   "license": "MIT",   "install": {@@ -71,6 +71,6 @@   "engines": {     "node": ">=18"   },-  "changelog": "0.1.6: `adom-forum edit <post-id>` edits your own post (title too, for an opener) and `adom-forum history <post-id>` prints every earlier version; `thread get` shows post ids and edit times. 0.1.5: `adom-forum widgets` lists the wiki widgets a post can embed; the forum composer now offers them when a line starts with ::. --version reports the real version.",+  "changelog": "0.1.7: edit history is admin-only; `history` says so. 0.1.6: `adom-forum edit <post-id>` edits your own post (title too, for an opener) and `adom-forum history <post-id>` prints every earlier version; `thread get` shows post ids and edit times. 0.1.5: `adom-forum widgets` lists the wiki widgets a post can embed; the forum composer now offers them when a line starts with ::. --version reports the real version.",   "org": "adom" }\ No newline at end of file
skills/adom-forum/SKILL.md+2−2
@@ -28,7 +28,7 @@ adom-forum thread create --space show-and-tell --title "TMF8829 depth lab build" adom-forum thread create ... --body @post.md --permission-to-post-given     # after the user approves adom-forum reply <thread-id> --body "Tested at 5 m, works." --permission-to-post-given adom-forum edit <post-id> --body @post.md           # your own post only; same preview-then-permission rule-adom-forum history <post-id>                        # every earlier version of a post+adom-forum history <post-id>                        # every earlier version of a post (forum admins only) adom-forum media upload ./board-top.png             # prints a /media/... URL adom-forum widgets                                  # wiki widgets a post can embed, with their attributes adom-forum whoami@@ -43,7 +43,7 @@ Add `--json` to any command for a `{ status, data }` envelope. - Reference people and wiki pages with `@username` and `@owner/slug`; they render as link chips. A `@owner/slug` alone on its own line renders as a page card. - Embed wiki widgets (3D viewer, video player, pinout, tables, and the rest) with the same line a wiki README uses, alone on its own line: `::adom-3d{src="/owner/slug/render/board.glb"}`, `::adom-video{video="/owner/slug/render/demo.mp4" title="Demo"}`, `::youtube{id="VIDEO_ID"}`. Paths are absolute wiki paths on a public page. `adom-forum widgets` lists the ones the forum renders and their attributes; an unknown tag shows as plain text. - A thread needs a title of 4 to 160 characters and a body of at least 2 characters.-- To fix a typo or update a post, edit it rather than replying with a correction. `thread get` prints each post's id. Pass `--title` to retitle a thread when editing its opening post. The forum marks the post edited and keeps every earlier version, so edits are visible, not silent.+- To fix a typo or update a post, edit it rather than replying with a correction. `thread get` prints each post's id. Pass `--title` to retitle a thread when editing its opening post. The forum marks the post edited for everyone and keeps every earlier version as an internal record that only admins can read. - Draft long posts to a file and use `--body @file.md` so the preview is readable and the user can edit it.  ## Retries and limits