paperclipai/paperclip · error
agentId is required
Error message
agentId is required
What it means
Error "agentId is required" thrown in paperclipai/paperclip.
Solutions
- Pass agentId of the agent to operate on.
When it happens
Trigger: Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:775 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@5716fe907e (2026-08-18).
Data as JSON: /api/errors/55eca9685b2c3e35.
Report an issue: GitHub.
Appendix: source
Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:771
ctx.actions.register("reconcile-managed-agent", async (params) => {
return reconcileWikiAgentResource(ctx, readCompanyIdFromParams(params));
});
ctx.actions.register("reconcile-managed-project", async (params) => {
return reconcileWikiProjectResource(ctx, readCompanyIdFromParams(params));
});
ctx.actions.register("reconcile-managed-skills", async (params) => {
return { managedSkills: await reconcileWikiSkillResources(ctx, readCompanyIdFromParams(params)) };
});
ctx.actions.register("reset-managed-skills", async (params) => {
return { managedSkills: await resetWikiSkillResources(ctx, readCompanyIdFromParams(params)) };
});
ctx.actions.register("select-managed-agent", async (params) => {
const agentId = stringField(params.agentId);
if (!agentId) throw new Error("agentId is required");
return selectWikiAgentResource(ctx, {
companyId: readCompanyIdFromParams(params),
agentId,
});
});
ctx.actions.register("select-managed-project", async (params) => {
const projectId = stringField(params.projectId);
if (!projectId) throw new Error("projectId is required");
return selectWikiProjectResource(ctx, {
companyId: readCompanyIdFromParams(params),
projectId,
});
});
ctx.actions.register("reset-managed-routine", async (params) => {
return ctx.routines.managed.reset(
routineKeyField(params.routineKey),View on GitHub (pinned to 5716fe907e)