agent-ide --help starts a server instead of helping
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, node.js
- Domain
- cli
Research direction
Read bin.js:25-27 to see how arguments are routed, then compare with the help handling in cli.js:204. Check how the executable behaves for --help and an unknown command such as threads3; done means help exits after printing usage and an unknown command reports an error without starting the server.
Written by the indexing model from the issue text.
Description
Asking the one executable for help starts a server. The README sends people to --help for the CLI, and npx github:oskarrough/agent-ide --help is the obvious way to ask. Any word that isn't a CLI command does the same, so a typo like threads3 or --version boots a server too.
Right looks like: help prints help, and an unknown command says so instead of serving.
Evidence:
bin.js:25-27sends everything that isn'trunneror one of eight command names toserver.js.- Ran
node bin.js --helpon a machine whose :3000 was already taken by a server. It started its own server and a runner that connected to the one on :3000, and it kept running until I killed it.psshowednode bin.js --helpplusrunner.js --server http://127.0.0.1:3000 --dir <cwd>. node cli.js --helpdoes print help (cli.js:204).
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 23m
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oskarrough/agent-ide
-
scout
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
oskarrough/agent-ide#43 ·
Maintainers usually reply within 1 day
-
Docs still tell you to switch on bots and director, which are on by defaultPossibly taken @Cyanol05 claimed this 1 day ago. Openscout
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oskarrough/agent-ide#42 ·
Maintainers usually reply within 1 day
-
scout
Difficulty 1/5 Under an hour Newbie friendliness 82/100
oskarrough/agent-ide#41 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
oskarrough/agent-ide#46 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
oskarrough/agent-ide#45 ·
Maintainers usually reply within 1 day
All issues in oskarrough/agent-ide
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
openlayers/create-ol-app#70 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
VoteIT/voteit_frontend#446 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
simstudioai/sim#9831 ·
Maintainers usually reply within 1 day