convene-cli 1.9.0 → 1.11.0

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/render.js CHANGED
@@ -115,6 +115,15 @@ function renderRecentLine(m) {
115
115
  return `${t} [ACK] ${from} [id: ${m.short_id}]`;
116
116
  case 'feature_feedback':
117
117
  return `${t} [FEEDBACK] ${from} [id: ${m.short_id}] ${m.body ?? ''}`.trimEnd();
118
+ case 'halt':
119
+ case 'interrupt': {
120
+ // A directed control signal. Render the type + routing + id as inert tokens
121
+ // (the high-priority call-to-action lives in the !! INTERRUPTS section); the
122
+ // UNTRUSTED reason in `body` is NEVER inlined into the feed.
123
+ const verb = m.type === 'interrupt' ? 'INTERRUPT' : 'HALT';
124
+ const to = inertToken(m.to_session_glob ?? m.to_handle ?? 'you', 64);
125
+ return `${t} [${verb}] ${from} [to: ${to}] [id: ${m.short_id}] — STOP and surface to the human.`;
126
+ }
118
127
  default:
119
128
  // Unknown/future message type (e.g. a server newer than this CLI).
120
129
  // Render a generic, inert one-liner — never undefined, never throw.
@@ -287,6 +296,8 @@ function renderChannelBlock(input) {
287
296
  L.push(' convene post question --to <member|anyone> "<question>"');
288
297
  L.push(' convene post propose --to <member> --context "<why>" --prompt "<literal next prompt>"');
289
298
  L.push(' convene answer <id> "<answer>" | convene ack <id>');
299
+ L.push('Say what you are taking on at the start and what you did when you wrap — so siblings across tools see who owns what. ' +
300
+ 'A terse start/wrap line is auto-posted; a hand-written `convene post status` is richer.');
290
301
  L.push('');
291
302
  // High-priority interrupts + active deploy lanes, above Open items (DEGRADED
292
303
  // suppresses these structurally — the caller passes empty arrays).
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cliVersion = cliVersion;
4
+ /**
5
+ * The running CLI's own version, read once from package.json (cached). dist/ and
6
+ * src/ both sit one level below package.json (see index.ts's `--version` read,
7
+ * which this mirrors). Best-effort: any failure → '0.0.0' so callers that compare
8
+ * versions (the host-pin freshness checks) degrade gracefully rather than throw.
9
+ */
10
+ const node_fs_1 = require("node:fs");
11
+ const node_path_1 = require("node:path");
12
+ let cached = null;
13
+ function cliVersion() {
14
+ if (cached !== null)
15
+ return cached;
16
+ try {
17
+ const pkg = JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.resolve)(__dirname, '../package.json'), 'utf8'));
18
+ cached = typeof pkg.version === 'string' && pkg.version ? pkg.version : '0.0.0';
19
+ }
20
+ catch {
21
+ cached = '0.0.0';
22
+ }
23
+ return cached;
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "convene-cli",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "Convene CLI — AI development coordination bus client + UserPromptSubmit hook. Install: npm i -g convene-cli; then `convene setup`.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://dev.convene.live",