Repository navigation
fix(progress): clearer Korean for raisedBy and staleWarning; bump to 1.19.1 - #155
Merged
Merged
Conversation
Use 질문자 (asked by) for raisedBy, matching zh-CN's 提问者, and open staleWarning with 진행 상황이 오래되었을 수 있습니다 so it no longer says the work stopped twice.
Collaborator
|
Thank you, @junnnie8. 1.19.1 is out on npm with both wording fixes. If you installed from npm, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
#154 was merged right before I pushed the two wording changes suggested in its review, so they missed
main. This PR carries them.What changed
client/locales/ko.tsraisedBy:, 출처: name→, 질문자: name("asked by", matching zh-CN's 提问者).staleWarning: opens with "진행 상황이 오래되었을 수 있습니다." so it no longer says twice that the work may have stopped.Verification
npm run check:install(npm 11 and 12) pass.npm test: 314 of 315 pass. The one failure,outside git it works the same(server/progress.test.ts:2252), also fails onmain(8508d7d) on this machine, same as noted in feat(progress): add Korean localization; bump to 1.18.0 #154, so it isn't from this change.Security review: No release blockers found.
Security review report (Claude Opus)
Security review: @stevecastaneda/paseo-progress@1.19.1
I found no release blockers in 1.19.1. This release changes two Korean strings and the version number; all of it ships, and none of it adds a way in.
What changed
progress/client/locales/ko.ts:200,staleWarning. The only placeholder isduration.panel.tsx:322builds it from the host's clock (formatClientMinutes(minutesSince(dashboard.updatedAt, now))), so it's a number of minutes, not agent text. It's shown in a React Native<Text>, which displays it as plain text.progress/client/locales/ko.ts:226,raisedBy.nameis the agent'sraisedByvalue (an agent tool argument, or--raised-byatserver/cli.ts:415). It's checked as text byshared/events.ts:110. It's shown only inside<Text>atclient/questions.tsx:190and:411, so it can't become markup, a link or a command. The function's shape and placeholder are the same as before and matchen.ts:227andzh-CN.ts:225. The text "질문자:" (asker) is clearly a label for someone else, so it doesn't make agent text look like the user's own work.README.md,package.json,package-lock.json. Only the changelog entry and version number changed.README.mdisn't in thefileslist, butserver/whats-new.ts:145reads it from the plugin's own folder. The lifecycle scripts are out of scope.Places that touch files, programs, HTML or the network
server/system.ts:24,runProgram. UsesexecFilewith an argument list and starts in Node's own folder (LAUNCH_FOLDER), so Windows won't find a program the repo committed.server/system.ts:29,runCommandLine. Runs through the shell, but only foraskPaseo. The program comes from the user's environment variables or a fixed install path, and the command line is fixed text. It also starts inLAUNCH_FOLDER.server/system.ts:42–110,writeFileIn,appendFileIn,removeInand the others. Names that are absolute or contain..are refused, and so are links in any folder along the way. Atomic writes rename over a link instead of writing through it. Every caller passes a folder the plugin trusts.server/progress-file.ts:58–201. Progress is written to~/.paseo/…/<name>-<sha1>, outside the repo and its.git. The file name is fixed, and each event is checked against the event schema before it's written.server/store.ts:118–129. Saved runs go under the state folder, folder by folder, refusing links or files in the way. The file name comes fromrunFileName.server/answers.ts:192/204,question-mode.ts:26/33,whats-new.ts:102–145. Fixed file names in the plugin's own state folder or plugin folder.server/launcher.ts:128. Writes~/.local/bin/paseo-progressonly when the user presses Install. It never overwrites a file it didn't write, and its content is fixed. The launcher it writes starts Paseo's command in Node's folder.server/skill.ts:81–113. Copies the plugin's ownSKILL.mdinto three fixed skill folders in the home directory. Folders it didn't install are left alone, and it removes only links that point to askills/paseo-progressfolder.server/open.ts:69–83, resolving an attachment. Only paths the agent recorded are used. They're looked up by reference, links are resolved withrealpath, and anything outside the worktree is refused.server/open.ts:87, opening a file on the host. Checks the real file and allows only images, video, audio, PDFs and text, never HTML or SVG. It runsopen,xdg-openorexplorerwith an argument list, and Safari or the default browser is read from the user's settings.server/open.ts:120–186, preview and read-in-pieces. Reads only inside the worktree, with size limits. HTML is refused for preview, and folder listings skip dotfiles.client/attachments.tsx:66–84, links. Onlyhttpandhttpsaddresses get through (shared/events.ts:31), and they open in Paseo's browser or withopenExternalUrl.client/attachments.tsx:96,PageLink. An HTML page opens through Paseo's own Markdown link into a Paseo preview tab, with the target percent-encoded bylocalLinkTarget. This code didn't change in this release.shared/markdown.ts:44). Shown with Paseo's Markdown component, with links rewritten. No raw HTML ordangerouslySetInnerHTML.<Text>, with no HTML sinks.I reasoned all of this from the source and didn't run anything. I spent most of the time on the changed strings and where they're shown, and checked the unchanged code above more briefly.
No release blockers found.