wecool-chat 0.8.0 → 0.10.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.
- package/CHANGELOG.md +83 -0
- package/README.ja.md +234 -20
- package/README.md +419 -21
- package/dist/CopyIndicator-RR3hSsBA.js +51 -0
- package/dist/MarkdownBody-EIz0jnQy.js +14910 -0
- package/dist/VoiceControls-A7N4uPTo.js +146 -0
- package/dist/VoiceRuntime-DrYjNkZK.js +459 -0
- package/dist/abort-BjeyCmGn.js +6 -0
- package/dist/blank-line-CUDmZ-mX.js +143 -0
- package/dist/{browser-Cgo1GySj.js → browser-M7mS-hAN.js} +5 -5
- package/dist/clsx-Cf23UI1w.js +16 -0
- package/dist/core/client.d.ts +37 -4
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/consume-stream.d.ts.map +1 -1
- package/dist/core/error-reporter.d.ts +59 -0
- package/dist/core/error-reporter.d.ts.map +1 -0
- package/dist/core/global-error-capture.d.ts +10 -0
- package/dist/core/global-error-capture.d.ts.map +1 -0
- package/dist/core/i18n/messages.d.ts +139 -1
- package/dist/core/i18n/messages.d.ts.map +1 -1
- package/dist/core/sanitize-user-message.d.ts +11 -0
- package/dist/core/sanitize-user-message.d.ts.map +1 -0
- package/dist/core/stream-state.d.ts.map +1 -1
- package/dist/core/tool-confirmation.d.ts +35 -0
- package/dist/core/tool-confirmation.d.ts.map +1 -0
- package/dist/core/tool-runner.d.ts +8 -0
- package/dist/core/tool-runner.d.ts.map +1 -1
- package/dist/core/types.d.ts +123 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/widget-origin.d.ts +33 -0
- package/dist/core/widget-origin.d.ts.map +1 -0
- package/dist/createLucideIcon-C7wGkK-Q.js +43 -0
- package/dist/default-sNAxTmdF.js +8 -0
- package/dist/index.css +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7548 -26290
- package/dist/jsx-runtime-Cyy0mp0f.js +328 -0
- package/dist/lib-DG_DjiCr.js +15 -0
- package/dist/loader.d.ts +12 -0
- package/dist/loader.d.ts.map +1 -0
- package/dist/messages-FvtWi3lI.js +247 -0
- package/dist/observe/__tests__/format.test.d.ts +2 -0
- package/dist/observe/__tests__/format.test.d.ts.map +1 -0
- package/dist/observe/__tests__/http.test.d.ts +2 -0
- package/dist/observe/__tests__/http.test.d.ts.map +1 -0
- package/dist/observe/__tests__/index.test.d.ts +2 -0
- package/dist/observe/__tests__/index.test.d.ts.map +1 -0
- package/dist/observe/__tests__/js-error.test.d.ts +2 -0
- package/dist/observe/__tests__/js-error.test.d.ts.map +1 -0
- package/dist/observe/__tests__/redact.test.d.ts +2 -0
- package/dist/observe/__tests__/redact.test.d.ts.map +1 -0
- package/dist/observe/__tests__/ring-buffer.test.d.ts +2 -0
- package/dist/observe/__tests__/ring-buffer.test.d.ts.map +1 -0
- package/dist/observe/format.d.ts +10 -0
- package/dist/observe/format.d.ts.map +1 -0
- package/dist/observe/index.d.ts +33 -0
- package/dist/observe/index.d.ts.map +1 -0
- package/dist/observe/observers/http.d.ts +24 -0
- package/dist/observe/observers/http.d.ts.map +1 -0
- package/dist/observe/observers/js-error.d.ts +22 -0
- package/dist/observe/observers/js-error.d.ts.map +1 -0
- package/dist/observe/redact.d.ts +27 -0
- package/dist/observe/redact.d.ts.map +1 -0
- package/dist/observe/ring-buffer.d.ts +20 -0
- package/dist/observe/ring-buffer.d.ts.map +1 -0
- package/dist/observe/types.d.ts +25 -0
- package/dist/observe/types.d.ts.map +1 -0
- package/dist/plugin/registry.d.ts.map +1 -1
- package/dist/plugin/types.d.ts +19 -1
- package/dist/plugin/types.d.ts.map +1 -1
- package/dist/plugins/page-reader/__tests__/get-meta.test.d.ts +2 -0
- package/dist/plugins/page-reader/__tests__/get-meta.test.d.ts.map +1 -0
- package/dist/plugins/page-reader/__tests__/index.test.d.ts +2 -0
- package/dist/plugins/page-reader/__tests__/index.test.d.ts.map +1 -0
- package/dist/plugins/page-reader/__tests__/read-content.test.d.ts +2 -0
- package/dist/plugins/page-reader/__tests__/read-content.test.d.ts.map +1 -0
- package/dist/plugins/page-reader/__tests__/scroll.test.d.ts +2 -0
- package/dist/plugins/page-reader/__tests__/scroll.test.d.ts.map +1 -0
- package/dist/plugins/page-reader/index.d.ts +18 -0
- package/dist/plugins/page-reader/index.d.ts.map +1 -0
- package/dist/plugins/page-reader/tools/get-meta.d.ts +29 -0
- package/dist/plugins/page-reader/tools/get-meta.d.ts.map +1 -0
- package/dist/plugins/page-reader/tools/read-content.d.ts +34 -0
- package/dist/plugins/page-reader/tools/read-content.d.ts.map +1 -0
- package/dist/plugins/page-reader/tools/scroll.d.ts +29 -0
- package/dist/plugins/page-reader/tools/scroll.d.ts.map +1 -0
- package/dist/plugins/page-reader.d.ts +2 -0
- package/dist/plugins/page-reader.js +230 -0
- package/dist/plugins/qrcode/tool.d.ts.map +1 -1
- package/dist/plugins/qrcode.js +52 -42
- package/dist/plugins/shared/abort.d.ts +7 -0
- package/dist/plugins/shared/abort.d.ts.map +1 -0
- package/dist/remark-gfm-Bzy1u34W.js +1962 -0
- package/dist/remark-parse-BnwSmQr-.js +2486 -0
- package/dist/stable-prefix-BHsGj4tL.js +21 -0
- package/dist/ui/builtin-tools/get-current-page-info.d.ts.map +1 -1
- package/dist/ui/builtin-tools/index.d.ts +1 -1
- package/dist/ui/builtin-tools/index.d.ts.map +1 -1
- package/dist/ui/builtin-tools/merge-builtin-tools.d.ts +9 -0
- package/dist/ui/builtin-tools/merge-builtin-tools.d.ts.map +1 -1
- package/dist/ui/commands/builtin-commands.d.ts +46 -0
- package/dist/ui/commands/builtin-commands.d.ts.map +1 -0
- package/dist/ui/components/ChatErrorBoundary.d.ts +30 -0
- package/dist/ui/components/ChatErrorBoundary.d.ts.map +1 -0
- package/dist/ui/components/ChatFooter.d.ts +32 -2
- package/dist/ui/components/ChatFooter.d.ts.map +1 -1
- package/dist/ui/components/ChatHeader.d.ts +13 -2
- package/dist/ui/components/ChatHeader.d.ts.map +1 -1
- package/dist/ui/components/ChatHeaderMenu.d.ts +28 -2
- package/dist/ui/components/ChatHeaderMenu.d.ts.map +1 -1
- package/dist/ui/components/ChatPanel.d.ts +38 -4
- package/dist/ui/components/ChatPanel.d.ts.map +1 -1
- package/dist/ui/components/ChatWidget.d.ts +1 -1
- package/dist/ui/components/ChatWidget.d.ts.map +1 -1
- package/dist/ui/components/CommandConfirmationCard.d.ts +28 -0
- package/dist/ui/components/CommandConfirmationCard.d.ts.map +1 -0
- package/dist/ui/components/CommandOverlays.d.ts +40 -0
- package/dist/ui/components/CommandOverlays.d.ts.map +1 -0
- package/dist/ui/components/CommandPalette.d.ts +25 -0
- package/dist/ui/components/CommandPalette.d.ts.map +1 -0
- package/dist/ui/components/FooterActions.d.ts +18 -0
- package/dist/ui/components/FooterActions.d.ts.map +1 -0
- package/dist/ui/components/HelpDialogContent.d.ts +7 -0
- package/dist/ui/components/HelpDialogContent.d.ts.map +1 -0
- package/dist/ui/components/MessageList.d.ts +12 -1
- package/dist/ui/components/MessageList.d.ts.map +1 -1
- package/dist/ui/components/MessageRow.d.ts +7 -1
- package/dist/ui/components/MessageRow.d.ts.map +1 -1
- package/dist/ui/components/MessageRowActions.d.ts +9 -3
- package/dist/ui/components/MessageRowActions.d.ts.map +1 -1
- package/dist/ui/components/MicButton.d.ts +11 -0
- package/dist/ui/components/MicButton.d.ts.map +1 -0
- package/dist/ui/components/ResizeHandles.d.ts +15 -0
- package/dist/ui/components/ResizeHandles.d.ts.map +1 -0
- package/dist/ui/components/ToolConfirmationCard.d.ts +22 -0
- package/dist/ui/components/ToolConfirmationCard.d.ts.map +1 -0
- package/dist/ui/components/ToolConfirmationRecord.d.ts +16 -0
- package/dist/ui/components/ToolConfirmationRecord.d.ts.map +1 -0
- package/dist/ui/components/ToolsDialogContent.d.ts +20 -0
- package/dist/ui/components/ToolsDialogContent.d.ts.map +1 -0
- package/dist/ui/components/VoiceControls.d.ts +22 -0
- package/dist/ui/components/VoiceControls.d.ts.map +1 -0
- package/dist/ui/components/VoiceLoopStatusBar.d.ts +17 -0
- package/dist/ui/components/VoiceLoopStatusBar.d.ts.map +1 -0
- package/dist/ui/components/VoiceLoopToggle.d.ts +15 -0
- package/dist/ui/components/VoiceLoopToggle.d.ts.map +1 -0
- package/dist/ui/components/VoiceRuntime.d.ts +16 -0
- package/dist/ui/components/VoiceRuntime.d.ts.map +1 -0
- package/dist/ui/components/WidgetDialog.d.ts +22 -0
- package/dist/ui/components/WidgetDialog.d.ts.map +1 -0
- package/dist/ui/components/lazy-voice.d.ts +19 -0
- package/dist/ui/components/lazy-voice.d.ts.map +1 -0
- package/dist/ui/components/markdown/MarkdownBody.d.ts +28 -0
- package/dist/ui/components/markdown/MarkdownBody.d.ts.map +1 -0
- package/dist/ui/components/markdown/MarkdownMessage.d.ts +12 -13
- package/dist/ui/components/markdown/MarkdownMessage.d.ts.map +1 -1
- package/dist/ui/hooks/conversationPersistence.d.ts +21 -0
- package/dist/ui/hooks/conversationPersistence.d.ts.map +1 -0
- package/dist/ui/hooks/resize-geometry.d.ts +42 -0
- package/dist/ui/hooks/resize-geometry.d.ts.map +1 -0
- package/dist/ui/hooks/use-command-execution.d.ts +60 -0
- package/dist/ui/hooks/use-command-execution.d.ts.map +1 -0
- package/dist/ui/hooks/use-command-palette.d.ts +45 -0
- package/dist/ui/hooks/use-command-palette.d.ts.map +1 -0
- package/dist/ui/hooks/use-fullscreen.d.ts +21 -0
- package/dist/ui/hooks/use-fullscreen.d.ts.map +1 -0
- package/dist/ui/hooks/use-global-error-capture.d.ts +16 -0
- package/dist/ui/hooks/use-global-error-capture.d.ts.map +1 -0
- package/dist/ui/hooks/use-locale-preference.d.ts +14 -0
- package/dist/ui/hooks/use-locale-preference.d.ts.map +1 -0
- package/dist/ui/hooks/use-menu-keyboard.d.ts +7 -1
- package/dist/ui/hooks/use-menu-keyboard.d.ts.map +1 -1
- package/dist/ui/hooks/use-message-history.d.ts +14 -0
- package/dist/ui/hooks/use-message-history.d.ts.map +1 -1
- package/dist/ui/hooks/use-mic-button.d.ts +29 -0
- package/dist/ui/hooks/use-mic-button.d.ts.map +1 -0
- package/dist/ui/hooks/use-send-message.d.ts +6 -0
- package/dist/ui/hooks/use-send-message.d.ts.map +1 -1
- package/dist/ui/hooks/use-speak-message.d.ts +26 -0
- package/dist/ui/hooks/use-speak-message.d.ts.map +1 -0
- package/dist/ui/hooks/use-tool-confirmation.d.ts +22 -0
- package/dist/ui/hooks/use-tool-confirmation.d.ts.map +1 -0
- package/dist/ui/hooks/use-tool-runner.d.ts +17 -2
- package/dist/ui/hooks/use-tool-runner.d.ts.map +1 -1
- package/dist/ui/hooks/use-visitor-id.d.ts +22 -0
- package/dist/ui/hooks/use-visitor-id.d.ts.map +1 -0
- package/dist/ui/hooks/use-voice-input.d.ts +38 -0
- package/dist/ui/hooks/use-voice-input.d.ts.map +1 -0
- package/dist/ui/hooks/use-voice-loop-speech.d.ts +38 -0
- package/dist/ui/hooks/use-voice-loop-speech.d.ts.map +1 -0
- package/dist/ui/hooks/use-voice-loop.d.ts +12 -0
- package/dist/ui/hooks/use-voice-loop.d.ts.map +1 -0
- package/dist/ui/hooks/use-voice-runtime-snapshot.d.ts +19 -0
- package/dist/ui/hooks/use-voice-runtime-snapshot.d.ts.map +1 -0
- package/dist/ui/hooks/use-voice-runtime.d.ts +29 -0
- package/dist/ui/hooks/use-voice-runtime.d.ts.map +1 -0
- package/dist/ui/hooks/useChatStream.d.ts +19 -0
- package/dist/ui/hooks/useChatStream.d.ts.map +1 -1
- package/dist/ui/hooks/useConversationList.d.ts +12 -1
- package/dist/ui/hooks/useConversationList.d.ts.map +1 -1
- package/dist/ui/hooks/useDraggablePanel.d.ts +2 -0
- package/dist/ui/hooks/useDraggablePanel.d.ts.map +1 -1
- package/dist/ui/hooks/useResizablePanel.d.ts +48 -0
- package/dist/ui/hooks/useResizablePanel.d.ts.map +1 -0
- package/dist/ui/utils/speech-text.d.ts +29 -0
- package/dist/ui/utils/speech-text.d.ts.map +1 -0
- package/dist/ui/utils/voice-locale.d.ts +3 -0
- package/dist/ui/utils/voice-locale.d.ts.map +1 -0
- package/dist/ui/utils/voice-loop-cue.d.ts +23 -0
- package/dist/ui/utils/voice-loop-cue.d.ts.map +1 -0
- package/dist/ui/utils/voice-loop-status.d.ts +17 -0
- package/dist/ui/utils/voice-loop-status.d.ts.map +1 -0
- package/dist/ui/utils/voice-loop-types.d.ts +40 -0
- package/dist/ui/utils/voice-loop-types.d.ts.map +1 -0
- package/dist/ui/utils/voice-runtime.d.ts +38 -0
- package/dist/ui/utils/voice-runtime.d.ts.map +1 -0
- package/dist/ui/utils/voice-support.d.ts +9 -0
- package/dist/ui/utils/voice-support.d.ts.map +1 -0
- package/dist/unified-DctkAd9P.js +518 -0
- package/dist/use-voice-input-LtJJz-zQ.js +102 -0
- package/dist/version.d.ts +17 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/voice-runtime-F5NxN_0m.js +11 -0
- package/dist/voice-support-BeOiOzcn.js +9 -0
- package/package.json +41 -23
- package/dist/messages-B7Kpa6yx.js +0 -117
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wecool-chat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Drop-in LLM chat widget that executes your JavaScript functions via natural language",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"types": "./dist/plugins/qrcode.d.ts",
|
|
23
23
|
"import": "./dist/plugins/qrcode.js"
|
|
24
24
|
},
|
|
25
|
+
"./plugins/page-reader": {
|
|
26
|
+
"types": "./dist/plugins/page-reader.d.ts",
|
|
27
|
+
"import": "./dist/plugins/page-reader.js"
|
|
28
|
+
},
|
|
25
29
|
"./styles.css": "./dist/index.css"
|
|
26
30
|
},
|
|
27
31
|
"typesVersions": {
|
|
@@ -31,12 +35,16 @@
|
|
|
31
35
|
],
|
|
32
36
|
"plugins/qrcode": [
|
|
33
37
|
"./dist/plugins/qrcode.d.ts"
|
|
38
|
+
],
|
|
39
|
+
"plugins/page-reader": [
|
|
40
|
+
"./dist/plugins/page-reader.d.ts"
|
|
34
41
|
]
|
|
35
42
|
}
|
|
36
43
|
},
|
|
37
44
|
"files": [
|
|
38
45
|
"dist",
|
|
39
46
|
"!dist/__tests__",
|
|
47
|
+
"!dist/widget.js",
|
|
40
48
|
"docs/screenshots",
|
|
41
49
|
"README.md",
|
|
42
50
|
"README.ja.md",
|
|
@@ -47,38 +55,44 @@
|
|
|
47
55
|
},
|
|
48
56
|
"dependencies": {
|
|
49
57
|
"clsx": "^2.1.1",
|
|
50
|
-
"highlight.js": "^11.
|
|
51
|
-
"lucide-react": "^
|
|
58
|
+
"highlight.js": "^11.12.0",
|
|
59
|
+
"lucide-react": "^1.25.0",
|
|
52
60
|
"qrcode": "^1.5.4",
|
|
53
|
-
"react": "^19.2.
|
|
54
|
-
"react-dom": "^19.2.
|
|
61
|
+
"react": "^19.2.8",
|
|
62
|
+
"react-dom": "^19.2.8",
|
|
55
63
|
"react-markdown": "^10.1.0",
|
|
56
64
|
"rehype-highlight": "^7.0.2",
|
|
57
|
-
"remark-gfm": "^4.0.1"
|
|
65
|
+
"remark-gfm": "^4.0.1",
|
|
66
|
+
"remark-parse": "^11.0.0",
|
|
67
|
+
"unified": "^11.0.5"
|
|
58
68
|
},
|
|
59
69
|
"devDependencies": {
|
|
60
70
|
"@eslint/js": "^10.0.1",
|
|
71
|
+
"@size-limit/file": "^12.1.0",
|
|
72
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
73
|
+
"@testing-library/react": "^16.3.3",
|
|
74
|
+
"@testing-library/user-event": "^14.6.7",
|
|
61
75
|
"@types/qrcode": "^1.5.5",
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"axe-core": "^4.12.1",
|
|
71
|
-
"eslint": "^10.4.1",
|
|
76
|
+
"@types/react": "^19.2.18",
|
|
77
|
+
"@types/react-dom": "^19.2.7",
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
79
|
+
"@typescript-eslint/parser": "^8.69.0",
|
|
80
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
81
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
82
|
+
"axe-core": "^4.13.0",
|
|
83
|
+
"eslint": "^10.9.1",
|
|
72
84
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
73
|
-
"globals": "^17.
|
|
85
|
+
"globals": "^17.12.0",
|
|
74
86
|
"jsdom": "^29.1.1",
|
|
75
|
-
"react": "^19.2.
|
|
76
|
-
"react-dom": "^19.2.
|
|
77
|
-
"
|
|
87
|
+
"react": "^19.2.8",
|
|
88
|
+
"react-dom": "^19.2.8",
|
|
89
|
+
"rollup-plugin-visualizer": "^7.1.1",
|
|
90
|
+
"size-limit": "^12.1.0",
|
|
91
|
+
"tailwindcss": "^4.3.3",
|
|
78
92
|
"typescript": "^5.9.3",
|
|
79
|
-
"vite": "^8.
|
|
80
|
-
"vite-plugin-dts": "^5.0
|
|
81
|
-
"vitest": "^4.1.
|
|
93
|
+
"vite": "^8.2.2",
|
|
94
|
+
"vite-plugin-dts": "^5.1.0",
|
|
95
|
+
"vitest": "^4.1.11"
|
|
82
96
|
},
|
|
83
97
|
"keywords": [
|
|
84
98
|
"llm",
|
|
@@ -101,8 +115,12 @@
|
|
|
101
115
|
"author": "wecool-dev",
|
|
102
116
|
"scripts": {
|
|
103
117
|
"build": "tsc && vite build",
|
|
118
|
+
"build:loader": "vite build --config vite.config.loader.ts",
|
|
119
|
+
"size": "size-limit",
|
|
120
|
+
"analyze": "ANALYZE=true vite build",
|
|
104
121
|
"lint": "eslint src",
|
|
105
122
|
"test": "vitest run",
|
|
123
|
+
"test:coverage": "vitest run --coverage",
|
|
106
124
|
"test:watch": "vitest",
|
|
107
125
|
"check:styles": "node ../../scripts/ci-check-styles.mjs"
|
|
108
126
|
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
var u = Object.create, r = Object.defineProperty, d = Object.getOwnPropertyDescriptor, h = Object.getOwnPropertyNames, m = Object.getPrototypeOf, y = Object.prototype.hasOwnProperty, A = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), v = (e, t) => {
|
|
2
|
-
let a = {};
|
|
3
|
-
for (var n in e)
|
|
4
|
-
r(a, n, {
|
|
5
|
-
get: e[n],
|
|
6
|
-
enumerable: !0
|
|
7
|
-
});
|
|
8
|
-
return t || r(a, Symbol.toStringTag, { value: "Module" }), a;
|
|
9
|
-
}, b = (e, t, a, n) => {
|
|
10
|
-
if (t && typeof t == "object" || typeof t == "function")
|
|
11
|
-
for (var i = h(t), s = 0, g = i.length, o; s < g; s++)
|
|
12
|
-
o = i[s], !y.call(e, o) && o !== a && r(e, o, {
|
|
13
|
-
get: ((p) => t[p]).bind(null, o),
|
|
14
|
-
enumerable: !(n = d(t, o)) || n.enumerable
|
|
15
|
-
});
|
|
16
|
-
return e;
|
|
17
|
-
}, L = (e, t, a) => (a = e != null ? u(m(e)) : {}, b(t || !e || !e.__esModule ? r(a, "default", {
|
|
18
|
-
value: e,
|
|
19
|
-
enumerable: !0
|
|
20
|
-
}) : a, e)), c = {
|
|
21
|
-
inputPlaceholder: "メッセージを入力...",
|
|
22
|
-
emptyState: "メッセージを入力してください",
|
|
23
|
-
errorGeneric: "エラーが発生しました。しばらくしてからお試しください。",
|
|
24
|
-
stopButton: "停止",
|
|
25
|
-
sendButton: "送信",
|
|
26
|
-
clearButton: "クリア",
|
|
27
|
-
closeButton: "閉じる",
|
|
28
|
-
closeChat: "チャットを閉じる",
|
|
29
|
-
openChat: "チャットを開く",
|
|
30
|
-
responseStoppedAnnouncement: "応答を停止しました",
|
|
31
|
-
messageActionsToggle: "メッセージアクションを表示",
|
|
32
|
-
regenerateLabel: "再生成",
|
|
33
|
-
regenerateAria: "メッセージを再生成",
|
|
34
|
-
copyLabel: "コピー",
|
|
35
|
-
copiedLabel: "コピーしました",
|
|
36
|
-
copyMessageAria: "メッセージをコピー",
|
|
37
|
-
copyMessageAnnouncement: "メッセージをコピーしました",
|
|
38
|
-
copyCodeAria: "コードをコピー",
|
|
39
|
-
copyCodeAnnouncement: "コードをコピーしました",
|
|
40
|
-
editLabel: "編集",
|
|
41
|
-
editMessageAria: "メッセージを編集",
|
|
42
|
-
cancelEditLabel: "キャンセル",
|
|
43
|
-
cancelEditAria: "編集をキャンセル",
|
|
44
|
-
saveEditAria: "編集を保存して送信",
|
|
45
|
-
chatDialogTitle: "wecool チャット",
|
|
46
|
-
chatDialogDescription: "AI チャットアシスタント",
|
|
47
|
-
messageLogLabel: "チャット履歴",
|
|
48
|
-
loadingAnnouncement: "AI が応答を生成中",
|
|
49
|
-
inputLabel: "メッセージを入力",
|
|
50
|
-
downloadAttachment: "ダウンロード",
|
|
51
|
-
dragHandleLabel: "ドラッグまたは矢印キーでウィンドウを移動",
|
|
52
|
-
resetPositionButton: "位置をリセット",
|
|
53
|
-
settingsMenuToggle: "設定メニューを開く",
|
|
54
|
-
newConversationOption: "+ 新しい会話",
|
|
55
|
-
conversationSelectLabel: "会話を選択",
|
|
56
|
-
stopFallbackUserMessage: "処理を中断しました。",
|
|
57
|
-
maxTurnsReached: "最大試行回数に達しました。条件を変えてもう一度お試しください。",
|
|
58
|
-
errorMessageTooLong: "メッセージが長すぎます。10,000 文字以内に収めてください。",
|
|
59
|
-
errorInvalidRequest: "リクエストの形式が正しくありません。",
|
|
60
|
-
errorRateLimit: "アクセスが集中しています。1 分ほど待ってからもう一度お試しください。",
|
|
61
|
-
errorDailyLimit: "本日の利用上限に達しました。明日以降にもう一度お試しください。",
|
|
62
|
-
errorMonthlyLimit: "今月の利用上限に達しました。プランの利用状況をご確認ください。",
|
|
63
|
-
qrcodeStopTextTooLong: "テキストが長すぎます。{max} 文字以内に収めてもう一度お試しください。"
|
|
64
|
-
}, l = {
|
|
65
|
-
ja: c,
|
|
66
|
-
en: {
|
|
67
|
-
inputPlaceholder: "Type a message...",
|
|
68
|
-
emptyState: "Type a message to get started",
|
|
69
|
-
errorGeneric: "An error occurred. Please try again later.",
|
|
70
|
-
stopButton: "Stop",
|
|
71
|
-
sendButton: "Send",
|
|
72
|
-
clearButton: "Clear",
|
|
73
|
-
closeButton: "Close",
|
|
74
|
-
closeChat: "Close chat",
|
|
75
|
-
openChat: "Open chat",
|
|
76
|
-
responseStoppedAnnouncement: "Response stopped",
|
|
77
|
-
messageActionsToggle: "Show message actions",
|
|
78
|
-
regenerateLabel: "Regenerate",
|
|
79
|
-
regenerateAria: "Regenerate message",
|
|
80
|
-
copyLabel: "Copy",
|
|
81
|
-
copiedLabel: "Copied",
|
|
82
|
-
copyMessageAria: "Copy message",
|
|
83
|
-
copyMessageAnnouncement: "Message copied",
|
|
84
|
-
copyCodeAria: "Copy code",
|
|
85
|
-
copyCodeAnnouncement: "Code copied",
|
|
86
|
-
editLabel: "Edit",
|
|
87
|
-
editMessageAria: "Edit message",
|
|
88
|
-
cancelEditLabel: "Cancel",
|
|
89
|
-
cancelEditAria: "Cancel editing",
|
|
90
|
-
saveEditAria: "Save edit",
|
|
91
|
-
chatDialogTitle: "wecool chat",
|
|
92
|
-
chatDialogDescription: "AI chat assistant",
|
|
93
|
-
messageLogLabel: "Chat history",
|
|
94
|
-
loadingAnnouncement: "AI is generating a response",
|
|
95
|
-
inputLabel: "Type a message",
|
|
96
|
-
downloadAttachment: "Download",
|
|
97
|
-
dragHandleLabel: "Drag or use arrow keys to move the window",
|
|
98
|
-
resetPositionButton: "Reset position",
|
|
99
|
-
settingsMenuToggle: "Open settings menu",
|
|
100
|
-
newConversationOption: "+ New conversation",
|
|
101
|
-
conversationSelectLabel: "Select conversation",
|
|
102
|
-
stopFallbackUserMessage: "The action was stopped.",
|
|
103
|
-
maxTurnsReached: "Reached the maximum tool retry limit. Please try again with different input.",
|
|
104
|
-
errorMessageTooLong: "Message is too long. Please keep it within 10,000 characters.",
|
|
105
|
-
errorInvalidRequest: "The request format is invalid.",
|
|
106
|
-
errorRateLimit: "Too many requests right now. Please wait about a minute and try again.",
|
|
107
|
-
errorDailyLimit: "The daily usage limit has been reached. Please try again tomorrow.",
|
|
108
|
-
errorMonthlyLimit: "The monthly usage limit has been reached. Please check your plan usage.",
|
|
109
|
-
qrcodeStopTextTooLong: "The text is too long. Please shorten it to within {max} characters and try again."
|
|
110
|
-
}
|
|
111
|
-
}, w = (e) => e && l[e] ? l[e] : c;
|
|
112
|
-
export {
|
|
113
|
-
L as i,
|
|
114
|
-
A as n,
|
|
115
|
-
v as r,
|
|
116
|
-
w as t
|
|
117
|
-
};
|