flowcollab 0.1.5 → 0.1.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.
Files changed (2) hide show
  1. package/bin/login.mjs +4 -0
  2. package/package.json +1 -1
package/bin/login.mjs CHANGED
@@ -57,6 +57,10 @@ async function main() {
57
57
  );
58
58
  }
59
59
  if (poll.status === 202) continue;
60
+ if (!poll.ok) {
61
+ process.stdout.write('\n');
62
+ throw new Error(`Unexpected server response: ${poll.status}. Run flow-login again.`);
63
+ }
60
64
  if (poll.ok) {
61
65
  const { token, actor_id, org_id, api_base } = await poll.json();
62
66
  const dir = join(homedir(), '.flow');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowcollab",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Multi-Claude coordination layer — shared task board + CLI for teams running Claude Code",
5
5
  "type": "module",
6
6
  "files": [