@impulselab/hepha 0.2.621 → 0.2.623
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 +33 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1817,6 +1817,11 @@ var HOST_TOOL_NAMES = {
|
|
|
1817
1817
|
// project reads it in its instructions and writes back what it learned.
|
|
1818
1818
|
PROJECT_CONTEXT_READ: "project_context_read",
|
|
1819
1819
|
PROJECT_CONTEXT_WRITE: "project_context_write",
|
|
1820
|
+
LINEAR_LIST_ISSUES: "linear_list_issues",
|
|
1821
|
+
LINEAR_GET_ISSUE: "linear_get_issue",
|
|
1822
|
+
LINEAR_CREATE_ISSUE: "linear_create_issue",
|
|
1823
|
+
LINEAR_UPDATE_ISSUE: "linear_update_issue",
|
|
1824
|
+
LINEAR_COMMENT_ISSUE: "linear_comment_issue",
|
|
1820
1825
|
SLACK_SEND_MESSAGE: "slack_send_message",
|
|
1821
1826
|
REPORT_FINDING: "report_finding",
|
|
1822
1827
|
LIST_FINDINGS: "list_findings",
|
|
@@ -1851,6 +1856,7 @@ var HOST_TOOL_NAMES = {
|
|
|
1851
1856
|
READ_FACTORY_SPECS: "read_factory_specs",
|
|
1852
1857
|
REPORT_RELEASE_QA_FLOWS: "report_release_qa_flows",
|
|
1853
1858
|
REPORT_RELEASE_QA_RESULTS: "report_release_qa_results",
|
|
1859
|
+
REPORT_QA_FLOW_RESULT: "report_qa_flow_result",
|
|
1854
1860
|
DECIDE_RELEASE_QA: "decide_release_qa",
|
|
1855
1861
|
// Advisory dynamic playbook (WS6): the agent defines its own ordered steps
|
|
1856
1862
|
// (set_steps) and fills each step's todo checklist (set_todos). Replaces the
|
|
@@ -2317,6 +2323,12 @@ var designToolActivityDescribers = [
|
|
|
2317
2323
|
]
|
|
2318
2324
|
];
|
|
2319
2325
|
|
|
2326
|
+
// ../../packages/agents/src/tool-activity/automation/linear-issue-label.ts
|
|
2327
|
+
function linearIssueLabel(verb, issue) {
|
|
2328
|
+
const id = toolInput.trimmed(issue);
|
|
2329
|
+
return labelOnly(id ? `${verb} ${id}` : verb);
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2320
2332
|
// ../../packages/agents/src/tool-activity/automation/automation-tool-activity-describers.ts
|
|
2321
2333
|
var automationToolActivityDescribers = [
|
|
2322
2334
|
[HOST_TOOL_NAMES.LIST_AUTOMATIONS, () => labelOnly("Listed automations")],
|
|
@@ -2342,6 +2354,23 @@ var automationToolActivityDescribers = [
|
|
|
2342
2354
|
name ? `Updated automation ${name}` : "Updated an automation"
|
|
2343
2355
|
);
|
|
2344
2356
|
}
|
|
2357
|
+
],
|
|
2358
|
+
[HOST_TOOL_NAMES.LINEAR_LIST_ISSUES, () => labelOnly("Listed Linear issues")],
|
|
2359
|
+
[
|
|
2360
|
+
HOST_TOOL_NAMES.LINEAR_GET_ISSUE,
|
|
2361
|
+
(record) => linearIssueLabel("Read Linear issue", record.issue)
|
|
2362
|
+
],
|
|
2363
|
+
[
|
|
2364
|
+
HOST_TOOL_NAMES.LINEAR_CREATE_ISSUE,
|
|
2365
|
+
() => labelOnly("Created a Linear issue")
|
|
2366
|
+
],
|
|
2367
|
+
[
|
|
2368
|
+
HOST_TOOL_NAMES.LINEAR_UPDATE_ISSUE,
|
|
2369
|
+
(record) => linearIssueLabel("Updated Linear issue", record.issue)
|
|
2370
|
+
],
|
|
2371
|
+
[
|
|
2372
|
+
HOST_TOOL_NAMES.LINEAR_COMMENT_ISSUE,
|
|
2373
|
+
(record) => linearIssueLabel("Commented on Linear issue", record.issue)
|
|
2345
2374
|
]
|
|
2346
2375
|
];
|
|
2347
2376
|
|
|
@@ -2398,6 +2427,10 @@ var factoryToolActivityDescribers = [
|
|
|
2398
2427
|
HOST_TOOL_NAMES.REPORT_RELEASE_QA_RESULTS,
|
|
2399
2428
|
() => labelOnly("Reported release QA results")
|
|
2400
2429
|
],
|
|
2430
|
+
[
|
|
2431
|
+
HOST_TOOL_NAMES.REPORT_QA_FLOW_RESULT,
|
|
2432
|
+
() => labelOnly("Reported a QA flow result")
|
|
2433
|
+
],
|
|
2401
2434
|
[
|
|
2402
2435
|
HOST_TOOL_NAMES.DECIDE_RELEASE_QA,
|
|
2403
2436
|
() => labelOnly("Settled the release QA round")
|