Files
deepagentsjs/libs/deepagents/src
Thushanth Bengre bcc2f5d0a8 fix(deepagents): restore required systemPrompt and fix isForkedSubAgent check (#771)
`isForkedSubAgent` was checking `mode === "fork"`, but mode defaults to
omitted on both `SubAgent` and `ForkedSubAgent`. A `ForkedSubAgent` that
omits mode (the documented default) failed that check and fell through
to the plain-`SubAgent` branch, ending up with no fork and no system
prompt.

Restores `SubAgent.systemPrompt` as required (it must stay required so a
plain SubAgent can't structurally collapse into a ForkedSubAgent) and
switches `isForkedSubAgent` back to checking systemPrompt presence.
2026-08-20 18:30:37 -04:00
..
2026-01-09 15:10:42 -08:00
2026-01-09 15:10:42 -08:00