Skip to content

fix: align OpenSwarm entry resolution#52

Closed
nicko-ai wants to merge 3 commits into
mainfrom
codex/openswarm-verified-startup-cleanup
Closed

fix: align OpenSwarm entry resolution#52
nicko-ai wants to merge 3 commits into
mainfrom
codex/openswarm-verified-startup-cleanup

Conversation

@nicko-ai

@nicko-ai nicko-ai commented May 29, 2026

Copy link
Copy Markdown
Collaborator

This pull request fixes the OpenSwarm Python startup path and keeps OpenSwarm's agency entry filename flexible while the naming decision remains open.

Changes:

  • Delegates python swarm.py to run_utils.main() while preserving import-time runtime configuration for server/import callers.
  • Configures OpenSwarm product entry files as swarm.py,agency.py everywhere OpenSwarm sets AGENTSWARM_PRODUCT_ENTRY_FILES, with swarm.py first for existing installs.
  • Removes stale agency.py packaging metadata and syncs requirements.txt with pyproject.toml.
  • Extends smoke coverage for Python startup entry configuration, npm launcher product configuration, and the OpenSwarm run-mode roster path.

Validation: local OpenSwarm bootstrap/onboarding smoke, npm launcher smoke, installed npm entry smoke, installed Python package entry smoke, exact workflow-tag run-mode roster smoke, source-level AgentSwarm detection proof for only-swarm.py and only-agency.py projects, whitespace validation, Python 3.12 wheel build, and GitHub smoke check passed.

nicko-ai added 2 commits May 30, 2026 00:02
- Route python swarm.py through the configured OpenSwarm launcher path.
- Set the Python product profile entry file to swarm.py.
- Remove stale agency.py packaging metadata and sync requirements with pyproject.
- Extend startup smoke coverage for script delegation and product entry configuration.
- Set OpenSwarm product entry configuration to swarm.py,agency.py everywhere.
- Keep swarm.py first for existing installs while allowing agency.py projects.
- Extend launcher smoke coverage for the packaged npm profile.
@nicko-ai nicko-ai changed the title fix: align OpenSwarm Python startup entry fix: align OpenSwarm entry resolution May 31, 2026
- remove the competing root agency.py fixture from the OpenSwarm roster smoke

- keep the smoke focused on the packaged OpenSwarm starter after agency.py becomes a supported entry name
@nicko-ai

nicko-ai commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator Author

Closing as superseded by #55. Current main now centralizes this through the OpenSwarm product config, so the replacement PR keeps the remaining entry-file support to the minimal current-main diff.

@nicko-ai nicko-ai closed this Jun 5, 2026
@nicko-ai nicko-ai deleted the codex/openswarm-verified-startup-cleanup branch June 7, 2026 22:25
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