@papi-ai/server 0.7.74 → 0.7.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backfill-cycle-metrics.js +16 -3
- package/dist/index.js +768 -184
- package/dist/prompts.js +4 -4
- package/package.json +1 -1
|
@@ -1240,6 +1240,9 @@ var init_proxy_adapter = __esm({
|
|
|
1240
1240
|
// getToolCallCount + updatePhaseStatus are ABSENT: they now have edge handlers and
|
|
1241
1241
|
// are served through the forwarder (getToolCallCount = SUP-2026-026 handler #1).
|
|
1242
1242
|
"getContributorRole",
|
|
1243
|
+
// task-3018 (C356): storeDocBody + getDocBodyUsage are now WIRED — edge case
|
|
1244
|
+
// handlers + ALLOWED_METHODS/WRITE_METHODS entries exist, so they forward and
|
|
1245
|
+
// hosted callers get body storage. Removed from this list, as task-3017 required.
|
|
1243
1246
|
// task-2728 (C331): createOwnerAction REMOVED from NO_FORWARD — the PRODUCER half
|
|
1244
1247
|
// of the owner-action queue. Six readers were wired C329 (task-2412) but the
|
|
1245
1248
|
// producer stayed here, so the hosted Owner Action Queue was structurally empty
|
|
@@ -1267,7 +1270,7 @@ var init_proxy_adapter = __esm({
|
|
|
1267
1270
|
// now works for hosted users without exposing one member's owner actions to another.
|
|
1268
1271
|
// task-2393 (C329) — Batch B wired: markCycleLearningResolved (the P1 — hosted
|
|
1269
1272
|
// discovered_issue_resolve hard-errored), correctLatestBuildReportEffort,
|
|
1270
|
-
// updateStageExitCriteria, updateDocAction
|
|
1273
|
+
// updateStageExitCriteria, updateDocAction all have
|
|
1271
1274
|
// edge case handlers + ALLOWED_METHODS/WRITE_METHODS entries now, so they forward.
|
|
1272
1275
|
// task-2489 (C320): recordProgressStep is now wired to the edge data-proxy
|
|
1273
1276
|
// (case handler + ALLOWED_METHODS/WRITE_METHODS entries), so it forwards for
|
|
@@ -1851,9 +1854,19 @@ Check PAPI_PROJECT_ID in your .mcp.json config. Find your project ID in the PAPI
|
|
|
1851
1854
|
return this.invoke("updateDocStatus", [id, status, supersededBy]);
|
|
1852
1855
|
}
|
|
1853
1856
|
// --- Cycle Learnings ---
|
|
1854
|
-
|
|
1855
|
-
|
|
1857
|
+
/**
|
|
1858
|
+
* task-2999 / task-2998 (C356): the edge handler now calls append_cycle_learnings
|
|
1859
|
+
* and returns { id, findingKey, inserted } per row, so hosted callers get the same
|
|
1860
|
+
* per-row signal the pg path does. The [] normalisation stays as a floor for an
|
|
1861
|
+
* edge deployed BEFORE that change — callers must read [] as "no signal
|
|
1862
|
+
* available", never as "nothing was new".
|
|
1863
|
+
*/
|
|
1864
|
+
async appendCycleLearnings(learnings) {
|
|
1865
|
+
const result = await this.invoke("appendCycleLearnings", [learnings]);
|
|
1866
|
+
return Array.isArray(result) ? result : [];
|
|
1856
1867
|
}
|
|
1868
|
+
// task-2998: includeResolved was missing here, so the flag could not even be SENT
|
|
1869
|
+
// to the edge — the hosted caught->fixed ledger had no way to ask for history.
|
|
1857
1870
|
getCycleLearnings(opts) {
|
|
1858
1871
|
return this.invoke("getCycleLearnings", [opts]);
|
|
1859
1872
|
}
|