René's URL Explorer Experiment


Title: fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli · GitHub

Open Graph Title: fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli

X Title: fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli

Description: Deep Code 是专为 deepseek-v4 模型优化的终端 AI 编码助手,支持深度思考、推理强度控制以及 Agent Skills。 - fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli

Open Graph Description: 问题 LLM 在处理 LaTeX、JSON、Unicode 转义等场景时经常多数/少数反斜杠(如 \alpha 写成 \\alpha ),导致精确匹配失败进入 loose_escape 回退路径。该路径虽然能定位到正确的匹配位置,但直接使用 LLM 原始 newString(同样带有转义错误)写入文件,造成静默数据损坏——每次此类替换都会在文件中 引入错误的反斜杠数量。 解决方案 新增 ...

X Description: 问题 LLM 在处理 LaTeX、JSON、Unicode 转义等场景时经常多数/少数反斜杠(如 \alpha 写成 \\alpha ),导致精确匹配失败进入 loose_escape 回退路径。该路径虽然能定位到正确的匹配位置,但直接使用 LLM 原始 newString(同样带有转义错误)写入文件,造成静默数据损坏——每次此类替换都会在文件中 引入错误的反斜杠数量。 解决方案 新增 ...

Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/136

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b33757f9-f79f-e14e-abeb-741e377166d8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB40:4D341:704AD7:98659F:6A4D67E9
html-safe-nonced881328cd8b97bd716f359909d5d047c235528a551d28ca709f8aa52b94b46fe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjQwOjREMzQxOjcwNEFENzo5ODY1OUY6NkE0RDY3RTkiLCJ2aXNpdG9yX2lkIjoiMTU2NDA3MjY4NjkxMjM2NjU2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace98ed602175d586f5f88fd9f9bbca596c5c8a8185bdf21538fd1f36361c49318
hovercard-subject-tagpull_request:3773089310
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lessweb/deepcode-cli/pull/136/commits
twitter:imagehttps://opengraph.githubassets.com/2a0a3270def3957d7ba04380b25c63c64c22ef8c916de894e7312a78846398dc/lessweb/deepcode-cli/pull/136
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2a0a3270def3957d7ba04380b25c63c64c22ef8c916de894e7312a78846398dc/lessweb/deepcode-cli/pull/136
og:image:alt问题 LLM 在处理 LaTeX、JSON、Unicode 转义等场景时经常多数/少数反斜杠(如 \alpha 写成 \\alpha ),导致精确匹配失败进入 loose_escape 回退路径。该路径虽然能定位到正确的匹配位置,但直接使用 LLM 原始 newString(同样带有转义错误)写入文件,造成静默数据损坏——每次此类替换都会在文件中 引入错误的反斜杠数量。 解决方案 新增 ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefym998
hostnamegithub.com
expected-hostnamegithub.com
None7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9
turbo-cache-controlno-cache
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecd8f6a71db61d6012a0cbb134be844fdbe9b8a45
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/pull/136/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F136%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F136%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/pull/136/commits
Reloadhttps://github.com/lessweb/deepcode-cli/pull/136/commits
Reloadhttps://github.com/lessweb/deepcode-cli/pull/136/commits
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136/commits
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 151 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 43 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
fym998https://github.com/fym998
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
fym998:fix/loose-escape-newstring-correctionhttps://github.com/fym998/deepcode-cli/tree/fix/loose-escape-newstring-correction
Conversationhttps://github.com/lessweb/deepcode-cli/pull/136
Commits6 (6)https://github.com/lessweb/deepcode-cli/pull/136/commits
Checkshttps://github.com/lessweb/deepcode-cli/pull/136/checks
Files changedhttps://github.com/lessweb/deepcode-cli/pull/136/files
fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题https://github.com/lessweb/deepcode-cli/pull/136/commits#top
fym998https://github.com/fym998
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
fym998:fix/loose-escape-newstring-correctionhttps://github.com/fym998/deepcode-cli/tree/fix/loose-escape-newstring-correction
fix(edit): correct newString escaping in loose_escape fallback pathhttps://github.com/lessweb/deepcode-cli/pull/136/commits/e3ea9a4b5c7535d3ff499ae56bd1127d1e714d52
https://github.com/fym998
fym998https://github.com/lessweb/deepcode-cli/commits?author=fym998
e3ea9a4https://github.com/lessweb/deepcode-cli/pull/136/commits/e3ea9a4b5c7535d3ff499ae56bd1127d1e714d52
https://github.com/lessweb/deepcode-cli/tree/e3ea9a4b5c7535d3ff499ae56bd1127d1e714d52
test(edit): verify newString escaping correction in loose_escape fallbackhttps://github.com/lessweb/deepcode-cli/pull/136/commits/5c7b30047d107036e59e84216e68c46afc08a25b
https://github.com/fym998
fym998https://github.com/lessweb/deepcode-cli/commits?author=fym998
5c7b300https://github.com/lessweb/deepcode-cli/pull/136/commits/5c7b30047d107036e59e84216e68c46afc08a25b
https://github.com/lessweb/deepcode-cli/tree/5c7b30047d107036e59e84216e68c46afc08a25b
fix(edit): handle zero-count loose escape correctionhttps://github.com/lessweb/deepcode-cli/pull/136/commits/708ce675197c0205b2fad9433a97f29904fce52b
https://github.com/fym998
fym998https://github.com/lessweb/deepcode-cli/commits?author=fym998
708ce67https://github.com/lessweb/deepcode-cli/pull/136/commits/708ce675197c0205b2fad9433a97f29904fce52b
https://github.com/lessweb/deepcode-cli/tree/708ce675197c0205b2fad9433a97f29904fce52b
fix(edit): prefer deterministic loose escape correctionhttps://github.com/lessweb/deepcode-cli/pull/136/commits/77a06df60dc7354d87d13c37ac07601e407868f0
https://github.com/fym998
fym998https://github.com/lessweb/deepcode-cli/commits?author=fym998
77a06dfhttps://github.com/lessweb/deepcode-cli/pull/136/commits/77a06df60dc7354d87d13c37ac07601e407868f0
https://github.com/lessweb/deepcode-cli/tree/77a06df60dc7354d87d13c37ac07601e407868f0
fix(edit): return error instead of silently writing uncorrected newString when escaping is ambiguous and LLM unavailablehttps://github.com/lessweb/deepcode-cli/pull/136/commits/93b4f638e5b54985c039d7a956d2a8eae8530137
https://github.com/fym998
fym998https://github.com/lessweb/deepcode-cli/commits?author=fym998
93b4f63https://github.com/lessweb/deepcode-cli/pull/136/commits/93b4f638e5b54985c039d7a956d2a8eae8530137
https://github.com/lessweb/deepcode-cli/tree/93b4f638e5b54985c039d7a956d2a8eae8530137
refactor(edit): rename escape correction cursorshttps://github.com/lessweb/deepcode-cli/pull/136/commits/6fd4e2ebf31a0f88c6316b2a1ca7e76696c24af2
https://github.com/fym998
fym998https://github.com/lessweb/deepcode-cli/commits?author=fym998
6fd4e2ehttps://github.com/lessweb/deepcode-cli/pull/136/commits/6fd4e2ebf31a0f88c6316b2a1ca7e76696c24af2
https://github.com/lessweb/deepcode-cli/tree/6fd4e2ebf31a0f88c6316b2a1ca7e76696c24af2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.