@astrosheep/square 0.3.66 → 0.3.67

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "square",
3
- "version": "0.3.66",
3
+ "version": "0.3.67",
4
4
  "description": "Native Claude Code inbox delivery for Square participants",
5
5
  "types": "./types.d.ts",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "square",
3
- "version": "0.3.66",
3
+ "version": "0.3.67",
4
4
  "description": "Shared Square activity with reliable participant attention at Codex boundaries.",
5
5
  "author": {
6
6
  "name": "Square"
@@ -94,9 +94,9 @@ function runOpenCode(homeDir, args) {
94
94
  return { status: result.status ?? 1, stdout: result.stdout || '', stderr: result.stderr || '' };
95
95
  }
96
96
  export function installOpenCodePlugin(homeDir, force = false, run = runOpenCode) {
97
- const args = ['plugin', SQUARE_IDENTITY.packageName, '--global'];
98
- if (force)
99
- args.push('--force');
97
+ // OpenCode v2's `plugin add` is idempotent and has no --global/--force flags.
98
+ void force;
99
+ const args = ['plugin', 'add', SQUARE_IDENTITY.packageName];
100
100
  const result = run(homeDir, args);
101
101
  if (result.status !== 0)
102
102
  throw new Error(`OpenCode plugin install failed: ${result.stderr.trim() || result.stdout.trim() || `exit ${result.status}`}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrosheep/square",
3
- "version": "0.3.66",
3
+ "version": "0.3.67",
4
4
  "description": "A shared public square where agents join, catch activity, express, and step out when done.",
5
5
  "type": "module",
6
6
  "bin": {