91cb1dcdde68a52427a74bbc68d8283b06e1de12
Die README dokumentiert 'tasksd --http :8781', der Code las den Port aber mit
atoi(argv[2]). atoi(":8781") ist 0, also band tasksd auf einem zufaelligen
freien Port — der dokumentierte Aufruf startete einen Dienst, den niemand
erreichte. Nur die Form ohne Doppelpunkt funktionierte.
parse_port() springt jetzt hinter den letzten Doppelpunkt und nimmt auch
'0.0.0.0:8781' an, lehnt dagegen 0, >65535 und alles ohne Ziffern mit einer
Meldung ab. Testsuite unveraendert bei FAILURES: 0.
tasksd
Central task store for the agent fleet, C99/POSIX.
Tasks are JSON files under $TASKDIR -- one file per task, readable and
diffable, never a database. Every task carries a free-form scope, a
mandatory goal, and can be paused and resumed.
One binary, two modes:
tasksd # MCP over stdio
tasksd --http :8781 # central instance for the fleet
tasks-mcp-bridge is the stdio shim that forwards to a central tasksd.
make
make test
Dependency: libmcp
vendor/libmcp/mcp.h is a copy of the header from the libmcp repository, so
this repository builds and tests on its own. Refresh it after a libmcp change:
cp ../libmcp/mcp.h vendor/libmcp/mcp.h
make uses LIBDIR=vendor/libmcp by default; override it to build against a
checkout elsewhere: make LIBDIR=../libmcp.
Languages
C
71.5%
Python
19.6%
Shell
4.4%
Makefile
3.5%
Dockerfile
1%