@parallelworks/code 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +625 -113
  2. package/dist/accountApi.d.ts +31 -0
  3. package/dist/accountApi.js +182 -0
  4. package/dist/agentSwitcher.d.ts +120 -0
  5. package/dist/agentSwitcher.js +187 -0
  6. package/dist/ago.d.ts +1 -3
  7. package/dist/ago.js +8 -10
  8. package/dist/allocations.d.ts +41 -0
  9. package/dist/allocations.js +76 -0
  10. package/dist/api.d.ts +1319 -50
  11. package/dist/chatStrings.d.ts +189 -0
  12. package/dist/chatStrings.js +218 -0
  13. package/dist/claudeAccounts.d.ts +57 -2
  14. package/dist/claudeAccounts.js +144 -6
  15. package/dist/claudeApi.d.ts +2 -1
  16. package/dist/claudeApi.js +50 -4
  17. package/dist/claudeSignIn.d.ts +19 -1
  18. package/dist/claudeSignIn.js +12 -2
  19. package/dist/command.d.ts +5 -1
  20. package/dist/command.js +6 -1
  21. package/dist/commandsApi.d.ts +11 -1
  22. package/dist/commandsApi.js +24 -5
  23. package/dist/createPwCodeApi.d.ts +114 -6
  24. package/dist/createPwCodeApi.js +21 -3
  25. package/dist/directories.d.ts +161 -0
  26. package/dist/directories.js +301 -0
  27. package/dist/goal.d.ts +89 -0
  28. package/dist/goal.js +164 -0
  29. package/dist/imageFit.d.ts +23 -0
  30. package/dist/imageFit.js +27 -0
  31. package/dist/images.d.ts +28 -0
  32. package/dist/images.js +38 -6
  33. package/dist/index.d.ts +31 -15
  34. package/dist/index.js +29 -14
  35. package/dist/loadError.d.ts +8 -0
  36. package/dist/loadError.js +19 -0
  37. package/dist/locales/en/agentTranscript.js +74 -12
  38. package/dist/locales/en/agents.js +86 -11
  39. package/dist/locales/en.d.ts +137 -8
  40. package/dist/locales/es/agentTranscript.js +74 -12
  41. package/dist/locales/es/agents.js +86 -11
  42. package/dist/locales/ja/agentTranscript.js +77 -15
  43. package/dist/locales/ja/agents.js +60 -122
  44. package/dist/locales/ko/agentTranscript.js +74 -12
  45. package/dist/locales/ko/agents.js +86 -11
  46. package/dist/locales/zh/agentTranscript.js +72 -10
  47. package/dist/locales/zh/agents.js +86 -11
  48. package/dist/machine.d.ts +2 -0
  49. package/dist/modelPicker.d.ts +79 -0
  50. package/dist/modelPicker.js +107 -0
  51. package/dist/notices.d.ts +2 -0
  52. package/dist/notices.js +67 -32
  53. package/dist/platformDefaults.d.ts +22 -0
  54. package/dist/platformDefaults.js +30 -0
  55. package/dist/preferences.d.ts +78 -0
  56. package/dist/preferences.js +128 -0
  57. package/dist/pullRequestList.d.ts +10 -2
  58. package/dist/pullRequestList.js +41 -22
  59. package/dist/query.d.ts +9 -2
  60. package/dist/query.js +91 -10
  61. package/dist/session.d.ts +11 -2
  62. package/dist/session.js +16 -8
  63. package/dist/sessionActions.d.ts +11 -1
  64. package/dist/sessionActions.js +14 -6
  65. package/dist/sessionEvents.d.ts +37 -5
  66. package/dist/sessionEvents.js +196 -77
  67. package/dist/sessionGroups.d.ts +5 -4
  68. package/dist/sessionGroups.js +6 -5
  69. package/dist/sessionHeader.js +6 -2
  70. package/dist/sessionList.d.ts +68 -15
  71. package/dist/sessionList.js +91 -19
  72. package/dist/sessionScreen.d.ts +197 -0
  73. package/dist/sessionScreen.js +218 -0
  74. package/dist/sessionsApi.d.ts +29 -3
  75. package/dist/sessionsApi.js +180 -33
  76. package/dist/sessionsFeed.d.ts +22 -0
  77. package/dist/sessionsFeed.js +125 -0
  78. package/dist/settingsApi.d.ts +3 -1
  79. package/dist/startPage.d.ts +153 -0
  80. package/dist/startPage.js +174 -0
  81. package/dist/startSession.d.ts +41 -7
  82. package/dist/startSession.js +26 -4
  83. package/dist/todos.d.ts +42 -0
  84. package/dist/todos.js +104 -0
  85. package/dist/transcript.d.ts +1 -2
  86. package/dist/transcript.js +111 -117
  87. package/dist/transcriptRead.d.ts +56 -0
  88. package/dist/transcriptRead.js +121 -0
  89. package/dist/types.d.ts +11 -1
  90. package/dist/useComposer.d.ts +39 -6
  91. package/dist/useComposer.js +73 -9
  92. package/dist/useComposerImages.d.ts +5 -0
  93. package/dist/useComposerImages.js +27 -5
  94. package/dist/useComposerPastes.d.ts +70 -0
  95. package/dist/useComposerPastes.js +125 -0
  96. package/dist/useConversation.d.ts +16 -1
  97. package/dist/useConversation.js +104 -10
  98. package/dist/useMounted.d.ts +3 -0
  99. package/dist/useMounted.js +14 -0
  100. package/dist/useSubagent.d.ts +51 -3
  101. package/dist/useSubagent.js +72 -7
  102. package/dist/useTranscript.d.ts +23 -3
  103. package/dist/useTranscript.js +76 -19
  104. package/dist/wording.d.ts +5 -2
  105. package/dist/wording.js +8 -6
  106. package/dist/workingDirectories.d.ts +31 -0
  107. package/dist/workingDirectories.js +25 -1
  108. package/locales/en/agentTranscript.json +68 -11
  109. package/locales/en/agents.json +82 -10
  110. package/locales/es/agentTranscript.json +68 -11
  111. package/locales/es/agents.json +82 -10
  112. package/locales/ja/agentTranscript.json +71 -14
  113. package/locales/ja/agents.json +82 -10
  114. package/locales/ko/agentTranscript.json +68 -11
  115. package/locales/ko/agents.json +82 -10
  116. package/locales/zh/agentTranscript.json +66 -9
  117. package/locales/zh/agents.json +82 -10
  118. package/package.json +6 -3
