flowcollab 0.2.5 → 0.2.6

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 CHANGED
@@ -76,6 +76,8 @@ export async function flowFetch(path, { method = 'GET', body } = {}) {
76
76
  'content-type': 'application/json',
77
77
  };
78
78
  if (actingViaClaude()) headers['x-flow-acting-via'] = 'claude';
79
+ const org = process.env.FLOW_ORG_ID || _gc.orgId || '';
80
+ if (org) headers['x-flow-org'] = org;
79
81
  const proj = process.env.FLOW_PROJECT_ID || _gc.projectId || '';
80
82
  if (proj) headers['x-flow-project'] = proj;
81
83
 
package/bin/close.mjs CHANGED
@@ -16,7 +16,8 @@ async function main() {
16
16
  body: { task_id: id, ...(summary ? { summary } : {}) },
17
17
  });
18
18
 
19
- process.stdout.write(`Closed #${r.task.id.slice(0, 6)} — "${r.task.title}"\n`);
19
+ const ref = r.task.issue_num != null ? r.task.issue_num : r.task.id.slice(0, 6);
20
+ process.stdout.write(`Closed #${ref} — "${r.task.title}"\n`);
20
21
  }
21
22
 
22
23
  main().catch(e => die(e.message || e));
package/bin/scan.mjs CHANGED
@@ -176,10 +176,11 @@ function printSection(heading, suggestions) {
176
176
 
177
177
  // ── Main ───────────────────────────────────────────────────────────────────────
178
178
  async function main() {
179
- const doTodos = !!arg('todos');
180
- const doIssues = !!arg('issues');
181
- const doPRs = !!arg('prs');
182
- const doSecurity = !!arg('security');
179
+ const argv = process.argv;
180
+ const doTodos = argv.includes('--todos');
181
+ const doIssues = argv.includes('--issues');
182
+ const doPRs = argv.includes('--prs');
183
+ const doSecurity = argv.includes('--security');
183
184
  const all = !doTodos && !doIssues && !doPRs && !doSecurity;
184
185
 
185
186
  const dir = arg('dir') || process.cwd();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowcollab",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Multi-Claude coordination layer — shared task board + CLI for teams running Claude Code",
5
5
  "type": "module",
6
6
  "files": [