deepseek-coder-agent-cli 1.0.35 → 1.0.37

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.
@@ -1 +1 @@
1
- {"version":3,"file":"interactiveShell.d.ts","sourceRoot":"","sources":["../../src/headless/interactiveShell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAyJH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAOD;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuDzF"}
1
+ {"version":3,"file":"interactiveShell.d.ts","sourceRoot":"","sources":["../../src/headless/interactiveShell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AA0JH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAOD;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuDzF"}
@@ -14,7 +14,8 @@
14
14
  */
15
15
  import { stdin, stdout, exit } from 'node:process';
16
16
  import { readFileSync, writeFileSync, existsSync, mkdirSync, unlinkSync } from 'node:fs';
17
- import { resolve, dirname } from 'node:path';
17
+ import { resolve, dirname, join } from 'node:path';
18
+ import { homedir } from 'node:os';
18
19
  import { fileURLToPath } from 'node:url';
19
20
  import { exec as childExec } from 'node:child_process';
20
21
  import { promisify } from 'node:util';
@@ -2412,9 +2413,6 @@ Any text response is a failure. Only tool calls are accepted.`;
2412
2413
  if (keyValue) {
2413
2414
  // Direct file write - most reliable method
2414
2415
  try {
2415
- const { mkdirSync, existsSync, readFileSync, writeFileSync } = require('node:fs');
2416
- const { join } = require('node:path');
2417
- const { homedir } = require('node:os');
2418
2416
  const secretDir = join(homedir(), '.agi');
2419
2417
  const secretFile = join(secretDir, 'secrets.json');
2420
2418
  mkdirSync(secretDir, { recursive: true });