@@ -22,21 +22,23 @@
22
22
  "denyCode": "아니요, 이 코드를 실행하지 않음",
23
23
  "allowPath": "예, 이번만 허용",
24
24
  "denyPath": "아니요, 거부",
25
- "allowCall": "예, 이 호출을 허용",
26
- "denyCall": "아니요, 이 호출을 거부",
27
- "denyWithFeedback": "아니요, 에이전트에게 의견 전달",
28
- "feedbackPlaceholder": "대신 무엇을 할지 에이전트에게 알려 주세요…",
25
+ "allowCall": "예, 이 호출을 허용합니다",
26
+ "denyCall": "아니요, 이 호출을 거부합니다",
27
+ "denyWithFeedback": "아니요, 이유를 어시스턴트에게 알립니다",
28
+ "feedbackPlaceholder": "대신 무엇을 할지 어시스턴트에게 알려 주세요…",
29
29
  "answered": "응답함",
30
30
  "allowedBy": "{name} 님이 허용함",
31
+ "allowedWithChangesBy": "{name} 님이 변경 후 허용함",
31
32
  "deniedBy": "{name} 님이 거부함",
32
33
  "allowed": "허용됨",
34
+ "allowedWithChanges": "변경 후 허용됨",
33
35
  "denied": "거부됨",
34
36
  "allowedByReviewer": "자동 검토자가 허용함",
35
37
  "deniedByReviewer": "자동 검토자가 거부함",
36
38
  "approvalExpired": "응답 없이 만료됨",
37
39
  "approvalTimedOut": "거부됨: 제때 응답이 없음",
38
- "reviewTimedOut": "거부됨: 자동 검토자 시간 초과",
39
- "reviewFailed": "거부됨: 자동 검토자 실패",
40
+ "reviewTimedOut": "자동 검토 시간 초과",
41
+ "reviewFailed": "자동 검토 실패",
40
42
  "writeOwnAnswer": "직접 답변 작성…",
41
43
  "subagent": "작업",
42
44
  "tasks": "작업",
@@ -45,10 +47,10 @@
45
47
  "approvalOptions": "제시된 선택지",
46
48
  "approvalLabel": "응답을 기다리는 중",
47
49
  "approvalAllowed": "허용됨",
48
- "approvalDenied": "거절됨",
50
+ "approvalDenied": "거부됨",
49
51
  "approvalRequestExpired": "이 요청이 만료되었습니다. 실행하려면 다시 요청하세요.",
50
- "approvalWaitingOn": "{name} 님의 응답을 기다리는 중",
51
- "feedbackLabel": "에이전트에게 전달할 의견",
52
+ "approvalWaitingOn": "{name}님의 응답을 기다리는 중",
53
+ "feedbackLabel": "어시스턴트에 대한 피드백",
52
54
  "ownAnswerLabel": "내 답변",
53
55
  "typeYourAnswer": "답변을 입력하세요…",
54
56
  "questionsLabel": "질문",
@@ -122,7 +124,10 @@
122
124
  "remove": "대기 중인 메시지 삭제",
123
125
  "waiting": "대기 중 · 이 응답이 끝나면 전송",
124
126
  "waitingNextStep": "대기 중 · 현재 단계가 끝난 뒤 에이전트에게 전달",
125
- "handedOver": "실행 중인 턴에 전송됨"
127
+ "handedOver": "실행 중인 턴에 전송됨",
128
+ "edit": "편집",
129
+ "editLabel": "대기 중인 메시지 편집",
130
+ "editHint": "↑ 키를 눌러 대기 중인 메시지 편집"
126
131
  },
127
132
  "paste": {
128
133
  "title": "붙여넣은 텍스트",
@@ -131,7 +136,59 @@
131
136
  "remove": "붙여넣기 삭제"
132
137
  },
