4206 Commits
Author SHA1 Message Date
0xSelenicDove 38f7460558 fix(stage-tamagotchi): refresh chats after import (#2088) 2026-07-20 16:10:11 +08:00
Neko Ayaka dbf8124888 release: v0.11.3 v0.11.3 2026-07-19 04:03:59 +08:00
Neko Ayaka 55f080642d fix(stage-ui): incorrect type 2026-07-19 04:03:32 +08:00
Neko Ayaka b43b8944bf release: v0.11.2 v0.11.2 2026-07-18 10:37:13 +08:00
Lee Penkman 3f4011a6e8 feat(stage-ui): add OpenPaths provider (#1980)
Co-authored-by-agent: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-18 03:05:51 +08:00
nb213andbinyangzhu000-sudo e5385e90da feat(stage-ui): add Atlas Cloud provider definition (#2076)
---

Co-authored-by: binyangzhu000-sudo <224954946+binyangzhu000-sudo@users.noreply.github.com>
2026-07-18 03:03:54 +08:00
Ayobami Adegoke 774aed92bb fix(stage-ui): make provider capability checks non-throwing and reset chat model on provider switch (#2078) 2026-07-18 03:03:12 +08:00
0xSelenicDove 337b814ea3 refactor(docs): new structure, provider config update (#1712)
Co-authored-by-agent: Unknown
2026-07-17 18:02:54 +08:00
Lulu f6b1818abd docs(ui-server-auth): fix stale server-dev auth UI domain in README (#2031) 2026-07-17 17:55:53 +08:00
Zyr - AI f0d9f3d3bb fix(stage-ui-live2d): close Live2D mouth after TTS finishes speaking (#2064) 2026-07-17 17:55:31 +08:00
0xSelenicDove 0eb46620a5 feat(stage-tamagotchi): add desktop chat list (#2065) 2026-07-17 17:54:10 +08:00
Ryanba 88c4790770 fix(stage-ui): recover stale stage model selection (#2033) 2026-07-17 17:53:38 +08:00
Ryanba fb2b3f5ce9 fix(stage-pages): add local provider WIP routes (#2045) 2026-07-17 17:53:09 +08:00
jim139129 32c79f6e29 fix(stage-ui): allow retrying canceled mobile login (#2058) 2026-07-17 17:51:15 +08:00
0xSelenicDove 8893ba81a6 fix(*): harden local service boundaries (#2062) 2026-07-17 17:50:50 +08:00
Alan-Yu-2077 f453a967f1 feat(stage-ui): add web search tool so the character can look things up online (#2066)
Co-authored-by-agent: Unknown
2026-07-17 17:49:06 +08:00
Neko Ayaka 089ca99108 release: v0.11.1 v0.11.1 2026-07-17 03:35:49 +08:00
github-actions[bot]Crowdin Botautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
0c2932679c chore(i18n): update translations (#2049)
This PR contains updated translations from Crowdin. Created from [GitHub
Actions](https://github.com/moeru-ai/airi/blob/main/.github/workflows/crowdin-cron-sync.yml).

You can review the source of translations
[here](https://crowdin.com/project/proj-airi)

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-16 19:52:50 +08:00
RainbowBird c74ed2ff7b fix(server): improve ai generation analytics correlation 2026-07-15 19:06:34 +08:00
RainbowBird 3543a60d3c feat(auth): integrate useAuthProviderSync across multiple components and add tests 2026-07-15 17:26:05 +08:00
RainbowBird 73258b5aba feat: align PostHog API host with airi.build 2026-07-14 23:18:49 +08:00
RainbowBird 2e9f9ca435 feat: add llm usage and stripe identity analytics (#2056) 2026-07-14 21:56:47 +08:00
Ryanba 563a738c88 fix(ui): safelist settings entry icons (#2050) 2026-07-13 11:34:20 +08:00
Iro 88983a1611 feat(pipelines-audio): Refine event types and error handling (#2026) 2026-07-13 11:16:26 +08:00
Peter Pan 5b47e8af55 chore: ignore .env files to prevent credential leakage (#2017) 2026-07-13 11:15:42 +08:00
Neko ed664e8107 fix(stage-ui-live2d): normalize Live2D model file references (#2047)
Authored-by-agent: Codex <codex@openai.com>
2026-07-11 23:44:41 +08:00
github-actions[bot]Crowdin Botautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
369208afbe chore(i18n): update translations (#2044)
This PR contains updated translations from Crowdin. Created from [GitHub
Actions](https://github.com/moeru-ai/airi/blob/main/.github/workflows/crowdin-cron-sync.yml).

You can review the source of translations
[here](https://crowdin.com/project/proj-airi)

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-11 15:14:32 +08:00
Lovehsigure_520 9560a26fe2 feat(stage-tamagotchi): reset to center (#1978)
Authored-by-agent: Codex <codex@openai.com>
2026-07-11 00:26:51 +08:00
Lovehsigure_520 5e8bf75601 fix(stage-tamagotchi): permission issue (#2002)
---------

Authored-by-agent: Codex <codex@openai.com>
2026-07-11 00:25:57 +08:00
Lovehsigure_520 62a01d83b9 feat(stage-tamagotchi,stage-ui,pipelines-audio): integrate voice input composable into tamagotchi (#2004)
---------

Authored-by-agent: Codex <codex@openai.com>
2026-07-11 00:25:07 +08:00
Lovehsigure_520 78ec4dd8ba fix(ui-server-auth): trust new Go backend origin (#2043)
## Summary
- trust the new Railway Go backend in the standalone Auth UI
- preserve exact-origin validation for untrusted redirects
- document the root cause, delivery plan, and production validation path

## Root cause
The Auth UI rejected
`api_server_url=https://airi-server-next.up.railway.app`, fell back to
the legacy API, and surfaced `Load failed` at the browser CORS boundary.

## Test plan
- focused bootstrap-context tests: 6/6
- complete Auth UI suite: 27/27
- `vue-tsc --noEmit`
- production Vite build
- emitted bundle contains the exact new backend origin
2026-07-10 15:03:10 +00:00
Lovehsigure_520 b787e7d336 fix(stage-tamagotchi): incorrect auth callback state validation (#2042)
Authored-by-agent: Codex
2026-07-10 22:37:38 +08:00
github-actions[bot]Crowdin Botautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
f89a7eb607 chore(i18n): update translations (#2030)
This PR contains updated translations from Crowdin. Created from [GitHub
Actions](https://github.com/moeru-ai/airi/blob/main/.github/workflows/crowdin-cron-sync.yml).

You can review the source of translations
[here](https://crowdin.com/project/proj-airi)

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-10 14:56:42 +08:00
RainbowBird 0e4dc69ec0 fix(analytics): normalize PostHog event semantics (#2041) 2026-07-10 13:54:23 +08:00
Neko 231eccf362 chore(server): update Grafana dashboard layout (#2039)
Authored-by-agent: Codex
2026-07-10 13:40:34 +08:00
jim139129 b0a012905d chore(deps): upgrade claude code (#2040) 2026-07-10 05:35:24 +00:00
LFour e294434a2e chore(nix): update xorg attributes to top-level (#2037)
## Description

Recent updates to `nixpkgs` (unstable) have deprecated the `xorg`
package set in favor of top-level package names. This PR updates the FHS
development shell dependencies in `flake.nix` to eliminate evaluation
warnings when running `nix develop .#fhs`.

**Changes:**
Replaced the deprecated `xorg.*` attributes with their new top-level
names inside the Electron FHS environment:

* `xorg.libX11` $\rightarrow$ `libx11`
* `xorg.libXcomposite` $\rightarrow$ `libxcomposite`
* `xorg.libXdamage` $\rightarrow$ `libxdamage`
* `xorg.libXext` $\rightarrow$ `libxext`
* `xorg.libXfixes` $\rightarrow$ `libxfixes`
* `xorg.libXrandr` $\rightarrow$ `libxrandr`
* `xorg.libxcb` $\rightarrow$ `libxcb`
* `xorg.libXcursor` $\rightarrow$ `libxcursor`
* `xorg.libXi` $\rightarrow$ `libxi`
* `xorg.libXtst` $\rightarrow$ `libxtst`

## Linked Issues

None.

## Additional Context

None.
2026-07-10 01:24:10 +00:00
RainbowBird 0642ede8d1 feat(analytics): expand PostHog coverage and forward server business facts (#2038)
## What

Closes the three structural gaps in AIRI's product analytics: the signup
surface had zero instrumentation, the payment funnel had no terminator
in PostHog, and SPA route changes emitted no pageviews. Also adds
semantic events for character cards, desktop-only features, and
data-maintenance actions.

## User paths

- User signs up / logs in / verifies email / resets password / links
OAuth / deletes account → each step now emits a PostHog event from
`apps/ui-server-auth` (previously fully uninstrumented), with
`identify()` wired on session load so anonymous funnel events merge into
the user person.
- User pays via Stripe → webhook writes `product_events` as before, and
the product-events service now forwards `payment_completed` (plus signup
and subscription lifecycle facts) to PostHog via posthog-node
`captureImmediate`, keyed by the Better Auth user id → the
`checkout_started → payment_completed` funnel closes end-to-end.
Per-request LLM/TTS volume is explicitly not forwarded.
- User navigates between routes in any surface (web / desktop / pocket /
docs) → `$pageview` + `$pageleave` fire per route change via the
posthog-js `defaults: '2025-05-24'` preset in the shared
`posthog.config.ts`.
- User creates / imports / duplicates / edits a ccv3 card, switches
stage background, runs destructive data actions (export / import / clear
chats, reset providers, wipe app data), or uses desktop differentiators
(Spotlight send, widget windows, in-app updater, MCP server management,
pairing QR) → dedicated low-cardinality events.

## Notable decisions

- Server forwarding defaults on: `POSTHOG_PROJECT_KEY` defaults to the
shared browser-safe phc_* project key; set it to an empty string to
disable. Postgres `product_events` remains the source of truth.
- Cross-surface events (`oauth_callback_failed`, account lifecycle)
share one stage vocabulary exported from stage-ui so the two emitters
cannot drift silently.
- Events captured right before full-page navigation use `sendBeacon` so
they survive the redirect (checkout, OAuth consent handoff, login
redirect).
- Removed dead wrappers (`trackSignup`, `trackFirstModelSelected`,
`trackModelChanged`) that duplicated live event streams under second
names.

## How tested

- `pnpm -F @proj-airi/server exec vitest run
src/services/domain/product-events.test.ts` — 6 passed, covering the
forwarding allowlist, the `user_signed_up → signup_completed` mapping,
non-forwarded per-request actions, and a throwing sink not failing the
webhook path nor losing the DB row.
- stage-ui suites (`use-analytics`, `use-linked-accounts`, exports
contract) — 22 passed, including new account/card/data/desktop event
assertions.
- Real transport smoke: posthog-node `captureImmediate` against
`us.i.posthog.com` with the production key resolved in 1380ms (one
`server_forwarding_smoke_test` event left in the project; filter by
event name).
- Browser-tested pageviews: `VITE_ENABLE_POSTHOG=true` dev build, two
`history.pushState` route changes each produced a `$pageview` with
`$pathname`, `navigation_type: pushState`, previous-page dwell time, and
the `surface` super property; batched POST to `us.i.posthog.com/e/`
returned 200. Note: posthog-js drops events from automated browsers
(`navigator.webdriver`) by default — the verification session bypassed
the bot filter locally; production config is untouched.
- Typecheck and lint pass for server, stage-ui, stage-pages, stage-web,
stage-tamagotchi, ui-server-auth.

Full verification record:
`apps/server/docs/ai-context/verifications/posthog-forwarding-and-pageview.md`

## Follow-ups (not in this PR)

- Bot channel usage stats (Discord / Telegram) once they route through
server-runtime counters.
- Main-process desktop events (tray menu, global shortcut fire) need
renderer relay plumbing.
- Confirm `payment_completed` arrives in PostHog after the first real
Stripe payment post-deploy.

https://claude.ai/code/session_01Q1yGavkQ1P41YhTWE4XKex
2026-07-08 15:33:39 +08:00
Dojiandautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> 5aa44aedd3 feat(stage-ui): add character card import and export (#1998)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-08 14:14:43 +08:00
Nekoandgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> de0ff177ad chore: update sponsors svg (#2036)
This PR updates generated SponsorKit assets from the scheduled sponsors
workflow.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-08 04:27:39 +00:00
Neko Ayaka 3779eb6103 release: v0.11.0 v0.11.0 2026-07-08 01:20:12 +08:00
Neko Ayaka c330ad51d4 chore(deps): bump @moeru/eslint-config 2026-07-08 01:19:22 +08:00
RainbowBird 689f02ac4f refactor(posthog): unify project key for all AIRI surfaces and streamline configuration 2026-07-08 00:05:26 +08:00
Neko Ayaka 2fe0ecc0c2 chore: convert eslint config to typescript 2026-07-07 23:57:44 +08:00
Lilia_Chen 7c45aa86bc feat(stage-godot): rim light (#2032)
## Description

Adds the Godot Stage rim light pipeline and development observation
tooling.

- Replaces the old avatar glow-only compositor path with a staged
post-process compositor.
- Adds avatar-scoped edge light, glow, material overlay, and final
colour mapping stages.
- Implements a dev observation adapter for exporting
viewport/render-stage artefacts.
- Adds visual verification tooling and baseline docs for Godot Stage
rendering work.
- Documents the technical art workflow and rendering effect behaviour.
2026-07-07 05:21:15 +08:00
github-actions[bot]Crowdin Botautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
55e850d71a chore(i18n): update translations (#2018)
This PR contains updated translations from Crowdin. Created from [GitHub
Actions](https://github.com/moeru-ai/airi/blob/main/.github/workflows/crowdin-cron-sync.yml).

You can review the source of translations
[here](https://crowdin.com/project/proj-airi)

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-04 23:22:44 +08:00
RainbowBird fb9461e00c fix(turbo): add missing dependency for build task 2026-07-02 02:42:57 +08:00
RainbowBird 63532367a9 chore: remove admin dashboard 2026-07-02 02:22:16 +08:00
RainbowBird c7de38b121 refactor(server): split capability alias admin routes 2026-07-02 01:04:29 +08:00
RainbowBird 281614d396 fix(server): harden provider catalog gating 2026-07-01 23:08:14 +08:00