@catalyst-cloud/cli 0.16.19 → 0.16.21
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 +10 -0
- package/README.md +2 -0
- package/dist/args.js +19 -4
- package/dist/capabilities.js +1 -0
- package/dist/cli.js +1 -1
- package/dist/env/shell-declaration.js +147 -0
- package/dist/env/shell-docker.js +137 -0
- package/dist/env/shell-plan.js +120 -0
- package/dist/env/shell-pull.js +123 -0
- package/dist/env/shell.js +288 -0
- package/dist/env.js +11 -6
- package/dist/execution.js +28 -7
- package/dist/onboard-accounts.js +4 -2
- package/dist/onboard-next.js +9 -3
- package/dist/onboard-runner-egress.js +13 -4
- package/dist/onboard-runner.js +1 -1
- package/dist/setup-render.js +15 -13
- package/package.json +1 -1
- package/skills/catalyst-github/SKILL.md +1 -1
- package/skills/catalyst-linear/SKILL.md +1 -1
- package/skills/catalyst-onboard/SKILL.md +1 -1
- package/skills/catalyst-onboard/scripts/where-am-i.mjs +3 -2
- package/skills/run-this-project/SKILL.md +1 -1
- package/skills/unstick/SKILL.md +1 -1
- package/skills/what-needs-me/SKILL.md +1 -1
- package/skills/what-this-repo-needs/SKILL.md +1 -1
- package/skills/whats-happening/SKILL.md +1 -1
- package/skills/whats-happening/references/coding-accounts.md +1 -1
- package/vendor/install-session-egress.sh +30 -0
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
Use for "what's happening?", "what machines do we have?", "how much capacity do we have?", "where are we?", "why is that stuck?", "what closed?", "what's next?", "how does this work?", "why did it do that?", "how does it prioritise?" and "what does this setting do, where is it set?" in Catalyst Cloud, or asks for something to be done rather than known. Reads the contract via catalyst CLI. Read-only: route work/decisions, never answer as the human.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.16.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.16.21 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# What's happening
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Coding accounts
|
|
2
2
|
|
|
3
|
-
snapshot.mjs --accounts omits credentials/emails. An owner/admin enrols, pauses, removes or replaces credentials at `<their cloud>/settings/coding-accounts`; no command does these yet. `catalyst accounts` reads them.
|
|
3
|
+
snapshot.mjs --accounts omits credentials/emails. An owner/admin enrols, pauses, removes or replaces credentials at `<their cloud>/settings/coding-accounts`; no command does these yet. `catalyst accounts` reads them. It leaves out removed accounts (revoked, or paid access that ended). They are kept for history, never take work again and take no new credential, so never suggest reviving one. `catalyst accounts --all` lists them.
|
|
4
4
|
|
|
5
5
|
Slots identify credentials, not emails. Claude/GLM/Qwen use Claude CLI, Codex uses Codex; GLM/Qwen also use OpenCode. Routing names the model.
|
|
6
6
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Installs Catalyst's session egress service on a native Linux runner machine, from the files
|
|
3
|
+
# that ship with this catalyst CLI. Setup prints the one command that runs it as root from a
|
|
4
|
+
# checked root-owned copy, passing the CLI's vendor folder as $1. It copies the files into a
|
|
5
|
+
# root-owned folder, checks their fingerprints there, and installs only checked bytes.
|
|
6
|
+
set -eu
|
|
7
|
+
if [ "$(id -u)" != 0 ]; then
|
|
8
|
+
echo "Run this with sudo: sudo sh '$0'" >&2
|
|
9
|
+
exit 1
|
|
10
|
+
fi
|
|
11
|
+
src="${1:-$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)}/self-host/linux-session-egress"
|
|
12
|
+
work="$(mktemp -d)"
|
|
13
|
+
trap 'rm -rf "$work"' EXIT
|
|
14
|
+
for name in session-egress.py catalyst-session-egress.service catalyst-session-egress-attest.service catalyst-session-egress-attest.timer; do
|
|
15
|
+
cp "$src/$name" "$work/$name"
|
|
16
|
+
done
|
|
17
|
+
(cd "$work" && sha256sum -c --quiet -) <<'SUMS'
|
|
18
|
+
a20cedfa1e883127ec461e4b7f9588d379fe1633b8244ecd703c81f589d3f142 session-egress.py
|
|
19
|
+
703c150ab23ec87aea47cfc394f63e061b66c4b8c1454a88a9be879c161ce2a5 catalyst-session-egress.service
|
|
20
|
+
94fa75ea0616f6a1172fc20ca637a5727c36456357e4a977d5bdd65f2fad2e8d catalyst-session-egress-attest.service
|
|
21
|
+
176622c11c835601b95f36e375ba3c2e993136976c67e5d49559f13a3454fef9 catalyst-session-egress-attest.timer
|
|
22
|
+
SUMS
|
|
23
|
+
install -D -o root -g root -m 755 "$work/session-egress.py" /usr/lib/catalyst/session-egress.py
|
|
24
|
+
for unit in catalyst-session-egress.service catalyst-session-egress-attest.service catalyst-session-egress-attest.timer; do
|
|
25
|
+
install -o root -g root -m 644 "$work/$unit" "/etc/systemd/system/$unit"
|
|
26
|
+
done
|
|
27
|
+
systemctl daemon-reload
|
|
28
|
+
systemctl enable --now catalyst-session-egress.service catalyst-session-egress-attest.timer
|
|
29
|
+
/usr/bin/python3 /usr/lib/catalyst/session-egress.py attest
|
|
30
|
+
echo "Session egress is installed. Run the same catalyst setup command again."
|