@elizaos/plugin-minecraft 2.0.0-alpha.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 (54) hide show
  1. package/README.md +8 -0
  2. package/dist/actions/attack.d.ts +3 -0
  3. package/dist/actions/attack.d.ts.map +1 -0
  4. package/dist/actions/chat.d.ts +3 -0
  5. package/dist/actions/chat.d.ts.map +1 -0
  6. package/dist/actions/connect.d.ts +3 -0
  7. package/dist/actions/connect.d.ts.map +1 -0
  8. package/dist/actions/control.d.ts +3 -0
  9. package/dist/actions/control.d.ts.map +1 -0
  10. package/dist/actions/dig.d.ts +3 -0
  11. package/dist/actions/dig.d.ts.map +1 -0
  12. package/dist/actions/disconnect.d.ts +3 -0
  13. package/dist/actions/disconnect.d.ts.map +1 -0
  14. package/dist/actions/goto.d.ts +3 -0
  15. package/dist/actions/goto.d.ts.map +1 -0
  16. package/dist/actions/index.d.ts +13 -0
  17. package/dist/actions/index.d.ts.map +1 -0
  18. package/dist/actions/look.d.ts +3 -0
  19. package/dist/actions/look.d.ts.map +1 -0
  20. package/dist/actions/place.d.ts +3 -0
  21. package/dist/actions/place.d.ts.map +1 -0
  22. package/dist/actions/scan.d.ts +3 -0
  23. package/dist/actions/scan.d.ts.map +1 -0
  24. package/dist/actions/stop.d.ts +3 -0
  25. package/dist/actions/stop.d.ts.map +1 -0
  26. package/dist/actions/utils.d.ts +7 -0
  27. package/dist/actions/utils.d.ts.map +1 -0
  28. package/dist/actions/waypoints.d.ts +6 -0
  29. package/dist/actions/waypoints.d.ts.map +1 -0
  30. package/dist/index.d.ts +12 -0
  31. package/dist/index.d.ts.map +1 -0
  32. package/dist/index.js +4664 -0
  33. package/dist/index.js.map +51 -0
  34. package/dist/protocol.d.ts +21 -0
  35. package/dist/protocol.d.ts.map +1 -0
  36. package/dist/providers/index.d.ts +4 -0
  37. package/dist/providers/index.d.ts.map +1 -0
  38. package/dist/providers/vision.d.ts +3 -0
  39. package/dist/providers/vision.d.ts.map +1 -0
  40. package/dist/providers/waypoints.d.ts +3 -0
  41. package/dist/providers/waypoints.d.ts.map +1 -0
  42. package/dist/providers/world-state.d.ts +3 -0
  43. package/dist/providers/world-state.d.ts.map +1 -0
  44. package/dist/services/minecraft-service.d.ts +32 -0
  45. package/dist/services/minecraft-service.d.ts.map +1 -0
  46. package/dist/services/process-manager.d.ts +13 -0
  47. package/dist/services/process-manager.d.ts.map +1 -0
  48. package/dist/services/waypoints-service.d.ts +29 -0
  49. package/dist/services/waypoints-service.d.ts.map +1 -0
  50. package/dist/services/websocket-client.d.ts +13 -0
  51. package/dist/services/websocket-client.d.ts.map +1 -0
  52. package/dist/types.d.ts +48 -0
  53. package/dist/types.d.ts.map +1 -0
  54. package/package.json +61 -0
