@@ -37,7 +37,10 @@ export async function serveOnSessionBus(daemon) {
|
||||
DownloadModel(model) { return daemon.downloadModel(model); }
|
||||
CancelModel(model) { return daemon.cancelModel(model); }
|
||||
WipeComputerTraces() { return daemon.wipeComputerTraces(); }
|
||||
ConfirmationRequired(tool, args, pattern) { this.emit('ConfirmationRequired', String(tool), String(args), String(pattern)); }
|
||||
// configureMembers wraps signal methods and emits through dbus-next's
|
||||
// private $emitter. Returning the payload is sufficient; calling
|
||||
// `this.emit` here crashes because Interface does not expose that method.
|
||||
ConfirmationRequired(tool, args, pattern) { return [String(tool), String(args), String(pattern)]; }
|
||||
StateChanged(state) { return String(state); }
|
||||
Reply(text) { return String(text); }
|
||||
Token(text) { return String(text); }
|
||||
|
||||
Reference in New Issue
Block a user