aiur-cli 0.0.2 → 0.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiur-cli",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "AI Unit Runtime for Executors.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/its-everdred/aiur",
@@ -24,11 +24,11 @@
24
24
  "engines": {
25
25
  "node": ">=18"
26
26
  },
27
- "opencodeVersion": "1.15.6",
27
+ "opencodeVersion": "1.17.10",
28
28
  "optionalDependencies": {
29
- "aiur-cli-linux-x64": "0.0.2",
30
- "aiur-cli-linux-arm64": "0.0.2",
31
- "aiur-cli-darwin-x64": "0.0.2",
32
- "aiur-cli-darwin-arm64": "0.0.2"
29
+ "aiur-cli-linux-x64": "0.0.4",
30
+ "aiur-cli-linux-arm64": "0.0.4",
31
+ "aiur-cli-darwin-x64": "0.0.4",
32
+ "aiur-cli-darwin-arm64": "0.0.4"
33
33
  }
34
34
  }
@@ -23,14 +23,15 @@ import path from "node:path";
23
23
 
24
24
  // Pinned opencode version, read from package.json `opencodeVersion` (single
25
25
  // source of truth — keep in sync with mise.toml). aiur's opencode pane
26
- // integration is validated against this version; 1.17.x broke custom-provider
27
- // model resolution (ProviderModelNotFoundError), blanking the chat panes.
26
+ // integration is validated end-to-end against this exact version; floating to
27
+ // `latest` would adopt an unverified opencode that could regress custom-provider
28
+ // model resolution or the chat panes, so the spec must carry a fixed version.
28
29
  const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
29
30
  export const OPENCODE_PACKAGE = `opencode-ai@${pkg.opencodeVersion}`;
30
31
 
31
32
  // True only when the *pinned* opencode version is on PATH. A wrong (e.g.
32
- // newer) version must be reinstalled — leaving 1.17.x in place keeps the
33
- // panes broken — so a mere presence check isn't enough.
33
+ // newer, unverified) version must be reinstalled to the pin — so a mere
34
+ // presence check isn't enough.
34
35
  export function opencodeMatchesPin() {
35
36
  const result = spawnSync("opencode", ["--version"], { encoding: "utf8" });
36
37
  return !result.error && result.status === 0 && result.stdout.trim() === pkg.opencodeVersion;
@@ -20,6 +20,16 @@ set -g mouse on
20
20
  set -s extended-keys on
21
21
  set -as terminal-features "*:extkeys"
22
22
  set -g status off
23
+
24
+ # Show each pane's title in a one-line top border. PaneManager sets every
25
+ # chat pane's title to "<issue id> <issue title>" via `select-pane -T`, and
26
+ # the launcher sets the agent-list pane's title to "AIUR Agents". The format
27
+ # truncates the title to the pane's current width with an ellipsis (tmux
28
+ # evaluates the nested `#{pane_width}` before applying the `=/N/…` limit), so
29
+ # a long title never wraps and re-clips automatically on resize.
30
+ set -g pane-border-status top
31
+ set -g pane-border-format "#{=/#{pane_width}/…:#{pane_title}}"
32
+
23
33
  set -g history-limit 50000
24
34
  set -g default-terminal "tmux-256color"
25
35
  set -ga terminal-overrides ",*256col*:Tc"