opencode-pilot 0.20.5 → 0.21.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/.releaserc.cjs CHANGED
@@ -19,19 +19,11 @@ module.exports = {
19
19
  // Generate release notes
20
20
  '@semantic-release/release-notes-generator',
21
21
 
22
- // Update version in package.json and publish to npm with provenance
22
+ // Update version in package.json (in memory) and publish to npm with provenance
23
+ // Note: version is NOT committed back to repo - only the published package has it
23
24
  ['@semantic-release/npm', { provenance: true }],
24
25
 
25
- // Commit the version changes
26
- [
27
- '@semantic-release/git',
28
- {
29
- assets: ['package.json', 'package-lock.json'],
30
- message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
31
- }
32
- ],
33
-
34
- // Create GitHub release
26
+ // Create GitHub release (this is the source of truth for versions)
35
27
  '@semantic-release/github'
36
28
  ]
37
29
  };
@@ -0,0 +1,40 @@
1
+ class OpencodePilot < Formula
2
+ desc "Automation daemon for OpenCode - polls GitHub/Linear issues and spawns sessions"
3
+ homepage "https://github.com/athal7/opencode-pilot"
4
+ url "https://github.com/athal7/opencode-pilot/archive/refs/tags/v0.20.5.tar.gz"
5
+ sha256 "454bdead3efab2278c1b25e31d8e3d9dcb0c1895f4723a8e7757e01812605a84"
6
+ license "MIT"
7
+
8
+ depends_on "node"
9
+
10
+ def install
11
+ system "npm", "install", *std_npm_args
12
+ bin.install_symlink Dir["#{libexec}/bin/*"]
13
+ end
14
+
15
+ service do
16
+ run [opt_bin/"opencode-pilot", "start"]
17
+ keep_alive true
18
+ log_path var/"log/opencode-pilot.log"
19
+ error_log_path var/"log/opencode-pilot.error.log"
20
+ working_dir Dir.home
21
+ end
22
+
23
+ def caveats
24
+ <<~EOS
25
+ Configuration file: ~/.config/opencode/pilot/config.yaml
26
+
27
+ To start the service:
28
+ brew services start opencode-pilot
29
+
30
+ To check status:
31
+ opencode-pilot status
32
+
33
+ Note: Requires OpenCode to be running for session creation.
34
+ EOS
35
+ end
36
+
37
+ test do
38
+ assert_match "Usage:", shell_output("#{bin}/opencode-pilot help")
39
+ end
40
+ end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-pilot",
3
- "version": "0.20.5",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "main": "plugin/index.js",
6
6
  "description": "Automation daemon for OpenCode - polls for work and spawns sessions",