@elizaos/plugin-minecraft 2.0.0-alpha.7 → 2.0.0-beta.1

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.
Files changed (39) hide show
  1. package/dist/actions/helpers.d.ts +18 -0
  2. package/dist/actions/helpers.d.ts.map +1 -0
  3. package/dist/actions/index.d.ts +9 -12
  4. package/dist/actions/index.d.ts.map +1 -1
  5. package/dist/actions/mc.d.ts +25 -0
  6. package/dist/actions/mc.d.ts.map +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +755 -1210
  9. package/dist/index.js.map +15 -25
  10. package/dist/providers/vision.d.ts.map +1 -1
  11. package/dist/providers/waypoints.d.ts.map +1 -1
  12. package/dist/providers/world-state.d.ts +1 -1
  13. package/dist/providers/world-state.d.ts.map +1 -1
  14. package/dist/services/websocket-client.d.ts.map +1 -1
  15. package/package.json +7 -7
  16. package/dist/actions/attack.d.ts +0 -3
  17. package/dist/actions/attack.d.ts.map +0 -1
  18. package/dist/actions/chat.d.ts +0 -3
  19. package/dist/actions/chat.d.ts.map +0 -1
  20. package/dist/actions/connect.d.ts +0 -3
  21. package/dist/actions/connect.d.ts.map +0 -1
  22. package/dist/actions/control.d.ts +0 -3
  23. package/dist/actions/control.d.ts.map +0 -1
  24. package/dist/actions/dig.d.ts +0 -3
  25. package/dist/actions/dig.d.ts.map +0 -1
  26. package/dist/actions/disconnect.d.ts +0 -3
  27. package/dist/actions/disconnect.d.ts.map +0 -1
  28. package/dist/actions/goto.d.ts +0 -3
  29. package/dist/actions/goto.d.ts.map +0 -1
  30. package/dist/actions/look.d.ts +0 -3
  31. package/dist/actions/look.d.ts.map +0 -1
  32. package/dist/actions/place.d.ts +0 -3
  33. package/dist/actions/place.d.ts.map +0 -1
  34. package/dist/actions/scan.d.ts +0 -3
  35. package/dist/actions/scan.d.ts.map +0 -1
  36. package/dist/actions/stop.d.ts +0 -3
  37. package/dist/actions/stop.d.ts.map +0 -1
  38. package/dist/actions/waypoints.d.ts +0 -6
  39. package/dist/actions/waypoints.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"vision.d.ts","sourceRoot":"","sources":["../../src/providers/vision.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAG5F,eAAO,MAAM,uBAAuB,EAAE,QA+FrC,CAAC"}
