launch.max becomes launch.models plus launch.limits (total, providers, exact provider/model). The launcher re-reads limits on every attempt. Settings and `mosaic limits` write through one locked, journaled organization writer. `mosaic limits migrate` is print-only. Candidate 00b84e311475f97ced0d9a9599fba23a28442971ed15d8d489d9422d84a8812e, Rocko packet4b6e50636, Filbert round 2 approve (comment 28542). Landing gate at0c56cc2d4: 23 suites green. Decision 123 go from Mos. Co-Authored-By: Claude Opus 5.5 <[email protected]>
30 lines
1.2 KiB
Bash
Executable File
30 lines
1.2 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# `mosaic launch <seat>` and `mosaic seat task <seat> <text>`: seat launch
|
|
# with registration for the control board. See packages/seat/README.md.
|
|
# `mosaic queue <verb>`: the work queue. See packages/queue/README.md.
|
|
# `mosaic business <verb>`: business files and role instances. See
|
|
# packages/business/README.md.
|
|
# `mosaic inbox|decide|tasks|agents|trail|talk|stop|launches` and
|
|
# `mosaic bus start|stop|status`: the human commands, managed sessions and
|
|
# the bus host. See packages/cli/README.md.
|
|
# Not the npm-global `mosaic` CLI from the estate tooling; this one is
|
|
# repository-local and only reachable as scripts/mosaic.
|
|
set -euo pipefail
|
|
REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
# No argument: the full-screen app on a terminal (packages/cli/README.md).
|
|
if [ $# -eq 0 ]; then
|
|
exec node "$REPO/packages/cli/src/cli.mjs"
|
|
fi
|
|
if [ "${1:-}" = queue ]; then
|
|
shift
|
|
exec node "$REPO/packages/queue/src/cli.mjs" "$@"
|
|
fi
|
|
if [ "${1:-}" = business ]; then
|
|
shift
|
|
exec node "$REPO/packages/business/src/cli.mjs" "$@"
|
|
fi
|
|
case "${1:-}" in
|
|
limits|inbox|decide|tasks|agents|trail|talk|stop|launches|bus) exec node "$REPO/packages/cli/src/cli.mjs" "$@" ;;
|
|
esac
|
|
exec node "$REPO/packages/seat/src/cli.mjs" "$@"
|