osai-agent 4.1.12 → 4.1.14
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/README.md +1 -1
- package/package.json +1 -1
- package/src/commands/stop-subagent.js +1 -1
- package/src/index.js +4 -0
package/README.md
CHANGED
|
@@ -257,7 +257,7 @@ Run the OS AI Agent MCP server for any MCP-compatible client:
|
|
|
257
257
|
|
|
258
258
|
## Slash Commands
|
|
259
259
|
|
|
260
|
-
Available within a running session
|
|
260
|
+
Available within a running session by typing `/` and pressing `Enter`:
|
|
261
261
|
|
|
262
262
|
| Command | Action |
|
|
263
263
|
|---------|--------|
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@ export const stopSubagent = async ({ server }) => {
|
|
|
23
23
|
'',
|
|
24
24
|
` ${chalk.hex('#8ab4d8')('Your AI sysadmin, network engineer & senior developer')}`,
|
|
25
25
|
'',
|
|
26
|
-
` ${authDot} ${chalk.hex('#8ab4d8')('Auth:')} ${chalk.white(authLabel)}
|
|
26
|
+
` ${authDot} ${chalk.hex('#8ab4d8')('Auth:')} ${chalk.white(authLabel)}`,
|
|
27
27
|
].join('\n');
|
|
28
28
|
console.log(boxen(headerContent, { padding: { left: 3, right: 3 }, margin: { top: 1, bottom: 1 }, borderStyle: 'round', borderColor: '#4a9eff', float: 'center', }));
|
|
29
29
|
|
package/src/index.js
CHANGED
|
@@ -34,6 +34,10 @@ updateNotifier({ pkg }).notify({ isGlobal: true, shouldNotifyInNpmScript: false
|
|
|
34
34
|
|
|
35
35
|
const args = minimist(process.argv.slice(2));
|
|
36
36
|
const cmd = args._[0];
|
|
37
|
+
if (args.version || args.v) {
|
|
38
|
+
showVersion();
|
|
39
|
+
process.exit(0);
|
|
40
|
+
}
|
|
37
41
|
|
|
38
42
|
switch (cmd) {
|
|
39
43
|
case 'run':
|