@elizaos/plugin-minecraft 2.0.0-beta.1 → 2.0.3-beta.3
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/LICENSE +21 -0
- package/README.md +90 -4
- package/package.json +23 -5
- package/registry-entry.json +79 -0
- package/dist/actions/helpers.d.ts +0 -18
- package/dist/actions/helpers.d.ts.map +0 -1
- package/dist/actions/index.d.ts +0 -10
- package/dist/actions/index.d.ts.map +0 -1
- package/dist/actions/mc.d.ts +0 -25
- package/dist/actions/mc.d.ts.map +0 -1
- package/dist/actions/utils.d.ts +0 -7
- package/dist/actions/utils.d.ts.map +0 -1
- package/dist/index.d.ts +0 -12
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4523
- package/dist/index.js.map +0 -41
- package/dist/protocol.d.ts +0 -21
- package/dist/protocol.d.ts.map +0 -1
- package/dist/providers/index.d.ts +0 -4
- package/dist/providers/index.d.ts.map +0 -1
- package/dist/providers/vision.d.ts +0 -3
- package/dist/providers/vision.d.ts.map +0 -1
- package/dist/providers/waypoints.d.ts +0 -3
- package/dist/providers/waypoints.d.ts.map +0 -1
- package/dist/providers/world-state.d.ts +0 -3
- package/dist/providers/world-state.d.ts.map +0 -1
- package/dist/services/minecraft-service.d.ts +0 -32
- package/dist/services/minecraft-service.d.ts.map +0 -1
- package/dist/services/process-manager.d.ts +0 -13
- package/dist/services/process-manager.d.ts.map +0 -1
- package/dist/services/waypoints-service.d.ts +0 -29
- package/dist/services/waypoints-service.d.ts.map +0 -1
- package/dist/services/websocket-client.d.ts +0 -13
- package/dist/services/websocket-client.d.ts.map +0 -1
- package/dist/types.d.ts +0 -48
- package/dist/types.d.ts.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Shaw Walters and elizaOS Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,8 +1,94 @@
|
|
|
1
|
-
# @elizaos/plugin-minecraft
|
|
1
|
+
# @elizaos/plugin-minecraft
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Minecraft automation plugin for elizaOS. Gives an Eliza agent the ability to connect to a Minecraft server and control a bot — moving, building, mining, chatting, navigating, and attacking — through natural language.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## How it works
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The plugin manages a local WebSocket bridge process (`mineflayer-server`) that runs a [Mineflayer](https://github.com/PrismarineJS/mineflayer) bot. The elizaOS agent communicates with the bridge over a local WebSocket and drives the bot via a single `MC` action.
|
|
8
8
|
|
|
9
|
+
## Capabilities
|
|
10
|
+
|
|
11
|
+
### Action: `MC`
|
|
12
|
+
|
|
13
|
+
One action with 13 operations, selected by an `action` parameter:
|
|
14
|
+
|
|
15
|
+
| Operation | Parameters | What it does |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| `connect` | `host?`, `port?`, `username?`, `auth?`, `version?` | Join a Minecraft server |
|
|
18
|
+
| `disconnect` | — | Leave the server |
|
|
19
|
+
| `goto` | `x`, `y`, `z` | Pathfind to coordinates |
|
|
20
|
+
| `stop` | — | Cancel movement |
|
|
21
|
+
| `look` | `yaw`, `pitch` | Point the bot's view |
|
|
22
|
+
| `control` | `control`, `state`, `durationMs?` | Press/release a movement key (`forward`, `back`, `left`, `right`, `jump`, `sprint`, `sneak`) |
|
|
23
|
+
| `waypoint_set` | `name` | Save current position as a named waypoint |
|
|
24
|
+
| `waypoint_goto` | `name` | Navigate to a saved waypoint |
|
|
25
|
+
| `waypoint_delete` | `name` | Delete a saved waypoint |
|
|
26
|
+
| `dig` | `x`, `y`, `z` | Mine a block at given coordinates |
|
|
27
|
+
| `place` | `x`, `y`, `z`, `face` | Place the held block against a reference block face (`up`/`down`/`north`/`south`/`east`/`west`) |
|
|
28
|
+
| `chat` | `message` | Send a chat message in-game |
|
|
29
|
+
| `attack` | `entityId` | Attack a nearby entity by ID |
|
|
30
|
+
|
|
31
|
+
Natural-language aliases work: "join", "move/walk", "mine/break", "say/tell", "hit", "navigate", etc.
|
|
32
|
+
|
|
33
|
+
### Providers
|
|
34
|
+
|
|
35
|
+
The plugin injects three context providers into the agent's state each turn:
|
|
36
|
+
|
|
37
|
+
- **MC_WORLD_STATE** — connection status, position, health, food, inventory contents, nearby entities.
|
|
38
|
+
- **MC_WAYPOINTS** — list of saved named waypoints and their coordinates.
|
|
39
|
+
- **MC_VISION** — biome, what the bot is looking at, nearby ores and logs (radius 16), nearby entities.
|
|
40
|
+
|
|
41
|
+
### Services
|
|
42
|
+
|
|
43
|
+
- **MinecraftService** — manages the bot lifecycle and bridge connection.
|
|
44
|
+
- **WaypointsService** — persists named waypoints via agent memory (durable when `plugin-sql` or another durable adapter is loaded).
|
|
45
|
+
|
|
46
|
+
## Requirements
|
|
47
|
+
|
|
48
|
+
- **Node.js only** — does not run in browser or mobile runtimes.
|
|
49
|
+
- A running Minecraft server (local or remote) for the bot to connect to. Offline-mode local servers work out of the box.
|
|
50
|
+
|
|
51
|
+
## Configuration
|
|
52
|
+
|
|
53
|
+
All settings are optional. Defaults work for a local offline server.
|
|
54
|
+
|
|
55
|
+
| Variable | Default | Description |
|
|
56
|
+
|---|---|---|
|
|
57
|
+
| `MC_HOST` | `127.0.0.1` | Minecraft server host |
|
|
58
|
+
| `MC_PORT` | `25565` | Minecraft server port |
|
|
59
|
+
| `MC_USERNAME` | `null` (bridge default: `ElizaBot`) | Bot login name |
|
|
60
|
+
| `MC_AUTH` | `offline` | Auth mode: `offline` or `microsoft` |
|
|
61
|
+
| `MC_VERSION` | `null` (bridge default: `1.20.4`) | Minecraft protocol version |
|
|
62
|
+
| `MC_SERVER_PORT` | `3457` | Local bridge WebSocket port (internal, rarely changed) |
|
|
63
|
+
|
|
64
|
+
Set these as environment variables or via `agentConfig.pluginParameters` in your character config.
|
|
65
|
+
|
|
66
|
+
## Enabling the plugin
|
|
67
|
+
|
|
68
|
+
Add `@elizaos/plugin-minecraft` to your agent's plugin list:
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"plugins": ["@elizaos/plugin-minecraft"]
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The bridge server starts automatically when the plugin initializes.
|
|
77
|
+
|
|
78
|
+
## Development
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Build the plugin
|
|
82
|
+
bun run --cwd plugins/plugin-minecraft build
|
|
83
|
+
|
|
84
|
+
# Build the bridge server (required first time)
|
|
85
|
+
bun run --cwd plugins/plugin-minecraft/mineflayer-server build
|
|
86
|
+
|
|
87
|
+
# Run tests
|
|
88
|
+
bun run --cwd plugins/plugin-minecraft test
|
|
89
|
+
|
|
90
|
+
# Watch mode
|
|
91
|
+
bun run --cwd plugins/plugin-minecraft dev
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
For agent-facing documentation (file layout, how to extend, gotchas), see `CLAUDE.md` in this directory.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-minecraft",
|
|
3
3
|
"description": "Minecraft automation plugin for ElizaOS (Mineflayer bridge)",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.3-beta.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -22,13 +22,30 @@
|
|
|
22
22
|
"exports": {
|
|
23
23
|
"./package.json": "./package.json",
|
|
24
24
|
".": {
|
|
25
|
+
"eliza-source": {
|
|
26
|
+
"types": "./src/index.ts",
|
|
27
|
+
"import": "./src/index.ts",
|
|
28
|
+
"default": "./src/index.ts"
|
|
29
|
+
},
|
|
25
30
|
"import": {
|
|
26
31
|
"types": "./dist/index.d.ts",
|
|
27
32
|
"default": "./dist/index.js"
|
|
28
33
|
}
|
|
34
|
+
},
|
|
35
|
+
"./*.css": "./dist/*.css",
|
|
36
|
+
"./*": {
|
|
37
|
+
"types": "./dist/*.d.ts",
|
|
38
|
+
"eliza-source": {
|
|
39
|
+
"types": "./src/*.ts",
|
|
40
|
+
"import": "./src/*.ts",
|
|
41
|
+
"default": "./src/*.ts"
|
|
42
|
+
},
|
|
43
|
+
"import": "./dist/*.js",
|
|
44
|
+
"default": "./dist/*.js"
|
|
29
45
|
}
|
|
30
46
|
},
|
|
31
47
|
"files": [
|
|
48
|
+
"registry-entry.json",
|
|
32
49
|
"dist",
|
|
33
50
|
"README.md",
|
|
34
51
|
"package.json"
|
|
@@ -38,7 +55,7 @@
|
|
|
38
55
|
"zod": "^4.4.3"
|
|
39
56
|
},
|
|
40
57
|
"peerDependencies": {
|
|
41
|
-
"@elizaos/core": "2.0.
|
|
58
|
+
"@elizaos/core": "2.0.3-beta.3"
|
|
42
59
|
},
|
|
43
60
|
"devDependencies": {
|
|
44
61
|
"@biomejs/biome": "^2.4.14",
|
|
@@ -47,9 +64,9 @@
|
|
|
47
64
|
},
|
|
48
65
|
"scripts": {
|
|
49
66
|
"dev": "bun --hot build.ts",
|
|
50
|
-
"test": "vitest run
|
|
67
|
+
"test": "vitest run",
|
|
51
68
|
"lint": "bunx @biomejs/biome check --write --unsafe .",
|
|
52
|
-
"typecheck": "
|
|
69
|
+
"typecheck": "tsgo --noEmit",
|
|
53
70
|
"clean": "rm -rf dist .turbo",
|
|
54
71
|
"lint:check": "bunx @biomejs/biome check .",
|
|
55
72
|
"build": "bun run build.ts",
|
|
@@ -108,5 +125,6 @@
|
|
|
108
125
|
"sensitive": false
|
|
109
126
|
}
|
|
110
127
|
}
|
|
111
|
-
}
|
|
128
|
+
},
|
|
129
|
+
"gitHead": "f54b0f4eaed317d59fa7dbcdce20f4cdb0734420"
|
|
112
130
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "minecraft",
|
|
3
|
+
"name": "Minecraft",
|
|
4
|
+
"description": "Minecraft automation app for driving Mineflayer bots from Eliza agents.",
|
|
5
|
+
"npmName": "@elizaos/plugin-minecraft",
|
|
6
|
+
"version": "2.0.0-beta.0",
|
|
7
|
+
"source": "bundled",
|
|
8
|
+
"tags": ["app", "games", "minecraft", "automation", "mineflayer"],
|
|
9
|
+
"config": {
|
|
10
|
+
"MC_AUTH": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": false,
|
|
13
|
+
"sensitive": false,
|
|
14
|
+
"label": "Auth",
|
|
15
|
+
"help": "Minecraft auth mode (offline/microsoft)",
|
|
16
|
+
"advanced": false
|
|
17
|
+
},
|
|
18
|
+
"MC_HOST": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": false,
|
|
21
|
+
"sensitive": false,
|
|
22
|
+
"label": "Host",
|
|
23
|
+
"help": "Server host address",
|
|
24
|
+
"advanced": false
|
|
25
|
+
},
|
|
26
|
+
"MC_PORT": {
|
|
27
|
+
"type": "number",
|
|
28
|
+
"required": false,
|
|
29
|
+
"sensitive": false,
|
|
30
|
+
"label": "Port",
|
|
31
|
+
"help": "Minecraft server port",
|
|
32
|
+
"advanced": false,
|
|
33
|
+
"min": 1,
|
|
34
|
+
"max": 65535
|
|
35
|
+
},
|
|
36
|
+
"MC_VERSION": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": false,
|
|
39
|
+
"sensitive": false,
|
|
40
|
+
"label": "Version",
|
|
41
|
+
"help": "Minecraft version",
|
|
42
|
+
"advanced": false
|
|
43
|
+
},
|
|
44
|
+
"MC_USERNAME": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false,
|
|
47
|
+
"sensitive": false,
|
|
48
|
+
"label": "Username",
|
|
49
|
+
"help": "Minecraft username",
|
|
50
|
+
"advanced": false
|
|
51
|
+
},
|
|
52
|
+
"MC_SERVER_PORT": {
|
|
53
|
+
"type": "number",
|
|
54
|
+
"required": false,
|
|
55
|
+
"sensitive": false,
|
|
56
|
+
"label": "Server Port",
|
|
57
|
+
"help": "Local server port",
|
|
58
|
+
"advanced": false,
|
|
59
|
+
"min": 1,
|
|
60
|
+
"max": 65535
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"render": {
|
|
64
|
+
"visible": true,
|
|
65
|
+
"pinTo": [],
|
|
66
|
+
"style": "card",
|
|
67
|
+
"icon": "Pickaxe",
|
|
68
|
+
"group": "gaming",
|
|
69
|
+
"groupOrder": 11,
|
|
70
|
+
"actions": ["enable", "configure"]
|
|
71
|
+
},
|
|
72
|
+
"resources": {
|
|
73
|
+
"homepage": "https://github.com/elizaos/eliza#readme",
|
|
74
|
+
"repository": "https://github.com/elizaos/eliza"
|
|
75
|
+
},
|
|
76
|
+
"dependsOn": [],
|
|
77
|
+
"kind": "plugin",
|
|
78
|
+
"subtype": "gaming"
|
|
79
|
+
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ActionResult, Content, HandlerCallback, HandlerOptions, Memory } from "@elizaos/core";
|
|
2
|
-
import type { JsonValue } from "../protocol.js";
|
|
3
|
-
import { type Vec3 } from "./utils.js";
|
|
4
|
-
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
5
|
-
export declare function parseJsonObject(text: string): Record<string, unknown>;
|
|
6
|
-
export declare function readParams(options?: HandlerOptions | Record<string, JsonValue | undefined>): Record<string, unknown>;
|
|
7
|
-
export declare function mergedInput(message: Memory, options?: HandlerOptions | Record<string, JsonValue | undefined>): Record<string, unknown>;
|
|
8
|
-
export declare function readString(params: Record<string, unknown>, ...keys: string[]): string | null;
|
|
9
|
-
export declare function readNumber(params: Record<string, unknown>, ...keys: string[]): number | null;
|
|
10
|
-
export declare function readBoolean(params: Record<string, unknown>, ...keys: string[]): boolean | null;
|
|
11
|
-
export declare function parseVec3(params: Record<string, unknown>, text: string): Vec3 | null;
|
|
12
|
-
export type PlaceFace = "up" | "down" | "north" | "south" | "east" | "west";
|
|
13
|
-
export declare function isPlaceFace(value: string | null): value is PlaceFace;
|
|
14
|
-
export declare function callbackContent(actionName: string, text: string, source: unknown): Content;
|
|
15
|
-
export declare function emit(actionName: string, callback: HandlerCallback | undefined, text: string, source: unknown, result: Omit<ActionResult, "text">): Promise<ActionResult>;
|
|
16
|
-
export declare function withMinecraftTimeout<T>(promise: Promise<T>, label: string): Promise<T>;
|
|
17
|
-
export declare function capMinecraftData<T>(value: T): T;
|
|
18
|
-
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/actions/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EACZ,OAAO,EACP,eAAe,EACf,cAAc,EACd,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAe,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAMpD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CASrE;AAED,wBAAgB,UAAU,CACxB,OAAO,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC,GAC/D,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAGzB;AAED,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC,GAC/D,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKzB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAM5F;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAU5F;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,GAAG,IAAI,CAW9F;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAMpF;AAED,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5E,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,IAAI,SAAS,CASpE;AAED,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAM1F;AAED,wBAAsB,IAAI,CACxB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,eAAe,GAAG,SAAS,EACrC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,GACjC,OAAO,CAAC,YAAY,CAAC,CAIvB;AAED,wBAAsB,oBAAoB,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAO5F;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAG/C"}
|
package/dist/actions/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Action registry for `@elizaos/plugin-minecraft`.
|
|
3
|
-
*
|
|
4
|
-
* Single planner-facing parent: `MC` (Pattern C) — absorbs the seven
|
|
5
|
-
* old leaves (MC_ATTACK, MC_BLOCK, MC_CHAT, MC_CONNECT, MC_DISCONNECT,
|
|
6
|
-
* MC_LOCOMOTE, MC_WAYPOINT). Old names live as similes for trace
|
|
7
|
-
* continuity.
|
|
8
|
-
*/
|
|
9
|
-
export { minecraftAction } from "./mc.js";
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/actions/mc.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MC — single Pattern C parent action that absorbs the seven leaves
|
|
3
|
-
* (MC_ATTACK, MC_BLOCK, MC_CHAT, MC_CONNECT, MC_DISCONNECT, MC_LOCOMOTE,
|
|
4
|
-
* MC_WAYPOINT) into a single planner-facing surface.
|
|
5
|
-
*
|
|
6
|
-
* Op set:
|
|
7
|
-
* connect { host?, port?, username?, auth?, version? }
|
|
8
|
-
* disconnect { }
|
|
9
|
-
* goto { x, y, z }
|
|
10
|
-
* stop { }
|
|
11
|
-
* look { yaw, pitch }
|
|
12
|
-
* control { control, state, durationMs? }
|
|
13
|
-
* waypoint_goto { name }
|
|
14
|
-
* dig { x, y, z }
|
|
15
|
-
* place { x, y, z, face }
|
|
16
|
-
* chat { message }
|
|
17
|
-
* attack { entityId }
|
|
18
|
-
* waypoint_set { name }
|
|
19
|
-
* waypoint_delete { name }
|
|
20
|
-
*
|
|
21
|
-
* Old leaf names are kept as similes for trace continuity.
|
|
22
|
-
*/
|
|
23
|
-
import type { Action } from "@elizaos/core";
|
|
24
|
-
export declare const minecraftAction: Action;
|
|
25
|
-
//# sourceMappingURL=mc.d.ts.map
|
package/dist/actions/mc.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mc.d.ts","sourceRoot":"","sources":["../../src/actions/mc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,eAAe,CAAC;AAsOvB,eAAO,MAAM,eAAe,EAAE,MAmY7B,CAAC"}
|
package/dist/actions/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/actions/utils.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,IAAI,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAIvD,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAwBrD"}
|
package/dist/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Plugin } from "@elizaos/core";
|
|
2
|
-
export * from "./actions/index.js";
|
|
3
|
-
export * from "./protocol.js";
|
|
4
|
-
export * from "./providers/index.js";
|
|
5
|
-
export * from "./services/minecraft-service.js";
|
|
6
|
-
export * from "./services/process-manager.js";
|
|
7
|
-
export * from "./services/waypoints-service.js";
|
|
8
|
-
export * from "./services/websocket-client.js";
|
|
9
|
-
export * from "./types.js";
|
|
10
|
-
export declare const minecraftPlugin: Plugin;
|
|
11
|
-
export default minecraftPlugin;
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,MAAM,EAAY,MAAM,eAAe,CAAC;AAIrE,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,YAAY,CAAC;AAuB3B,eAAO,MAAM,eAAe,EAAE,MAwB7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|