You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d6d8a64
Browse filesBrowse the repository at this point in the historyBrowse files
mothership agent-cli: round two of exploration-run fixes
- CLI inventory (generator): every v2 operation maps to its command through
deriveCommandPath (168 commands now carry a response shape, was 61 — blocks
get had none); request-body shapes two levels deep for JSON-valued flags
(select-column options, workflow groups, views, variables, operations
apply); enum choices on options; union variants show their discriminator.
- sink: the not-written notice leads the inline output so the budget cannot
cut it (| to-sandbox read as a silent no-op when the sandbox was not up).
- files grep: no doubled slash on root-folder paths.
- embed: the missing-file message says to pass @path instead of implying the
file does not exist.
Claude-Session: https://claude.ai/code/session_01HFVhPDtRZuCgupPco633w8
Copy file name to clipboardExpand all lines: apps/sim/lib/mothership/agent-cli/sink.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,12 @@ export async function applySink(
31
31
if(written.outcome==='no-session'){
32
32
return{
33
33
...result,
34
-
stdout: `${result.stdout}\n[outputFile not written: your machine is not booted yet — run any run_code first. Output returned inline instead]`,
34
+
// The notice leads: appended, it was the first thing the output budget cut.
35
+
stdout: `[NOT written to ${sink.path}: your machine is not booted yet — run any run_code first, then re-run this command. The output follows inline instead.]\n${result.stdout}`,
35
36
}
36
37
}
37
38
return{
38
39
...result,
39
-
stdout: `${result.stdout}\n[outputFile write failed — output returned inline instead]`,
40
+
stdout: `[NOT written to ${sink.path}: the write to your machine failed. The output follows inline instead.]\n${result.stdout}`,
0 commit comments