feat(terminal): add system commands and DevTools bridge

This commit is contained in:
Codex committed 2026-09-28 14:20:12 +08:00
1 parent 78c1ffe1fd
commit 6972a00445
12 files changed
+120 -19

No files matched your search

+10 -1
View File
@@ -601,6 +601,15 @@
"confirmCreate": "Create {kind}: {title}? Type yes to save or no to cancel.",
"cancelled": "Operation cancelled.",
"deleted": "Deleted {kind}: {title}"
}
},
"welcome": "Life OS v{version} · Terminal ready.\nType help for commands or memory add to create a memory step by step.\ndate / time / status show basic information. Browser DevTools: LifeOS.help().",
"uptime": "Session uptime: {minutes}m {seconds}s",
"status": "{memories} memories · {goals} goals · {tasks} tasks",
"consoleHelp": "Open your browser DevTools console and call LifeOS.help(), LifeOS.run(\"date\"), or LifeOS.run(\"memory add\"). After memory questions, use LifeOS.note(\"your note\"); LifeOS.cancel() stops a flow.",
"consoleReady": "DevTools bridge ready. Type LifeOS.help() to see commands.",
"consoleNotePrompt": "Enter the note with LifeOS.note(\"your text\") or cancel with LifeOS.cancel().",
"noNote": "No memory note is waiting. Start with LifeOS.run(\"memory add\").",
"cleared": "Terminal output cleared.",
"pinNeedsDate": "Set a target date before showing a desktop countdown."
}
}
+10 -1
View File
@@ -601,6 +601,15 @@
"confirmCreate": "确定创建{kind}「{title}」?输入 yes 保存,或 no 取消。",
"cancelled": "已取消操作。",
"deleted": "已删除{kind}:{title}"
}
},
"welcome": "Life OS v{version} · 终端已就绪。\n输入 help 查看命令,或输入 memory add 逐项创建记忆。\ndate / time / status 查看基本信息。浏览器开发者控制台可输入 LifeOS.help()。",
"uptime": "本次页面会话已运行:{minutes} 分 {seconds} 秒",
"status": "记忆 {memories} 条 · 目标 {goals} 个 · 待办 {tasks} 项",
"consoleHelp": "打开浏览器开发者工具的 Console,输入 LifeOS.help()、LifeOS.run(\"date\") 或 LifeOS.run(\"memory add\")。完成记忆提问后用 LifeOS.note(\"正文\") 保存;LifeOS.cancel() 取消。",
"consoleReady": "开发者控制台入口已就绪,输入 LifeOS.help() 查看命令。",
"consoleNotePrompt": "使用 LifeOS.note(\"正文\") 输入记忆内容,或使用 LifeOS.cancel() 取消。",
"noNote": "当前没有待填写的记忆正文,请先运行 LifeOS.run(\"memory add\")。",
"cleared": "已清空终端输出。",
"pinNeedsDate": "请先设置目标日期,再在桌面显示倒计时。"
}
}