clavarium 0.2.243-next.1 → 0.2.243
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/config/launch/claude-code.sh +40 -19
- package/config/launch/codex.sh +37 -0
- package/config/launch/json-set.mjs +5 -2
- package/config/launch/mcp-relay.mjs +98 -0
- package/config/launch/mcp-sock.sh +31 -0
- package/config/launch/screen-watch.mjs +175 -0
- package/config/launch/toml-block.mjs +26 -0
- package/config/launch/tools-host.mjs +93 -0
- package/config/launch/vibe.sh +40 -0
- package/config/machine/clavarium-beat +44 -0
- package/config/machine/clavarium-beat-one +40 -0
- package/config/machine/clavarium-enter +60 -0
- package/config/tools.json +170 -12
- package/deploy/clavarium-host +385 -31
- package/deploy/clavarium-tunnel +14 -3
- package/deploy/clavarium.mjs +4 -0
- package/deploy/git-read +57 -5
- package/deploy/install.sh +11 -5
- package/deploy/maintenance.html +5 -2
- package/deploy/online.mjs +251 -8
- package/deploy/relay.sh +53 -27
- package/deploy/tunnel.mjs +7 -5
- package/deploy/updater.mjs +168 -25
- package/npm-shrinkwrap.json +18 -18
- package/package.json +6 -5
- package/server/agenda.mjs +140 -0
- package/server/api.mjs +384 -28
- package/server/apikeys.mjs +1372 -0
- package/server/beat.mjs +189 -0
- package/server/binders.mjs +42 -0
- package/server/boxcollect.mjs +276 -0
- package/server/boxes.mjs +348 -29
- package/server/bridge.mjs +13 -4
- package/server/browsers.mjs +364 -0
- package/server/capacity.mjs +37 -10
- package/server/carry.mjs +143 -0
- package/server/catalog.mjs +48 -0
- package/server/contactview.mjs +122 -0
- package/server/conversations.mjs +1122 -46
- package/server/copywork.mjs +34 -0
- package/server/demandes.mjs +251 -0
- package/server/desktop.mjs +102 -0
- package/server/devices.mjs +1 -0
- package/server/dictation-engines.mjs +91 -0
- package/server/dockets.mjs +58 -7
- package/server/door.mjs +19 -5
- package/server/events.mjs +3 -0
- package/server/features.mjs +366 -0
- package/server/files.mjs +43 -1
- package/server/gitaccess.mjs +12 -3
- package/server/gitchecks.mjs +17 -3
- package/server/gitkeeper.mjs +45 -10
- package/server/gitpush.mjs +286 -71
- package/server/gitrunner.mjs +144 -10
- package/server/grants.mjs +47 -11
- package/server/guide.mjs +31 -10
- package/server/health.mjs +138 -12
- package/server/jobs.mjs +138 -0
- package/server/linkguard.mjs +191 -0
- package/server/machinelist.mjs +58 -0
- package/server/mailbox.mjs +8 -0
- package/server/mailref.mjs +90 -0
- package/server/mailview.mjs +204 -0
- package/server/main.mjs +426 -48
- package/server/mcpoauth.mjs +338 -0
- package/server/mcpx.mjs +186 -0
- package/server/network.mjs +125 -13
- package/server/profile.mjs +129 -0
- package/server/relayjoin.mjs +67 -0
- package/server/resources.mjs +6 -0
- package/server/revive.mjs +70 -0
- package/server/rooms.mjs +496 -0
- package/server/secrets.mjs +25 -12
- package/server/serverlogs.mjs +30 -4
- package/server/settingswords.mjs +376 -0
- package/server/signin.mjs +25 -8
- package/server/signinhelp.mjs +253 -0
- package/server/speech.mjs +40 -4
- package/server/spoken.mjs +60 -0
- package/server/sshconsole.mjs +99 -0
- package/server/sshmachine.mjs +76 -0
- package/server/store.mjs +15 -1
- package/server/suggest.mjs +5 -1
- package/server/talk.mjs +229 -55
- package/server/tethers.mjs +223 -13
- package/server/toolbox.mjs +30 -7
- package/server/tools.mjs +38 -6
- package/server/updates.mjs +7 -2
- package/server/vm.mjs +215 -46
- package/server/vmwatch.mjs +82 -23
- package/server/voice.mjs +165 -51
- package/server/wakelearn.mjs +214 -0
- package/server/wakeups.mjs +42 -2
- package/server/watchdog.mjs +102 -0
- package/web/app.js +5491 -1242
- package/web/desk.js +531 -0
- package/web/device.html +15 -2
- package/web/features.js +480 -0
- package/web/index.html +877 -490
- package/web/kit.js +1142 -0
- package/web/links.js +2 -2
- package/web/mail-view.js +386 -0
- package/web/manifest.webmanifest +4 -0
- package/web/style.css +1554 -273
- package/web/voice-core.js +48 -0
- package/web/voice.js +13 -5
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# THE HEARTBEAT OF A MACHINE (step 6), run as root by its timer (clavarium-beat.timer, every minute or so):
|
|
3
|
+
# for the conversation of a machine of its own, or for each conversation living in a shared one, the look its
|
|
4
|
+
# server made by a command every two minutes (health.mjs, PROBE) is made here, as that conversation's own user,
|
|
5
|
+
# and written into its /work (beat-one). Its server reads it from its own side: no command into the machine.
|
|
6
|
+
#
|
|
7
|
+
# Root reads nothing that a conversation wrote: only its own settings (beat.conf, written at install) and its
|
|
8
|
+
# own counters (/var/lib/clavarium/beat). Each conversation is given a bounded time; a dead /work only stops
|
|
9
|
+
# its beat, and its server then looks the usual way.
|
|
10
|
+
set -u
|
|
11
|
+
lib=/usr/local/lib/clavarium
|
|
12
|
+
state=/var/lib/clavarium/beat
|
|
13
|
+
mode=""; conversation=""; version=""
|
|
14
|
+
[ -r "$lib/beat.conf" ] || exit 0
|
|
15
|
+
while IFS='=' read -r k v; do
|
|
16
|
+
case "$k" in mode) mode=$v ;; conversation) conversation=$v ;; version) version=$v ;; esac
|
|
17
|
+
done < "$lib/beat.conf"
|
|
18
|
+
printf '%s' "$version" | grep -Eq '^[0-9A-Za-z.+-]{1,64}$' || exit 0
|
|
19
|
+
ok_name() { printf '%s' "$1" | grep -Eq '^[a-z]([a-z0-9-]{0,30}[a-z0-9])?$'; }
|
|
20
|
+
mkdir -p "$state"; chmod 700 "$state"
|
|
21
|
+
# Its next number: a beat that does not grow is not a new one (read by its server).
|
|
22
|
+
next() {
|
|
23
|
+
n=$(head -c 20 "$state/$1.seq" 2>/dev/null) || n=0
|
|
24
|
+
case "$n" in ''|*[!0-9]*) n=0 ;; esac
|
|
25
|
+
n=$((n + 1)); printf '%s\n' "$n" > "$state/$1.seq"; printf '%s' "$n"
|
|
26
|
+
}
|
|
27
|
+
case "$mode" in
|
|
28
|
+
own)
|
|
29
|
+
ok_name "$conversation" || exit 0
|
|
30
|
+
n=$(next "$conversation")
|
|
31
|
+
cd / && timeout -k 5 45 runuser -u ubuntu -- env HOME=/home/ubuntu sh "$lib/beat-one" "$conversation" "$n" "$version" </dev/null >/dev/null 2>&1 || true ;;
|
|
32
|
+
shared)
|
|
33
|
+
# Only a conversation whose work is shown here now (the host mounts it at /srv/clavarium/NAME/work);
|
|
34
|
+
# at most 64 of them, one after another.
|
|
35
|
+
i=0
|
|
36
|
+
for d in /srv/clavarium/*/; do
|
|
37
|
+
[ "$i" -lt 64 ] || break
|
|
38
|
+
c=$(basename "$d"); ok_name "$c" || continue
|
|
39
|
+
mountpoint -q "/srv/clavarium/$c/work" 2>/dev/null || continue
|
|
40
|
+
i=$((i + 1)); n=$(next "$c")
|
|
41
|
+
timeout -k 5 45 /usr/local/sbin/clavarium-enter "$c" -- sh "$lib/beat-one" "$c" "$n" "$version" </dev/null >/dev/null 2>&1 || true
|
|
42
|
+
done ;;
|
|
43
|
+
esac
|
|
44
|
+
exit 0
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ONE BEAT OF ONE CONVERSATION, as its own user (ubuntu in a machine of its own, c-NAME behind its door):
|
|
3
|
+
# beat-one NAME SEQ VERSION
|
|
4
|
+
# Runs its server's look (probe.sh, exactly PROBE of health.mjs) with the paths its server expects mounted
|
|
5
|
+
# (/work/.clavarium/expected, written by the server), and writes what it printed, as JSON, to
|
|
6
|
+
# /work/.clavarium/beat.json -- whole or not at all (a file aside, then moved). Its server checks every word
|
|
7
|
+
# of it: the agent is root here, and may write anything there.
|
|
8
|
+
# CLAVARIUM_BEAT_WORK, CLAVARIUM_BEAT_LIB: other places, for its tests only.
|
|
9
|
+
set -u
|
|
10
|
+
name="$1"; seq="$2"; version="$3"
|
|
11
|
+
work="${CLAVARIUM_BEAT_WORK:-/work}"
|
|
12
|
+
lib="${CLAVARIUM_BEAT_LIB:-/usr/local/lib/clavarium}"
|
|
13
|
+
dir="$work/.clavarium"
|
|
14
|
+
[ -d "$work" ] || exit 0
|
|
15
|
+
# A link there is not followed: the agent may have put it.
|
|
16
|
+
[ -L "$dir" ] && exit 0
|
|
17
|
+
mkdir -p "$dir" 2>/dev/null || exit 0
|
|
18
|
+
set --
|
|
19
|
+
if [ -f "$dir/expected" ] && [ ! -L "$dir/expected" ]; then
|
|
20
|
+
n=0
|
|
21
|
+
while IFS= read -r p; do
|
|
22
|
+
[ "$n" -lt 100 ] || break
|
|
23
|
+
printf '%s' "$p" | grep -Eq '^/[A-Za-z0-9._/-]{1,200}$' || continue
|
|
24
|
+
set -- "$@" "$p"; n=$((n + 1))
|
|
25
|
+
done < "$dir/expected"
|
|
26
|
+
fi
|
|
27
|
+
out=$(timeout -k 2 30 sh "$lib/probe.sh" "$@" 2>/dev/null | head -c 12000)
|
|
28
|
+
# Its text as a JSON string: backslash and quote escaped, a tab written \t, lines joined by \n, any other
|
|
29
|
+
# control character left out. Character by character: every awk reads it the same way.
|
|
30
|
+
probe=$(printf '%s\n' "$out" | awk 'BEGIN { for (i = 1; i < 32; i++) drop[sprintf("%c", i)] = 1 }
|
|
31
|
+
{ s = ""; n = length($0)
|
|
32
|
+
for (i = 1; i <= n; i++) { c = substr($0, i, 1)
|
|
33
|
+
if (c == "\\") s = s "\\\\"; else if (c == "\"") s = s "\\\""; else if (c == "\t") s = s "\\t"; else if (!(c in drop)) s = s c }
|
|
34
|
+
all = all (NR > 1 ? "\\n" : "") s }
|
|
35
|
+
END { printf "%s", all }')
|
|
36
|
+
tmp="$dir/.beat.$$"
|
|
37
|
+
printf '{"v":1,"conversation":"%s","seq":%s,"version":"%s","probe":"%s"}\n' "$name" "$seq" "$version" "$probe" > "$tmp" || { rm -f "$tmp"; exit 0; }
|
|
38
|
+
# A share that does not replace a file by a rename: the old one taken away first.
|
|
39
|
+
mv -f "$tmp" "$dir/beat.json" 2>/dev/null || { rm -f "$dir/beat.json"; mv -f "$tmp" "$dir/beat.json"; } || rm -f "$tmp"
|
|
40
|
+
exit 0
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# THE DOOR OF A CONVERSATION IN A SHARED MACHINE (#221), run as root by Clavarium for everything it runs for
|
|
3
|
+
# that conversation: clavarium-enter NAME -- COMMAND [ARGS...]
|
|
4
|
+
#
|
|
5
|
+
# The command runs as the conversation's own user (c-NAME, no sudo), in a mount namespace of its own where
|
|
6
|
+
# /work is THIS conversation's work (the host mounts it at /srv/clavarium/NAME/work),
|
|
7
|
+
# /resources/* are only those given to it (/srv/clavarium/NAME/resources),
|
|
8
|
+
# /tools is the machine's (the same for all, read-only),
|
|
9
|
+
# ~ is /home/c-NAME (closed to the others),
|
|
10
|
+
# /tmp, /var/tmp and /dev/shm are its own,
|
|
11
|
+
# /run/secrets and /etc/clavarium/conversation.md are its own (/run/clavarium/own/NAME, /etc/clavarium/own/NAME.md),
|
|
12
|
+
# within a slice of its own (memory, processes: /etc/clavarium/limits/NAME, set by Clavarium). Seen from inside,
|
|
13
|
+
# a conversation is alone in its machine: no tool, no agent needs to know.
|
|
14
|
+
set -eu
|
|
15
|
+
[ "$(id -u)" -eq 0 ] || { echo "clavarium-enter: run as root" >&2; exit 77; }
|
|
16
|
+
name="${1:-}"; shift || true
|
|
17
|
+
[ "${1:-}" = "--" ] && shift
|
|
18
|
+
printf '%s' "$name" | grep -Eq '^[a-z]([a-z0-9-]{0,30}[a-z0-9])?$' || { echo "clavarium-enter: not a conversation name" >&2; exit 64; }
|
|
19
|
+
[ $# -gt 0 ] || { echo "clavarium-enter: no command" >&2; exit 64; }
|
|
20
|
+
user="c-$name"; base="/srv/clavarium/$name"
|
|
21
|
+
# Its user, made at its first entry: a home of its own, closed to the others; no sudo, ever.
|
|
22
|
+
if ! id "$user" >/dev/null 2>&1; then
|
|
23
|
+
useradd --create-home --home-dir "/home/$user" --shell /bin/bash --user-group "$user"
|
|
24
|
+
fi
|
|
25
|
+
chmod 700 "/home/$user"
|
|
26
|
+
mkdir -p "$base/work" "$base/resources" "$base/tmp" "$base/vartmp"
|
|
27
|
+
# Its place closed to the others (its own views of it are made below, as root): never another's /work by its path.
|
|
28
|
+
chown root:root /srv/clavarium "$base"; chmod 711 /srv/clavarium; chmod 700 "$base"
|
|
29
|
+
chown "$user:$user" "$base/tmp" "$base/vartmp"; chmod 700 "$base/tmp" "$base/vartmp"
|
|
30
|
+
# Its secrets and its guide: its own, written by Clavarium, shown at the usual places (never the others').
|
|
31
|
+
own="/run/clavarium/own/$name"; mkdir -p "$own/secrets"; chmod 711 /run/clavarium /run/clavarium/own
|
|
32
|
+
chown "$user:$user" "$own/secrets"; chmod 700 "$own/secrets"
|
|
33
|
+
mkdir -p /etc/clavarium/own /run/secrets; chmod 711 /etc/clavarium/own
|
|
34
|
+
[ -e "/etc/clavarium/own/$name.md" ] || install -m 0440 -o root -g "$user" /dev/null "/etc/clavarium/own/$name.md"
|
|
35
|
+
[ -e /etc/clavarium/conversation.md ] || install -m 0444 /dev/null /etc/clavarium/conversation.md
|
|
36
|
+
# Its limits (memory in MB, processes), when Clavarium set them.
|
|
37
|
+
mem=""; procs=""
|
|
38
|
+
[ -r "/etc/clavarium/limits/$name" ] && . "/etc/clavarium/limits/$name"
|
|
39
|
+
# Into its own mount namespace: its /work, its resources, its /tmp; then its user, in its slice.
|
|
40
|
+
exec unshare --mount --propagation private -- sh -c '
|
|
41
|
+
set -eu
|
|
42
|
+
base="$1"; user="$2"; mem="$3"; procs="$4"; name="$5"; shift 5
|
|
43
|
+
mkdir -p /work /resources
|
|
44
|
+
mount --bind "$base/work" /work
|
|
45
|
+
mount -t tmpfs -o mode=755,size=1m none /resources
|
|
46
|
+
for r in "$base"/resources/*; do [ -e "$r" ] || continue; mkdir -p "/resources/$(basename "$r")"; mount --rbind "$r" "/resources/$(basename "$r")"; done
|
|
47
|
+
mount --bind "$base/tmp" /tmp
|
|
48
|
+
mount --bind "$base/vartmp" /var/tmp
|
|
49
|
+
mount -t tmpfs -o mode=1777,size=64m none /dev/shm
|
|
50
|
+
mount --bind "/run/clavarium/own/$name/secrets" /run/secrets
|
|
51
|
+
mount --bind "/etc/clavarium/own/$name.md" /etc/clavarium/conversation.md
|
|
52
|
+
# The processes of the others hidden (a procfs of its own, Linux 5.8+): only its own are seen.
|
|
53
|
+
mount -t proc -o hidepid=invisible proc /proc 2>/dev/null || true
|
|
54
|
+
cd "/home/$user" 2>/dev/null || cd /
|
|
55
|
+
set -- setpriv --reuid="$user" --regid="$user" --init-groups --reset-env -- env HOME="/home/$user" USER="$user" LOGNAME="$user" SHELL=/bin/bash PATH=/usr/local/bin:/usr/bin:/bin "$@"
|
|
56
|
+
if [ -n "$mem$procs" ] && command -v systemd-run >/dev/null 2>&1; then
|
|
57
|
+
exec systemd-run --quiet --scope --slice="clavarium-$user" ${mem:+-p MemoryMax=${mem}M} ${procs:+-p TasksMax=$procs} -- "$@"
|
|
58
|
+
fi
|
|
59
|
+
exec "$@"
|
|
60
|
+
' clavarium-enter "$base" "$user" "$mem" "$procs" "$name" "$@"
|
package/config/tools.json
CHANGED
|
@@ -12,6 +12,16 @@
|
|
|
12
12
|
"--continue"
|
|
13
13
|
],
|
|
14
14
|
"memoryMb": 2048,
|
|
15
|
+
"state": {
|
|
16
|
+
"keep": [
|
|
17
|
+
".claude",
|
|
18
|
+
".claude.json"
|
|
19
|
+
],
|
|
20
|
+
"skip": [
|
|
21
|
+
".claude/shell-snapshots",
|
|
22
|
+
".claude/statsig"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
15
25
|
"rights": {
|
|
16
26
|
"full": [
|
|
17
27
|
"--dangerously-skip-permissions",
|
|
@@ -36,13 +46,17 @@
|
|
|
36
46
|
"@anthropic-ai/claude-code"
|
|
37
47
|
],
|
|
38
48
|
"npm-writable",
|
|
49
|
+
[
|
|
50
|
+
"install",
|
|
51
|
+
"-D",
|
|
52
|
+
"-m",
|
|
53
|
+
"0600",
|
|
54
|
+
"/dev/null",
|
|
55
|
+
".claude/settings.json"
|
|
56
|
+
],
|
|
39
57
|
{
|
|
40
58
|
"argv": [
|
|
41
|
-
"
|
|
42
|
-
"-D",
|
|
43
|
-
"-m",
|
|
44
|
-
"0600",
|
|
45
|
-
"/dev/stdin",
|
|
59
|
+
"tee",
|
|
46
60
|
".claude/settings.json"
|
|
47
61
|
],
|
|
48
62
|
"input": "{\n \"theme\": \"dark-ansi\",\n \"permissions\": {\n \"allow\": [\n \"Bash(parley:*)\"\n ]\n }\n}\n"
|
|
@@ -58,6 +72,12 @@
|
|
|
58
72
|
"claude.ai",
|
|
59
73
|
"claude.com",
|
|
60
74
|
"anthropic.com"
|
|
75
|
+
],
|
|
76
|
+
"screen": [
|
|
77
|
+
"type:(Not logged in|Login expired|OAuth token (has )?expired|Invalid API key)[^\\n]{0,24}/login=/login",
|
|
78
|
+
"keys:Select login method:=Enter",
|
|
79
|
+
"link:https://(claude\\.ai|claude\\.com|console\\.anthropic\\.com)/\\S*oauth\\S*",
|
|
80
|
+
"code:Paste code here"
|
|
61
81
|
]
|
|
62
82
|
}
|
|
63
83
|
},
|
|
@@ -76,6 +96,15 @@
|
|
|
76
96
|
"--continue"
|
|
77
97
|
],
|
|
78
98
|
"memoryMb": 2048,
|
|
99
|
+
"state": {
|
|
100
|
+
"keep": [
|
|
101
|
+
".config/opencode",
|
|
102
|
+
".local/share/opencode"
|
|
103
|
+
],
|
|
104
|
+
"skip": [
|
|
105
|
+
".local/share/opencode/log"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
79
108
|
"rights": {
|
|
80
109
|
"full": [
|
|
81
110
|
"--auto"
|
|
@@ -94,7 +123,24 @@
|
|
|
94
123
|
"opencode-ai"
|
|
95
124
|
],
|
|
96
125
|
"npm-writable"
|
|
97
|
-
]
|
|
126
|
+
],
|
|
127
|
+
"signin": {
|
|
128
|
+
"senders": [
|
|
129
|
+
"anthropic.com",
|
|
130
|
+
"claude.com",
|
|
131
|
+
"claude.ai"
|
|
132
|
+
],
|
|
133
|
+
"links": [
|
|
134
|
+
"claude.ai",
|
|
135
|
+
"claude.com",
|
|
136
|
+
"anthropic.com"
|
|
137
|
+
],
|
|
138
|
+
"note": "15-11: screen rules from its Anthropic sign-in plugin (opencode-anthropic-auth 0.0.13: the link, then \"Paste the authorization code here\"); not tried on a real OpenCode screen; OpenCode has no launcher yet, so nothing reads them.",
|
|
139
|
+
"screen": [
|
|
140
|
+
"link:https://(claude\\.ai|console\\.anthropic\\.com)/oauth/authorize\\S*",
|
|
141
|
+
"code:Paste the authorization code here"
|
|
142
|
+
]
|
|
143
|
+
}
|
|
98
144
|
},
|
|
99
145
|
{
|
|
100
146
|
"id": "guichet",
|
|
@@ -118,13 +164,17 @@
|
|
|
118
164
|
"@anthropic-ai/claude-code"
|
|
119
165
|
],
|
|
120
166
|
"npm-writable",
|
|
167
|
+
[
|
|
168
|
+
"install",
|
|
169
|
+
"-D",
|
|
170
|
+
"-m",
|
|
171
|
+
"0600",
|
|
172
|
+
"/dev/null",
|
|
173
|
+
".claude/settings.json"
|
|
174
|
+
],
|
|
121
175
|
{
|
|
122
176
|
"argv": [
|
|
123
|
-
"
|
|
124
|
-
"-D",
|
|
125
|
-
"-m",
|
|
126
|
-
"0600",
|
|
127
|
-
"/dev/stdin",
|
|
177
|
+
"tee",
|
|
128
178
|
".claude/settings.json"
|
|
129
179
|
],
|
|
130
180
|
"input": "{\n \"theme\": \"dark-ansi\",\n \"permissions\": {\n \"allow\": [\n \"Bash(parley:*)\"\n ]\n }\n}\n"
|
|
@@ -156,6 +206,14 @@
|
|
|
156
206
|
"--last"
|
|
157
207
|
],
|
|
158
208
|
"memoryMb": 2048,
|
|
209
|
+
"state": {
|
|
210
|
+
"keep": [
|
|
211
|
+
".codex"
|
|
212
|
+
],
|
|
213
|
+
"skip": [
|
|
214
|
+
".codex/log"
|
|
215
|
+
]
|
|
216
|
+
},
|
|
159
217
|
"rights": {
|
|
160
218
|
"full": [
|
|
161
219
|
"--dangerously-bypass-approvals-and-sandbox"
|
|
@@ -174,7 +232,95 @@
|
|
|
174
232
|
"@openai/codex"
|
|
175
233
|
],
|
|
176
234
|
"npm-writable"
|
|
177
|
-
]
|
|
235
|
+
],
|
|
236
|
+
"launch": "codex.sh",
|
|
237
|
+
"signin": {
|
|
238
|
+
"senders": [
|
|
239
|
+
"openai.com"
|
|
240
|
+
],
|
|
241
|
+
"links": [
|
|
242
|
+
"openai.com",
|
|
243
|
+
"chatgpt.com"
|
|
244
|
+
],
|
|
245
|
+
"note": "15-11: the links codex.sh watched (02-11); a device sign-in shows a one-time code beside its link, handed over with it.",
|
|
246
|
+
"screen": [
|
|
247
|
+
"link:https://auth\\.openai\\.com/\\S+",
|
|
248
|
+
"link:https://chatgpt\\.com/\\S*auth\\S*"
|
|
249
|
+
]
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "vibe",
|
|
254
|
+
"instructions": ".vibe/AGENTS.md",
|
|
255
|
+
"label": "Mistral Vibe",
|
|
256
|
+
"launch": "vibe.sh",
|
|
257
|
+
"command": [
|
|
258
|
+
"vibe"
|
|
259
|
+
],
|
|
260
|
+
"resume": [
|
|
261
|
+
"vibe",
|
|
262
|
+
"--continue"
|
|
263
|
+
],
|
|
264
|
+
"memoryMb": 2048,
|
|
265
|
+
"state": {
|
|
266
|
+
"keep": [
|
|
267
|
+
".vibe"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"rights": {
|
|
271
|
+
"full": [
|
|
272
|
+
"--auto-approve"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
"install": [
|
|
276
|
+
[
|
|
277
|
+
"sudo",
|
|
278
|
+
"-n",
|
|
279
|
+
"apt-get",
|
|
280
|
+
"install",
|
|
281
|
+
"-y",
|
|
282
|
+
"-q",
|
|
283
|
+
"--no-install-recommends",
|
|
284
|
+
"python3-venv"
|
|
285
|
+
],
|
|
286
|
+
[
|
|
287
|
+
"sudo",
|
|
288
|
+
"-n",
|
|
289
|
+
"python3",
|
|
290
|
+
"-m",
|
|
291
|
+
"venv",
|
|
292
|
+
"/opt/vibe"
|
|
293
|
+
],
|
|
294
|
+
[
|
|
295
|
+
"sudo",
|
|
296
|
+
"-n",
|
|
297
|
+
"/opt/vibe/bin/pip",
|
|
298
|
+
"install",
|
|
299
|
+
"-q",
|
|
300
|
+
"--disable-pip-version-check",
|
|
301
|
+
"mistral-vibe"
|
|
302
|
+
],
|
|
303
|
+
[
|
|
304
|
+
"sudo",
|
|
305
|
+
"-n",
|
|
306
|
+
"ln",
|
|
307
|
+
"-sf",
|
|
308
|
+
"/opt/vibe/bin/vibe",
|
|
309
|
+
"/usr/local/bin/vibe"
|
|
310
|
+
]
|
|
311
|
+
],
|
|
312
|
+
"signin": {
|
|
313
|
+
"senders": [
|
|
314
|
+
"mistral.ai"
|
|
315
|
+
],
|
|
316
|
+
"links": [
|
|
317
|
+
"mistral.ai"
|
|
318
|
+
],
|
|
319
|
+
"note": "15-11: screen rule from mistral-vibe 3.1.2 (browser sign-in at console.mistral.ai, which it then polls: no code to type); its own words on the screen not tried.",
|
|
320
|
+
"screen": [
|
|
321
|
+
"link:https://(console|auth)\\.mistral\\.ai/\\S+"
|
|
322
|
+
]
|
|
323
|
+
}
|
|
178
324
|
},
|
|
179
325
|
{
|
|
180
326
|
"id": "gemini",
|
|
@@ -189,6 +335,11 @@
|
|
|
189
335
|
"latest"
|
|
190
336
|
],
|
|
191
337
|
"memoryMb": 2048,
|
|
338
|
+
"state": {
|
|
339
|
+
"keep": [
|
|
340
|
+
".gemini"
|
|
341
|
+
]
|
|
342
|
+
},
|
|
192
343
|
"rights": {
|
|
193
344
|
"full": [
|
|
194
345
|
"--yolo",
|
|
@@ -218,6 +369,13 @@
|
|
|
218
369
|
"-l"
|
|
219
370
|
],
|
|
220
371
|
"memoryMb": 768,
|
|
372
|
+
"state": {
|
|
373
|
+
"keep": [
|
|
374
|
+
".bash_history",
|
|
375
|
+
".bashrc",
|
|
376
|
+
".profile"
|
|
377
|
+
]
|
|
378
|
+
},
|
|
221
379
|
"install": []
|
|
222
380
|
}
|
|
223
381
|
]
|