@afffun/codexbot 1.0.90 → 1.0.91

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afffun/codexbot",
3
- "version": "1.0.90",
3
+ "version": "1.0.91",
4
4
  "description": "Thin npm bootstrap CLI for installing and operating Codexbot nodes",
5
5
  "type": "module",
6
6
  "author": "john88188 <john88188@outlook.com>",
@@ -196,6 +196,7 @@ export function createNpmDistributionInstallService(deps = {}) {
196
196
  await writeResponseToFile(keyResponse, tempKeyPath, fsPromises);
197
197
  }
198
198
 
199
+ const remoteMode = distributionMode === 'install' ? 'auto' : trim(mode, 'auto');
199
200
  const args = [
200
201
  tempInstallPath,
201
202
  '--manifest-url', urls.manifestUrl,
@@ -207,7 +208,7 @@ export function createNpmDistributionInstallService(deps = {}) {
207
208
  : []),
208
209
  '--public-key-file', resolvedPublicKeyFile,
209
210
  '--channel', urls.channel,
210
- '--mode', trim(mode, 'auto'),
211
+ '--mode', remoteMode,
211
212
  ...(authToken ? ['--auth-token', authToken] : []),
212
213
  ...(effectiveOptions.deferLicenseActivation ? ['--defer-license-activation'] : []),
213
214
  ...(trim(effectiveOptions.seedEnvFile) ? ['--seed-env-file', trim(effectiveOptions.seedEnvFile)] : []),