flowcollab 0.2.7 → 0.2.9
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/bin/_client.mjs +1 -1
- package/bin/pull.mjs +1 -1
- package/package.json +1 -1
package/bin/_client.mjs
CHANGED
|
@@ -127,7 +127,7 @@ export function arg(name, fallback) {
|
|
|
127
127
|
const argv = process.argv.slice(2);
|
|
128
128
|
for (let i = 0; i < argv.length; i++) {
|
|
129
129
|
const a = argv[i];
|
|
130
|
-
if (a === `--${name}`)
|
|
130
|
+
if (a === `--${name}`) { const next = argv[i + 1]; return (next !== undefined && !next.startsWith('--')) ? next : ''; }
|
|
131
131
|
if (a.startsWith(`--${name}=`)) return a.slice(name.length + 3);
|
|
132
132
|
}
|
|
133
133
|
return fallback;
|
package/bin/pull.mjs
CHANGED
|
@@ -77,7 +77,7 @@ function extractBody(ev) {
|
|
|
77
77
|
|
|
78
78
|
function fmtTimeline(ev, taskTitle) {
|
|
79
79
|
const ts = ev.ts ? new Date(ev.ts).toISOString().replace('T', ' ').slice(0, 16) : '?';
|
|
80
|
-
const who = ev.actor_id || '?';
|
|
80
|
+
const who = ev.slot_label || ev.actor_id || '?';
|
|
81
81
|
const actingAs = ev.acting_as_id && ev.acting_as_id !== ev.actor_id ? `(as ${ev.acting_as_id})` : '';
|
|
82
82
|
const body = extractBody(ev);
|
|
83
83
|
// Wrap user-generated comments in XML markers so Claude distinguishes them
|