@amerged/ohmyhost-mcp 0.1.29 → 0.1.31
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 +1 -1
- package/dist/{chunk-BWVBJWRR.js → chunk-QHKLOHN4.js} +27 -9
- package/dist/index.js +1 -1
- package/dist/stdio-main.js +4 -4
- package/package.json +1 -1
- package/src/apps/mcp/package.json +1 -1
- package/src/apps/mcp/src/local-server.ts +2 -1
- package/src/apps/product-cli/package.json +1 -1
- package/src/apps/product-cli/src/repository-init.ts +2 -2
- package/src/packages/agent-skills/src/generated-skill-resources.ts +26 -8
- package/src/packages/contracts/src/database-migration-admission.ts +65 -125
- package/src/packages/contracts/src/database-migration-errors.ts +14 -0
- package/src/packages/contracts/src/database-migration-lexical.ts +180 -0
- package/src/packages/contracts/src/database-migration-policies.ts +150 -0
- package/src/packages/contracts/src/framework-admission.ts +1 -1
- package/src/packages/contracts/src/framework-build-script.mjs +1 -2
- package/src/packages/sdk-ts/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/stdio-main.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
serverIdentityOf,
|
|
31
31
|
setNegotiatedProtocolVersion,
|
|
32
32
|
validateEnvelopeMeta
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QHKLOHN4.js";
|
|
34
34
|
|
|
35
35
|
// node_modules/.pnpm/ignore@7.0.12/node_modules/ignore/index.js
|
|
36
36
|
var require_ignore = __commonJS({
|
|
@@ -21243,7 +21243,7 @@ var ALL_LOCKFILES = Object.freeze(Object.values(PACKAGE_MANAGER_CONTRACTS).flatM
|
|
|
21243
21243
|
var VERIFIED_VERSIONS = Object.freeze({
|
|
21244
21244
|
vite: /* @__PURE__ */ new Set(["5.4.21", "8.0.16", "8.2.2"]),
|
|
21245
21245
|
"tanstack-start": /* @__PURE__ */ new Set(["1.168.26", "1.168.49"]),
|
|
21246
|
-
nextjs: /* @__PURE__ */ new Set(["15.5.26", "16.3.
|
|
21246
|
+
nextjs: /* @__PURE__ */ new Set(["15.5.26", "16.3.8"])
|
|
21247
21247
|
});
|
|
21248
21248
|
var PUSH_AND_PLAN = "Commit and push the change, then plan the new commit.";
|
|
21249
21249
|
var FRAMEWORK_CONVERSION_DETAILS = Object.freeze({
|
|
@@ -22925,7 +22925,7 @@ function exact3(v, keys) {
|
|
|
22925
22925
|
// apps/product-cli/package.json
|
|
22926
22926
|
var package_default2 = {
|
|
22927
22927
|
name: "@ohmyhost/product-cli",
|
|
22928
|
-
version: "0.1.
|
|
22928
|
+
version: "0.1.31",
|
|
22929
22929
|
private: true,
|
|
22930
22930
|
ohmyhost: {
|
|
22931
22931
|
deployment: "production",
|
|
@@ -28810,7 +28810,7 @@ var commitSha = external_exports.string().regex(/^[a-f0-9]{40}$/u);
|
|
|
28810
28810
|
var domainName = external_exports.string().regex(/^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,63}$/u);
|
|
28811
28811
|
var secretName = external_exports.string().regex(USER_SECRET_NAME_PATTERN).refine((value) => isUserSecretName(value), "The secret name is platform-managed");
|
|
28812
28812
|
var deletableSecretName = external_exports.string().regex(USER_SECRET_NAME_PATTERN).refine((value) => isUserSecretName(value, "delete"), "The secret key is installed by the platform");
|
|
28813
|
-
var LOCAL_SERVER_INSTRUCTIONS = "Operate the user's ohmyho.st hosting account: projects, managed or GitHub sources and deployments, databases, domains, mail, usage and budgets. Use the existing project source binding first. A local or cloud workspace can contain Git without GitHub. If unbound current files have no relevant GitHub source, ask once whether to deploy directly with ohmyho.st saving versions or set up GitHub; do not require GitHub just because no connection exists.
|
|
28813
|
+
var LOCAL_SERVER_INSTRUCTIONS = "Continue an existing app from its reachable workspace and saved project binding. Reuse a matching local CLI/MCP profile or private token source unless the user chooses remote; verify its identity and workspace. connection_request availability alone never selects remote. If remote identity/workspace mismatches, stop the access-link loop. Unreachable local context is an access gap, not deleted credentials; never substitute an unrelated Review/demo account or change the saved source. Operate the user's ohmyho.st hosting account: projects, managed or GitHub sources and deployments, databases, domains, mail, usage and budgets. Use the existing project source binding first. A local or cloud workspace can contain Git without GitHub. If unbound current files have no relevant GitHub source, ask once whether to deploy directly with ohmyho.st saving versions or set up GitHub; do not require GitHub just because no connection exists. Read the resource skill://ohmyhost/ohmyhost-get-started/SKILL.md and verify the chosen access with identity_get; read project_context_get before acting on a project. This server is also ohmyho.st support: report a bug, issue or feature request with feedback_submit, give the user the receipt ID and follow up with feedback_status (https://docs.ohmyho.st/support).";
|
|
28814
28814
|
function createLocalOhmyhostMcpServer(dependencies) {
|
|
28815
28815
|
const { commandPrefix } = resolveProductCliEnvironment(dependencies.environment);
|
|
28816
28816
|
const server = createOhmyhostMcpServer("ohmyhost-local", LOCAL_SERVER_INSTRUCTIONS);
|
package/package.json
CHANGED
|
@@ -471,9 +471,10 @@ const deletableSecretName = z
|
|
|
471
471
|
);
|
|
472
472
|
|
|
473
473
|
const LOCAL_SERVER_INSTRUCTIONS =
|
|
474
|
+
"Continue an existing app from its reachable workspace and saved project binding. Reuse a matching local CLI/MCP profile or private token source unless the user chooses remote; verify its identity and workspace. connection_request availability alone never selects remote. If remote identity/workspace mismatches, stop the access-link loop. Unreachable local context is an access gap, not deleted credentials; never substitute an unrelated Review/demo account or change the saved source. " +
|
|
474
475
|
"Operate the user's ohmyho.st hosting account: projects, managed or GitHub sources and deployments, databases, domains, mail, usage and budgets. " +
|
|
475
476
|
"Use the existing project source binding first. A local or cloud workspace can contain Git without GitHub. If unbound current files have no relevant GitHub source, ask once whether to deploy directly with ohmyho.st saving versions or set up GitHub; do not require GitHub just because no connection exists. " +
|
|
476
|
-
"
|
|
477
|
+
"Read the resource skill://ohmyhost/ohmyhost-get-started/SKILL.md and verify the chosen access with identity_get; read project_context_get before acting on a project. " +
|
|
477
478
|
"This server is also ohmyho.st support: report a bug, issue or feature request with feedback_submit, give the user the receipt ID and follow up with feedback_status (https://docs.ohmyho.st/support).";
|
|
478
479
|
|
|
479
480
|
export function createLocalOhmyhostMcpServer(dependencies: LocalOhmyhostMcpDependencies) {
|
|
@@ -1242,7 +1242,7 @@ function repositoryBlockers(
|
|
|
1242
1242
|
.join(", ");
|
|
1243
1243
|
blockers.push({
|
|
1244
1244
|
code: "framework_version_unsupported",
|
|
1245
|
-
message: `${unsupported} is outside the versions ohmyho.st builds: next 15.5.26+ (15.5.x) or 16.3.
|
|
1245
|
+
message: `${unsupported} is outside the versions ohmyho.st builds: next 15.5.26+ (15.5.x) or 16.3.8, vite 5.4.0–8.2.2, @tanstack/react-start 1.168.26–1.168.49, as an exact version or a ^ or ~ range whose base version is inside. Pin a version in that range in package.json, update the lockfile, commit and push.`,
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
const scripts = packageJson["scripts"];
|
|
@@ -1297,7 +1297,7 @@ function repositoryBlockers(
|
|
|
1297
1297
|
blockers.push({
|
|
1298
1298
|
code: "next_adapter_unconfigured",
|
|
1299
1299
|
message:
|
|
1300
|
-
'Next.js needs scripts.build exactly "next build" or "next build --webpack", react and react-dom at exact versions such as "19.1.0" (no ^ or ~), next within 15.5.26+ (15.5.x) or 16.3.
|
|
1300
|
+
'Next.js needs scripts.build exactly "next build" or "next build --webpack", react and react-dom at exact versions such as "19.1.0" (no ^ or ~), next within 15.5.26+ (15.5.x) or 16.3.8, and exactly one next.config.js, .mjs or .ts, with at most one open-next.config file. ohmyho.st adds the OpenNext build itself; do not make it the build script.',
|
|
1301
1301
|
});
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|