spotme 0.1.2 → 1.0.1
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/README.md +10 -37
- package/dist/index.js +1 -1
- package/dist/opencode.js +1 -1
- package/package.json +2 -2
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
|
-
|
|
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
|
-
{
|
|
79
|
+
{
|
|
80
|
+
"$schema": "https://opencode.ai/config.json",
|
|
81
|
+
"plugin": ["spotme"]
|
|
82
|
+
}
|
|
89
83
|
```
|
|
90
84
|
|
|
91
|
-
|
|
85
|
+
### Pi (WIP)
|
|
92
86
|
|
|
93
|
-
|
|
87
|
+
> [!WARNING]
|
|
88
|
+
> Pi integration is currently Work In Progress and has NOT been tested.
|
|
94
89
|
|
|
95
|
-
|
|
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.
|
package/dist/index.js
CHANGED
|
@@ -10745,7 +10745,7 @@ class JSONSchemaGenerator {
|
|
|
10745
10745
|
if (val === undefined) {
|
|
10746
10746
|
if (this.unrepresentable === "throw") {
|
|
10747
10747
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
10748
|
-
}
|
|
10748
|
+
}
|
|
10749
10749
|
} else if (typeof val === "bigint") {
|
|
10750
10750
|
if (this.unrepresentable === "throw") {
|
|
10751
10751
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
package/dist/opencode.js
CHANGED
|
@@ -10745,7 +10745,7 @@ class JSONSchemaGenerator {
|
|
|
10745
10745
|
if (val === undefined) {
|
|
10746
10746
|
if (this.unrepresentable === "throw") {
|
|
10747
10747
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
10748
|
-
}
|
|
10748
|
+
}
|
|
10749
10749
|
} else if (typeof val === "bigint") {
|
|
10750
10750
|
if (this.unrepresentable === "throw") {
|
|
10751
10751
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spotme",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "SpotMe — gym mode for agentic coding. Works with OpenCode and Pi.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wtfzambo"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/wtfzambo/spotme"
|
|
23
|
+
"url": "git+https://github.com/wtfzambo/spotme.git"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "bun build src/index.ts src/opencode.ts --outdir dist --target bun",
|