@hanzo/build 0.2.97 → 0.2.98
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/lib/run.js +5 -1
- package/package.json +1 -1
package/lib/run.js
CHANGED
|
@@ -357,7 +357,11 @@ export function Run({ id }) {
|
|
|
357
357
|
setDesk(true);
|
|
358
358
|
}, listen: signed ? listen : undefined, end: failed ? (_jsx(Failure, { onRetry: busy ? undefined : () => void act(() => carry(again, 'retry')), children: end.problem
|
|
359
359
|
? say('This run stopped before it finished.')
|
|
360
|
-
:
|
|
360
|
+
: // Only a run that pushed has work on its branch (turn.ts settled): one that failed before it
|
|
361
|
+
// changed anything left no branch, and Try again starts over from where it began.
|
|
362
|
+
kept.pushed
|
|
363
|
+
? `${say('This run stopped with an error.')} ${say('Its work so far is on its branch.')}`
|
|
364
|
+
: `${say('This run stopped with an error.')} ${say('It saved nothing to its branch, so Try again starts over.')}` })) : null,
|
|
361
365
|
// A paused run's agent was stopped where it stood; what it was running is cut off.
|
|
362
366
|
live: running && !paused, header: hidden ? (_jsx(SizableText, { size: "$1", color: "$soft", children: `${hidden === 1 ? say('{n} earlier turn is not shown.', { n: hidden }) : say('{n} earlier turns are not shown.', { n: hidden })} ${say('The run’s Git tab has everything it pushed.')}` })) : null, onApprove: planned && earlier ? (p) => void act(() => carry(p, 'approve')) : undefined, approving: busy, onVerdict: (v) => verdict(t, id, record?.project ?? '', v), empty: signed ? (_jsx(SizableText, { size: "$2", color: "$soft", children: detail.error
|
|
363
367
|
? say(detail.error.message)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/build",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.98",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"description": "Hanzo Build — say what you want, watch it built, deployed and running. The builder as a component, mounted by the Hanzo app at hanzo.ai.",
|