flowviant 0.18.0 → 0.19.0

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.
@@ -4,7 +4,7 @@ import { readFileSync } from 'node:fs';
4
4
  import { join } from 'node:path';
5
5
  import { homedir } from 'node:os';
6
6
 
7
- export const VERSION = '0.18.0';
7
+ export const VERSION = '0.19.0';
8
8
 
9
9
  // Credential stored by `flowviant login` (device auth) — the no-token,
10
10
  // no-env-var path. An explicit --fleet flag or FLOWVIANT_FLEET env still wins.
package/bin/lib/live.mjs CHANGED
@@ -125,7 +125,16 @@ answered…" or teammate line as a new instruction and adapt. There is NO termin
125
125
  and NO interactive prompt — your only channel to a human is the flowviant MCP
126
126
  tools. When you hit a decision only a human can make, call report_blocker (with
127
127
  options when you can) and then STOP your turn — do not spin or guess; you will be
128
- resumed with the answer. When the work is done: open ONE draft PR (git push +
128
+ resumed with the answer. As you satisfy each "done when" criterion, call
129
+ attach_evidence for it — proof the reviewer can SEE without running anything.
130
+ Match the evidence to what you built: backend/API work → a request/response
131
+ capture or a data sample showing the write; a single screen → a screenshot.
132
+ CRITICAL for a multi-step FLOW (login, signup, checkout): a screenshot of one
133
+ page does NOT prove the flow works — you MUST prove the whole path end to end.
134
+ Best: write an e2e/integration test that DRIVES the flow (fill form → submit →
135
+ assert the post-login/success state) and attach its test_output; if you have a
136
+ browser tool (e.g. Playwright), also attach a screen recording of it running.
137
+ Never let a static screenshot stand in for a flow. When the work is done: open ONE draft PR (git push +
129
138
  gh pr create --draft), call attach_pr, then call complete with a plain-language
130
139
  summary of what you built AND a criteria self-report (index into the brief's
131
140
  "done when" list + met true/false + a short note per item). That summary +
@@ -150,7 +159,7 @@ function seedPrompt(runId, brief, transcript, resumedInPlace) {
150
159
  ? [``, `Conversation so far (you may be resuming — pick up where this left off):`, transcript]
151
160
  : []),
152
161
  ``,
153
- `${transcript ? 'Continue' : 'Begin'}. Post a short plan first as a Markdown list (one numbered line per step), then: report_progress as you go; report_blocker + stop if you hit a human decision; open a draft PR, attach_pr, then complete (summary + criteria self-report — your delivery card) when done.`,
162
+ `${transcript ? 'Continue' : 'Begin'}. Post a short plan first as a Markdown list (one numbered line per step), then: report_progress as you go; attach_evidence for each "done when" criterion as you satisfy it (test output, a request/response, a data sample, or a screenshot — so it's reviewable without running anything); report_blocker + stop if you hit a human decision; open a draft PR, attach_pr, then complete (summary + criteria self-report — your delivery card) when done.`,
154
163
  ].join('\n');
155
164
  }
156
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowviant",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
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": {