Merge branch 'feature/radio-set-panel' into unify/skills-20261112-night
This commit is contained in:
commit
679ebe5dc4
37 files changed
+2480
-356
No files matched your search
@@ -1,6 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import threading
|
||||
import time
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
|
||||
@@ -30,12 +31,14 @@ from .offices import Offices
|
||||
from .presence import SNAPSHOT
|
||||
from .redirects import Redirects
|
||||
from .requesting import Requesting
|
||||
from .resources import RESOURCES, SAMPLES
|
||||
from .reviewing import Reviewing
|
||||
from .rules import Rules
|
||||
from .settings import Settings
|
||||
from .signed import signing
|
||||
from .skill_scripts import Runner
|
||||
from .sources import Sources
|
||||
from .speechgate import CpuGate
|
||||
from .tasking import Tasking
|
||||
from .timeline import Timeline
|
||||
from .transcripts import Transcripts
|
||||
@@ -96,6 +99,7 @@ class Hub(Mcp, Reviewing, Asking, Messaging, Choosing, Approving, Denying, Reque
|
||||
settings: Settings
|
||||
redirects: Redirects
|
||||
speech: Speech
|
||||
speech_gate: CpuGate
|
||||
approvers: Path
|
||||
vendor: Path
|
||||
icons: Markup
|
||||
@@ -119,7 +123,9 @@ def open_hub(council: Path, pages: Path, public_port: int, state: Path, host_sta
|
||||
reviews = Reviews(state)
|
||||
speech = Speech(engines, state / "tts")
|
||||
messages = Ledger(state / "messages.json")
|
||||
settings = Settings(state / "settings.json")
|
||||
return Hub(
|
||||
speech_gate=CpuGate(samples=places.kept / RESOURCES / SAMPLES, threshold=lambda: settings.get()["speech"]["threshold"], clock=time.time),
|
||||
vendor=places.vendor,
|
||||
icons=sheet(places.vendor, templates),
|
||||
spool=Spool(places.cleanup).ready(),
|
||||
@@ -135,7 +141,7 @@ def open_hub(council: Path, pages: Path, public_port: int, state: Path, host_sta
|
||||
log=Log(state / "log.jsonl"),
|
||||
batches=Pending(),
|
||||
names=Names(state / "names.json"),
|
||||
settings=Settings(state / "settings.json"),
|
||||
settings=settings,
|
||||
redirects=redirects,
|
||||
watch=Watch(),
|
||||
tree=Tree(file=places.tree_file, heartbeat=state / TREE_HEARTBEAT, lock=threading.Lock(), cached=None, stamp=None),
|
||||
|
||||
Reference in new issue
Block a user