@icyfenix-dmla/cli 2026.5.13-2356 → 2026.5.14-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icyfenix-dmla/cli",
3
- "version": "2026.5.13-2356",
3
+ "version": "2026.5.14-2",
4
4
  "description": "DMLA 沙箱服务命令行工具",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -369,12 +369,12 @@ function findProgressReporterPath() {
369
369
  * --dev 模式下需要挂载此目录
370
370
  */
371
371
  function findSharedModulesPath() {
372
- // 开发环境路径:packages/cli/src/commands -> ../../../local-server/shared_modules
373
- const devPath = path.resolve(__dirname, '../../../local-server/shared_modules')
374
- // npm 包路径:packages/cli/src/commands -> ../../shared_modules(构建后)
375
- const npmPath = path.resolve(__dirname, '../../shared_modules')
376
- // CLI 包根目录下的 shared_modules(构建后)
377
- const cliRootPath = path.resolve(__dirname, '../../shared_modules')
372
+ // 开发环境路径:packages/cli/src/commands -> ../../../local-server/shared
373
+ const devPath = path.resolve(__dirname, '../../../local-server/shared')
374
+ // npm 包路径:packages/cli/src/commands -> ../../shared(构建后)
375
+ const npmPath = path.resolve(__dirname, '../../shared')
376
+ // CLI 包根目录下的 shared(构建后)
377
+ const cliRootPath = path.resolve(__dirname, '../../shared')
378
378
 
379
379
  // 优先使用开发环境路径(如果 local-server 存在)
380
380
  if (fs.existsSync(devPath) && fs.readdirSync(devPath).length > 0) {
@@ -473,7 +473,7 @@ export async function startServerSync(port, useGpu = false, dev = false, shmSize
473
473
 
474
474
  if (dev && !sharedModulesPath) {
475
475
  console.log(chalk.yellow('⚠️ --dev 模式需要共享模块目录'))
476
- console.log(chalk.gray(' 未找到 shared_modules,将仅使用镜像内置模块'))
476
+ console.log(chalk.gray(' 未找到 shared 目录,将仅使用镜像内置模块'))
477
477
  }
478
478
  if (dev && !kernelRunnerPath) {
479
479
  console.log(chalk.yellow('⚠️ --dev 模式需要 kernel_runner.py'))
package/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "buildTime": "2026-05-13T15:56:58.097Z",
3
- "cliVersion": "2026.5.13-2356"
2
+ "buildTime": "2026-05-13T16:02:49.085Z",
3
+ "cliVersion": "2026.5.14-2"
4
4
  }