subto 9.0.1 → 9.0.2
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/dist/package/index.js +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/dist/package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const chalk = (_chalk && _chalk.default) ? _chalk.default : _chalk;
|
|
|
11
11
|
const CONFIG_DIR = path.join(os.homedir(), '.subto');
|
|
12
12
|
const CONFIG_PATH = path.join(CONFIG_DIR, 'config.json');
|
|
13
13
|
const DEFAULT_API_BASE = 'https://subto.one';
|
|
14
|
-
const CLIENT_META = { name: 'subto-cli', version: '9.0.
|
|
14
|
+
const CLIENT_META = { name: 'subto-cli', version: '9.0.2' };
|
|
15
15
|
|
|
16
16
|
function configFilePath() { return CONFIG_PATH; }
|
|
17
17
|
|
|
@@ -167,7 +167,7 @@ function printAccountSummary(payload) {
|
|
|
167
167
|
|
|
168
168
|
async function run(argv) {
|
|
169
169
|
const program = new Command();
|
|
170
|
-
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.
|
|
170
|
+
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.2');
|
|
171
171
|
|
|
172
172
|
program.command('login').description('Store your API key in ~/.subto/config.json').action(async () => {
|
|
173
173
|
try {
|
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const chalk = (_chalk && _chalk.default) ? _chalk.default : _chalk;
|
|
|
11
11
|
const CONFIG_DIR = path.join(os.homedir(), '.subto');
|
|
12
12
|
const CONFIG_PATH = path.join(CONFIG_DIR, 'config.json');
|
|
13
13
|
const DEFAULT_API_BASE = 'https://subto.one/api/v1';
|
|
14
|
-
const CLIENT_META = { name: 'subto-cli', version: '9.0.
|
|
14
|
+
const CLIENT_META = { name: 'subto-cli', version: '9.0.2' };
|
|
15
15
|
const cp = require('child_process');
|
|
16
16
|
|
|
17
17
|
// Normalize SUBTO API base so callers can set either
|
|
@@ -612,7 +612,7 @@ async function startChatREPL(scanData){
|
|
|
612
612
|
|
|
613
613
|
async function run(argv) {
|
|
614
614
|
const program = new Command();
|
|
615
|
-
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.
|
|
615
|
+
program.name('subto').description('Subto CLI — wrapper around Subto.One API').version(CLIENT_META.version || '9.0.2');
|
|
616
616
|
program.option('-v, --verbose', 'Show verbose HTTP logs');
|
|
617
617
|
program.option('--debug', 'Show debug HTTP headers and responses');
|
|
618
618
|
program.option('--chat', 'Start local AI assistant (no command required)');
|