Compare commits
4 Commits
app-v0.1.4
...
app-v0.1.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e32671f871 | ||
|
|
e23a962923 | ||
|
|
716b5bb2e6 | ||
|
|
e88c94d934 |
@@ -18,7 +18,7 @@
|
||||
- **빠른 음성 대화**: 말하는 도중에 전사하고 답은 문장 단위로 바로 읽어서, 말이 끝난 뒤 첫 소리까지 약 1~1.5초를 목표로 합니다.
|
||||
- **최대 10명 동시 대화**: 화자별로 따로 받아 전사합니다. 여러 명이 동시에 부를 때 어떻게 답할지(처음 대화만 / 들어온 순서대로 / 마지막 대화만 / 제일 중요한 대화만)는 GUI에서 고릅니다.
|
||||
- **호출어와 지정한 사람**:
|
||||
- 호출어는 GUI에서 여러 개 등록합니다.
|
||||
- 호출어는 GUI에서 여러 개 등록합니다. 기본값은 "비서", "비서야", "비서님", "김비서", "김비서야", "김비서님"입니다.
|
||||
- "지정한 사람만 응답"과 "지정한 사람은 호출어 없이 대답"을 각각 켜고 끕니다.
|
||||
- **AI 채팅 채널**: 등록한 디스코드 채팅 채널을 자비스가 읽고, 메시지를 보내고, 자기 메시지를 고칩니다. 채널 ID, 이름, 설명은 GUI에서 편집하고, 고친 이름·설명은 실제 디스코드 채널 이름·주제에도 반영합니다(끌 수 있음).
|
||||
- **예약 알림과 정기 작업**: "10분 뒤에 알려 줘", "내일 7시에 회의 알려 줘", "평일 아침 9시에 날씨 알려 줘"처럼 말이나 채팅으로 맡깁니다. 맡긴 사람이 자비스와 같은 음성 채널에 있으면 음성으로, 아니면 채팅 채널에 글로 전합니다. 정기 작업은 날씨, 웹 검색처럼 찾아보는 기능만 쓰고, 관리 앱 "예약" 화면에서 목록을 보고 지울 수 있습니다.
|
||||
|
||||
2
app/Cargo.lock
generated
2
app/Cargo.lock
generated
@@ -1520,7 +1520,7 @@ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
||||
|
||||
[[package]]
|
||||
name = "jarvis-app"
|
||||
version = "0.1.45"
|
||||
version = "0.1.46"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"base64 0.22.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "jarvis-app"
|
||||
version = "0.1.45"
|
||||
version = "0.1.46"
|
||||
edition = "2021"
|
||||
rust-version = "1.85"
|
||||
description = "Jarvis v2 Windows app core: Discord voice, voice worker supervisor, chat channels"
|
||||
|
||||
4
app/shell/Cargo.lock
generated
4
app/shell/Cargo.lock
generated
@@ -2637,7 +2637,7 @@ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
||||
|
||||
[[package]]
|
||||
name = "jarvis-app"
|
||||
version = "0.1.45"
|
||||
version = "0.1.46"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"base64 0.22.1",
|
||||
@@ -2666,7 +2666,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "jarvis-shell"
|
||||
version = "0.1.45"
|
||||
version = "0.1.46"
|
||||
dependencies = [
|
||||
"jarvis-app",
|
||||
"serde_json",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "jarvis-shell"
|
||||
version = "0.1.45"
|
||||
version = "0.1.46"
|
||||
edition = "2021"
|
||||
rust-version = "1.85"
|
||||
description = "Jarvis v2 management app window (Tauri 2 over the app core's AdminApi)"
|
||||
|
||||
@@ -885,8 +885,13 @@ its data folder, and again after each one is saved. The log hub writes to the da
|
||||
## Screens (`app/ui/`)
|
||||
|
||||
Plain HTML, CSS and an ES module, no build step, dark theme after `DESIGN.md`. All text is Korean.
|
||||
The side menu has 대화 right under 대시보드 and 앱 last; there is no separate update screen (updates
|
||||
are on the 앱 screen) and no separate 한 일 screen (it is a view of the 로그 screen).
|
||||
The side menu has 대시보드 and 대화 on top, then groups that open and close when their name is
|
||||
pressed (user request, 2026-11-19): 디스코드 (봇, 음성 채널, 채팅 채널), 대화 방식 (호출, 여럿이 말할
|
||||
때, 대화 기억, 사람별 지침), 음성·모델 (받아 적기·말하기, 대화 모델), 기능 (기능 켜기·MCP, 예약,
|
||||
백그라운드 수집), PC (PC 제어·화면 보기, 게임 모드) and 관리 (로그, 앱). The group of the screen
|
||||
shown opens (and the 관리 group when a new version renames the 앱 button); which groups are open is
|
||||
kept in the page's storage for the next start. There is no separate update screen (updates are on
|
||||
the 앱 screen) and no separate 한 일 screen (it is a view of the 로그 screen).
|
||||
|
||||
- **First-run wizard** (while `firstRun`): data folder (free space, warning under 200 GB), PC check,
|
||||
the model to download, Discord bot (token check with the
|
||||
@@ -899,7 +904,7 @@ are on the 앱 screen) and no separate 한 일 screen (it is a view of the 로
|
||||
Strata's last line, and stop in the header; the header with start, restart and stop is rebuilt
|
||||
only when the state changes, so a click is never lost to the refresh. Every screen change starts
|
||||
a new generation: an answer that arrives after the user moved to another screen is dropped.
|
||||
- **Settings screens** (봇, 채널·호출, 채팅 채널, 대화 기억, 모델, 기능, 백그라운드 수집, 예약, PC 제어, 게임 모드, 앱): built from `settings_fields`; only
|
||||
- **Settings screens** (봇, 음성 채널, 호출, 여럿이 말할 때, 채팅 채널, 대화 기억, 받아 적기·말하기, 대화 모델, 기능 켜기·MCP, 백그라운드 수집, 예약, PC 제어·화면 보기, 게임 모드, 앱): built from `settings_fields`, each field on one screen: 음성 채널 has the server, the auto-join channel, the speakers, bots, the join notice and the recording switch; 호출 the voice and chat wake words and `call.*`; 여럿이 말할 때 `response.*`; 받아 적기·말하기 `voice.stt.*` and the speech speed; 대화 모델 `llm.*`; the default location is on 기능 켜기·MCP (weather and search use it); only
|
||||
changed fields are sent; the server and voice channel are pickers (choosing another server clears
|
||||
the voice channel and lists only that server's channels); the chat channels are a table
|
||||
with their switches; the bot screen also changes the token; the 기능 screen has the feature
|
||||
|
||||
@@ -38,7 +38,7 @@ pub struct CallSettings {
|
||||
impl Default for CallSettings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
wake_words: vec!["자비스".into()],
|
||||
wake_words: crate::settings::default_wake_words(),
|
||||
similarity: 0.2,
|
||||
mode: CallMode::WakeWord,
|
||||
designated: HashSet::new(),
|
||||
@@ -70,9 +70,9 @@ pub fn normalise(text: &str) -> Vec<char> {
|
||||
text.nfkd().flat_map(char::to_lowercase).filter(|c| c.is_alphanumeric()).collect()
|
||||
}
|
||||
|
||||
/// The stretch `[start, end)` of `text` closest to `word`, if within `max_edits` edits
|
||||
/// (approximate substring matching: the match may start and end anywhere in `text`).
|
||||
fn find(text: &[char], word: &[char], max_edits: usize) -> Option<(usize, usize)> {
|
||||
/// The stretch `[start, end)` of `text` closest to `word` and its edits, if within `max_edits`
|
||||
/// edits (approximate substring matching: the match may start and end anywhere in `text`).
|
||||
fn find(text: &[char], word: &[char], max_edits: usize) -> Option<(usize, usize, usize)> {
|
||||
if word.is_empty() || text.is_empty() {
|
||||
return None;
|
||||
}
|
||||
@@ -104,7 +104,7 @@ fn find(text: &[char], word: &[char], max_edits: usize) -> Option<(usize, usize)
|
||||
(1..=n)
|
||||
.filter(|&j| d[m][j] <= max_edits)
|
||||
.min_by_key(|&j| (d[m][j], j))
|
||||
.map(|j| (start[m][j], j))
|
||||
.map(|j| (start[m][j], j, d[m][j]))
|
||||
}
|
||||
|
||||
impl CallSettings {
|
||||
@@ -114,13 +114,15 @@ impl CallSettings {
|
||||
|
||||
/// The text with the first heard wake word removed, if one is heard.
|
||||
fn without_wake_word(&self, text: &[char]) -> Option<Vec<char>> {
|
||||
// The earliest heard wake word is the one used to address Jarvis.
|
||||
let (s, e) = self
|
||||
// The earliest heard wake word is the one used to address Jarvis; where several start
|
||||
// there, the closest, then the longest ("비서야" over "비서"), so no part of the call is
|
||||
// left over and a near match does not eat into what follows.
|
||||
let (s, e, _) = self
|
||||
.wake_words
|
||||
.iter()
|
||||
.map(|w| normalise(w))
|
||||
.filter_map(|word| find(text, &word, self.allowed_edits(&word)))
|
||||
.min()?;
|
||||
.min_by_key(|&(s, e, edits)| (s, edits, std::cmp::Reverse(e)))?;
|
||||
Some(text[..s].iter().chain(&text[e..]).copied().collect())
|
||||
}
|
||||
|
||||
@@ -169,8 +171,9 @@ mod tests {
|
||||
const A: u64 = 1;
|
||||
const B: u64 = 2;
|
||||
|
||||
/// The mechanism tests use one wake word of their own, whatever the default is.
|
||||
fn s() -> CallSettings {
|
||||
CallSettings::default()
|
||||
CallSettings { wake_words: vec!["자비스".into()], ..CallSettings::default() }
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -264,4 +267,25 @@ mod tests {
|
||||
assert_eq!(c.judge(A, "javis 날씨"), Call::Request { direct: true });
|
||||
assert_eq!(c.judge(A, "javis stop"), Call::Stop);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_longest_wake_word_where_the_call_starts_is_the_one_removed() {
|
||||
let c = CallSettings { wake_words: vec!["비서".into(), "비서야".into(), "김비서".into()], ..s() };
|
||||
assert!(c.wake_word_only("비서야,"), "the call form is the whole wake word, not 비서 and a 야 left over");
|
||||
assert!(c.wake_word_only("김비서?"));
|
||||
assert_eq!(c.judge(A, "비서야 멈춰"), Call::Stop);
|
||||
assert_eq!(c.judge(A, "김비서 그만해"), Call::Stop);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn by_default_jarvis_is_called_like_a_secretary() {
|
||||
let c = CallSettings::default();
|
||||
for call in ["비서", "비서야", "비서님", "김비서", "김비서야", "김비서님"] {
|
||||
assert!(c.wake_word_only(&format!("{call},")), "{call}");
|
||||
assert_eq!(c.judge(A, &format!("{call} 오늘 날씨 어때?")), Call::Request { direct: true }, "{call}");
|
||||
assert_eq!(c.judge(A, &format!("{call} 멈춰")), Call::Stop, "{call}");
|
||||
}
|
||||
assert_eq!(c.judge(A, "오늘 날씨 어때?"), Call::Ignore);
|
||||
assert_eq!(c.judge(A, "자비스 날씨"), Call::Ignore, "the old name no longer calls");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -502,6 +502,11 @@ pub async fn run<V: Voice>(mut conv: Conversation<V>, mut events: mpsc::Unbounde
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
/// The tests call Jarvis by one wake word of their own, whatever the default is.
|
||||
fn test_calls() -> CallSettings {
|
||||
CallSettings { wake_words: vec!["자비스".into()], ..CallSettings::default() }
|
||||
}
|
||||
use crate::discord::{Heard, HeardFinal};
|
||||
use crate::playback::PlaybackEnd;
|
||||
use crate::policy::PolicyKind;
|
||||
@@ -588,7 +593,7 @@ mod tests {
|
||||
|
||||
fn conv(kind: PolicyKind, mode: CallMode) -> (Conversation<Fake>, Fake, Instant) {
|
||||
let f = Fake::default();
|
||||
let calls = CallSettings { mode, earcon: false, ..CallSettings::default() };
|
||||
let calls = CallSettings { mode, earcon: false, ..test_calls() };
|
||||
let policy = PolicySettings { kind, collect: Duration::ZERO, ..PolicySettings::default() };
|
||||
*f.people.borrow_mut() = vec![A, B];
|
||||
(Conversation::new(f.clone(), calls, policy), f, Instant::now())
|
||||
@@ -596,7 +601,7 @@ mod tests {
|
||||
fn conv_earcon(kind: PolicyKind) -> (Conversation<Fake>, Fake, Instant) {
|
||||
let f = Fake::default();
|
||||
let policy = PolicySettings { kind, collect: Duration::ZERO, ..PolicySettings::default() };
|
||||
(Conversation::new(f.clone(), CallSettings::default(), policy), f, Instant::now())
|
||||
(Conversation::new(f.clone(), test_calls(), policy), f, Instant::now())
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -624,7 +629,7 @@ mod tests {
|
||||
// Nothing followed the next one: it is answered alone, still with one earcon.
|
||||
c.on_event(&end("s1", false), ms(t, 5000));
|
||||
c.on_event(&fin_utt(A, 3, "자비스"), ms(t, 6000));
|
||||
c.tick(ms(t, 6000) + CallSettings::default().follow_up);
|
||||
c.tick(ms(t, 6000) + test_calls().follow_up);
|
||||
assert_eq!(f.take(), vec![Did::Earcon, Did::Answer(A, "자비스".into())]);
|
||||
}
|
||||
|
||||
@@ -708,7 +713,7 @@ mod tests {
|
||||
c.on_event(&start(A, 1), ms(t, 0));
|
||||
c.on_event(&start(A, 2), ms(t, 600)); // the final of utterance 1 comes after 2 started
|
||||
c.on_event(&fin_utt(A, 1, "자비스"), ms(t, 900));
|
||||
c.tick(ms(t, 900) + CallSettings::default().follow_up + Duration::from_millis(1));
|
||||
c.tick(ms(t, 900) + test_calls().follow_up + Duration::from_millis(1));
|
||||
assert!(f.take().is_empty());
|
||||
c.on_event(&fin_utt(A, 2, "멈춰"), ms(t, 3000));
|
||||
assert_eq!(f.take(), vec![Did::StopAll], "joined, it is a stop");
|
||||
@@ -719,7 +724,7 @@ mod tests {
|
||||
let (mut c, f, t) = conv(PolicyKind::First, CallMode::WakeWord);
|
||||
c.on_event(&start(A, 1), ms(t, 0));
|
||||
c.on_event(&fin_utt(A, 1, "자비스"), ms(t, 900));
|
||||
let wait = CallSettings::default().follow_up;
|
||||
let wait = test_calls().follow_up;
|
||||
assert_eq!(c.next_deadline(), Some(ms(t, 900) + wait));
|
||||
c.tick(ms(t, 900) + wait - Duration::from_millis(1));
|
||||
assert!(f.take().is_empty());
|
||||
@@ -748,7 +753,7 @@ mod tests {
|
||||
assert!(f.take().is_empty(), "no wake word: not a call");
|
||||
c.on_event(&start(A, 2), ms(t, 62_000));
|
||||
c.on_event(&fin_utt(A, 2, "자비스"), ms(t, 63_000));
|
||||
let wait = CallSettings::default().follow_up;
|
||||
let wait = test_calls().follow_up;
|
||||
assert_eq!(c.next_deadline(), Some(ms(t, 63_000) + wait));
|
||||
c.tick(ms(t, 63_000) + wait);
|
||||
assert_eq!(f.take(), vec![Did::Answer(A, "자비스".into())]);
|
||||
@@ -759,7 +764,7 @@ mod tests {
|
||||
let (mut c, f, t) = conv(PolicyKind::First, CallMode::WakeWord);
|
||||
c.on_event(&fin_utt(A, 1, "자비스"), ms(t, 900));
|
||||
c.on_event(&CoreEvent::Stopped, ms(t, 1000));
|
||||
c.tick(ms(t, 900) + CallSettings::default().follow_up);
|
||||
c.tick(ms(t, 900) + test_calls().follow_up);
|
||||
assert!(f.take().is_empty());
|
||||
assert_eq!(c.next_deadline(), None);
|
||||
}
|
||||
@@ -826,7 +831,7 @@ mod tests {
|
||||
let f = Fake::default();
|
||||
*f.people.borrow_mut() = vec![A, B, 33];
|
||||
let calls = CallSettings { mode: CallMode::Addressed, earcon: false, designated: [A].into(), designated_only: true,
|
||||
..CallSettings::default() };
|
||||
..test_calls() };
|
||||
let mut c = Conversation::new(f.clone(), calls, PolicySettings { kind: PolicyKind::InOrder, ..PolicySettings::default() });
|
||||
c.on_event(&fin(A, "불 좀 꺼 줄래", 100), ms(t, 0));
|
||||
assert!(matches!(f.take()[..], [Did::Addressed(_, A)]));
|
||||
@@ -930,7 +935,7 @@ mod tests {
|
||||
(CH_ALL, ChatChannelCall { everything: true, send: true }),
|
||||
(CH_MUTE, ChatChannelCall { everything: true, send: false }),
|
||||
].into() };
|
||||
let voice = CallSettings { earcon: false, ..CallSettings::default() };
|
||||
let voice = CallSettings { earcon: false, ..test_calls() };
|
||||
let c = Conversation::new(f.clone(), voice, PolicySettings::default()).with_chat(chat);
|
||||
(c, f, Instant::now())
|
||||
}
|
||||
@@ -942,7 +947,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn a_chat_call_is_answered_as_a_reply_to_its_message() {
|
||||
let (mut c, f, t) = chat_conv(CallSettings::default());
|
||||
let (mut c, f, t) = chat_conv(test_calls());
|
||||
c.on_event(&chat(CH_WAKE, 5, A, false, "자비스 내일 일정 알려 줘"), t);
|
||||
let Did::ChatAnswer(id, user, text) = f.take().remove(0) else { panic!() };
|
||||
assert_eq!((user, text.as_str()), (A, "자비스 내일 일정 알려 줘"));
|
||||
@@ -956,7 +961,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn chat_answers_follow_each_channels_switch_and_never_answer_bots() {
|
||||
let (mut c, f, t) = chat_conv(CallSettings::default());
|
||||
let (mut c, f, t) = chat_conv(test_calls());
|
||||
c.on_event(&chat(CH_WAKE, 1, A, false, "오늘 뭐 먹지"), t);
|
||||
assert!(f.take().is_empty(), "wake word only");
|
||||
c.on_event(&chat(CH_ALL, 2, A, false, "오늘 뭐 먹지"), t);
|
||||
@@ -974,7 +979,7 @@ mod tests {
|
||||
#[test]
|
||||
fn chat_uses_its_own_wake_words_and_the_designated_people() {
|
||||
let calls = CallSettings { wake_words: vec!["봇".into()], designated: [A].into(), designated_only: true,
|
||||
..CallSettings::default() };
|
||||
..test_calls() };
|
||||
let (mut c, f, t) = chat_conv(calls);
|
||||
c.on_event(&chat(CH_WAKE, 1, A, false, "봇 안녕"), t);
|
||||
assert_eq!(f.take().len(), 1);
|
||||
@@ -986,7 +991,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn a_failed_chat_answer_posts_nothing_and_chat_leaves_voice_alone() {
|
||||
let (mut c, f, t) = chat_conv(CallSettings::default());
|
||||
let (mut c, f, t) = chat_conv(test_calls());
|
||||
c.on_event(&fin(A, "자비스 날씨", 100), t);
|
||||
c.on_event(&chat(CH_ALL, 9, B, false, "안녕"), t);
|
||||
let did = f.take();
|
||||
@@ -999,7 +1004,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn a_chat_answer_after_its_keep_time_is_not_posted() {
|
||||
let (mut c, f, t) = chat_conv(CallSettings::default());
|
||||
let (mut c, f, t) = chat_conv(test_calls());
|
||||
c.on_event(&chat(CH_WAKE, 5, A, false, "자비스 안녕"), t);
|
||||
let Did::ChatAnswer(id, ..) = f.take().remove(0) else { panic!() };
|
||||
c.on_event(&CoreEvent::ReplyText { id: id.clone(), text: "안녕하세요.".into(), failed: false }, t + CHAT_ANSWER_KEPT);
|
||||
|
||||
@@ -24,7 +24,7 @@ Settings (`settings.json`, section `call`; wake words stay in `voice.wakeWords`)
|
||||
|
||||
| Key | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `voice.wakeWords` | `["자비스"]` | Wake words for voice (also the STT hint). |
|
||||
| `voice.wakeWords` | `["비서", "비서야", "비서님", "김비서", "김비서야", "김비서님"]` | Wake words for voice (also the STT hint). The default calls Jarvis like a secretary, by the word and its usual call forms (user request, 2026-11-19; before it was `["자비스"]`). |
|
||||
| `call.chatWakeWords` | `null` | Wake words for chat; `null` uses `voice.wakeWords`. |
|
||||
| `call.similarity` | `0.2` | How far a heard word may be from a wake word, as a share of the wake word's normalised letters (0-0.5). `0` needs an exact match. |
|
||||
| `call.mode` | `"wakeWord"` | `wakeWord`: answer only when called by a wake word. `addressed`: also answer what is judged to be said to Jarvis. `everything`: answer every utterance. |
|
||||
@@ -42,6 +42,9 @@ away from "자비스" (of six) while "서비스" is two away.
|
||||
A wake word is heard when some stretch of the normalised text is at most
|
||||
`floor(similarity × letters of the wake word)` edits (insert, delete, substitute) from it. With the
|
||||
default 0.2, "자비스" (six letters) allows one edit. A wake word anywhere in the utterance counts.
|
||||
The earliest heard wake word is the call; where several are heard starting there, the one with the
|
||||
fewest edits, then the longest, so a call form ("비서야") is removed whole and leaves nothing over
|
||||
("비서야 멈춰" is a stop), and a near match of a longer word does not eat into what follows.
|
||||
|
||||
Decision for one utterance (`judge(speaker, text)`), in order:
|
||||
|
||||
@@ -208,7 +211,7 @@ each to the chat model, the heard text fenced as data. Eval: `evals/test_voice_j
|
||||
## Tests
|
||||
|
||||
`cargo test` covers call detection (exact and near wake words in Hangul and Latin, a different word
|
||||
two letters away, wake word anywhere, stop with and without a wake word, designated combinations,
|
||||
two letters away, wake word anywhere, the longest call form where several start (the default secretary call forms), stop with and without a wake word, designated combinations,
|
||||
modes) and every policy rule above with fake times (settling, ordering by end time, busy, queue limit,
|
||||
interruption and `response.interrupt` off, ranking tie, ranking timeout, stop dropping the queue), and the conversation loop with a
|
||||
fake voice side (answering and queueing, a busy drop recorded without text, voice stop, addressed alone
|
||||
|
||||
@@ -254,6 +254,12 @@ impl std::error::Error for SettingsError {}
|
||||
pub const DEFAULT_JOIN_NOTICE: &str =
|
||||
"자비스가 이 음성 채널에 들어왔습니다. 이 채널의 대화는 자비스가 받아 적습니다.";
|
||||
|
||||
/// The default wake words: Jarvis is called like a secretary, by the word and its usual call forms
|
||||
/// (the longest one heard is the call, `calls.rs`).
|
||||
pub fn default_wake_words() -> Vec<String> {
|
||||
["비서", "비서야", "비서님", "김비서", "김비서야", "김비서님"].map(String::from).to_vec()
|
||||
}
|
||||
|
||||
impl Default for Settings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
@@ -268,7 +274,7 @@ impl Default for Settings {
|
||||
listen_to_bots: false,
|
||||
record: false,
|
||||
join_notice: DEFAULT_JOIN_NOTICE.into(),
|
||||
wake_words: vec!["자비스".into()],
|
||||
wake_words: default_wake_words(),
|
||||
stt: Map::new(),
|
||||
tts_speed: 1.5,
|
||||
},
|
||||
|
||||
@@ -15,10 +15,13 @@ use crate::settings::{parse_settings, DEFAULT_JOIN_NOTICE};
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub enum Screen {
|
||||
Bot,
|
||||
Channels,
|
||||
VoiceChannel,
|
||||
Call,
|
||||
Response,
|
||||
Chat,
|
||||
Memory,
|
||||
Model,
|
||||
Voice,
|
||||
Llm,
|
||||
Features,
|
||||
Collect,
|
||||
Game,
|
||||
@@ -78,33 +81,33 @@ pub fn fields() -> Vec<Field> {
|
||||
vec![
|
||||
f("discord.commandName", Bot, Text { max: 32, non_empty: true }, json!("자비스"), "슬래시 명령 이름"),
|
||||
f("discord.ephemeralReplies", Bot, Bool, json!(true), "명령 응답은 부른 사람만 보기"),
|
||||
f("discord.guildId", Channels, Id, Value::Null, "서버"),
|
||||
f("discord.voiceChannelId", Channels, Id, Value::Null, "자동으로 들어갈 음성 채널"),
|
||||
f("voice.maxSpeakers", Channels, Int { min: 1, max: 10 }, json!(10), "동시에 받아 적을 최대 인원"),
|
||||
f("voice.listenToBots", Channels, Bool, json!(false), "다른 봇의 말도 받아 적기"),
|
||||
f("voice.wakeWords", Channels, TextList { max_items: 20, nullable: false }, json!(["자비스"]), "호출어"),
|
||||
f("call.mode", Channels, Choice { values: &["wakeWord", "addressed", "everything"] }, json!("wakeWord"),
|
||||
f("discord.guildId", VoiceChannel, Id, Value::Null, "서버"),
|
||||
f("discord.voiceChannelId", VoiceChannel, Id, Value::Null, "자동으로 들어갈 음성 채널"),
|
||||
f("voice.maxSpeakers", VoiceChannel, Int { min: 1, max: 10 }, json!(10), "동시에 받아 적을 최대 인원"),
|
||||
f("voice.listenToBots", VoiceChannel, Bool, json!(false), "다른 봇의 말도 받아 적기"),
|
||||
f("voice.wakeWords", Call, TextList { max_items: 20, nullable: false }, json!(crate::settings::default_wake_words()), "호출어"),
|
||||
f("call.mode", Call, Choice { values: &["wakeWord", "addressed", "everything"] }, json!("wakeWord"),
|
||||
"호출 방식"),
|
||||
f("call.similarity", Channels, Number { min: 0.0, max: 0.5 }, json!(0.2), "비슷한 발음 허용 정도"),
|
||||
f("call.designated", Channels, IdList, json!([]), "지정한 사람"),
|
||||
f("call.designatedOnly", Channels, Bool, json!(false), "지정한 사람에게만 응답"),
|
||||
f("call.designatedNoWakeWord", Channels, Bool, json!(false), "지정한 사람은 호출어 없이 대답"),
|
||||
f("call.stopWords", Channels, TextList { max_items: 20, nullable: false },
|
||||
f("call.similarity", Call, Number { min: 0.0, max: 0.5 }, json!(0.2), "비슷한 발음 허용 정도"),
|
||||
f("call.designated", Call, IdList, json!([]), "지정한 사람"),
|
||||
f("call.designatedOnly", Call, Bool, json!(false), "지정한 사람에게만 응답"),
|
||||
f("call.designatedNoWakeWord", Call, Bool, json!(false), "지정한 사람은 호출어 없이 대답"),
|
||||
f("call.stopWords", Call, TextList { max_items: 20, nullable: false },
|
||||
json!(["멈춰", "그만", "정지", "stop"]), "정지 명령"),
|
||||
f("call.followUpMs", Channels, Int { min: 0, max: 5000 }, json!(1500), "호출어 뒤 이어 말하기 대기(ms)"),
|
||||
f("call.earcon", Channels, Bool, json!(true), "부르면 효과음"),
|
||||
f("response.policy", Channels, Choice { values: &["first", "inOrder", "latest", "important"] },
|
||||
f("call.followUpMs", Call, Int { min: 0, max: 5000 }, json!(1500), "호출어 뒤 이어 말하기 대기(ms)"),
|
||||
f("call.earcon", Call, Bool, json!(true), "부르면 효과음"),
|
||||
f("response.policy", Response, Choice { values: &["first", "inOrder", "latest", "important"] },
|
||||
json!("latest"), "동시 대화 응답 정책"),
|
||||
f("response.queueMax", Channels, Int { min: 1, max: 20 }, json!(5), "기다리는 요청 최대 개수"),
|
||||
f("response.collectMs", Channels, Int { min: 0, max: 3000 }, json!(700), "중요도 비교 대기(ms)"),
|
||||
f("response.settleMs", Channels, Int { min: 0, max: 3000 }, json!(800), "먼저 끝난 말 전사 대기(ms)"),
|
||||
f("response.priorities", Channels, IdNumberMap, json!({}), "사람별 우선순위"),
|
||||
f("response.interrupt", Channels, Bool, json!(true),
|
||||
f("response.queueMax", Response, Int { min: 1, max: 20 }, json!(5), "기다리는 요청 최대 개수"),
|
||||
f("response.collectMs", Response, Int { min: 0, max: 3000 }, json!(700), "중요도 비교 대기(ms)"),
|
||||
f("response.settleMs", Response, Int { min: 0, max: 3000 }, json!(800), "먼저 끝난 말 전사 대기(ms)"),
|
||||
f("response.priorities", Response, IdNumberMap, json!({}), "사람별 우선순위"),
|
||||
f("response.interrupt", Response, Bool, json!(true),
|
||||
"말하는 중에 새 요청이 오면 하던 말 멈추기(가장 최근 것, 중요한 것 먼저)"),
|
||||
f("voice.joinNotice", Channels, Text { max: 2000, non_empty: true }, json!(DEFAULT_JOIN_NOTICE),
|
||||
f("voice.joinNotice", VoiceChannel, Text { max: 2000, non_empty: true }, json!(DEFAULT_JOIN_NOTICE),
|
||||
"입장 시 전사 고지 문구"),
|
||||
f("chatChannels", Chat, ChatChannels, json!([]), "채팅 채널"),
|
||||
f("call.chatWakeWords", Chat, TextList { max_items: 20, nullable: true }, Value::Null,
|
||||
f("call.chatWakeWords", Call, TextList { max_items: 20, nullable: true }, Value::Null,
|
||||
"채팅 호출어(비우면 음성과 같음)"),
|
||||
// The worker's memory settings and their defaults (voice_worker.spec.md, "Memory settings").
|
||||
f("memory.chat", Memory, Bool, json!(true), "등록한 채팅 채널 참고"),
|
||||
@@ -116,21 +119,21 @@ pub fn fields() -> Vec<Field> {
|
||||
f("memory.recent_records", Memory, Int { min: 0, max: 200 }, json!(20), "최근 대화 원문 개수"),
|
||||
f("memory.matches", Memory, Int { min: 0, max: 20 }, json!(5), "과거 기록 가져올 개수"),
|
||||
f("memory.budget_tokens", Memory, Number { min: 0.0, max: 100000.0 }, json!(4000), "참고 분량 상한(토큰)"),
|
||||
f("voice.record", Memory, Bool, json!(false),
|
||||
f("voice.record", VoiceChannel, Bool, json!(false),
|
||||
"목소리 녹음 저장(사람 말과 자비스 말, 분석용, 7일 보관, 다음 시작부터)"),
|
||||
// The worker's STT settings and their defaults (voice_worker.spec.md, "STT").
|
||||
f("voice.stt.end_silence_ms", Model, Int { min: 100, max: 2000 }, json!(300), "말 끝 판정 시간(ms)"),
|
||||
f("voice.stt.partials", Model, Bool, json!(true), "중간 전사"),
|
||||
f("voice.stt.partial_interval_ms", Model, Int { min: 100, max: 5000 }, json!(400), "중간 전사 간격(ms)"),
|
||||
f("voice.stt.final_beam", Model, Int { min: 1, max: 5 }, json!(2), "최종 전사 정확도(빔)"),
|
||||
f("voice.stt.language", Model, LanguageCode, json!("ko"), "받아 적을 언어(비우면 자동)"),
|
||||
f("voice.stt.end_silence_ms", Voice, Int { min: 100, max: 2000 }, json!(300), "말 끝 판정 시간(ms)"),
|
||||
f("voice.stt.partials", Voice, Bool, json!(true), "중간 전사"),
|
||||
f("voice.stt.partial_interval_ms", Voice, Int { min: 100, max: 5000 }, json!(400), "중간 전사 간격(ms)"),
|
||||
f("voice.stt.final_beam", Voice, Int { min: 1, max: 5 }, json!(2), "최종 전사 정확도(빔)"),
|
||||
f("voice.stt.language", Voice, LanguageCode, json!("ko"), "받아 적을 언어(비우면 자동)"),
|
||||
// MeloTTS's Korean model has one voice (speaker "KR"), so only the speed is a choice.
|
||||
f("voice.tts.speed", Model, Number { min: 0.5, max: 2.0 }, json!(1.5), "말하기 속도(1.0 보통, 기본 1.5, 저장하면 바로 적용)"),
|
||||
f("voice.tts.speed", Voice, Number { min: 0.5, max: 2.0 }, json!(1.5), "말하기 속도(1.0 보통, 기본 1.5, 저장하면 바로 적용)"),
|
||||
// The LLM (admin.spec.md, "LLM"); `llm.url` (a server the app does not start) is file-only.
|
||||
f("llm.context", Model, Int { min: 4096, max: 262144 }, json!(32768), "대화 모델이 한 번에 기억하는 양(토큰)"),
|
||||
f("brain.location", Model, Text { max: 100, non_empty: false }, json!(crate::settings::DEFAULT_LOCATION),
|
||||
f("llm.context", Llm, Int { min: 4096, max: 262144 }, json!(32768), "대화 모델이 한 번에 기억하는 양(토큰)"),
|
||||
f("brain.location", Features, Text { max: 100, non_empty: false }, json!(crate::settings::DEFAULT_LOCATION),
|
||||
"기본 위치(날씨, 검색, 추천의 기준, 비우면 자동 감지)"),
|
||||
f("llm.port", Model, Int { min: 1024, max: 65535 }, json!(8080), "대화 모델 포트"),
|
||||
f("llm.port", Llm, Int { min: 1024, max: 65535 }, json!(8080), "대화 모델 포트"),
|
||||
// The brain's features (admin.spec.md, "Features and MCP servers").
|
||||
f("features.weather", Features, Bool, json!(true), "날씨"),
|
||||
f("features.webSearch", Features, Bool, json!(true), "웹 검색"),
|
||||
|
||||
@@ -210,8 +210,8 @@ async fn conversation_round_trip_on_real_discord() {
|
||||
}
|
||||
std::fs::write(data.join("config").join("settings.json"), serde_json::to_string_pretty(&json!({
|
||||
"discord": {"guildId": guild.to_string(), "voiceChannelId": voice.to_string()},
|
||||
// The "person" here is a bot, so bots must be heard.
|
||||
"voice": {"listenToBots": true},
|
||||
// The "person" here is a bot, so bots must be heard; the recorded questions call "자비스".
|
||||
"voice": {"listenToBots": true, "wakeWords": ["자비스"]},
|
||||
"voiceWorker": {"python": env("JARVIS_VOICE_PYTHON"), "cwd": root.join("../src"), "args": args},
|
||||
"llm": {"url": env("JARVIS_LIVE_LLM_URL")},
|
||||
})).unwrap()).unwrap();
|
||||
|
||||
@@ -992,7 +992,7 @@ function updateCard() {
|
||||
async function checkUpdate() {
|
||||
try {
|
||||
const u = await api("update_check");
|
||||
if (u.latest) { $("#nav-app").textContent = "앱 (새 버전)"; toast(`새 버전 ${u.latest.version}이 있습니다. 앱 화면에서 설치할 수 있습니다.`); }
|
||||
if (u.latest) { $("#nav-app").textContent = "앱 (새 버전)"; setGroup($("#nav-app").closest(".group"), true); toast(`새 버전 ${u.latest.version}이 있습니다. 앱 화면에서 설치할 수 있습니다.`); }
|
||||
} catch (e) { /* offline: the 앱 screen shows why */ }
|
||||
}
|
||||
|
||||
@@ -1025,14 +1025,18 @@ async function show(name) {
|
||||
current = name;
|
||||
clearInterval(ticker);
|
||||
for (const b of document.querySelectorAll(".nav")) b.classList.toggle("on", b.dataset.screen === name);
|
||||
// The group of the screen shown opens (a new version's 앱 button is then seen too).
|
||||
const group = document.querySelector(`.nav[data-screen="${name}"]`)?.closest(".group");
|
||||
if (group) setGroup(group, true);
|
||||
const screen = $("#screen");
|
||||
try {
|
||||
if (name === "dashboard") { screen.replaceChildren(); await refresh(); ticker = setInterval(refresh, 1000); return; }
|
||||
if (name === "logs") { const l = logsScreen(); screen.replaceChildren(l.view); ticker = setInterval(l.tick, 1000); return; }
|
||||
if (name === "conversations") { const c = conversationScreen(); screen.replaceChildren(c.view); ticker = setInterval(c.tick, 500); return; }
|
||||
if (name === "notes") { screen.replaceChildren(notesScreen()); return; }
|
||||
const titles = { bot: "봇", channels: "채널·호출", chat: "채팅 채널", memory: "대화 기억", model: "모델", features: "기능",
|
||||
collect: "백그라운드 수집", game: "게임 모드", schedule: "예약", pcControl: "PC 제어", app: "앱" };
|
||||
const titles = { bot: "봇", voiceChannel: "음성 채널", call: "호출", response: "여럿이 말할 때", chat: "채팅 채널",
|
||||
memory: "대화 기억", voice: "받아 적기·말하기", llm: "대화 모델", features: "기능 켜기·MCP",
|
||||
collect: "백그라운드 수집", game: "게임 모드", schedule: "예약", pcControl: "PC 제어·화면 보기", app: "앱" };
|
||||
const update = name === "app" ? updateCard() : null;
|
||||
const extra = name === "bot" ? await tokenCard() : name === "features" ? h("div", {}, await kmaKeyCard(), await displayDriverCard())
|
||||
: name === "app" ? h("div", {}, update.view, h("div", { class: "hint", style: "margin:12px 0" }, "트레이로 최소화하면 창만 숨고 봇과 서비스는 계속 돕니다. 작업 표시줄 오른쪽의 Jarvis 아이콘을 누르면 창이 다시 열리고, 아이콘의 오른쪽 클릭 메뉴에서 완전 종료할 수 있습니다. 저장하면 바로 적용됩니다.")) : null;
|
||||
@@ -1046,6 +1050,23 @@ async function show(name) {
|
||||
} catch (e) { fail(e); }
|
||||
}
|
||||
|
||||
/** Open or close one menu group; which groups are open is kept for the next start. */
|
||||
function setGroup(g, open) {
|
||||
g.classList.toggle("open", open);
|
||||
g.querySelector(".group-head").setAttribute("aria-expanded", String(open));
|
||||
const kept = new Set(JSON.parse(localStorage.getItem("openGroups") || "[]"));
|
||||
open ? kept.add(g.dataset.group) : kept.delete(g.dataset.group);
|
||||
localStorage.setItem("openGroups", JSON.stringify([...kept]));
|
||||
}
|
||||
|
||||
function initGroups() {
|
||||
const kept = new Set(JSON.parse(localStorage.getItem("openGroups") || "[]"));
|
||||
for (const g of document.querySelectorAll(".group")) {
|
||||
if (kept.has(g.dataset.group)) setGroup(g, true);
|
||||
g.querySelector(".group-head").onclick = () => setGroup(g, !g.classList.contains("open"));
|
||||
}
|
||||
}
|
||||
|
||||
// ---- first-run wizard ---------------------------------------------------------------------------
|
||||
|
||||
const WIZ = ["데이터 폴더", "PC 점검", "모델", "디스코드 봇", "서버·채널", "호출어", "완료"];
|
||||
@@ -1213,6 +1234,7 @@ async function start() {
|
||||
$("#wizard").hidden = true;
|
||||
$("#main").hidden = false;
|
||||
for (const b of document.querySelectorAll(".nav")) b.onclick = () => show(b.dataset.screen);
|
||||
initGroups();
|
||||
show("dashboard");
|
||||
checkUpdate();
|
||||
}
|
||||
|
||||
@@ -13,19 +13,52 @@
|
||||
<div class="brand">Jarvis</div>
|
||||
<button data-screen="dashboard" class="nav">대시보드</button>
|
||||
<button data-screen="conversations" class="nav">대화</button>
|
||||
<button data-screen="bot" class="nav">봇</button>
|
||||
<button data-screen="channels" class="nav">채널·호출</button>
|
||||
<button data-screen="chat" class="nav">채팅 채널</button>
|
||||
<button data-screen="memory" class="nav">대화 기억</button>
|
||||
<button data-screen="model" class="nav">모델</button>
|
||||
<button data-screen="features" class="nav">기능</button>
|
||||
<button data-screen="collect" class="nav">백그라운드 수집</button>
|
||||
<button data-screen="schedule" class="nav">예약</button>
|
||||
<button data-screen="pcControl" class="nav">PC 제어</button>
|
||||
<button data-screen="notes" class="nav">사람별 지침</button>
|
||||
<button data-screen="game" class="nav">게임 모드</button>
|
||||
<button data-screen="logs" class="nav">로그</button>
|
||||
<button data-screen="app" class="nav" id="nav-app">앱</button>
|
||||
<div class="group" data-group="discord">
|
||||
<button class="group-head" aria-expanded="false">디스코드</button>
|
||||
<div class="group-items">
|
||||
<button data-screen="bot" class="nav">봇</button>
|
||||
<button data-screen="voiceChannel" class="nav">음성 채널</button>
|
||||
<button data-screen="chat" class="nav">채팅 채널</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group" data-group="talk">
|
||||
<button class="group-head" aria-expanded="false">대화 방식</button>
|
||||
<div class="group-items">
|
||||
<button data-screen="call" class="nav">호출</button>
|
||||
<button data-screen="response" class="nav">여럿이 말할 때</button>
|
||||
<button data-screen="memory" class="nav">대화 기억</button>
|
||||
<button data-screen="notes" class="nav">사람별 지침</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group" data-group="model">
|
||||
<button class="group-head" aria-expanded="false">음성·모델</button>
|
||||
<div class="group-items">
|
||||
<button data-screen="voice" class="nav">받아 적기·말하기</button>
|
||||
<button data-screen="llm" class="nav">대화 모델</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group" data-group="features">
|
||||
<button class="group-head" aria-expanded="false">기능</button>
|
||||
<div class="group-items">
|
||||
<button data-screen="features" class="nav">기능 켜기·MCP</button>
|
||||
<button data-screen="schedule" class="nav">예약</button>
|
||||
<button data-screen="collect" class="nav">백그라운드 수집</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group" data-group="pc">
|
||||
<button class="group-head" aria-expanded="false">PC</button>
|
||||
<div class="group-items">
|
||||
<button data-screen="pcControl" class="nav">PC 제어·화면 보기</button>
|
||||
<button data-screen="game" class="nav">게임 모드</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group" data-group="admin">
|
||||
<button class="group-head" aria-expanded="false">관리</button>
|
||||
<div class="group-items">
|
||||
<button data-screen="logs" class="nav">로그</button>
|
||||
<button data-screen="app" class="nav" id="nav-app">앱</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="side-foot" id="version"></div>
|
||||
</nav>
|
||||
<main id="screen" class="screen"></main>
|
||||
|
||||
@@ -17,6 +17,14 @@ button, input, select, textarea { font: inherit; color: inherit; }
|
||||
.nav { text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 6px; color: var(--ink2); cursor: pointer; }
|
||||
.nav:hover { background: var(--s2); }
|
||||
.nav.on { background: var(--s3); color: var(--ink); }
|
||||
.group { display: flex; flex-direction: column; margin-top: 6px; }
|
||||
.group-head { text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 6px; color: var(--ink3); cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: 0.2px; display: flex; align-items: center; gap: 6px; }
|
||||
.group-head::before { content: "▸"; font-size: 10px; color: var(--ink4); }
|
||||
.group-head[aria-expanded="true"]::before { content: "▾"; }
|
||||
.group-head:hover { background: var(--s2); color: var(--ink2); }
|
||||
.group-items { display: none; flex-direction: column; gap: 2px; }
|
||||
.group.open .group-items { display: flex; }
|
||||
.group-items .nav { padding-left: 24px; }
|
||||
.side-foot { margin-top: auto; color: var(--ink4); font-size: 12px; padding: 8px 10px; }
|
||||
.screen { padding: 28px 32px; max-width: 1100px; }
|
||||
h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.4px; margin: 0 0 18px; }
|
||||
|
||||
@@ -51,7 +51,7 @@ v1도 STT는 이미 faster-whisper입니다. 느린 진짜 이유는 엔진이
|
||||
[게임PC (Windows 11) 한 대에서 전부 실행]
|
||||
|
||||
1. Jarvis 관리 앱 (exe, Rust. 화면은 Tauri 2 + Windows 기본 WebView2)
|
||||
├─ GUI: 대시보드 / 봇 / 채널·호출 / 채팅 채널 / 대화 기억 / 모델 / 기능
|
||||
├─ GUI: 대시보드 / 대화 / 디스코드 / 대화 방식 / 음성·모델 / 기능 / PC / 관리
|
||||
│ / 게임 모드 / PC 제어 / 화면 보기 / 데이터 / 로그
|
||||
├─ 서비스 관리자: 아래 프로세스를 띄우고, 감시하고, 죽으면 재시작
|
||||
├─ 디스코드 음성 코어 (serenity + songbird + DAVE 복호화, Opus 해독은 앱이 직접)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
| 설정 | 내용 |
|
||||
|---|---|
|
||||
| 호출어(prefix) | GUI에서 여러 개 등록·수정·삭제 (예: "자비스", "야 자비스", "javis"). 음성과 채팅에 같이 쓰고, 채팅용은 따로 지정할 수도 있습니다. 비슷한 발음 허용 정도(예: "자비즈")도 조절합니다. |
|
||||
| 호출어(prefix) | GUI에서 여러 개 등록·수정·삭제. 기본값은 비서를 부르듯 "비서", "비서야", "비서님", "김비서", "김비서야", "김비서님"입니다(사용자 요청, 2026-11-19, 그 전에는 "자비스"). 한 자리에서 여러 호출어가 들리면 가장 가깝고 긴 것을 부른 말로 보므로 "비서야, 멈춰"의 "야"가 남지 않습니다. 음성과 채팅에 같이 쓰고, 채팅용은 따로 지정할 수도 있습니다. 비슷한 발음 허용 정도(예: "자비즈")도 조절합니다. "비서"는 흔한 낱말이라 "우리 회사 비서가"처럼 대화 중에 나와도 부른 것으로 봅니다. |
|
||||
| 호출 방식 | (1) 호출어로 부를 때만 응답 **(기본값)** / (2) 봇에게 하는 말로 판단되면 응답 / (3) 모든 말에 응답 |
|
||||
| 호출어 뒤 쉼 | "자비스, … 지금 몇 시야?"처럼 이름 뒤에 쉬어서 "자비스"만 따로 들리면, 같은 사람이 이어서 하는 말(기본 1.5초 안에 시작)과 합쳐 한 질문으로 받습니다. 아무 말도 이어지지 않으면 "자비스"에만 대답합니다. 채팅은 합치지 않습니다. |
|
||||
| 지정한 사람 | GUI에서 서버 멤버 목록으로 고릅니다. 아래 두 설정을 **각각 켜고 끕니다**. |
|
||||
|
||||
@@ -47,6 +47,8 @@
|
||||
|
||||
## 설정 화면
|
||||
|
||||
왼쪽 메뉴는 대시보드와 대화를 위에 두고, 나머지는 묶음으로 접어 둡니다(사용자 요청, 2026-11-19). 묶음 이름을 누르면 펼쳐집니다: 디스코드(봇, 음성 채널, 채팅 채널), 대화 방식(호출, 여럿이 말할 때, 대화 기억, 사람별 지침), 음성·모델(받아 적기·말하기, 대화 모델), 기능(기능 켜기·MCP, 예약, 백그라운드 수집), PC(PC 제어·화면 보기, 게임 모드), 관리(로그, 앱). 아래 표의 "채널·호출"은 음성 채널, 호출, 여럿이 말할 때 세 화면으로, "모델"은 받아 적기·말하기와 대화 모델로 나눴습니다. 화면마다 정확히 어떤 항목이 있는지는 [admin.spec.md](../../app/src/admin.spec.md) "Screens"에 있습니다.
|
||||
|
||||
| 화면 | 내용 |
|
||||
|---|---|
|
||||
| 대시보드 | 서비스 상태(디스코드, LLM, STT, TTS), GPU/VRAM/RAM 사용량, 현재 음성 채널과 참가자, 실시간 자막, 단계별 지연 시간, 성능 단계(평소/게임 중/일시정지와 이유), 놓친 요청, 봇 시작/정지 |
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user