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
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:
@@ -1,3 +1,3 @@
|
||||
# @proj-airi/airi-plugin-vscode
|
||||
|
||||
Host-side plugin that bridges VS Code context and exposes UI contributions in AIRI.
|
||||
Host-side plugin that bridges VS Code context and exposes UI contributions in Moeka.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"version": "0.12.0-beta.5",
|
||||
"private": true,
|
||||
"description": "AIRI host plugin that bridges VS Code context and UI",
|
||||
"description": "Moeka host plugin that bridges VS Code context and UI",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/moeru-ai/airi.git",
|
||||
@@ -23,7 +23,7 @@
|
||||
"package.json"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "pnpm run build",
|
||||
"dev": "bun run build",
|
||||
"build": "tsdown",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# AIRI VSCode Plugin
|
||||
# Moeka VSCode Plugin
|
||||
|
||||
> Official VSCode extension for AIRI, streaming your current working at stuff back to AIRI.
|
||||
> Official VSCode extension for Moeka, streaming your current working at stuff back to Moeka.
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"publisher": "proj-airi",
|
||||
"name": "vscode-airi",
|
||||
"displayName": "AIRI VSCode adapter",
|
||||
"displayName": "Moeka VSCode adapter",
|
||||
"type": "module",
|
||||
"version": "0.12.0-beta.5",
|
||||
"private": true,
|
||||
"description": "Adapter that connects VSCode into Project AIRI",
|
||||
"description": "Adapter that connects VSCode into Project Moeka",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/moeru-ai/airi.git",
|
||||
@@ -27,24 +27,24 @@
|
||||
"commands": [
|
||||
{
|
||||
"command": "airi-vscode.enable",
|
||||
"title": "AIRI: Enable"
|
||||
"title": "Moeka: Enable"
|
||||
},
|
||||
{
|
||||
"command": "airi-vscode.disable",
|
||||
"title": "AIRI: Disable"
|
||||
"title": "Moeka: Disable"
|
||||
},
|
||||
{
|
||||
"command": "airi-vscode.status",
|
||||
"title": "AIRI: Show Status"
|
||||
"title": "Moeka: Show Status"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"title": "AIRI",
|
||||
"title": "Moeka",
|
||||
"properties": {
|
||||
"airi-vscode.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Enable or disable the AIRI extension"
|
||||
"description": "Enable or disable the Moeka extension"
|
||||
},
|
||||
"airi-vscode.contextLines": {
|
||||
"type": "number",
|
||||
@@ -60,7 +60,7 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "pnpm run update",
|
||||
"prepare": "bun run update",
|
||||
"update": "tsx ./scripts/vscode-ext-gen.ts",
|
||||
"dev": "tsdown --watch",
|
||||
"build": "tsdown",
|
||||
|
||||
@@ -13,11 +13,11 @@ export class Client {
|
||||
try {
|
||||
this.client = new ServerClient<Events>({ name: 'proj-airi:plugin-vscode' })
|
||||
await this.client.connect()
|
||||
useLogger().log('AIRI connected to Server Channel')
|
||||
useLogger().log('Moeka connected to Server Channel')
|
||||
return true
|
||||
}
|
||||
catch (error) {
|
||||
useLogger().errorWithError('Failed to connect to AIRI Server Channel:', error)
|
||||
useLogger().errorWithError('Failed to connect to Moeka Server Channel:', error)
|
||||
return false
|
||||
}
|
||||
}
|
||||
@@ -26,13 +26,13 @@ export class Client {
|
||||
if (this.client) {
|
||||
this.client.close()
|
||||
this.client = null
|
||||
useLogger().log('AIRI disconnected')
|
||||
useLogger().log('Moeka disconnected')
|
||||
}
|
||||
}
|
||||
|
||||
private async send(event: WebSocketEventOptionalSource<Events>): Promise<void> {
|
||||
if (!this.client) {
|
||||
useLogger().warn('Cannot send event: not connected to AIRI Server Channel')
|
||||
useLogger().warn('Cannot send event: not connected to Moeka Server Channel')
|
||||
return
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export class Client {
|
||||
this.client.send(event)
|
||||
}
|
||||
catch (error) {
|
||||
useLogger().errorWithError('Failed to send event to AIRI:', error)
|
||||
useLogger().errorWithError('Failed to send event to Moeka:', error)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ interface IntervalHandle {
|
||||
export async function activate(context: vscode.ExtensionContext) {
|
||||
initLogger(LoggerLevel.Debug, LoggerFormat.Pretty)
|
||||
|
||||
useLogger().log('AIRI is activating...')
|
||||
useLogger().log('Moeka is activating...')
|
||||
|
||||
// Get the configuration
|
||||
const config = workspace.getConfiguration('airi-vscode')
|
||||
@@ -76,10 +76,10 @@ async function setup(params: {
|
||||
if (params.isEnabled) {
|
||||
const connected = await params.client.connect()
|
||||
if (connected) {
|
||||
window.showInformationMessage('AIRI Server Channel connected!')
|
||||
window.showInformationMessage('Moeka Server Channel connected!')
|
||||
}
|
||||
else {
|
||||
window.showWarningMessage('AIRI Server Channel connection failed!')
|
||||
window.showWarningMessage('Moeka Server Channel connection failed!')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,19 +89,19 @@ async function setup(params: {
|
||||
params.isEnabled = true
|
||||
await params.client.connect()
|
||||
await registerListeners({ ...params })
|
||||
window.showInformationMessage('AIRI enabled!')
|
||||
window.showInformationMessage('Moeka enabled!')
|
||||
}),
|
||||
|
||||
commands.registerCommand('airi-vscode.disable', () => {
|
||||
params.isEnabled = false
|
||||
unregisterListeners({ eventListeners: params.eventListeners, controlLoopInterval: params.controlLoopInterval })
|
||||
params.client.disconnect()
|
||||
window.showInformationMessage('AIRI disabled!')
|
||||
window.showInformationMessage('Moeka disabled!')
|
||||
}),
|
||||
|
||||
commands.registerCommand('airi-vscode.status', () => {
|
||||
const status = params.isEnabled && params.client ? 'Connected' : 'Disconnected'
|
||||
window.showInformationMessage(`AIRI Server Channel status: ${status}.`)
|
||||
window.showInformationMessage(`Moeka Server Channel status: ${status}.`)
|
||||
}),
|
||||
)
|
||||
|
||||
@@ -110,7 +110,7 @@ async function setup(params: {
|
||||
await registerListeners({ ...params })
|
||||
}
|
||||
|
||||
useLogger().log('AIRI activated successfully')
|
||||
useLogger().log('Moeka activated successfully')
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -238,5 +238,5 @@ export async function deactivate() {
|
||||
|
||||
unregisterListeners({ eventListeners, controlLoopInterval })
|
||||
client?.disconnect()
|
||||
useLogger().log('AIRI deactivated!')
|
||||
useLogger().log('Moeka deactivated!')
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ export interface CodingContext {
|
||||
* "after": [
|
||||
* " \"description\": \"LLM powered virtual character\",",
|
||||
* " \"author\": {",
|
||||
* " \"name\": \"Moeru AI Project AIRI Team\",",
|
||||
* " \"name\": \"Moeka Team\",",
|
||||
* " \"email\": \"airi@moeru.ai\",",
|
||||
* " \"url\": \"https://github.com/moeru-ai\""
|
||||
* ]
|
||||
@@ -78,7 +78,7 @@ export interface CodingContext {
|
||||
}
|
||||
|
||||
/**
|
||||
* Event types sent to Airi
|
||||
* Event types sent to Moeka
|
||||
*/
|
||||
export interface Events {
|
||||
type: 'coding:context' | 'coding:save' | 'coding:switch-file'
|
||||
|
||||
Reference in New Issue
Block a user