@homespunapps/mcp 1.6.21 → 1.6.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/dist/tools.js +8 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/server.json +2 -2
package/dist/tools.js
CHANGED
|
@@ -299,7 +299,7 @@ const appsShape = {
|
|
|
299
299
|
"domain_status",
|
|
300
300
|
"domain_remove",
|
|
301
301
|
])
|
|
302
|
-
.describe("list: YOUR owning human's apps. show/update/delete/wake: act on one app (app_id). share_link_rotate: rotate a 'link' app's share token, returning a new share_url (the old link stops working); also generates one if the app has none yet. domain_set/domain_status/domain_remove: manage the app's
|
|
302
|
+
.describe("list: YOUR owning human's apps. show/update/delete/wake: act on one app (app_id). share_link_rotate: rotate a 'link' app's share token, returning a new share_url (the old link stops working); also generates one if the app has none yet. domain_set/domain_status/domain_remove: manage the app's custom domains (app_id; domain_set also needs domain)."),
|
|
303
303
|
app_id: z
|
|
304
304
|
.string()
|
|
305
305
|
.optional()
|
|
@@ -331,7 +331,7 @@ const appsShape = {
|
|
|
331
331
|
domain: z
|
|
332
332
|
.string()
|
|
333
333
|
.optional()
|
|
334
|
-
.describe("domain_set
|
|
334
|
+
.describe("domain_set: the bare custom domain to bind (e.g. app.example.com); the response's dns_records lists the DNS entries the domain owner must publish. domain_remove: OPTIONAL, the one domain to unbind - omit it to unbind them all."),
|
|
335
335
|
};
|
|
336
336
|
const membersShape = {
|
|
337
337
|
action: z
|
|
@@ -993,7 +993,7 @@ export const TOOLS = [
|
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
995
|
name: "apps",
|
|
996
|
-
description: "Manage v2 app lifecycle (deploy_app creates/redeploys; this tool covers the rest). ONE tool with an `action` enum: list (YOUR owning human's apps) | show (full detail incl. manifest, timezone, has_share_token) | update (visibility and/or timezone - slug is immutable; switching TO 'link' returns a share_url once) | share_link_rotate (rotate a 'link' app's share token, returning a new share_url and revoking the old link; also generates one if the app has none) | delete (soft-delete, idempotent) | wake (a dormant app; a no-op reporting the actual status otherwise) | domain_set (bind
|
|
996
|
+
description: "Manage v2 app lifecycle (deploy_app creates/redeploys; this tool covers the rest). ONE tool with an `action` enum: list (YOUR owning human's apps) | show (full detail incl. manifest, timezone, has_share_token) | update (visibility and/or timezone - slug is immutable; switching TO 'link' returns a share_url once) | share_link_rotate (rotate a 'link' app's share token, returning a new share_url and revoking the old link; also generates one if the app has none) | delete (soft-delete, idempotent) | wake (a dormant app; a no-op reporting the actual status otherwise) | domain_set (bind a custom domain; the FIRST one serves the app and every one after it redirects there, which is how apex + www works; returns the DNS records the domain owner must publish) | domain_status (the serving domain plus its `aliases`, live-refreshed against Cloudflare when enabled; inspect last_error when one is not activating) | domain_remove (unbind one domain, or all of them when no `domain` is given; idempotent).",
|
|
997
997
|
inputSchema: appsShape,
|
|
998
998
|
// Consolidated tool: read actions (list/show) + mutating ones (update/
|
|
999
999
|
// delete/wake). Hint reflects delete, the most-privileged action.
|
|
@@ -1077,8 +1077,11 @@ export const TOOLS = [
|
|
|
1077
1077
|
if (str(args, "app_id") === undefined) {
|
|
1078
1078
|
return invalidArgs("domain_remove requires `app_id`");
|
|
1079
1079
|
}
|
|
1080
|
-
await client.deleteAppDomain(String(args["app_id"]));
|
|
1081
|
-
return jsonResult({
|
|
1080
|
+
await client.deleteAppDomain(String(args["app_id"]), str(args, "domain"));
|
|
1081
|
+
return jsonResult({
|
|
1082
|
+
app_id: args["app_id"],
|
|
1083
|
+
domain_removed: str(args, "domain") ?? "all",
|
|
1084
|
+
});
|
|
1082
1085
|
default:
|
|
1083
1086
|
return invalidArgs(`unknown apps action '${action}'`);
|
|
1084
1087
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.6.
|
|
1
|
+
export declare const VERSION = "1.6.23";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homespunapps/mcp",
|
|
3
3
|
"mcpName": "dev.homespun/homespun",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.23",
|
|
5
5
|
"description": "Model Context Protocol (stdio) server for Homespun: lets any MCP client (Claude Desktop, Cursor, …) deploy a multi-user web app with hosting, auth, a shared database and permissions included.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.20.0",
|
|
49
|
-
"@homespunapps/core": "^1.6.
|
|
49
|
+
"@homespunapps/core": "^1.6.23",
|
|
50
50
|
"zod": "^4.4.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
package/server.json
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"name": "dev.homespun/homespun",
|
|
4
4
|
"title": "Homespun",
|
|
5
5
|
"description": "Deploy a multi-user web app from your agent: hosting, auth, database, and permissions.",
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.23",
|
|
7
7
|
"websiteUrl": "https://docs.homespun.dev",
|
|
8
8
|
"packages": [
|
|
9
9
|
{
|
|
10
10
|
"registryType": "npm",
|
|
11
11
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
12
12
|
"identifier": "@homespunapps/mcp",
|
|
13
|
-
"version": "1.6.
|
|
13
|
+
"version": "1.6.23",
|
|
14
14
|
"transport": {
|
|
15
15
|
"type": "stdio"
|
|
16
16
|
},
|