fix: update core.file imports to core.workflow.file after merge

The File class and related modules were moved from core.file to
core.workflow.file in the sandboxed-agent branch. This commit
updates all remaining references including test mock/patch paths,
Switch component defaultValue→value changes, and account setting
tab constant updates.

Made-with: Cursor
This commit is contained in:
Novice
2026-03-19 18:05:55 +08:00
parent 89b76d6c33
commit a883b74272
20 changed files with 65 additions and 30 deletions

View File

@ -7,7 +7,7 @@ import os
import shlex
from types import TracebackType
from core.file import File, FileTransferMethod, FileType
from core.workflow.file import File, FileTransferMethod, FileType
from core.sandbox.sandbox import Sandbox
from core.session.cli_api import CliApiSession, CliApiSessionManager, CliContext
from core.skill.entities import ToolAccessPolicy