hyacinth-ai 0.9.13 → 0.9.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -551,7 +551,7 @@ export async function createAgent(options, supervisor) {
551
551
  // ── 旁路Agent 管理器 ──────────────────────────────────────────
552
552
  const bypassManager = new (await import('../bypass/manager.js')).BypassManager();
553
553
  bypassManager.setModelRouter(modelRouter);
554
- // 注册 WorldEngine(陪伴模式旁路Agent
554
+ // 注册 WorldEngine(陪伴模式旁路Agent)— 未设置角色时跳过
555
555
  const companionCharName = (() => {
556
556
  try {
557
557
  const last = fs.readFileSync(path.join(os.homedir(), '.agent', 'companion', '.last-character'), 'utf-8').trim();
@@ -561,7 +561,9 @@ export async function createAgent(options, supervisor) {
561
561
  return '';
562
562
  }
563
563
  })();
564
- bypassManager.register(new (await import('../bypass/agents/companion/index.js')).WorldEngine(companionCharName));
564
+ if (companionCharName) {
565
+ bypassManager.register(new (await import('../bypass/agents/companion/index.js')).WorldEngine(companionCharName));
566
+ }
565
567
  // 注册 Orchestrator(普通模式旁路Agent)— 已暂停(2026-07-10)
566
568
  // 待分层过滤策略成熟后重新启用,设计方案见:桌面/旁路Agent重构构想.md
567
569
  // bypassManager.register(new (await import('../bypass/agents/orchestrator/index.js')).ContextOrchestrator(memoryFilePath));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyacinth-ai",
3
- "version": "0.9.13",
3
+ "version": "0.9.14",
4
4
  "description": "Hyacinth 🪻 — multi-provider AI agent with tool system and context management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",