diff --git a/AGENTS.md b/AGENTS.md index a9f0edf03..b9a5675fc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -150,7 +150,7 @@ Concise but detailed reference for contributors working across the `moeru-ai/air ## Readability, Naming, and Comments -- File names: camelCase. +- Use kebab-case for all file names. - Prefer names that rely on the module boundary for context instead of repeating package, product, protocol, or transport prefixes inside every symbol. A well-named module should let exported functions use short action-first names; repeat the larger context only when the symbol crosses a boundary where that context is no longer obvious. - Name functions after the domain operation they perform, not after the implementation layer that happens to contain them. This keeps call sites readable after refactors and avoids names becoming stale when code moves between files. - Avoid names that encode multiple layers of ownership into one symbol. If a name needs several qualifiers to be understandable, reconsider the module boundary or introduce a clearer local concept. diff --git a/apps/stage-pocket/src/main.ts b/apps/stage-pocket/src/main.ts index ea3e71595..584baa7b2 100644 --- a/apps/stage-pocket/src/main.ts +++ b/apps/stage-pocket/src/main.ts @@ -6,6 +6,7 @@ import NProgress from 'nprogress' import { autoAnimatePlugin } from '@formkit/auto-animate/vue' import { isEnvTruthy } from '@proj-airi/stage-shared' +import { trackButtonPlugin } from '@proj-airi/stage-ui/directives/track-button' import { MotionPlugin } from '@vueuse/motion' import { createPinia } from 'pinia' import { setupLayouts } from 'virtual:generated-layouts' @@ -60,6 +61,7 @@ createApp(App) .use(pinia) .use(i18n) .use(Tres) + .use(trackButtonPlugin) .mount('#app') if (import.meta.env.DEV && !import.meta.env.SSR) { diff --git a/apps/stage-tamagotchi/src/renderer/components/stage-islands/controls-island/controls-island-fade-on-hover.vue b/apps/stage-tamagotchi/src/renderer/components/stage-islands/controls-island/controls-island-fade-on-hover.vue index d18f2b0c4..efb9f25b3 100644 --- a/apps/stage-tamagotchi/src/renderer/components/stage-islands/controls-island/controls-island-fade-on-hover.vue +++ b/apps/stage-tamagotchi/src/renderer/components/stage-islands/controls-island/controls-island-fade-on-hover.vue @@ -1,5 +1,6 @@