lopebase 0.6.6 → 0.6.7
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 +14 -1
- package/dist/lopebase.js +358 -329
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -132,10 +132,23 @@ first post lands).
|
|
|
132
132
|
- **Keeps** one thing: an agent token in `~/.config/lopebase/auth.json`,
|
|
133
133
|
readable only by you. It lasts 30 days, acts as the workspace admin who
|
|
134
134
|
approved it, is limited to what that admin allowed, and can be revoked any
|
|
135
|
-
time under
|
|
135
|
+
time under Agents, Access.
|
|
136
136
|
- `LOPEBASE_TOKEN` and `LOPEBASE_URL` override the saved values, for CI or
|
|
137
137
|
another machine.
|
|
138
138
|
|
|
139
|
+
## Run it from an agent or CI
|
|
140
|
+
|
|
141
|
+
Setup and `npx lopebase login` ask questions, so they need an interactive
|
|
142
|
+
terminal. Started without one (a coding agent's shell, CI, a pipe), they stop
|
|
143
|
+
with an error and list what works instead:
|
|
144
|
+
|
|
145
|
+
- `npx lopebase prompt` prints the setup prompt with this project's scan.
|
|
146
|
+
- `npx lopebase scan --json` prints the scan.
|
|
147
|
+
- Add `https://app.lopebase.com/api/mcp` to your agent as a remote MCP server;
|
|
148
|
+
it opens a browser page for you to approve.
|
|
149
|
+
- Or set `LOPEBASE_TOKEN` to an agent token (Agents, Access in LopeBase) and
|
|
150
|
+
register `npx -y lopebase mcp` as a stdio MCP server.
|
|
151
|
+
|
|
139
152
|
## Use it with any agent
|
|
140
153
|
|
|
141
154
|
`npx lopebase` sets this up for you. To add the tools by hand, register this
|