@flowmind/cli 0.3.0 → 0.3.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.
- package/README.md +7 -3
- package/dist/flowmind/SKILL.md +6 -2
- package/dist/index.js +1695 -1564
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,9 +96,13 @@ flowmind agent stage --intention "Finish the reader" --outcome "Shipped the read
|
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
The CLI reads the project from `.flowmind.json` and the session from `CODEX_THREAD_ID` or the one
|
|
99
|
-
session with a turn in progress in the repository. The duration is the
|
|
100
|
-
since the session's last staged proof
|
|
101
|
-
|
|
99
|
+
session with a turn in progress in the repository. The duration is the main agent's recorded turn
|
|
100
|
+
time since the session's last staged proof, in whole minutes; the remaining seconds carry over to
|
|
101
|
+
the next proof. Idle time between turns does not count, and neither does sleep: the hooks read the
|
|
102
|
+
awake clock that Codex uses for "Worked for". Subagent prompts never start a turn, because the main
|
|
103
|
+
agent's turn already contains their work. When nothing new is recorded, or when a Codex subagent
|
|
104
|
+
calls the command, it stages nothing, prints `"staged": false` with a `reason` and a `message`,
|
|
105
|
+
and exits 0. The source kind is `codex` or `claude_code` from the recording host.
|
|
102
106
|
`--dry-run` prints the request and its retry key without staging anything.
|
|
103
107
|
|
|
104
108
|
Without hooks, pass observed values:
|
package/dist/flowmind/SKILL.md
CHANGED
|
@@ -46,13 +46,17 @@ To find gaps across the user's folders, run `flowmind link --scan <dir...>`. It
|
|
|
46
46
|
|
|
47
47
|
## Log agent work
|
|
48
48
|
|
|
49
|
-
In a linked repository, the session hooks record how long
|
|
49
|
+
In a linked repository, the session hooks record how long the main agent's turns run. When you finish a material unit of work, such as a feature, fix, investigation, or document, stage it before you start the next one. Do not stage every turn.
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
52
|
flowmind agent stage --intention "<what you set out to do>" --outcome "<what changed or shipped>" --artifact-url <commit, PR, or document URL> --json
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
- The CLI reads the project from `.flowmind.json` and the time from the session record.
|
|
55
|
+
- The CLI reads the project from `.flowmind.json` and the time from the session record. The time is the main agent's turn time on the awake clock that Codex uses for "Worked for", so sleep does not count. It includes the time that subagents work during the turn.
|
|
56
|
+
- A stage covers the whole minutes since the session's last proof. The remaining seconds carry over to the next proof.
|
|
57
|
+
- When several units of work finish together, stage them as one proof that names them all. A second stage right after the first has no new time.
|
|
58
|
+
- Subagents do not stage. In a Codex subagent, `flowmind agent stage` stages nothing and tells the subagent to report its outcome to the main agent.
|
|
59
|
+
- `"staged": false` in the JSON output means that nothing was staged, and it is not an error. `reason` is `no-new-time` when the last proof (`lastProposalId`) already holds the session's time, or `subagent`. Tell the user which proof covers the work.
|
|
56
60
|
- After 20 minutes of unstaged agent time, each prompt in a linked repository carries a reminder with the unstaged minutes. Stage when the current unit of work is complete; a stage with explicit times also resets the count.
|
|
57
61
|
- Add `--dry-run` to preview the project and minutes without staging.
|
|
58
62
|
- Pass `--project`, `--minutes`, and `--started-at` only when no session record exists. Use observed times only. Never estimate time from tokens or tool calls.
|