1
+ {"version":3,"file":"vision.d.ts","sourceRoot":"","sources":["../../src/providers/vision.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAM5F,eAAO,MAAM,uBAAuB,EAAE,QAmHrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"waypoints.d.ts","sourceRoot":"","sources":["../../src/providers/waypoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAG5F,eAAO,MAAM,0BAA0B,EAAE,QAoCxC,CAAC"}
1
+ {"version":3,"file":"waypoints.d.ts","sourceRoot":"","sources":["../../src/providers/waypoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAK5F,eAAO,MAAM,0BAA0B,EAAE,QAqDxC,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { Provider } from "@elizaos/core";
1
+ import { type Provider } from "@elizaos/core";
2
2
  export declare const minecraftWorldStateProvider: Provider;
3
3
  //# sourceMappingURL=world-state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"world-state.d.ts","sourceRoot":"","sources":["../../src/providers/world-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAI5F,eAAO,MAAM,2BAA2B,EAAE,QA0DzC,CAAC"}
1
+ {"version":3,"file":"world-state.d.ts","sourceRoot":"","sources":["../../src/providers/world-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EAGd,MAAM,eAAe,CAAC;AA0DvB,eAAO,MAAM,2BAA2B,EAAE,QAiFzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"websocket-client.d.ts","sourceRoot":"","sources":["../../src/services/websocket-client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EAGV,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AA8BxB,qBAAa,wBAAwB;IAIvB,OAAO,CAAC,SAAS;IAH7B,OAAO,CAAC,EAAE,CAA0B;IACpC,OAAO,CAAC,OAAO,CAAmC;gBAE9B,SAAS,EAAE,MAAM;IAE/B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAuB9B,UAAU,IAAI,IAAI;IAKZ,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;IAK1B,WAAW,CACf,IAAI,EAAE,0BAA0B,EAChC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,EAAE,UAAU,EAChB,SAAS,GAAE,MAAe,GACzB,OAAO,CAAC,uBAAuB,CAAC;IAsCnC,OAAO,CAAC,SAAS;CAiBlB"}
1
+ {"version":3,"file":"websocket-client.d.ts","sourceRoot":"","sources":["../../src/services/websocket-client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EAGV,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AA8BxB,qBAAa,wBAAwB;IAIvB,OAAO,CAAC,SAAS;IAH7B,OAAO,CAAC,EAAE,CAA0B;IACpC,OAAO,CAAC,OAAO,CAAmC;gBAE9B,SAAS,EAAE,MAAM;IAE/B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAuB9B,UAAU,IAAI,IAAI;IAKZ,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;IAK1B,WAAW,CACf,IAAI,EAAE,0BAA0B,EAChC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,EAAE,UAAU,EAChB,SAAS,GAAE,MAAe,GACzB,OAAO,CAAC,uBAAuB,CAAC;IAuCnC,OAAO,CAAC,SAAS;CAiBlB"}
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.0-alpha.7",
4
+ "version": "2.0.0-beta.1",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -35,19 +35,19 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "ws": "^8.18.0",
38
- "zod": "^4.3.6"
38
+ "zod": "^4.4.3"
39
39
  },
40
40
  "peerDependencies": {
41
- "@elizaos/core": "2.0.0-alpha.3"
41
+ "@elizaos/core": "2.0.0-beta.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@biomejs/biome": "^2.3.11",
44
+ "@biomejs/biome": "^2.4.14",
45
45
  "@types/ws": "^8.5.10",
46
- "typescript": "^5.9.3"
46
+ "typescript": "^6.0.3"
47
47
  },
48
48
  "scripts": {
49
49
  "dev": "bun --hot build.ts",
50
- "test": "vitest run || echo 'TypeScript tests skipped - no tests found'",
50
+ "test": "vitest run --passWithNoTests",
51
51
  "lint": "bunx @biomejs/biome check --write --unsafe .",
52
52
  "typecheck": "tsc --noEmit",
53
53
  "clean": "rm -rf dist .turbo",
@@ -60,7 +60,7 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "milady": {
63
+ "eliza": {
64
64
  "platforms": [
65
65
  "node"
66
66
  ],
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftAttackAction: Action;
3
- //# sourceMappingURL=attack.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attack.d.ts","sourceRoot":"","sources":["../../src/actions/attack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAUvB,eAAO,MAAM,qBAAqB,EAAE,MAwEnC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftChatAction: Action;
3
- //# sourceMappingURL=chat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/actions/chat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAGvB,eAAO,MAAM,mBAAmB,EAAE,MA8EjC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftConnectAction: Action;
3
- //# sourceMappingURL=connect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/actions/connect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAgCvB,eAAO,MAAM,sBAAsB,EAAE,MAiFpC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftControlAction: Action;
3
- //# sourceMappingURL=control.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../src/actions/control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAmCvB,eAAO,MAAM,sBAAsB,EAAE,MA8EpC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftDigAction: Action;
3
- //# sourceMappingURL=dig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dig.d.ts","sourceRoot":"","sources":["../../src/actions/dig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,kBAAkB,EAAE,MA+EhC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftDisconnectAction: Action;
3
- //# sourceMappingURL=disconnect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"disconnect.d.ts","sourceRoot":"","sources":["../../src/actions/disconnect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAGvB,eAAO,MAAM,yBAAyB,EAAE,MA6EvC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftGotoAction: Action;
3
- //# sourceMappingURL=goto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"goto.d.ts","sourceRoot":"","sources":["../../src/actions/goto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,mBAAmB,EAAE,MA0EjC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftLookAction: Action;
3
- //# sourceMappingURL=look.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"look.d.ts","sourceRoot":"","sources":["../../src/actions/look.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAwBvB,eAAO,MAAM,mBAAmB,EAAE,MAwEjC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftPlaceAction: Action;
3
- //# sourceMappingURL=place.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"place.d.ts","sourceRoot":"","sources":["../../src/actions/place.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAwCvB,eAAO,MAAM,oBAAoB,EAAE,MA+ElC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftScanAction: Action;
3
- //# sourceMappingURL=scan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scan.d.ts","sourceRoot":"","sources":["../../src/actions/scan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AA4CvB,eAAO,MAAM,mBAAmB,EAAE,MAiFjC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftStopAction: Action;
3
- //# sourceMappingURL=stop.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stop.d.ts","sourceRoot":"","sources":["../../src/actions/stop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAGvB,eAAO,MAAM,mBAAmB,EAAE,MAkEjC,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- export declare const minecraftWaypointSetAction: Action;
3
- export declare const minecraftWaypointDeleteAction: Action;
4
- export declare const minecraftWaypointListAction: Action;
5
- export declare const minecraftWaypointGotoAction: Action;
6
- //# sourceMappingURL=waypoints.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"waypoints.d.ts","sourceRoot":"","sources":["../../src/actions/waypoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AASvB,eAAO,MAAM,0BAA0B,EAAE,MAsFxC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,MA+D3C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAqEzC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAgFzC,CAAC"}