@biolibs/bionet-panels 0.3.5 → 0.3.7

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/adviser.js CHANGED
@@ -14,7 +14,7 @@ const TOOL_WORDS = {
14
14
  lab_overview: "looked over the lab", list_parts: "read the list of parts", get_part: "read a part closely", list_tubes: "read the list of tubes",
15
15
  list_runs: "read what has been done", list_proposals: "read what is proposed", find_cutters: "looked for enzymes that cut a part",
16
16
  design_primers: "designed a pair of primers", work_out_pcr: "worked out a PCR", work_out_digest: "worked out a digest", work_out_ligation: "worked out a ligation",
17
- add_part: "added a part", propose_pcr: "proposed a PCR", propose_digest: "proposed a digest", propose_ligation: "proposed a ligation", withdraw_proposal: "took a proposal back",
17
+ search_ncbi: "searched NCBI", fetch_from_ncbi: "read a sequence from NCBI", keep_from_ncbi: "kept a sequence from NCBI", add_part: "added a part", propose_pcr: "proposed a PCR", propose_digest: "proposed a digest", propose_ligation: "proposed a ligation", withdraw_proposal: "took a proposal back",
18
18
  };
19
19
  /**
20
20
  * What the adviser did, in a few words.
@@ -47,7 +47,7 @@ export function Adviser({ door, onWatch }) {
47
47
  setBusy(false);
48
48
  } };
49
49
  const theirs = hosting === null ? [] : lab.plans.filter((one) => one.by === hosting.key);
50
- return (_jsxs(_Fragment, { children: [_jsxs("section", { className: "card", children: [_jsx("h2", { children: "An adviser on this device" }), _jsx("p", { className: "small", children: "An adviser is a member with no hands: an agent that can read what the lab holds, work things out with the lab's own tools, add a part by its sequence, and propose a run for a person to carry out." }), _jsx("p", { className: "dim small", children: "It cannot say that anything was done, used or moved. That is not a setting here: its key has the role of adviser, and every device in the lab refuses anything else it writes. What it proposes is shown at the tool that would carry it out, with its reasons, and nothing happens until a person does it." }), hosting === null ? (_jsx("button", { type: "button", disabled: busy, onClick: () => void ask(() => act("hostAdviser")), children: "Host an adviser on this device" })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "keybox", children: [_jsxs("div", { children: [_jsx("span", { className: "label", children: "The adviser's key" }), _jsx(Copy, { words: hosting.key, label: "Copy key" })] }), _jsx("code", { className: "wrap", children: hosting.key }), _jsxs("p", { className: "dim small", children: ["Fingerprint ", _jsx("code", { children: hosting.fingerprint }), ". It is a key of its own, kept on this device and apart from yours: what the adviser writes is signed with it and never with your key."] })] }), hosting.standing === "adviser" && _jsx("p", { className: "small good", role: "status", children: "It is in the lab as an adviser." }), hosting.standing === "removed" && _jsx("p", { className: "small trouble", role: "status", children: "It was removed from the lab. What it wrote until then is kept." }), (hosting.standing === "member" || hosting.standing === "keeper") && (_jsxs("p", { className: "small trouble", role: "status", children: ["This key is in the lab as a ", hosting.standing, ", which can do more than advise. Nothing is written with it from here until a keeper makes it an adviser."] })), hosting.standing === null && (lab.keeper ? (_jsxs("fieldset", { disabled: busy, className: "stack", children: [_jsx("p", { className: "small", children: "It is not in the lab yet. Until it is, it can read and work things out, and propose nothing." }), _jsxs("label", { children: ["Call it", _jsx("input", { value: person, onChange: (event) => setPerson(event.target.value), maxLength: 200, "aria-label": "What to call the adviser" })] }), _jsx("button", { type: "button", disabled: person.trim() === "", onClick: () => void ask(() => act("addMember", { key: hosting.key, person: person.trim(), role: "adviser" })), children: "Let it into the lab as an adviser" })] })) : _jsx("p", { className: "small", children: "It is not in the lab yet. Only a keeper can let it in: send them the key above, to add as an adviser." }))] }))] }), hosting !== null && door !== undefined && (_jsxs("section", { className: "card", children: [_jsx("h2", { children: "The way in" }), _jsx("p", { className: "small", children: "An agent reaches the adviser's tools through a door on this computer. It is shut until you open it, it cannot be reached from the network, and whoever comes through it needs a token that is kept sealed on this device." }), _jsxs("div", { className: "row", children: [_jsx("button", { type: "button", disabled: busy, onClick: () => void ask(() => door.turn(!door.on)), children: door.on ? "Shut the door" : "Open the door" }), _jsx("span", { className: door.on ? "small good" : "dim small", role: "status", children: door.on ? "Open, on this computer only." : "Shut. Nothing can reach the adviser." })] }), door.on && door.url !== null && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "keybox", children: [_jsx("div", { children: _jsx("span", { className: "label", children: "Where it is" }) }), _jsx("code", { className: "wrap", children: door.url })] }), _jsxs("div", { className: "row", children: [_jsx("button", { type: "button", className: "quiet", disabled: busy, onClick: () => void ask(async () => { await door.copy(); setCopied(true); setTimeout(() => setCopied(false), 2500); }), children: copied ? "Copied" : "Copy the command that connects Claude Code" }), door.renew !== undefined && _jsx("button", { type: "button", className: "quiet", disabled: busy, onClick: () => void ask(() => door.renew()), children: "Make a new token" })] }), _jsx("p", { className: "dim small", children: "The command carries the token, so it goes to the clipboard and is not shown here. Paste it into a terminal once. A new token shuts the door and shuts out whatever had the old one." })] }))] })), hosting !== null && (_jsxs("section", { className: "card", children: [_jsx("h2", { children: "What it has done" }), theirs.length === 0 ? _jsx("p", { className: "dim small", children: "It has proposed nothing." }) : (_jsxs("p", { className: "small", children: ["It has proposed ", theirs.length, " ", theirs.length === 1 ? "run" : "runs", ": ", theirs.filter((one) => one.settled === null).length, " open,", " ", theirs.filter((one) => one.settled !== null && one.settled.run !== null).length, " carried out, ", theirs.filter((one) => one.settled !== null && one.settled.run === null).length, " set aside. Each is at its tool, under Proposed."] })), door?.seen !== undefined && door.seen.length > 0 && (_jsxs("table", { children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: "When" }), _jsx("th", { children: "It" }), _jsx("th", {})] }) }), _jsx("tbody", { children: [...door.seen].reverse().slice(0, 12).map((one, at) => (_jsxs("tr", { children: [_jsx("td", { className: "dim", children: new Date(one.at).toLocaleTimeString() }), _jsx("td", { children: adviserDid(one.tool) }), _jsx("td", { children: one.ok ? "" : _jsx("span", { className: "badge", children: "could not" }) })] }, `${one.at} ${at}`))) })] })), onWatch !== undefined && (_jsxs("div", { className: "row", children: [_jsx("button", { type: "button", onClick: onWatch, children: "Watch it work" }), _jsx("span", { className: "dim small", children: "The lab, with the view going wherever the adviser is looking." })] })), _jsx("p", { className: "dim small", children: "Everything it writes is in History under its own name, like anybody's." })] }))] }));
50
+ return (_jsxs(_Fragment, { children: [_jsxs("section", { className: "card", children: [_jsx("h2", { children: "An adviser on this device" }), _jsx("p", { className: "small", children: "An adviser is a member with no hands: an agent that can read what the lab holds, work things out with the lab's own tools, add a part by its sequence, and propose a run for a person to carry out." }), _jsx("p", { className: "dim small", children: "It cannot say that anything was done, used or moved, and it cannot change what you have marked on a part. That is not a setting here: its key has the role of adviser, and every device in the lab refuses anything else it writes. What it proposes is shown at the tool that would carry it out, with its reasons, and nothing happens until a person does it." }), hosting === null ? (_jsx("button", { type: "button", disabled: busy, onClick: () => void ask(() => act("hostAdviser")), children: "Host an adviser on this device" })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "keybox", children: [_jsxs("div", { children: [_jsx("span", { className: "label", children: "The adviser's key" }), _jsx(Copy, { words: hosting.key, label: "Copy key" })] }), _jsx("code", { className: "wrap", children: hosting.key }), _jsxs("p", { className: "dim small", children: ["Fingerprint ", _jsx("code", { children: hosting.fingerprint }), ". It is a key of its own, kept on this device and apart from yours: what the adviser writes is signed with it and never with your key."] })] }), hosting.standing === "adviser" && _jsx("p", { className: "small good", role: "status", children: "It is in the lab as an adviser." }), hosting.standing === "removed" && _jsx("p", { className: "small trouble", role: "status", children: "It was removed from the lab. What it wrote until then is kept." }), (hosting.standing === "member" || hosting.standing === "keeper") && (_jsxs("p", { className: "small trouble", role: "status", children: ["This key is in the lab as a ", hosting.standing, ", which can do more than advise. Nothing is written with it from here until a keeper makes it an adviser."] })), hosting.standing === null && (lab.keeper ? (_jsxs("fieldset", { disabled: busy, className: "stack", children: [_jsx("p", { className: "small", children: "It is not in the lab yet. Until it is, it can read and work things out, and propose nothing." }), _jsxs("label", { children: ["Call it", _jsx("input", { value: person, onChange: (event) => setPerson(event.target.value), maxLength: 200, "aria-label": "What to call the adviser" })] }), _jsx("button", { type: "button", disabled: person.trim() === "", onClick: () => void ask(() => act("addMember", { key: hosting.key, person: person.trim(), role: "adviser" })), children: "Let it into the lab as an adviser" })] })) : _jsx("p", { className: "small", children: "It is not in the lab yet. Only a keeper can let it in: send them the key above, to add as an adviser." }))] }))] }), hosting !== null && door !== undefined && (_jsxs("section", { className: "card", children: [_jsx("h2", { children: "The way in" }), _jsx("p", { className: "small", children: "An agent reaches the adviser's tools through a door on this computer. It is shut until you open it, it cannot be reached from the network, and whoever comes through it needs a token that is kept sealed on this device." }), _jsxs("div", { className: "row", children: [_jsx("button", { type: "button", disabled: busy, onClick: () => void ask(() => door.turn(!door.on)), children: door.on ? "Shut the door" : "Open the door" }), _jsx("span", { className: door.on ? "small good" : "dim small", role: "status", children: door.on ? "Open, on this computer only." : "Shut. Nothing can reach the adviser." })] }), door.on && door.url !== null && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "keybox", children: [_jsx("div", { children: _jsx("span", { className: "label", children: "Where it is" }) }), _jsx("code", { className: "wrap", children: door.url })] }), _jsxs("div", { className: "row", children: [_jsx("button", { type: "button", className: "quiet", disabled: busy, onClick: () => void ask(async () => { await door.copy(); setCopied(true); setTimeout(() => setCopied(false), 2500); }), children: copied ? "Copied" : "Copy the command that connects Claude Code" }), door.renew !== undefined && _jsx("button", { type: "button", className: "quiet", disabled: busy, onClick: () => void ask(() => door.renew()), children: "Make a new token" })] }), _jsx("p", { className: "dim small", children: "The command carries the token, so it goes to the clipboard and is not shown here. Paste it into a terminal once. A new token shuts the door and shuts out whatever had the old one." })] }))] })), hosting !== null && (_jsxs("section", { className: "card", children: [_jsx("h2", { children: "What it has done" }), theirs.length === 0 ? _jsx("p", { className: "dim small", children: "It has proposed nothing." }) : (_jsxs("p", { className: "small", children: ["It has proposed ", theirs.length, " ", theirs.length === 1 ? "run" : "runs", ": ", theirs.filter((one) => one.settled === null).length, " open,", " ", theirs.filter((one) => one.settled !== null && one.settled.run !== null).length, " carried out, ", theirs.filter((one) => one.settled !== null && one.settled.run === null).length, " set aside. Each is at its tool, under Proposed."] })), door?.seen !== undefined && door.seen.length > 0 && (_jsxs("table", { children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: "When" }), _jsx("th", { children: "It" }), _jsx("th", {})] }) }), _jsx("tbody", { children: [...door.seen].reverse().slice(0, 12).map((one, at) => (_jsxs("tr", { children: [_jsx("td", { className: "dim", children: new Date(one.at).toLocaleTimeString() }), _jsx("td", { children: adviserDid(one.tool) }), _jsx("td", { children: one.ok ? "" : _jsx("span", { className: "badge", children: "could not" }) })] }, `${one.at} ${at}`))) })] })), onWatch !== undefined && (_jsxs("div", { className: "row", children: [_jsx("button", { type: "button", onClick: onWatch, children: "Watch it work" }), _jsx("span", { className: "dim small", children: "The lab, with the view going wherever the adviser is looking." })] })), _jsx("p", { className: "dim small", children: "Everything it writes is in History under its own name, like anybody's." })] }))] }));
51
51
  }
52
52
  /**
53
53
  * What the adviser is doing, said over the lab while it is being watched.
@@ -1 +1 @@
1
- {"version":3,"file":"adviser.js","sourceRoot":"","sources":["../src/adviser.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb;;;;;;GAMG;AACH,OAAO,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AA8BlC,MAAM,UAAU,GAAqC;IACnD,YAAY,EAAE,qBAAqB,EAAE,UAAU,EAAE,wBAAwB,EAAE,QAAQ,EAAE,qBAAqB,EAAE,UAAU,EAAE,wBAAwB;IAChJ,SAAS,EAAE,yBAAyB,EAAE,cAAc,EAAE,uBAAuB,EAAE,YAAY,EAAE,oCAAoC;IACjI,cAAc,EAAE,4BAA4B,EAAE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,uBAAuB;IAClK,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE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J,CAAC"}
package/package.json CHANGED
@@ -54,5 +54,5 @@
54
54
  ],
55
55
  "type": "module",
56
56
  "types": "dist/index.d.ts",
57
- "version": "0.3.5"
57
+ "version": "0.3.7"
58
58
  }
package/src/adviser.tsx CHANGED
@@ -43,7 +43,7 @@ const TOOL_WORDS: Readonly<Record<string, string>> = {
43
43
  lab_overview: "looked over the lab", list_parts: "read the list of parts", get_part: "read a part closely", list_tubes: "read the list of tubes",
44
44
  list_runs: "read what has been done", list_proposals: "read what is proposed", find_cutters: "looked for enzymes that cut a part",
45
45
  design_primers: "designed a pair of primers", work_out_pcr: "worked out a PCR", work_out_digest: "worked out a digest", work_out_ligation: "worked out a ligation",
46
- add_part: "added a part", propose_pcr: "proposed a PCR", propose_digest: "proposed a digest", propose_ligation: "proposed a ligation", withdraw_proposal: "took a proposal back",
46
+ search_ncbi: "searched NCBI", fetch_from_ncbi: "read a sequence from NCBI", keep_from_ncbi: "kept a sequence from NCBI", add_part: "added a part", propose_pcr: "proposed a PCR", propose_digest: "proposed a digest", propose_ligation: "proposed a ligation", withdraw_proposal: "took a proposal back",
47
47
  };
48
48
 
49
49
  /**
@@ -78,7 +78,7 @@ export function Adviser({ door, onWatch }: { door?: AdviserDoor; onWatch?: () =>
78
78
  <section className="card">
79
79
  <h2>An adviser on this device</h2>
80
80
  <p className="small">An adviser is a member with no hands: an agent that can read what the lab holds, work things out with the lab's own tools, add a part by its sequence, and propose a run for a person to carry out.</p>
81
- <p className="dim small">It cannot say that anything was done, used or moved. That is not a setting here: its key has the role of adviser, and every device in the lab refuses anything else it writes. What it proposes is shown at the tool that would carry it out, with its reasons, and nothing happens until a person does it.</p>
81
+ <p className="dim small">It cannot say that anything was done, used or moved, and it cannot change what you have marked on a part. That is not a setting here: its key has the role of adviser, and every device in the lab refuses anything else it writes. What it proposes is shown at the tool that would carry it out, with its reasons, and nothing happens until a person does it.</p>
82
82
  {hosting === null ? (
83
83
  <button type="button" disabled={busy} onClick={() => void ask(() => act("hostAdviser"))}>Host an adviser on this device</button>
84
84
  ) : (