@amerged/ohmyhost-mcp 0.1.30 → 0.1.32
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-MVT76LJ5.js → chunk-B2W7NWLK.js} +7 -7
- package/dist/index.js +1 -1
- package/dist/stdio-main.js +431 -122
- 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/composition.ts +2 -1
- package/src/apps/product-cli/src/repository-init.ts +443 -713
- package/src/apps/product-cli/src/runtime-contract.ts +18 -5
- package/src/packages/agent-skills/src/generated-skill-resources.ts +6 -6
- package/src/packages/contracts/package.json +10 -0
- package/src/packages/contracts/src/framework-admission-corpus.ts +390 -0
- package/src/packages/contracts/src/framework-admission.ts +641 -197
- package/src/packages/contracts/src/framework-build-script.mjs +155 -13
- package/src/packages/contracts/src/framework-build-script.ts +15 -1
- package/src/packages/contracts/src/framework-source-rules.ts +1101 -0
- package/src/packages/contracts/src/operation-failure.ts +22 -4
- package/src/packages/contracts/src/problem-policy.ts +2 -2
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/sdk.gen.ts +1 -1
- package/src/packages/sdk-ts/src/generated/types.gen.ts +8 -0
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) {
|
|
@@ -1081,7 +1081,7 @@ const runOfflineInit = async (
|
|
|
1081
1081
|
dryRun: command.dryRun,
|
|
1082
1082
|
});
|
|
1083
1083
|
// A write that is blocked exits 9 through RepositoryInitBlockedError; a dry run reports the
|
|
1084
|
-
// same blockers, so it must not read as a clean analysis either.
|
|
1084
|
+
// same blockers, so it must not read as a clean analysis either. Pending checks never block.
|
|
1085
1085
|
const blocked = result.blockers.length > 0;
|
|
1086
1086
|
io.writeStdout(
|
|
1087
1087
|
`${JSON.stringify({
|
|
@@ -1099,6 +1099,7 @@ const runOfflineInit = async (
|
|
|
1099
1099
|
inventory: result.inventory,
|
|
1100
1100
|
compatibility: result.compatibility,
|
|
1101
1101
|
blockers: result.blockers,
|
|
1102
|
+
pending: result.pending,
|
|
1102
1103
|
requirements: result.requirements,
|
|
1103
1104
|
companion: result.companion,
|
|
1104
1105
|
// The functions runtime reports its own bindings and packages; dropping it left a
|