pantheon-opencode 2.0.0-beta.2 → 2.0.0-beta.3

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 CHANGED
@@ -66,6 +66,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66
66
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
67
67
  move this section to a versioned entry and reset the template below. -->
68
68
 
69
+ ## [v2.0.0-beta.3] - 2026-11-09
70
+
71
+ ### Fixed
72
+
73
+ - **update** — the global-install guard refused npm's own symlinked bin layout: `prefix/bin/pantheon-opencode` is a symlink into the package, so `pantheon-opencode update` answered the checkout refusal on every symlink-creating install. The running side follows links now; `npm link` stays refused (the installed entry itself must be a regular directory).
74
+
75
+ &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
76
+ move this section to a versioned entry and reset the template below. --&gt;
77
+
78
+ Running `node scripts/versioning.mjs apply` will
79
+ move this section to a versioned entry and reset the template below. --&gt;
69
80
  ## [v2.0.0-beta.2] - 2026-11-09
70
81
 
71
82
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.3",
4
4
  "description": "Multi-agent orchestration for OpenCode \u2014 14 specialized agents, TDD, Themis review gates.",
5
5
  "type": "module",
6
6
  "workspaces": [
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pantheon",
3
3
  "publisher": "ils15",
4
- "version": "2.0.0-beta.2",
4
+ "version": "2.0.0-beta.3",
5
5
  "displayName": "Pantheon",
6
6
  "description": "Conductor-Delegate orchestration platform with 14 specialized agents, 23 skills, and OpenCode support.",
7
7
  "agents": "./src/agents",
package/pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.backends._legacy:_Backend"
4
4
 
5
5
  [project]
6
6
  name = "pantheon"
7
- version = "2.0.0-beta.2"
7
+ version = "2.0.0-beta.3"
8
8
  description = "Multi-agent orchestration framework"
9
9
  requires-python = ">=3.11"
10
10
  # Python sources under src/mcp/ import fastmcp/pydantic at runtime, but those
@@ -54,16 +54,21 @@ export function runUpdate(
54
54
  const actualGlobalRoot = fs.realpathSync(npmGlobalRoot)
55
55
  const installedEntry = path.join(actualGlobalRoot, 'pantheon-opencode')
56
56
  const installedEntryStat = fs.lstatSync(installedEntry)
57
- const runningRootStat = fs.lstatSync(path.resolve(root))
58
- const runningScriptStat = fs.lstatSync(path.resolve(runningScript))
57
+ // The RUNNING side is statSync (follows links) on purpose: npm's POSIX
58
+ // bin layout symlinks prefix/bin/<name> into the package, so argv[1] is
59
+ // a link and node does not rewrite it (field report beta.2: the
60
+ // maintainer's own nvm install was refused). Identity is still enforced
61
+ // by the realpath equality comparisons below.
62
+ const runningRootStat = fs.statSync(path.resolve(root))
63
+ const runningScriptStat = fs.statSync(path.resolve(runningScript))
59
64
  // A global npm link into a checkout resolves to the same realpath as the
60
- // running source. Do not treat that provenance as a global installation.
65
+ // running source. Do not treat that provenance as a global installation:
66
+ // the INSTALLED ENTRY itself must be a regular directory (npm link makes
67
+ // it a symlink), and that lstat check is what keeps the link refused.
61
68
  if (
62
69
  installedEntryStat.isSymbolicLink() ||
63
70
  !installedEntryStat.isDirectory() ||
64
- runningRootStat.isSymbolicLink() ||
65
71
  !runningRootStat.isDirectory() ||
66
- runningScriptStat.isSymbolicLink() ||
67
72
  !runningScriptStat.isFile()
68
73
  ) {
69
74
  throw new Error('Global package identity is not a regular installed package')
@@ -1475,7 +1475,7 @@ async function readChangelogForBundle(bundleUrl) {
1475
1475
  }
1476
1476
  /** The ambient build-time version, or null outside a tsdown build. */
1477
1477
  function embeddedVersion() {
1478
- return "2.0.0-beta.2";
1478
+ return "2.0.0-beta.3";
1479
1479
  }
1480
1480
  /**
1481
1481
  * Resolve the running Pantheon version for the what's-new window: the plugin
@@ -4113,7 +4113,7 @@ async function checkForPantheonUpdate(context) {
4113
4113
  const latest = String((await response.json())?.version ?? "");
4114
4114
  if (!latest) return;
4115
4115
  const notice = pickUpdateNotice({
4116
- currentVersion: "2.0.0-beta.2",
4116
+ currentVersion: "2.0.0-beta.3",
4117
4117
  latestVersion: latest,
4118
4118
  state: readState(),
4119
4119
  nowMs: Date.now()
@@ -4893,7 +4893,7 @@ function Sidebar(props) {
4893
4893
  setProp(_el$12, "width", "100%");
4894
4894
  setProp(_el$12, "padding", 1);
4895
4895
  setProp(_el$13, "attributes", 1);
4896
- insert(_el$13, `Pantheon v2.0.0-beta.2`);
4896
+ insert(_el$13, `Pantheon v2.0.0-beta.3`);
4897
4897
  insert(_el$14, () => presetHeaderLine(model.preset().name ?? "", model.provider()));
4898
4898
  insert(_el$12, createComponent(Show, {
4899
4899
  get when() {
@@ -5635,7 +5635,7 @@ function HomeStatus(props) {
5635
5635
  const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
5636
5636
  return (() => {
5637
5637
  var _el$72 = createElement("text");
5638
- insert(_el$72, () => `Pantheon v2.0.0-beta.2${preset().name ? ` ▸ ${preset().name}` : ""}`);
5638
+ insert(_el$72, () => `Pantheon v2.0.0-beta.3${preset().name ? ` ▸ ${preset().name}` : ""}`);
5639
5639
  effect((_$p) => setProp(_el$72, "fg", muted(), _$p));
5640
5640
  return _el$72;
5641
5641
  })();
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pantheon-tui",
9
- "version": "2.0.0-beta.2",
9
+ "version": "2.0.0-beta.3",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@opencode/plugin": "2.0.26",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.2",
4
+ "version": "2.0.0-beta.3",
5
5
  "description": "Pantheon TUI plugin \u2014 V1 rich sidebar and usage gauges; native V2 status, session and delegation sidebar",
6
6
  "license": "MIT",
7
7
  "engines": {