@exposify/cli 0.0.8 → 0.0.9

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 CHANGED
@@ -1,10 +1,33 @@
1
1
  # @exposify/cli
2
2
 
3
- The framework-neutral engine behind `@exposify/express` and `@exposify/next`:
4
- the endpoint checklist, the startup-log question, config + clipboard + verify,
5
- tool descriptions (`describe`), and `inspect` snapshots. You don't use it
6
- directly: install an adapter (`@exposify/express`, `@exposify/nestjs`,
7
- `@exposify/next`) and run its command.
8
-
9
- An adapter implements `CliAdapter` (`locate`, `scan`, `configStep`) and its bin
10
- calls `runCli(process.argv.slice(2), adapter)`.
3
+ Shared engine behind the Exposify adapter CLIs. **You don't install or run
4
+ this directly** — install an adapter and run its command.
5
+
6
+ Exposify makes an existing app usable by AI agents: one line serves an
7
+ [MCP](https://modelcontextprotocol.io) endpoint built from your app, so your
8
+ routes become tools and your docs become a searchable knowledge base.
9
+
10
+ ## Which package do I want?
11
+
12
+ | Your stack | Install | Its CLI |
13
+ |---|---|---|
14
+ | Express (or NestJS on Express) | [`@exposify/express`](https://github.com/ayadagain/agentready/tree/main/packages/express) | `npx @exposify/express setup \| inspect \| describe` |
15
+ | Next.js | [`@exposify/next`](https://github.com/ayadagain/agentready/tree/main/packages/next) | `npx @exposify/next setup \| inspect \| describe \| generate` |
16
+ | NestJS (decorators + Swagger) | [`@exposify/nestjs`](https://github.com/ayadagain/agentready/tree/main/packages/nestjs) | uses `@exposify/express`'s CLI |
17
+ | Supabase edge functions | [`@exposify/supabase`](https://github.com/ayadagain/agentready/tree/main/packages/supabase) | `npx @exposify/supabase init \| doctor \| generate` |
18
+ | Cloud Functions for Firebase | [`@exposify/firebase`](https://github.com/ayadagain/agentready/tree/main/packages/firebase) | `npx @exposify/firebase init` |
19
+
20
+ This package provides the guided-setup engine used by **`@exposify/express`**
21
+ and **`@exposify/next`**: the endpoint checklist, the startup-log question,
22
+ config + clipboard + verify step, tool descriptions (`describe`), and
23
+ `inspect` snapshots. `@exposify/supabase` and `@exposify/firebase` ship their
24
+ own standalone CLIs and don't build on this one.
25
+
26
+ ## For adapter authors
27
+
28
+ An adapter implements `CliAdapter` (`locate`, `scan`, `configStep`) and its
29
+ `bin` calls `runCli(process.argv.slice(2), adapter)`. See
30
+ [`@exposify/core`](https://github.com/ayadagain/agentready/tree/main/packages/core)
31
+ for the shared runtime, and the
32
+ [repo README](https://github.com/ayadagain/agentready#readme) for the full
33
+ picture across all `@exposify/*` packages.
package/dist/index.js CHANGED
@@ -1412,7 +1412,7 @@ setup:
1412
1412
  --expose "POST /x" Also expose this write route (repeatable); skips the checklist
1413
1413
  --expose-all Expose every write route (expose: "*"), including future ones
1414
1414
  --action <name> Also expose this Server Action (repeatable); skips the question
1415
- --startup-log on|off Show or hide the "[agentready] MCP ready" line
1415
+ --startup-log on|off Show or hide the "[exposify] MCP ready" line
1416
1416
  --copy / --no-copy Copy the config to the clipboard (default: copy unless --ci)
1417
1417
  --apply / --no-apply Make the change in your code instead of leaving it to paste (asked in a
1418
1418
  terminal otherwise; --quick and --ci only apply with --apply). Check it with git diff.
@@ -1827,7 +1827,7 @@ ${bold(`Setting up ${appNameOf(root)}`)} ${dim("\xB7 endpoints \u2192 startup lo
1827
1827
  }
1828
1828
  let startupLog = args.startupLog ?? current?.startupLog ?? true;
1829
1829
  if (tty && !args.quick && args.startupLog === void 0) {
1830
- console.log(stepHead(guided, 2, 5, 'Print "[agentready] MCP ready \u2026" when your server starts?'));
1830
+ console.log(stepHead(guided, 2, 5, 'Print "[exposify] MCP ready \u2026" when your server starts?'));
1831
1831
  console.log(dim(" It shows the tool count and auth mode. Failures always print."));
1832
1832
  const answer = (await ask(` ${startupLog ? "(Y/n)" : "(y/N)"} `)).toLowerCase();
1833
1833
  if (answer === "y" || answer === "yes") startupLog = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exposify/cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@babel/parser": "^8.0.0",
25
- "@exposify/core": "0.3.18"
25
+ "@exposify/core": "0.3.19"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.0.0",