@kernel.chat/kbot 3.99.9 → 3.99.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.
Files changed (2) hide show
  1. package/dist/auth.js +1 -5
  2. package/package.json +1 -1
package/dist/auth.js CHANGED
@@ -507,11 +507,7 @@ export function getProviderModel(provider, speed, taskHint) {
507
507
  /** Lightweight config read — avoids circular dep with full loadConfig. */
508
508
  function loadConfigRaw() {
509
509
  try {
510
- const { readFileSync } = require('node:fs');
511
- const { join } = require('node:path');
512
- const { homedir } = require('node:os');
513
- const path = join(homedir(), '.kbot', 'config.json');
514
- const content = readFileSync(path, 'utf-8');
510
+ const content = readFileSync(join(homedir(), '.kbot', 'config.json'), 'utf-8');
515
511
  return JSON.parse(content);
516
512
  }
517
513
  catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernel.chat/kbot",
3
- "version": "3.99.9",
3
+ "version": "3.99.10",
4
4
  "description": "Open-source terminal AI agent. 787+ tools, 35 agents, 20 providers. Dreams, learns, watches your system. Controls your phone. Fully local, fully sovereign. MIT.",
5
5
  "type": "module",
6
6
  "repository": {