@ds-hu/dsh-bvi-input 0.0.0-stage → 0.2.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/lib/index.js ADDED
@@ -0,0 +1,2 @@
1
+ /** Host marker for the browser hold-to-talk component; the client export owns the behavior. */
2
+ export function apply() {}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Better voice input",
4
+ "description": "Long-press the composer to talk: the same hold detection on desktop and touch, a full-screen DeepSeek-App-style recording overlay with a live waveform, slide up to cancel, release to insert the transcript or send it."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "更好的语音输入",
4
+ "description": "长按输入框说话:桌面与触屏共用同一套长按判定,全屏 DeepSeek App 风格录音浮层与实时波形,上滑取消,松手把识别结果插入草稿或直接发送。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,49 @@
1
1
  {
2
2
  "name": "@ds-hu/dsh-bvi-input",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Better voice input: long-press the composer to talk (one hold detection for desktop and touch), a DeepSeek-App-style full-screen recording overlay — slide up to cancel, release to insert or send.",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "exports": {
8
+ ".": "./lib/index.js",
9
+ "./client": "./lib/client.js",
10
+ "./locale/*.json": "./locale/*.json",
11
+ "./icon": "./icon.svg",
12
+ "./package.json": "./package.json"
13
+ },
14
+ "icon": "./icon.svg",
15
+ "peerDependencies": {
16
+ "@deepseek-ai/cordis": "^4.0.2"
17
+ },
18
+ "peerDependenciesMeta": {
19
+ "@deepseek-ai/cordis": {
20
+ "optional": true
21
+ }
22
+ },
23
+ "engines": {
24
+ "node": ">=20.19.0",
25
+ "dsh": ">=0.2.2-rc.5 <0.3.0"
26
+ },
27
+ "dsh": {
28
+ "client": {
29
+ "platform": "web",
30
+ "inject": [
31
+ "@deepseek-ai/dsh-client-ui-conversation",
32
+ "@deepseek-ai/dsh-client-locale"
33
+ ]
34
+ }
35
+ },
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/ds-hu/dsh-better-voice-input.git",
39
+ "directory": "packages/input"
40
+ },
41
+ "license": "MIT",
42
+ "files": [
43
+ "lib",
44
+ "locale/*.json",
45
+ "icon.svg",
46
+ "LICENSE",
47
+ "NOTICE"
48
+ ]
49
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.