@impulselab/hepha 0.2.614 → 0.2.616

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 CHANGED
@@ -351,7 +351,7 @@ THE LOOP
351
351
  hepha run "<prompt>" --repo owner/repo --follow
352
352
  Start a session and follow it until it finishes or asks you something.
353
353
  Exit 0 completed \xB7 3 waiting on a human \xB7 1 failed.
354
- [--title "\u2026"] [--task-type implement|new-project|orchestrator|design]
354
+ [--title "\u2026"] [--task-type implement|new-project|orchestrator|design|automate]
355
355
  [--model <slug>] [--harness claude-code|codex] [--branch <name>]
356
356
  [--skill <id>]\u2026
357
357
  hepha questions list [--session <id>]
@@ -1244,6 +1244,7 @@ var USER_ROLES = {
1244
1244
  var ALL_USER_ROLES = Object.values(USER_ROLES);
1245
1245
  var API_SCOPES = [
1246
1246
  "sessions:read",
1247
+ "sessions:export",
1247
1248
  "sessions:write",
1248
1249
  "questions:read",
1249
1250
  "questions:answer",
@@ -1832,6 +1833,11 @@ var HOST_TOOL_NAMES = {
1832
1833
  // as immutable versions, and hand back the public link the panel mirrors.
1833
1834
  PUBLISH_DESIGN: "publish_design",
1834
1835
  SET_LIVE_DESIGN: "set_live_design",
1836
+ LIST_AUTOMATIONS: "list_automations",
1837
+ GET_AUTOMATION: "get_automation",
1838
+ AUTOMATION_CATALOG: "automation_catalog",
1839
+ CREATE_AUTOMATION: "create_automation",
1840
+ UPDATE_AUTOMATION: "update_automation",
1835
1841
  SUBMIT_SPECS: "submit_specs",
1836
1842
  SET_BRAND_KIT: "set_brand_kit",
1837
1843
  PLAN_TICKETS: "plan_tickets",
@@ -1843,6 +1849,9 @@ var HOST_TOOL_NAMES = {
1843
1849
  DECIDE_MERGE: "decide_merge",
1844
1850
  DECIDE_QA: "decide_qa",
1845
1851
  READ_FACTORY_SPECS: "read_factory_specs",
1852
+ REPORT_RELEASE_QA_FLOWS: "report_release_qa_flows",
1853
+ REPORT_RELEASE_QA_RESULTS: "report_release_qa_results",
1854
+ DECIDE_RELEASE_QA: "decide_release_qa",
1846
1855
  // Advisory dynamic playbook (WS6): the agent defines its own ordered steps
1847
1856
  // (set_steps) and fills each step's todo checklist (set_todos). Replaces the
1848
1857
  // fixed 5-phase set_phase pointer; neither parks the turn, the runner park
@@ -2308,6 +2317,34 @@ var designToolActivityDescribers = [
2308
2317
  ]
2309
2318
  ];
2310
2319
 
2320
+ // ../../packages/agents/src/tool-activity/automation/automation-tool-activity-describers.ts
2321
+ var automationToolActivityDescribers = [
2322
+ [HOST_TOOL_NAMES.LIST_AUTOMATIONS, () => labelOnly("Listed automations")],
2323
+ [HOST_TOOL_NAMES.GET_AUTOMATION, () => labelOnly("Read an automation")],
2324
+ [
2325
+ HOST_TOOL_NAMES.AUTOMATION_CATALOG,
2326
+ () => labelOnly("Read the automation catalog")
2327
+ ],
2328
+ [
2329
+ HOST_TOOL_NAMES.CREATE_AUTOMATION,
2330
+ (record) => {
2331
+ const name = toolInput.trimmed(record.name);
2332
+ return labelOnly(
2333
+ name ? `Created automation ${name}` : "Created an automation"
2334
+ );
2335
+ }
2336
+ ],
2337
+ [
2338
+ HOST_TOOL_NAMES.UPDATE_AUTOMATION,
2339
+ (record) => {
2340
+ const name = toolInput.trimmed(record.name);
2341
+ return labelOnly(
2342
+ name ? `Updated automation ${name}` : "Updated an automation"
2343
+ );
2344
+ }
2345
+ ]
2346
+ ];
2347
+
2311
2348
  // ../../packages/agents/src/tool-activity/review/review-tool-activity-describers.ts
2312
2349
  var reviewToolActivityDescribers = [
2313
2350
  [
@@ -2352,6 +2389,18 @@ var factoryToolActivityDescribers = [
2352
2389
  [
2353
2390
  HOST_TOOL_NAMES.READ_FACTORY_SPECS,
2354
2391
  () => labelOnly("Read the signed specs")
2392
+ ],
2393
+ [
2394
+ HOST_TOOL_NAMES.REPORT_RELEASE_QA_FLOWS,
2395
+ () => labelOnly("Recorded the release QA flows")
2396
+ ],
2397
+ [
2398
+ HOST_TOOL_NAMES.REPORT_RELEASE_QA_RESULTS,
2399
+ () => labelOnly("Reported release QA results")
2400
+ ],
2401
+ [
2402
+ HOST_TOOL_NAMES.DECIDE_RELEASE_QA,
2403
+ () => labelOnly("Settled the release QA round")
2355
2404
  ]
2356
2405
  ];
2357
2406
 
@@ -2994,6 +3043,7 @@ var canonicalToolActivityDescribers = new Map([
2994
3043
  ...integrationToolActivityDescribers,
2995
3044
  ...browserToolActivityDescribers,
2996
3045
  ...designToolActivityDescribers,
3046
+ ...automationToolActivityDescribers,
2997
3047
  ...reviewToolActivityDescribers,
2998
3048
  ...factoryToolActivityDescribers
2999
3049
  ]);
@@ -3557,7 +3607,8 @@ var TASK_TYPES = [
3557
3607
  "implement",
3558
3608
  "new-project",
3559
3609
  "orchestrator",
3560
- "design"
3610
+ "design",
3611
+ "automate"
3561
3612
  ];
3562
3613
 
3563
3614
  // src/commands/command/create-run-input.ts