@bohuyeshan/openagent-labforge-core 3.11.1 → 3.11.3
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.ja.md +34 -27
- package/README.ko.md +34 -27
- package/README.md +245 -188
- package/README.ru.md +28 -21
- package/README.zh-cn.md +245 -188
- package/bin/platform.test.ts +21 -20
- package/dist/agents/atlas/default.d.ts +1 -1
- package/dist/agents/atlas/gemini.d.ts +1 -1
- package/dist/agents/atlas/gpt.d.ts +1 -1
- package/dist/agents/bio-methodologist.d.ts +1 -1
- package/dist/agents/bio-pipeline-operator.d.ts +1 -1
- package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +2 -0
- package/dist/agents/env-context.d.ts +1 -1
- package/dist/agents/index.d.ts +1 -0
- package/dist/agents/metis.d.ts +1 -1
- package/dist/agents/prometheus/gemini.d.ts +1 -1
- package/dist/agents/prometheus/gpt.d.ts +1 -1
- package/dist/agents/prometheus/interview-mode.d.ts +1 -1
- package/dist/agents/prometheus/plan-generation.d.ts +1 -1
- package/dist/agents/prometheus/plan-template.d.ts +1 -1
- package/dist/agents/prometheus/system-prompt.d.ts +1 -1
- package/dist/agents/types.d.ts +1 -1
- package/dist/cli/config-manager/bun-install.d.ts +6 -1
- package/dist/cli/config-manager/plugin-name-with-version.d.ts +1 -1
- package/dist/cli/doctor/constants.d.ts +1 -1
- package/dist/cli/index.js +763 -467
- package/dist/cli/install-validators.d.ts +1 -0
- package/dist/cli/model-fallback-types.d.ts +1 -0
- package/dist/cli/openai-only-model-catalog.d.ts +3 -0
- package/dist/cli/run/index.d.ts +1 -0
- package/dist/cli/run/model-resolver.d.ts +4 -0
- package/dist/cli/run/types.d.ts +1 -0
- package/dist/cli/types.d.ts +3 -0
- package/dist/config/schema/agent-names.d.ts +3 -1
- package/dist/config/schema/background-task.d.ts +2 -0
- package/dist/config/schema/git-env-prefix.d.ts +5 -0
- package/dist/config/schema/git-master.d.ts +1 -0
- package/dist/config/schema/hooks.d.ts +2 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +54 -1
- package/dist/config/schema.d.ts +1 -0
- package/dist/create-hooks.d.ts +13 -0
- package/dist/features/background-agent/compaction-aware-message-resolver.d.ts +16 -1
- package/dist/features/background-agent/constants.d.ts +1 -1
- package/dist/features/background-agent/manager.d.ts +20 -4
- package/dist/features/background-agent/process-cleanup.d.ts +1 -1
- package/dist/features/background-agent/remove-task-toast-tracking.d.ts +1 -0
- package/dist/features/background-agent/subagent-spawn-limits.d.ts +23 -0
- package/dist/features/background-agent/task-history.d.ts +1 -0
- package/dist/features/background-agent/task-poller.d.ts +1 -0
- package/dist/features/background-agent/types.d.ts +4 -0
- package/dist/features/claude-code-agent-loader/claude-model-mapper.d.ts +4 -0
- package/dist/features/claude-code-agent-loader/loader.d.ts +3 -3
- package/dist/features/claude-code-agent-loader/types.d.ts +8 -1
- package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +2 -2
- package/dist/features/claude-code-plugin-loader/loader.d.ts +2 -2
- package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
- package/dist/features/opencode-skill-loader/git-master-template-injection.d.ts +1 -1
- package/dist/features/skill-mcp-manager/types.d.ts +4 -0
- package/dist/features/tmux-subagent/index.d.ts +1 -0
- package/dist/features/tmux-subagent/manager.d.ts +5 -0
- package/dist/features/tmux-subagent/pane-state-parser.d.ts +8 -0
- package/dist/features/tmux-subagent/tracked-session-state.d.ts +8 -0
- package/dist/features/tmux-subagent/types.d.ts +2 -0
- package/dist/hooks/atlas/boulder-session-lineage.d.ts +6 -0
- package/dist/hooks/atlas/final-wave-approval-gate.d.ts +4 -0
- package/dist/hooks/atlas/idle-event.d.ts +8 -0
- package/dist/hooks/atlas/resolve-active-boulder-session.d.ts +11 -0
- package/dist/hooks/atlas/tool-execute-after.d.ts +2 -0
- package/dist/hooks/atlas/types.d.ts +2 -0
- package/dist/hooks/atlas/verification-reminders.d.ts +4 -0
- package/dist/hooks/auto-slash-command/hook.d.ts +7 -0
- package/dist/hooks/auto-slash-command/processed-command-store.d.ts +7 -0
- package/dist/hooks/auto-update-checker/checker/sync-package-json.d.ts +7 -0
- package/dist/hooks/auto-update-checker/checker.d.ts +3 -1
- package/dist/hooks/auto-update-checker/constants.d.ts +2 -2
- package/dist/hooks/comment-checker/downloader.d.ts +1 -1
- package/dist/hooks/compaction-context-injector/compaction-context-prompt.d.ts +1 -0
- package/dist/hooks/compaction-context-injector/constants.d.ts +5 -0
- package/dist/hooks/compaction-context-injector/hook.d.ts +5 -1
- package/dist/hooks/compaction-context-injector/recovery-prompt-config.d.ts +6 -0
- package/dist/hooks/compaction-context-injector/recovery.d.ts +6 -0
- package/dist/hooks/compaction-context-injector/session-id.d.ts +2 -0
- package/dist/hooks/compaction-context-injector/session-prompt-config-resolver.d.ts +16 -0
- package/dist/hooks/compaction-context-injector/tail-monitor.d.ts +13 -0
- package/dist/hooks/compaction-context-injector/types.d.ts +43 -0
- package/dist/hooks/compaction-context-injector/validated-model.d.ts +13 -0
- package/dist/hooks/context-window-monitor.d.ts +2 -5
- package/dist/hooks/delegate-task-english-directive/hook.d.ts +14 -0
- package/dist/hooks/delegate-task-english-directive/index.d.ts +1 -0
- package/dist/hooks/gpt-permission-continuation/assistant-message.d.ts +23 -0
- package/dist/hooks/gpt-permission-continuation/constants.d.ts +4 -0
- package/dist/hooks/gpt-permission-continuation/detector.d.ts +1 -0
- package/dist/hooks/gpt-permission-continuation/handler.d.ts +12 -0
- package/dist/hooks/gpt-permission-continuation/index.d.ts +13 -0
- package/dist/hooks/gpt-permission-continuation/session-state.d.ts +15 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/keyword-detector/hook.d.ts +1 -0
- package/dist/hooks/preemptive-compaction.d.ts +2 -5
- package/dist/hooks/ralph-loop/pending-verification-handler.d.ts +16 -0
- package/dist/hooks/runtime-fallback/fallback-bootstrap-model.d.ts +10 -0
- package/dist/hooks/runtime-fallback/fallback-retry-dispatcher.d.ts +11 -0
- package/dist/hooks/runtime-fallback/hook.d.ts +2 -3
- package/dist/hooks/runtime-fallback/last-user-retry-parts.d.ts +4 -0
- package/dist/hooks/runtime-fallback/message-update-handler.d.ts +1 -2
- package/dist/hooks/runtime-fallback/retry-model-payload.d.ts +7 -0
- package/dist/hooks/runtime-fallback/session-messages.d.ts +9 -0
- package/dist/hooks/runtime-fallback/session-status-handler.d.ts +3 -0
- package/dist/hooks/runtime-fallback/types.d.ts +57 -3
- package/dist/hooks/runtime-fallback/visible-assistant-response.d.ts +3 -0
- package/dist/hooks/session-notification-content.d.ts +30 -0
- package/dist/hooks/session-notification-scheduler.d.ts +5 -3
- package/dist/hooks/session-notification.d.ts +2 -0
- package/dist/hooks/start-work/index.d.ts +1 -1
- package/dist/hooks/start-work/worktree-detector.d.ts +7 -0
- package/dist/hooks/todo-continuation-enforcer/constants.d.ts +6 -2
- package/dist/hooks/todo-continuation-enforcer/handler.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/session-state.d.ts +10 -1
- package/dist/hooks/todo-continuation-enforcer/stagnation-detection.d.ts +6 -0
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +5 -0
- package/dist/hooks/tool-output-truncator.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10581 -7245
- package/dist/openagent-labforge.schema.json +70 -4
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
- package/dist/plugin/normalize-tool-arg-schemas.d.ts +2 -0
- package/dist/plugin/ultrawork-model-override.d.ts +1 -15
- package/dist/plugin/ultrawork-variant-availability.d.ts +6 -0
- package/dist/plugin-dispose.d.ts +10 -0
- package/dist/plugin-handlers/agent-override-protection.d.ts +3 -0
- package/dist/plugin-state.d.ts +5 -0
- package/dist/shared/compaction-agent-config-checkpoint.d.ts +11 -0
- package/dist/shared/context-limit-resolver.d.ts +5 -0
- package/dist/shared/data-path.d.ts +2 -2
- package/dist/shared/dynamic-truncator.d.ts +4 -7
- package/dist/shared/external-plugin-detector.d.ts +1 -1
- package/dist/shared/fallback-chain-from-models.d.ts +3 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/model-error-classifier.d.ts +2 -1
- package/dist/shared/opencode-command-dirs.d.ts +3 -0
- package/dist/shared/plugin-identity.d.ts +7 -0
- package/dist/shared/question-denied-session-permission.d.ts +6 -0
- package/dist/shared/retry-status-utils.d.ts +2 -0
- package/dist/shared/system-directive.d.ts +6 -5
- package/dist/shared/vision-capable-models-cache.d.ts +4 -0
- package/dist/tools/call-omo-agent/background-executor.d.ts +2 -1
- package/dist/tools/call-omo-agent/constants.d.ts +1 -1
- package/dist/tools/call-omo-agent/sync-executor.d.ts +11 -3
- package/dist/tools/call-omo-agent/tools.d.ts +2 -1
- package/dist/tools/delegate-task/cancel-unstable-agent-task.d.ts +2 -0
- package/dist/tools/delegate-task/model-selection.d.ts +1 -0
- package/dist/tools/delegate-task/model-string-parser.d.ts +1 -3
- package/dist/tools/look-at/multimodal-fallback-chain.d.ts +4 -0
- package/dist/tools/lsp/constants.d.ts +1 -0
- package/dist/tools/lsp/directory-diagnostics.d.ts +1 -0
- package/dist/tools/lsp/lsp-client-transport.d.ts +4 -2
- package/dist/tools/lsp/lsp-client-wrapper.d.ts +2 -1
- package/dist/tools/lsp/server-path-bases.d.ts +1 -0
- package/generated/skills-bundles/catalog.json +282 -39
- package/generated/skills-bundles/full/INDEX.md +38 -10
- package/generated/skills-bundles/full/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +63 -0
- package/generated/skills-bundles/full/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +112 -0
- package/generated/skills-bundles/full/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +279 -0
- package/generated/skills-bundles/full/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +47 -0
- package/generated/skills-bundles/full/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +281 -0
- package/generated/skills-bundles/full/skills/productivity/communication/auto-claude__feishu-notify/SKILL.md +154 -0
- package/generated/skills-bundles/full/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +138 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +252 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +254 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +310 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -0
- package/generated/skills-bundles/full/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +255 -0
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +133 -0
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +87 -0
- package/generated/skills-bundles/full/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +194 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +228 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +186 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +351 -0
- package/generated/skills-bundles/full/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +174 -0
- package/generated/skills-bundles/full/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +224 -0
- package/generated/skills-bundles/paper/INDEX.md +40 -0
- package/generated/skills-bundles/paper/skills/data-analysis/experiment-monitoring/auto-claude__monitor-experiment/SKILL.md +63 -0
- package/generated/skills-bundles/paper/skills/data-analysis/experiment-ops/auto-claude__run-experiment/SKILL.md +112 -0
- package/generated/skills-bundles/paper/skills/data-analysis/optimization/auto-claude__dse-loop/SKILL.md +279 -0
- package/generated/skills-bundles/paper/skills/data-analysis/statistics/auto-claude__analyze-results/SKILL.md +47 -0
- package/generated/skills-bundles/paper/skills/data-analysis/visualization/auto-claude__paper-figure/SKILL.md +281 -0
- package/generated/skills-bundles/paper/skills/productivity/communication/auto-claude__feishu-notify/SKILL.md +154 -0
- package/generated/skills-bundles/paper/skills/productivity/visual-design/auto-claude__pixel-art/SKILL.md +138 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-compile/SKILL.md +252 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-plan/SKILL.md +254 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/SKILL.md +310 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/iclr2026.tex +84 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/icml2025.tex +87 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/math_commands.tex +48 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-write/templates/neurips2025.tex +80 -0
- package/generated/skills-bundles/paper/skills/research/document-authoring/auto-claude__paper-writing/SKILL.md +255 -0
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__arxiv/SKILL.md +133 -0
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__novelty-check/SKILL.md +87 -0
- package/generated/skills-bundles/paper/skills/research/literature-and-web-search/auto-claude__research-lit/SKILL.md +194 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-creator/SKILL.md +228 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery/SKILL.md +186 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__idea-discovery-robot/SKILL.md +351 -0
- package/generated/skills-bundles/paper/skills/research/research-ideation/auto-claude__research-pipeline/SKILL.md +174 -0
- package/generated/skills-bundles/paper/skills/research/theory-writing/auto-claude__proof-writer/SKILL.md +224 -0
- package/package.json +21 -21
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/LICENSE.txt +0 -21
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/SKILL.md +0 -615
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/_meta.json +0 -11
- package/generated/skills-bundles/full/skills/engineering/virtualization/skills-main__virtualbox/scripts/virtualbox-utils.ts +0 -586
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/.clawhubsafe +0 -0
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/LICENSE +0 -21
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/README.md +0 -127
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/SECURITY.md +0 -68
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/SKILL.md +0 -141
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/_meta.json +0 -11
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/scripts/speak.sh +0 -52
- package/generated/skills-bundles/full/skills/productivity/voice-and-accessibility/skills-main__voiceclaw/scripts/transcribe.sh +0 -50
- package/generated/skills-bundles/full/skills/research/media-search/skills-main__youtube-search/LICENSE.txt +0 -21
- package/generated/skills-bundles/full/skills/research/media-search/skills-main__youtube-search/SKILL.md +0 -416
- package/generated/skills-bundles/full/skills/research/media-search/skills-main__youtube-search/_meta.json +0 -11
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
# 🎙️ VoiceClaw — Local Voice I/O for OpenClaw Agents
|
|
2
|
-
|
|
3
|
-
**ClawHub:** [clawhub.ai/Asif2BD/voiceclaw](https://clawhub.ai/Asif2BD/voiceclaw) · **GitHub:** [github.com/Asif2BD/VoiceClaw](https://github.com/Asif2BD/VoiceClaw)
|
|
4
|
-
|
|
5
|
-
> Created by **[M Asif Rahman](https://github.com/Asif2BD)** — Founder of [MissionDeck.ai](https://missiondeck.ai) · [xCloud](https://xcloud.host) · [WPDevelopers](https://github.com/WPDevelopers)
|
|
6
|
-
|
|
7
|
-
A local-only voice skill for [OpenClaw](https://openclaw.ai) agents. Transcribe inbound voice messages with **Whisper** and reply with synthesized speech via **Piper TTS** — no cloud, no API keys, no paid services.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Install
|
|
12
|
-
|
|
13
|
-
**Option 1 — Via ClawHub** *(if ClawHub is installed)*
|
|
14
|
-
```bash
|
|
15
|
-
clawhub install voiceclaw
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
**Option 2 — Via Git** *(no ClawHub needed)*
|
|
19
|
-
```bash
|
|
20
|
-
git clone https://github.com/Asif2BD/VoiceClaw.git ~/.openclaw/custom-skills/voiceclaw
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
**Option 3 — Download release** *(manual, no tools needed)*
|
|
24
|
-
```bash
|
|
25
|
-
curl -L https://github.com/Asif2BD/VoiceClaw/releases/latest/download/voiceclaw.skill -o voiceclaw.skill
|
|
26
|
-
unzip voiceclaw.skill -d ~/.openclaw/custom-skills/voiceclaw
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
> After any install method, restart OpenClaw for the skill to be detected.
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Requirements
|
|
34
|
-
|
|
35
|
-
- `whisper` — whisper.cpp binary ([install guide](https://github.com/ggerganov/whisper.cpp))
|
|
36
|
-
- Whisper model: `ggml-base.en.bin` — auto-downloaded on first use, or manually:
|
|
37
|
-
```bash
|
|
38
|
-
# One-time setup only — not run by the skill scripts
|
|
39
|
-
mkdir -p ~/.cache/whisper
|
|
40
|
-
curl -L -o ~/.cache/whisper/ggml-base.en.bin \
|
|
41
|
-
https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin
|
|
42
|
-
```
|
|
43
|
-
> Set `WHISPER_MODEL=/path/to/ggml-base.en.bin` if your model is stored elsewhere.
|
|
44
|
-
- `piper` — TTS binary + `.onnx` voice models ([install guide](https://github.com/rhasspy/piper)). Set `VOICECLAW_VOICES_DIR=/path/to/voices/` to point to your voice models (default: `~/.local/share/piper/voices/`)
|
|
45
|
-
- `ffmpeg` — for audio format conversion
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## What it does
|
|
50
|
-
|
|
51
|
-
- **Speech-to-Text**: Inbound voice/audio (OGG, MP3, WAV, M4A) → transcript text via Whisper.cpp
|
|
52
|
-
- **Text-to-Speech**: Agent text replies → voice audio via Piper TTS (7 English voices)
|
|
53
|
-
- **Agent behavior**: When a voice message arrives, the agent automatically responds with both voice + text
|
|
54
|
-
- **100% local**: No data sent anywhere — all inference runs on your server
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
## How it works
|
|
59
|
-
|
|
60
|
-
```
|
|
61
|
-
Inbound voice message (OGG/MP3/WAV)
|
|
62
|
-
↓
|
|
63
|
-
ffmpeg → 16kHz mono WAV
|
|
64
|
-
↓
|
|
65
|
-
whisper.cpp → transcript text
|
|
66
|
-
↓
|
|
67
|
-
Agent reads transcript, composes reply
|
|
68
|
-
↓
|
|
69
|
-
Piper TTS → WAV → OGG Opus
|
|
70
|
-
↓
|
|
71
|
-
Voice reply + text transcript sent together
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## Usage
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
# Transcribe a voice message
|
|
80
|
-
bash scripts/transcribe.sh /path/to/voice.ogg
|
|
81
|
-
|
|
82
|
-
# Generate a voice reply (returns path to WAV)
|
|
83
|
-
bash scripts/speak.sh "Your task is complete." /tmp/reply.wav
|
|
84
|
-
|
|
85
|
-
# Convert WAV → OGG Opus for Telegram
|
|
86
|
-
ffmpeg -i /tmp/reply.wav -c:a libopus -b:a 32k /tmp/reply.ogg -y
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## Available Voices
|
|
92
|
-
|
|
93
|
-
| Voice ID | Style |
|
|
94
|
-
|---|---|
|
|
95
|
-
| `en_US-lessac-medium` | Neutral American (default) |
|
|
96
|
-
| `en_US-amy-medium` | Warm American female |
|
|
97
|
-
| `en_US-joe-medium` | American male |
|
|
98
|
-
| `en_US-kusal-medium` | Expressive American male |
|
|
99
|
-
| `en_US-danny-low` | Deep American male (fast) |
|
|
100
|
-
| `en_GB-alba-medium` | British female |
|
|
101
|
-
| `en_GB-northern_english_male-medium` | Northern British male |
|
|
102
|
-
|
|
103
|
-
Voice models live at `/opt/piper/voices/`. See `SKILL.md` for full agent integration instructions.
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
## Security
|
|
108
|
-
|
|
109
|
-
- **All processing is local** — no audio or text is sent to any cloud service or external API
|
|
110
|
-
- **Temp files are cleaned up** — audio is converted in `/tmp` and deleted immediately after transcription (bash `trap` on EXIT)
|
|
111
|
-
- **Voice names are sanitized** — input stripped to `[a-zA-Z0-9_-]` only, preventing path traversal
|
|
112
|
-
- **No network calls** — neither script makes any network request
|
|
113
|
-
|
|
114
|
-
---
|
|
115
|
-
|
|
116
|
-
## Author
|
|
117
|
-
|
|
118
|
-
**[M Asif Rahman](https://github.com/Asif2BD)**
|
|
119
|
-
- 🌐 [asif.im](https://asif.im)
|
|
120
|
-
- 🐙 [github.com/Asif2BD](https://github.com/Asif2BD)
|
|
121
|
-
- 🔑 [clawhub.ai/Asif2BD](https://clawhub.ai/Asif2BD)
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
## License
|
|
126
|
-
|
|
127
|
-
MIT © 2026 [M Asif Rahman](https://github.com/Asif2BD)
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
VoiceClaw is a **local-only** voice I/O skill. The operational scripts (`transcribe.sh`, `speak.sh`) make **zero network requests** and send **no data to any external service**.
|
|
6
|
-
|
|
7
|
-
> The only network activity in this project is a **one-time optional setup step** (downloading the Whisper model from HuggingFace). This is not performed by the skill scripts — it is a manual prerequisite documented in SKILL.md.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Design Principles
|
|
12
|
-
|
|
13
|
-
| Property | Detail |
|
|
14
|
-
|---|---|
|
|
15
|
-
| **Local-only inference** | All STT (Whisper) and TTS (Piper) runs on-device using pre-installed binaries |
|
|
16
|
-
| **Zero network calls during operation** | `transcribe.sh` and `speak.sh` make no HTTP requests whatsoever |
|
|
17
|
-
| **No cloud APIs** | No API keys, no external endpoints, no telemetry |
|
|
18
|
-
| **No credential handling** | Scripts accept no passwords, tokens, or secrets |
|
|
19
|
-
| **No eval/exec of untrusted input** | Text is piped to Piper via stdin, never shell-evaluated |
|
|
20
|
-
| **Input sanitization** | Voice name parameter sanitized to `[a-zA-Z0-9_-]` — prevents path traversal |
|
|
21
|
-
| **Temporary file cleanup** | WAV files written to `/tmp` are deleted via bash `trap` on script exit |
|
|
22
|
-
| **File existence checks** | All input files and model files verified before use |
|
|
23
|
-
| **Configurable paths** | No hardcoded system paths — all paths use env vars with safe defaults |
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Binary Requirements (Declared)
|
|
28
|
-
|
|
29
|
-
| Binary | Source | Network during operation |
|
|
30
|
-
|---|---|---|
|
|
31
|
-
| `whisper` (whisper.cpp) | Pre-installed local binary | ❌ None |
|
|
32
|
-
| `piper` | Pre-installed local binary (`pip install piper-tts`) | ❌ None |
|
|
33
|
-
| `ffmpeg` | System package (`apt install ffmpeg`) | ❌ None |
|
|
34
|
-
|
|
35
|
-
### Model Files
|
|
36
|
-
|
|
37
|
-
| File | Source | Network during operation |
|
|
38
|
-
|---|---|---|
|
|
39
|
-
| `ggml-base.en.bin` | Downloaded once at setup (HuggingFace) | ❌ None — static read-only file |
|
|
40
|
-
| `*.onnx` voice models | Pre-installed at `$VOICECLAW_VOICES_DIR` | ❌ None — static read-only files |
|
|
41
|
-
|
|
42
|
-
**Path configuration:**
|
|
43
|
-
- Whisper model: `$WHISPER_MODEL` (defaults to `$HOME/.cache/whisper/ggml-base.en.bin`)
|
|
44
|
-
- Piper voices: `$VOICECLAW_VOICES_DIR` (defaults to `$HOME/.local/share/piper/voices/`)
|
|
45
|
-
- No paths are hardcoded to any specific user or system directory.
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Threat Model
|
|
50
|
-
|
|
51
|
-
### Protected against
|
|
52
|
-
|
|
53
|
-
- **Path traversal** — voice name input is stripped to `[a-zA-Z0-9_-]`; any `../` or absolute path attempt results in an empty string, which fails the model existence check and exits cleanly
|
|
54
|
-
- **Temp file leakage** — `/tmp` WAV files deleted on script EXIT via `trap cleanup EXIT`, even on error
|
|
55
|
-
- **Shell injection** — TTS text is passed via stdin to Piper, not interpolated into a shell command
|
|
56
|
-
|
|
57
|
-
### Out of scope
|
|
58
|
-
|
|
59
|
-
- Adversarial audio content (e.g., prompt injection via voice) — model-level concern, not script-level
|
|
60
|
-
- Host system security (firewall, user permissions) — OpenClaw deployment concern
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## Reporting a Vulnerability
|
|
65
|
-
|
|
66
|
-
Open an issue on [GitHub](https://github.com/Asif2BD/VoiceClaw/issues) or contact **M Asif Rahman** directly at [asif.im](https://asif.im).
|
|
67
|
-
|
|
68
|
-
Please do not disclose security vulnerabilities publicly before they are addressed.
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "skills-main/voiceclaw"
|
|
3
|
-
description: "Local voice I/O for OpenClaw agents. Transcribe inbound audio/voice messages using local Whisper (whisper.cpp) and generate voice replies using local Piper TTS. Requires whisper, piper, and ffmpeg pre-installed on the system. All inference runs on-device — no network calls, no cloud APIs, no API keys. Use when an agent receives a voice/audio message and should respond in both voice and text, or when any text response should be synthesized and sent as audio. Triggers on: voice messages, audio attachments, respond in voice, send as audio, speak this, voiceclaw."
|
|
4
|
-
metadata:
|
|
5
|
-
openclaw: {"requires":{"bins":["whisper","piper","ffmpeg"]},"network":"none","env":[{"name":"WHISPER_BIN","description":"Path to whisper binary (default: auto-detected via which)"},{"name":"WHISPER_MODEL","description":"Path to ggml-base.en.bin model file (default: ~/.cache/whisper/ggml-base.en.bin)"},{"name":"PIPER_BIN","description":"Path to piper binary (default: auto-detected via which)"},{"name":"VOICECLAW_VOICES_DIR","description":"Path to directory containing .onnx voice model files (default: ~/.local/share/piper/voices)"}]}
|
|
6
|
-
category: "productivity/voice-and-accessibility"
|
|
7
|
-
---
|
|
8
|
-
# VoiceClaw
|
|
9
|
-
|
|
10
|
-
Local-only voice I/O for OpenClaw agents.
|
|
11
|
-
|
|
12
|
-
- **STT:** `transcribe.sh` — converts audio to text via local Whisper binary
|
|
13
|
-
- **TTS:** `speak.sh` — converts text to speech via local Piper binary
|
|
14
|
-
- **Network calls: none** — both scripts run fully offline
|
|
15
|
-
- **No cloud APIs, no API keys required**
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Prerequisites
|
|
20
|
-
|
|
21
|
-
The following must be installed on the system before using this skill:
|
|
22
|
-
|
|
23
|
-
| Requirement | Purpose |
|
|
24
|
-
|---|---|
|
|
25
|
-
| `whisper` binary | Speech-to-text inference |
|
|
26
|
-
| `ggml-base.en.bin` model file | Whisper STT model |
|
|
27
|
-
| `piper` binary | Text-to-speech synthesis |
|
|
28
|
-
| `*.onnx` voice model files | Piper TTS voices |
|
|
29
|
-
| `ffmpeg` | Audio format conversion |
|
|
30
|
-
|
|
31
|
-
See **README.md** for installation and setup instructions.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## Environment Variables
|
|
36
|
-
|
|
37
|
-
| Variable | Default | Purpose |
|
|
38
|
-
|---|---|---|
|
|
39
|
-
| `WHISPER_BIN` | auto-detected via `which` | Path to whisper binary |
|
|
40
|
-
| `WHISPER_MODEL` | `~/.cache/whisper/ggml-base.en.bin` | Path to Whisper model file |
|
|
41
|
-
| `PIPER_BIN` | auto-detected via `which` | Path to piper binary |
|
|
42
|
-
| `VOICECLAW_VOICES_DIR` | `~/.local/share/piper/voices` | Directory containing `.onnx` voice model files |
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
## Verify Setup
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
which whisper && echo "STT binary: OK"
|
|
50
|
-
which piper && echo "TTS binary: OK"
|
|
51
|
-
which ffmpeg && echo "ffmpeg: OK"
|
|
52
|
-
ls "${WHISPER_MODEL:-$HOME/.cache/whisper/ggml-base.en.bin}" && echo "STT model: OK"
|
|
53
|
-
ls "${VOICECLAW_VOICES_DIR:-$HOME/.local/share/piper/voices}"/*.onnx 2>/dev/null | head -1 && echo "TTS voices: OK"
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
## Inbound Voice: Transcribe
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
# Transcribe audio → text (supports ogg, mp3, m4a, wav, flac)
|
|
62
|
-
TRANSCRIPT=$(bash scripts/transcribe.sh /path/to/audio.ogg)
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Override model path:
|
|
66
|
-
```bash
|
|
67
|
-
WHISPER_MODEL=/path/to/ggml-base.en.bin bash scripts/transcribe.sh audio.ogg
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
## Outbound Voice: Speak
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
# Step 1: Generate WAV (local Piper — no network)
|
|
76
|
-
WAV=$(bash scripts/speak.sh "Your response here." /tmp/reply.wav en_US-lessac-medium)
|
|
77
|
-
|
|
78
|
-
# Step 2: Convert to OGG Opus (Telegram voice requirement)
|
|
79
|
-
ffmpeg -i "$WAV" -c:a libopus -b:a 32k /tmp/reply.ogg -y -loglevel error
|
|
80
|
-
|
|
81
|
-
# Step 3: Send via message tool (filePath=/tmp/reply.ogg)
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Override voice directory:
|
|
85
|
-
```bash
|
|
86
|
-
VOICECLAW_VOICES_DIR=/path/to/voices bash scripts/speak.sh "Hello." /tmp/reply.wav
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## Available Voices
|
|
92
|
-
|
|
93
|
-
| Voice | Style |
|
|
94
|
-
|---|---|
|
|
95
|
-
| `en_US-lessac-medium` | Neutral American (default) |
|
|
96
|
-
| `en_US-amy-medium` | Warm American female |
|
|
97
|
-
| `en_US-joe-medium` | American male |
|
|
98
|
-
| `en_US-kusal-medium` | Expressive American male |
|
|
99
|
-
| `en_US-danny-low` | Deep American male (fast) |
|
|
100
|
-
| `en_GB-alba-medium` | British female |
|
|
101
|
-
| `en_GB-northern_english_male-medium` | Northern British male |
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## Agent Behavior Rules
|
|
106
|
-
|
|
107
|
-
1. **Voice in → Voice + Text out.** Always respond with both a voice reply and a text reply when a voice message is received.
|
|
108
|
-
2. **Include the transcript.** Show *"🎙️ I heard: [transcript]"* at the top of every text reply to a voice message.
|
|
109
|
-
3. **Keep voice responses concise.** Piper TTS works best under ~200 words — summarize for audio, include full detail in text.
|
|
110
|
-
4. **Local only.** Never use a cloud TTS/STT API. Only the local `whisper` and `piper` binaries.
|
|
111
|
-
5. **Send voice before text.** Send the audio file first, then follow with the text reply.
|
|
112
|
-
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
## Full Example
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
# 1. Transcribe inbound voice message
|
|
119
|
-
TRANSCRIPT=$(bash path/to/voiceclaw/scripts/transcribe.sh /path/to/voice.ogg)
|
|
120
|
-
|
|
121
|
-
# 2. Compose reply and generate audio
|
|
122
|
-
RESPONSE="Deployment complete. All checks passed."
|
|
123
|
-
WAV=$(bash path/to/voiceclaw/scripts/speak.sh "$RESPONSE" /tmp/reply_$$.wav)
|
|
124
|
-
ffmpeg -i "$WAV" -c:a libopus -b:a 32k /tmp/reply_$$.ogg -y -loglevel error
|
|
125
|
-
|
|
126
|
-
# 3. Send voice + text
|
|
127
|
-
# message(action=send, filePath=/tmp/reply_$$.ogg, ...)
|
|
128
|
-
# reply: "🎙️ I heard: $TRANSCRIPT\n\n$RESPONSE"
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## Troubleshooting
|
|
134
|
-
|
|
135
|
-
| Issue | Fix |
|
|
136
|
-
|---|---|
|
|
137
|
-
| `whisper: command not found` | Ensure whisper binary is installed and in PATH |
|
|
138
|
-
| Whisper model not found | Set `WHISPER_MODEL=/path/to/ggml-base.en.bin` |
|
|
139
|
-
| `piper: command not found` | Ensure piper binary is installed and in PATH |
|
|
140
|
-
| Voice model missing | Set `VOICECLAW_VOICES_DIR=/path/to/voices/` |
|
|
141
|
-
| OGG won't play on Telegram | Ensure `-c:a libopus` flag in ffmpeg command |
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"owner": "asif2bd",
|
|
3
|
-
"slug": "voiceclaw",
|
|
4
|
-
"displayName": "VoiceClaw",
|
|
5
|
-
"latest": {
|
|
6
|
-
"version": "1.0.6",
|
|
7
|
-
"publishedAt": 1772203550157,
|
|
8
|
-
"commit": "https://github.com/openclaw/skills/commit/d9fd3726c478264910b49beed20658e6ba57e263"
|
|
9
|
-
},
|
|
10
|
-
"history": []
|
|
11
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# speak.sh — Convert text to speech using local Piper TTS
|
|
3
|
-
# Usage: speak.sh "text to speak" [output_file.wav] [voice]
|
|
4
|
-
# Output: writes WAV to output_file, prints output path to stdout
|
|
5
|
-
# Available voices: en_US-amy-medium, en_US-joe-medium, en_US-lessac-medium,
|
|
6
|
-
# en_US-kusal-medium, en_US-danny-low,
|
|
7
|
-
# en_GB-alba-medium, en_GB-northern_english_male-medium
|
|
8
|
-
#
|
|
9
|
-
# Environment variables:
|
|
10
|
-
# PIPER_BIN — path to piper binary (default: auto-detected via `which`)
|
|
11
|
-
# VOICECLAW_VOICES_DIR — path to folder containing *.onnx voice models
|
|
12
|
-
# (default: ~/.local/share/piper/voices)
|
|
13
|
-
|
|
14
|
-
set -euo pipefail
|
|
15
|
-
|
|
16
|
-
TEXT="${1:-}"
|
|
17
|
-
OUTPUT="${2:-/tmp/voiceclaw_tts_$$.wav}"
|
|
18
|
-
VOICE="${3:-en_US-lessac-medium}"
|
|
19
|
-
VOICES_DIR="${VOICECLAW_VOICES_DIR:-$HOME/.local/share/piper/voices}"
|
|
20
|
-
PIPER_BIN="${PIPER_BIN:-$(which piper 2>/dev/null || echo piper)}"
|
|
21
|
-
|
|
22
|
-
if [[ -z "$TEXT" ]]; then
|
|
23
|
-
echo "Usage: speak.sh \"text\" [output.wav] [voice]" >&2
|
|
24
|
-
echo " Env: PIPER_BIN, VOICECLAW_VOICES_DIR" >&2
|
|
25
|
-
exit 1
|
|
26
|
-
fi
|
|
27
|
-
|
|
28
|
-
# Sanitize voice name — allow only safe characters to prevent path traversal
|
|
29
|
-
VOICE=$(echo "$VOICE" | tr -cd 'a-zA-Z0-9_-')
|
|
30
|
-
if [[ -z "$VOICE" ]]; then
|
|
31
|
-
echo "Error: voice name is empty after sanitization" >&2
|
|
32
|
-
exit 1
|
|
33
|
-
fi
|
|
34
|
-
|
|
35
|
-
MODEL="$VOICES_DIR/$VOICE.onnx"
|
|
36
|
-
CONFIG="$VOICES_DIR/$VOICE.onnx.json"
|
|
37
|
-
|
|
38
|
-
if [[ ! -f "$MODEL" ]]; then
|
|
39
|
-
echo "Error: voice model not found: $MODEL" >&2
|
|
40
|
-
echo "Set VOICECLAW_VOICES_DIR=/path/to/voices/ or install piper voices." >&2
|
|
41
|
-
echo "Available voices in $VOICES_DIR:" >&2
|
|
42
|
-
ls "$VOICES_DIR"/*.onnx 2>/dev/null | xargs -n1 basename | sed 's/\.onnx$//' >&2 || echo " (none found)" >&2
|
|
43
|
-
exit 1
|
|
44
|
-
fi
|
|
45
|
-
|
|
46
|
-
# Generate WAV — local piper binary, no network
|
|
47
|
-
CONFIG_ARGS=()
|
|
48
|
-
[[ -f "$CONFIG" ]] && CONFIG_ARGS=(-c "$CONFIG")
|
|
49
|
-
|
|
50
|
-
echo "$TEXT" | "$PIPER_BIN" -m "$MODEL" "${CONFIG_ARGS[@]}" -f "$OUTPUT" 2>/dev/null
|
|
51
|
-
|
|
52
|
-
echo "$OUTPUT"
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# transcribe.sh — Convert audio to text using local Whisper (whisper.cpp)
|
|
3
|
-
# Usage: transcribe.sh <audio_file> [model_path]
|
|
4
|
-
# Output: prints transcript to stdout
|
|
5
|
-
# Supports: ogg, mp3, m4a, wav, flac (auto-converts to wav via ffmpeg)
|
|
6
|
-
#
|
|
7
|
-
# Environment variables:
|
|
8
|
-
# WHISPER_BIN — path to whisper binary (default: auto-detected via `which`)
|
|
9
|
-
# WHISPER_MODEL — path to ggml model file (default: ~/.cache/whisper/ggml-base.en.bin)
|
|
10
|
-
|
|
11
|
-
set -euo pipefail
|
|
12
|
-
|
|
13
|
-
AUDIO_FILE="${1:-}"
|
|
14
|
-
MODEL="${2:-${WHISPER_MODEL:-$HOME/.cache/whisper/ggml-base.en.bin}}"
|
|
15
|
-
WHISPER_BIN="${WHISPER_BIN:-$(which whisper 2>/dev/null || echo whisper)}"
|
|
16
|
-
TMP_WAV="/tmp/voiceclaw_stt_$$.wav"
|
|
17
|
-
|
|
18
|
-
if [[ -z "$AUDIO_FILE" ]]; then
|
|
19
|
-
echo "Usage: transcribe.sh <audio_file> [model_path]" >&2
|
|
20
|
-
echo " Env: WHISPER_BIN, WHISPER_MODEL" >&2
|
|
21
|
-
exit 1
|
|
22
|
-
fi
|
|
23
|
-
|
|
24
|
-
if [[ ! -f "$AUDIO_FILE" ]]; then
|
|
25
|
-
echo "Error: file not found: $AUDIO_FILE" >&2
|
|
26
|
-
exit 1
|
|
27
|
-
fi
|
|
28
|
-
|
|
29
|
-
if [[ ! -f "$MODEL" ]]; then
|
|
30
|
-
echo "Error: Whisper model not found: $MODEL" >&2
|
|
31
|
-
echo "Set WHISPER_MODEL=/path/to/ggml-base.en.bin to point to your model." >&2
|
|
32
|
-
echo "See README.md for one-time model download instructions." >&2
|
|
33
|
-
exit 1
|
|
34
|
-
fi
|
|
35
|
-
|
|
36
|
-
cleanup() { rm -f "$TMP_WAV"; }
|
|
37
|
-
trap cleanup EXIT
|
|
38
|
-
|
|
39
|
-
# Convert to 16kHz mono WAV (Whisper requirement) — local ffmpeg, no network
|
|
40
|
-
ffmpeg -i "$AUDIO_FILE" -ar 16000 -ac 1 "$TMP_WAV" -y -loglevel error
|
|
41
|
-
|
|
42
|
-
# Transcribe — local whisper binary, no network
|
|
43
|
-
"$WHISPER_BIN" -m "$MODEL" "$TMP_WAV" 2>/dev/null \
|
|
44
|
-
| grep -E '^\[' \
|
|
45
|
-
| sed 's/\[[0-9:. ->]*\] *//' \
|
|
46
|
-
| tr '\n' ' ' \
|
|
47
|
-
| sed 's/^[[:space:]]*//' \
|
|
48
|
-
| sed 's/[[:space:]]*$//'
|
|
49
|
-
|
|
50
|
-
echo # final newline
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 AIsa (aisa.one)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|