Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

chore(merge): integrate latest master

Maxf59b83a0c74a
diff --cc config/v2_compat.py
index 37d15efc8,6da44a570..88839b1b5
--- a/config/v2_compat.py
+++ b/config/v2_compat.py
@@@ -82,7 -81,9 +82,10 @@@ class AppCompatConfig
reply_enhancements: bool = True
default_backend: str = DEFAULT_AGENT_BACKEND
resource_governance: dict = field(default_factory=lambda: {"mode": "auto"})
+ memory: MemoryConfig = field(default_factory=MemoryConfig)
+ # Mirrors ``V2Config.runtime.harness_prompt_echo``; read on the IM turn path, so
+ # it has to reach the controller's runtime config like ``resource_governance``.
+ harness_prompt_echo: bool = True
def enabled_platforms(self) -> list[str]:
enabled = self.platforms.get("enabled") if isinstance(self.platforms, dict) else None
@@@ -159,5 -160,5 +162,6 @@@ def to_app_config(v2: V2Config) -> AppC
include_user_info=v2.include_user_info,
reply_enhancements=v2.reply_enhancements,
resource_governance=v2.runtime.resource_governance,
+ memory=v2.memory,
+ harness_prompt_echo=v2.runtime.harness_prompt_echo,
)
diff --cc core/scheduled_tasks.py
index 9843a92de,6da09904e..eb369edbc
--- a/core/scheduled_tasks.py
+++ b/core/scheduled_tasks.py
@@@ -6726,8 -6680,10 +6726,11 @@@ class ScheduledTaskService
else request.request_type
),
agent_name=request.agent_name,
- metadata=request.metadata,
+ # A composed hook / watch / webhook / escalation prompt is the one
+ # case where the request itself knows which part a person wrote, so
+ # its metadata must reach ``_build_context``.
+ metadata=request.metadata if isinstance(request.metadata, dict) else None,
+ user_context=user_context,
_capture_dispatch_result=True,
**({"agent_id": request.agent_id} if request.agent_id else {}),
)
diff --cc vibe/i18n/en.json
index 2e846d1dc,e75cc2dbd..0a83af76a
--- a/vibe/i18n/en.json
+++ b/vibe/i18n/en.json
@@@ -12,7 -12,25 +12,17 @@@
"title": "Fork {title}",
"titleUntitled": "Fork"
},
- "show": {
- "event": {
- "acceptanceUnknown": "The Show event may still be processing. It was not replayed locally.",
- "dispatchFailed": "The Show event was recorded, but its agent turn could not be delivered.",
- "idConflict": "This Show event ID is already bound to different event contents."
- }
- },
"harness": {
- "agentInitiatedContinuation": "Agent-initiated continuation",
+ "promptEcho": {
+ "scheduled": "⏰ Scheduled task",
+ "watch": "👀 Watch",
+ "webhook": "🔗 Webhook",
+ "hook": "🪝 Hook",
+ "agentRun": "🤖 Agent run",
+ "generic": "⚙️ Background task",
+ "named": "{label} · {name}",
+ "truncated": "… (truncated)"
+ },
"watch": {
"supervisorFailed": "Watch worker supervisor failed: {detail}",
"supervisorExitedDuringStartup": "Watch worker supervisor exited during startup.",
diff --cc vibe/i18n/zh.json
index 354b43cca,4ddcf6763..a56d6fb8b
--- a/vibe/i18n/zh.json
+++ b/vibe/i18n/zh.json
@@@ -12,7 -12,25 +12,17 @@@
"title": "复刻 {title}",
"titleUntitled": "复刻"
},
- "show": {
- "event": {
- "acceptanceUnknown": "Show 事件可能仍在处理中,未在本地重复提交。",
- "dispatchFailed": "Show 事件已记录,但未能投递对应的 Agent turn。",
- "idConflict": "此 Show 事件 ID 已绑定到不同的事件内容。"
- }
- },
"harness": {
- "agentInitiatedContinuation": "Agent 主动发起的续接",
+ "promptEcho": {
+ "scheduled": "⏰ 定时任务",
+ "watch": "👀 监听",
+ "webhook": "🔗 Webhook",
+ "hook": "🪝 Hook",
+ "agentRun": "🤖 Agent 运行",
+ "generic": "⚙️ 后台任务",
+ "named": "{label} · {name}",
+ "truncated": "…(已截断)"
+ },
"watch": {
"supervisorFailed": "Watch 监控进程失败:{detail}",
"supervisorExitedDuringStartup": "Watch 监控进程在启动期间退出。",