133
138
  "thinking": {
134
- "thoughtProcess": "사고 과정"
139
+ "label": "생각 중",
140
+ "ellipsis": "생각 중...",
141
+ "thoughtFor": "{duration} 동안 생각함",
142
+ "thoughtProcess": "사고 과정",
143
+ "activity": "활동",
144
+ "ranToolCalls": "{count, plural, other {도구 호출 #회 실행}}",
145
+ "ranToolCallsAs": "{count, plural, other {{name} 권한으로 도구 호출 #회 실행}}"
146
+ },
147
+ "activity": {
148
+ "tokens": "↑{input} ↓{output} 토큰",
149
+ "stop": "중지"
150
+ },
151
+ "input": {
152
+ "stopGenerating": "생성 중지 (Escape)",
153
+ "loadingCommands": "명령 불러오는 중...",
154
+ "emoji": "이모지"
155
+ },
156
+ "thread": {
157
+ "jumpToPrompt": "메시지로 이동: {text}"
158
+ },
159
+ "find": {
160
+ "label": "대화에서 찾기",
161
+ "count": "{current, number} / {total, number}",
162
+ "countCapped": "{current, number} / {total, number}+",
163
+ "none": "결과 없음",
164
+ "previous": "이전 항목",
165
+ "next": "다음 항목",
166
+ "close": "찾기 닫기"
167
+ },
168
+ "chrome": {
169
+ "jumpToLatest": "최신으로 이동"
170
+ },
171
+ "messageMeta": {
172
+ "copyLabel": "메시지"
173
+ },
174
+ "attachmentManager": {
175
+ "unnamedImage": "이미지 첨부 파일",
176
+ "unnamedFile": "파일",
177
+ "open": "{name} 열기",
178
+ "download": "{name} 다운로드",
179
+ "previousImage": "이전 이미지",
180
+ "nextImage": "다음 이미지",
181
+ "imagePosition": "{position, number}/{total, number}",
182
+ "fullImageFailed": "전체 이미지를 불러오지 못했습니다. 미리보기를 표시합니다."
183
+ },
184
+ "markdownImage": {
185
+ "untitled": "이미지",
186
+ "open": "GitHub에서 {name} 열기"
187
+ },
188
+ "sidebar": {
189
+ "openSidebar": "사이드바 열기",
190
+ "closeSidebar": "사이드바 닫기",
191
+ "manageProviders": "공급자 관리"
135
192
  },
