Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ updates:
update-types:
- minor
- patch
ignore:
# xmcp's runtime inlines its own zod (4.4.x in xmcp 0.6.13) to turn tool
# schemas into JSON Schema; newer zod schemas break that converter and
# tools/list fails. Lift this when xmcp ships a matching zod.
- dependency-name: zod
update-types:
- version-update:semver-minor
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@
"dockerode": "^5.0.1"
},
"devDependencies": {
"@clack/prompts": "^1.5.1",
"@gleanwork/mcp-server-tester": "1.0.0-beta.6",
"@playwright/test": "^1.58.2",
"@clack/prompts": "^1.8.1",
"@gleanwork/mcp-server-tester": "1.1.1",
"@playwright/test": "^1.64.1",
"@types/dockerode": "^4.0.2",
"@types/jest": "^30.0.0",
"audit-ci": "^7.1.0",
"esbuild": "^0.28.0",
"esbuild": "^0.28.2",
"eslint-config-prettier": "^10.1.8",
"jest": "^30.1.3",
"jest": "^30.5.2",
"jsonc-parser": "^3.3.1",
"posthog-node": "5.0.0",
"prettier": "^3.6.2",
"posthog-node": "5.57.2",
"prettier": "^3.9.10",
"swc-loader": "^0.2.6",
"ts-jest": "^29.4.1",
"ts-jest": "^29.4.15",
"typescript": "^6.0.3",
"xmcp": "^0.6.13",
"zod": "4.3.6"
Expand Down
2 changes: 1 addition & 1 deletion src/cli/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function expandPath(input: string, homeDir: string): string {
return path.resolve(expanded);
}

function preWriteAnswer<T>(value: T | symbol): T {
function preWriteAnswer<T>(value: T | typeof p.CANCEL_SYMBOL): T {
return ensureAnswer(value, "Cancelled — nothing was written.");
}

Expand Down
2 changes: 1 addition & 1 deletion src/cli/remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
isInteractive,
} from "./ui";

function preWriteAnswer<T>(value: T | symbol): T {
function preWriteAnswer<T>(value: T | typeof p.CANCEL_SYMBOL): T {
return ensureAnswer(value, "Cancelled — nothing was removed.");
}

Expand Down
5 changes: 4 additions & 1 deletion src/cli/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ export const EXIT_ERROR = 1;
export const EXIT_CANCELLED = 130;

/** Unwraps a clack prompt result, exiting cleanly when the user hits Ctrl+C/Esc. */
export function ensureAnswer<T>(value: T | symbol, cancelMessage = "Cancelled."): T {
export function ensureAnswer<T>(
value: T | typeof p.CANCEL_SYMBOL,
cancelMessage = "Cancelled."
): T {
if (p.isCancel(value)) {
p.cancel(cancelMessage);
process.exit(EXIT_CANCELLED);
Expand Down
Loading
Loading