Skip to content

Restore PR #611 fixes and stabilize test suite#756

Open
isasardar1-coder wants to merge 2 commits intoValueCell-ai:mainfrom
isasardar1-coder:codex/pr-611-fixes
Open

Restore PR #611 fixes and stabilize test suite#756
isasardar1-coder wants to merge 2 commits intoValueCell-ai:mainfrom
isasardar1-coder:codex/pr-611-fixes

Conversation

@isasardar1-coder
Copy link
Copy Markdown

Summary

This restores the Sidebar project folders and multi-agent chat UI work from PR #611 onto a fresh checkout and adds the follow-up fixes needed to make the branch safe to validate again.

  • restores the multi-agent chat branch state from af2aee9
  • fixes direct target routing so targeted sends switch to the selected agent main session before dispatch
  • aligns the chat input test with the current toolbar-based multi-agent UX
  • stabilizes the Node/Electron unit tests by running the affected files in the correct Vitest environment
  • updates a few test expectations that had drifted around Windows path formatting and richer plugin diagnostics

Why

The original local implementation was erased after an app update, but PR #611 still contained the branch diff. After restoring it, there were three known regressions plus a broader set of failing unit tests caused by environment and expectation drift.

This PR gets the restored branch back to a healthy, reviewable state.

Validation

  • pnpm run build:vite
  • pnpm run typecheck
  • pnpm exec vitest run

Current result:

  • 52 test files passed
  • 263 tests passed
  • typecheck passed
  • Vite build passed

Notes

Multi-agent behavior remains toolbar-driven in the chat window:

  • agent creation/configuration stays in the Agents section
  • per-session attachments happen in ChatToolbar
  • direct targeted sends are still supported in store-level routing for callers/tests that pass a target agent id explicitly

Related

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5b187a6561

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

writeFileSync(join(OUTPUT_ROOT, '.preinstalled-lock.json'), `${JSON.stringify(lock, null, 2)}\n`, 'utf8');
rmSync(TMP_ROOT, { recursive: true, force: true });
echo`Preinstalled skills ready: ${OUTPUT_ROOT}`;
console.log('Skipping preinstalled skills bundle on Windows...');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Reinstate preinstalled skills bundling for release builds

This script is now an unconditional no-op, so every platform skips generating build/preinstalled-skills despite build/package invoking it (package.json scripts). That means preinstalled skills are never copied into artifacts, and release packaging is at risk because electron-builder.yml still declares build/preinstalled-skills/ as an extraResources source. Please restore the actual bundling flow (or gate the skip behind a real Windows-only/environment check).

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant