skopix 2.0.8 → 2.0.10
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/cli/commands/dashboard.js +2 -2
- package/cli/index.js +4 -2
- package/package.json +1 -1
|
@@ -2031,9 +2031,9 @@ export async function dashboardCommand(options) {
|
|
|
2031
2031
|
setTimeout(() => {
|
|
2032
2032
|
console.log(chalk.cyan(' [agent]') + ' Auto-starting agent on this machine...');
|
|
2033
2033
|
import('child_process').then(({ spawn }) => {
|
|
2034
|
-
const agentProc = spawn(process.execPath, [process.argv[1], 'agent', '--server', `http://localhost:${port}`, '--key', key
|
|
2034
|
+
const agentProc = spawn(process.execPath, [process.argv[1], 'agent', '--server', `http://localhost:${port}`, '--key', key], {
|
|
2035
2035
|
stdio: 'inherit',
|
|
2036
|
-
env: { ...process.env, SKOPIX_AUTO_AGENT: '1' },
|
|
2036
|
+
env: { ...process.env, SKOPIX_AUTO_AGENT: '1', SKOPIX_NO_BANNER: '1' },
|
|
2037
2037
|
});
|
|
2038
2038
|
agentProc.on('exit', (code) => {
|
|
2039
2039
|
if (code !== 0) console.log(chalk.yellow(' [agent] Agent exited with code ' + code));
|
package/cli/index.js
CHANGED
|
@@ -18,8 +18,10 @@ const banner = chalk.cyan(`
|
|
|
18
18
|
╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
19
19
|
`);
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
console.log(
|
|
21
|
+
if (!process.env.SKOPIX_NO_BANNER) {
|
|
22
|
+
console.log(banner);
|
|
23
|
+
console.log(chalk.dim(' AI-powered QA agent. Tests your app like a human would.\n'));
|
|
24
|
+
}
|
|
23
25
|
|
|
24
26
|
program
|
|
25
27
|
.name('skopix')
|
package/package.json
CHANGED