@banana-peeljj12/dsh-trellis 0.2.1 → 0.2.2
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/lib/client.js +11 -5
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1064,16 +1064,22 @@ window.__ModuleLoader__.load({
|
|
|
1064
1064
|
* unreachable exactly when a new conversation needs to pick its task.
|
|
1065
1065
|
* This entry renders the SAME chip on `conversation.input.dock` (the row
|
|
1066
1066
|
* above the composer card, rendered in the hero phase too), but ONLY
|
|
1067
|
-
* while that header seat is hidden (`blank
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1067
|
+
* while that header seat is hidden (`session.blank === true`, the same
|
|
1068
|
+
* predicate the header uses to hide itself: for a blank session
|
|
1069
|
+
* activeTargets is empty, running is false, and promptAttempted is false,
|
|
1070
|
+
* so conversationPhase always returns "blank"), so the two seats are
|
|
1071
|
+
* mutually exclusive and the chip never duplicates.
|
|
1070
1072
|
*/
|
|
1071
1073
|
function HeroTaskChip(props) {
|
|
1072
1074
|
const { session, sessionId, t } = props;
|
|
1075
|
+
// The header hides itself when `session.blank && conversationPhase(session, conversation) === "blank"`.
|
|
1076
|
+
// `conversation.input.dock` owner props (InputZone) expose `session: SessionSnapshot` without
|
|
1077
|
+
// `conversation`, so `conversationPhase` is not computable here. For a brand-new blank session,
|
|
1078
|
+
// `session.blank === true` is equivalent — activeTargets is empty, running is false, and
|
|
1079
|
+
// promptAttempted is false, so conversationPhase always returns "blank".
|
|
1073
1080
|
const headerHidden = !!(
|
|
1074
1081
|
session &&
|
|
1075
|
-
session.blank === true
|
|
1076
|
-
session.composerPhase === 'blank'
|
|
1082
|
+
session.blank === true
|
|
1077
1083
|
);
|
|
1078
1084
|
if (!headerHidden) return null;
|
|
1079
1085
|
return react.createElement(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@banana-peeljj12/dsh-trellis",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Self-contained Trellis workflow trigger for DeepSeek Harness: per-turn breadcrumb injection via agent/pre-step, a bundled skill provider, and DSH-native task/phase state resolution. No Trellis AGPL code is vendored; workflow semantics are rewritten and licensed MIT.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|