dsh-context 0.56.0 → 0.56.1
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 +7 -6
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -9986,7 +9986,7 @@ window.__ModuleLoader__.load({
|
|
|
9986
9986
|
return function PluginInfo() {
|
|
9987
9987
|
const [latest, setLatest] = (0, react.useState)(null);
|
|
9988
9988
|
(0, react.useEffect)(() => {
|
|
9989
|
-
if ("0.56.
|
|
9989
|
+
if ("0.56.1".includes("-dev")) return;
|
|
9990
9990
|
let on = true;
|
|
9991
9991
|
fetchLatestVersion().then((v) => {
|
|
9992
9992
|
if (on && v) setLatest(v);
|
|
@@ -9995,8 +9995,8 @@ window.__ModuleLoader__.load({
|
|
|
9995
9995
|
on = false;
|
|
9996
9996
|
};
|
|
9997
9997
|
}, []);
|
|
9998
|
-
const update = latest !== null && isNewerVersion(latest, "0.56.
|
|
9999
|
-
const nameText = "dsh-context (v0.56.
|
|
9998
|
+
const update = latest !== null && isNewerVersion(latest, "0.56.1") ? latest : null;
|
|
9999
|
+
const nameText = "dsh-context (v0.56.1)";
|
|
10000
10000
|
const nameValue = [nameText];
|
|
10001
10001
|
if (update) nameValue.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10002
10002
|
className: "lc-pi-update",
|
|
@@ -11127,8 +11127,9 @@ window.__ModuleLoader__.load({
|
|
|
11127
11127
|
* Scroll an element's nearest scrollable ancestor so the element tops that
|
|
11128
11128
|
* scrollport. The jump's landing reveal needs this host-agnostic: the
|
|
11129
11129
|
* conversation tab scrolls the shared `[data-conversation-scroll]` container
|
|
11130
|
-
* while the right Sidebar
|
|
11131
|
-
* no stable attribute
|
|
11130
|
+
* while the right Sidebar's scroller differs per generation (dockkit's pane
|
|
11131
|
+
* body — a CSS-module class with no stable attribute — on the 0.1.5 line, the
|
|
11132
|
+
* tab root itself on the 0.1.7 line), so the walk takes whichever ancestor
|
|
11132
11133
|
* actually scrolls — the rect delta lands the anchor flush regardless of the
|
|
11133
11134
|
* container's current position. `document.body` ends the walk: the page
|
|
11134
11135
|
* itself never scrolls. False — never a throw — when no ancestor scrolls (the
|
|
@@ -11786,7 +11787,7 @@ window.__ModuleLoader__.load({
|
|
|
11786
11787
|
}
|
|
11787
11788
|
//#endregion
|
|
11788
11789
|
//#region \0dsh-global-css:/home/runner/work/dsh-context/dsh-context/src/client/styles/base.css.mjs
|
|
11789
|
-
const css$14 = ".lc-root{box-sizing:border-box;height:100%;color:var(--dsw-alias-label-primary);padding:16px 20px 32px;font-size:13px;overflow-y:auto}[data-sidebar-right-open] .lc-root,[data-sidebar-right-float-host] .lc-root{
|
|
11790
|
+
const css$14 = ".lc-root{box-sizing:border-box;height:100%;color:var(--dsw-alias-label-primary);padding:16px 20px 32px;font-size:13px;overflow-y:auto}[data-sidebar-right-open] .lc-root,[data-sidebar-right-float-host] .lc-root{padding:12px}.lc-title-icon{flex:none}.lc-title-label{padding-right:30px}.lc-card{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);border-radius:10px;margin-bottom:14px;padding:14px 16px}.lc-root .lc-card{box-sizing:border-box;margin-bottom:7px;padding:7px 8px;container:lc-card/inline-size}.lc-root .lc-cols{gap:7px;margin-bottom:7px}.lc-card-title{flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:10px;font-weight:600;display:flex}.lc-card-title-text{white-space:nowrap;flex:none}.lc-gran,.lc-kinds{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);border-radius:6px;gap:2px;margin-left:auto;padding:1px;display:flex}.lc-trend-ctl,.lc-heat-ctl{align-items:center;gap:6px;margin-left:auto;display:flex}.lc-trend-ctl .lc-gran,.lc-heat-ctl .lc-gran,.lc-heat-ctl .lc-card-sub{margin-left:0}.lc-trend-adaptive{flex:none;margin-left:0}.lc-gran-btn{color:var(--dsw-alias-label-secondary);cursor:pointer;transition:color var(--ds-transition-duration,.2s) var(--ds-ease-in-out,ease-in-out);background:0 0;border:0;border-radius:5px;padding:3px 8px;font-family:inherit;font-size:11px;line-height:1}.lc-gran-btn:hover{color:var(--dsw-alias-label-primary)}.lc-gran-on,.lc-gran-on:hover{background:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}.lc-kind-n{font-variant-numeric:tabular-nums;opacity:.65;margin-left:4px}.lc-gran-on .lc-kind-n{opacity:.85}.lc-tip{z-index:6;background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1);width:max-content;color:var(--dsw-alias-label-primary);box-shadow:var(--dsw-shadow-lv3,0 2px 8px #0000002e);pointer-events:none;opacity:0;transition:opacity var(--ds-transition-duration,.2s) var(--ds-ease-in-out,ease-in-out);border-radius:6px;padding:6px 10px;font-size:12px;position:absolute}.lc-events,.lc-fa-list{flex-direction:column;gap:2px;height:320px;display:flex;overflow-y:auto}.lc-cols{flex-wrap:wrap;gap:14px;margin-bottom:14px;display:flex}.lc-cols>.lc-card,.lc-col>.lc-card:last-child{margin-bottom:0}.lc-col-browser{flex-direction:column;display:flex}.lc-col-browser>.lc-card{flex:1}.lc-head>.lc-card:has(.lc-stats){flex-direction:column;display:flex}.lc-head .lc-stats{flex:1;align-content:stretch}.lc-head .lc-stat{justify-content:center}.lc-empty{color:var(--dsw-alias-label-secondary);text-align:center;padding:18px 0}.lc-error{flex-direction:column;align-items:center;gap:8px;padding:40px 16px;display:flex}.lc-error-msg{font-family:var(--ds-font-family-code,ui-monospace, SFMono-Regular, Menlo, monospace);color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1);overflow-wrap:anywhere;border-radius:6px;max-width:100%;padding:4px 8px;font-size:12px}.lc-error-retry{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;transition:border-color var(--ds-transition-duration,.2s) var(--ds-ease-in-out,ease-in-out);border-radius:6px;padding:4px 14px;font-size:12px}.lc-foot{color:var(--dsw-alias-label-secondary);margin-top:4px;font-size:12px}[data-conversation-scroll]:has(.lc-root)>[data-composer-seat]:not(:has([data-approval-key],[data-question-key],[data-plan-review-key])),[data-conversation-scroll]:has(.lc-root,.lc-modal-backdrop)~[data-width-handle]{display:none}";
|
|
11790
11791
|
const tagId$14 = "dsh-context/base.css";
|
|
11791
11792
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$14) + "]") === null) {
|
|
11792
11793
|
const tag = document.createElement("style");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-context",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.1",
|
|
4
4
|
"description": "A DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.",
|
|
5
5
|
"icon": "icon.svg",
|
|
6
6
|
"author": "bowenliang123",
|