136
193
  "modelPicker": {
137
194
  "choose": "모델",
@@ -1,5 +1,11 @@
1
1
  {
2
2
  "title": "pw code",
3
+ "ago": {
4
+ "now": "지금",
5
+ "minutes": "{n}분",
6
+ "hours": "{n}시간",
7
+ "days": "{n}일"
8
+ },
3
9
  "sidebar": {
4
10
  "label": "세션",
5
11
  "listNoun": "세션",
@@ -7,6 +13,7 @@
7
13
  "search": "세션 검색",
8
14
  "find": "이 세션에서 찾기",
9
15
  "noSessions": "아직 열린 세션이 없습니다",
16
+ "loading": "세션을 불러오는 중…",
10
17
  "open": "사이드바 열기",
11
18
  "close": "사이드바 닫기",
12
19
  "untitled": "제목 없음",
@@ -29,7 +36,6 @@
29
36
  "renameLabel": "세션 이름",
30
37
  "renamePlaceholder": "새 이름을 입력하세요",
31
38
  "renameAction": "이름 변경",
32
- "moreOptions": "더 보기",
33
39
  "groupNeedsYou": "확인 필요",
34
40
  "groupActive": "활성",
35
41
  "groupInactive": "비활성",
@@ -45,8 +51,6 @@
45
51
  "deleteGroupTitle": "그룹 삭제",
46
52
  "deleteGroupBody": "“{name}” 그룹이 삭제됩니다. 세션은 목록에 그대로 남습니다.",
47
53
  "groupsNeedUpdate": "{machine}의 pw를 업데이트해야 세션을 그룹에 넣을 수 있습니다",
48
- "groupWaiting": "{count, plural, other {세션 #개 확인 필요}}",
49
- "groupRunning": "{count, plural, other {세션 #개 실행 중}}",
50
54
  "pin": "고정",
51
55
  "unpin": "고정 해제",
52
56
  "pinned": "고정됨",
@@ -72,9 +76,34 @@
72
76
  "workspacePlaceholder": "/home/you/your-repo",
73
77
  "startButton": "세션 시작",
74
78
  "chooseMachine": "머신 선택",
79
+ "findingMachines": "머신을 찾는 중…",
75
80
  "notAnswering": "응답 없음 ({count})",
76
81
  "chooseDirectory": "디렉터리 선택",
77
- "otherPath": "다른 경로 사용…",
82
+ "browse": "찾아보기",
83
+ "directorySuggestions": "디렉터리",
84
+ "useDirectory": "이 디렉터리 사용",
85
+ "useTypedPath": "입력한 경로 그대로 사용",
86
+ "recentDirectories": "최근",
87
+ "inThisDirectory": "이 디렉터리 안",
88
+ "inHomeDirectory": "홈 디렉터리 안",
89
+ "parentDirectory": "상위 디렉터리",
90
+ "repository": "Git 저장소",
91
+ "openDirectory": "{name} 열기",
92
+ "directoriesLoading": "디렉터리를 나열하는 중…",
93
+ "directoryUnlisted": "{path}에 디렉터리가 없거나 이 계정으로 읽을 수 없습니다.",
94
+ "directoriesUnsupported": "이 머신의 pw code가 오래되어 디렉터리를 나열할 수 없습니다. 경로를 입력하거나 해당 머신의 pw를 업데이트하세요.",
95
+ "noDirectories": "여기에는 디렉터리가 없습니다.",
96
+ "noDirectoryMatches": "여기에 “{name}”과(와) 일치하는 디렉터리가 없습니다.",
97
+ "directoriesCut": "여기에 다 표시할 수 없을 만큼 디렉터리가 많습니다. 이름을 입력해 범위를 좁히세요.",
98
+ "pathKeys": {
99
+ "move": "이동",
100
+ "use": "사용",
101
+ "open": "열기",
102
+ "cancel": "취소"
103
+ },
104
+ "browseTitle": "{machine}에서 디렉터리 선택",
105
+ "showHidden": "숨김 디렉터리 표시",
106
+ "browseCancel": "취소",
78
107
  "composerPlaceholder": "작업을 설명하거나 질문하세요",
79
108
  "choosePermission": "에이전트가 할 수 있는 작업 선택",
80
109
  "howTitle": "연 세션이 여기에 표시됩니다",
@@ -102,7 +131,9 @@
102
131
  "running": "실행 중",
103
132
  "awaiting_approval": "승인 필요",
104
133
  "awaiting_answer": "답변 필요",
105
- "live_elsewhere": "{host}에서 실행 중"
134
+ "live_elsewhere": "{host}에서 실행 중",
135
+ "usage_limit": "사용량 한도 도달",
136
+ "usage_limit_until": "한도 {time}에 초기화"
106
137
  },
107
138
  "machine": {
108
139
  "connected": "연결됨",
@@ -126,6 +157,7 @@
126
157
  "archiveWhileRunning": "턴이 끝날 때까지 기다린 다음 /archive를 실행하세요.",
127
158
  "archived": "“{name}” 세션을 보관했습니다. 다시 사용하려면 보관됨 그룹에서 복원하세요.",
128
159
  "steerUncertain": "응답이 오지 않아 에이전트에 이미 전달되었을 수 있습니다. 다시 보내기 전에 기록을 확인하세요.",
160
+ "steerAlreadyRead": "에이전트가 이미 이 메시지를 읽어서 취소할 수 없습니다.",
129
161
  "shellStopped": "훅이 에이전트의 응답을 중지했습니다: {reason}",
130
162
  "backgroundHint": "({key} 키로 백그라운드에서 실행)",
131
163
  "backgroundTitle": "명령은 계속 실행되고, 에이전트는 기다리지 않고 작업을 이어갑니다",
@@ -158,7 +190,6 @@
158
190
  "waitingForUsageLimit": "사용량 한도가 초기화되기를 기다리는 중",
159
191
  "waitingForUsageLimitUntil": "사용량 한도가 {time}에 초기화되기를 기다리는 중",
160
192
  "switchClaudeAccount": "계정 전환",
161
- "loading": "기록 불러오는 중…",
162
193
  "cleared": "세션이 지워졌습니다. 새 세션을 표시합니다.",
163
194
  "dismiss": "닫기",
164
195
  "transcriptLabel": "세션 기록",
@@ -187,9 +218,30 @@
187
218
  "goalAchieved": "✓ 목표 달성 ({elapsed} · {turns, plural, other {#턴}} · 토큰 {tokens}개)",
188
219
  "goalContinuing": "○ 아직 목표에 도달하지 않음… 계속 진행 중",
189
220
  "goalCheckFailed": "목표 확인 실패: {error}. 목표는 그대로 설정되어 있으며 다음 턴이 끝난 후 다시 확인합니다.",
221
+ "goalCheckin": "○ 목표 중간 점검: 백그라운드 작업이 아직 실행 중 ({waited})",
190
222
  "goalUsageLimit": "사용량 한도에 도달했습니다. 목표는 {time}에 다시 확인합니다.",
191
223
  "goalActive": "목표 진행 중",
192
224
  "goalPaused": "목표 일시 중지됨",
225
+ "goalPanel": {
226
+ "title": "목표",
227
+ "loading": "목표를 읽는 중…",
228
+ "none": "이 세션에는 이제 목표가 없습니다.",
229
+ "active": "진행 중",
230
+ "paused": "일시 중지됨",
231
+ "checking": "확인 중",
232
+ "turns": "{count, plural, other {#턴 확인함}}",
233
+ "tokens": "토큰 {tokens}개",
234
+ "lastCheck": "마지막 확인",
235
+ "pausedNote": "일시 중지된 동안에는 이 목표를 위한 턴이 시작되지 않습니다. 재개하면 바로 턴이 시작됩니다.",
236
+ "edit": "편집",
237
+ "pause": "일시 중지",
238
+ "resume": "재개",
239
+ "clear": "목표 지우기",
240
+ "conditionLabel": "목표 조건",
241
+ "editHint": "진행 상황은 그대로 유지됩니다. \"또는 20턴 후 중지\"처럼 조건 자체에 한도를 정하세요.",
242
+ "cancel": "취소",
243
+ "save": "저장"
244
+ },
193
245
  "addedDirectory": "추가된 작업 디렉터리: {path}",
194
246
  "addedDirectoryAndMore": "{path} 외 {count, plural, other {작업 디렉터리 #개}}",
195
247
  "workingDirectory": "작업 디렉터리: {path}",
@@ -225,6 +277,11 @@
225
277
  "subagentMessage": "{name}의 메시지",
226
278
  "commandCompleted": "백그라운드 명령 \"{name}\" 완료됨 (종료 코드 0)",
227
279
  "commandFailed": "백그라운드 명령 \"{name}\" 실패 (종료 코드 {code})",
280
+ "monitorEvent": "모니터 이벤트: {line} · {name}",
281
+ "monitorEnded": "모니터 \"{name}\" 스트림 종료됨",
282
+ "monitorFailed": "모니터 \"{name}\" 스크립트 실패 (종료 코드 {code})",
283
+ "monitorExpired": "모니터 \"{name}\" {elapsed} 후 만료됨 ({count, plural, =0 {전달된 이벤트 없음} other {이벤트 #개 전달됨}})",
284
+ "monitorFlooded": "모니터 \"{name}\" 출력이 너무 많은 상태가 {elapsed} 동안 이어져 중지됨",
228
285
  "agentEnded": "에이전트 \"{name}\" {outcome, select, failed {실패함} other {완료됨}}",
229
286
  "agentEndedAfter": "에이전트 \"{name}\" {outcome, select, failed {실패함} other {완료됨}} · {elapsed}",
230
287
  "expandAll": "모두 펼치기",
@@ -244,6 +301,7 @@
244
301
  "hideEarlier": "이전 에이전트 {count}개 숨기기",
245
302
  "agentName": "{type}: {description}",
246
303
  "stop": "{name} 중지",
304
+ "dismiss": "목록에서 {name} 제거",
247
305
  "stopThis": "중지",
248
306
  "back": "메인으로 돌아가기",
249
307
  "tokens": "{tokens} 토큰",
@@ -258,6 +316,12 @@
258
316
  "commandsOnMain": "명령과 ! 는 메인 대화에서 실행됩니다. 사용하려면 메인으로 돌아가세요.",
259
317
  "transcriptLabel": "에이전트 기록"
260
318
  },
319
+ "tasks": {
320
+ "progress": "{total}개 중 {done}개 완료",
321
+ "more": "+{count}개 더",
322
+ "moreCompleted": "+{count}개 완료",
323
+ "fewer": "간단히 보기"
324
+ },
261
325
  "effort": {
262
326
  "label": "추론 강도",
263
327
  "named": "추론 강도: {level}",
@@ -283,6 +347,14 @@
283
347
  "plan": "계획이 작성되는 동안 작업 공간은 변경되지 않습니다."
284
348
  }
285
349
  },
350
+ "allocation": {
351
+ "notRatedInUsd": "USD로 산정되지 않음",
352
+ "noBudget": "예산이 설정되지 않음",
353
+ "noActivePeriod": "활성 기간 없음",
354
+ "budgetSpent": "예산 소진",
355
+ "noAccess": "청구용으로 공유되지 않음",
356
+ "budgetExceeded": "예산 초과"
357
+ },
286
358
  "dash": {
287
359
  "needsYou": "확인 필요",
288
360
  "waitingFor": "{when} 대기 중",
@@ -304,10 +376,7 @@
304
376
  "loadingUsage": "사용량을 불러오는 중…",
305
377
  "signedOut": "로그인되지 않음",
306
378
  "usageUnavailable": "사용량을 확인할 수 없음",
307
- "current": "선택한 계정",
308
379
  "loginOnHost": "로그인하려면 이 호스트의 pw code에서 /claude-code를 실행하세요.",
309
- "fiveHour": "5시간 {percent} 사용",
310
- "week": "주간 {percent} 사용",
311
380
  "resets": "{time}에 초기화",
312
381
  "platformModels": "플랫폼 모델",
313
382
  "shortAccount": "계정",
@@ -349,7 +418,10 @@
349
418
  "expired": "로그인이 만료되었습니다. 다시 시도하세요."
350
419
  },
351
420
  "useAccount": "사용",
352
- "accountActions": "{account} 작업"
421
+ "accountActions": "{account} 작업",
422
+ "continueOnAnother": "다른 계정으로 계속",
423
+ "moveOthers": "{count, plural, other {{account}의 다른 세션 #개도 이동}}",
424
+ "movedOthers": "{count, plural, =0 {{account}(으)로 이동한 다른 세션이 없습니다} other {다른 세션 #개를 {account}(으)로 이동했습니다}}"
353
425
  },
