@walwal-harness/cli 7.1.14 → 7.1.15
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/README.md
CHANGED
|
@@ -223,6 +223,7 @@ harness-hiring → register and onboard worker
|
|
|
223
223
|
|
|
224
224
|
| Version | Summary |
|
|
225
225
|
|---|---|
|
|
226
|
+
| 7.1.15 | Dashboard: reset embedded View Doc state when the selected mission or document target changes |
|
|
226
227
|
| 7.1.14 | Owner acceptance gate: Owner is final reviewer, not tester; dashboard org-node clicks initialize the detail pane |
|
|
227
228
|
| 7.1.13 | Dashboard: full-viewport split workspace, hidden pane scrollbars, and detail scroll reset on selection |
|
|
228
229
|
| 7.1.12 | Dashboard: split workspace panes now scroll independently |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useState } from "react";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
3
|
import type { MissionDoc } from "@/lib/types";
|
|
4
4
|
import { MarkdownView } from "@/lib/markdown";
|
|
5
5
|
|
|
@@ -15,6 +15,10 @@ export function MissionDocTab({ missions, role, workerName, fromLabel, toLabel }
|
|
|
15
15
|
const [selectedIdx, setSelectedIdx] = useState(0);
|
|
16
16
|
const mission = missions[selectedIdx];
|
|
17
17
|
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
setSelectedIdx(0);
|
|
20
|
+
}, [role, workerName]);
|
|
21
|
+
|
|
18
22
|
if (!missions.length) {
|
|
19
23
|
return (
|
|
20
24
|
<div className="text-gray-500">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useState } from "react";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
3
|
import type { MissionDoc, OwnerPromptEntry } from "@/lib/types";
|
|
4
4
|
import { MarkdownView } from "@/lib/markdown";
|
|
5
5
|
|
|
@@ -225,6 +225,10 @@ function WorkerCard({
|
|
|
225
225
|
export function MissionFlowTab({ mission, ownerHistory }: Props) {
|
|
226
226
|
const [docView, setDocView] = useState<DocView>("overview");
|
|
227
227
|
|
|
228
|
+
useEffect(() => {
|
|
229
|
+
setDocView("overview");
|
|
230
|
+
}, [mission?.missionId]);
|
|
231
|
+
|
|
228
232
|
if (!mission) {
|
|
229
233
|
return (
|
|
230
234
|
<div className="text-gray-500 text-xs">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walwal-harness/cli",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.15",
|
|
4
4
|
"description": "Company-style AI agent harness for Claude and Codex. Installs commands, CXX agents, skills, HR-Resource hiring pool, and project-local .harness runtime state.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"walwal-harness": "bin/init.js"
|