viveworker 0.1.2 → 0.1.4

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.
package/web/i18n.js CHANGED
@@ -106,6 +106,9 @@ const translations = {
106
106
  "detail.approvalRequested": "Approval requested.",
107
107
  "detail.planReady": "Plan is ready.",
108
108
  "detail.previousMessage": "Previous message",
109
+ "detail.interruptedTask": "Interrupted task",
110
+ "detail.imageAlt": ({ index }) => `Attached image ${index}`,
111
+ "detail.turnAbortedNotice": "This task was interrupted.",
109
112
  "detail.macOnlyChoice": "Please answer this type of input on the Mac.",
110
113
  "detail.detailUnavailable": "Detail not available.",
111
114
  "detail.pageProgress": ({ page, totalPages }) => `Page ${page} / ${totalPages}`,
@@ -115,10 +118,11 @@ const translations = {
115
118
  "reply.fieldLabel": "Message",
116
119
  "reply.placeholder": "Ask Codex to continue, refine the result, or try a different approach.",
117
120
  "reply.imageLabel": "Image",
118
- "reply.imageAdd": "Add image",
121
+ "reply.imageAdd": "Add images",
122
+ "reply.imageAddMore": "Add more images",
119
123
  "reply.imageReplace": "Replace image",
120
124
  "reply.imageRemove": "Remove",
121
- "reply.imageHint": "Attach one image from your iPhone and send it together with your message.",
125
+ "reply.imageHint": "Attach up to {count} images from your iPhone and send them together with your message.",
122
126
  "reply.imageAttached": "Attached image",
123
127
  "reply.send": "Send to Codex",
124
128
  "reply.sendConfirm": "Send anyway",
@@ -293,9 +297,8 @@ const translations = {
293
297
  "error.completionReplyEmpty": "Enter a message before sending it.",
294
298
  "error.completionReplyImageInvalidType": "Choose an image file to attach.",
295
299
  "error.completionReplyImageTooLarge": "That image is too large to send from this reply screen.",
296
- "error.completionReplyImageLimit": "Attach one image at a time for now.",
300
+ "error.completionReplyImageLimit": "Attach up to {count} images at a time.",
297
301
  "error.completionReplyImageInvalidUpload": "That image could not be uploaded.",
298
- "error.completionReplyImageDisabled": "Image attachments are not available in this release.",
299
302
  "error.codexIpcNotConnected": "Codex desktop is not connected right now.",
300
303
  "error.approvalNotFound": "This approval is no longer available.",
301
304
  "error.approvalAlreadyHandled": "This approval was already handled.",
@@ -329,6 +332,7 @@ const translations = {
329
332
  "server.message.approvalNeededInCodex": "Approval needed in Codex.",
330
333
  "server.message.extraApprovals": ({ count }) => `Extra approvals: ${count}`,
331
334
  "server.message.taskFinished": "Task finished.",
335
+ "server.message.turnAborted": "This task was interrupted.",
332
336
  "server.message.planReady": "Plan is ready.",
333
337
  "server.message.choiceSubmitted": "The selected answers were sent to Codex.",
334
338
  "server.message.choiceSubmittedTest": "The test answers were received.",
@@ -559,6 +563,9 @@ const translations = {
559
563
  "detail.approvalRequested": "承認が必要です。",
560
564
  "detail.planReady": "プランの確認が必要です。",
561
565
  "detail.previousMessage": "ひとつ前のメッセージ",
566
+ "detail.interruptedTask": "中断されたタスク",
567
+ "detail.imageAlt": ({ index }) => `添付画像 ${index}`,
568
+ "detail.turnAbortedNotice": "タスクを中断しました。",
562
569
  "detail.macOnlyChoice": "この種類の入力は Mac で回答してください。",
563
570
  "detail.detailUnavailable": "詳細は利用できません。",
564
571
  "detail.pageProgress": ({ page, totalPages }) => `${page} / ${totalPages} ページ`,
@@ -569,9 +576,10 @@ const translations = {
569
576
  "reply.placeholder": "続きを依頼したり、結果の修正や別案を Codex に伝えます。",
570
577
  "reply.imageLabel": "画像",
571
578
  "reply.imageAdd": "画像を追加",
579
+ "reply.imageAddMore": "さらに画像を追加",
572
580
  "reply.imageReplace": "画像を差し替え",
573
581
  "reply.imageRemove": "削除",
574
- "reply.imageHint": "iPhone の画像を 1 枚だけ添付して、メッセージと一緒に送れます。",
582
+ "reply.imageHint": "iPhone の画像を最大 {count} 枚まで添付して、メッセージと一緒に送れます。",
575
583
  "reply.imageAttached": "添付した画像",
576
584
  "reply.send": "Codex に送信",
577
585
  "reply.sendConfirm": "それでも送信",
@@ -746,9 +754,8 @@ const translations = {
746
754
  "error.completionReplyEmpty": "送信前にメッセージを入力してください。",
747
755
  "error.completionReplyImageInvalidType": "添付できるのは画像ファイルのみです。",
748
756
  "error.completionReplyImageTooLarge": "この画面から送るには画像が大きすぎます。",
749
- "error.completionReplyImageLimit": "いまは画像を 1 枚ずつ添付してください。",
757
+ "error.completionReplyImageLimit": "画像は最大 {count} 枚まで添付できます。",
750
758
  "error.completionReplyImageInvalidUpload": "この画像はアップロードできませんでした。",
751
- "error.completionReplyImageDisabled": "このリリースでは画像添付はまだ利用できません。",
752
759
  "error.codexIpcNotConnected": "いまは Codex desktop に接続できていません。",
753
760
  "error.approvalNotFound": "この承認はもう利用できません。",
754
761
  "error.approvalAlreadyHandled": "この承認はすでに処理済みです。",
@@ -782,6 +789,7 @@ const translations = {
782
789
  "server.message.approvalNeededInCodex": "Codex で承認が必要です。",
783
790
  "server.message.extraApprovals": ({ count }) => `追加の承認: ${count}`,
784
791
  "server.message.taskFinished": "タスクが完了しました。",
792
+ "server.message.turnAborted": "タスクを中断しました。",
785
793
  "server.message.planReady": "プランの確認が必要です。",
786
794
  "server.message.choiceSubmitted": "選択内容を Codex に送信しました。",
787
795
  "server.message.choiceSubmittedTest": "テスト回答を受け取りました。",
package/web/sw.js CHANGED
@@ -1,4 +1,4 @@
1
- const CACHE_NAME = "viveworker-v4";
1
+ const CACHE_NAME = "viveworker-v6";
2
2
  const APP_ASSETS = ["/app.css", "/app.js", "/i18n.js"];
3
3
  const APP_ROUTES = new Set(["/", "/app", "/app/"]);
4
4
  const CACHED_PATHS = new Set(APP_ASSETS);