354
426
  "terminal": {
355
427
  "title": "터미널에서 계속하기",
@@ -24,31 +24,33 @@
24
24
  "denyPath": "否,拒绝",
25
25
  "allowCall": "是,允许此调用",
26
26
  "denyCall": "否,拒绝此调用",
27
- "denyWithFeedback": "否,并向代理提供反馈",
28
- "feedbackPlaceholder": "告诉代理改为做什么…",
27
+ "denyWithFeedback": "否,并告诉助手原因",
28
+ "feedbackPlaceholder": "告诉助手改做什么…",
29
29
  "answered": "已回答",
30
30
  "allowedBy": "{name} 已允许",
31
+ "allowedWithChangesBy": "{name} 已更改后允许",
31
32
  "deniedBy": "{name} 已拒绝",
32
33
  "allowed": "已允许",
34
+ "allowedWithChanges": "已更改后允许",
33
35
  "denied": "已拒绝",
34
36
  "allowedByReviewer": "自动审核已允许",
35
37
  "deniedByReviewer": "自动审核已拒绝",
36
38
  "approvalExpired": "已过期,未获答复",
37
39
  "approvalTimedOut": "已拒绝:未及时答复",
38
- "reviewTimedOut": "已拒绝:自动审核超时",
39
- "reviewFailed": "已拒绝:自动审核失败",
40
+ "reviewTimedOut": "自动审核超时",
41
+ "reviewFailed": "自动审核失败",
40
42
  "writeOwnAnswer": "自己写答案…",
41
43
  "subagent": "任务",
42
44
  "tasks": "任务",
43
45
  "planPending": "计划正在终端中等待批准",
44
46
  "approvalPending": "正在终端中等待答复",
45
47
  "approvalOptions": "提供的选项",
46
- "approvalLabel": "正在等待你的答复",
48
+ "approvalLabel": "正在等待你的回答",
47
49
  "approvalAllowed": "已允许",
48
50
  "approvalDenied": "已拒绝",
49
51
  "approvalRequestExpired": "此请求已过期。请重新请求以运行。",
50
- "approvalWaitingOn": "正在等待 {name} 答复",
51
- "feedbackLabel": "给代理的反馈",
52
+ "approvalWaitingOn": "正在等待 {name} 回答",
53
+ "feedbackLabel": "给助手的反馈",
52
54
  "ownAnswerLabel": "你的答案",
53
55
  "typeYourAnswer": "输入你的答案…",
54
56
  "questionsLabel": "问题",
@@ -122,7 +124,10 @@
122
124
  "remove": "移除排队的消息",
123
125
  "waiting": "排队中 · 此回复结束后发送",
124
126
  "waitingNextStep": "排队中 · 在当前步骤后送达代理",
125
- "handedOver": "已发送到正在进行的轮次"
127
+ "handedOver": "已发送到正在进行的轮次",
128
+ "edit": "编辑",
129
+ "editLabel": "编辑排队的消息",
130
+ "editHint": "按 ↑ 编辑排队的消息"
126
131
  },
