@vornrun/mcp 0.7.3 → 0.7.4
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/dist/index.js +7 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5648,9 +5648,11 @@ function registerDeviceTools(server) {
|
|
|
5648
5648
|
);
|
|
5649
5649
|
server.tool(
|
|
5650
5650
|
"device_interact",
|
|
5651
|
-
'Act on your claimed simulator: tap, swipe, type, press a hardware button,
|
|
5651
|
+
'Act on your claimed simulator: tap, swipe, type, press a hardware button, long-press, or rotate it. Address the target by "ref" from read_screen where possible. Coordinates are in POINTS. A ref from before an earlier interaction is refused rather than guessed at \u2014 read the screen again. A swipe starting at the very edge of the screen is refused too: iOS claims those as system gestures and swallows them, which looks to you like nothing happened.',
|
|
5652
5652
|
{
|
|
5653
|
-
action: z11.enum(["tap", "swipe", "type", "button", "press"]).describe(
|
|
5653
|
+
action: z11.enum(["tap", "swipe", "type", "button", "press", "rotate"]).describe(
|
|
5654
|
+
'"press" is a long press; "button" takes a name in `text`; "rotate" takes `orientation`'
|
|
5655
|
+
),
|
|
5654
5656
|
ref: required("Element ref from read_screen or device_find").optional(),
|
|
5655
5657
|
x: z11.number().optional().describe("Screen x in points, when no ref is available"),
|
|
5656
5658
|
y: z11.number().optional().describe("Screen y in points, when no ref is available"),
|
|
@@ -5659,6 +5661,7 @@ function registerDeviceTools(server) {
|
|
|
5659
5661
|
text: V.description.optional().describe(
|
|
5660
5662
|
'Text for "type", or the button name for "button" (HOME, LOCK, SIRI, SIDE_BUTTON)'
|
|
5661
5663
|
),
|
|
5664
|
+
orientation: z11.enum(["portrait", "portrait-upside-down", "landscape-left", "landscape-right"]).optional().describe('Which way up to turn the device, for "rotate"'),
|
|
5662
5665
|
duration: z11.number().min(0).max(30).optional().describe('Seconds to hold, for "press"'),
|
|
5663
5666
|
system_gesture: z11.boolean().optional().describe("Allow a stroke starting in the bezel band, when a system gesture is the intent")
|
|
5664
5667
|
},
|
|
@@ -5669,6 +5672,7 @@ function registerDeviceTools(server) {
|
|
|
5669
5672
|
target: toDeviceTarget(args),
|
|
5670
5673
|
to: typeof args.to_x === "number" && typeof args.to_y === "number" ? { x: args.to_x, y: args.to_y } : void 0,
|
|
5671
5674
|
text: args.text,
|
|
5675
|
+
orientation: args.orientation,
|
|
5672
5676
|
duration: args.duration,
|
|
5673
5677
|
systemGesture: args.system_gesture
|
|
5674
5678
|
});
|
|
@@ -5788,7 +5792,7 @@ console.warn = (...args) => _origError("[mcp:warn]", ...args);
|
|
|
5788
5792
|
console.error = (...args) => _origError("[mcp:error]", ...args);
|
|
5789
5793
|
async function main() {
|
|
5790
5794
|
configManager.init();
|
|
5791
|
-
const version = true ? "0.7.
|
|
5795
|
+
const version = true ? "0.7.4" : createRequire(import.meta.url)("../package.json").version;
|
|
5792
5796
|
const server = createMcpServer(version);
|
|
5793
5797
|
const transport = new StdioServerTransport();
|
|
5794
5798
|
await server.connect(transport);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vornrun/mcp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Vorn MCP server — task management, git, and workflow tools for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"zod": "^4.5.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@vornrun/server": "0.7.
|
|
42
|
-
"@vornrun/shared": "0.7.
|
|
41
|
+
"@vornrun/server": "0.7.4",
|
|
42
|
+
"@vornrun/shared": "0.7.4",
|
|
43
43
|
"tsup": "^8.5.1",
|
|
44
44
|
"tsx": "^4.23.1",
|
|
45
45
|
"typescript": "^6.0.3"
|