Teknium
4c3e5cf2d9
refactor(memory,langfuse): unify recall/reflect calls, client close, hook client+key resolution; dict-comprehension metadata builders
2026-09-02 21:41:07 -07:00
Teknium
78453b958d
refactor(sms): shared session factory, precompiled markdown sub table, drop _build_adapter shim
2026-09-02 21:37:04 -07:00
Teknium
33f883219a
refactor(honcho): compact client/session modules (no behavior change)
2026-09-02 21:36:44 -07:00
Teknium
9338e21093
refactor(model-providers): compact reasoning-translation profiles (opencode, kimi, zai, minimax, nous, qwen, custom, upstage, nebius, meta-ai, deepseek, copilot, deepinfra, vertex, gemini), fold catalog tuples
2026-09-02 21:36:03 -07:00
Teknium
d345e1a02a
refactor(memory/mem0): _try breaker wrapper for background paths, _pg_ready, vector-description table, compact comments
2026-09-02 21:35:10 -07:00
Teknium
8c1ba7b160
refactor(plugins): drop dead disk_cleanup.deep + unused constants, compact docstrings/comments, tighten guards in google_meet/chronos/loader
2026-09-02 21:34:56 -07:00
Teknium
7760efd76e
refactor(openviking): compact setup wizard — shared cancel option, _say, inline profile validation
2026-09-02 21:34:04 -07:00
Teknium
abe730fa40
refactor(memory/byterover): compact provider init, sync_turn and tool result path
2026-09-02 21:33:46 -07:00
Teknium
a6b45ffb1f
refactor(memory/supermemory): _quietly helper for log-and-return, tuple-driven tool schemas, inline single-use helpers
2026-09-02 21:32:00 -07:00
Teknium
7984db2e76
refactor(memory/retaindb): tighten provider init/prefetch/file tools and client headers
2026-09-02 21:31:56 -07:00
Teknium
ede7bf1869
refactor(homeassistant): domain describer dispatch table, shared session factory, drop _build_adapter shim
2026-09-02 21:31:40 -07:00
Teknium
b5721f7cc4
refactor(memory): compact discovery/config-schema docs, fold CLI scan early-returns, dedupe hindsight setup/template request building
2026-09-02 21:28:43 -07:00
Beto de Paola
77efca8b1d
docs(meta-ai): trim live catalog comments
2026-09-02 21:22:53 -07:00
Beto de Paola
83ecb6e695
feat(meta-ai): live-first model catalog + generic contributor warning
...
- Register meta-ai as a live-first picker provider so the /v1/models catalog
leads the picker; new models appear without a PR
- Override fetch_models to exclude non-chat models (muse-image-*, muse-voice-*)
from the picker; new chat model families pass through automatically
- Slim fallback_models to a single safety-net entry (muse-spark-1.2), shown
only when the live fetch fails
- Make data-policy contributor warning model-generic (not hardcoded to 1.2)
so it covers any future -contributor model
- Update test assertion to match generic warning text
LOCAL ONLY — pre-launch, not for push.
2026-09-02 21:22:53 -07:00
Teknium
93ee1c0e38
refactor(honcho): compact cli helpers and provider bodies (no behavior change)
2026-09-02 21:20:55 -07:00
Teknium
94ed143de2
refactor(hindsight): split initialize() into settings phase helpers; unify prefetch join and retain enqueue
2026-09-02 21:18:13 -07:00
Teknium
bc2d79058b
refactor(openviking): unify turn-upload/thread-tracking/settings helpers, drop dead wrappers
2026-09-02 21:18:06 -07:00
Teknium
0bc8d4e2d3
refactor(ntfy): fold fatal-status handling into one helper, dedupe headers/env seeding, compact layout
2026-09-02 21:17:47 -07:00
Teknium
bb25c36306
refactor(image_gen): compact krea/openai-codex/xai providers; extract krea payload builder
2026-09-02 21:17:25 -07:00
Teknium
e02bb9e437
refactor(memory/holographic): lambda action table, _harvestable_text helper, entity lookup loop, hrr blob decoders
2026-09-02 21:17:08 -07:00
Teknium
38a5c86729
refactor(memory): compact retaindb queue bootstrap/overlay and byterover config loader/schemas
2026-09-02 21:16:10 -07:00
Teknium
034078214c
refactor(memory/mem0): _setup probe helper, single TOOL_SCHEMAS table, closing() in backend, drop banners/restating docstrings
2026-09-02 21:15:59 -07:00
Teknium
e86d3fab86
refactor(plugins/kanban): AST-neutral bracket hugging in dashboard plugin_api
2026-09-02 21:15:25 -07:00
Teknium
8e35634acc
refactor(hindsight): compact __init__ state setup, header docs and helper docstrings
2026-09-02 21:13:55 -07:00
Teknium
cfa88e0104
refactor(memory/byterover): tool dispatch as one data table (arg, fail msg, runner, formatter)
2026-09-02 21:13:20 -07:00
Teknium
9e3fbba4d2
refactor(memory/supermemory): unify client build, tool dispatch with error prefixes, config loading; drop dead prefetch state
2026-09-02 21:12:37 -07:00
Teknium
b0b8e39862
refactor(memory/retaindb): compact queue connection handling, prefetch assembly, dispatch and shutdown
2026-09-02 21:12:01 -07:00
Teknium
b0f7d07773
refactor(memory/holographic): store _one/_write SQL helpers, retrieval atom helper, compact docstrings
2026-09-02 21:09:39 -07:00
Teknium
e986577dca
refactor(plugins/kanban,dashboard_auth): split update_task/bulk_update into phase helpers, dict-driven orchestration writes; unify provider register() via _shared.register_provider/SkipRegistration
2026-09-02 21:09:26 -07:00
Teknium
a2811e03f1
refactor(memory/retaindb): inline single-use prefetch fetchers into jobs table, fold config strip, merge queue close helpers
2026-09-02 21:06:38 -07:00
Teknium
968cbef157
refactor(memory/mem0): table-driven tool dispatch, shared _oss_hint/_truthy/_add helpers, packed provider tables
2026-09-02 21:05:29 -07:00
Teknium
b54d21697e
refactor(image_gen/openrouter): split generate into chat/image-api phase helpers, compact docs
2026-09-02 21:04:50 -07:00
Teknium
8c83b89dd4
refactor(model-providers): actual reuses base fetch_models + hermes_cli normalizer; commandcode anthropic subclasses chat profile; compact router/openrouter docstrings
2026-09-02 21:04:38 -07:00
Teknium
c829298476
refactor(memory/byterover): flatten _run_brv error handling, compact provider init/hooks/dispatch
2026-09-02 21:01:39 -07:00
Teknium
e501ee1465
refactor(langfuse): unify tool-result capture, root-close and flush helpers; compact docstrings
2026-09-02 20:57:44 -07:00
Teknium
42291693ab
refactor(memory/retaindb): fold HTTP calls into one _http helper, unify debug-logged failures via _quiet, compact schemas/client
2026-09-02 20:57:29 -07:00
Teknium
fc46eabcf5
refactor(plugins): AST-neutral layout compaction of loader, chronos, disk-cleanup, google_meet
2026-09-02 20:47:48 -07:00
Teknium
d9beaff938
refactor(langfuse): drop orphaned _capture/_trace modules (never imported; superseded by __init__)
2026-09-02 20:34:44 -07:00
Teknium
4d1880e0bf
fix(integration): restore subprocess encoding/stdin guards dropped in simplification
...
Simplification workers collapsed subprocess call sites into shared kwargs
helpers and dropped the Windows/TUI safety kwargs on the way:
- encoding='utf-8', errors='replace' restored on text=True runs in
copilot_acp_client, hermes_cli/setup (vercel install), managed_uv
(codesign steps), local_runtime/hardware._stdout, a2a adapter.
- stdin=subprocess.DEVNULL restored on copilot probe, verify/runner
_SUBPROCESS_KW, iron_proxy._run, google_meet playwright/system_profiler,
simplex convert, whatsapp _RUN_TEXT, mem0 ollama serve Popen.
google_meet sudo/brew install keeps inherited stdin (user-confirmed,
may prompt) — marked noqa: subprocess-stdin.
- Windows-safe SIGKILL: getattr(signal, 'SIGKILL', SIGTERM) in
verify/runner; photon _kill call re-marked windows-footgun: ok
(unreachable on win32).
- scripts/check_subprocess_stdin.py now recognizes **kwargs splats
(**_KW / **_kw(...)) ONLY when the same-file definition provably sets
stdin= — covers tui_gateway _capture_run_kwargs/run_kw. Parity test added.
2026-09-02 16:36:10 -07:00
Teknium
ea6644e1dc
fix(integration): telegram dm-topic persist reads config.yaml via read_user_config_raw()
...
Raw yaml.safe_load of config.yaml is only legal in owner modules; the
write-back round-trip uses the sanctioned raw primitive. Behavior-identical
(same file, same parse, {} on missing).
2026-09-02 15:41:16 -07:00
kshitijk4poor
60ee3790e0
fix(gateway): publish degraded status when polling dies mid-session, via a public seam
...
Follow-ups on the #101406 salvage (#101391 ):
- The issue's measured incident was a healthy connect followed by silent
polling loss; nothing republished for 11 h. `_schedule_polling_recovery`
(the single entry to the recovery ladder) now publishes "retrying" while
the adapter is running; `_record_polling_progress` already flips it back.
- `BasePlatformAdapter.send_path_degraded` property (default False) replaces
the runner's `getattr(adapter, "_send_path_degraded")` reach into a
plugin-private attribute; Telegram overrides it. `_mark_connected()` reads
the property instead of taking a `degraded=` kwarg, and `_mark_degraded()`
+ `DEGRADED_STATUS_MESSAGE` replace three copies of the same write/string.
- The startup connect stamp (sibling of the reconnect stamp) honours the
same flag.
- Tests: mid-session death publishes retrying; pre-connect death does not;
progress never flips while not running / fatal; runner reconnect stamp
honours the adapter flag.
2026-09-03 03:47:38 +05:30
chelsealong
ce52ae21a7
fix(telegram): do not publish connected for a degraded, unconfirmed polling path
...
connect() intentionally returns True when Telegram polling starts in
degraded mode (or a reconnect's require_progress=False skips the strict
readiness gate), so background recovery can retry without failing
gateway startup. But _mark_connected() published platform_state
"connected" unconditionally, and the reconnect watcher in gateway/run.py
stamped "connected" again right after -- so gateway_state.json was
indistinguishable from a healthy adapter for as long as recovery took
(observed ~11h on one seat).
_send_path_degraded already tracks exactly this (set at polling
generation start, cleared on the first confirmed getUpdates round-trip),
so:
- BasePlatformAdapter._mark_connected() takes a `degraded` flag and
publishes "retrying" instead of "connected" when set.
- TelegramAdapter passes its current _send_path_degraded into
_mark_connected().
- The gateway/run.py reconnect watcher checks the same flag before
overwriting the adapter's own status write.
- _record_polling_progress() republishes "connected" the moment
polling actually proves progress, so the state does not stay wedged
at "retrying" until the next disconnect.
Fixes #101391
2026-09-03 03:47:38 +05:30
Teknium
ae70536485
Merge branch 'simp/web' into simp/integration
2026-09-02 15:01:45 -07:00
Teknium
01b523ee96
Merge branch 'simp/adapters' into simp/integration
2026-09-02 14:19:41 -07:00
Teknium
a07dceb01f
refactor(adapters/small_group): 5147->3565; line/email/ntfy/homeassistant/sms send-family and standalone-send dedupe, god-method extraction, dead find_pending_for_chat removed
2026-09-02 14:06:48 -07:00
Teknium
c4f96565d0
refactor(adapters/whatsapp_webhook): 6449->4465; whatsapp_cloud/common/plugin send + media unification, webhook route/filter dispatch tables
2026-09-02 14:06:38 -07:00
Teknium
791417590d
refactor(adapters/matrix_group): 9272->6311; matrix dead fetch_history/_send_simple_message/HTMLParser stubs removed, simplex/mattermost/irc one-verb API helpers and send builders
2026-09-02 14:06:37 -07:00
Teknium
8f1ef66b1f
refactor(adapters/p2p_group): 12752->8794; buzz/photon/a2a/raft dedupe (sidecar paths unified in photon package, JSON-RPC helpers, Nostr event builders), dead a2a security getters + stream_message removed
2026-09-02 14:06:36 -07:00
Teknium
b8bea7199c
refactor(adapters/cn_group): 12368->8549; wecom split into streaming/media/send_queue mixins, dingtalk inbound parsers -> inbound.py, google_chat cards.py + setup_files.py, teams summary_writer.py; dedupe token/URL/credential helpers
2026-09-02 14:06:34 -07:00
Teknium
513ba5b846
refactor(adapters/feishu): 8095->5665; unify request/response wrappers, card builders, comment timeline selectors; dead symbols dropped; compact docs
2026-09-02 14:06:33 -07:00