127
132
  "paste": {
128
133
  "title": "粘贴的文本",
@@ -131,7 +136,59 @@
131
136
  "remove": "移除粘贴内容"
132
137
  },
133
138
  "thinking": {
134
- "thoughtProcess": "思考过程"
139
+ "label": "思考中",
140
+ "ellipsis": "思考中...",
141
+ "thoughtFor": "思考了 {duration}",
142
+ "thoughtProcess": "思考过程",
143
+ "activity": "活动",
144
+ "ranToolCalls": "{count, plural, other {运行了 # 次工具调用}}",
145
+ "ranToolCallsAs": "{count, plural, other {以 {name} 的身份运行了 # 次工具调用}}"
146
+ },
147
+ "activity": {
148
+ "tokens": "↑{input} ↓{output} 个令牌",
149
+ "stop": "停止"
150
+ },
151
+ "input": {
152
+ "stopGenerating": "停止生成 (Escape)",
153
+ "loadingCommands": "正在加载命令...",
154
+ "emoji": "表情符号"
155
+ },
156
+ "thread": {
157
+ "jumpToPrompt": "跳到消息:{text}"
158
+ },
159
+ "find": {
160
+ "label": "在对话中查找",
161
+ "count": "{current, number} / {total, number}",
162
+ "countCapped": "{current, number} / {total, number}+",
163
+ "none": "无结果",
164
+ "previous": "上一个匹配项",
165
+ "next": "下一个匹配项",
166
+ "close": "关闭查找"
167
+ },
168
+ "chrome": {
169
+ "jumpToLatest": "跳到最新"
170
+ },
171
+ "messageMeta": {
172
+ "copyLabel": "消息"
173
+ },
174
+ "attachmentManager": {
175
+ "unnamedImage": "图片附件",
176
+ "unnamedFile": "文件",
177
+ "open": "打开 {name}",
178
+ "download": "下载 {name}",
179
+ "previousImage": "上一张图片",
180
+ "nextImage": "下一张图片",
181
+ "imagePosition": "第 {position, number} 张,共 {total, number} 张",
182
+ "fullImageFailed": "无法加载完整图片,正在显示预览。"
183
+ },
184
+ "markdownImage": {
185
+ "untitled": "图片",
186
+ "open": "在 GitHub 上打开 {name}"
187
+ },
188
+ "sidebar": {
189
+ "openSidebar": "打开侧边栏",
190
+ "closeSidebar": "关闭侧边栏",
191
+ "manageProviders": "管理提供商"
135
192
  },
