@eldrforge/commands-audio 0.1.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/README.md +64 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +7081 -0
- package/dist/index.js.map +1 -0
- package/dist/src/commands/audio-commit.d.ts +3 -0
- package/dist/src/commands/audio-commit.d.ts.map +1 -0
- package/dist/src/commands/audio-review.d.ts +3 -0
- package/dist/src/commands/audio-review.d.ts.map +1 -0
- package/dist/src/commands/select-audio.d.ts +3 -0
- package/dist/src/commands/select-audio.d.ts.map +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -0
- package/guide/index.md +56 -0
- package/package.json +71 -0
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# @eldrforge/commands-audio
|
|
2
|
+
|
|
3
|
+
Audio transcription and voice commands for kodrdriv.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @eldrforge/commands-audio
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Commands
|
|
12
|
+
|
|
13
|
+
### select-audio
|
|
14
|
+
|
|
15
|
+
Select and configure audio input device.
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
kodrdriv select-audio
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### audio-commit
|
|
22
|
+
|
|
23
|
+
Record audio and use transcription to create commit message.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
kodrdriv audio-commit
|
|
27
|
+
kodrdriv audio-commit --file recording.wav
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### audio-review
|
|
31
|
+
|
|
32
|
+
Record audio or process audio files for code review context.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
kodrdriv audio-review
|
|
36
|
+
kodrdriv audio-review --file feedback.wav
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
```typescript
|
|
42
|
+
import { selectAudio, audioCommit, audioReview } from '@eldrforge/commands-audio';
|
|
43
|
+
|
|
44
|
+
// Select audio device
|
|
45
|
+
await selectAudio(config);
|
|
46
|
+
|
|
47
|
+
// Create commit from audio
|
|
48
|
+
await audioCommit(config);
|
|
49
|
+
|
|
50
|
+
// Add audio context to review
|
|
51
|
+
await audioReview(config);
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Dependencies
|
|
55
|
+
|
|
56
|
+
- `@eldrforge/core` - Core utilities and types
|
|
57
|
+
- `@eldrforge/audio-tools` - Audio recording and processing
|
|
58
|
+
- `@eldrforge/ai-service` - Transcription service
|
|
59
|
+
- `@theunwalked/unplayable` - Audio capture library
|
|
60
|
+
|
|
61
|
+
## License
|
|
62
|
+
|
|
63
|
+
Apache-2.0
|
|
64
|
+
|
package/dist/index.d.ts
ADDED