Commit Graph
198 Commits
Author SHA1 Message Date
286cc33d0e feat(stage-ui): let AIRI see tool failures in LLM context (captureToolErrors + xsai patches) (#1602)
---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Cursor
Co-authored-by-agent: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-08 01:29:17 +08:00
LemonNeko 0cd095b323 feat(stage-pocket): scan qr code to connect to tamagotchi 2026-04-07 19:04:59 +08:00
Neko Ayaka fe139f31cd chore(stage-*): configured https, now dev:web:https or pnpm -F @proj-airi/stage-web dev:https works 2026-04-07 01:39:49 +08:00
Neko Ayaka 7d88e05fa1 feat(vishot-*,scenarios-*): output transformer, avif by default 2026-04-05 00:27:42 +08:00
Neko Ayaka c9dd2cac74 feat(vishot-*,scenarios-*): new packages, and playwright high level abstraction
Co-authored-by-agent: Co-authored-by: Codex <267193182+codex@users.noreply.github.com>
2026-04-04 01:37:57 +08:00
Neko Ayaka 4c9564f4b9 refactor(stage-tamagotchi): with WindowAuthManager 2026-04-03 00:49:10 +08:00
Neko Ayaka 3b76bab2fc feat(stage-*,workspace): added Nunito for default English font, ChillRoundM for CJK font
Close #1317, #1393
2026-04-02 18:31:53 +08:00
RainbowBird d782313464 feat(auth): jwt sign 2026-04-02 17:48:12 +08:00
Neko eb448f6376 feat(devtool-capture-stage-tamagotchi): tool for interacting the electron apps (#1549)
Authored-by-agent: Codex <267193182+codex@users.noreply.github.com>
2026-04-02 15:22:37 +08:00
RainbowBird f1fe161bc0 feat(auth): OIDC (#1531) 2026-04-02 04:24:04 +08:00
Neko Ayaka cb7240fe1d fix(stage-tamagotchi,server-runtime): crossws error in EADDRINUSE not handled 2026-04-02 03:41:22 +08:00
fdeb9561bc feat(minecraft,stage-*): airi integration, isolated-vm plus misc updates (#1371)
* feat(minecraft): contextflow integration

Add AiriBridge to cognitive engine to enable communication with Airi system. Expose `notifyAiri` and `updateAiriContext` functions in JS planner runtime globals for sending notifications and context updates from agent code.

* refactor(minecraft): remove redundant destinations field from airi-bridge

Remove hardcoded `destinations: ['minecraft']` from spark:command, spark:notify, and context:update events as the destination is already implied by the bridge context.

* feat(minecraft): complete AIRI context flow integration

Wire up bidirectional AIRI ↔ Minecraft communication via dedicated
signal channels instead of reusing signal:chat_message.

- Add airi_command and airi_context to PerceptionSignalType
- Route spark:command intents: action/plan/proposal/reroute emit
  signal:airi_command; context intent emits signal:airi_context
- Add inbound context:update listener so AIRI can push context to
  the Minecraft agent
- airi_context signals are injected into conversation history directly
  without triggering a full cognitive cycle
- airi_command events reset the no-action budget (like player chat)
- enterContext/exitContext auto-emit context:update back to AIRI for
  task lifecycle visibility
- Add sendEmit() helper for queued/working/done progress reporting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(minecraft): report bot startup state to AIRI

Send initial context update to AIRI when brain comes online, including
bot username, server address, position, health, game mode, and list of
other online players. Tagged with 'startup' and bot username for
filtering.

* feat(minecraft): manage bot config through airi

* feat(stage-ui): add minecraft service shell

* fix(stage-ui): use applied minecraft config for chat context

* fix(minecraft): fall back on invalid env port

* fix(minecraft): support quoted env values

* fix(minecraft): ignore empty env overrides

* fix(stage-ui): keep minecraft draft during apply

* fix(stage-ui): simplify minecraft heartbeat label

* feat(stage-ui): simplify minecraft settings shell

* fix(minecraft): use registry heartbeat for stage liveness

* chore(minecraft): remove annoying detector decision logging

* fix(minecraft): limit context flow to bot pushes

* fix(minecraft): use workspace server sdk

* fix(stage-ui): replay registry snapshots for late listeners

* chore(minecraft): add todo for explicit stage deregistration

* feat: improve context flow observability

* fix(stage-ui): remove redundant header and callout from settings and context flow pages

* feat(stage-ui): enhance context flow prompt projection UI with readiness indicator

* docs(stage-ui): clarify context flow prompt projection terminology

* fix(stage-ui): add test for clone-safe context snapshots with nested fields

* todo

* fix(minecraft): avoid blocking startup on airi connection

* Remove LLM timeouts from the Minecraft brain

* Remove context boundary system from Minecraft brain

* feat(minecraft): use isolated-vm for JS planner sandbox

* refactor(minecraft): harden planner sandbox defaults

* Remove LLM attempt timeout guard

* [autofix.ci] apply automated fixes

* Fix server runtime shutdown signal handling

* Remove misleading Minecraft integration toggle

* contextflow destination to stage-*

* chore(deps): updated

* Add settings layout route for web devtools

* chore: default to expand context panels

* fix(server-*): should export more types, and for module:announced should ignore self

* refactor(minecraft): better context orchestration, handle module announce, context sync, and more

* feat(stage-ui): not spark command ready

* [autofix.ci] apply automated fixes

* clean up

* refactor: use :class arrays per AGENTS.md styling guidelines

* cleanup bloated tests

* rm more tests

* use errorMessageFrom

* hardcode to reduce bloat

* update setup instructions

* timeout for brain

* remove more bloat

* fix

---------

Co-authored-by-agent: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by-agent: Codex
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Neko Ayaka <neko@ayaka.moe>
2026-04-01 23:33:59 +08:00
Neko Ayaka a9c281c9f2 fix(server-*): added simple message queue for helping selecting consumer
Close #1387
2026-03-29 23:26:29 +08:00
Neko Ayaka 07e43010fe chore: many minor fixes 2026-03-29 15:21:00 +08:00
Neko Ayaka 36b038f315 chore(deps): introduce takumi 2026-03-28 16:08:17 +08:00
RainbowBird ba3d66de86 feat(server-protocol): introduce shared protocol types for AIRI server clients and frontends
- Added package.json for @proj-airi/server-protocol with necessary configurations.
- Implemented chat event types including WireMessage, SendMessagesRequest, and PullMessagesRequest.
- Defined WebSocket event types and structures for better integration with AIRI components.
- Updated server-runtime and server-sdk to utilize the new server-protocol package.
- Refactored imports across various packages to replace server-shared types with server-protocol types.
- Enhanced type definitions and added TypeScript configurations for better development experience.
2026-03-28 02:25:44 +08:00
RainbowBird e24da799d0 fix(server): squash drizzle schema 2026-03-28 02:25:44 +08:00
RainbowBird ef18772798 feat(server): message queue 2026-03-28 02:25:44 +08:00
RainbowBird fc51738209 feat(server): stripe integration and credits system (#1024) 2026-03-28 02:25:44 +08:00
MisakaKumomi 御坂云见 f92b07defb fix: rollback electron version (#1490) 2026-03-27 23:29:23 +08:00
RainbowBird b0576d3b89 chore(deps): move eventa to catalog 2026-03-26 21:45:01 +08:00
RainbowBird 40bd86f668 chore(deps): move drizzle-orm to catalog (#1480) 2026-03-26 20:52:40 +08:00
Neko Ayaka 25b5de179d Revert "chore(deps): replace with unplugin-vue"
This reverts commit 3339daa746.

As unplugin-vue-i18n:

```
[unplugin-vue-i18n]  `@vitejs/plugin-vue` plugin is not found or invalid version. Please install `@vitejs/plugin-vue` v4.3.4 or later version.
```

https://github.com/intlify/bundle-tools/blob/3da4987500bbf9b398b0681852b90470968bdc8c/packages/unplugin-vue-i18n/src/core/resource.ts#L167-L168

it seems they are depending on vite:vue while https://github.com/unplugin/unplugin-vue is different on plugin resolving, yet unplugin-vue seems
lost the track of new version.
2026-03-26 18:10:30 +08:00
Neko Ayaka 3339daa746 chore(deps): replace with unplugin-vue 2026-03-26 17:22:49 +08:00
Neko Ayaka 7313d567d6 chore(deps): bump more dependencies 2026-03-24 09:20:19 +08:00
Neko Ayaka e3f5671f4d chore(deps): bump vite dependencies to solve the build issue 2026-03-24 09:16:25 +08:00
Lilia_Chenandautofix-ci[bot] 9ae795a831 refactor(tamagotchi/stage-*): remove duplicated scene in the setting page for tamagotchi (#1460)
* refactor(tamagotchi): remove setting window duplicate scene

* refactor(tamagotchi): some changes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 03:46:52 +08:00
Neko Ayaka c9552fc14b chore(deps): added oxc-minify as required by rolldown-vite
As asked in workflow run: https://github.com/moeru-ai/airi/actions/runs/23432601462/job/68162515032

> `oxc-minify` is not installed. vitepress requires `oxc-minify` to be installed when rolldown-vite is used. Please run `npm install oxc-minify`.
2026-03-23 18:28:27 +08:00
Neko Ayaka 2c1c15843d chore(deps): try to fix glob al virtual store issue? 2026-03-23 16:51:55 +08:00
Neko Ayaka 2c4ac66b61 chore(stage-ui): lint and timeout constraint 2026-03-23 13:45:59 +08:00
Neko Ayaka ac1de680d0 chore(deps): bump dependencies 2026-03-23 02:15:40 +08:00
Neko Ayaka 2dd2a149b8 feat(stage-tamagotchi): added fundamental vision 2026-03-20 02:27:21 +08:00
Makito b69d968fdd chore(pnpm): add missing peerDeps to fix non-CI typecheck errors mentioned in #1422 2026-03-20 00:43:39 +09:00
Makito e73cdb0aad fix(pnpm): add missing peerDep three for @pmndrs/pointer-events 2026-03-18 15:02:01 +09:00
Makito 4671ceaaae fix(pnpm): add missing peerDeps for stage-ui dependencies 2026-03-17 03:30:12 +09:00
Makito 73d93f7785 fix(pnpm): add missing peerDeps for @huggingface/transformers 2026-03-17 02:51:00 +09:00
Makito 00666ddd43 fix(pnpm): add missing peerDeps for eslint 2026-03-17 02:33:13 +09:00
Makito 338df9b83f fix(pnpm): missing peerDeps for unplugin-vue-i18n 2026-03-17 02:11:53 +09:00
Makito 5f137af6d0 fix(pnpm): skip bundled postinstall script in simple-git-hooks 2026-03-17 01:50:08 +09:00
RainbowBird 15b83b7205 chore(build): enableGlobalVirtualStore 2026-03-16 17:38:11 +08:00
f92db7a70b feat(stage-pocket): add Android target (#1326)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: LemonNeko <self@lemonneko.moe>
2026-03-15 21:46:23 +08:00
LemonNekoandautofix-ci[bot] 589553c0e3 feat(stage-pocket): request permissions onboarding (#1292)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 14:49:39 +08:00
MakitoandNeko Ayaka 68bf3c0d19 fix(stage-tamagotchi): crash on onboarding save by bump electron to v40.8.0, bring back auto-popup (#1246)
---------


Co-authored-by: Neko Ayaka <neko@ayaka.moe>
2026-03-11 04:30:46 +08:00
Neko Ayaka a2da08f2ce fix(stage-tamagotchi): should handle EADDRINUSE, bug of srvx, robust for server channel restart, injeca fix 2026-03-10 23:47:39 +08:00
Neko Ayaka 1deeba7bd9 chore(deps): bump @moeru/eventa 2026-03-10 19:45:37 +08:00
Neko Ayaka f42c56e769 fix(pixi-live2d-display): should ignore items_pinned_to_model.json file 2026-03-10 19:23:35 +08:00
Neko Ayaka a1ff12ced1 feat(stage-tamagotchi): hot-reload i18n during Electron runtime 2026-03-05 03:25:24 +08:00
Makito 9d1eb7c7d6 chore(deps): bump unplugin-fetch to 0.2.2 2026-02-28 14:22:24 +07:00
Neko Ayaka f04e106b13 chore(ci): macOS app code signing 2026-02-26 23:11:59 +08:00
Neko Ayaka 92d87833be chore(deps): bump dependencies 2026-02-26 18:33:52 +08:00