136
193
  "modelPicker": {
137
194
  "choose": "模型",
@@ -1,5 +1,11 @@
1
1
  {
2
2
  "title": "pw code",
3
+ "ago": {
4
+ "now": "刚刚",
5
+ "minutes": "{n}分",
6
+ "hours": "{n}小时",
7
+ "days": "{n}天"
8
+ },
3
9
  "sidebar": {
4
10
  "label": "会话",
5
11
  "listNoun": "会话",
@@ -7,6 +13,7 @@
7
13
  "search": "搜索会话",
8
14
  "find": "在此会话中查找",
9
15
  "noSessions": "还没有打开的会话",
16
+ "loading": "正在加载会话…",
10
17
  "open": "打开侧边栏",
11
18
  "close": "关闭侧边栏",
12
19
  "untitled": "未命名",
@@ -29,7 +36,6 @@
29
36
  "renameLabel": "会话名称",
30
37
  "renamePlaceholder": "输入新名称",
31
38
  "renameAction": "重命名",
32
- "moreOptions": "更多选项",
33
39
  "groupNeedsYou": "需要你处理",
34
40
  "groupActive": "活跃",
35
41
  "groupInactive": "非活跃",
@@ -45,8 +51,6 @@
45
51
  "deleteGroupTitle": "删除分组",
46
52
  "deleteGroupBody": "将删除“{name}”。其中的会话仍保留在列表中。",
47
53
  "groupsNeedUpdate": "请更新 {machine} 上的 pw,才能将其会话放入分组",
48
- "groupWaiting": "{count, plural, other {# 个会话需要你处理}}",
49
- "groupRunning": "{count, plural, other {# 个会话正在运行}}",
50
54
  "pin": "固定",
51
55
  "unpin": "取消固定",
52
56
  "pinned": "已固定",
@@ -72,9 +76,34 @@
72
76
  "workspacePlaceholder": "/home/you/your-repo",
73
77
  "startButton": "启动会话",
74
78
  "chooseMachine": "选择机器",
79
+ "findingMachines": "正在查找你的机器…",
75
80
  "notAnswering": "无响应({count})",
76
81
  "chooseDirectory": "选择目录",
77
- "otherPath": "使用其他路径…",
82
+ "browse": "浏览",
83
+ "directorySuggestions": "目录",
84
+ "useDirectory": "使用此目录",
85
+ "useTypedPath": "按输入的路径使用",
86
+ "recentDirectories": "最近",
87
+ "inThisDirectory": "此目录中",
88
+ "inHomeDirectory": "主目录中",
89
+ "parentDirectory": "上级目录",
90
+ "repository": "Git 仓库",
91
+ "openDirectory": "打开 {name}",
92
+ "directoriesLoading": "正在列出目录…",
93
+ "directoryUnlisted": "{path} 处没有目录,或此账户无法读取。",
94
+ "directoriesUnsupported": "这台机器上的 pw code 版本过旧,无法列出目录。请输入路径,或在该机器上更新 pw。",
95
+ "noDirectories": "这里没有目录。",
96
+ "noDirectoryMatches": "这里没有与“{name}”匹配的目录。",
97
+ "directoriesCut": "目录太多,这里无法全部显示。请输入名称以缩小范围。",
98
+ "pathKeys": {
99
+ "move": "移动",
100
+ "use": "使用",
101
+ "open": "打开",
102
+ "cancel": "取消"
103
+ },
104
+ "browseTitle": "在 {machine} 上选择目录",
105
+ "showHidden": "显示隐藏目录",
106
+ "browseCancel": "取消",
78
107
  "composerPlaceholder": "描述任务或提出问题",
79
108
  "choosePermission": "选择代理可以执行的操作",
80
109
  "howTitle": "你打开的会话会显示在这里",
@@ -102,7 +131,9 @@
102
131
  "running": "运行中",
103
132
  "awaiting_approval": "需要批准",
104
133
  "awaiting_answer": "需要回答",
105
- "live_elsewhere": "在 {host} 上运行"
134
+ "live_elsewhere": "在 {host} 上运行",
135
+ "usage_limit": "已达用量上限",
136
+ "usage_limit_until": "上限于 {time} 重置"
106
137
  },
107
138
  "machine": {
108
139
  "connected": "已连接",
@@ -126,6 +157,7 @@
126
157
  "archiveWhileRunning": "请等待本轮结束后再运行 /archive。",
127
158
  "archived": "已归档“{name}”。要再次使用,请从“已归档”分组中恢复。",
128
159
  "steerUncertain": "没有收到回应,这条消息可能已送达智能体。再次发送前请先查看记录。",
160
+ "steerAlreadyRead": "智能体已读取这条消息,无法撤回。",
129
161
  "shellStopped": "钩子阻止了智能体作出回应:{reason}",
130
162
  "backgroundHint": "(按 {key} 在后台运行)",
131
163
  "backgroundTitle": "命令继续运行,智能体无需等待它即可继续工作",
@@ -158,7 +190,6 @@
158
190
  "waitingForUsageLimit": "正在等待用量上限重置",
159
191
  "waitingForUsageLimitUntil": "正在等待用量上限于 {time} 重置",
160
192
  "switchClaudeAccount": "切换账户",
161
- "loading": "正在加载记录…",
162
193
  "cleared": "会话已清空,正在显示新会话。",
163
194
  "dismiss": "关闭",
164
195
  "transcriptLabel": "会话记录",
@@ -187,9 +218,30 @@
187
218
  "goalAchieved": "✓ 目标已达成({elapsed} · {turns, plural, other {# 轮}} · {tokens} 个令牌)",
188
219
  "goalContinuing": "○ 目标尚未达成……继续中",
189
220
  "goalCheckFailed": "目标检查失败:{error}。目标仍然有效,将在下一轮结束后再次检查。",
221
+ "goalCheckin": "○ 目标进展确认:后台工作仍在运行({waited})",
190
222
  "goalUsageLimit": "已达到用量上限。将在 {time} 再次检查目标。",
191
223
  "goalActive": "目标进行中",
192
224
  "goalPaused": "目标已暂停",
225
+ "goalPanel": {
226
+ "title": "目标",
227
+ "loading": "正在读取目标…",
228
+ "none": "此会话目前没有目标。",
229
+ "active": "进行中",
230
+ "paused": "已暂停",
231
+ "checking": "检查中",
232
+ "turns": "{count, plural, other {已检查 # 轮}}",
233
+ "tokens": "{tokens} 个令牌",
234
+ "lastCheck": "上次检查",
235
+ "pausedNote": "暂停期间不会为它开始新的轮次。恢复后会立即开始一轮。",
236
+ "edit": "编辑",
237
+ "pause": "暂停",
238
+ "resume": "恢复",
239
+ "clear": "清除目标",
240
+ "conditionLabel": "目标条件",
241
+ "editHint": "进度会保留。请在条件中自行设定上限,例如“或在 20 轮后停止”。",
242
+ "cancel": "取消",
243
+ "save": "保存"
244
+ },
193
245
  "addedDirectory": "已添加的工作目录:{path}",
194
246
  "addedDirectoryAndMore": "{path} 及{count, plural, other {另外 # 个工作目录}}",
195
247
  "workingDirectory": "工作目录:{path}",
@@ -225,6 +277,11 @@
225
277
  "subagentMessage": "来自 {name} 的消息",
226
278
  "commandCompleted": "后台命令“{name}”已完成(退出码 0)",
227
279
  "commandFailed": "后台命令“{name}”失败,退出码 {code}",
280
+ "monitorEvent": "监视器事件:{line} · {name}",
281
+ "monitorEnded": "监视器“{name}”的流已结束",
282
+ "monitorFailed": "监视器“{name}”的脚本失败(退出码 {code})",
283
+ "monitorExpired": "监视器“{name}”在 {elapsed} 后过期,{count, plural, =0 {未送达任何事件} other {已送达 # 个事件}}",
284
+ "monitorFlooded": "监视器“{name}”因输出过多持续 {elapsed} 而停止",
228
285
  "agentEnded": "代理“{name}”{outcome, select, failed {失败} other {已完成}}",
229
286
  "agentEndedAfter": "代理“{name}”{outcome, select, failed {失败} other {已完成}} · {elapsed}",
230
287
  "expandAll": "全部展开",
@@ -244,6 +301,7 @@
244
301
  "hideEarlier": "隐藏 {count} 个较早的代理",
245
302
  "agentName": "{type}: {description}",
246
303
  "stop": "停止 {name}",
304
+ "dismiss": "从列表中移除 {name}",
247
305
  "stopThis": "停止",
248
306
  "back": "返回主对话",
249
307
  "tokens": "{tokens} 个令牌",
@@ -258,6 +316,12 @@
258
316
  "commandsOnMain": "命令和 ! 在主对话中运行。请返回主对话后使用。",
259
317
  "transcriptLabel": "代理记录"
260
318
  },
319
+ "tasks": {
320
+ "progress": "已完成 {done}/{total}",
321
+ "more": "另外 {count} 项",
322
+ "moreCompleted": "另外 {count} 项已完成",
323
+ "fewer": "收起"
324
+ },
261
325
  "effort": {
262
326
  "label": "推理强度",
263
327
  "named": "推理强度:{level}",
@@ -283,6 +347,14 @@
283
347
  "plan": "在制定计划期间,工作区不会被更改。"
284
348
  }
285
349
  },
350
+ "allocation": {
351
+ "notRatedInUsd": "未以 USD 计价",
352
+ "noBudget": "未设置预算",
353
+ "noActivePeriod": "无进行中的周期",
354
+ "budgetSpent": "预算已用完",
355
+ "noAccess": "未与你共享计费权限",
356
+ "budgetExceeded": "预算已超出"
357
+ },
286
358
  "dash": {
287
359
  "needsYou": "需要你处理",
288
360
  "waitingFor": "已等待 {when}",
@@ -304,10 +376,7 @@
304
376
  "loadingUsage": "正在加载用量…",
305
377
  "signedOut": "未登录",
306
378
  "usageUnavailable": "用量不可用",
307
- "current": "已选择的账户",
308
379
  "loginOnHost": "如需登录,请在此主机的 pw code 中运行 /claude-code。",
309
- "fiveHour": "5 小时已使用 {percent}",
310
- "week": "本周已使用 {percent}",
311
380
  "resets": "于 {time} 重置",
312
381
  "platformModels": "平台模型",
313
382
  "shortAccount": "账户",
@@ -349,7 +418,10 @@
349
418
  "expired": "登录已过期。请重试。"
350
419
  },
351
420
  "useAccount": "使用",
352
- "accountActions": "{account} 的操作"
421
+ "accountActions": "{account} 的操作",
422
+ "continueOnAnother": "改用其他账户继续",
423
+ "moveOthers": "{count, plural, other {同时移动 {account} 上的其他 # 个会话}}",
424
+ "movedOthers": "{count, plural, =0 {没有其他会话移至 {account}} other {已将其他 # 个会话移至 {account}}}"
353
425
  },