package/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # @elizaos/plugin-minecraft (TypeScript)
2
+
3
+ TypeScript plugin entrypoint for Minecraft automation via the local Mineflayer bridge server.
4
+
5
+ Most users should read the root docs:
6
+
7
+ - `plugins/plugin-minecraft/README.md`
8
+
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftAttackAction: Action;
3
+ //# sourceMappingURL=attack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attack.d.ts","sourceRoot":"","sources":["../../src/actions/attack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAavB,eAAO,MAAM,qBAAqB,EAAE,MAmDnC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftChatAction: Action;
3
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/actions/chat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAMvB,eAAO,MAAM,mBAAmB,EAAE,MAqDjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftConnectAction: Action;
3
+ //# sourceMappingURL=connect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/actions/connect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAoCvB,eAAO,MAAM,sBAAsB,EAAE,MAwDpC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftControlAction: Action;
3
+ //# sourceMappingURL=control.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../src/actions/control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAsCvB,eAAO,MAAM,sBAAsB,EAAE,MA0DpC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftDigAction: Action;
3
+ //# sourceMappingURL=dig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dig.d.ts","sourceRoot":"","sources":["../../src/actions/dig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAOvB,eAAO,MAAM,kBAAkB,EAAE,MAwDhC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftDisconnectAction: Action;
3
+ //# sourceMappingURL=disconnect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disconnect.d.ts","sourceRoot":"","sources":["../../src/actions/disconnect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAMvB,eAAO,MAAM,yBAAyB,EAAE,MAoDvC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftGotoAction: Action;
3
+ //# sourceMappingURL=goto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goto.d.ts","sourceRoot":"","sources":["../../src/actions/goto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAOvB,eAAO,MAAM,mBAAmB,EAAE,MAkDjC,CAAC"}
@@ -0,0 +1,13 @@
1
+ export { minecraftAttackAction } from "./attack.js";
2
+ export { minecraftChatAction } from "./chat.js";
3
+ export { minecraftConnectAction } from "./connect.js";
4
+ export { minecraftControlAction } from "./control.js";
5
+ export { minecraftDigAction } from "./dig.js";
6
+ export { minecraftDisconnectAction } from "./disconnect.js";
7
+ export { minecraftGotoAction } from "./goto.js";
8
+ export { minecraftLookAction } from "./look.js";
9
+ export { minecraftPlaceAction } from "./place.js";
10
+ export { minecraftScanAction } from "./scan.js";
11
+ export { minecraftStopAction } from "./stop.js";
12
+ export { minecraftWaypointDeleteAction, minecraftWaypointGotoAction, minecraftWaypointListAction, minecraftWaypointSetAction, } from "./waypoints.js";
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,EAC3B,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftLookAction: Action;
3
+ //# sourceMappingURL=look.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"look.d.ts","sourceRoot":"","sources":["../../src/actions/look.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AA2BvB,eAAO,MAAM,mBAAmB,EAAE,MAiDjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftPlaceAction: Action;
3
+ //# sourceMappingURL=place.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"place.d.ts","sourceRoot":"","sources":["../../src/actions/place.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AA8CvB,eAAO,MAAM,oBAAoB,EAAE,MAwDlC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftScanAction: Action;
3
+ //# sourceMappingURL=scan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scan.d.ts","sourceRoot":"","sources":["../../src/actions/scan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAgDvB,eAAO,MAAM,mBAAmB,EAAE,MA2DjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const minecraftStopAction: Action;
3
+ //# sourceMappingURL=stop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stop.d.ts","sourceRoot":"","sources":["../../src/actions/stop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAMvB,eAAO,MAAM,mBAAmB,EAAE,MA0CjC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type Vec3 = {
2
+ x: number;
3
+ y: number;
4
+ z: number;
5
+ };
6
+ export declare function extractVec3(text: string): Vec3 | null;
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
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,CA2BrD"}
@@ -0,0 +1,6 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"waypoints.d.ts","sourceRoot":"","sources":["../../src/actions/waypoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,eAAe,CAAC;AAevB,eAAO,MAAM,0BAA0B,EAAE,MA4DxC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,MAuC3C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MA8CzC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAqDzC,CAAC"}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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;AAuC3B,eAAO,MAAM,eAAe,EAAE,MA4C7B,CAAC;AAEF,eAAe,eAAe,CAAC"}