lopebase 0.0.0-stage → 0.1.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 (3) hide show
  1. package/README.md +27 -2
  2. package/dist/lopebase.js +1573 -0
  3. package/package.json +47 -4
package/README.md CHANGED
@@ -1,3 +1,28 @@
1
- # Temporary Holding Version
1
+ # lopebase
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Set up a project in LopeBase from its own repo. Your coding agent does the steps
4
+ and stops for you only when it has to. See ADR 0020.
5
+
6
+ ```sh
7
+ npx lopebase # scan, pick what to connect, hand off to your agent
8
+ npx lopebase login # connect this computer: approve a code in the browser
9
+ npx lopebase scan # what the scan found (--json for machines)
10
+ npx lopebase prompt # print the agent prompt instead of launching an agent
11
+ npx lopebase mcp # stdio MCP server that forwards to your workspace
12
+ ```
13
+
14
+ `login` uses the device flow: it shows a short code, opens your workspace, and
15
+ waits while you press Connect. `login --paste` takes a token from Settings,
16
+ Agent access instead, for workspaces that do not offer device sign-in.
17
+
18
+ From this monorepo: `bun run lopebase` (from the repo root). To publish:
19
+ `bun run build` makes `dist/lopebase.js` for Node, and `npm publish` runs
20
+ verify and build first.
21
+
22
+ The scan reads package.json files, config file names, and env var names from
23
+ example env files. It never reads a real `.env` file and never sends a value.
24
+ The token is saved to `~/.config/lopebase/auth.json` (mode 600), or read from
25
+ `LOPEBASE_TOKEN` and `LOPEBASE_URL`.
26
+
27
+ `src/detect.ts` is also imported by the backoffice's `detect_stack` tool, so the
28
+ terminal and the server give the same answer.