spotme 0.1.1 → 1.0.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.
Files changed (5) hide show
  1. package/README.md +10 -37
  2. package/dist/index.js +11541 -11903
  3. package/dist/opencode.js +11541 -11903
  4. package/package.json +4 -5
  5. package/dist/pi.js +0 -258275
package/README.md CHANGED
@@ -37,7 +37,7 @@ Much like sitting on your ass all day makes you weak and sad, keeping your brain
37
37
 
38
38
  The first you fix by going to the gym.
39
39
 
40
- The second you fix by using SpotMe.
40
+ **The second you fix by using SpotMe.**
41
41
 
42
42
  ---
43
43
 
@@ -74,58 +74,31 @@ The second you fix by using SpotMe.
74
74
 
75
75
  ### OpenCode
76
76
 
77
- Copy or symlink into your project's plugin directory:
78
- ```bash
79
- # Project-level
80
- ln -s /path/to/spotme .opencode/plugins/spotme
81
-
82
- # Global
83
- ln -s /path/to/spotme ~/.config/opencode/plugins/spotme
84
- ```
85
-
86
- Or add to `opencode.json` once published to npm:
77
+ Add to your `opencode.json`:
87
78
  ```json
88
- { "plugin": ["spotme"] }
79
+ {
80
+ "$schema": "https://opencode.ai/config.json",
81
+ "plugin": ["spotme"]
82
+ }
89
83
  ```
90
84
 
91
- The `src/opencode.ts` file is the plugin entry point.
85
+ ### Pi (WIP)
92
86
 
93
- ### Pi
87
+ > [!WARNING]
88
+ > Pi integration is currently Work In Progress and has NOT been tested.
94
89
 
95
- Copy or symlink into your extensions directory:
96
- ```bash
97
- # Project-level
98
- ln -s /path/to/spotme .pi/extensions/spotme
99
-
100
- # Global
101
- ln -s /path/to/spotme ~/.pi/agent/extensions/spotme
102
- ```
90
+ Install as a Pi package once published:
103
91
 
104
- Or install as a Pi package once published:
105
92
  ```bash
106
93
  pi install npm:spotme
107
94
  ```
108
95
 
109
- The `src/pi.ts` file is the extension entry point. Pi auto-discovers it via the `pi.extensions` field in `package.json`.
110
-
111
96
  ### Skill only (any harness that supports AgentSkills)
112
97
 
113
98
  Copy `SKILL.md` into your harness's skills directory. This gives the prompt layer without the automated tool interception — commands still work, but the counter-based trigger won't fire automatically.
114
99
 
115
100
  ---
116
101
 
117
- ## Development status
118
-
119
- **v0.1 — working draft, not yet validated**
120
-
121
- Open questions:
122
- - OpenCode: `command.executed` event shape (args parsing may need adjustment)
123
- - Pi: `ctx.cwd` availability in tool/command handlers
124
- - Both: scoped test running after `/spotme:done`
125
- - Both: branch cleanup strategy after review
126
-
127
- ---
128
-
129
102
  ## Name
130
103
 
131
104
  The agent is your **spotter**. It sets up the lift, stands by while you push, catches you if you call for help. The work is yours.