@giamme/forge 0.11.0 → 0.12.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.
- package/CHANGELOG.md +47 -0
- package/SKILL.md +4 -2
- package/VERSION +1 -1
- package/docs/artifacts.md +46 -12
- package/docs/commands.md +48 -9
- package/docs/decomposed-runs.md +43 -2
- package/docs/forge-ui.md +27 -6
- package/docs/reviews.md +31 -6
- package/package.json +1 -1
- package/references/dataset.md +3 -1
- package/references/decompose.md +159 -17
- package/references/harnesses.md +13 -1
- package/references/ui.md +14 -4
- package/scripts/forge-control.py +268 -25
- package/scripts/forge-dispatch.sh +80 -3
- package/scripts/forge-guard.py +156 -15
- package/scripts/forge-issues.py +1 -1
- package/scripts/forge-lib-plans.sh +9 -3
- package/scripts/forge-lib-review.sh +22 -3
- package/scripts/forge-lib-task.sh +51 -4
- package/scripts/forge-lib-verify.sh +137 -6
- package/scripts/forge-parallel-options.sh +59 -0
- package/scripts/forge-parallel.sh +212 -28
- package/scripts/forge-ripwire.py +1 -1
- package/scripts/forge-route.py +157 -5
- package/scripts/forge-schedule.py +687 -50
- package/scripts/forge-ui.py +8 -4
- package/scripts/forge-verify.py +878 -0
- package/scripts/forge_dataset/forecast.py +29 -4
- package/scripts/forge_dataset/harvest.py +10 -4
- package/scripts/forge_verify_reports.py +225 -0
- package/ui/README.md +19 -4
- package/ui/docs/api.md +139 -25
- package/ui/forge_ui/control.py +26 -7
- package/ui/forge_ui/export.py +20 -7
- package/ui/forge_ui/reader.py +307 -11
- package/ui/forge_ui/server.py +16 -0
- package/ui/forge_ui/static/app.js +2 -1
- package/ui/forge_ui/static/controls.js +217 -33
- package/ui/forge_ui/static/findingsview.js +37 -12
- package/ui/forge_ui/static/gantt.js +14 -9
- package/ui/forge_ui/static/index.html +1 -0
- package/ui/forge_ui/static/panel.js +2 -1
- package/ui/forge_ui/static/runmodel.js +92 -11
- package/ui/forge_ui/static/scene3d.js +9 -5
- package/ui/forge_ui/static/settings.js +48 -12
- package/ui/forge_ui/static/style.css +60 -0
- package/ui/forge_ui/static/verifyview.js +324 -0
package/scripts/forge-ui.py
CHANGED
|
@@ -355,12 +355,16 @@ def cmd_open(args):
|
|
|
355
355
|
# the record and the live answer must both name this code and the mode asked for
|
|
356
356
|
if (server.get('build') == build and answer.get('build') == build and server.get('registry') == registry
|
|
357
357
|
and bool(server.get('read_only')) == read_only and is_read_only(answer) == read_only):
|
|
358
|
-
# Reused,
|
|
359
|
-
#
|
|
358
|
+
# Reused, its CLIs would run with another registry and dataset. A server that takes
|
|
359
|
+
# writes may be in the middle of one, which a restart could cut off: say so instead,
|
|
360
|
+
# and how to restart it. A read-only one has none to cut off: replace it.
|
|
360
361
|
change = config_change(server.get('cli_env'), cli_env)
|
|
361
|
-
if change:
|
|
362
|
+
if change and read_only:
|
|
363
|
+
terminate(server['pid'])
|
|
364
|
+
server = None
|
|
365
|
+
elif change:
|
|
362
366
|
_say(f'error: the running forge-ui (pid {server["pid"]}) has another forge configuration '
|
|
363
|
-
f'for its
|
|
367
|
+
f'for its CLIs: {change}. Run `forge ui stop`, then open again.')
|
|
364
368
|
return 5
|
|
365
369
|
else:
|
|
366
370
|
terminate(server['pid'])
|