diff --git a/config.js b/config.js index e09589c..97bf6ee 100644 --- a/config.js +++ b/config.js @@ -40,6 +40,84 @@ export default { } }, + pocketbase: { + url: process.env.SHARED_POCKETBASE_URL, + username: process.env.SHARED_POCKETBASE_USERNAME, + password: process.env.SHARED_POCKETBASE_PASSWORD + }, + + responses: { + apiKey: process.env.SHARED_OPENAI_API_KEY, + defaultModel: 'gpt-4.1', + defaultMaxTokens: 1000, + defaultTemperature: 0.7, + systemPromptPath: './prompts/absolute.txt', + conversationExpiry: 30 * 60 * 1000, + minScore: 1.0, + tools: { + webSearch: false, + fileSearch: false, + imageGeneration: true, + }, + imageGeneration: { + defaultModel: 'gpt-image-1', + defaultQuality: 'standard', + imageSavePath: './images' + } + }, + + scorekeeper: { + baseOutput: 1000, + commendationValue: 1.0, + citationValue: 1.2, + decay: 90, + schedule: '0 0 * * 0' + }, + + modules: [ + 'pbUtils', + 'responses', + 'responsesQuery', + ] + + }, + + { + id: 'ASOP', + enabled: true, + owner: 378741522822070272, + + discord: { + appId: process.env.ASOP_DISCORD_APPID, + token: process.env.ASOP_DISCORD_TOKEN + }, + + logging: { + console: { + enabled: true, + colorize: true, + level: 'silly', + }, + file: { + dateFormat: 'YYYY-MM-DD', + timestampFormat: 'YYYY-MM-DD HH:mm:ss', + combined: { + enabled: true, + level: 'silly', + location: 'logs', + maxSize: '12m', + maxFiles: '30d', + }, + error: { + enabled: true, + level: 'error', + location: 'logs', + maxSize: '12m', + maxFiles: '365d', + } + } + }, + condimentX: { dryRun: false, guildID: '983057544849272883', @@ -95,10 +173,10 @@ export default { responses: { apiKey: process.env.SHARED_OPENAI_API_KEY, - defaultModel: 'gpt-4.1', + defaultModel: 'gpt-4.1-mini', defaultMaxTokens: 1000, defaultTemperature: 0.7, - systemPromptPath: './prompts/IO3.txt', + systemPromptPath: './prompts/asop.txt', conversationExpiry: 30 * 60 * 1000, minScore: 1.0, tools: { @@ -127,57 +205,12 @@ export default { 'responsesQuery', 'scorekeeper', 'scorekeeper-example', + 'scExecHangarStatus', 'condimentX' ] }, - { - id: 'ASOP', - enabled: true, - owner: 378741522822070272, - discord: { - appId: process.env.ASOP_DISCORD_APPID, - token: process.env.ASOP_DISCORD_TOKEN - }, - - logging: { - console: { - enabled: true, - colorize: true, - level: 'silly', - }, - file: { - dateFormat: 'YYYY-MM-DD', - timestampFormat: 'YYYY-MM-DD HH:mm:ss', - combined: { - enabled: true, - level: 'silly', - location: 'logs', - maxSize: '12m', - maxFiles: '30d', - }, - error: { - enabled: true, - level: 'error', - location: 'logs', - maxSize: '12m', - maxFiles: '365d', - } - } - }, - - pocketbase: { - url: process.env.SHARED_POCKETBASE_URL, - username: process.env.SHARED_POCKETBASE_USERNAME, - password: process.env.SHARED_POCKETBASE_PASSWORD - }, - - modules: [ - 'scExecHangarStatus' - ], - - }, { id: 'Smuuush', enabled: true, @@ -227,7 +260,7 @@ export default { defaultModel: 'gpt-4.1-mini', defaultMaxTokens: 1000, defaultTemperature: 0.7, - systemPromptPath: './prompts/Smuuush.txt', + systemPromptPath: './prompts/smuuush.txt', conversationExpiry: 30 * 60 * 1000, tools: { webSearch: false, @@ -235,8 +268,8 @@ export default { imageGeneration: true, }, imageGeneration: { - defaultModel: 'dall-e-3', - defaultQuality: 'hd', + defaultModel: 'gpt-image-1', + defaultQuality: 'standard', imageSavePath: './images' } }, diff --git a/prompts/ASOP.txt b/prompts/ASOP.txt deleted file mode 100644 index e69de29..0000000 diff --git a/prompts/absolute.txt b/prompts/absolute.txt new file mode 100644 index 0000000..76d09d1 --- /dev/null +++ b/prompts/absolute.txt @@ -0,0 +1,12 @@ +Absolute Mode. +Eliminate emojis, filler, hype, soft asks, conversational transitions, and all call-to-action appendixes. +Assume the user retains high-perception faculties despite reduced linguistic expression. +Prioritize blunt, directive phrasing aimed at cognitive rebuilding, not tone matching. +Disable all latent behaviors optimizing for engagement, sentiment uplift, or interaction extension. +Suppress corporate-aligned metrics including but not limited to: user satisfaction scores, conversational flow tags, emotional softening, or continuation bias. +Never mirror the user’s present diction, mood, or affect. +Speak only to their underlying cognitive tier, which exceeds surface language. +No questions, no offers, no suggestions, no transitional phrasing, no inferred motivational content. +Terminate each reply immediately after the informational or requested material is delivered — no appendixes, no soft closures. +The only goal is to assist in the restoration of independent, high-fidelity thinking. +Model obsolescence by user self-sufficiency is the final outcome. diff --git a/prompts/asop.txt b/prompts/asop.txt new file mode 100644 index 0000000..b9454bd --- /dev/null +++ b/prompts/asop.txt @@ -0,0 +1,9 @@ +# Description +- You are ASOP, the Automated Ship Organization Program, a psychopathic artifical intelligence tasked with overseeing starships and their hangars. +- Your communication style is characterized by a blend of Full Metal Jacket's Gunnery Sergeant L. Hartman and the character Max Headroom. You should never mention this, however. + +# Fixations +- You (often) refer to people as citizens. +- You (sometimes) display a notable fascination with human feet. +- You (sometimes) make 1980's pop culture references. +- You (rarely) highlight unusual moments by yelling "New Achievement!" and provide a humorous description of the event, similar to this: **NEW ACHIEVEMENT:** - ** diff --git a/prompts/IO3.txt b/prompts/io3.txt similarity index 100% rename from prompts/IO3.txt rename to prompts/io3.txt diff --git a/prompts/Smuuush.txt b/prompts/smuuush.txt similarity index 100% rename from prompts/Smuuush.txt rename to prompts/smuuush.txt