From d5a241b10e72717119b6a804b2a64d8e958b59e5 Mon Sep 17 00:00:00 2001 From: RainbowBird Date: Sun, 2 Aug 2026 20:12:13 +0800 Subject: [PATCH] chore: migrate services to integration folder --- .github/CONTRIBUTING.md | 6 +++--- .vscode/launch.json | 2 +- docs/content/en/blog/DevLog-2025.04.06/index.md | 2 +- .../en/docs/contributing/services/discord.md | 2 +- .../en/docs/contributing/services/minecraft.md | 2 +- .../en/docs/contributing/services/satori.md | 2 +- .../en/docs/contributing/services/telegram.md | 2 +- docs/content/ja/blog/DevLog-2025.04.06/index.md | 2 +- .../ja/docs/contributing/services/discord.md | 2 +- .../ja/docs/contributing/services/minecraft.md | 2 +- .../ja/docs/contributing/services/satori.md | 2 +- .../ja/docs/contributing/services/telegram.md | 2 +- docs/content/ko/blog/DevLog-2025.04.06/index.md | 2 +- .../ko/docs/contributing/services/discord.md | 2 +- .../ko/docs/contributing/services/minecraft.md | 2 +- .../ko/docs/contributing/services/satori.md | 2 +- .../ko/docs/contributing/services/telegram.md | 2 +- .../zh-Hans/blog/DevLog-2025.04.06/index.md | 2 +- docs/content/zh-Hans/docs/integrations/discord.md | 4 ++-- .../content/zh-Hans/docs/integrations/minecraft.md | 4 ++-- docs/content/zh-Hans/docs/integrations/satori.md | 4 ++-- docs/content/zh-Hans/docs/integrations/telegram.md | 6 +++--- docs/content/zh-Hans/docs/overview/index.md | 2 +- {services => integrations}/discord-bot/.env | 0 {services => integrations}/discord-bot/README.md | 2 +- .../discord-bot/package.json | 2 +- .../discord-bot/src/adapters/airi-adapter.ts | 0 .../discord-bot/src/bots/discord/commands/index.ts | 0 .../discord-bot/src/bots/discord/commands/ping.ts | 0 .../src/bots/discord/commands/summon.ts | 0 .../discord-bot/src/constants/audio.ts | 0 .../discord-bot/src/index.ts | 0 .../discord-bot/src/pipelines/tts.ts | 0 .../discord-bot/src/utils/audio-monitor.ts | 0 .../discord-bot/src/utils/audio.ts | 0 .../discord-bot/src/utils/opus.ts | 0 .../discord-bot/tsconfig.json | 0 {services => integrations}/minecraft/.env | 0 {services => integrations}/minecraft/.gitignore | 0 .../minecraft/.vscode/launch.json | 0 {services => integrations}/minecraft/README.md | 6 +++--- .../codex-skills/minecraft-debug-mcp/SKILL.md | 2 +- .../minecraft-debug-mcp/agents/openai.yaml | 0 .../minecraft-debug-mcp/references/mcp-surface.md | 4 ++-- .../minecraft/docs/preview.avif | Bin {services => integrations}/minecraft/package.json | 0 .../minecraft/src/airi/airi-bridge.test.ts | 0 .../minecraft/src/airi/airi-bridge.ts | 0 .../src/airi/minecraft-context-service.test.ts | 2 +- .../src/airi/minecraft-context-service.ts | 0 .../minecraft/src/airi/start-background-client.ts | 0 .../src/cognitive/action/action-registry.ts | 0 .../src/cognitive/action/llm-actions.test.ts | 0 .../minecraft/src/cognitive/action/llm-actions.ts | 0 .../src/cognitive/action/task-executor.ts | 0 .../minecraft/src/cognitive/action/types.ts | 0 .../minecraft/src/cognitive/action/types/index.ts | 0 .../src/cognitive/conscious/brain.test.ts | 0 .../minecraft/src/cognitive/conscious/brain.ts | 0 .../src/cognitive/conscious/context-view.ts | 0 .../src/cognitive/conscious/history-query.ts | 0 .../conscious/js-planner-sandbox-protocol.ts | 0 .../conscious/js-planner-sandbox-runner.ts | 0 .../src/cognitive/conscious/js-planner-worker.ts | 0 .../src/cognitive/conscious/js-planner.test.ts | 0 .../src/cognitive/conscious/js-planner.ts | 0 .../minecraft/src/cognitive/conscious/llm-agent.ts | 0 .../src/cognitive/conscious/llm-log.test.ts | 0 .../minecraft/src/cognitive/conscious/llm-log.ts | 0 .../minecraft/src/cognitive/conscious/llmlogic.ts | 0 .../src/cognitive/conscious/map-renderer.test.ts | 0 .../src/cognitive/conscious/map-renderer.ts | 0 .../src/cognitive/conscious/patterns/catalog.ts | 0 .../cognitive/conscious/patterns/runtime.test.ts | 0 .../src/cognitive/conscious/patterns/runtime.ts | 0 .../src/cognitive/conscious/patterns/types.ts | 0 .../cognitive/conscious/prompts/brain-prompt.md | 0 .../conscious/prompts/brain-prompt.test.ts | 0 .../cognitive/conscious/prompts/brain-prompt.ts | 0 .../src/cognitive/conscious/query-dsl.test.ts | 0 .../minecraft/src/cognitive/conscious/query-dsl.ts | 0 .../conscious/repl-code-normalizer.test.ts | 0 .../cognitive/conscious/repl-code-normalizer.ts | 0 .../src/cognitive/conscious/task-state.ts | 0 .../minecraft/src/cognitive/container.ts | 0 .../minecraft/src/cognitive/event-bus.test.ts | 0 .../minecraft/src/cognitive/event-bus.ts | 0 .../minecraft/src/cognitive/index.ts | 0 .../perception/events/definitions/arm-swing.ts | 0 .../events/definitions/attacker-tracker.test.ts | 0 .../events/definitions/attacker-tracker.ts | 0 .../perception/events/definitions/damage-taken.ts | 0 .../perception/events/definitions/entity-moved.ts | 0 .../events/definitions/fall-tracker.test.ts | 0 .../perception/events/definitions/fall-tracker.ts | 0 .../perception/events/definitions/index.ts | 0 .../events/definitions/low-health.test.ts | 0 .../perception/events/definitions/low-health.ts | 0 .../perception/events/definitions/sneak-toggle.ts | 0 .../events/definitions/system-message.ts | 0 .../src/cognitive/perception/events/index.ts | 0 .../src/cognitive/perception/events/types.ts | 0 .../src/cognitive/perception/gaze.test.ts | 0 .../minecraft/src/cognitive/perception/gaze.ts | 0 .../minecraft/src/cognitive/perception/pipeline.ts | 0 .../perception/rules/attention/movement.yaml | 0 .../perception/rules/attention/punch.yaml | 0 .../cognitive/perception/rules/danger/damage.yaml | 0 .../perception/rules/danger/low-health.yaml | 0 .../src/cognitive/perception/rules/engine.ts | 0 .../src/cognitive/perception/rules/index.ts | 0 .../src/cognitive/perception/rules/loader.ts | 0 .../src/cognitive/perception/rules/matcher.ts | 0 .../src/cognitive/perception/rules/rules.test.ts | 0 .../cognitive/perception/rules/social/teabag.yaml | 0 .../cognitive/perception/rules/system-message.yaml | 0 .../perception/rules/temporal-detector.ts | 0 .../src/cognitive/perception/rules/types.ts | 0 .../src/cognitive/perception/types/raw-events.ts | 0 .../src/cognitive/perception/types/signals.ts | 0 .../cognitive/reflex/behaviors/auto-eat.test.ts | 0 .../src/cognitive/reflex/behaviors/auto-eat.ts | 0 .../src/cognitive/reflex/behaviors/defend.test.ts | 0 .../src/cognitive/reflex/behaviors/defend.ts | 0 .../reflex/behaviors/escape-hazard.test.ts | 0 .../cognitive/reflex/behaviors/escape-hazard.ts | 0 .../src/cognitive/reflex/behaviors/idle-gaze.ts | 0 .../minecraft/src/cognitive/reflex/context.ts | 0 .../minecraft/src/cognitive/reflex/modes.ts | 0 .../src/cognitive/reflex/reflex-manager.test.ts | 0 .../src/cognitive/reflex/reflex-manager.ts | 0 .../minecraft/src/cognitive/reflex/runtime.test.ts | 0 .../minecraft/src/cognitive/reflex/runtime.ts | 0 .../src/cognitive/reflex/types/behavior.ts | 0 .../minecraft/src/cognitive/types.ts | 0 .../minecraft/src/cognitive/types/index.ts | 0 .../minecraft/src/composables/bot.ts | 0 .../minecraft/src/composables/config.ts | 0 .../minecraft/src/composables/runtime-config.ts | 0 .../minecraft/src/debug/debug-service.ts | 0 .../minecraft/src/debug/index.ts | 0 .../minecraft/src/debug/mcp-repl-server.test.ts | 0 .../minecraft/src/debug/mcp-repl-server.ts | 0 .../minecraft/src/debug/mineflayer-viewer.ts | 0 .../minecraft/src/debug/server.ts | 0 .../minecraft/src/debug/tool-executor.ts | 0 .../minecraft/src/debug/types.ts | 0 .../minecraft/src/debug/web/app.js | 0 .../minecraft/src/debug/web/conversation.css | 0 .../minecraft/src/debug/web/index.html | 0 .../minecraft/src/debug/web/styles.css | 0 .../minecraft/src/debug/web/tools.css | 0 .../minecraft/src/libs/mineflayer/action.ts | 0 .../minecraft/src/libs/mineflayer/base-agent.ts | 0 .../minecraft/src/libs/mineflayer/command.ts | 0 .../minecraft/src/libs/mineflayer/components.ts | 0 .../src/libs/mineflayer/connection-supervisor.ts | 0 .../minecraft/src/libs/mineflayer/core.ts | 0 .../minecraft/src/libs/mineflayer/foods.test.ts | 0 .../minecraft/src/libs/mineflayer/foods.ts | 0 .../minecraft/src/libs/mineflayer/health.ts | 0 .../minecraft/src/libs/mineflayer/index.ts | 0 .../minecraft/src/libs/mineflayer/memory.ts | 0 .../minecraft/src/libs/mineflayer/message.ts | 0 .../src/libs/mineflayer/plugin-runtime.ts | 0 .../minecraft/src/libs/mineflayer/plugin.ts | 0 .../minecraft/src/libs/mineflayer/status.ts | 0 .../minecraft/src/libs/mineflayer/ticker.ts | 0 .../minecraft/src/libs/mineflayer/types.ts | 0 {services => integrations}/minecraft/src/main.ts | 0 .../minecraft/src/minecraft-bot-runtime.ts | 0 .../minecraft/src/plugins/echo.ts | 0 .../minecraft/src/plugins/follow.ts | 0 .../minecraft/src/plugins/pathfinder.ts | 0 .../minecraft/src/plugins/status.ts | 0 .../skills/actions/block-type-normalizer.test.ts | 0 .../src/skills/actions/block-type-normalizer.ts | 0 .../minecraft/src/skills/actions/collect-block.ts | 0 .../minecraft/src/skills/actions/ensure.ts | 0 .../minecraft/src/skills/actions/gather-wood.ts | 0 .../minecraft/src/skills/actions/inventory.ts | 0 .../src/skills/actions/world-interactions.ts | 0 .../minecraft/src/skills/base.ts | 0 .../minecraft/src/skills/blocks.ts | 0 .../minecraft/src/skills/combat.test.ts | 0 .../minecraft/src/skills/combat.ts | 0 .../minecraft/src/skills/containers.ts | 0 .../minecraft/src/skills/crafting.test.ts | 0 .../minecraft/src/skills/crafting.ts | 0 .../minecraft/src/skills/index.ts | 0 .../minecraft/src/skills/inventory.ts | 0 .../minecraft/src/skills/movement.test.ts | 0 .../minecraft/src/skills/movement.ts | 0 .../minecraft/src/skills/patched-goto.test.ts | 0 .../minecraft/src/skills/patched-goto.ts | 0 .../minecraft/src/skills/world.ts | 0 .../minecraft/src/utils/error-message.ts | 0 .../minecraft/src/utils/errors.ts | 0 .../minecraft/src/utils/logger.ts | 0 .../minecraft/src/utils/mcdata.ts | 0 .../minecraft/src/utils/recipe-planner.ts | 0 {services => integrations}/minecraft/tsconfig.json | 0 .../minecraft/vitest.config.ts | 0 {services => integrations}/satori-bot/.env | 0 {services => integrations}/satori-bot/.gitignore | 7 +++---- {services => integrations}/satori-bot/README.md | 0 .../satori-bot/data/.gitkeep | 0 .../satori-bot/docs/EVENT.md | 0 .../satori-bot/docs/HANDLER.md | 0 .../satori-bot/docs/PERSISTENCE.md | 0 .../satori-bot/docs/PROMPTS.md | 0 .../satori-bot/drizzle.config.ts | 0 .../drizzle/0000_cooing_captain_flint.sql | 0 .../satori-bot/drizzle/meta/0000_snapshot.json | 0 .../satori-bot/drizzle/meta/_journal.json | 0 {services => integrations}/satori-bot/package.json | 2 +- .../satori-bot/src/adapter/satori/api.ts | 0 .../satori-bot/src/adapter/satori/client.ts | 0 .../satori-bot/src/adapter/satori/schema.ts | 0 .../satori-bot/src/adapter/satori/types.ts | 0 .../src/capabilities/actions/read-messages.ts | 0 .../src/capabilities/actions/send-message.ts | 0 .../satori-bot/src/capabilities/actions/system.ts | 0 .../satori-bot/src/capabilities/definition.ts | 0 .../satori-bot/src/capabilities/registry.ts | 0 .../satori-bot/src/config.ts | 0 .../satori-bot/src/core/constants.ts | 0 .../satori-bot/src/core/dispatcher.ts | 0 .../satori-bot/src/core/index.ts | 0 .../satori-bot/src/core/loop/queue.ts | 0 .../satori-bot/src/core/loop/scheduler.ts | 0 .../satori-bot/src/core/planner/llm-client.ts | 0 .../satori-bot/src/core/planner/prompts/index.ts | 0 .../satori-bot/src/core/planner/prompts/path.ts | 0 .../core/planner/prompts/personality-v1.velin.md | 0 .../planner/prompts/system-action-gen-v1.velin.md | 0 .../satori-bot/src/core/planner/prompts/velin.ts | 0 .../satori-bot/src/core/session/context.ts | 0 .../satori-bot/src/core/types.ts | 0 .../satori-bot/src/core/utils.ts | 0 {services => integrations}/satori-bot/src/index.ts | 0 .../satori-bot/src/lib/db.ts | 0 .../satori-bot/src/lib/schema.ts | 0 {services => integrations}/satori-bot/todolist.md | 0 .../satori-bot/tsconfig.json | 0 {services => integrations}/telegram-bot/.env | 0 {services => integrations}/telegram-bot/README.md | 2 +- .../deploy/grafana/dashboards/.gitkeep | 0 .../deploy/grafana/datasources/.gitkeep | 0 .../grafana/datasources/datasource-prometheus.yaml | 0 .../grafana/datasources/datasource-tempo.yaml | 0 .../deploy/otel-collector/collector-config.yaml | 0 .../telegram-bot/deploy/prometheus/prometheus.yml | 0 .../telegram-bot/deploy/tempo/tempo.yaml | 0 .../telegram-bot/docker-compose.yaml | 0 .../telegram-bot/drizzle.config.ts | 0 .../telegram-bot/drizzle/0000_harsh_king_cobra.sql | 0 .../telegram-bot/drizzle/0001_next_talkback.sql | 0 .../telegram-bot/drizzle/0002_calm_magdalene.sql | 0 .../telegram-bot/drizzle/0003_black_warbird.sql | 0 .../telegram-bot/drizzle/0004_complete_gravity.sql | 0 .../drizzle/0005_workable_shockwave.sql | 0 .../telegram-bot/drizzle/meta/0000_snapshot.json | 0 .../telegram-bot/drizzle/meta/0001_snapshot.json | 0 .../telegram-bot/drizzle/meta/0002_snapshot.json | 0 .../telegram-bot/drizzle/meta/0003_snapshot.json | 0 .../telegram-bot/drizzle/meta/0004_snapshot.json | 0 .../telegram-bot/drizzle/meta/0005_snapshot.json | 0 .../telegram-bot/drizzle/meta/_journal.json | 0 .../telegram-bot/package.json | 2 +- .../scripts/embed-all-chat-messages.ts | 0 .../telegram-bot/sql/init.sql | 0 .../bots/telegram/agent/actions/read-message.ts | 0 .../telegram/agent/actions/send-message.test.ts | 0 .../bots/telegram/agent/actions/send-message.ts | 0 .../src/bots/telegram/agent/attention-handler.ts | 0 .../src/bots/telegram/agent/interruption.ts | 0 .../telegram-bot/src/bots/telegram/index.ts | 0 .../telegram-bot/src/db/index.ts | 0 .../telegram-bot/src/db/schema.ts | 0 .../telegram-bot/src/index.ts | 0 .../telegram-bot/src/llm/actions.ts | 0 .../telegram-bot/src/llm/animated-sticker.ts | 0 .../telegram-bot/src/llm/image.ts | 0 .../telegram-bot/src/llm/index.ts | 0 .../telegram-bot/src/llm/photo.ts | 0 .../telegram-bot/src/llm/sticker.ts | 0 .../src/models/chat-completions-history.ts | 0 .../telegram-bot/src/models/chat-message.ts | 0 .../telegram-bot/src/models/chats.ts | 0 .../telegram-bot/src/models/common.ts | 0 .../telegram-bot/src/models/index.ts | 0 .../telegram-bot/src/models/photos.ts | 0 .../telegram-bot/src/models/sticker-packs.ts | 0 .../telegram-bot/src/models/stickers.ts | 0 .../telegram-bot/src/prompts/action-gen.velin.md | 0 .../src/prompts/action-read-messages.velin.md | 0 .../telegram-bot/src/prompts/index.ts | 0 .../src/prompts/message-split-v1.velin.md | 0 .../src/prompts/personality-v1.velin.md | 0 .../src/prompts/system-ticking-v1.velin.md | 0 .../telegram-bot/src/prompts/utils.ts | 0 .../telegram-bot/src/types.ts | 0 .../telegram-bot/src/utils/path.ts | 0 .../telegram-bot/src/utils/promise.ts | 0 .../telegram-bot/src/utils/velin.ts | 0 .../telegram-bot/tsconfig.json | 0 .../telegram-bot/vitest.config.ts | 0 .../twitter-services/.env.example | 0 .../twitter-services/docs/architecture-20250304.md | 0 .../twitter-services/package.json | 0 .../twitter-services/src/adapters/adapter.ts | 0 .../twitter-services/src/adapters/airi-adapter.ts | 0 .../twitter-services/src/adapters/mcp-adapter.ts | 0 .../twitter-services/src/config/index.ts | 0 .../twitter-services/src/config/types.ts | 0 .../twitter-services/src/constants.ts | 0 .../twitter-services/src/core/browser/context.ts | 0 .../twitter-services/src/core/services/auth.ts | 0 .../twitter-services/src/core/services/timeline.ts | 0 .../twitter-services/src/core/services/tweet.ts | 0 .../twitter-services/src/core/services/user.ts | 0 .../src/core/utils/scroll-helper.ts | 0 .../twitter-services/src/main.ts | 0 .../src/parsers/command-parser.test.ts | 0 .../twitter-services/src/parsers/command-parser.ts | 0 .../twitter-services/src/parsers/profile-parser.ts | 0 .../twitter-services/src/parsers/selectors.ts | 0 .../twitter-services/src/parsers/tweet-parser.ts | 0 .../twitter-services/src/types/browser.ts | 0 .../twitter-services/src/types/services.ts | 0 .../twitter-services/src/types/twitter.ts | 0 .../twitter-services/src/utils/error.ts | 0 .../twitter-services/src/utils/logger.ts | 0 .../twitter-services/tsconfig.json | 0 package.json | 1 + packages/stage-ui/package.json | 1 + .../src/components/modules/GamingMinecraft.vue | 2 +- packages/stage-ui/src/composables/api.ts | 2 +- pnpm-lock.yaml | 13 ++++++++----- server/apps/api/package.json | 3 +++ server/apps/api/src/app-type.ts | 1 + services/computer-use-mcp/README.md | 2 +- services/satori-bot/data/db.json | 4 ---- 344 files changed, 62 insertions(+), 58 deletions(-) rename {services => integrations}/discord-bot/.env (100%) rename {services => integrations}/discord-bot/README.md (98%) rename {services => integrations}/discord-bot/package.json (96%) rename {services => integrations}/discord-bot/src/adapters/airi-adapter.ts (100%) rename {services => integrations}/discord-bot/src/bots/discord/commands/index.ts (100%) rename {services => integrations}/discord-bot/src/bots/discord/commands/ping.ts (100%) rename {services => integrations}/discord-bot/src/bots/discord/commands/summon.ts (100%) rename {services => integrations}/discord-bot/src/constants/audio.ts (100%) rename {services => integrations}/discord-bot/src/index.ts (100%) rename {services => integrations}/discord-bot/src/pipelines/tts.ts (100%) rename {services => integrations}/discord-bot/src/utils/audio-monitor.ts (100%) rename {services => integrations}/discord-bot/src/utils/audio.ts (100%) rename {services => integrations}/discord-bot/src/utils/opus.ts (100%) rename {services => integrations}/discord-bot/tsconfig.json (100%) rename {services => integrations}/minecraft/.env (100%) rename {services => integrations}/minecraft/.gitignore (100%) rename {services => integrations}/minecraft/.vscode/launch.json (100%) rename {services => integrations}/minecraft/README.md (98%) rename {services => integrations}/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md (97%) rename {services => integrations}/minecraft/codex-skills/minecraft-debug-mcp/agents/openai.yaml (100%) rename {services => integrations}/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md (96%) rename {services => integrations}/minecraft/docs/preview.avif (100%) rename {services => integrations}/minecraft/package.json (100%) rename {services => integrations}/minecraft/src/airi/airi-bridge.test.ts (100%) rename {services => integrations}/minecraft/src/airi/airi-bridge.ts (100%) rename {services => integrations}/minecraft/src/airi/minecraft-context-service.test.ts (94%) rename {services => integrations}/minecraft/src/airi/minecraft-context-service.ts (100%) rename {services => integrations}/minecraft/src/airi/start-background-client.ts (100%) rename {services => integrations}/minecraft/src/cognitive/action/action-registry.ts (100%) rename {services => integrations}/minecraft/src/cognitive/action/llm-actions.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/action/llm-actions.ts (100%) rename {services => integrations}/minecraft/src/cognitive/action/task-executor.ts (100%) rename {services => integrations}/minecraft/src/cognitive/action/types.ts (100%) rename {services => integrations}/minecraft/src/cognitive/action/types/index.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/brain.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/brain.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/context-view.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/history-query.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/js-planner-sandbox-protocol.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/js-planner-sandbox-runner.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/js-planner-worker.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/js-planner.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/js-planner.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/llm-agent.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/llm-log.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/llm-log.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/llmlogic.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/map-renderer.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/map-renderer.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/patterns/catalog.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/patterns/runtime.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/patterns/runtime.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/patterns/types.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/prompts/brain-prompt.md (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/prompts/brain-prompt.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/prompts/brain-prompt.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/query-dsl.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/query-dsl.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/repl-code-normalizer.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/repl-code-normalizer.ts (100%) rename {services => integrations}/minecraft/src/cognitive/conscious/task-state.ts (100%) rename {services => integrations}/minecraft/src/cognitive/container.ts (100%) rename {services => integrations}/minecraft/src/cognitive/event-bus.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/event-bus.ts (100%) rename {services => integrations}/minecraft/src/cognitive/index.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/arm-swing.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/damage-taken.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/entity-moved.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/fall-tracker.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/fall-tracker.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/index.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/low-health.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/low-health.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/sneak-toggle.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/definitions/system-message.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/index.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/events/types.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/gaze.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/gaze.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/pipeline.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/attention/movement.yaml (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/attention/punch.yaml (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/danger/damage.yaml (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/danger/low-health.yaml (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/engine.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/index.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/loader.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/matcher.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/rules.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/social/teabag.yaml (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/system-message.yaml (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/temporal-detector.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/rules/types.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/types/raw-events.ts (100%) rename {services => integrations}/minecraft/src/cognitive/perception/types/signals.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/behaviors/auto-eat.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/behaviors/auto-eat.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/behaviors/defend.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/behaviors/defend.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/behaviors/escape-hazard.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/behaviors/escape-hazard.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/behaviors/idle-gaze.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/context.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/modes.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/reflex-manager.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/reflex-manager.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/runtime.test.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/runtime.ts (100%) rename {services => integrations}/minecraft/src/cognitive/reflex/types/behavior.ts (100%) rename {services => integrations}/minecraft/src/cognitive/types.ts (100%) rename {services => integrations}/minecraft/src/cognitive/types/index.ts (100%) rename {services => integrations}/minecraft/src/composables/bot.ts (100%) rename {services => integrations}/minecraft/src/composables/config.ts (100%) rename {services => integrations}/minecraft/src/composables/runtime-config.ts (100%) rename {services => integrations}/minecraft/src/debug/debug-service.ts (100%) rename {services => integrations}/minecraft/src/debug/index.ts (100%) rename {services => integrations}/minecraft/src/debug/mcp-repl-server.test.ts (100%) rename {services => integrations}/minecraft/src/debug/mcp-repl-server.ts (100%) rename {services => integrations}/minecraft/src/debug/mineflayer-viewer.ts (100%) rename {services => integrations}/minecraft/src/debug/server.ts (100%) rename {services => integrations}/minecraft/src/debug/tool-executor.ts (100%) rename {services => integrations}/minecraft/src/debug/types.ts (100%) rename {services => integrations}/minecraft/src/debug/web/app.js (100%) rename {services => integrations}/minecraft/src/debug/web/conversation.css (100%) rename {services => integrations}/minecraft/src/debug/web/index.html (100%) rename {services => integrations}/minecraft/src/debug/web/styles.css (100%) rename {services => integrations}/minecraft/src/debug/web/tools.css (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/action.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/base-agent.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/command.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/components.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/connection-supervisor.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/core.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/foods.test.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/foods.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/health.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/index.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/memory.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/message.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/plugin-runtime.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/plugin.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/status.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/ticker.ts (100%) rename {services => integrations}/minecraft/src/libs/mineflayer/types.ts (100%) rename {services => integrations}/minecraft/src/main.ts (100%) rename {services => integrations}/minecraft/src/minecraft-bot-runtime.ts (100%) rename {services => integrations}/minecraft/src/plugins/echo.ts (100%) rename {services => integrations}/minecraft/src/plugins/follow.ts (100%) rename {services => integrations}/minecraft/src/plugins/pathfinder.ts (100%) rename {services => integrations}/minecraft/src/plugins/status.ts (100%) rename {services => integrations}/minecraft/src/skills/actions/block-type-normalizer.test.ts (100%) rename {services => integrations}/minecraft/src/skills/actions/block-type-normalizer.ts (100%) rename {services => integrations}/minecraft/src/skills/actions/collect-block.ts (100%) rename {services => integrations}/minecraft/src/skills/actions/ensure.ts (100%) rename {services => integrations}/minecraft/src/skills/actions/gather-wood.ts (100%) rename {services => integrations}/minecraft/src/skills/actions/inventory.ts (100%) rename {services => integrations}/minecraft/src/skills/actions/world-interactions.ts (100%) rename {services => integrations}/minecraft/src/skills/base.ts (100%) rename {services => integrations}/minecraft/src/skills/blocks.ts (100%) rename {services => integrations}/minecraft/src/skills/combat.test.ts (100%) rename {services => integrations}/minecraft/src/skills/combat.ts (100%) rename {services => integrations}/minecraft/src/skills/containers.ts (100%) rename {services => integrations}/minecraft/src/skills/crafting.test.ts (100%) rename {services => integrations}/minecraft/src/skills/crafting.ts (100%) rename {services => integrations}/minecraft/src/skills/index.ts (100%) rename {services => integrations}/minecraft/src/skills/inventory.ts (100%) rename {services => integrations}/minecraft/src/skills/movement.test.ts (100%) rename {services => integrations}/minecraft/src/skills/movement.ts (100%) rename {services => integrations}/minecraft/src/skills/patched-goto.test.ts (100%) rename {services => integrations}/minecraft/src/skills/patched-goto.ts (100%) rename {services => integrations}/minecraft/src/skills/world.ts (100%) rename {services => integrations}/minecraft/src/utils/error-message.ts (100%) rename {services => integrations}/minecraft/src/utils/errors.ts (100%) rename {services => integrations}/minecraft/src/utils/logger.ts (100%) rename {services => integrations}/minecraft/src/utils/mcdata.ts (100%) rename {services => integrations}/minecraft/src/utils/recipe-planner.ts (100%) rename {services => integrations}/minecraft/tsconfig.json (100%) rename {services => integrations}/minecraft/vitest.config.ts (100%) rename {services => integrations}/satori-bot/.env (100%) rename {services => integrations}/satori-bot/.gitignore (55%) rename {services => integrations}/satori-bot/README.md (100%) rename {services => integrations}/satori-bot/data/.gitkeep (100%) rename {services => integrations}/satori-bot/docs/EVENT.md (100%) rename {services => integrations}/satori-bot/docs/HANDLER.md (100%) rename {services => integrations}/satori-bot/docs/PERSISTENCE.md (100%) rename {services => integrations}/satori-bot/docs/PROMPTS.md (100%) rename {services => integrations}/satori-bot/drizzle.config.ts (100%) rename {services => integrations}/satori-bot/drizzle/0000_cooing_captain_flint.sql (100%) rename {services => integrations}/satori-bot/drizzle/meta/0000_snapshot.json (100%) rename {services => integrations}/satori-bot/drizzle/meta/_journal.json (100%) rename {services => integrations}/satori-bot/package.json (96%) rename {services => integrations}/satori-bot/src/adapter/satori/api.ts (100%) rename {services => integrations}/satori-bot/src/adapter/satori/client.ts (100%) rename {services => integrations}/satori-bot/src/adapter/satori/schema.ts (100%) rename {services => integrations}/satori-bot/src/adapter/satori/types.ts (100%) rename {services => integrations}/satori-bot/src/capabilities/actions/read-messages.ts (100%) rename {services => integrations}/satori-bot/src/capabilities/actions/send-message.ts (100%) rename {services => integrations}/satori-bot/src/capabilities/actions/system.ts (100%) rename {services => integrations}/satori-bot/src/capabilities/definition.ts (100%) rename {services => integrations}/satori-bot/src/capabilities/registry.ts (100%) rename {services => integrations}/satori-bot/src/config.ts (100%) rename {services => integrations}/satori-bot/src/core/constants.ts (100%) rename {services => integrations}/satori-bot/src/core/dispatcher.ts (100%) rename {services => integrations}/satori-bot/src/core/index.ts (100%) rename {services => integrations}/satori-bot/src/core/loop/queue.ts (100%) rename {services => integrations}/satori-bot/src/core/loop/scheduler.ts (100%) rename {services => integrations}/satori-bot/src/core/planner/llm-client.ts (100%) rename {services => integrations}/satori-bot/src/core/planner/prompts/index.ts (100%) rename {services => integrations}/satori-bot/src/core/planner/prompts/path.ts (100%) rename {services => integrations}/satori-bot/src/core/planner/prompts/personality-v1.velin.md (100%) rename {services => integrations}/satori-bot/src/core/planner/prompts/system-action-gen-v1.velin.md (100%) rename {services => integrations}/satori-bot/src/core/planner/prompts/velin.ts (100%) rename {services => integrations}/satori-bot/src/core/session/context.ts (100%) rename {services => integrations}/satori-bot/src/core/types.ts (100%) rename {services => integrations}/satori-bot/src/core/utils.ts (100%) rename {services => integrations}/satori-bot/src/index.ts (100%) rename {services => integrations}/satori-bot/src/lib/db.ts (100%) rename {services => integrations}/satori-bot/src/lib/schema.ts (100%) rename {services => integrations}/satori-bot/todolist.md (100%) rename {services => integrations}/satori-bot/tsconfig.json (100%) rename {services => integrations}/telegram-bot/.env (100%) rename {services => integrations}/telegram-bot/README.md (98%) rename {services => integrations}/telegram-bot/deploy/grafana/dashboards/.gitkeep (100%) rename {services => integrations}/telegram-bot/deploy/grafana/datasources/.gitkeep (100%) rename {services => integrations}/telegram-bot/deploy/grafana/datasources/datasource-prometheus.yaml (100%) rename {services => integrations}/telegram-bot/deploy/grafana/datasources/datasource-tempo.yaml (100%) rename {services => integrations}/telegram-bot/deploy/otel-collector/collector-config.yaml (100%) rename {services => integrations}/telegram-bot/deploy/prometheus/prometheus.yml (100%) rename {services => integrations}/telegram-bot/deploy/tempo/tempo.yaml (100%) rename {services => integrations}/telegram-bot/docker-compose.yaml (100%) rename {services => integrations}/telegram-bot/drizzle.config.ts (100%) rename {services => integrations}/telegram-bot/drizzle/0000_harsh_king_cobra.sql (100%) rename {services => integrations}/telegram-bot/drizzle/0001_next_talkback.sql (100%) rename {services => integrations}/telegram-bot/drizzle/0002_calm_magdalene.sql (100%) rename {services => integrations}/telegram-bot/drizzle/0003_black_warbird.sql (100%) rename {services => integrations}/telegram-bot/drizzle/0004_complete_gravity.sql (100%) rename {services => integrations}/telegram-bot/drizzle/0005_workable_shockwave.sql (100%) rename {services => integrations}/telegram-bot/drizzle/meta/0000_snapshot.json (100%) rename {services => integrations}/telegram-bot/drizzle/meta/0001_snapshot.json (100%) rename {services => integrations}/telegram-bot/drizzle/meta/0002_snapshot.json (100%) rename {services => integrations}/telegram-bot/drizzle/meta/0003_snapshot.json (100%) rename {services => integrations}/telegram-bot/drizzle/meta/0004_snapshot.json (100%) rename {services => integrations}/telegram-bot/drizzle/meta/0005_snapshot.json (100%) rename {services => integrations}/telegram-bot/drizzle/meta/_journal.json (100%) rename {services => integrations}/telegram-bot/package.json (97%) rename {services => integrations}/telegram-bot/scripts/embed-all-chat-messages.ts (100%) rename {services => integrations}/telegram-bot/sql/init.sql (100%) rename {services => integrations}/telegram-bot/src/bots/telegram/agent/actions/read-message.ts (100%) rename {services => integrations}/telegram-bot/src/bots/telegram/agent/actions/send-message.test.ts (100%) rename {services => integrations}/telegram-bot/src/bots/telegram/agent/actions/send-message.ts (100%) rename {services => integrations}/telegram-bot/src/bots/telegram/agent/attention-handler.ts (100%) rename {services => integrations}/telegram-bot/src/bots/telegram/agent/interruption.ts (100%) rename {services => integrations}/telegram-bot/src/bots/telegram/index.ts (100%) rename {services => integrations}/telegram-bot/src/db/index.ts (100%) rename {services => integrations}/telegram-bot/src/db/schema.ts (100%) rename {services => integrations}/telegram-bot/src/index.ts (100%) rename {services => integrations}/telegram-bot/src/llm/actions.ts (100%) rename {services => integrations}/telegram-bot/src/llm/animated-sticker.ts (100%) rename {services => integrations}/telegram-bot/src/llm/image.ts (100%) rename {services => integrations}/telegram-bot/src/llm/index.ts (100%) rename {services => integrations}/telegram-bot/src/llm/photo.ts (100%) rename {services => integrations}/telegram-bot/src/llm/sticker.ts (100%) rename {services => integrations}/telegram-bot/src/models/chat-completions-history.ts (100%) rename {services => integrations}/telegram-bot/src/models/chat-message.ts (100%) rename {services => integrations}/telegram-bot/src/models/chats.ts (100%) rename {services => integrations}/telegram-bot/src/models/common.ts (100%) rename {services => integrations}/telegram-bot/src/models/index.ts (100%) rename {services => integrations}/telegram-bot/src/models/photos.ts (100%) rename {services => integrations}/telegram-bot/src/models/sticker-packs.ts (100%) rename {services => integrations}/telegram-bot/src/models/stickers.ts (100%) rename {services => integrations}/telegram-bot/src/prompts/action-gen.velin.md (100%) rename {services => integrations}/telegram-bot/src/prompts/action-read-messages.velin.md (100%) rename {services => integrations}/telegram-bot/src/prompts/index.ts (100%) rename {services => integrations}/telegram-bot/src/prompts/message-split-v1.velin.md (100%) rename {services => integrations}/telegram-bot/src/prompts/personality-v1.velin.md (100%) rename {services => integrations}/telegram-bot/src/prompts/system-ticking-v1.velin.md (100%) rename {services => integrations}/telegram-bot/src/prompts/utils.ts (100%) rename {services => integrations}/telegram-bot/src/types.ts (100%) rename {services => integrations}/telegram-bot/src/utils/path.ts (100%) rename {services => integrations}/telegram-bot/src/utils/promise.ts (100%) rename {services => integrations}/telegram-bot/src/utils/velin.ts (100%) rename {services => integrations}/telegram-bot/tsconfig.json (100%) rename {services => integrations}/telegram-bot/vitest.config.ts (100%) rename {services => integrations}/twitter-services/.env.example (100%) rename {services => integrations}/twitter-services/docs/architecture-20250304.md (100%) rename {services => integrations}/twitter-services/package.json (100%) rename {services => integrations}/twitter-services/src/adapters/adapter.ts (100%) rename {services => integrations}/twitter-services/src/adapters/airi-adapter.ts (100%) rename {services => integrations}/twitter-services/src/adapters/mcp-adapter.ts (100%) rename {services => integrations}/twitter-services/src/config/index.ts (100%) rename {services => integrations}/twitter-services/src/config/types.ts (100%) rename {services => integrations}/twitter-services/src/constants.ts (100%) rename {services => integrations}/twitter-services/src/core/browser/context.ts (100%) rename {services => integrations}/twitter-services/src/core/services/auth.ts (100%) rename {services => integrations}/twitter-services/src/core/services/timeline.ts (100%) rename {services => integrations}/twitter-services/src/core/services/tweet.ts (100%) rename {services => integrations}/twitter-services/src/core/services/user.ts (100%) rename {services => integrations}/twitter-services/src/core/utils/scroll-helper.ts (100%) rename {services => integrations}/twitter-services/src/main.ts (100%) rename {services => integrations}/twitter-services/src/parsers/command-parser.test.ts (100%) rename {services => integrations}/twitter-services/src/parsers/command-parser.ts (100%) rename {services => integrations}/twitter-services/src/parsers/profile-parser.ts (100%) rename {services => integrations}/twitter-services/src/parsers/selectors.ts (100%) rename {services => integrations}/twitter-services/src/parsers/tweet-parser.ts (100%) rename {services => integrations}/twitter-services/src/types/browser.ts (100%) rename {services => integrations}/twitter-services/src/types/services.ts (100%) rename {services => integrations}/twitter-services/src/types/twitter.ts (100%) rename {services => integrations}/twitter-services/src/utils/error.ts (100%) rename {services => integrations}/twitter-services/src/utils/logger.ts (100%) rename {services => integrations}/twitter-services/tsconfig.json (100%) create mode 100644 server/apps/api/src/app-type.ts delete mode 100644 services/satori-bot/data/db.json diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8a50e99ea..311c18db0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -211,7 +211,7 @@ pnpm dev:docs A Postgres database is required. ```shell -cd services/telegram-bot +cd integrations/telegram-bot docker compose up -d ``` @@ -247,7 +247,7 @@ pnpm -F @proj-airi/telegram-bot start ### Discord bot integration ```shell -cd services/discord-bot +cd integrations/discord-bot ``` Configure `.env` @@ -275,7 +275,7 @@ pnpm -F @proj-airi/discord-bot start ### Minecraft agent ```shell -cd services/minecraft +cd integrations/minecraft ``` Start a Minecraft client, export your world with desired port, and fill-in the port number in `.env.local`. diff --git a/.vscode/launch.json b/.vscode/launch.json index 352af2814..a2941aa94 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -25,7 +25,7 @@ "runtimeExecutable": "pnpm", "runtimeArgs": ["-F", "@proj-airi/minecraft-bot", "exec", "tsx"], "args": ["--env-file=.env", "--env-file-if-exists=.env.local", "src/main.ts"], - "envFile": "${workspaceFolder}/services/minecraft/.env", + "envFile": "${workspaceFolder}/integrations/minecraft/.env", // Open terminal when debugging starts (Optional) // Useful to see console.logs // "console": "integratedTerminal", diff --git a/docs/content/en/blog/DevLog-2025.04.06/index.md b/docs/content/en/blog/DevLog-2025.04.06/index.md index f909c5e11..81bea26da 100644 --- a/docs/content/en/blog/DevLog-2025.04.06/index.md +++ b/docs/content/en/blog/DevLog-2025.04.06/index.md @@ -56,7 +56,7 @@ Such beautiful, and empowers me to continue to improve her. ### Memory system I was working on the refactoring over -[`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/services/telegram-bot), +[`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/integrations/telegram-bot), for the upcoming memory update for Project AIRI. Which we were planning to implement for months. diff --git a/docs/content/en/docs/contributing/services/discord.md b/docs/content/en/docs/contributing/services/discord.md index 70b909709..18b8b0bef 100644 --- a/docs/content/en/docs/contributing/services/discord.md +++ b/docs/content/en/docs/contributing/services/discord.md @@ -6,7 +6,7 @@ description: Contribute to Project AIRI ### Discord bot integration ```shell -cd services/discord-bot +cd integrations/discord-bot ``` Configure `.env` diff --git a/docs/content/en/docs/contributing/services/minecraft.md b/docs/content/en/docs/contributing/services/minecraft.md index 6e4cc4c89..82533cb7e 100644 --- a/docs/content/en/docs/contributing/services/minecraft.md +++ b/docs/content/en/docs/contributing/services/minecraft.md @@ -6,7 +6,7 @@ description: Contribute to Project AIRI ### Minecraft agent ```shell -cd services/minecraft +cd integrations/minecraft ``` Start a Minecraft client, export your world with desired port, and fill-in the port number in `.env.local`. diff --git a/docs/content/en/docs/contributing/services/satori.md b/docs/content/en/docs/contributing/services/satori.md index ef0dfb276..484b73c12 100644 --- a/docs/content/en/docs/contributing/services/satori.md +++ b/docs/content/en/docs/contributing/services/satori.md @@ -6,7 +6,7 @@ description: Contribute to Project AIRI ### Satori Bot ```shell -cd services/satori-bot +cd integrations/satori-bot ``` Configure the `.env` file: diff --git a/docs/content/en/docs/contributing/services/telegram.md b/docs/content/en/docs/contributing/services/telegram.md index 0e1278055..62df7507e 100644 --- a/docs/content/en/docs/contributing/services/telegram.md +++ b/docs/content/en/docs/contributing/services/telegram.md @@ -8,7 +8,7 @@ description: Contribute to Project AIRI A Postgres database is required. ```shell -cd services/telegram-bot +cd integrations/telegram-bot docker compose up -d ``` diff --git a/docs/content/ja/blog/DevLog-2025.04.06/index.md b/docs/content/ja/blog/DevLog-2025.04.06/index.md index 6e03f867e..2b8acc7de 100644 --- a/docs/content/ja/blog/DevLog-2025.04.06/index.md +++ b/docs/content/ja/blog/DevLog-2025.04.06/index.md @@ -45,7 +45,7 @@ import ReLUStickerWow from '../../../en/blog/DevLog-2025.04.06/assets/relu-stick ### 記憶システム -最近、数ヶ月準備してきた Project AIRI の「記憶アップデート」に備えて、[`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/services/telegram-bot) をリファクタリングしています。 +最近、数ヶ月準備してきた Project AIRI の「記憶アップデート」に備えて、[`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/integrations/telegram-bot) をリファクタリングしています。 実装後の記憶システムを、現在最も先進的で強力かつ堅牢なものにする予定であり、その思想の多くは現実世界の人間の記憶システムから深くインスピレーションを得ています。 diff --git a/docs/content/ja/docs/contributing/services/discord.md b/docs/content/ja/docs/contributing/services/discord.md index c6f37dab2..1a3cde22d 100644 --- a/docs/content/ja/docs/contributing/services/discord.md +++ b/docs/content/ja/docs/contributing/services/discord.md @@ -6,7 +6,7 @@ description: Project AIRI への貢献 ### Discord bot 統合 ```shell -cd services/discord-bot +cd integrations/discord-bot ``` `.env` の設定 diff --git a/docs/content/ja/docs/contributing/services/minecraft.md b/docs/content/ja/docs/contributing/services/minecraft.md index a88b13e4a..a5805556b 100644 --- a/docs/content/ja/docs/contributing/services/minecraft.md +++ b/docs/content/ja/docs/contributing/services/minecraft.md @@ -6,7 +6,7 @@ description: Project AIRI への貢献 ### Minecraft エージェント ```shell -cd services/minecraft +cd integrations/minecraft ``` Minecraft クライアントを起動し、希望のポートでワールドを公開し、そのポート番号を `.env.local` に記入します。 diff --git a/docs/content/ja/docs/contributing/services/satori.md b/docs/content/ja/docs/contributing/services/satori.md index 66d2005cf..42781cb7a 100644 --- a/docs/content/ja/docs/contributing/services/satori.md +++ b/docs/content/ja/docs/contributing/services/satori.md @@ -6,7 +6,7 @@ description: Project AIRI への貢献 ### Satori Bot / ボット ```shell -cd services/satori-bot +cd integrations/satori-bot ``` `.env` ファイルの設定: diff --git a/docs/content/ja/docs/contributing/services/telegram.md b/docs/content/ja/docs/contributing/services/telegram.md index b549bed8d..2869af77f 100644 --- a/docs/content/ja/docs/contributing/services/telegram.md +++ b/docs/content/ja/docs/contributing/services/telegram.md @@ -8,7 +8,7 @@ description: Project AIRI への貢献 Postgres データベースが必要です。 ```shell -cd services/telegram-bot +cd integrations/telegram-bot docker compose up -d ``` diff --git a/docs/content/ko/blog/DevLog-2025.04.06/index.md b/docs/content/ko/blog/DevLog-2025.04.06/index.md index bf8d66098..975768bcf 100644 --- a/docs/content/ko/blog/DevLog-2025.04.06/index.md +++ b/docs/content/ko/blog/DevLog-2025.04.06/index.md @@ -56,7 +56,7 @@ import ReLUStickerWow from '../../../en/blog/DevLog-2025.04.06/assets/relu-stick ### 기억 시스템 Project AIRI 의 다가오는 기억 업데이트를 위해 -[`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/services/telegram-bot) 리팩터링 작업을 +[`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/integrations/telegram-bot) 리팩터링 작업을 하고 있었습니다. 몇 달 전부터 구현을 계획해 온 것입니다. 저희는 기억 시스템을 가장 진보되고 견고하며 신뢰할 수 있게 만들 계획이며, 인간 뇌의 기억 작동 diff --git a/docs/content/ko/docs/contributing/services/discord.md b/docs/content/ko/docs/contributing/services/discord.md index ba255bdbb..c108e629d 100644 --- a/docs/content/ko/docs/contributing/services/discord.md +++ b/docs/content/ko/docs/contributing/services/discord.md @@ -6,7 +6,7 @@ description: Project AIRI 에 기여하기 ### Discord 봇 연동 ```shell -cd services/discord-bot +cd integrations/discord-bot ``` `.env` 설정하기 diff --git a/docs/content/ko/docs/contributing/services/minecraft.md b/docs/content/ko/docs/contributing/services/minecraft.md index 3fdbf78e7..3f5df2152 100644 --- a/docs/content/ko/docs/contributing/services/minecraft.md +++ b/docs/content/ko/docs/contributing/services/minecraft.md @@ -6,7 +6,7 @@ description: Project AIRI 에 기여하기 ### Minecraft 에이전트 ```shell -cd services/minecraft +cd integrations/minecraft ``` Minecraft 클라이언트를 실행하고 원하는 포트로 월드를 개방한 뒤, 그 포트 번호를 `.env.local` 에 입력하세요. diff --git a/docs/content/ko/docs/contributing/services/satori.md b/docs/content/ko/docs/contributing/services/satori.md index fdf74ccf3..4ee6ca213 100644 --- a/docs/content/ko/docs/contributing/services/satori.md +++ b/docs/content/ko/docs/contributing/services/satori.md @@ -6,7 +6,7 @@ description: Project AIRI 에 기여하기 ### Satori 봇 ```shell -cd services/satori-bot +cd integrations/satori-bot ``` `.env` 파일 설정하기: diff --git a/docs/content/ko/docs/contributing/services/telegram.md b/docs/content/ko/docs/contributing/services/telegram.md index 80e7d1c2e..ba832a0ad 100644 --- a/docs/content/ko/docs/contributing/services/telegram.md +++ b/docs/content/ko/docs/contributing/services/telegram.md @@ -8,7 +8,7 @@ description: Project AIRI 에 기여하기 Postgres 데이터베이스가 필요합니다. ```shell -cd services/telegram-bot +cd integrations/telegram-bot docker compose up -d ``` diff --git a/docs/content/zh-Hans/blog/DevLog-2025.04.06/index.md b/docs/content/zh-Hans/blog/DevLog-2025.04.06/index.md index 5480ffc60..c7fcb4331 100644 --- a/docs/content/zh-Hans/blog/DevLog-2025.04.06/index.md +++ b/docs/content/zh-Hans/blog/DevLog-2025.04.06/index.md @@ -45,7 +45,7 @@ import ReLUStickerWow from './assets/relu-sticker-wow.avif' ### 记忆系统 -最近正在重构 [`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/services/telegram-bot) 以为已经准备了数月的 Project AIRI 即将到来的「记忆更新」作准备。 +最近正在重构 [`telegram-bot`](https://github.com/moeru-ai/airi/tree/main/integrations/telegram-bot) 以为已经准备了数月的 Project AIRI 即将到来的「记忆更新」作准备。 我们计划使实现后的记忆系统成为当下最先进、最强大、最健壮的系统,其中很多的思想都深受真实世界中的人类记忆系统的启发。 diff --git a/docs/content/zh-Hans/docs/integrations/discord.md b/docs/content/zh-Hans/docs/integrations/discord.md index bd5b510df..7f39c2c9a 100644 --- a/docs/content/zh-Hans/docs/integrations/discord.md +++ b/docs/content/zh-Hans/docs/integrations/discord.md @@ -19,10 +19,10 @@ Discord Bot Token、Client ID 和模型 API Key 只应保存在本地 **.env.loc ## 配置 ~~~bash -cp services/discord-bot/.env services/discord-bot/.env.local +cp integrations/discord-bot/.env integrations/discord-bot/.env.local ~~~ -编辑 **services/discord-bot/.env.local**,填写 **DISCORD_TOKEN**、**DISCORD_BOT_CLIENT_ID**、聊天模型与语音服务配置。Discord Token 丢失或泄露时,应立即在开发者控制台重置。 +编辑 **integrations/discord-bot/.env.local**,填写 **DISCORD_TOKEN**、**DISCORD_BOT_CLIENT_ID**、聊天模型与语音服务配置。Discord Token 丢失或泄露时,应立即在开发者控制台重置。 ## 启动 diff --git a/docs/content/zh-Hans/docs/integrations/minecraft.md b/docs/content/zh-Hans/docs/integrations/minecraft.md index d92c8de97..1b4eda2c8 100644 --- a/docs/content/zh-Hans/docs/integrations/minecraft.md +++ b/docs/content/zh-Hans/docs/integrations/minecraft.md @@ -18,10 +18,10 @@ API Key、服务地址和 Minecraft 服务器凭据只应保存在本地 **.env. ## 配置 ~~~bash -cp services/minecraft/.env services/minecraft/.env.local +cp integrations/minecraft/.env integrations/minecraft/.env.local ~~~ -编辑 **services/minecraft/.env.local**,填写 Minecraft 服务器、AIRI 与模型服务所需的配置。 +编辑 **integrations/minecraft/.env.local**,填写 Minecraft 服务器、AIRI 与模型服务所需的配置。 ## 启动 diff --git a/docs/content/zh-Hans/docs/integrations/satori.md b/docs/content/zh-Hans/docs/integrations/satori.md index e13fe647a..cca135456 100644 --- a/docs/content/zh-Hans/docs/integrations/satori.md +++ b/docs/content/zh-Hans/docs/integrations/satori.md @@ -18,10 +18,10 @@ Satori Token、消息平台凭据和模型 API Key 只应保存在本地 **.env. ## 配置 ~~~bash -cp services/satori-bot/.env services/satori-bot/.env.local +cp integrations/satori-bot/.env integrations/satori-bot/.env.local ~~~ -编辑 **services/satori-bot/.env.local**,填写 **SATORI_WS_URL**、**SATORI_API_BASE_URL**、可选的 **SATORI_TOKEN**,以及 LLM 的地址、密钥和模型。 +编辑 **integrations/satori-bot/.env.local**,填写 **SATORI_WS_URL**、**SATORI_API_BASE_URL**、可选的 **SATORI_TOKEN**,以及 LLM 的地址、密钥和模型。 ## 启动 diff --git a/docs/content/zh-Hans/docs/integrations/telegram.md b/docs/content/zh-Hans/docs/integrations/telegram.md index 39fa14c89..1c62b1d03 100644 --- a/docs/content/zh-Hans/docs/integrations/telegram.md +++ b/docs/content/zh-Hans/docs/integrations/telegram.md @@ -19,15 +19,15 @@ Telegram Bot Token、数据库连接和模型 API Key 只应保存在本地 **.e ## 配置 ~~~bash -cp services/telegram-bot/.env services/telegram-bot/.env.local +cp integrations/telegram-bot/.env integrations/telegram-bot/.env.local ~~~ -编辑 **services/telegram-bot/.env.local**,填写 **TELEGRAM_BOT_TOKEN**、数据库连接、聊天模型与嵌入模型配置。 +编辑 **integrations/telegram-bot/.env.local**,填写 **TELEGRAM_BOT_TOKEN**、数据库连接、聊天模型与嵌入模型配置。 ## 初始化数据库 ~~~bash -cd services/telegram-bot +cd integrations/telegram-bot docker compose up -d cd ../.. pnpm -F @proj-airi/telegram-bot db:push diff --git a/docs/content/zh-Hans/docs/overview/index.md b/docs/content/zh-Hans/docs/overview/index.md index f6d894dbe..e876d7d03 100644 --- a/docs/content/zh-Hans/docs/overview/index.md +++ b/docs/content/zh-Hans/docs/overview/index.md @@ -110,7 +110,7 @@ AIRI 的主技术栈是 Vue 3、TypeScript、Vite、Pinia、VueUse、UnoCSS 和 - `packages/stage-ui`:网页端、桌面端和移动端共享的核心业务组件、设置页、stores 与 composables; - `packages/stage-ui-three` 与 `packages/stage-ui-live2d`:3D / Live2D 舞台相关能力; - `packages/server-runtime`、`packages/server-sdk`、`packages/server-shared`:服务通道和外部智能体连接; -- `services/discord-bot`、`services/telegram-bot`、`services/minecraft`:需要源码配置运行的服务侧实验模块。 +- `integrations/discord-bot`、`integrations/telegram-bot`、`integrations/minecraft`:需要源码配置运行的外部平台集成。 如果你想贡献代码,可以从[开发者指南](../contributing/)开始;如果你想改进界面,请先阅读[设计指南](../contributing/design-guidelines/resources)。 diff --git a/services/discord-bot/.env b/integrations/discord-bot/.env similarity index 100% rename from services/discord-bot/.env rename to integrations/discord-bot/.env diff --git a/services/discord-bot/README.md b/integrations/discord-bot/README.md similarity index 98% rename from services/discord-bot/README.md rename to integrations/discord-bot/README.md index e95528db1..2d933e3d1 100644 --- a/services/discord-bot/README.md +++ b/integrations/discord-bot/README.md @@ -27,7 +27,7 @@ for newly created bots, click "Reset Token" to generate a new token, and copy th Create a `.env.local` file: ```shell -cd services/discord-bot +cd integrations/discord-bot cp .env .env.local ``` diff --git a/services/discord-bot/package.json b/integrations/discord-bot/package.json similarity index 96% rename from services/discord-bot/package.json rename to integrations/discord-bot/package.json index b4ec4f31b..bc02bfbaa 100644 --- a/services/discord-bot/package.json +++ b/integrations/discord-bot/package.json @@ -12,7 +12,7 @@ "repository": { "type": "git", "url": "https://github.com/moeru-ai/airi.git", - "directory": "services/discord-bot" + "directory": "integrations/discord-bot" }, "scripts": { "start": "tsx --env-file=.env --env-file-if-exists=.env.local src/index.ts", diff --git a/services/discord-bot/src/adapters/airi-adapter.ts b/integrations/discord-bot/src/adapters/airi-adapter.ts similarity index 100% rename from services/discord-bot/src/adapters/airi-adapter.ts rename to integrations/discord-bot/src/adapters/airi-adapter.ts diff --git a/services/discord-bot/src/bots/discord/commands/index.ts b/integrations/discord-bot/src/bots/discord/commands/index.ts similarity index 100% rename from services/discord-bot/src/bots/discord/commands/index.ts rename to integrations/discord-bot/src/bots/discord/commands/index.ts diff --git a/services/discord-bot/src/bots/discord/commands/ping.ts b/integrations/discord-bot/src/bots/discord/commands/ping.ts similarity index 100% rename from services/discord-bot/src/bots/discord/commands/ping.ts rename to integrations/discord-bot/src/bots/discord/commands/ping.ts diff --git a/services/discord-bot/src/bots/discord/commands/summon.ts b/integrations/discord-bot/src/bots/discord/commands/summon.ts similarity index 100% rename from services/discord-bot/src/bots/discord/commands/summon.ts rename to integrations/discord-bot/src/bots/discord/commands/summon.ts diff --git a/services/discord-bot/src/constants/audio.ts b/integrations/discord-bot/src/constants/audio.ts similarity index 100% rename from services/discord-bot/src/constants/audio.ts rename to integrations/discord-bot/src/constants/audio.ts diff --git a/services/discord-bot/src/index.ts b/integrations/discord-bot/src/index.ts similarity index 100% rename from services/discord-bot/src/index.ts rename to integrations/discord-bot/src/index.ts diff --git a/services/discord-bot/src/pipelines/tts.ts b/integrations/discord-bot/src/pipelines/tts.ts similarity index 100% rename from services/discord-bot/src/pipelines/tts.ts rename to integrations/discord-bot/src/pipelines/tts.ts diff --git a/services/discord-bot/src/utils/audio-monitor.ts b/integrations/discord-bot/src/utils/audio-monitor.ts similarity index 100% rename from services/discord-bot/src/utils/audio-monitor.ts rename to integrations/discord-bot/src/utils/audio-monitor.ts diff --git a/services/discord-bot/src/utils/audio.ts b/integrations/discord-bot/src/utils/audio.ts similarity index 100% rename from services/discord-bot/src/utils/audio.ts rename to integrations/discord-bot/src/utils/audio.ts diff --git a/services/discord-bot/src/utils/opus.ts b/integrations/discord-bot/src/utils/opus.ts similarity index 100% rename from services/discord-bot/src/utils/opus.ts rename to integrations/discord-bot/src/utils/opus.ts diff --git a/services/discord-bot/tsconfig.json b/integrations/discord-bot/tsconfig.json similarity index 100% rename from services/discord-bot/tsconfig.json rename to integrations/discord-bot/tsconfig.json diff --git a/services/minecraft/.env b/integrations/minecraft/.env similarity index 100% rename from services/minecraft/.env rename to integrations/minecraft/.env diff --git a/services/minecraft/.gitignore b/integrations/minecraft/.gitignore similarity index 100% rename from services/minecraft/.gitignore rename to integrations/minecraft/.gitignore diff --git a/services/minecraft/.vscode/launch.json b/integrations/minecraft/.vscode/launch.json similarity index 100% rename from services/minecraft/.vscode/launch.json rename to integrations/minecraft/.vscode/launch.json diff --git a/services/minecraft/README.md b/integrations/minecraft/README.md similarity index 98% rename from services/minecraft/README.md rename to integrations/minecraft/README.md index 076aed9ad..c88bc948b 100644 --- a/services/minecraft/README.md +++ b/integrations/minecraft/README.md @@ -27,10 +27,10 @@ Treat this service as a local-development and trusted-server tool only. 2. Copy the template: ```bash - cp services/minecraft/.env services/minecraft/.env.local + cp integrations/minecraft/.env integrations/minecraft/.env.local ``` -3. Edit `services/minecraft/.env.local`. +3. Edit `integrations/minecraft/.env.local`. 4. Start the service: @@ -38,7 +38,7 @@ Treat this service as a local-development and trusted-server tool only. pnpm -F @proj-airi/minecraft-bot dev ``` - Or, from `services/minecraft/`: + Or, from `integrations/minecraft/`: ```bash pnpm dev diff --git a/services/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md b/integrations/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md similarity index 97% rename from services/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md rename to integrations/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md index 5e0ebc63d..7e7501055 100644 --- a/services/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md +++ b/integrations/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md @@ -11,7 +11,7 @@ Use this skill to run the local bot and interact with its MCP debug interface sa ## Quick Start Workflow -1. Run `pnpm dev` from `/path/to/project/root/services/minecraft` and keep it running. +1. Run `pnpm dev` from `/path/to/project/root/integrations/minecraft` and keep it running. 2. Wait for `MCP REPL server running at http://localhost:3001` in logs. 3. Connect MCP client to `http://localhost:3001/sse`. 4. Verify readiness with a read-only call: diff --git a/services/minecraft/codex-skills/minecraft-debug-mcp/agents/openai.yaml b/integrations/minecraft/codex-skills/minecraft-debug-mcp/agents/openai.yaml similarity index 100% rename from services/minecraft/codex-skills/minecraft-debug-mcp/agents/openai.yaml rename to integrations/minecraft/codex-skills/minecraft-debug-mcp/agents/openai.yaml diff --git a/services/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md b/integrations/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md similarity index 96% rename from services/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md rename to integrations/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md index 74ab879c9..1b463aa4c 100644 --- a/services/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md +++ b/integrations/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md @@ -1,6 +1,6 @@ # Minecraft Debug MCP Surface -Implementation source: `/path/to/project/root/services/minecraft/src/debug/mcp-repl-server.ts`. +Implementation source: `/path/to/project/root/integrations/minecraft/src/debug/mcp-repl-server.ts`. ## Endpoint @@ -9,7 +9,7 @@ Implementation source: `/path/to/project/root/services/minecraft/src/debug/mcp-r - SSE fallback endpoint: `GET /sse` + `POST /messages` The bot starts this server during normal runtime from: -- `/path/to/project/root/services/minecraft/src/cognitive/index.ts` +- `/path/to/project/root/integrations/minecraft/src/cognitive/index.ts` ## Resources diff --git a/services/minecraft/docs/preview.avif b/integrations/minecraft/docs/preview.avif similarity index 100% rename from services/minecraft/docs/preview.avif rename to integrations/minecraft/docs/preview.avif diff --git a/services/minecraft/package.json b/integrations/minecraft/package.json similarity index 100% rename from services/minecraft/package.json rename to integrations/minecraft/package.json diff --git a/services/minecraft/src/airi/airi-bridge.test.ts b/integrations/minecraft/src/airi/airi-bridge.test.ts similarity index 100% rename from services/minecraft/src/airi/airi-bridge.test.ts rename to integrations/minecraft/src/airi/airi-bridge.test.ts diff --git a/services/minecraft/src/airi/airi-bridge.ts b/integrations/minecraft/src/airi/airi-bridge.ts similarity index 100% rename from services/minecraft/src/airi/airi-bridge.ts rename to integrations/minecraft/src/airi/airi-bridge.ts diff --git a/services/minecraft/src/airi/minecraft-context-service.test.ts b/integrations/minecraft/src/airi/minecraft-context-service.test.ts similarity index 94% rename from services/minecraft/src/airi/minecraft-context-service.test.ts rename to integrations/minecraft/src/airi/minecraft-context-service.test.ts index a846bcf97..8ac55017b 100644 --- a/services/minecraft/src/airi/minecraft-context-service.test.ts +++ b/integrations/minecraft/src/airi/minecraft-context-service.test.ts @@ -39,7 +39,7 @@ describe('minecraftContextService master identity', () => { expect(update.text).toContain('Master (your owner) in-game username: dssadg') // The owner identity rides only in the human-readable status text (for the bot's own brain). It // must NOT leak as a machine-readable `master:` hint — that was a desktop-store coupling point, - // removed in the services/minecraft neutral restore. Desktop "主人" binding is reintroduced via + // removed in the neutral Minecraft integration restore. Desktop "主人" binding is reintroduced via // the Minecraft adapter, not baked into the bot service. expect(update.hints.some((hint: string) => hint.startsWith('master:'))).toBe(false) service.destroy() diff --git a/services/minecraft/src/airi/minecraft-context-service.ts b/integrations/minecraft/src/airi/minecraft-context-service.ts similarity index 100% rename from services/minecraft/src/airi/minecraft-context-service.ts rename to integrations/minecraft/src/airi/minecraft-context-service.ts diff --git a/services/minecraft/src/airi/start-background-client.ts b/integrations/minecraft/src/airi/start-background-client.ts similarity index 100% rename from services/minecraft/src/airi/start-background-client.ts rename to integrations/minecraft/src/airi/start-background-client.ts diff --git a/services/minecraft/src/cognitive/action/action-registry.ts b/integrations/minecraft/src/cognitive/action/action-registry.ts similarity index 100% rename from services/minecraft/src/cognitive/action/action-registry.ts rename to integrations/minecraft/src/cognitive/action/action-registry.ts diff --git a/services/minecraft/src/cognitive/action/llm-actions.test.ts b/integrations/minecraft/src/cognitive/action/llm-actions.test.ts similarity index 100% rename from services/minecraft/src/cognitive/action/llm-actions.test.ts rename to integrations/minecraft/src/cognitive/action/llm-actions.test.ts diff --git a/services/minecraft/src/cognitive/action/llm-actions.ts b/integrations/minecraft/src/cognitive/action/llm-actions.ts similarity index 100% rename from services/minecraft/src/cognitive/action/llm-actions.ts rename to integrations/minecraft/src/cognitive/action/llm-actions.ts diff --git a/services/minecraft/src/cognitive/action/task-executor.ts b/integrations/minecraft/src/cognitive/action/task-executor.ts similarity index 100% rename from services/minecraft/src/cognitive/action/task-executor.ts rename to integrations/minecraft/src/cognitive/action/task-executor.ts diff --git a/services/minecraft/src/cognitive/action/types.ts b/integrations/minecraft/src/cognitive/action/types.ts similarity index 100% rename from services/minecraft/src/cognitive/action/types.ts rename to integrations/minecraft/src/cognitive/action/types.ts diff --git a/services/minecraft/src/cognitive/action/types/index.ts b/integrations/minecraft/src/cognitive/action/types/index.ts similarity index 100% rename from services/minecraft/src/cognitive/action/types/index.ts rename to integrations/minecraft/src/cognitive/action/types/index.ts diff --git a/services/minecraft/src/cognitive/conscious/brain.test.ts b/integrations/minecraft/src/cognitive/conscious/brain.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/brain.test.ts rename to integrations/minecraft/src/cognitive/conscious/brain.test.ts diff --git a/services/minecraft/src/cognitive/conscious/brain.ts b/integrations/minecraft/src/cognitive/conscious/brain.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/brain.ts rename to integrations/minecraft/src/cognitive/conscious/brain.ts diff --git a/services/minecraft/src/cognitive/conscious/context-view.ts b/integrations/minecraft/src/cognitive/conscious/context-view.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/context-view.ts rename to integrations/minecraft/src/cognitive/conscious/context-view.ts diff --git a/services/minecraft/src/cognitive/conscious/history-query.ts b/integrations/minecraft/src/cognitive/conscious/history-query.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/history-query.ts rename to integrations/minecraft/src/cognitive/conscious/history-query.ts diff --git a/services/minecraft/src/cognitive/conscious/js-planner-sandbox-protocol.ts b/integrations/minecraft/src/cognitive/conscious/js-planner-sandbox-protocol.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/js-planner-sandbox-protocol.ts rename to integrations/minecraft/src/cognitive/conscious/js-planner-sandbox-protocol.ts diff --git a/services/minecraft/src/cognitive/conscious/js-planner-sandbox-runner.ts b/integrations/minecraft/src/cognitive/conscious/js-planner-sandbox-runner.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/js-planner-sandbox-runner.ts rename to integrations/minecraft/src/cognitive/conscious/js-planner-sandbox-runner.ts diff --git a/services/minecraft/src/cognitive/conscious/js-planner-worker.ts b/integrations/minecraft/src/cognitive/conscious/js-planner-worker.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/js-planner-worker.ts rename to integrations/minecraft/src/cognitive/conscious/js-planner-worker.ts diff --git a/services/minecraft/src/cognitive/conscious/js-planner.test.ts b/integrations/minecraft/src/cognitive/conscious/js-planner.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/js-planner.test.ts rename to integrations/minecraft/src/cognitive/conscious/js-planner.test.ts diff --git a/services/minecraft/src/cognitive/conscious/js-planner.ts b/integrations/minecraft/src/cognitive/conscious/js-planner.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/js-planner.ts rename to integrations/minecraft/src/cognitive/conscious/js-planner.ts diff --git a/services/minecraft/src/cognitive/conscious/llm-agent.ts b/integrations/minecraft/src/cognitive/conscious/llm-agent.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/llm-agent.ts rename to integrations/minecraft/src/cognitive/conscious/llm-agent.ts diff --git a/services/minecraft/src/cognitive/conscious/llm-log.test.ts b/integrations/minecraft/src/cognitive/conscious/llm-log.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/llm-log.test.ts rename to integrations/minecraft/src/cognitive/conscious/llm-log.test.ts diff --git a/services/minecraft/src/cognitive/conscious/llm-log.ts b/integrations/minecraft/src/cognitive/conscious/llm-log.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/llm-log.ts rename to integrations/minecraft/src/cognitive/conscious/llm-log.ts diff --git a/services/minecraft/src/cognitive/conscious/llmlogic.ts b/integrations/minecraft/src/cognitive/conscious/llmlogic.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/llmlogic.ts rename to integrations/minecraft/src/cognitive/conscious/llmlogic.ts diff --git a/services/minecraft/src/cognitive/conscious/map-renderer.test.ts b/integrations/minecraft/src/cognitive/conscious/map-renderer.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/map-renderer.test.ts rename to integrations/minecraft/src/cognitive/conscious/map-renderer.test.ts diff --git a/services/minecraft/src/cognitive/conscious/map-renderer.ts b/integrations/minecraft/src/cognitive/conscious/map-renderer.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/map-renderer.ts rename to integrations/minecraft/src/cognitive/conscious/map-renderer.ts diff --git a/services/minecraft/src/cognitive/conscious/patterns/catalog.ts b/integrations/minecraft/src/cognitive/conscious/patterns/catalog.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/patterns/catalog.ts rename to integrations/minecraft/src/cognitive/conscious/patterns/catalog.ts diff --git a/services/minecraft/src/cognitive/conscious/patterns/runtime.test.ts b/integrations/minecraft/src/cognitive/conscious/patterns/runtime.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/patterns/runtime.test.ts rename to integrations/minecraft/src/cognitive/conscious/patterns/runtime.test.ts diff --git a/services/minecraft/src/cognitive/conscious/patterns/runtime.ts b/integrations/minecraft/src/cognitive/conscious/patterns/runtime.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/patterns/runtime.ts rename to integrations/minecraft/src/cognitive/conscious/patterns/runtime.ts diff --git a/services/minecraft/src/cognitive/conscious/patterns/types.ts b/integrations/minecraft/src/cognitive/conscious/patterns/types.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/patterns/types.ts rename to integrations/minecraft/src/cognitive/conscious/patterns/types.ts diff --git a/services/minecraft/src/cognitive/conscious/prompts/brain-prompt.md b/integrations/minecraft/src/cognitive/conscious/prompts/brain-prompt.md similarity index 100% rename from services/minecraft/src/cognitive/conscious/prompts/brain-prompt.md rename to integrations/minecraft/src/cognitive/conscious/prompts/brain-prompt.md diff --git a/services/minecraft/src/cognitive/conscious/prompts/brain-prompt.test.ts b/integrations/minecraft/src/cognitive/conscious/prompts/brain-prompt.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/prompts/brain-prompt.test.ts rename to integrations/minecraft/src/cognitive/conscious/prompts/brain-prompt.test.ts diff --git a/services/minecraft/src/cognitive/conscious/prompts/brain-prompt.ts b/integrations/minecraft/src/cognitive/conscious/prompts/brain-prompt.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/prompts/brain-prompt.ts rename to integrations/minecraft/src/cognitive/conscious/prompts/brain-prompt.ts diff --git a/services/minecraft/src/cognitive/conscious/query-dsl.test.ts b/integrations/minecraft/src/cognitive/conscious/query-dsl.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/query-dsl.test.ts rename to integrations/minecraft/src/cognitive/conscious/query-dsl.test.ts diff --git a/services/minecraft/src/cognitive/conscious/query-dsl.ts b/integrations/minecraft/src/cognitive/conscious/query-dsl.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/query-dsl.ts rename to integrations/minecraft/src/cognitive/conscious/query-dsl.ts diff --git a/services/minecraft/src/cognitive/conscious/repl-code-normalizer.test.ts b/integrations/minecraft/src/cognitive/conscious/repl-code-normalizer.test.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/repl-code-normalizer.test.ts rename to integrations/minecraft/src/cognitive/conscious/repl-code-normalizer.test.ts diff --git a/services/minecraft/src/cognitive/conscious/repl-code-normalizer.ts b/integrations/minecraft/src/cognitive/conscious/repl-code-normalizer.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/repl-code-normalizer.ts rename to integrations/minecraft/src/cognitive/conscious/repl-code-normalizer.ts diff --git a/services/minecraft/src/cognitive/conscious/task-state.ts b/integrations/minecraft/src/cognitive/conscious/task-state.ts similarity index 100% rename from services/minecraft/src/cognitive/conscious/task-state.ts rename to integrations/minecraft/src/cognitive/conscious/task-state.ts diff --git a/services/minecraft/src/cognitive/container.ts b/integrations/minecraft/src/cognitive/container.ts similarity index 100% rename from services/minecraft/src/cognitive/container.ts rename to integrations/minecraft/src/cognitive/container.ts diff --git a/services/minecraft/src/cognitive/event-bus.test.ts b/integrations/minecraft/src/cognitive/event-bus.test.ts similarity index 100% rename from services/minecraft/src/cognitive/event-bus.test.ts rename to integrations/minecraft/src/cognitive/event-bus.test.ts diff --git a/services/minecraft/src/cognitive/event-bus.ts b/integrations/minecraft/src/cognitive/event-bus.ts similarity index 100% rename from services/minecraft/src/cognitive/event-bus.ts rename to integrations/minecraft/src/cognitive/event-bus.ts diff --git a/services/minecraft/src/cognitive/index.ts b/integrations/minecraft/src/cognitive/index.ts similarity index 100% rename from services/minecraft/src/cognitive/index.ts rename to integrations/minecraft/src/cognitive/index.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/arm-swing.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/arm-swing.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/arm-swing.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/arm-swing.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.test.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.test.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.test.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.test.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/attacker-tracker.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/damage-taken.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/damage-taken.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/damage-taken.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/damage-taken.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/entity-moved.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/entity-moved.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/entity-moved.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/entity-moved.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/fall-tracker.test.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/fall-tracker.test.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/fall-tracker.test.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/fall-tracker.test.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/fall-tracker.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/fall-tracker.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/fall-tracker.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/fall-tracker.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/index.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/index.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/index.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/index.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/low-health.test.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/low-health.test.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/low-health.test.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/low-health.test.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/low-health.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/low-health.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/low-health.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/low-health.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/sneak-toggle.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/sneak-toggle.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/sneak-toggle.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/sneak-toggle.ts diff --git a/services/minecraft/src/cognitive/perception/events/definitions/system-message.ts b/integrations/minecraft/src/cognitive/perception/events/definitions/system-message.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/definitions/system-message.ts rename to integrations/minecraft/src/cognitive/perception/events/definitions/system-message.ts diff --git a/services/minecraft/src/cognitive/perception/events/index.ts b/integrations/minecraft/src/cognitive/perception/events/index.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/index.ts rename to integrations/minecraft/src/cognitive/perception/events/index.ts diff --git a/services/minecraft/src/cognitive/perception/events/types.ts b/integrations/minecraft/src/cognitive/perception/events/types.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/events/types.ts rename to integrations/minecraft/src/cognitive/perception/events/types.ts diff --git a/services/minecraft/src/cognitive/perception/gaze.test.ts b/integrations/minecraft/src/cognitive/perception/gaze.test.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/gaze.test.ts rename to integrations/minecraft/src/cognitive/perception/gaze.test.ts diff --git a/services/minecraft/src/cognitive/perception/gaze.ts b/integrations/minecraft/src/cognitive/perception/gaze.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/gaze.ts rename to integrations/minecraft/src/cognitive/perception/gaze.ts diff --git a/services/minecraft/src/cognitive/perception/pipeline.ts b/integrations/minecraft/src/cognitive/perception/pipeline.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/pipeline.ts rename to integrations/minecraft/src/cognitive/perception/pipeline.ts diff --git a/services/minecraft/src/cognitive/perception/rules/attention/movement.yaml b/integrations/minecraft/src/cognitive/perception/rules/attention/movement.yaml similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/attention/movement.yaml rename to integrations/minecraft/src/cognitive/perception/rules/attention/movement.yaml diff --git a/services/minecraft/src/cognitive/perception/rules/attention/punch.yaml b/integrations/minecraft/src/cognitive/perception/rules/attention/punch.yaml similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/attention/punch.yaml rename to integrations/minecraft/src/cognitive/perception/rules/attention/punch.yaml diff --git a/services/minecraft/src/cognitive/perception/rules/danger/damage.yaml b/integrations/minecraft/src/cognitive/perception/rules/danger/damage.yaml similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/danger/damage.yaml rename to integrations/minecraft/src/cognitive/perception/rules/danger/damage.yaml diff --git a/services/minecraft/src/cognitive/perception/rules/danger/low-health.yaml b/integrations/minecraft/src/cognitive/perception/rules/danger/low-health.yaml similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/danger/low-health.yaml rename to integrations/minecraft/src/cognitive/perception/rules/danger/low-health.yaml diff --git a/services/minecraft/src/cognitive/perception/rules/engine.ts b/integrations/minecraft/src/cognitive/perception/rules/engine.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/engine.ts rename to integrations/minecraft/src/cognitive/perception/rules/engine.ts diff --git a/services/minecraft/src/cognitive/perception/rules/index.ts b/integrations/minecraft/src/cognitive/perception/rules/index.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/index.ts rename to integrations/minecraft/src/cognitive/perception/rules/index.ts diff --git a/services/minecraft/src/cognitive/perception/rules/loader.ts b/integrations/minecraft/src/cognitive/perception/rules/loader.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/loader.ts rename to integrations/minecraft/src/cognitive/perception/rules/loader.ts diff --git a/services/minecraft/src/cognitive/perception/rules/matcher.ts b/integrations/minecraft/src/cognitive/perception/rules/matcher.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/matcher.ts rename to integrations/minecraft/src/cognitive/perception/rules/matcher.ts diff --git a/services/minecraft/src/cognitive/perception/rules/rules.test.ts b/integrations/minecraft/src/cognitive/perception/rules/rules.test.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/rules.test.ts rename to integrations/minecraft/src/cognitive/perception/rules/rules.test.ts diff --git a/services/minecraft/src/cognitive/perception/rules/social/teabag.yaml b/integrations/minecraft/src/cognitive/perception/rules/social/teabag.yaml similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/social/teabag.yaml rename to integrations/minecraft/src/cognitive/perception/rules/social/teabag.yaml diff --git a/services/minecraft/src/cognitive/perception/rules/system-message.yaml b/integrations/minecraft/src/cognitive/perception/rules/system-message.yaml similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/system-message.yaml rename to integrations/minecraft/src/cognitive/perception/rules/system-message.yaml diff --git a/services/minecraft/src/cognitive/perception/rules/temporal-detector.ts b/integrations/minecraft/src/cognitive/perception/rules/temporal-detector.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/temporal-detector.ts rename to integrations/minecraft/src/cognitive/perception/rules/temporal-detector.ts diff --git a/services/minecraft/src/cognitive/perception/rules/types.ts b/integrations/minecraft/src/cognitive/perception/rules/types.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/rules/types.ts rename to integrations/minecraft/src/cognitive/perception/rules/types.ts diff --git a/services/minecraft/src/cognitive/perception/types/raw-events.ts b/integrations/minecraft/src/cognitive/perception/types/raw-events.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/types/raw-events.ts rename to integrations/minecraft/src/cognitive/perception/types/raw-events.ts diff --git a/services/minecraft/src/cognitive/perception/types/signals.ts b/integrations/minecraft/src/cognitive/perception/types/signals.ts similarity index 100% rename from services/minecraft/src/cognitive/perception/types/signals.ts rename to integrations/minecraft/src/cognitive/perception/types/signals.ts diff --git a/services/minecraft/src/cognitive/reflex/behaviors/auto-eat.test.ts b/integrations/minecraft/src/cognitive/reflex/behaviors/auto-eat.test.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/behaviors/auto-eat.test.ts rename to integrations/minecraft/src/cognitive/reflex/behaviors/auto-eat.test.ts diff --git a/services/minecraft/src/cognitive/reflex/behaviors/auto-eat.ts b/integrations/minecraft/src/cognitive/reflex/behaviors/auto-eat.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/behaviors/auto-eat.ts rename to integrations/minecraft/src/cognitive/reflex/behaviors/auto-eat.ts diff --git a/services/minecraft/src/cognitive/reflex/behaviors/defend.test.ts b/integrations/minecraft/src/cognitive/reflex/behaviors/defend.test.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/behaviors/defend.test.ts rename to integrations/minecraft/src/cognitive/reflex/behaviors/defend.test.ts diff --git a/services/minecraft/src/cognitive/reflex/behaviors/defend.ts b/integrations/minecraft/src/cognitive/reflex/behaviors/defend.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/behaviors/defend.ts rename to integrations/minecraft/src/cognitive/reflex/behaviors/defend.ts diff --git a/services/minecraft/src/cognitive/reflex/behaviors/escape-hazard.test.ts b/integrations/minecraft/src/cognitive/reflex/behaviors/escape-hazard.test.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/behaviors/escape-hazard.test.ts rename to integrations/minecraft/src/cognitive/reflex/behaviors/escape-hazard.test.ts diff --git a/services/minecraft/src/cognitive/reflex/behaviors/escape-hazard.ts b/integrations/minecraft/src/cognitive/reflex/behaviors/escape-hazard.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/behaviors/escape-hazard.ts rename to integrations/minecraft/src/cognitive/reflex/behaviors/escape-hazard.ts diff --git a/services/minecraft/src/cognitive/reflex/behaviors/idle-gaze.ts b/integrations/minecraft/src/cognitive/reflex/behaviors/idle-gaze.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/behaviors/idle-gaze.ts rename to integrations/minecraft/src/cognitive/reflex/behaviors/idle-gaze.ts diff --git a/services/minecraft/src/cognitive/reflex/context.ts b/integrations/minecraft/src/cognitive/reflex/context.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/context.ts rename to integrations/minecraft/src/cognitive/reflex/context.ts diff --git a/services/minecraft/src/cognitive/reflex/modes.ts b/integrations/minecraft/src/cognitive/reflex/modes.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/modes.ts rename to integrations/minecraft/src/cognitive/reflex/modes.ts diff --git a/services/minecraft/src/cognitive/reflex/reflex-manager.test.ts b/integrations/minecraft/src/cognitive/reflex/reflex-manager.test.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/reflex-manager.test.ts rename to integrations/minecraft/src/cognitive/reflex/reflex-manager.test.ts diff --git a/services/minecraft/src/cognitive/reflex/reflex-manager.ts b/integrations/minecraft/src/cognitive/reflex/reflex-manager.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/reflex-manager.ts rename to integrations/minecraft/src/cognitive/reflex/reflex-manager.ts diff --git a/services/minecraft/src/cognitive/reflex/runtime.test.ts b/integrations/minecraft/src/cognitive/reflex/runtime.test.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/runtime.test.ts rename to integrations/minecraft/src/cognitive/reflex/runtime.test.ts diff --git a/services/minecraft/src/cognitive/reflex/runtime.ts b/integrations/minecraft/src/cognitive/reflex/runtime.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/runtime.ts rename to integrations/minecraft/src/cognitive/reflex/runtime.ts diff --git a/services/minecraft/src/cognitive/reflex/types/behavior.ts b/integrations/minecraft/src/cognitive/reflex/types/behavior.ts similarity index 100% rename from services/minecraft/src/cognitive/reflex/types/behavior.ts rename to integrations/minecraft/src/cognitive/reflex/types/behavior.ts diff --git a/services/minecraft/src/cognitive/types.ts b/integrations/minecraft/src/cognitive/types.ts similarity index 100% rename from services/minecraft/src/cognitive/types.ts rename to integrations/minecraft/src/cognitive/types.ts diff --git a/services/minecraft/src/cognitive/types/index.ts b/integrations/minecraft/src/cognitive/types/index.ts similarity index 100% rename from services/minecraft/src/cognitive/types/index.ts rename to integrations/minecraft/src/cognitive/types/index.ts diff --git a/services/minecraft/src/composables/bot.ts b/integrations/minecraft/src/composables/bot.ts similarity index 100% rename from services/minecraft/src/composables/bot.ts rename to integrations/minecraft/src/composables/bot.ts diff --git a/services/minecraft/src/composables/config.ts b/integrations/minecraft/src/composables/config.ts similarity index 100% rename from services/minecraft/src/composables/config.ts rename to integrations/minecraft/src/composables/config.ts diff --git a/services/minecraft/src/composables/runtime-config.ts b/integrations/minecraft/src/composables/runtime-config.ts similarity index 100% rename from services/minecraft/src/composables/runtime-config.ts rename to integrations/minecraft/src/composables/runtime-config.ts diff --git a/services/minecraft/src/debug/debug-service.ts b/integrations/minecraft/src/debug/debug-service.ts similarity index 100% rename from services/minecraft/src/debug/debug-service.ts rename to integrations/minecraft/src/debug/debug-service.ts diff --git a/services/minecraft/src/debug/index.ts b/integrations/minecraft/src/debug/index.ts similarity index 100% rename from services/minecraft/src/debug/index.ts rename to integrations/minecraft/src/debug/index.ts diff --git a/services/minecraft/src/debug/mcp-repl-server.test.ts b/integrations/minecraft/src/debug/mcp-repl-server.test.ts similarity index 100% rename from services/minecraft/src/debug/mcp-repl-server.test.ts rename to integrations/minecraft/src/debug/mcp-repl-server.test.ts diff --git a/services/minecraft/src/debug/mcp-repl-server.ts b/integrations/minecraft/src/debug/mcp-repl-server.ts similarity index 100% rename from services/minecraft/src/debug/mcp-repl-server.ts rename to integrations/minecraft/src/debug/mcp-repl-server.ts diff --git a/services/minecraft/src/debug/mineflayer-viewer.ts b/integrations/minecraft/src/debug/mineflayer-viewer.ts similarity index 100% rename from services/minecraft/src/debug/mineflayer-viewer.ts rename to integrations/minecraft/src/debug/mineflayer-viewer.ts diff --git a/services/minecraft/src/debug/server.ts b/integrations/minecraft/src/debug/server.ts similarity index 100% rename from services/minecraft/src/debug/server.ts rename to integrations/minecraft/src/debug/server.ts diff --git a/services/minecraft/src/debug/tool-executor.ts b/integrations/minecraft/src/debug/tool-executor.ts similarity index 100% rename from services/minecraft/src/debug/tool-executor.ts rename to integrations/minecraft/src/debug/tool-executor.ts diff --git a/services/minecraft/src/debug/types.ts b/integrations/minecraft/src/debug/types.ts similarity index 100% rename from services/minecraft/src/debug/types.ts rename to integrations/minecraft/src/debug/types.ts diff --git a/services/minecraft/src/debug/web/app.js b/integrations/minecraft/src/debug/web/app.js similarity index 100% rename from services/minecraft/src/debug/web/app.js rename to integrations/minecraft/src/debug/web/app.js diff --git a/services/minecraft/src/debug/web/conversation.css b/integrations/minecraft/src/debug/web/conversation.css similarity index 100% rename from services/minecraft/src/debug/web/conversation.css rename to integrations/minecraft/src/debug/web/conversation.css diff --git a/services/minecraft/src/debug/web/index.html b/integrations/minecraft/src/debug/web/index.html similarity index 100% rename from services/minecraft/src/debug/web/index.html rename to integrations/minecraft/src/debug/web/index.html diff --git a/services/minecraft/src/debug/web/styles.css b/integrations/minecraft/src/debug/web/styles.css similarity index 100% rename from services/minecraft/src/debug/web/styles.css rename to integrations/minecraft/src/debug/web/styles.css diff --git a/services/minecraft/src/debug/web/tools.css b/integrations/minecraft/src/debug/web/tools.css similarity index 100% rename from services/minecraft/src/debug/web/tools.css rename to integrations/minecraft/src/debug/web/tools.css diff --git a/services/minecraft/src/libs/mineflayer/action.ts b/integrations/minecraft/src/libs/mineflayer/action.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/action.ts rename to integrations/minecraft/src/libs/mineflayer/action.ts diff --git a/services/minecraft/src/libs/mineflayer/base-agent.ts b/integrations/minecraft/src/libs/mineflayer/base-agent.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/base-agent.ts rename to integrations/minecraft/src/libs/mineflayer/base-agent.ts diff --git a/services/minecraft/src/libs/mineflayer/command.ts b/integrations/minecraft/src/libs/mineflayer/command.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/command.ts rename to integrations/minecraft/src/libs/mineflayer/command.ts diff --git a/services/minecraft/src/libs/mineflayer/components.ts b/integrations/minecraft/src/libs/mineflayer/components.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/components.ts rename to integrations/minecraft/src/libs/mineflayer/components.ts diff --git a/services/minecraft/src/libs/mineflayer/connection-supervisor.ts b/integrations/minecraft/src/libs/mineflayer/connection-supervisor.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/connection-supervisor.ts rename to integrations/minecraft/src/libs/mineflayer/connection-supervisor.ts diff --git a/services/minecraft/src/libs/mineflayer/core.ts b/integrations/minecraft/src/libs/mineflayer/core.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/core.ts rename to integrations/minecraft/src/libs/mineflayer/core.ts diff --git a/services/minecraft/src/libs/mineflayer/foods.test.ts b/integrations/minecraft/src/libs/mineflayer/foods.test.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/foods.test.ts rename to integrations/minecraft/src/libs/mineflayer/foods.test.ts diff --git a/services/minecraft/src/libs/mineflayer/foods.ts b/integrations/minecraft/src/libs/mineflayer/foods.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/foods.ts rename to integrations/minecraft/src/libs/mineflayer/foods.ts diff --git a/services/minecraft/src/libs/mineflayer/health.ts b/integrations/minecraft/src/libs/mineflayer/health.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/health.ts rename to integrations/minecraft/src/libs/mineflayer/health.ts diff --git a/services/minecraft/src/libs/mineflayer/index.ts b/integrations/minecraft/src/libs/mineflayer/index.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/index.ts rename to integrations/minecraft/src/libs/mineflayer/index.ts diff --git a/services/minecraft/src/libs/mineflayer/memory.ts b/integrations/minecraft/src/libs/mineflayer/memory.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/memory.ts rename to integrations/minecraft/src/libs/mineflayer/memory.ts diff --git a/services/minecraft/src/libs/mineflayer/message.ts b/integrations/minecraft/src/libs/mineflayer/message.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/message.ts rename to integrations/minecraft/src/libs/mineflayer/message.ts diff --git a/services/minecraft/src/libs/mineflayer/plugin-runtime.ts b/integrations/minecraft/src/libs/mineflayer/plugin-runtime.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/plugin-runtime.ts rename to integrations/minecraft/src/libs/mineflayer/plugin-runtime.ts diff --git a/services/minecraft/src/libs/mineflayer/plugin.ts b/integrations/minecraft/src/libs/mineflayer/plugin.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/plugin.ts rename to integrations/minecraft/src/libs/mineflayer/plugin.ts diff --git a/services/minecraft/src/libs/mineflayer/status.ts b/integrations/minecraft/src/libs/mineflayer/status.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/status.ts rename to integrations/minecraft/src/libs/mineflayer/status.ts diff --git a/services/minecraft/src/libs/mineflayer/ticker.ts b/integrations/minecraft/src/libs/mineflayer/ticker.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/ticker.ts rename to integrations/minecraft/src/libs/mineflayer/ticker.ts diff --git a/services/minecraft/src/libs/mineflayer/types.ts b/integrations/minecraft/src/libs/mineflayer/types.ts similarity index 100% rename from services/minecraft/src/libs/mineflayer/types.ts rename to integrations/minecraft/src/libs/mineflayer/types.ts diff --git a/services/minecraft/src/main.ts b/integrations/minecraft/src/main.ts similarity index 100% rename from services/minecraft/src/main.ts rename to integrations/minecraft/src/main.ts diff --git a/services/minecraft/src/minecraft-bot-runtime.ts b/integrations/minecraft/src/minecraft-bot-runtime.ts similarity index 100% rename from services/minecraft/src/minecraft-bot-runtime.ts rename to integrations/minecraft/src/minecraft-bot-runtime.ts diff --git a/services/minecraft/src/plugins/echo.ts b/integrations/minecraft/src/plugins/echo.ts similarity index 100% rename from services/minecraft/src/plugins/echo.ts rename to integrations/minecraft/src/plugins/echo.ts diff --git a/services/minecraft/src/plugins/follow.ts b/integrations/minecraft/src/plugins/follow.ts similarity index 100% rename from services/minecraft/src/plugins/follow.ts rename to integrations/minecraft/src/plugins/follow.ts diff --git a/services/minecraft/src/plugins/pathfinder.ts b/integrations/minecraft/src/plugins/pathfinder.ts similarity index 100% rename from services/minecraft/src/plugins/pathfinder.ts rename to integrations/minecraft/src/plugins/pathfinder.ts diff --git a/services/minecraft/src/plugins/status.ts b/integrations/minecraft/src/plugins/status.ts similarity index 100% rename from services/minecraft/src/plugins/status.ts rename to integrations/minecraft/src/plugins/status.ts diff --git a/services/minecraft/src/skills/actions/block-type-normalizer.test.ts b/integrations/minecraft/src/skills/actions/block-type-normalizer.test.ts similarity index 100% rename from services/minecraft/src/skills/actions/block-type-normalizer.test.ts rename to integrations/minecraft/src/skills/actions/block-type-normalizer.test.ts diff --git a/services/minecraft/src/skills/actions/block-type-normalizer.ts b/integrations/minecraft/src/skills/actions/block-type-normalizer.ts similarity index 100% rename from services/minecraft/src/skills/actions/block-type-normalizer.ts rename to integrations/minecraft/src/skills/actions/block-type-normalizer.ts diff --git a/services/minecraft/src/skills/actions/collect-block.ts b/integrations/minecraft/src/skills/actions/collect-block.ts similarity index 100% rename from services/minecraft/src/skills/actions/collect-block.ts rename to integrations/minecraft/src/skills/actions/collect-block.ts diff --git a/services/minecraft/src/skills/actions/ensure.ts b/integrations/minecraft/src/skills/actions/ensure.ts similarity index 100% rename from services/minecraft/src/skills/actions/ensure.ts rename to integrations/minecraft/src/skills/actions/ensure.ts diff --git a/services/minecraft/src/skills/actions/gather-wood.ts b/integrations/minecraft/src/skills/actions/gather-wood.ts similarity index 100% rename from services/minecraft/src/skills/actions/gather-wood.ts rename to integrations/minecraft/src/skills/actions/gather-wood.ts diff --git a/services/minecraft/src/skills/actions/inventory.ts b/integrations/minecraft/src/skills/actions/inventory.ts similarity index 100% rename from services/minecraft/src/skills/actions/inventory.ts rename to integrations/minecraft/src/skills/actions/inventory.ts diff --git a/services/minecraft/src/skills/actions/world-interactions.ts b/integrations/minecraft/src/skills/actions/world-interactions.ts similarity index 100% rename from services/minecraft/src/skills/actions/world-interactions.ts rename to integrations/minecraft/src/skills/actions/world-interactions.ts diff --git a/services/minecraft/src/skills/base.ts b/integrations/minecraft/src/skills/base.ts similarity index 100% rename from services/minecraft/src/skills/base.ts rename to integrations/minecraft/src/skills/base.ts diff --git a/services/minecraft/src/skills/blocks.ts b/integrations/minecraft/src/skills/blocks.ts similarity index 100% rename from services/minecraft/src/skills/blocks.ts rename to integrations/minecraft/src/skills/blocks.ts diff --git a/services/minecraft/src/skills/combat.test.ts b/integrations/minecraft/src/skills/combat.test.ts similarity index 100% rename from services/minecraft/src/skills/combat.test.ts rename to integrations/minecraft/src/skills/combat.test.ts diff --git a/services/minecraft/src/skills/combat.ts b/integrations/minecraft/src/skills/combat.ts similarity index 100% rename from services/minecraft/src/skills/combat.ts rename to integrations/minecraft/src/skills/combat.ts diff --git a/services/minecraft/src/skills/containers.ts b/integrations/minecraft/src/skills/containers.ts similarity index 100% rename from services/minecraft/src/skills/containers.ts rename to integrations/minecraft/src/skills/containers.ts diff --git a/services/minecraft/src/skills/crafting.test.ts b/integrations/minecraft/src/skills/crafting.test.ts similarity index 100% rename from services/minecraft/src/skills/crafting.test.ts rename to integrations/minecraft/src/skills/crafting.test.ts diff --git a/services/minecraft/src/skills/crafting.ts b/integrations/minecraft/src/skills/crafting.ts similarity index 100% rename from services/minecraft/src/skills/crafting.ts rename to integrations/minecraft/src/skills/crafting.ts diff --git a/services/minecraft/src/skills/index.ts b/integrations/minecraft/src/skills/index.ts similarity index 100% rename from services/minecraft/src/skills/index.ts rename to integrations/minecraft/src/skills/index.ts diff --git a/services/minecraft/src/skills/inventory.ts b/integrations/minecraft/src/skills/inventory.ts similarity index 100% rename from services/minecraft/src/skills/inventory.ts rename to integrations/minecraft/src/skills/inventory.ts diff --git a/services/minecraft/src/skills/movement.test.ts b/integrations/minecraft/src/skills/movement.test.ts similarity index 100% rename from services/minecraft/src/skills/movement.test.ts rename to integrations/minecraft/src/skills/movement.test.ts diff --git a/services/minecraft/src/skills/movement.ts b/integrations/minecraft/src/skills/movement.ts similarity index 100% rename from services/minecraft/src/skills/movement.ts rename to integrations/minecraft/src/skills/movement.ts diff --git a/services/minecraft/src/skills/patched-goto.test.ts b/integrations/minecraft/src/skills/patched-goto.test.ts similarity index 100% rename from services/minecraft/src/skills/patched-goto.test.ts rename to integrations/minecraft/src/skills/patched-goto.test.ts diff --git a/services/minecraft/src/skills/patched-goto.ts b/integrations/minecraft/src/skills/patched-goto.ts similarity index 100% rename from services/minecraft/src/skills/patched-goto.ts rename to integrations/minecraft/src/skills/patched-goto.ts diff --git a/services/minecraft/src/skills/world.ts b/integrations/minecraft/src/skills/world.ts similarity index 100% rename from services/minecraft/src/skills/world.ts rename to integrations/minecraft/src/skills/world.ts diff --git a/services/minecraft/src/utils/error-message.ts b/integrations/minecraft/src/utils/error-message.ts similarity index 100% rename from services/minecraft/src/utils/error-message.ts rename to integrations/minecraft/src/utils/error-message.ts diff --git a/services/minecraft/src/utils/errors.ts b/integrations/minecraft/src/utils/errors.ts similarity index 100% rename from services/minecraft/src/utils/errors.ts rename to integrations/minecraft/src/utils/errors.ts diff --git a/services/minecraft/src/utils/logger.ts b/integrations/minecraft/src/utils/logger.ts similarity index 100% rename from services/minecraft/src/utils/logger.ts rename to integrations/minecraft/src/utils/logger.ts diff --git a/services/minecraft/src/utils/mcdata.ts b/integrations/minecraft/src/utils/mcdata.ts similarity index 100% rename from services/minecraft/src/utils/mcdata.ts rename to integrations/minecraft/src/utils/mcdata.ts diff --git a/services/minecraft/src/utils/recipe-planner.ts b/integrations/minecraft/src/utils/recipe-planner.ts similarity index 100% rename from services/minecraft/src/utils/recipe-planner.ts rename to integrations/minecraft/src/utils/recipe-planner.ts diff --git a/services/minecraft/tsconfig.json b/integrations/minecraft/tsconfig.json similarity index 100% rename from services/minecraft/tsconfig.json rename to integrations/minecraft/tsconfig.json diff --git a/services/minecraft/vitest.config.ts b/integrations/minecraft/vitest.config.ts similarity index 100% rename from services/minecraft/vitest.config.ts rename to integrations/minecraft/vitest.config.ts diff --git a/services/satori-bot/.env b/integrations/satori-bot/.env similarity index 100% rename from services/satori-bot/.env rename to integrations/satori-bot/.env diff --git a/services/satori-bot/.gitignore b/integrations/satori-bot/.gitignore similarity index 55% rename from services/satori-bot/.gitignore rename to integrations/satori-bot/.gitignore index aa8ac3ce2..a0131e135 100644 --- a/services/satori-bot/.gitignore +++ b/integrations/satori-bot/.gitignore @@ -1,7 +1,6 @@ -# Database Persistence (DO NOT COMMIT) -data/ -data/pglite-db/ -data/db.json +# Database persistence (generated locally; do not commit) +data/* +!data/.gitkeep # Environment Secrets .env diff --git a/services/satori-bot/README.md b/integrations/satori-bot/README.md similarity index 100% rename from services/satori-bot/README.md rename to integrations/satori-bot/README.md diff --git a/services/satori-bot/data/.gitkeep b/integrations/satori-bot/data/.gitkeep similarity index 100% rename from services/satori-bot/data/.gitkeep rename to integrations/satori-bot/data/.gitkeep diff --git a/services/satori-bot/docs/EVENT.md b/integrations/satori-bot/docs/EVENT.md similarity index 100% rename from services/satori-bot/docs/EVENT.md rename to integrations/satori-bot/docs/EVENT.md diff --git a/services/satori-bot/docs/HANDLER.md b/integrations/satori-bot/docs/HANDLER.md similarity index 100% rename from services/satori-bot/docs/HANDLER.md rename to integrations/satori-bot/docs/HANDLER.md diff --git a/services/satori-bot/docs/PERSISTENCE.md b/integrations/satori-bot/docs/PERSISTENCE.md similarity index 100% rename from services/satori-bot/docs/PERSISTENCE.md rename to integrations/satori-bot/docs/PERSISTENCE.md diff --git a/services/satori-bot/docs/PROMPTS.md b/integrations/satori-bot/docs/PROMPTS.md similarity index 100% rename from services/satori-bot/docs/PROMPTS.md rename to integrations/satori-bot/docs/PROMPTS.md diff --git a/services/satori-bot/drizzle.config.ts b/integrations/satori-bot/drizzle.config.ts similarity index 100% rename from services/satori-bot/drizzle.config.ts rename to integrations/satori-bot/drizzle.config.ts diff --git a/services/satori-bot/drizzle/0000_cooing_captain_flint.sql b/integrations/satori-bot/drizzle/0000_cooing_captain_flint.sql similarity index 100% rename from services/satori-bot/drizzle/0000_cooing_captain_flint.sql rename to integrations/satori-bot/drizzle/0000_cooing_captain_flint.sql diff --git a/services/satori-bot/drizzle/meta/0000_snapshot.json b/integrations/satori-bot/drizzle/meta/0000_snapshot.json similarity index 100% rename from services/satori-bot/drizzle/meta/0000_snapshot.json rename to integrations/satori-bot/drizzle/meta/0000_snapshot.json diff --git a/services/satori-bot/drizzle/meta/_journal.json b/integrations/satori-bot/drizzle/meta/_journal.json similarity index 100% rename from services/satori-bot/drizzle/meta/_journal.json rename to integrations/satori-bot/drizzle/meta/_journal.json diff --git a/services/satori-bot/package.json b/integrations/satori-bot/package.json similarity index 96% rename from services/satori-bot/package.json rename to integrations/satori-bot/package.json index 9b98c9eff..dba14cd26 100644 --- a/services/satori-bot/package.json +++ b/integrations/satori-bot/package.json @@ -12,7 +12,7 @@ "repository": { "type": "git", "url": "https://github.com/moeru-ai/airi.git", - "directory": "services/satori-bot" + "directory": "integrations/satori-bot" }, "scripts": { "start": "tsx --env-file=.env --env-file-if-exists=.env.local src/index.ts", diff --git a/services/satori-bot/src/adapter/satori/api.ts b/integrations/satori-bot/src/adapter/satori/api.ts similarity index 100% rename from services/satori-bot/src/adapter/satori/api.ts rename to integrations/satori-bot/src/adapter/satori/api.ts diff --git a/services/satori-bot/src/adapter/satori/client.ts b/integrations/satori-bot/src/adapter/satori/client.ts similarity index 100% rename from services/satori-bot/src/adapter/satori/client.ts rename to integrations/satori-bot/src/adapter/satori/client.ts diff --git a/services/satori-bot/src/adapter/satori/schema.ts b/integrations/satori-bot/src/adapter/satori/schema.ts similarity index 100% rename from services/satori-bot/src/adapter/satori/schema.ts rename to integrations/satori-bot/src/adapter/satori/schema.ts diff --git a/services/satori-bot/src/adapter/satori/types.ts b/integrations/satori-bot/src/adapter/satori/types.ts similarity index 100% rename from services/satori-bot/src/adapter/satori/types.ts rename to integrations/satori-bot/src/adapter/satori/types.ts diff --git a/services/satori-bot/src/capabilities/actions/read-messages.ts b/integrations/satori-bot/src/capabilities/actions/read-messages.ts similarity index 100% rename from services/satori-bot/src/capabilities/actions/read-messages.ts rename to integrations/satori-bot/src/capabilities/actions/read-messages.ts diff --git a/services/satori-bot/src/capabilities/actions/send-message.ts b/integrations/satori-bot/src/capabilities/actions/send-message.ts similarity index 100% rename from services/satori-bot/src/capabilities/actions/send-message.ts rename to integrations/satori-bot/src/capabilities/actions/send-message.ts diff --git a/services/satori-bot/src/capabilities/actions/system.ts b/integrations/satori-bot/src/capabilities/actions/system.ts similarity index 100% rename from services/satori-bot/src/capabilities/actions/system.ts rename to integrations/satori-bot/src/capabilities/actions/system.ts diff --git a/services/satori-bot/src/capabilities/definition.ts b/integrations/satori-bot/src/capabilities/definition.ts similarity index 100% rename from services/satori-bot/src/capabilities/definition.ts rename to integrations/satori-bot/src/capabilities/definition.ts diff --git a/services/satori-bot/src/capabilities/registry.ts b/integrations/satori-bot/src/capabilities/registry.ts similarity index 100% rename from services/satori-bot/src/capabilities/registry.ts rename to integrations/satori-bot/src/capabilities/registry.ts diff --git a/services/satori-bot/src/config.ts b/integrations/satori-bot/src/config.ts similarity index 100% rename from services/satori-bot/src/config.ts rename to integrations/satori-bot/src/config.ts diff --git a/services/satori-bot/src/core/constants.ts b/integrations/satori-bot/src/core/constants.ts similarity index 100% rename from services/satori-bot/src/core/constants.ts rename to integrations/satori-bot/src/core/constants.ts diff --git a/services/satori-bot/src/core/dispatcher.ts b/integrations/satori-bot/src/core/dispatcher.ts similarity index 100% rename from services/satori-bot/src/core/dispatcher.ts rename to integrations/satori-bot/src/core/dispatcher.ts diff --git a/services/satori-bot/src/core/index.ts b/integrations/satori-bot/src/core/index.ts similarity index 100% rename from services/satori-bot/src/core/index.ts rename to integrations/satori-bot/src/core/index.ts diff --git a/services/satori-bot/src/core/loop/queue.ts b/integrations/satori-bot/src/core/loop/queue.ts similarity index 100% rename from services/satori-bot/src/core/loop/queue.ts rename to integrations/satori-bot/src/core/loop/queue.ts diff --git a/services/satori-bot/src/core/loop/scheduler.ts b/integrations/satori-bot/src/core/loop/scheduler.ts similarity index 100% rename from services/satori-bot/src/core/loop/scheduler.ts rename to integrations/satori-bot/src/core/loop/scheduler.ts diff --git a/services/satori-bot/src/core/planner/llm-client.ts b/integrations/satori-bot/src/core/planner/llm-client.ts similarity index 100% rename from services/satori-bot/src/core/planner/llm-client.ts rename to integrations/satori-bot/src/core/planner/llm-client.ts diff --git a/services/satori-bot/src/core/planner/prompts/index.ts b/integrations/satori-bot/src/core/planner/prompts/index.ts similarity index 100% rename from services/satori-bot/src/core/planner/prompts/index.ts rename to integrations/satori-bot/src/core/planner/prompts/index.ts diff --git a/services/satori-bot/src/core/planner/prompts/path.ts b/integrations/satori-bot/src/core/planner/prompts/path.ts similarity index 100% rename from services/satori-bot/src/core/planner/prompts/path.ts rename to integrations/satori-bot/src/core/planner/prompts/path.ts diff --git a/services/satori-bot/src/core/planner/prompts/personality-v1.velin.md b/integrations/satori-bot/src/core/planner/prompts/personality-v1.velin.md similarity index 100% rename from services/satori-bot/src/core/planner/prompts/personality-v1.velin.md rename to integrations/satori-bot/src/core/planner/prompts/personality-v1.velin.md diff --git a/services/satori-bot/src/core/planner/prompts/system-action-gen-v1.velin.md b/integrations/satori-bot/src/core/planner/prompts/system-action-gen-v1.velin.md similarity index 100% rename from services/satori-bot/src/core/planner/prompts/system-action-gen-v1.velin.md rename to integrations/satori-bot/src/core/planner/prompts/system-action-gen-v1.velin.md diff --git a/services/satori-bot/src/core/planner/prompts/velin.ts b/integrations/satori-bot/src/core/planner/prompts/velin.ts similarity index 100% rename from services/satori-bot/src/core/planner/prompts/velin.ts rename to integrations/satori-bot/src/core/planner/prompts/velin.ts diff --git a/services/satori-bot/src/core/session/context.ts b/integrations/satori-bot/src/core/session/context.ts similarity index 100% rename from services/satori-bot/src/core/session/context.ts rename to integrations/satori-bot/src/core/session/context.ts diff --git a/services/satori-bot/src/core/types.ts b/integrations/satori-bot/src/core/types.ts similarity index 100% rename from services/satori-bot/src/core/types.ts rename to integrations/satori-bot/src/core/types.ts diff --git a/services/satori-bot/src/core/utils.ts b/integrations/satori-bot/src/core/utils.ts similarity index 100% rename from services/satori-bot/src/core/utils.ts rename to integrations/satori-bot/src/core/utils.ts diff --git a/services/satori-bot/src/index.ts b/integrations/satori-bot/src/index.ts similarity index 100% rename from services/satori-bot/src/index.ts rename to integrations/satori-bot/src/index.ts diff --git a/services/satori-bot/src/lib/db.ts b/integrations/satori-bot/src/lib/db.ts similarity index 100% rename from services/satori-bot/src/lib/db.ts rename to integrations/satori-bot/src/lib/db.ts diff --git a/services/satori-bot/src/lib/schema.ts b/integrations/satori-bot/src/lib/schema.ts similarity index 100% rename from services/satori-bot/src/lib/schema.ts rename to integrations/satori-bot/src/lib/schema.ts diff --git a/services/satori-bot/todolist.md b/integrations/satori-bot/todolist.md similarity index 100% rename from services/satori-bot/todolist.md rename to integrations/satori-bot/todolist.md diff --git a/services/satori-bot/tsconfig.json b/integrations/satori-bot/tsconfig.json similarity index 100% rename from services/satori-bot/tsconfig.json rename to integrations/satori-bot/tsconfig.json diff --git a/services/telegram-bot/.env b/integrations/telegram-bot/.env similarity index 100% rename from services/telegram-bot/.env rename to integrations/telegram-bot/.env diff --git a/services/telegram-bot/README.md b/integrations/telegram-bot/README.md similarity index 98% rename from services/telegram-bot/README.md rename to integrations/telegram-bot/README.md index 037f50f7d..672be03f1 100644 --- a/services/telegram-bot/README.md +++ b/integrations/telegram-bot/README.md @@ -22,7 +22,7 @@ ollama pull nomic-embed-text Create a `.env.local` file: ```shell -cd services/telegram-bot +cd integrations/telegram-bot cp .env .env.local ``` diff --git a/services/telegram-bot/deploy/grafana/dashboards/.gitkeep b/integrations/telegram-bot/deploy/grafana/dashboards/.gitkeep similarity index 100% rename from services/telegram-bot/deploy/grafana/dashboards/.gitkeep rename to integrations/telegram-bot/deploy/grafana/dashboards/.gitkeep diff --git a/services/telegram-bot/deploy/grafana/datasources/.gitkeep b/integrations/telegram-bot/deploy/grafana/datasources/.gitkeep similarity index 100% rename from services/telegram-bot/deploy/grafana/datasources/.gitkeep rename to integrations/telegram-bot/deploy/grafana/datasources/.gitkeep diff --git a/services/telegram-bot/deploy/grafana/datasources/datasource-prometheus.yaml b/integrations/telegram-bot/deploy/grafana/datasources/datasource-prometheus.yaml similarity index 100% rename from services/telegram-bot/deploy/grafana/datasources/datasource-prometheus.yaml rename to integrations/telegram-bot/deploy/grafana/datasources/datasource-prometheus.yaml diff --git a/services/telegram-bot/deploy/grafana/datasources/datasource-tempo.yaml b/integrations/telegram-bot/deploy/grafana/datasources/datasource-tempo.yaml similarity index 100% rename from services/telegram-bot/deploy/grafana/datasources/datasource-tempo.yaml rename to integrations/telegram-bot/deploy/grafana/datasources/datasource-tempo.yaml diff --git a/services/telegram-bot/deploy/otel-collector/collector-config.yaml b/integrations/telegram-bot/deploy/otel-collector/collector-config.yaml similarity index 100% rename from services/telegram-bot/deploy/otel-collector/collector-config.yaml rename to integrations/telegram-bot/deploy/otel-collector/collector-config.yaml diff --git a/services/telegram-bot/deploy/prometheus/prometheus.yml b/integrations/telegram-bot/deploy/prometheus/prometheus.yml similarity index 100% rename from services/telegram-bot/deploy/prometheus/prometheus.yml rename to integrations/telegram-bot/deploy/prometheus/prometheus.yml diff --git a/services/telegram-bot/deploy/tempo/tempo.yaml b/integrations/telegram-bot/deploy/tempo/tempo.yaml similarity index 100% rename from services/telegram-bot/deploy/tempo/tempo.yaml rename to integrations/telegram-bot/deploy/tempo/tempo.yaml diff --git a/services/telegram-bot/docker-compose.yaml b/integrations/telegram-bot/docker-compose.yaml similarity index 100% rename from services/telegram-bot/docker-compose.yaml rename to integrations/telegram-bot/docker-compose.yaml diff --git a/services/telegram-bot/drizzle.config.ts b/integrations/telegram-bot/drizzle.config.ts similarity index 100% rename from services/telegram-bot/drizzle.config.ts rename to integrations/telegram-bot/drizzle.config.ts diff --git a/services/telegram-bot/drizzle/0000_harsh_king_cobra.sql b/integrations/telegram-bot/drizzle/0000_harsh_king_cobra.sql similarity index 100% rename from services/telegram-bot/drizzle/0000_harsh_king_cobra.sql rename to integrations/telegram-bot/drizzle/0000_harsh_king_cobra.sql diff --git a/services/telegram-bot/drizzle/0001_next_talkback.sql b/integrations/telegram-bot/drizzle/0001_next_talkback.sql similarity index 100% rename from services/telegram-bot/drizzle/0001_next_talkback.sql rename to integrations/telegram-bot/drizzle/0001_next_talkback.sql diff --git a/services/telegram-bot/drizzle/0002_calm_magdalene.sql b/integrations/telegram-bot/drizzle/0002_calm_magdalene.sql similarity index 100% rename from services/telegram-bot/drizzle/0002_calm_magdalene.sql rename to integrations/telegram-bot/drizzle/0002_calm_magdalene.sql diff --git a/services/telegram-bot/drizzle/0003_black_warbird.sql b/integrations/telegram-bot/drizzle/0003_black_warbird.sql similarity index 100% rename from services/telegram-bot/drizzle/0003_black_warbird.sql rename to integrations/telegram-bot/drizzle/0003_black_warbird.sql diff --git a/services/telegram-bot/drizzle/0004_complete_gravity.sql b/integrations/telegram-bot/drizzle/0004_complete_gravity.sql similarity index 100% rename from services/telegram-bot/drizzle/0004_complete_gravity.sql rename to integrations/telegram-bot/drizzle/0004_complete_gravity.sql diff --git a/services/telegram-bot/drizzle/0005_workable_shockwave.sql b/integrations/telegram-bot/drizzle/0005_workable_shockwave.sql similarity index 100% rename from services/telegram-bot/drizzle/0005_workable_shockwave.sql rename to integrations/telegram-bot/drizzle/0005_workable_shockwave.sql diff --git a/services/telegram-bot/drizzle/meta/0000_snapshot.json b/integrations/telegram-bot/drizzle/meta/0000_snapshot.json similarity index 100% rename from services/telegram-bot/drizzle/meta/0000_snapshot.json rename to integrations/telegram-bot/drizzle/meta/0000_snapshot.json diff --git a/services/telegram-bot/drizzle/meta/0001_snapshot.json b/integrations/telegram-bot/drizzle/meta/0001_snapshot.json similarity index 100% rename from services/telegram-bot/drizzle/meta/0001_snapshot.json rename to integrations/telegram-bot/drizzle/meta/0001_snapshot.json diff --git a/services/telegram-bot/drizzle/meta/0002_snapshot.json b/integrations/telegram-bot/drizzle/meta/0002_snapshot.json similarity index 100% rename from services/telegram-bot/drizzle/meta/0002_snapshot.json rename to integrations/telegram-bot/drizzle/meta/0002_snapshot.json diff --git a/services/telegram-bot/drizzle/meta/0003_snapshot.json b/integrations/telegram-bot/drizzle/meta/0003_snapshot.json similarity index 100% rename from services/telegram-bot/drizzle/meta/0003_snapshot.json rename to integrations/telegram-bot/drizzle/meta/0003_snapshot.json diff --git a/services/telegram-bot/drizzle/meta/0004_snapshot.json b/integrations/telegram-bot/drizzle/meta/0004_snapshot.json similarity index 100% rename from services/telegram-bot/drizzle/meta/0004_snapshot.json rename to integrations/telegram-bot/drizzle/meta/0004_snapshot.json diff --git a/services/telegram-bot/drizzle/meta/0005_snapshot.json b/integrations/telegram-bot/drizzle/meta/0005_snapshot.json similarity index 100% rename from services/telegram-bot/drizzle/meta/0005_snapshot.json rename to integrations/telegram-bot/drizzle/meta/0005_snapshot.json diff --git a/services/telegram-bot/drizzle/meta/_journal.json b/integrations/telegram-bot/drizzle/meta/_journal.json similarity index 100% rename from services/telegram-bot/drizzle/meta/_journal.json rename to integrations/telegram-bot/drizzle/meta/_journal.json diff --git a/services/telegram-bot/package.json b/integrations/telegram-bot/package.json similarity index 97% rename from services/telegram-bot/package.json rename to integrations/telegram-bot/package.json index 1affa07b1..33996f78d 100644 --- a/services/telegram-bot/package.json +++ b/integrations/telegram-bot/package.json @@ -12,7 +12,7 @@ "repository": { "type": "git", "url": "https://github.com/moeru-ai/airi.git", - "directory": "services/telegram-bot" + "directory": "integrations/telegram-bot" }, "scripts": { "start": "tsx --env-file=.env --env-file-if-exists=.env.local --max-old-space-size=8192 src/index.ts", diff --git a/services/telegram-bot/scripts/embed-all-chat-messages.ts b/integrations/telegram-bot/scripts/embed-all-chat-messages.ts similarity index 100% rename from services/telegram-bot/scripts/embed-all-chat-messages.ts rename to integrations/telegram-bot/scripts/embed-all-chat-messages.ts diff --git a/services/telegram-bot/sql/init.sql b/integrations/telegram-bot/sql/init.sql similarity index 100% rename from services/telegram-bot/sql/init.sql rename to integrations/telegram-bot/sql/init.sql diff --git a/services/telegram-bot/src/bots/telegram/agent/actions/read-message.ts b/integrations/telegram-bot/src/bots/telegram/agent/actions/read-message.ts similarity index 100% rename from services/telegram-bot/src/bots/telegram/agent/actions/read-message.ts rename to integrations/telegram-bot/src/bots/telegram/agent/actions/read-message.ts diff --git a/services/telegram-bot/src/bots/telegram/agent/actions/send-message.test.ts b/integrations/telegram-bot/src/bots/telegram/agent/actions/send-message.test.ts similarity index 100% rename from services/telegram-bot/src/bots/telegram/agent/actions/send-message.test.ts rename to integrations/telegram-bot/src/bots/telegram/agent/actions/send-message.test.ts diff --git a/services/telegram-bot/src/bots/telegram/agent/actions/send-message.ts b/integrations/telegram-bot/src/bots/telegram/agent/actions/send-message.ts similarity index 100% rename from services/telegram-bot/src/bots/telegram/agent/actions/send-message.ts rename to integrations/telegram-bot/src/bots/telegram/agent/actions/send-message.ts diff --git a/services/telegram-bot/src/bots/telegram/agent/attention-handler.ts b/integrations/telegram-bot/src/bots/telegram/agent/attention-handler.ts similarity index 100% rename from services/telegram-bot/src/bots/telegram/agent/attention-handler.ts rename to integrations/telegram-bot/src/bots/telegram/agent/attention-handler.ts diff --git a/services/telegram-bot/src/bots/telegram/agent/interruption.ts b/integrations/telegram-bot/src/bots/telegram/agent/interruption.ts similarity index 100% rename from services/telegram-bot/src/bots/telegram/agent/interruption.ts rename to integrations/telegram-bot/src/bots/telegram/agent/interruption.ts diff --git a/services/telegram-bot/src/bots/telegram/index.ts b/integrations/telegram-bot/src/bots/telegram/index.ts similarity index 100% rename from services/telegram-bot/src/bots/telegram/index.ts rename to integrations/telegram-bot/src/bots/telegram/index.ts diff --git a/services/telegram-bot/src/db/index.ts b/integrations/telegram-bot/src/db/index.ts similarity index 100% rename from services/telegram-bot/src/db/index.ts rename to integrations/telegram-bot/src/db/index.ts diff --git a/services/telegram-bot/src/db/schema.ts b/integrations/telegram-bot/src/db/schema.ts similarity index 100% rename from services/telegram-bot/src/db/schema.ts rename to integrations/telegram-bot/src/db/schema.ts diff --git a/services/telegram-bot/src/index.ts b/integrations/telegram-bot/src/index.ts similarity index 100% rename from services/telegram-bot/src/index.ts rename to integrations/telegram-bot/src/index.ts diff --git a/services/telegram-bot/src/llm/actions.ts b/integrations/telegram-bot/src/llm/actions.ts similarity index 100% rename from services/telegram-bot/src/llm/actions.ts rename to integrations/telegram-bot/src/llm/actions.ts diff --git a/services/telegram-bot/src/llm/animated-sticker.ts b/integrations/telegram-bot/src/llm/animated-sticker.ts similarity index 100% rename from services/telegram-bot/src/llm/animated-sticker.ts rename to integrations/telegram-bot/src/llm/animated-sticker.ts diff --git a/services/telegram-bot/src/llm/image.ts b/integrations/telegram-bot/src/llm/image.ts similarity index 100% rename from services/telegram-bot/src/llm/image.ts rename to integrations/telegram-bot/src/llm/image.ts diff --git a/services/telegram-bot/src/llm/index.ts b/integrations/telegram-bot/src/llm/index.ts similarity index 100% rename from services/telegram-bot/src/llm/index.ts rename to integrations/telegram-bot/src/llm/index.ts diff --git a/services/telegram-bot/src/llm/photo.ts b/integrations/telegram-bot/src/llm/photo.ts similarity index 100% rename from services/telegram-bot/src/llm/photo.ts rename to integrations/telegram-bot/src/llm/photo.ts diff --git a/services/telegram-bot/src/llm/sticker.ts b/integrations/telegram-bot/src/llm/sticker.ts similarity index 100% rename from services/telegram-bot/src/llm/sticker.ts rename to integrations/telegram-bot/src/llm/sticker.ts diff --git a/services/telegram-bot/src/models/chat-completions-history.ts b/integrations/telegram-bot/src/models/chat-completions-history.ts similarity index 100% rename from services/telegram-bot/src/models/chat-completions-history.ts rename to integrations/telegram-bot/src/models/chat-completions-history.ts diff --git a/services/telegram-bot/src/models/chat-message.ts b/integrations/telegram-bot/src/models/chat-message.ts similarity index 100% rename from services/telegram-bot/src/models/chat-message.ts rename to integrations/telegram-bot/src/models/chat-message.ts diff --git a/services/telegram-bot/src/models/chats.ts b/integrations/telegram-bot/src/models/chats.ts similarity index 100% rename from services/telegram-bot/src/models/chats.ts rename to integrations/telegram-bot/src/models/chats.ts diff --git a/services/telegram-bot/src/models/common.ts b/integrations/telegram-bot/src/models/common.ts similarity index 100% rename from services/telegram-bot/src/models/common.ts rename to integrations/telegram-bot/src/models/common.ts diff --git a/services/telegram-bot/src/models/index.ts b/integrations/telegram-bot/src/models/index.ts similarity index 100% rename from services/telegram-bot/src/models/index.ts rename to integrations/telegram-bot/src/models/index.ts diff --git a/services/telegram-bot/src/models/photos.ts b/integrations/telegram-bot/src/models/photos.ts similarity index 100% rename from services/telegram-bot/src/models/photos.ts rename to integrations/telegram-bot/src/models/photos.ts diff --git a/services/telegram-bot/src/models/sticker-packs.ts b/integrations/telegram-bot/src/models/sticker-packs.ts similarity index 100% rename from services/telegram-bot/src/models/sticker-packs.ts rename to integrations/telegram-bot/src/models/sticker-packs.ts diff --git a/services/telegram-bot/src/models/stickers.ts b/integrations/telegram-bot/src/models/stickers.ts similarity index 100% rename from services/telegram-bot/src/models/stickers.ts rename to integrations/telegram-bot/src/models/stickers.ts diff --git a/services/telegram-bot/src/prompts/action-gen.velin.md b/integrations/telegram-bot/src/prompts/action-gen.velin.md similarity index 100% rename from services/telegram-bot/src/prompts/action-gen.velin.md rename to integrations/telegram-bot/src/prompts/action-gen.velin.md diff --git a/services/telegram-bot/src/prompts/action-read-messages.velin.md b/integrations/telegram-bot/src/prompts/action-read-messages.velin.md similarity index 100% rename from services/telegram-bot/src/prompts/action-read-messages.velin.md rename to integrations/telegram-bot/src/prompts/action-read-messages.velin.md diff --git a/services/telegram-bot/src/prompts/index.ts b/integrations/telegram-bot/src/prompts/index.ts similarity index 100% rename from services/telegram-bot/src/prompts/index.ts rename to integrations/telegram-bot/src/prompts/index.ts diff --git a/services/telegram-bot/src/prompts/message-split-v1.velin.md b/integrations/telegram-bot/src/prompts/message-split-v1.velin.md similarity index 100% rename from services/telegram-bot/src/prompts/message-split-v1.velin.md rename to integrations/telegram-bot/src/prompts/message-split-v1.velin.md diff --git a/services/telegram-bot/src/prompts/personality-v1.velin.md b/integrations/telegram-bot/src/prompts/personality-v1.velin.md similarity index 100% rename from services/telegram-bot/src/prompts/personality-v1.velin.md rename to integrations/telegram-bot/src/prompts/personality-v1.velin.md diff --git a/services/telegram-bot/src/prompts/system-ticking-v1.velin.md b/integrations/telegram-bot/src/prompts/system-ticking-v1.velin.md similarity index 100% rename from services/telegram-bot/src/prompts/system-ticking-v1.velin.md rename to integrations/telegram-bot/src/prompts/system-ticking-v1.velin.md diff --git a/services/telegram-bot/src/prompts/utils.ts b/integrations/telegram-bot/src/prompts/utils.ts similarity index 100% rename from services/telegram-bot/src/prompts/utils.ts rename to integrations/telegram-bot/src/prompts/utils.ts diff --git a/services/telegram-bot/src/types.ts b/integrations/telegram-bot/src/types.ts similarity index 100% rename from services/telegram-bot/src/types.ts rename to integrations/telegram-bot/src/types.ts diff --git a/services/telegram-bot/src/utils/path.ts b/integrations/telegram-bot/src/utils/path.ts similarity index 100% rename from services/telegram-bot/src/utils/path.ts rename to integrations/telegram-bot/src/utils/path.ts diff --git a/services/telegram-bot/src/utils/promise.ts b/integrations/telegram-bot/src/utils/promise.ts similarity index 100% rename from services/telegram-bot/src/utils/promise.ts rename to integrations/telegram-bot/src/utils/promise.ts diff --git a/services/telegram-bot/src/utils/velin.ts b/integrations/telegram-bot/src/utils/velin.ts similarity index 100% rename from services/telegram-bot/src/utils/velin.ts rename to integrations/telegram-bot/src/utils/velin.ts diff --git a/services/telegram-bot/tsconfig.json b/integrations/telegram-bot/tsconfig.json similarity index 100% rename from services/telegram-bot/tsconfig.json rename to integrations/telegram-bot/tsconfig.json diff --git a/services/telegram-bot/vitest.config.ts b/integrations/telegram-bot/vitest.config.ts similarity index 100% rename from services/telegram-bot/vitest.config.ts rename to integrations/telegram-bot/vitest.config.ts diff --git a/services/twitter-services/.env.example b/integrations/twitter-services/.env.example similarity index 100% rename from services/twitter-services/.env.example rename to integrations/twitter-services/.env.example diff --git a/services/twitter-services/docs/architecture-20250304.md b/integrations/twitter-services/docs/architecture-20250304.md similarity index 100% rename from services/twitter-services/docs/architecture-20250304.md rename to integrations/twitter-services/docs/architecture-20250304.md diff --git a/services/twitter-services/package.json b/integrations/twitter-services/package.json similarity index 100% rename from services/twitter-services/package.json rename to integrations/twitter-services/package.json diff --git a/services/twitter-services/src/adapters/adapter.ts b/integrations/twitter-services/src/adapters/adapter.ts similarity index 100% rename from services/twitter-services/src/adapters/adapter.ts rename to integrations/twitter-services/src/adapters/adapter.ts diff --git a/services/twitter-services/src/adapters/airi-adapter.ts b/integrations/twitter-services/src/adapters/airi-adapter.ts similarity index 100% rename from services/twitter-services/src/adapters/airi-adapter.ts rename to integrations/twitter-services/src/adapters/airi-adapter.ts diff --git a/services/twitter-services/src/adapters/mcp-adapter.ts b/integrations/twitter-services/src/adapters/mcp-adapter.ts similarity index 100% rename from services/twitter-services/src/adapters/mcp-adapter.ts rename to integrations/twitter-services/src/adapters/mcp-adapter.ts diff --git a/services/twitter-services/src/config/index.ts b/integrations/twitter-services/src/config/index.ts similarity index 100% rename from services/twitter-services/src/config/index.ts rename to integrations/twitter-services/src/config/index.ts diff --git a/services/twitter-services/src/config/types.ts b/integrations/twitter-services/src/config/types.ts similarity index 100% rename from services/twitter-services/src/config/types.ts rename to integrations/twitter-services/src/config/types.ts diff --git a/services/twitter-services/src/constants.ts b/integrations/twitter-services/src/constants.ts similarity index 100% rename from services/twitter-services/src/constants.ts rename to integrations/twitter-services/src/constants.ts diff --git a/services/twitter-services/src/core/browser/context.ts b/integrations/twitter-services/src/core/browser/context.ts similarity index 100% rename from services/twitter-services/src/core/browser/context.ts rename to integrations/twitter-services/src/core/browser/context.ts diff --git a/services/twitter-services/src/core/services/auth.ts b/integrations/twitter-services/src/core/services/auth.ts similarity index 100% rename from services/twitter-services/src/core/services/auth.ts rename to integrations/twitter-services/src/core/services/auth.ts diff --git a/services/twitter-services/src/core/services/timeline.ts b/integrations/twitter-services/src/core/services/timeline.ts similarity index 100% rename from services/twitter-services/src/core/services/timeline.ts rename to integrations/twitter-services/src/core/services/timeline.ts diff --git a/services/twitter-services/src/core/services/tweet.ts b/integrations/twitter-services/src/core/services/tweet.ts similarity index 100% rename from services/twitter-services/src/core/services/tweet.ts rename to integrations/twitter-services/src/core/services/tweet.ts diff --git a/services/twitter-services/src/core/services/user.ts b/integrations/twitter-services/src/core/services/user.ts similarity index 100% rename from services/twitter-services/src/core/services/user.ts rename to integrations/twitter-services/src/core/services/user.ts diff --git a/services/twitter-services/src/core/utils/scroll-helper.ts b/integrations/twitter-services/src/core/utils/scroll-helper.ts similarity index 100% rename from services/twitter-services/src/core/utils/scroll-helper.ts rename to integrations/twitter-services/src/core/utils/scroll-helper.ts diff --git a/services/twitter-services/src/main.ts b/integrations/twitter-services/src/main.ts similarity index 100% rename from services/twitter-services/src/main.ts rename to integrations/twitter-services/src/main.ts diff --git a/services/twitter-services/src/parsers/command-parser.test.ts b/integrations/twitter-services/src/parsers/command-parser.test.ts similarity index 100% rename from services/twitter-services/src/parsers/command-parser.test.ts rename to integrations/twitter-services/src/parsers/command-parser.test.ts diff --git a/services/twitter-services/src/parsers/command-parser.ts b/integrations/twitter-services/src/parsers/command-parser.ts similarity index 100% rename from services/twitter-services/src/parsers/command-parser.ts rename to integrations/twitter-services/src/parsers/command-parser.ts diff --git a/services/twitter-services/src/parsers/profile-parser.ts b/integrations/twitter-services/src/parsers/profile-parser.ts similarity index 100% rename from services/twitter-services/src/parsers/profile-parser.ts rename to integrations/twitter-services/src/parsers/profile-parser.ts diff --git a/services/twitter-services/src/parsers/selectors.ts b/integrations/twitter-services/src/parsers/selectors.ts similarity index 100% rename from services/twitter-services/src/parsers/selectors.ts rename to integrations/twitter-services/src/parsers/selectors.ts diff --git a/services/twitter-services/src/parsers/tweet-parser.ts b/integrations/twitter-services/src/parsers/tweet-parser.ts similarity index 100% rename from services/twitter-services/src/parsers/tweet-parser.ts rename to integrations/twitter-services/src/parsers/tweet-parser.ts diff --git a/services/twitter-services/src/types/browser.ts b/integrations/twitter-services/src/types/browser.ts similarity index 100% rename from services/twitter-services/src/types/browser.ts rename to integrations/twitter-services/src/types/browser.ts diff --git a/services/twitter-services/src/types/services.ts b/integrations/twitter-services/src/types/services.ts similarity index 100% rename from services/twitter-services/src/types/services.ts rename to integrations/twitter-services/src/types/services.ts diff --git a/services/twitter-services/src/types/twitter.ts b/integrations/twitter-services/src/types/twitter.ts similarity index 100% rename from services/twitter-services/src/types/twitter.ts rename to integrations/twitter-services/src/types/twitter.ts diff --git a/services/twitter-services/src/utils/error.ts b/integrations/twitter-services/src/utils/error.ts similarity index 100% rename from services/twitter-services/src/utils/error.ts rename to integrations/twitter-services/src/utils/error.ts diff --git a/services/twitter-services/src/utils/logger.ts b/integrations/twitter-services/src/utils/logger.ts similarity index 100% rename from services/twitter-services/src/utils/logger.ts rename to integrations/twitter-services/src/utils/logger.ts diff --git a/services/twitter-services/tsconfig.json b/integrations/twitter-services/tsconfig.json similarity index 100% rename from services/twitter-services/tsconfig.json rename to integrations/twitter-services/tsconfig.json diff --git a/package.json b/package.json index 9acade93a..1c285b9c4 100644 --- a/package.json +++ b/package.json @@ -98,6 +98,7 @@ "workspaces": [ "packages/**", "plugins/**", + "integrations/**", "services/**", "examples/**", "docs/**", diff --git a/packages/stage-ui/package.json b/packages/stage-ui/package.json index de0ad79c3..65d01458a 100644 --- a/packages/stage-ui/package.json +++ b/packages/stage-ui/package.json @@ -187,6 +187,7 @@ "@iconify-json/vscode-icons": "catalog:", "@moeru/std": "catalog:", "@pinia/testing": "catalog:", + "@proj-airi/api-server": "workspace:*", "@proj-airi/lobe-icons": "catalog:", "@proj-airi/stream-kit": "workspace:*", "@types/audioworklet": "catalog:", diff --git a/packages/stage-ui/src/components/modules/GamingMinecraft.vue b/packages/stage-ui/src/components/modules/GamingMinecraft.vue index 183efb78c..ca99bdeba 100644 --- a/packages/stage-ui/src/components/modules/GamingMinecraft.vue +++ b/packages/stage-ui/src/components/modules/GamingMinecraft.vue @@ -69,7 +69,7 @@ onMounted(() => {

{{ t('settings.pages.modules.gaming-minecraft.setup.description') }}

- services/minecraft/README.md + integrations/minecraft/README.md
diff --git a/packages/stage-ui/src/composables/api.ts b/packages/stage-ui/src/composables/api.ts index 806b8c74c..bc91cfeb4 100644 --- a/packages/stage-ui/src/composables/api.ts +++ b/packages/stage-ui/src/composables/api.ts @@ -1,4 +1,4 @@ -import type { AppType } from '../../../../server/apps/api/src/app' +import type { AppType } from '@proj-airi/api-server/app-type' import { hc } from 'hono/client' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 631bdb691..6fcd13bc9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4380,6 +4380,9 @@ importers: '@pinia/testing': specifier: 'catalog:' version: 1.0.3(pinia@3.0.4(typescript@5.9.3)(vue@3.5.32(typescript@5.9.3))) + '@proj-airi/api-server': + specifier: workspace:* + version: link:../../server/apps/api '@proj-airi/lobe-icons': specifier: 'catalog:' version: 1.0.19 @@ -5105,7 +5108,7 @@ importers: specifier: 'catalog:' version: 8.18.1 - services/discord-bot: + integrations/discord-bot: dependencies: '@discordjs/voice': specifier: 'catalog:' @@ -5159,7 +5162,7 @@ importers: specifier: 'catalog:' version: 11.0.0 - services/minecraft: + integrations/minecraft: dependencies: '@guiiai/logg': specifier: 'catalog:' @@ -5268,7 +5271,7 @@ importers: specifier: 'catalog:' version: 8.18.1 - services/satori-bot: + integrations/satori-bot: dependencies: '@electric-sql/pglite': specifier: 'catalog:' @@ -5317,7 +5320,7 @@ importers: specifier: 'catalog:' version: 0.31.10 - services/telegram-bot: + integrations/telegram-bot: dependencies: '@dotenvx/dotenvx': specifier: 'catalog:' @@ -5429,7 +5432,7 @@ importers: specifier: 'catalog:' version: 4.21.0 - services/twitter-services: + integrations/twitter-services: dependencies: '@guiiai/logg': specifier: 'catalog:' diff --git a/server/apps/api/package.json b/server/apps/api/package.json index d8baa15e6..d46d69510 100644 --- a/server/apps/api/package.json +++ b/server/apps/api/package.json @@ -3,6 +3,9 @@ "type": "module", "version": "0.11.3", "private": true, + "exports": { + "./app-type": "./src/app-type.ts" + }, "scripts": { "apply:env": "dotenvx run -f .env.local --overload --ignore=MISSING_ENV_FILE", "auth:generate": "pnpm run apply:env -- better-auth generate --config src/scripts/auth.ts --output src/schemas/accounts.ts -y", diff --git a/server/apps/api/src/app-type.ts b/server/apps/api/src/app-type.ts new file mode 100644 index 000000000..4c8ae2a22 --- /dev/null +++ b/server/apps/api/src/app-type.ts @@ -0,0 +1 @@ +export type { AppType } from './app' diff --git a/services/computer-use-mcp/README.md b/services/computer-use-mcp/README.md index ab70994ff..f9740cdbc 100644 --- a/services/computer-use-mcp/README.md +++ b/services/computer-use-mcp/README.md @@ -323,7 +323,7 @@ Good first demos: For a management-readable AIRI demo, the Discord settings flow is more representative than a generic hello-world reply: -1. start AIRI desktop and `services/discord-bot` +1. start AIRI desktop and `integrations/discord-bot` 2. open `/settings/modules/messaging-discord` 3. enable the module and save settings 4. verify that the Discord bot receives the forwarded config from AIRI and reconnects itself diff --git a/services/satori-bot/data/db.json b/services/satori-bot/data/db.json deleted file mode 100644 index 2a1e6f8b7..000000000 --- a/services/satori-bot/data/db.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "channels": [], - "messages": [] -}