@@ -24,6 +24,9 @@ export async function serveOnSessionBus(daemon) {
|
||||
PushToTalk(pressed) { daemon.setPushToTalk?.(Boolean(pressed)); }
|
||||
async Say(text) { await daemon.say?.(text); }
|
||||
async Ask(text) { await daemon.ask(text); }
|
||||
ReloadSettings() { return daemon.reloadSettings(); }
|
||||
PreviewVoice(text) { return daemon.previewVoice(text); }
|
||||
StopSpeech() { daemon.stopSpeech(); }
|
||||
async ResetContext() { await daemon.resetContext(); }
|
||||
Confirm(jobId, toolCallId, decision) { daemon.confirmPermission?.(jobId, toolCallId, decision); }
|
||||
Cancel() { daemon.cancel(); }
|
||||
@@ -64,6 +67,9 @@ export async function serveOnSessionBus(daemon) {
|
||||
Session.configureMembers({
|
||||
methods: {
|
||||
Arm: { inSignature: '', outSignature: '' },
|
||||
ReloadSettings: { inSignature: '', outSignature: 's' },
|
||||
PreviewVoice: { inSignature: 's', outSignature: '' },
|
||||
StopSpeech: { inSignature: '', outSignature: '' },
|
||||
Sleep: { inSignature: '', outSignature: '', method: 'Sleep' },
|
||||
Shutdown: { inSignature: '', outSignature: '', method: 'Shutdown' },
|
||||
PushToTalk: { inSignature: 'b', outSignature: '', method: 'PushToTalk' },
|
||||
|
||||
Reference in New Issue
Block a user