flowviant 0.28.4 → 0.28.5

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.
@@ -20,7 +20,7 @@
20
20
  import { readFileSync } from 'node:fs';
21
21
  import { basename } from 'node:path';
22
22
  import { createInterface } from 'node:readline';
23
- import sodium from 'libsodium-wrappers';
23
+ import sodium from 'libsodium-wrappers-sumo'; // sumo: Argon2 for the recovery KDF (see env.mjs)
24
24
  import { FLEET_URL, FLEET_TOKEN, USER_AGENT } from './config.mjs';
25
25
  import { ensureKeypair, myPubB64, fetchBundle } from './env.mjs';
26
26
 
package/bin/lib/env.mjs CHANGED
@@ -39,7 +39,10 @@ import {
39
39
  import { execFileSync } from 'node:child_process';
40
40
  import { homedir, hostname } from 'node:os';
41
41
  import { join, dirname, resolve } from 'node:path';
42
- import sodium from 'libsodium-wrappers';
42
+ // The SUMO build: the standard `libsodium-wrappers` omits Argon2 (crypto_pwhash),
43
+ // which bootstrapProject() needs to derive the recovery-code key — without it
44
+ // crypto_pwhash_SALTBYTES is undefined and bootstrap throws every poll.
45
+ import sodium from 'libsodium-wrappers-sumo';
43
46
  import { FLEET_URL, FLEET_TOKEN, USER_AGENT } from './config.mjs';
44
47
  import { c, info, note, ok, warn } from './ui.mjs';
45
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowviant",
3
- "version": "0.28.4",
3
+ "version": "0.28.5",
4
4
  "description": "Run your own Claude Code as headless build agents for Flowviant — on your own credentials. Claims dispatched work, opens PRs, captures review evidence, and routes questions back to you.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@anthropic-ai/claude-agent-sdk": "^0.3.0",
19
- "libsodium-wrappers": "^0.8.4",
19
+ "libsodium-wrappers-sumo": "^0.8.4",
20
20
  "ws": "^8.18.0"
21
21
  },
22
22
  "keywords": [