@impulselab/hepha 0.2.567 → 0.2.569
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/index.js +26 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1853,6 +1853,8 @@ var HOST_TOOL_NAMES = {
|
|
|
1853
1853
|
REPORT_HARNESS_ISSUE: "report_harness_issue",
|
|
1854
1854
|
REPORT_DEV_SERVER: "report_dev_server",
|
|
1855
1855
|
RUN_VALIDATION: "run_validation",
|
|
1856
|
+
REVIEW_SCOPE: "review_scope",
|
|
1857
|
+
FILTER_REVIEW_FINDINGS: "filter_review_findings",
|
|
1856
1858
|
// Media tool (Stage 1): generate images host-side via the AI Gateway; the
|
|
1857
1859
|
// result renders inline in the thread. Always available, never parks the
|
|
1858
1860
|
// turn.
|
|
@@ -2300,6 +2302,29 @@ var designToolActivityDescribers = [
|
|
|
2300
2302
|
]
|
|
2301
2303
|
];
|
|
2302
2304
|
|
|
2305
|
+
// ../../packages/agents/src/tool-activity/review/review-tool-activity-describers.ts
|
|
2306
|
+
var reviewToolActivityDescribers = [
|
|
2307
|
+
[
|
|
2308
|
+
HOST_TOOL_NAMES.REVIEW_SCOPE,
|
|
2309
|
+
(record) => {
|
|
2310
|
+
const base = toolInput.str(record.base);
|
|
2311
|
+
const head = toolInput.str(record.head);
|
|
2312
|
+
return labelOnly(
|
|
2313
|
+
base && head ? `Scoped the review of ${toolInput.truncate(`${base}...${head}`, 60)}` : "Scoped the review"
|
|
2314
|
+
);
|
|
2315
|
+
}
|
|
2316
|
+
],
|
|
2317
|
+
[
|
|
2318
|
+
HOST_TOOL_NAMES.FILTER_REVIEW_FINDINGS,
|
|
2319
|
+
(record) => {
|
|
2320
|
+
const count = Array.isArray(record.findings) ? record.findings.length : 0;
|
|
2321
|
+
return labelOnly(
|
|
2322
|
+
count > 0 ? `Fact-checked ${count} review finding${count === 1 ? "" : "s"}` : "Fact-checked the review findings"
|
|
2323
|
+
);
|
|
2324
|
+
}
|
|
2325
|
+
]
|
|
2326
|
+
];
|
|
2327
|
+
|
|
2303
2328
|
// ../../packages/agents/src/tool-activity/factory/factory-tool-activity-describers.ts
|
|
2304
2329
|
var factoryToolActivityDescribers = [
|
|
2305
2330
|
[HOST_TOOL_NAMES.SUBMIT_SPECS, () => labelOnly("Submitted the specs")],
|
|
@@ -2929,6 +2954,7 @@ var canonicalToolActivityDescribers = new Map([
|
|
|
2929
2954
|
...integrationToolActivityDescribers,
|
|
2930
2955
|
...browserToolActivityDescribers,
|
|
2931
2956
|
...designToolActivityDescribers,
|
|
2957
|
+
...reviewToolActivityDescribers,
|
|
2932
2958
|
...factoryToolActivityDescribers
|
|
2933
2959
|
]);
|
|
2934
2960
|
|