fix: 只读/调试模式允许读取传输请求与版本(enableTransports 只控制只读传输工具族,写仍由 allowedPackages/allowTransportableEdits 拦截)
This commit is contained in:
@@ -38,8 +38,8 @@ window.__ModuleLoader__.load({
|
||||
modeTitle: '运行模式(本工作区)',
|
||||
modes: { 'read-only': '只读', debug: '调试', change: '更改' },
|
||||
modeHints: {
|
||||
'read-only': '只读:写/激活/删除/传输/执行/调试全部关闭,只做调查与补丁建议。',
|
||||
debug: '调试:允许执行以触发断点,可用 adt_debug 设断点/单步/看变量;写与传输仍关闭。',
|
||||
'read-only': '只读:写/激活/删除/执行/调试关闭;可搜索、读源码、读传输请求与版本、数据预览。',
|
||||
debug: '调试:在只读基础上允许执行以触发断点,可用 adt_debug;写与传输修改仍关闭。',
|
||||
change: '更改:按白名单可写(含传输,每次写需给请求号),允许执行与调试器;写前先给用户看 diff。',
|
||||
},
|
||||
modeSwitched: '运行模式已切换',
|
||||
@@ -101,8 +101,8 @@ window.__ModuleLoader__.load({
|
||||
modeTitle: 'Run mode (this workspace)',
|
||||
modes: { 'read-only': 'Read-only', debug: 'Debug', change: 'Change' },
|
||||
modeHints: {
|
||||
'read-only': 'Read-only: writes, activation, deletion, transports, execution and the debugger are off; investigate and propose patches only.',
|
||||
debug: 'Debug: execution is allowed to trigger breakpoints; adt_debug is available; writes and transports stay off.',
|
||||
'read-only': 'Read-only: writes, activation, deletion, execution and the debugger are off; search, read source, READ transport requests/versions and preview data.',
|
||||
debug: 'Debug: read-only plus execution to trigger breakpoints and adt_debug; writes and transport changes stay off.',
|
||||
change: 'Change: whitelisted packages are writable (transports need the request number on every write), execution and the debugger are allowed; show a diff before writing.',
|
||||
},
|
||||
modeSwitched: 'Run mode switched',
|
||||
|
||||
Reference in New Issue
Block a user