{
	"id": "clawdbot-supermemory",
	"kind": "memory",
	"uiHints": {
		"apiKey": {
			"label": "Supermemory API Key",
			"sensitive": true,
			"placeholder": "sm_...",
			"help": "Your API key from console.supermemory.ai (or use ${SUPERMEMORY_CLAWDBOT_API_KEY})"
		},
		"containerTag": {
			"label": "Container Tag",
			"placeholder": "clawdbot_myhostname",
			"help": "Memory namespace. Default: clawdbot_{hostname}. All channels share this.",
			"advanced": true
		},
		"autoRecall": {
			"label": "Auto-Recall",
			"help": "Inject relevant memories + user profile before every AI turn"
		},
		"autoCapture": {
			"label": "Auto-Capture",
			"help": "Automatically store important information from conversations"
		},
		"maxRecallResults": {
			"label": "Max Recall Results",
			"placeholder": "10",
			"help": "Maximum memories injected into context per turn",
			"advanced": true
		},
		"profileFrequency": {
			"label": "Profile Injection Frequency",
			"placeholder": "50",
			"help": "Inject full profile (static + dynamic) every N turns. Search results are injected every turn.",
			"advanced": true
		},
		"captureMode": {
			"label": "Capture Mode",
			"help": "'all' (default) = filter out short texts and injected context, 'everything' = capture all messages",
			"advanced": true
		},
		"debug": {
			"label": "Debug Logging",
			"help": "Enable verbose debug logs for API calls and responses",
			"advanced": true
		}
	},
	"configSchema": {
		"type": "object",
		"additionalProperties": false,
		"properties": {
			"apiKey": { "type": "string" },
			"containerTag": { "type": "string" },
			"autoRecall": { "type": "boolean" },
			"autoCapture": { "type": "boolean" },
			"maxRecallResults": { "type": "number", "minimum": 1, "maximum": 20 },
			"profileFrequency": { "type": "number", "minimum": 1, "maximum": 500 },
			"captureMode": { "type": "string", "enum": ["everything", "all"] },
			"debug": { "type": "boolean" }
		},
		"required": []
	}
}