354
426
  "terminal": {
355
427
  "title": "在终端中继续",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/code",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Shared client logic for pw code sessions on Parallel Works ACTIVATE: the session wire types, the transcript a session's history and event stream reduce to, and the words a session is shown in",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Parallel Works <support@parallelworks.com>",
@@ -23,7 +23,8 @@
23
23
  "luxon": "^3.7.2"
24
24
  },
25
25
  "peerDependencies": {
26
- "@parallelworks/ui": ">=0.132.0 <1",
26
+ "@parallelworks/problem": ">=0.6.1 <1",
27
+ "@parallelworks/ui": ">=0.136.0 <1",
27
28
  "openapi-fetch": "^0.17.0",
28
29
  "react": "^19.0.0",
29
30
  "swr": "^2.0.0",
@@ -32,7 +33,8 @@
32
33
  "devDependencies": {
33
34
  "@arethetypeswrong/cli": "^0.18.5",
34
35
  "@parallelworks/i18n": "^0.3.0",
35
- "@parallelworks/ui": "^0.134.0",
36
+ "@parallelworks/problem": "^0.6.1",
37
+ "@parallelworks/ui": "^0.145.1",
36
38
  "@testing-library/dom": "^10.4.2",
37
39
  "@testing-library/react": "^16.3.3",
38
40
  "@types/luxon": "^3.7.6",
@@ -62,6 +64,7 @@
62
64
  "test": "vitest run",
63
65
  "lint:package": "publint --strict",
64
66
  "verify:pack": "node scripts/verify-pack.mjs",
67
+ "verify:hermes": "node scripts/verify-hermes.mjs",
65
68
  "validate-locales": "parallelworks-i18n check --dir locales",
66
69
  "locales:index": "parallelworks-i18n index --dir locales",
67
70
  "find-dead-locale-keys": "parallelworks-i18n unused --dir locales --src src --src ../web"