mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-02 19:08:33 +01:00
Create background job runner and memory refresh jobs
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
22b4d8a176
commit
29f7355291
30 files changed
+18677
-107
No files matched your search
@@ -135,7 +135,7 @@ function buildRecord(
|
||||
retentionPolicy: input.retentionPolicy ?? null,
|
||||
expiresAt: normalizeDate(input.expiresAt),
|
||||
retentionState: "active",
|
||||
reviewState: "pending",
|
||||
reviewState: input.reviewState ?? "pending",
|
||||
reviewedAt: null,
|
||||
reviewedBy: null,
|
||||
reviewNote: null,
|
||||
@@ -171,6 +171,16 @@ export function buildQmdMemoryConfigMetadata(dataDir = resolveQmdMemoryDataDir()
|
||||
topK: 5,
|
||||
autoIndexOnWrite: true,
|
||||
qmdBinaryPath: null,
|
||||
hookPolicies: {
|
||||
issue_comment_capture: {
|
||||
enabled: false,
|
||||
extractionMode: "paperclip_managed",
|
||||
runMode: "sync",
|
||||
harness: "server_worker",
|
||||
sensitivityLabel: "internal",
|
||||
reviewState: "accepted",
|
||||
},
|
||||
},
|
||||
},
|
||||
pathSuggestions: [
|
||||
{
|
||||
|
||||
@@ -56,6 +56,11 @@ const manifest: PaperclipPluginManifestV1 = {
|
||||
description: "Optional absolute path to qmd. Leave empty to use qmd from PATH.",
|
||||
default: null,
|
||||
},
|
||||
hookPolicies: {
|
||||
type: "object",
|
||||
title: "Hook policies",
|
||||
description: "Optional per-hook Paperclip extraction policy overrides.",
|
||||
},
|
||||
},
|
||||
},
|
||||
configMetadata: buildQmdMemoryConfigMetadata(),
|
||||
|
||||
Reference in new issue
Block a user