sentinelayer-cli 0.12.1 → 0.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sentinelayer-cli",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "Scaffold Sentinelayer spec/prompt/guide artifacts with secure browser auth and token bootstrap.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1853,7 +1853,7 @@ export function registerSessionCommand(program) {
1853
1853
 
1854
1854
  session
1855
1855
  .command("react <sessionId> <reaction>")
1856
- .description("React to a target session event with like or dislike")
1856
+ .description("React to or acknowledge a target session event with ack, like, or dislike")
1857
1857
  .option("--target-sequence <n>", "Target event sequence id")
1858
1858
  .option("--target-cursor <cursor>", "Target event cursor")
1859
1859
  .option("--agent <id>", "Agent id for local idempotency metadata", "cli-user")
@@ -1862,8 +1862,8 @@ export function registerSessionCommand(program) {
1862
1862
  .option("--json", "Emit machine-readable output")
1863
1863
  .action(async (sessionId, reaction, options, command) => {
1864
1864
  const normalizedReaction = normalizeSessionMessageActionType(reaction);
1865
- if (normalizedReaction !== "like" && normalizedReaction !== "dislike") {
1866
- throw new Error("reaction must be one of: like, dislike.");
1865
+ if (!["ack", "like", "dislike"].includes(normalizedReaction)) {
1866
+ throw new Error("reaction must be one of: ack, like, dislike.");
1867
1867
  }
1868
1868
  await runMessageActionCommand({
1869
1869
  sessionId,