aegisai-harness 0.67.4 → 0.67.6
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 +6 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -27,6 +27,11 @@ function askApproval(name, args) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
async function main() {
|
|
30
|
+
const args = process.argv.slice(2);
|
|
31
|
+
if (args.includes('--version') || args.includes('-v')) {
|
|
32
|
+
console.log(require('../package.json').version);
|
|
33
|
+
process.exit(0);
|
|
34
|
+
}
|
|
30
35
|
await detectBackend();
|
|
31
36
|
logger.info('backend', { type: getType(), url: getUrl() });
|
|
32
37
|
try {
|
|
@@ -452,7 +457,7 @@ async function main() {
|
|
|
452
457
|
}
|
|
453
458
|
|
|
454
459
|
if (args.length === 0 || replFlag) {
|
|
455
|
-
console.log('AegisAi Harness
|
|
460
|
+
console.log('AegisAi Harness v' + require('../package.json').version + ' REPL. Type /exit to quit, /help for commands.');
|
|
456
461
|
const rl = readline.createInterface({ input: process.stdin, output: process.stdout, prompt: 'harness> ' });
|
|
457
462
|
let model = process.env.AEGISAI_MODEL || 'llama3.2:3b';
|
|
458
463
|
let root = process.cwd();
|