@backifydev/cli 0.3.21 → 0.3.23
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 +13 -8
- package/dist/index.js +7200 -3559
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -26,7 +26,10 @@ Opens a standalone setup page where an authorized domain manager signs in and co
|
|
|
26
26
|
|
|
27
27
|
`backify mcp [--organization <organization-id>]` bridges stdio to the single
|
|
28
28
|
organization MCP at `https://mcp.backify.dev`. Sign in explicitly using
|
|
29
|
-
`backify login --organization <organization-id> --organization-access`;
|
|
29
|
+
`backify login --organization <organization-id> --organization-access`; the browser
|
|
30
|
+
page lets you choose what coding tools may change (reading is always allowed), and
|
|
31
|
+
the bridge keeps that MCP grant renewed for up to 90 days (30 days without use).
|
|
32
|
+
Disconnect it under Account settings, Connected coding tools. Application
|
|
30
33
|
sessions remain app-scoped and cannot administer organizations. The bridge rereads
|
|
31
34
|
credentials per request and pins the organization until restarted. Discover and
|
|
32
35
|
describe customer API operations, prepare changes, obtain explicit user approval,
|
|
@@ -40,13 +43,9 @@ require `--config <exact-editor-config-path>`. `--dry-run` previews without writ
|
|
|
40
43
|
and other MCP servers are preserved; conflicting Backify entries and JSONC files
|
|
41
44
|
are never overwritten. Native HTTP authorization opens the existing Backify portal
|
|
42
45
|
for explicit organization consent and gives the coding tool only an opaque MCP
|
|
43
|
-
token.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
Application instruction selection additionally supports `--agent cursor`,
|
|
47
|
-
`--agent cline` and `--agent windsurf`.
|
|
48
|
-
The bridge now exchanges browser-approved account access for an organization-
|
|
49
|
-
and audience-bound MCP token; the updated CLI and MCP host must roll out together.
|
|
46
|
+
token. Native connections refresh themselves for up to 90 days and survive MCP
|
|
47
|
+
server restarts. Application instruction selection additionally supports
|
|
48
|
+
`--agent cursor`, `--agent cline` and `--agent windsurf`.
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
## API integration discovery
|
|
@@ -218,6 +217,12 @@ npm install
|
|
|
218
217
|
npm run dev
|
|
219
218
|
```
|
|
220
219
|
|
|
220
|
+
For a real PostgreSQL backend, choose `--template postgres`. It supplies Hono,
|
|
221
|
+
Drizzle, pg, a typed schema, SQL migrations and generation metadata. `npm run dev`
|
|
222
|
+
uses full local PostgreSQL; review migrations before `--apply-migrations`.
|
|
223
|
+
Run `npm run db:generate` after schema edits and keep Backify as the sole migration
|
|
224
|
+
executor. See [the relational application guide](../../docs/postgresql-applications.md).
|
|
225
|
+
|
|
221
226
|
The task template declares authentication, database and jobs, wires the frontend
|
|
222
227
|
and HTTP handlers, supplies an additive schema declaration, and includes tests
|
|
223
228
|
for validation, trusted ownership and cross-user isolation. Development explicitly
|