@impulselab/hepha 0.2.445 → 0.2.447
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 +53 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1819,6 +1819,15 @@ var HOST_TOOL_NAMES = {
|
|
|
1819
1819
|
// as immutable versions, and hand back the public link the panel mirrors.
|
|
1820
1820
|
PUBLISH_DESIGN: "publish_design",
|
|
1821
1821
|
SET_LIVE_DESIGN: "set_live_design",
|
|
1822
|
+
SUBMIT_SPECS: "submit_specs",
|
|
1823
|
+
SET_BRAND_KIT: "set_brand_kit",
|
|
1824
|
+
PLAN_TICKETS: "plan_tickets",
|
|
1825
|
+
// Run engine seats (docs/agents/software-factory.md): the foundation session
|
|
1826
|
+
// reports its checklist, the merge-decision session settles a ticket's PR,
|
|
1827
|
+
// the QA session settles the verification phase.
|
|
1828
|
+
MARK_PROVISIONING_STEP: "mark_provisioning_step",
|
|
1829
|
+
DECIDE_MERGE: "decide_merge",
|
|
1830
|
+
DECIDE_QA: "decide_qa",
|
|
1822
1831
|
// Advisory dynamic playbook (WS6): the agent defines its own ordered steps
|
|
1823
1832
|
// (set_steps) and fills each step's todo checklist (set_todos). Replaces the
|
|
1824
1833
|
// fixed 5-phase set_phase pointer; neither parks the turn, the runner park
|
|
@@ -2243,6 +2252,47 @@ var browserToolActivityDescribers = [
|
|
|
2243
2252
|
]
|
|
2244
2253
|
];
|
|
2245
2254
|
|
|
2255
|
+
// ../../packages/agents/src/tool-activity/design/design-tool-activity-describers.ts
|
|
2256
|
+
var designToolActivityDescribers = [
|
|
2257
|
+
[
|
|
2258
|
+
HOST_TOOL_NAMES.PUBLISH_DESIGN,
|
|
2259
|
+
(record) => {
|
|
2260
|
+
const count = Array.isArray(record.directions) ? record.directions.length : 0;
|
|
2261
|
+
return labelOnly(
|
|
2262
|
+
count > 1 ? `Published ${count} design directions` : "Published a design"
|
|
2263
|
+
);
|
|
2264
|
+
}
|
|
2265
|
+
],
|
|
2266
|
+
[
|
|
2267
|
+
HOST_TOOL_NAMES.SET_LIVE_DESIGN,
|
|
2268
|
+
(record) => {
|
|
2269
|
+
const version = toolInput.trimmed(record.version);
|
|
2270
|
+
return labelOnly(
|
|
2271
|
+
version ? `Pointed the design link at v${version}` : "Moved the design link"
|
|
2272
|
+
);
|
|
2273
|
+
}
|
|
2274
|
+
]
|
|
2275
|
+
];
|
|
2276
|
+
|
|
2277
|
+
// ../../packages/agents/src/tool-activity/factory/factory-tool-activity-describers.ts
|
|
2278
|
+
var factoryToolActivityDescribers = [
|
|
2279
|
+
[HOST_TOOL_NAMES.SUBMIT_SPECS, () => labelOnly("Submitted the specs")],
|
|
2280
|
+
[HOST_TOOL_NAMES.SET_BRAND_KIT, () => labelOnly("Set the brand kit")],
|
|
2281
|
+
[HOST_TOOL_NAMES.PLAN_TICKETS, () => labelOnly("Planned the tickets")],
|
|
2282
|
+
[
|
|
2283
|
+
HOST_TOOL_NAMES.MARK_PROVISIONING_STEP,
|
|
2284
|
+
(record) => {
|
|
2285
|
+
const name = toolInput.trimmed(record.name);
|
|
2286
|
+
const status = toolInput.trimmed(record.status);
|
|
2287
|
+
return labelOnly(
|
|
2288
|
+
name && status ? `Marked provisioning step ${name} ${status}` : "Reported a provisioning step"
|
|
2289
|
+
);
|
|
2290
|
+
}
|
|
2291
|
+
],
|
|
2292
|
+
[HOST_TOOL_NAMES.DECIDE_MERGE, () => labelOnly("Settled the ticket's PR")],
|
|
2293
|
+
[HOST_TOOL_NAMES.DECIDE_QA, () => labelOnly("Settled the QA verdict")]
|
|
2294
|
+
];
|
|
2295
|
+
|
|
2246
2296
|
// ../../packages/agents/src/tool-activity/capture/describe-annotate-image.ts
|
|
2247
2297
|
function describeAnnotateImage(record, state) {
|
|
2248
2298
|
return captureLabel(
|
|
@@ -2781,24 +2831,6 @@ var canonicalToolActivityDescribers = new Map([
|
|
|
2781
2831
|
HOST_TOOL_NAMES.DELIVERABLE_PUBLISH,
|
|
2782
2832
|
() => labelOnly("Published a deliverable")
|
|
2783
2833
|
],
|
|
2784
|
-
[
|
|
2785
|
-
HOST_TOOL_NAMES.PUBLISH_DESIGN,
|
|
2786
|
-
(record) => {
|
|
2787
|
-
const count = Array.isArray(record.directions) ? record.directions.length : 0;
|
|
2788
|
-
return labelOnly(
|
|
2789
|
-
count > 1 ? `Published ${count} design directions` : "Published a design"
|
|
2790
|
-
);
|
|
2791
|
-
}
|
|
2792
|
-
],
|
|
2793
|
-
[
|
|
2794
|
-
HOST_TOOL_NAMES.SET_LIVE_DESIGN,
|
|
2795
|
-
(record) => {
|
|
2796
|
-
const version = toolInput.trimmed(record.version);
|
|
2797
|
-
return labelOnly(
|
|
2798
|
-
version ? `Pointed the design link at v${version}` : "Moved the design link"
|
|
2799
|
-
);
|
|
2800
|
-
}
|
|
2801
|
-
],
|
|
2802
2834
|
[
|
|
2803
2835
|
HOST_TOOL_NAMES.RENAME_SESSION,
|
|
2804
2836
|
(record) => {
|
|
@@ -2828,7 +2860,9 @@ var canonicalToolActivityDescribers = new Map([
|
|
|
2828
2860
|
],
|
|
2829
2861
|
[HOST_TOOL_NAMES.GENERATE_IMAGE, describeGenerateImage],
|
|
2830
2862
|
[HOST_TOOL_NAMES.ANNOTATE_IMAGE, describeAnnotateImage],
|
|
2831
|
-
...browserToolActivityDescribers
|
|
2863
|
+
...browserToolActivityDescribers,
|
|
2864
|
+
...designToolActivityDescribers,
|
|
2865
|
+
...factoryToolActivityDescribers
|
|
2832
2866
|
]);
|
|
2833
2867
|
|
|
2834
2868
|
// ../../packages/agents/src/tool-activity/browser/soft-fail-browser-tools-constants.ts
|