dsh-zotero 0.4.3 → 0.5.0
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.en.md +1 -1
- package/README.md +1 -1
- package/lib/client.js +5 -5
- package/lib/client.js.map +2 -2
- package/lib/contract.d.ts +2 -2
- package/lib/contract.js +2 -2
- package/package.json +104 -34
package/README.en.md
CHANGED
|
@@ -68,7 +68,7 @@ The plugin provides a settings card under **Settings → Plugins** where you can
|
|
|
68
68
|
|
|
69
69
|
- Zotero ≥ 7 with local API enabled: **Settings → Advanced → "Allow other applications on this computer to communicate with Zotero"**
|
|
70
70
|
- Node.js ≥ 22.19 (or ≥ 24)
|
|
71
|
-
- dsh 0.1.
|
|
71
|
+
- dsh 0.1.1-rc.2 series host (all `@deepseek-ai/dsh-*` peer dependencies are `^0.1.1-rc.2`)
|
|
72
72
|
- Local API at `http://127.0.0.1:23119/api`, unauthenticated, read-only
|
|
73
73
|
|
|
74
74
|
## Usage example
|
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ dsh plugin --profile <name> add ./dsh-zotero-*.tgz
|
|
|
68
68
|
|
|
69
69
|
- Zotero ≥ 7 桌面版,启用本地 API:**设置 → 高级 → "允许其他应用程序与 Zotero 通信"**
|
|
70
70
|
- Node.js ≥ 22.19(或 ≥ 24)
|
|
71
|
-
- 宿主 dsh 0.1.
|
|
71
|
+
- 宿主 dsh 0.1.1-rc.2 系列(`@deepseek-ai/dsh-*` peer 依赖均为 `^0.1.1-rc.2`)
|
|
72
72
|
- 本地 API 地址 `http://127.0.0.1:23119/api`,无认证,只读
|
|
73
73
|
|
|
74
74
|
## 使用示例
|
package/lib/client.js
CHANGED
|
@@ -1607,10 +1607,10 @@ var import_dsh_client_ui_primitives3 = require("@deepseek-ai/dsh-client-ui-primi
|
|
|
1607
1607
|
|
|
1608
1608
|
// src/client/build-info.ts
|
|
1609
1609
|
function buildVersion() {
|
|
1610
|
-
return true ? "0.
|
|
1610
|
+
return true ? "0.5.0" : "unknown";
|
|
1611
1611
|
}
|
|
1612
1612
|
function buildCommit() {
|
|
1613
|
-
return true ? "
|
|
1613
|
+
return true ? "996b9db" : "unknown";
|
|
1614
1614
|
}
|
|
1615
1615
|
function buildInfoOf() {
|
|
1616
1616
|
return `${buildVersion()} \xB7 ${buildCommit()}`;
|
|
@@ -1634,7 +1634,7 @@ if (typeof document !== "undefined" && !document.querySelector('style[data-plugi
|
|
|
1634
1634
|
tag.textContent = style;
|
|
1635
1635
|
document.head.appendChild(tag);
|
|
1636
1636
|
}
|
|
1637
|
-
var workspace_default = { "
|
|
1637
|
+
var workspace_default = { "summaryLine": "_o1AEW_summaryLine", "sectionLabel": "_o1AEW_sectionLabel", "sourceTag": "_o1AEW_sourceTag", "starterRow": "_o1AEW_starterRow", "badges": "_o1AEW_badges", "listItemSelected": "_o1AEW_listItemSelected", "action": "_o1AEW_action", "availability": "_o1AEW_availability", "filterArrowLeft": "_o1AEW_filterArrowLeft", "menuButton": "_o1AEW_menuButton", "badge": "_o1AEW_badge", "detailTab": "_o1AEW_detailTab", "lensTabCount": "_o1AEW_lensTabCount", "detailTabActive": "_o1AEW_detailTabActive", "refresh": "_o1AEW_refresh", "inspector": "_o1AEW_inspector", "exportStack": "_o1AEW_exportStack", "inspectorTitle": "_o1AEW_inspectorTitle", "empty": "_o1AEW_empty", "view": "_o1AEW_view", "inspectorTitleWrap": "_o1AEW_inspectorTitleWrap", "inspectorMeta": "_o1AEW_inspectorMeta", "passages": "_o1AEW_passages", "statusText": "_o1AEW_statusText", "lensTabActive": "_o1AEW_lensTabActive", "listItem": "_o1AEW_listItem", "warning": "_o1AEW_warning", "lensBar": "_o1AEW_lensBar", "emptyNote": "_o1AEW_emptyNote", "listItemMeta": "_o1AEW_listItemMeta", "actionRow": "_o1AEW_actionRow", "note": "_o1AEW_note", "filterArrowRight": "_o1AEW_filterArrowRight", "cardStack": "_o1AEW_cardStack", "listItemTitle": "_o1AEW_listItemTitle", "listbox": "_o1AEW_listbox", "passage": "_o1AEW_passage", "emptyText": "_o1AEW_emptyText", "spacer": "_o1AEW_spacer", "emptyWrap": "_o1AEW_emptyWrap", "panel": "_o1AEW_panel", "line": "_o1AEW_line", "inspectorTabs": "_o1AEW_inspectorTabs", "sidebar": "_o1AEW_sidebar", "backAction": "_o1AEW_backAction", "evidenceEntry": "_o1AEW_evidenceEntry", "filterBar": "_o1AEW_filterBar", "exportsPage": "_o1AEW_exportsPage", "inspectorBody": "_o1AEW_inspectorBody", "filterArrow": "_o1AEW_filterArrow", "lensTab": "_o1AEW_lensTab", "section": "_o1AEW_section", "inspectorHead": "_o1AEW_inspectorHead", "detailToggle": "_o1AEW_detailToggle", "toolbar": "_o1AEW_toolbar", "workspace": "_o1AEW_workspace", "diagnosis": "_o1AEW_diagnosis", "filterClear": "_o1AEW_filterClear", "detailTabCount": "_o1AEW_detailTabCount", "emptyIcon": "_o1AEW_emptyIcon", "passageHead": "_o1AEW_passageHead", "evidencePage": "_o1AEW_evidencePage" };
|
|
1638
1638
|
|
|
1639
1639
|
// src/client/components/workspace/WorkspaceToolbar.tsx
|
|
1640
1640
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
@@ -1966,7 +1966,7 @@ if (typeof document !== "undefined" && !document.querySelector('style[data-plugi
|
|
|
1966
1966
|
tag.textContent = style2;
|
|
1967
1967
|
document.head.appendChild(tag);
|
|
1968
1968
|
}
|
|
1969
|
-
var open_default = { "
|
|
1969
|
+
var open_default = { "linkWrap": "_02bwZG_linkWrap", "button": "_02bwZG_button", "blocked": "_02bwZG_blocked", "srOnly": "_02bwZG_srOnly", "note": "_02bwZG_note", "link": "_02bwZG_link" };
|
|
1970
1970
|
|
|
1971
1971
|
// src/client/components/open/BlockedOpenAction.tsx
|
|
1972
1972
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
@@ -2137,7 +2137,7 @@ if (typeof document !== "undefined" && !document.querySelector('style[data-plugi
|
|
|
2137
2137
|
tag.textContent = style3;
|
|
2138
2138
|
document.head.appendChild(tag);
|
|
2139
2139
|
}
|
|
2140
|
-
var SourcesList_default = { "
|
|
2140
|
+
var SourcesList_default = { "exportKeysText": "o5qj9a_exportKeysText", "exportSectionHead": "o5qj9a_exportSectionHead", "exportSectionCount": "o5qj9a_exportSectionCount", "documentTitle": "o5qj9a_documentTitle", "exportHead": "o5qj9a_exportHead", "unresolvedItemsText": "o5qj9a_unresolvedItemsText", "exportKeys": "o5qj9a_exportKeys", "line": "o5qj9a_line", "exportSection": "o5qj9a_exportSection", "exportPre": "o5qj9a_exportPre", "exportSectionTitle": "o5qj9a_exportSectionTitle", "exportCodeHead": "o5qj9a_exportCodeHead", "chevron": "o5qj9a_chevron", "availability": "o5qj9a_availability", "unresolvedItems": "o5qj9a_unresolvedItems", "lineAction": "o5qj9a_lineAction", "passageHead": "o5qj9a_passageHead", "link": "o5qj9a_link", "exportBody": "o5qj9a_exportBody", "exportSectionActions": "o5qj9a_exportSectionActions", "exportRow": "o5qj9a_exportRow", "cardHead": "o5qj9a_cardHead", "documentKey": "o5qj9a_documentKey", "exportToggle": "o5qj9a_exportToggle", "cardTitle": "o5qj9a_cardTitle", "passage": "o5qj9a_passage", "passages": "o5qj9a_passages", "sourceTag": "o5qj9a_sourceTag", "card": "o5qj9a_card", "lineActions": "o5qj9a_lineActions", "exportTitle": "o5qj9a_exportTitle", "chevronOpen": "o5qj9a_chevronOpen", "note": "o5qj9a_note", "exportCode": "o5qj9a_exportCode", "exportFacts": "o5qj9a_exportFacts", "exportCodeLabel": "o5qj9a_exportCodeLabel" };
|
|
2141
2141
|
|
|
2142
2142
|
// src/client/components/CopyButton.tsx
|
|
2143
2143
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|