@impulselab/hepha 0.2.615 → 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",
@@ -2311,6 +2317,34 @@ var designToolActivityDescribers = [
2311
2317
  ]
2312
2318
  ];
2313
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
+
2314
2348
  // ../../packages/agents/src/tool-activity/review/review-tool-activity-describers.ts
2315
2349
  var reviewToolActivityDescribers = [
2316
2350
  [
@@ -3009,6 +3043,7 @@ var canonicalToolActivityDescribers = new Map([
3009
3043
  ...integrationToolActivityDescribers,
3010
3044
  ...browserToolActivityDescribers,
3011
3045
  ...designToolActivityDescribers,
3046
+ ...automationToolActivityDescribers,
3012
3047
  ...reviewToolActivityDescribers,
3013
3048
  ...factoryToolActivityDescribers
3014
3049
  ]);
@@ -3572,7 +3607,8 @@ var TASK_TYPES = [
3572
3607
  "implement",
3573
3608
  "new-project",
3574
3609
  "orchestrator",
3575
- "design"
3610
+ "design",
3611
+ "automate"
3576
3612
  ];
3577
3613
 
3578
3614
  // src/commands/command/create-run-input.ts