Skip to content

fix(opencode): keep scanning agency entry fallbacks - #290

Merged
nicko-ai merged 1 commit into
devfrom
codex/release-1.4.40-launcher-fallback
Jun 26, 2026
Merged

fix(opencode): keep scanning agency entry fallbacks#290
nicko-ai merged 1 commit into
devfrom
codex/release-1.4.40-launcher-fallback

Conversation

@nicko-ai

@nicko-ai nicko-ai commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Issue for this PR

Closes #289

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Keeps Agency Swarm project detection scanning configured fallback entry files after an entry-file read error.

A downstream profile can list more than one entry file, such as main.py before agency.py. If the first existing entry cannot be read, the launcher should still detect a later valid entry. If no valid fallback exists, it still surfaces the original read error.

How did you verify your code works?

  • bun test test/agency-swarm/npx.test.ts -t "detectAgencyProject keeps checking configured entry files after read errors"
  • bun test test/agency-swarm/npx.test.ts -t "prepareNpxLaunch offers recovery when agency.py cannot be read"
  • bun typecheck

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

- continue checking configured entry files after a project entry read error
- preserve the original read error when no valid fallback is found
- cover multi-entry downstream profile detection
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@nicko-ai
nicko-ai merged commit e38bfe4 into dev Jun 26, 2026
16 checks passed
@nicko-ai
nicko-ai deleted the codex/release-1.4.40-launcher-fallback branch June 28, 2026 16:18
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.

Agent Swarm can show raw HTML errors for OpenRouter runs

1 participant