@impulselab/hepha 0.2.621 → 0.2.622
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 +28 -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",
|
|
@@ -2317,6 +2322,12 @@ var designToolActivityDescribers = [
|
|
|
2317
2322
|
]
|
|
2318
2323
|
];
|
|
2319
2324
|
|
|
2325
|
+
// ../../packages/agents/src/tool-activity/automation/linear-issue-label.ts
|
|
2326
|
+
function linearIssueLabel(verb, issue) {
|
|
2327
|
+
const id = toolInput.trimmed(issue);
|
|
2328
|
+
return labelOnly(id ? `${verb} ${id}` : verb);
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2320
2331
|
// ../../packages/agents/src/tool-activity/automation/automation-tool-activity-describers.ts
|
|
2321
2332
|
var automationToolActivityDescribers = [
|
|
2322
2333
|
[HOST_TOOL_NAMES.LIST_AUTOMATIONS, () => labelOnly("Listed automations")],
|
|
@@ -2342,6 +2353,23 @@ var automationToolActivityDescribers = [
|
|
|
2342
2353
|
name ? `Updated automation ${name}` : "Updated an automation"
|
|
2343
2354
|
);
|
|
2344
2355
|
}
|
|
2356
|
+
],
|
|
2357
|
+
[HOST_TOOL_NAMES.LINEAR_LIST_ISSUES, () => labelOnly("Listed Linear issues")],
|
|
2358
|
+
[
|
|
2359
|
+
HOST_TOOL_NAMES.LINEAR_GET_ISSUE,
|
|
2360
|
+
(record) => linearIssueLabel("Read Linear issue", record.issue)
|
|
2361
|
+
],
|
|
2362
|
+
[
|
|
2363
|
+
HOST_TOOL_NAMES.LINEAR_CREATE_ISSUE,
|
|
2364
|
+
() => labelOnly("Created a Linear issue")
|
|
2365
|
+
],
|
|
2366
|
+
[
|
|
2367
|
+
HOST_TOOL_NAMES.LINEAR_UPDATE_ISSUE,
|
|
2368
|
+
(record) => linearIssueLabel("Updated Linear issue", record.issue)
|
|
2369
|
+
],
|
|
2370
|
+
[
|
|
2371
|
+
HOST_TOOL_NAMES.LINEAR_COMMENT_ISSUE,
|
|
2372
|
+
(record) => linearIssueLabel("Commented on Linear issue", record.issue)
|
|
2345
2373
|
]
|
|
2346
2374
|
];
|
|
2347
2375
|
|