mirror of
https://github.com/stablyai/orca.git
synced 2026-10-03 00:02:19 +00:00
Add Grok orchestration group routing (#8058)
* docs: design Grok orchestration group * docs: plan Grok orchestration group implementation * fix: add Grok orchestration group * test(orchestration): accept Windows skill newlines * Fix @grok orchestration group matching and remove stale planning docs - Reuse the shared buildAgentNameRe matcher in groups.ts instead of a divergent local regex, so orchestration groups honor the same Windows launcher-suffix rule (grok.exe/.cmd/.bat/.ps1) as the rest of Orca's agent-title detection. - Add test coverage for real Grok OSC title shapes (spinner-collapsed, session titles) and Windows launcher-suffix titles. - Delete the now-completed design and implementation-plan docs for the Grok orchestration group work. --------- Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
This commit is contained in:
@@ -114,7 +114,7 @@ describe('submodule path cache', () => {
|
||||
expect(gitExecFileAsyncMock).toHaveBeenCalledTimes(2)
|
||||
})
|
||||
|
||||
it('does not reuse another branch\'s submodule paths after local or WSL checkout', async () => {
|
||||
it("does not reuse another branch's submodule paths after local or WSL checkout", async () => {
|
||||
let modulePath = 'main-lib'
|
||||
gitExecFileAsyncMock.mockImplementation((args: string[]) => {
|
||||
if (args[0] === 'checkout') {
|
||||
@@ -219,9 +219,7 @@ describe('submodule path cache', () => {
|
||||
...runtime,
|
||||
checkoutExistingBranch: true
|
||||
})
|
||||
await expect(listSubmodulePaths('/repo-feature', runtime)).resolves.toEqual([
|
||||
'recreated-lib'
|
||||
])
|
||||
await expect(listSubmodulePaths('/repo-feature', runtime)).resolves.toEqual(['recreated-lib'])
|
||||
|
||||
const configReads = gitExecFileAsyncMock.mock.calls.filter(
|
||||
([args]) => args[0] === 'config' && args.includes('.gitmodules')
|
||||
|
||||
Reference in New Issue
Block a user