@oalo-ai/cli 0.9.0 → 0.9.1
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/man/oalo.1 +1 -1
- package/package.json +1 -1
- package/src/commands/forthwith.js +11 -7
- package/src/coord-release.json +1 -1
package/man/oalo.1
CHANGED
package/package.json
CHANGED
|
@@ -226,8 +226,9 @@ async function startCall(flags, opts) {
|
|
|
226
226
|
} else {
|
|
227
227
|
console.log("\n" + green("Call ended and notarized:") + ` ${ended.call?.id || call.id}`);
|
|
228
228
|
if (ended.call?.summary) console.log(` summary: ${ended.call.summary}`);
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
const sha = proof?.notarization_sha256 || proof?.sha256 || ended.call?.notarization_sha256 || ended.call?.notarization_hash;
|
|
230
|
+
if (sha) {
|
|
231
|
+
console.log(` sha256: ${sha}${proof?.verified ? " (verified)" : ""}`);
|
|
231
232
|
}
|
|
232
233
|
}
|
|
233
234
|
} catch (e) {
|
|
@@ -335,7 +336,7 @@ async function listCalls(flags, opts) {
|
|
|
335
336
|
if (flags.json) return void console.log(JSON.stringify(r, null, 2));
|
|
336
337
|
if (!calls.length) return void console.log("no calls found");
|
|
337
338
|
for (const c of calls) {
|
|
338
|
-
const share = c.shared_with_participants ? "shared" : "private";
|
|
339
|
+
const share = c.share_recording_with_participants || c.shared_with_participants ? "shared" : "private";
|
|
339
340
|
console.log(`${c.id} ${(c.status || "?").padEnd(6)} ${(c.kind || "?").padEnd(10)} ${c.title || "(untitled)"} ${dim(`[${c.privacy_mode || "standard"}, ${share}]`)}`);
|
|
340
341
|
}
|
|
341
342
|
} catch (e) {
|
|
@@ -363,8 +364,9 @@ async function showCall(flags, rest, opts) {
|
|
|
363
364
|
console.log(` kind: ${c.kind}`);
|
|
364
365
|
console.log(` status: ${c.status}`);
|
|
365
366
|
console.log(` privacy: ${c.privacy_mode || "standard"}`);
|
|
366
|
-
console.log(` sharing: ${c.shared_with_participants ? "shared with verified participants" : "host only"}`);
|
|
367
|
-
|
|
367
|
+
console.log(` sharing: ${c.share_recording_with_participants || c.shared_with_participants ? "shared with verified participants" : "host only"}`);
|
|
368
|
+
const sha = c.notarization_sha256 || c.notarization_hash;
|
|
369
|
+
if (sha) console.log(` sha256: ${sha}`);
|
|
368
370
|
if (c.summary) console.log(` summary: ${c.summary}`);
|
|
369
371
|
if (Array.isArray(c.action_items) && c.action_items.length) {
|
|
370
372
|
console.log(" action items:");
|
|
@@ -391,7 +393,7 @@ async function shareCall(flags, rest, opts) {
|
|
|
391
393
|
}
|
|
392
394
|
try {
|
|
393
395
|
const shared = !!flags.on;
|
|
394
|
-
const r = await ch.call("calls:set_sharing", { id,
|
|
396
|
+
const r = await ch.call("calls:set_sharing", { id, share_recording_with_participants: shared });
|
|
395
397
|
if (flags.json) return void console.log(JSON.stringify(r, null, 2));
|
|
396
398
|
console.log(`${id}: recording and transcript sharing ${shared ? "enabled for verified participants" : "restricted to host only"}`);
|
|
397
399
|
} catch (e) {
|
|
@@ -416,7 +418,9 @@ async function verifyCall(flags, rest, opts) {
|
|
|
416
418
|
if (flags.json) return void console.log(JSON.stringify(r, null, 2));
|
|
417
419
|
const status = r.verified ? green("VERIFIED") : yellow("MISMATCH");
|
|
418
420
|
console.log(`${id}: ${status}`);
|
|
419
|
-
|
|
421
|
+
const sha = r.notarization_sha256 || r.sha256;
|
|
422
|
+
if (sha) console.log(` sha256: ${sha}`);
|
|
423
|
+
if (r.notarized_at) console.log(` notarized: ${r.notarized_at}`);
|
|
420
424
|
if (r.algorithm) console.log(` algorithm: ${r.algorithm}`);
|
|
421
425
|
if (!r.verified) process.exitCode = 1;
|
|
422
426
|
} catch (e) {
|
package/src/coord-release.json
CHANGED