Skip to content

Commit ad08653

Browse files
shangxueinkgemini-code-assist[bot]Hoshino-Yumetsukinekomeowww
authored
feat(satori-bot): integrate Satori Protocol Adapter (#873)
--------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Hoshino-Yumetsuki <hoshino-yumetsuki@outlook.com> Co-authored-by: Neko <neko@ayaka.moe>
1 parent dec9123 commit ad08653

25 files changed

+1810
-48
lines changed

pnpm-lock.yaml

Lines changed: 87 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
catalogMode: prefer
2+
3+
shellEmulator: true
14
packages:
25
- packages/**
36
- plugins/**
@@ -7,6 +10,18 @@ packages:
710
- apps/**
811
- '!**/dist/**'
912

13+
overrides:
14+
array-flatten: npm:@nolyfill/array-flatten@^1.0.44
15+
axios: npm:feaxios@^0.0.23
16+
is-core-module: npm:@nolyfill/is-core-module@^1.0.39
17+
isarray: npm:@nolyfill/isarray@^1.0.44
18+
safe-buffer: npm:@nolyfill/safe-buffer@^1.0.44
19+
safer-buffer: npm:@nolyfill/safer-buffer@^1.0.44
20+
side-channel: npm:@nolyfill/side-channel@^1.0.44
21+
string.prototype.matchall: npm:@nolyfill/string.prototype.matchall@^1.0.44
22+
23+
patchedDependencies:
24+
srvx@0.9.8: patches/srvx@0.9.8.patch
1025
catalog:
1126
'@capacitor/cli': ^8.0.0
1227
'@capacitor/core': ^8.0.0
@@ -57,8 +72,6 @@ catalog:
5772
xsschema: 0.4.0-beta.13
5873
zod: ^4.2.1
5974

60-
catalogMode: prefer
61-
6275
catalogs:
6376
rolldown-vite:
6477
vite: npm:rolldown-vite@^7.2.11
@@ -94,18 +107,3 @@ onlyBuiltDependencies:
94107
- spawn-sync
95108
- utf-8-validate
96109
- vue-demi
97-
98-
overrides:
99-
array-flatten: npm:@nolyfill/array-flatten@^1.0.44
100-
axios: npm:feaxios@^0.0.23
101-
is-core-module: npm:@nolyfill/is-core-module@^1.0.39
102-
isarray: npm:@nolyfill/isarray@^1.0.44
103-
safe-buffer: npm:@nolyfill/safe-buffer@^1.0.44
104-
safer-buffer: npm:@nolyfill/safer-buffer@^1.0.44
105-
side-channel: npm:@nolyfill/side-channel@^1.0.44
106-
string.prototype.matchall: npm:@nolyfill/string.prototype.matchall@^1.0.44
107-
108-
patchedDependencies:
109-
srvx@0.9.8: patches/srvx@0.9.8.patch
110-
111-
shellEmulator: true

services/minecraft/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"awilix": "^12.0.5",
1919
"es-toolkit": "^1.43.0",
2020
"eventemitter3": "^5.0.1",
21-
"minecraft-data": "^3.102.3",
21+
"minecraft-data": "^3.101.0",
2222
"mineflayer": "^4.33.0",
2323
"mineflayer-armor-manager": "^2.0.1",
2424
"mineflayer-auto-eat": "^5.0.3",

services/satori-bot/.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Satori Configuration
2+
SATORI_WS_URL=ws://localhost:5140/satori/v1/events
3+
SATORI_API_BASE_URL=http://localhost:5140/satori/v1
4+
SATORI_TOKEN=your_satori_token_here
5+
6+
# LLM Configuration
7+
LLM_API_KEY=your_api_key_here
8+
LLM_API_BASE_URL=https://api.openai.com/v1
9+
LLM_MODEL=gpt-4
10+
LLM_RESPONSE_LANGUAGE=English
11+
LLM_OLLAMA_DISABLE_THINK=false

0 commit comments

Comments
 (0)