flowcollab 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/bin/_client.mjs +2 -2
  2. package/package.json +1 -1
package/bin/_client.mjs CHANGED
@@ -15,7 +15,7 @@ function loadGlobalConfig() {
15
15
  }
16
16
  const _gc = loadGlobalConfig();
17
17
 
18
- const DEFAULT_BASE = process.env.FLOW_API_BASE || _gc.apiBase || 'http://localhost:3000';
18
+ const DEFAULT_BASE = process.env.FLOW_API_BASE || _gc.apiBase || 'https://flow-production-84b7.up.railway.app';
19
19
 
20
20
  function envToken() {
21
21
  return process.env.FLOW_API_TOKEN_OWNER || process.env.FLOW_API_TOKEN_CONTRIBUTOR || _gc.token || '';
@@ -29,7 +29,7 @@ function actingViaClaude() {
29
29
  export async function flowFetch(path, { method = 'GET', body } = {}) {
30
30
  const token = envToken();
31
31
  if (!token) {
32
- throw new Error('No FLOW_API_TOKEN_OWNER or FLOW_API_TOKEN_CONTRIBUTOR in env. Aborting.');
32
+ throw new Error('Not authenticated. Run `flow-login` to connect your account.');
33
33
  }
34
34
  const url = DEFAULT_BASE.replace(/\/+$/, '') + path;
35
35
  const headers = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowcollab",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Multi-Claude coordination layer — shared task board + CLI for teams running Claude Code",
5
5
  "type": "module",
6
6
  "files": [