omnilane 0.42.9 → 0.45.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/bin/omnilane CHANGED
@@ -60,6 +60,30 @@ case "$cmd" in
60
60
  }
61
61
  exec python3 "$REPO/scripts/lib/caller_identity.py" "$@"
62
62
  ;;
63
+ native-context)
64
+ command -v python3 >/dev/null 2>&1 || {
65
+ echo "omnilane: native-context requires Python 3.9 or newer" >&2
66
+ exit 1
67
+ }
68
+ exec python3 "$REPO/scripts/lib/native_context.py" "$@"
69
+ ;;
70
+ resign)
71
+ command -v python3 >/dev/null 2>&1 || {
72
+ echo "omnilane: resign requires Python 3.9 or newer" >&2
73
+ exit 1
74
+ }
75
+ if [[ -z "${OMNILANE_AA_TRANSPORT_OVERLAY:-}" ]]; then
76
+ # local.sh is where a host records its overlay; dispatch reads it the same way.
77
+ OMNILANE_AA_TRANSPORT_OVERLAY="$(
78
+ set +u
79
+ home="${OMNILANE_HOME:-$HOME/.omnilane}"
80
+ [[ -f "$home/local.sh" ]] && . "$home/local.sh" 2>/dev/null
81
+ printf '%s' "${OMNILANE_AA_TRANSPORT_OVERLAY:-}"
82
+ )"
83
+ export OMNILANE_AA_TRANSPORT_OVERLAY
84
+ fi
85
+ exec python3 "$REPO/scripts/lib/resign.py" "$@"
86
+ ;;
63
87
  benchmark)
64
88
  command -v python3 >/dev/null 2>&1 || {
65
89
  echo "omnilane: benchmark requires Python 3.9 or newer" >&2
@@ -97,6 +121,11 @@ omnilane — one routing table, every harness
97
121
  omnilane release-audit [flags] offline, read-only release gate
98
122
  omnilane doctor [--json] [--strict] [--probe V] local health / opt-in live probe
99
123
  omnilane whoami caller-context file for the CLI this runs under
124
+ omnilane native-context [--workdir DIR] [--mode M] [--inherits-caller-runtime]
125
+ capability file that lets dispatch use this harness's own sub-agents
126
+ (--vendor V --model M: the host's statement when whoami cannot read it)
127
+ omnilane resign [--check] [--vendor V] [--approve V] [--record-signers] [--trust-adhoc V]
128
+ re-probe and re-sign the transport overlay after a CLI update
100
129
  omnilane benchmark [--json] [--run] [--vendor V] fixed quality/cost comparison
101
130
  omnilane ui start|status|url|stop
102
131
  omnilane configure interactive lane menu
@@ -53,7 +53,7 @@ _omnilane() {
53
53
  local command="${words[2]:-}" sub sub_index=3
54
54
  local -a lanes ids
55
55
  if (( CURRENT == 2 )); then
56
- _values 'command' version list route dispatch jobs doctor whoami benchmark release-audit ui configure completion help
56
+ _values 'command' version list route dispatch jobs doctor whoami native-context resign benchmark release-audit ui configure completion help
57
57
  return
58
58
  fi
59
59
  case "$command" in
@@ -58,7 +58,7 @@ _omnilane() {
58
58
  prev="${COMP_WORDS[COMP_CWORD-1]:-}"
59
59
  command="${COMP_WORDS[1]:-}"
60
60
  if [[ "$COMP_CWORD" -eq 1 ]]; then
61
- words="version list route dispatch jobs doctor whoami benchmark release-audit ui configure completion help"
61
+ words="version list route dispatch jobs doctor whoami native-context resign benchmark release-audit ui configure completion help"
62
62
  else
63
63
  case "$command" in
64
64
  route|dispatch)
@@ -11,6 +11,8 @@ complete -c omnilane -f -n __fish_use_subcommand -a jobs -d 'inspect ba
11
11
  complete -c omnilane -f -n __fish_use_subcommand -a mcp -d 'MCP stdio server'
12
12
  complete -c omnilane -f -n __fish_use_subcommand -a doctor -d 'read-only health report'
13
13
  complete -c omnilane -f -n __fish_use_subcommand -a whoami -d 'caller-context file for the launching CLI'
14
+ complete -c omnilane -f -n __fish_use_subcommand -a resign -d 're-probe and re-sign the transport overlay'
15
+ complete -c omnilane -f -n __fish_use_subcommand -a native-context -d 'capability file for this harness sub-agents'
14
16
  complete -c omnilane -f -n __fish_use_subcommand -a benchmark -d 'fixed quality/cost comparison'
15
17
  complete -c omnilane -f -n __fish_use_subcommand -a release-audit -d 'offline release gate'
16
18
  complete -c omnilane -f -n __fish_use_subcommand -a ui -d 'Live Board server'