Commit 4e4a57d
committed
fix: make plugin installable from git via source entry and prepack
OpenClaw's git plugin install clones the repo, runs npm install --omit=dev,
and validates the extension entry exists. Pointing the entry at ./index.ts
matches the official provider plugins (chutes/opencode) and lets the host
load the TS source when no built dist artifact is present; prepack keeps
the published npm tarball carrying the built dist.1 parent f790ced commit 4e4a57d
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
0 commit comments