aegisai-harness 0.67.4 → 0.67.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +5 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -27,6 +27,10 @@ function askApproval(name, args) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
async function main() {
|
|
30
|
+
if (process.argv.includes('--version') || process.argv.includes('-v')) {
|
|
31
|
+
console.log(require('../package.json').version);
|
|
32
|
+
process.exit(0);
|
|
33
|
+
}
|
|
30
34
|
await detectBackend();
|
|
31
35
|
logger.info('backend', { type: getType(), url: getUrl() });
|
|
32
36
|
try {
|
|
@@ -452,7 +456,7 @@ async function main() {
|
|
|
452
456
|
}
|
|
453
457
|
|
|
454
458
|
if (args.length === 0 || replFlag) {
|
|
455
|
-
console.log('AegisAi Harness
|
|
459
|
+
console.log('AegisAi Harness v' + require('../package.json').version + ' REPL. Type /exit to quit, /help for commands.');
|
|
456
460
|
const rl = readline.createInterface({ input: process.stdin, output: process.stdout, prompt: 'harness> ' });
|
|
457
461
|
let model = process.env.AEGISAI_MODEL || 'llama3.2:3b';
|
|
458
462
|
let root = process.cwd();
|