@amerged/ohmyhost-cli 0.1.69 → 0.1.71
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/bin.js +1 -1
- package/dist/{chunk-Q22TDFHT.js → chunk-OMMRWO6A.js} +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/apps/product-cli/package.json +1 -1
- package/src/packages/contracts/src/database-migration-admission.ts +3 -0
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/mcp-remote.gen.ts +3 -3
package/README.md
CHANGED
package/dist/bin.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __ohmyhostCreateRequire } from "node:module"; const require = __ohmyhostCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runProductionCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OMMRWO6A.js";
|
|
6
6
|
import "./chunk-7D2RFLWM.js";
|
|
7
7
|
|
|
8
8
|
// apps/product-cli/dist/bin.js
|
|
@@ -46656,7 +46656,7 @@ function exact4(v, keys) {
|
|
|
46656
46656
|
// apps/product-cli/package.json
|
|
46657
46657
|
var package_default = {
|
|
46658
46658
|
name: "@ohmyhost/product-cli",
|
|
46659
|
-
version: "0.1.
|
|
46659
|
+
version: "0.1.71",
|
|
46660
46660
|
private: true,
|
|
46661
46661
|
ohmyhost: {
|
|
46662
46662
|
deployment: "production",
|
|
@@ -58583,7 +58583,7 @@ function admitStatement(tokens, sql) {
|
|
|
58583
58583
|
}
|
|
58584
58584
|
return;
|
|
58585
58585
|
}
|
|
58586
|
-
if (/^create\s+schema\s+if\s+not\s+exists\s+(?:auth|extensions|private)$/u.test(normalized) || /^create\s+extension\s+if\s+not\s+exists\s+(?:pgcrypto|btree_gist|unaccent)(?:\s+with\s+schema\s+extensions)?$/u.test(normalized) || /^create\s+(?:table|type|domain|sequence|view|materialized\s+view|(?:constraint\s+)?trigger)\b/u.test(normalized) || /^create\s+(?:unique\s+)?index\b/u.test(normalized) || readAdditiveAlterTable(tokens) || /^comment\s+on\b/u.test(normalized)) {
|
|
58586
|
+
if (/^create\s+schema\s+if\s+not\s+exists\s+(?:auth|extensions|private)$/u.test(normalized) || /^create\s+extension\s+if\s+not\s+exists\s+(?:pgcrypto|btree_gist|unaccent)(?:\s+with\s+schema\s+extensions)?$/u.test(normalized) || /^create\s+extension\s+if\s+not\s+exists\s+(?:pg_trgm|citext|ltree)\s+with\s+schema\s+extensions$/u.test(normalized) || /^create\s+(?:table|type|domain|sequence|view|materialized\s+view|(?:constraint\s+)?trigger)\b/u.test(normalized) || /^create\s+(?:unique\s+)?index\b/u.test(normalized) || readAdditiveAlterTable(tokens) || /^comment\s+on\b/u.test(normalized)) {
|
|
58587
58587
|
if (/^create\s+or\s+replace\b/u.test(normalized)) {
|
|
58588
58588
|
throw new DatabaseMigrationAdmissionError("destructive");
|
|
58589
58589
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -290,6 +290,9 @@ function admitStatement(tokens: readonly MigrationSqlToken[], sql: string): void
|
|
|
290
290
|
/^create\s+extension\s+if\s+not\s+exists\s+(?:pgcrypto|btree_gist|unaccent)(?:\s+with\s+schema\s+extensions)?$/u.test(
|
|
291
291
|
normalized,
|
|
292
292
|
) ||
|
|
293
|
+
/^create\s+extension\s+if\s+not\s+exists\s+(?:pg_trgm|citext|ltree)\s+with\s+schema\s+extensions$/u.test(
|
|
294
|
+
normalized,
|
|
295
|
+
) ||
|
|
293
296
|
/^create\s+(?:table|type|domain|sequence|view|materialized\s+view|(?:constraint\s+)?trigger)\b/u.test(
|
|
294
297
|
normalized,
|
|
295
298
|
) ||
|
|
@@ -72,9 +72,9 @@ import {
|
|
|
72
72
|
writeProjectDatabase,
|
|
73
73
|
} from "./sdk.gen.js";
|
|
74
74
|
export const remoteMcpContractSha256 =
|
|
75
|
-
"
|
|
75
|
+
"490aa3b1c4d68906162af3f8d000fa37e93d0a52ef29fe52f57a83cbc5209294";
|
|
76
76
|
export const remoteMcpContractVersion = "0.0.0";
|
|
77
|
-
export const remoteMcpReleaseVersion = "0.1.
|
|
77
|
+
export const remoteMcpReleaseVersion = "0.1.71";
|
|
78
78
|
export interface RemoteMcpOperation {
|
|
79
79
|
operationId: string;
|
|
80
80
|
method: string;
|
|
@@ -22305,7 +22305,7 @@ export const remoteMcpWorkflowTools: readonly RemoteMcpWorkflowTool[] = [
|
|
|
22305
22305
|
name: "api_reference",
|
|
22306
22306
|
title: "Read the Master Tool Contract",
|
|
22307
22307
|
description:
|
|
22308
|
-
"Find documented API operations, exact schemas and remote MCP support in the deployed Master Tool Contract. This lookup never executes an API operation.",
|
|
22308
|
+
"Find documented API operations, exact schemas and remote MCP support in the deployed Master Tool Contract. This lookup never executes an API operation. See https://github.com/amerged-org/ohmyhost for the ohmyho.st hosting platform (OMH) and https://github.com/amerged-org/cloudflare-postgres for its PostgreSQL infrastructure (PGCF).",
|
|
22309
22309
|
annotations: {
|
|
22310
22310
|
readOnlyHint: true,
|
|
22311
22311
|
destructiveHint: false,
|