• Will Chen's avatar
    smart context v3 (#1022) · 4e9a927a
    Will Chen 提交于
    <!-- This is an auto-generated description by cubic. -->
    
    ## Summary by cubic
    Adds Smart Context v3 with selectable modes (Off, Conservative,
    Balanced) and surfaces token savings in chat. Also improves token
    estimation by counting per-file tokens when Smart Context is enabled.
    
    - **New Features**
    - Smart Context selector in Pro settings with three options.
    Conservative is the default when enabled without an explicit choice.
    - New setting: proSmartContextOption ("balanced"); undefined implies
    Conservative.
    - Engine now receives enable_smart_files_context and smart_context_mode.
    - Chat shows a DyadTokenSavings card when the message contains
    token-savings?original-tokens=...&smart-context-tokens=..., with percent
    saved and a tooltip for exact tokens.
    - Token estimation uses extracted file contents for accuracy when Pro +
    Smart Context is on; otherwise falls back to formatted codebase output.
    
    <!-- End of auto-generated description by cubic. -->
    4e9a927a
名称
最后提交
最后更新
..
app_env_var_utils.ts 正在载入提交数据...
cleanFullResponse.ts 正在载入提交数据...
context_paths_utils.ts 正在载入提交数据...
debug_fetch.ts 正在载入提交数据...
dyad_tag_parser.ts 正在载入提交数据...
file_uploads_state.ts 正在载入提交数据...
file_utils.ts 正在载入提交数据...
findLanguageModel.ts 正在载入提交数据...
get_model_client.ts 正在载入提交数据...
git_author.ts 正在载入提交数据...
git_utils.ts 正在载入提交数据...
llm_engine_provider.ts 正在载入提交数据...
lm_studio_utils.ts 正在载入提交数据...
lock_utils.ts 正在载入提交数据...
mention_apps.ts 正在载入提交数据...
neon_timestamp_utils.ts 正在载入提交数据...
ollama_provider.ts 正在载入提交数据...
path_utils.ts 正在载入提交数据...
port_utils.ts 正在载入提交数据...
process_manager.ts 正在载入提交数据...
read_env.ts 正在载入提交数据...
replacePromptReference.ts 正在载入提交数据...
retryOnLocked.ts 正在载入提交数据...
runShellCommand.ts 正在载入提交数据...
safe_sender.ts 正在载入提交数据...
simpleSpawn.ts 正在载入提交数据...
start_proxy_server.ts 正在载入提交数据...
template_utils.ts 正在载入提交数据...
test_utils.ts 正在载入提交数据...
thinking_utils.ts 正在载入提交数据...
token_utils.ts 正在载入提交数据...
vercel_utils.ts 正在载入提交数据...