Skip to content

Commit ba500e4

Browse files
committed
chore: release v0.2.1
1 parent 2ae7a4b commit ba500e4

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuetify/mcp",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Model Context Protocol server for Vuetify assistance",
55
"bin": "bin/cli.js",
66
"main": "./dist/index.js",

src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const shouldInstall = await confirm({
4646
})
4747

4848
if (shouldInstall) {
49-
await installGlobally([idesToInstall as DetectedIDE])
49+
await installGlobally([idesToInstall as DetectedIDE], useRemote)
5050
outro('IDE settings updated successfully')
5151
} else {
5252
outro('Installation cancelled')

src/cli/install-globally.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import { getServerConfig, getSettingsPath } from './settings-builder.js'
66
import type { DetectedIDE } from './ide/types.js'
77
import { deepset } from './utils/deepset.js'
88

9-
async function setIdeSettings (ideInstance: DetectedIDE) {
9+
async function setIdeSettings (ideInstance: DetectedIDE, remote?: boolean) {
1010
if (!ideInstance.settingsDir || !existsSync(ideInstance.settingsDir)) {
1111
return
1212
}
1313
const configFilePath = resolve(ideInstance.settingsDir, ideInstance.settingsFile)
1414
const settingsPath = getSettingsPath(ideInstance.ide)
15-
const serverConfig = getServerConfig()
15+
const serverConfig = getServerConfig(undefined, remote)
1616
if (existsSync(configFilePath)) {
1717
const fileContent = await readFile(configFilePath, { encoding: 'utf8' })
1818
const existingConfig = parse(fileContent)
@@ -26,9 +26,9 @@ async function setIdeSettings (ideInstance: DetectedIDE) {
2626
}
2727
}
2828

29-
export async function installGlobally (ides: DetectedIDE[]) {
29+
export async function installGlobally (ides: DetectedIDE[], remote?: boolean) {
3030
for (const ide of ides) {
31-
await setIdeSettings(ide)
31+
await setIdeSettings(ide, remote)
3232
}
3333
}
3434

src/transports/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class HttpTransport implements Transport {
125125
name: 'Vuetify MCP Server',
126126
version: '0.1.1',
127127
mcp_endpoint: this.options.path,
128-
health_endpoint: '/health'
128+
health_endpoint: '/health',
129129
}))
130130
return
131131
}

0 commit comments

Comments
 (0)