@exposify/firebase 0.0.5 → 0.0.6

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
@@ -7,9 +7,8 @@ straight to the Firestore REST API, so **your Security Rules are the
7
7
  authorization layer**. The agent can do exactly what that signed-in user can
8
8
  do from your app, nothing more. The function never uses the Admin SDK.
9
9
 
10
- For the design rationale, see
11
- `docs/superpowers/specs/2026-10-10-exposify-firebase-design.md` in the repo
12
- root.
10
+ For the design rationale, see the
11
+ [design spec](https://github.com/ayadagain/agentready/blob/main/docs/superpowers/specs/2026-10-10-exposify-firebase-design.md).
13
12
 
14
13
  ## Prerequisites
15
14
 
@@ -74,13 +73,14 @@ than run anonymously; pass `authRequired: false` to allow them. The
74
73
  exception: when the project has no sign-in method yet (add the Firebase
75
74
  preset in the dashboard), agents use the function signed out, as the
76
75
  anonymous user, with no sign-in asked. The startup log says which it is
77
- (`[agentready] How agents sign in: ...`).
76
+ (`[exposify] How agents sign in: ...`).
78
77
 
79
78
  `auth: hostedBroker()` does the same explicitly. If the function is
80
79
  reached through a URL other than the one it sees (a custom domain or a
81
80
  Hosting rewrite), set it with `hostedBroker({ resource: "https://…/mcp" })`.
82
81
  Behind `*.cloudfunctions.net/<name>` and `*.run.app` the right URL is worked
83
- out for you. See [`docs/hosted-broker.md`](../../docs/hosted-broker.md).
82
+ out for you. See the
83
+ [hosted broker guide](https://github.com/ayadagain/agentready/blob/main/docs/hosted-broker.md).
84
84
 
85
85
  ## Configuration
86
86
 
package/dist/index.cjs CHANGED
@@ -104,7 +104,7 @@ function toolName(prefix, suffix, taken) {
104
104
  }
105
105
 
106
106
  // src/config.ts
107
- var LOG_PREFIX = "[@exposify/firebase]";
107
+ var LOG_PREFIX = "[exposify]";
108
108
  var WRITE_OPS = ["create", "update", "delete"];
109
109
  function parseWrites(writes = []) {
110
110
  const grants = /* @__PURE__ */ new Map();
@@ -654,7 +654,7 @@ function toNodeHandler(handle) {
654
654
  try {
655
655
  response = await handle(await toWebRequest(req));
656
656
  } catch (err) {
657
- console.error("[@exposify/firebase] MCP request failed", err);
657
+ console.error("[exposify] MCP request failed", err);
658
658
  response = Response.json({ error: "internal MCP server error" }, { status: 503 });
659
659
  }
660
660
  res.statusCode = response.status;
package/dist/index.js CHANGED
@@ -84,7 +84,7 @@ function toolName(prefix, suffix, taken) {
84
84
  }
85
85
 
86
86
  // src/config.ts
87
- var LOG_PREFIX = "[@exposify/firebase]";
87
+ var LOG_PREFIX = "[exposify]";
88
88
  var WRITE_OPS = ["create", "update", "delete"];
89
89
  function parseWrites(writes = []) {
90
90
  const grants = /* @__PURE__ */ new Map();
@@ -634,7 +634,7 @@ function toNodeHandler(handle) {
634
634
  try {
635
635
  response = await handle(await toWebRequest(req));
636
636
  } catch (err) {
637
- console.error("[@exposify/firebase] MCP request failed", err);
637
+ console.error("[exposify] MCP request failed", err);
638
638
  response = Response.json({ error: "internal MCP server error" }, { status: 503 });
639
639
  }
640
640
  res.statusCode = response.status;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exposify/firebase",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": ">=20.19"
@@ -29,7 +29,7 @@
29
29
  "prepack": "yarn build"
30
30
  },
31
31
  "dependencies": {
32
- "@exposify/core": "0.3.18",
32
+ "@exposify/core": "0.3.19",
33
33
  "@modelcontextprotocol/sdk": "^1.12.0",
34
34
  "zod": "^3.24.0"
35
35
  },