chore: prune unused apps and services for the moeka fork
CI / Lint (push) Canceled after 0s
CI / Build Test (stage-web) (push) Canceled after 0s
CI / Build Test (ui-loading-screens) (push) Canceled after 0s
CI / Build Test (ui-transitions) (push) Canceled after 0s
CI / Unit Test (push) Canceled after 0s
CI / Type Check (push) Canceled after 0s
CI / Check Provenance (push) Canceled after 0s
Sync Labels / sync-labels (push) Successful in 1m43s

- Remove stage-tamagotchi, stage-pocket, server, and engine workspaces with their workflows, addons, and docs
- Switch the toolchain from pnpm to bun, replace lockfiles with bun.lock
- Rewrite remaining product references to Moeka
This commit is contained in:
2026-09-14 16:40:49 +07:00
parent 00c6867b7f
commit dc26878386
1981 changed files with 10974 additions and 260677 deletions
@@ -10,7 +10,7 @@ export function useAdapter() {
async function initAdapters(config: Config, ctx: Context): Promise<{ airi?: AiriAdapter, mcp?: MCPAdapter }> {
if (config.adapters.airi?.enabled) {
logger.main.log('Starting Airi adapter...')
logger.main.log('Starting Moeka adapter...')
const { AiriAdapter } = await import('./airi-adapter')
adapters.airi = new AiriAdapter(ctx, {
@@ -20,7 +20,7 @@ export function useAdapter() {
})
await adapters.airi.start()
logger.main.log('Airi adapter started')
logger.main.log('Moeka adapter started')
}
if (config.adapters.mcp?.enabled) {
@@ -5,8 +5,8 @@ import type { TwitterServices } from '../types/services'
import * as fs from 'node:fs/promises'
/**
* Airi Adapter
* Adapts the X service as an Airi module
* Moeka Adapter
* Adapts the X service as an Moeka module
*/
import { Client } from '@proj-airi/server-sdk'
@@ -112,9 +112,9 @@ export class AiriAdapter {
}
})
// Handle input from AIRI system
// Handle input from Moeka system
this.client.onEvent('input:text', async (event) => {
logger.main.log('Received input from AIRI system:', event.data.text)
logger.main.log('Received input from Moeka system:', event.data.text)
// Process Twitter-related commands
await this.handleInput(event.data.text)
})
@@ -122,7 +122,7 @@ export class AiriAdapter {
// Handle authentication
this.client.onEvent('module:authenticated', async (event) => {
if (event.data.authenticated) {
logger.main.log('X module authenticated with AIRI server')
logger.main.log('X module authenticated with Moeka server')
}
else {
logger.main.warn('X module authentication failed')
@@ -283,31 +283,31 @@ ${tweets.map((t: Tweet) => `- ${t.author.displayName}: ${t.text.substring(0, 80)
}
/**
* Start the AiriAdapter and connect to the AIRI server
* Start the AiriAdapter and connect to the Moeka server
*/
async start(): Promise<void> {
logger.main.log('Starting Airi adapter for X...')
logger.main.log('Starting Moeka adapter for X...')
try {
await this.client.connect()
logger.main.log('Airi adapter for X started successfully')
logger.main.log('Moeka adapter for X started successfully')
}
catch (error) {
logger.main.errorWithError('Failed to start Airi adapter for X:', error)
logger.main.errorWithError('Failed to start Moeka adapter for X:', error)
throw error
}
}
/**
* Stop the AiriAdapter and disconnect from the AIRI server
* Stop the AiriAdapter and disconnect from the Moeka server
*/
async stop(): Promise<void> {
logger.main.log('Stopping Airi adapter for X...')
logger.main.log('Stopping Moeka adapter for X...')
try {
this.client.close()
logger.main.log('Airi adapter for X stopped')
logger.main.log('Moeka adapter for X stopped')
}
catch (error) {
logger.main.errorWithError('Error stopping Airi adapter for X:', error)
logger.main.errorWithError('Error stopping Moeka adapter for X:', error)
throw error
}
}