Files
gabrielvidalandClaude Opus 5.5 1c250cd3f8 feat(resources): conv CLI — conv add/title/rm/show on the lab and on a worker
`conv` (= `notify conv`, cli/conv shim) records what a conversation is
about: a URL, an issue key, #PR or a branch parsed by resource_urls into a
canonical resource (--title/--label/--state/--primary), straight onto the
hub's metadata on the lab or as a met_ outbox item on a worker. `conv title`
renames (titleSource agent — never over the owner's rename), `conv rm`
hides a resource, `conv show` lists them (lab). Also: the meta route
checked for a primary after MetaStore.update had popped the resources, so
the first resolve never stamped the title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 17:30:07 +02:00

10 lines
444 B
Bash
Executable File

#!/usr/bin/env bash
# conv — record what this conversation is about: `conv add <url|key>`,
# `conv title "…"`, `conv rm`, `conv show` (the ai-agent notify CLI's `conv`
# command, see notify.py). Stdlib python3 only, so it runs on the lab host and
# on a remote worker alike (there through the worker's outbox).
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export NOTIFY_AS=conv
exec python3 "$HERE/notify.py" "$@"