@happyvertical/smrt-cli 0.55.16 → 0.55.17
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/agents/app-commands.md +10 -0
- package/agents/kitchen.md +24 -4
- package/dist/{AuditLogCollection-WDHL-_AF-C1ZiQ7V9.js → AuditLogCollection-WDHL-_AF-02D9mDot.js} +1 -1
- package/dist/{OidcIdentity-BUblgQLs-D3Aab-GC.js → OidcIdentity-BUblgQLs-hzB0lrxA.js} +2 -2
- package/dist/{OidcIdentityCollection-ClOyaHeF-DFU0wHa8.js → OidcIdentityCollection-ClOyaHeF-D7aAvcYW.js} +1 -1
- package/dist/{ProfileAssetCollection-CRMcjLJ--Dn-umPHt.js → ProfileAssetCollection-CRMcjLJ--CRQsOHTZ.js} +3 -3
- package/dist/{ProfileCollection-C4INKh7Y-BkYbrF-h.js → ProfileCollection-C4INKh7Y-DUcvwlG4.js} +17 -17
- package/dist/{ProfileLinkCollection-DFfZRsgv-Bofzf-Yw.js → ProfileLinkCollection-DFfZRsgv-4ulMzaJO.js} +2 -2
- package/dist/{ProfileMetadataCollection-BIYKy4Y3-CXjlWaGs.js → ProfileMetadataCollection-BIYKy4Y3-BGVdmb-k.js} +1 -1
- package/dist/{ProfileMetafieldCollection-Buz7gzag-CiGCszRX.js → ProfileMetafieldCollection-Buz7gzag-Cuuzb-Yt.js} +1 -1
- package/dist/{ProfileRelationshipCollection-C4g_QLI4-Bqb15ye8.js → ProfileRelationshipCollection-C4g_QLI4-DHnLSOex.js} +1 -1
- package/dist/{ProfileTypeCollection-B7kwi1mU-Bvx-bDdd.js → ProfileTypeCollection-B7kwi1mU-tffgStmE.js} +2 -2
- package/dist/app/cli.d.ts.map +1 -1
- package/dist/app/operations.d.ts.map +1 -1
- package/dist/app.js +2 -2
- package/dist/{cli-OZsH5cdL.js → cli-FDpY0gCt.js} +51 -5
- package/dist/commands/kitchen/mcp/bridge.d.ts +3 -0
- package/dist/commands/kitchen/mcp/bridge.d.ts.map +1 -0
- package/dist/commands/kitchen/mcp/preview.d.ts +8 -0
- package/dist/commands/kitchen/mcp/preview.d.ts.map +1 -0
- package/dist/commands/kitchen/mcp/server.d.ts.map +1 -1
- package/dist/commands/kitchen/mcp/tools.d.ts +21 -2
- package/dist/commands/kitchen/mcp/tools.d.ts.map +1 -1
- package/dist/commands/kitchen/mcp/ui.d.ts +40 -0
- package/dist/commands/kitchen/mcp/ui.d.ts.map +1 -0
- package/dist/commands/kitchen.d.ts.map +1 -1
- package/dist/{commands-BnN3-s2f.js → commands-Cve0qfxc.js} +30 -4
- package/dist/{dist-AM3Ihu2D.js → dist-BQ5ZrH9U.js} +16 -16
- package/dist/{dist-BAcq9rFh.js → dist-BQjejZ0-.js} +3 -3
- package/dist/{dist-Bp_HahKu.js → dist-BtlfVNPV.js} +4 -4
- package/dist/{dist-E6ZsbcFn.js → dist-C_pNF2sM.js} +2 -2
- package/dist/dist-DHRli5Sc.js +21 -0
- package/dist/index.js +12 -12
- package/dist/{oidcProvisioningPrimitives-DNP9EZlU-D6tRfyyK.js → oidcProvisioningPrimitives-DNP9EZlU-B5DmitVf.js} +3 -3
- package/dist/{portability-CES1YC2m.js → portability-BbltyqQ-.js} +1 -1
- package/dist/{resolveIdentity-CkyqvctR-CXzDyaMs.js → resolveIdentity-CkyqvctR-BDafA2yA.js} +14 -14
- package/dist/{server-Dp096tZj.js → server-C69K3w-t.js} +682 -39
- package/package.json +10 -10
- package/scripts/verify-package-types-exports.js +6 -1
- package/dist/dist-C0OyGC_L.js +0 -21
|
@@ -7475,6 +7475,27 @@ var kitchenCommands = {
|
|
|
7475
7475
|
description: "Serve the Kitchen planning tools over stdio MCP for a local agent plugin (ChatGPT, Codex, Claude); no model or credential is used",
|
|
7476
7476
|
args: [],
|
|
7477
7477
|
options: {
|
|
7478
|
+
"ui-smoke": {
|
|
7479
|
+
type: "boolean",
|
|
7480
|
+
description: "Expose a static MCP Apps resource to check local desktop rendering",
|
|
7481
|
+
default: false
|
|
7482
|
+
},
|
|
7483
|
+
"planner-ui": {
|
|
7484
|
+
type: "string",
|
|
7485
|
+
description: "Path to self-contained smrt-planner app/mcp.html for local MCP Apps rendering"
|
|
7486
|
+
},
|
|
7487
|
+
"plans-dir": {
|
|
7488
|
+
type: "string",
|
|
7489
|
+
description: "Private local directory holding restart-safe Kitchen plans"
|
|
7490
|
+
},
|
|
7491
|
+
"preview-port": {
|
|
7492
|
+
type: "string",
|
|
7493
|
+
description: "Loopback HTTP port for a live browser preview (0 chooses a free port)"
|
|
7494
|
+
},
|
|
7495
|
+
"preview-origin": {
|
|
7496
|
+
type: "string",
|
|
7497
|
+
description: "Exact 127.0.0.1 browser origin allowed to call the preview bridge"
|
|
7498
|
+
},
|
|
7478
7499
|
template: {
|
|
7479
7500
|
type: "string",
|
|
7480
7501
|
description: "Default project template for apply_plan (default github:happyvertical/smrt-start)"
|
|
@@ -7501,8 +7522,13 @@ var kitchenCommands = {
|
|
|
7501
7522
|
}
|
|
7502
7523
|
},
|
|
7503
7524
|
handler: async (_args, options) => {
|
|
7504
|
-
const { runKitchenMcp } = await import("./server-
|
|
7525
|
+
const { runKitchenMcp } = await import("./server-C69K3w-t.js");
|
|
7505
7526
|
await runKitchenMcp({
|
|
7527
|
+
uiSmoke: options["ui-smoke"],
|
|
7528
|
+
plannerUi: options["planner-ui"],
|
|
7529
|
+
plansDir: options["plans-dir"],
|
|
7530
|
+
previewPort: options["preview-port"] === void 0 ? void 0 : Number(options["preview-port"]),
|
|
7531
|
+
previewOrigin: options["preview-origin"],
|
|
7506
7532
|
dir: process.cwd(),
|
|
7507
7533
|
template: options.template,
|
|
7508
7534
|
manifests: asList(options.manifests),
|
|
@@ -7888,7 +7914,7 @@ var dbMaterializeTenantHierarchyCommand = {
|
|
|
7888
7914
|
if (!config.database?.url || config.database.url === ":memory:") throw new Error("Database configuration required for db:materialize-tenant-hierarchy. Configure database.url in smrt.config.ts (or DATABASE_URL).");
|
|
7889
7915
|
const dbType = config.database.type || "sqlite";
|
|
7890
7916
|
const { getDatabase } = await import("@happyvertical/sql");
|
|
7891
|
-
const { materializeTenantHierarchy, TenantHierarchyMaterializationError } = await import("./dist-
|
|
7917
|
+
const { materializeTenantHierarchy, TenantHierarchyMaterializationError } = await import("./dist-BQ5ZrH9U.js");
|
|
7892
7918
|
db = await getDatabase({
|
|
7893
7919
|
type: dbType,
|
|
7894
7920
|
url: config.database.url
|
|
@@ -8097,7 +8123,7 @@ var dbMigrateLedgerAccountsCommand = {
|
|
|
8097
8123
|
if (dbType !== "postgres") throw new Error("db:migrate-ledger-accounts currently supports PostgreSQL only; no changes were made. See the smrt-ledgers README for SQLite.");
|
|
8098
8124
|
await autoDiscoverAndLoad();
|
|
8099
8125
|
const { getDatabase } = await import("@happyvertical/sql");
|
|
8100
|
-
const { migrateLedgerAccountsTable, planLedgerAccountsTableMove } = await import("./dist-
|
|
8126
|
+
const { migrateLedgerAccountsTable, planLedgerAccountsTableMove } = await import("./dist-BtlfVNPV.js");
|
|
8101
8127
|
db = await getDatabase({
|
|
8102
8128
|
type: dbType,
|
|
8103
8129
|
url: config.database.url
|
|
@@ -10497,7 +10523,7 @@ var utilityCommands = {
|
|
|
10497
10523
|
description: "Application operations: install, setup, recover, start, stop, doctor, open, backup, export, import, migrate, worker, dev, build (`smrt app help`)",
|
|
10498
10524
|
args: ["[operation]", "[args...]"],
|
|
10499
10525
|
handler: async (args) => {
|
|
10500
|
-
const { runAppCommand } = await import("./cli-
|
|
10526
|
+
const { runAppCommand } = await import("./cli-FDpY0gCt.js").then((n) => n.r);
|
|
10501
10527
|
const code = await runAppCommand(args);
|
|
10502
10528
|
if (code !== 0) process.exitCode = code;
|
|
10503
10529
|
}
|