paperclipai/paperclip · error
LLM Wiki plugin has not been set up
Error message
LLM Wiki plugin has not been set up
What it means
Error "LLM Wiki plugin has not been set up" thrown in paperclipai/paperclip.
Solutions
- Run the LLM Wiki plugin setup before invoking worker operations.
When it happens
Trigger: Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:108 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/190a891e8967feb2.
Report an issue: GitHub.
Appendix: source
Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:108
"issue.created",
"issue.updated",
"issue.comment.created",
"issue.document.created",
"issue.document.updated",
] as const;
type ManagedRoutineDefaultDrift = {
changedFields: string[];
defaultTitle: string;
defaultDescription: string | null;
};
type ManagedRoutineSettingsResolution = PluginManagedRoutineResolution & {
defaultDrift: ManagedRoutineDefaultDrift | null;
};
function requireContext(): PluginContext {
if (!activeContext) throw new Error("LLM Wiki plugin has not been set up");
return activeContext;
}
function normalizeRoutineTemplateText(value: unknown): string | null {
if (typeof value !== "string") return null;
const normalized = value.replace(/\r\n/g, "\n").trim();
return normalized.length > 0 ? normalized : null;
}
function manualDistillScopeLabel(input: { projectId?: string | null; rootIssueId?: string | null }) {
if (input.rootIssueId) return "selected root issue";
if (input.projectId) return "selected project";
return "company-wide stale cursor scan";
}
function buildManualDistillPrompt(input: { companyId: string; projectId?: string | null; rootIssueId?: string | null }) {
const scopeLabel = manualDistillScopeLabel(input);
return [View on GitHub (pinned to 5716fe907e)