mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
chore: // @ts-nocheck
This commit is contained in:
parent
e1f766d18e
commit
029a683359
16 changed files with 28 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
// AI CORE
|
||||
|
||||
// @ts-nocheck
|
||||
import * as fs from 'fs';
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import loki from 'lokijs';
|
||||
|
@ -16,7 +16,6 @@ import Stream from '@/stream.js';
|
|||
import log from '@/utils/log.js';
|
||||
import { sleep } from './utils/sleep.js';
|
||||
import pkg from '../package.json' assert { type: 'json' };
|
||||
|
||||
type MentionHook = (msg: Message) => Promise<boolean | HandlerResult>;
|
||||
type ContextHook = (key: any, msg: Message, data?: any) => Promise<void | boolean | HandlerResult>;
|
||||
type TimeoutCallback = (data?: any) => void;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// @ts-nocheck
|
||||
type Config = {
|
||||
host: string;
|
||||
serverName?: string;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// AiOS bootstrapper
|
||||
// @ts-nocheck
|
||||
|
||||
import chalk from 'chalk';
|
||||
import got from 'got';
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// @ts-nocheck
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import chalk from 'chalk';
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// @ts-nocheck
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import 藍, { InstallerResult } from '@/ai.js';
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// @ts-nocheck
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import Module from '@/module.js';
|
||||
import serifs from '@/serifs.js';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @ts-nocheck
|
||||
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import loki from 'lokijs';
|
||||
import Module from '@/module.js';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @ts-nocheck
|
||||
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import { parse } from 'twemoji-parser';
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @ts-nocheck
|
||||
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import loki from 'lokijs';
|
||||
import Module from '@/module.js';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @ts-nocheck
|
||||
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import loki from 'lokijs';
|
||||
import Module from '@/module.js';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @ts-nocheck
|
||||
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import loki from 'lokijs';
|
||||
import Module from '@/module.js';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @ts-nocheck
|
||||
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import Message from '@/message.js';
|
||||
import Module from '@/module.js';
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import autobind from 'autobind-decorator';
|
||||
import Module from '@/module';
|
||||
import Message from '@/message';
|
||||
import serifs from '@/serifs';
|
||||
// @ts-nocheck
|
||||
|
||||
import autobind from 'autobind-decorator.js';
|
||||
import Module from '@/module.js';
|
||||
import Message from '@/message.js';
|
||||
import serifs from '@/serifs.js';
|
||||
|
||||
const vocaloidUrls = [
|
||||
// ボカロ
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @ts-nocheck
|
||||
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import loki from 'lokijs';
|
||||
import Module from '@/module.js';
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* 対話と思考を同じプロセスで行うと、思考時間が長引いたときにストリームから
|
||||
* 切断されてしまうので、別々のプロセスで行うようにします
|
||||
*/
|
||||
// @ts-nocheck
|
||||
|
||||
import got from 'got';
|
||||
import * as Reversi from './engine.js';
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// @ts-nocheck
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import Module from '@/module.js';
|
||||
import serifs from '@/serifs.js';
|
||||
|
|
Loading…
Reference in a new issue