feat: add info engine MVP pipeline and dashboard page
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m10s
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m10s
Introduce a standalone scheduled info-engine worker with SQLite persistence and expose read-only dashboard APIs/UI so curated intelligence items can be collected and viewed with minimal architecture changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -147,6 +147,21 @@ export function getCcConnectHealth() {
|
||||
return get("/cc-connect/health");
|
||||
}
|
||||
|
||||
export function getInfoEngineItems(params = {}) {
|
||||
const query = new URLSearchParams();
|
||||
if (params.limit !== undefined) query.set("limit", String(params.limit));
|
||||
if (params.offset !== undefined) query.set("offset", String(params.offset));
|
||||
if (params.source) query.set("source", params.source);
|
||||
if (params.tag) query.set("tag", params.tag);
|
||||
if (params.since) query.set("since", params.since);
|
||||
const suffix = query.toString() ? `?${query.toString()}` : "";
|
||||
return get(`/info-engine/items${suffix}`);
|
||||
}
|
||||
|
||||
export function getInfoEngineItem(id) {
|
||||
return get(`/info-engine/items/${id}`);
|
||||
}
|
||||
|
||||
export function put(path, data) {
|
||||
return request(path, { method: "PUT", json: data });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user