dsh-agent-toolkit 0.2.2 → 0.2.3
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 +100 -92
- package/lib/client.js.map +1 -1
- package/lib/index.js +92 -74
- package/lib/index.js.map +1 -1
- package/package.json +7 -1
package/lib/client.js
CHANGED
|
@@ -67,15 +67,15 @@ window.__ModuleLoader__.load({
|
|
|
67
67
|
document.head.appendChild(tag);
|
|
68
68
|
}
|
|
69
69
|
var delegate_card_module_css_default = {
|
|
70
|
+
"result": "_8wQUq_result",
|
|
70
71
|
"chip": "_8wQUq_chip",
|
|
71
72
|
"summary": "_8wQUq_summary",
|
|
72
|
-
"
|
|
73
|
+
"childLink": "_8wQUq_childLink",
|
|
74
|
+
"prompt": "_8wQUq_prompt",
|
|
75
|
+
"row": "_8wQUq_row",
|
|
73
76
|
"body": "_8wQUq_body",
|
|
74
77
|
"root": "_8wQUq_root",
|
|
75
|
-
"visuallyHidden": "_8wQUq_visuallyHidden"
|
|
76
|
-
"row": "_8wQUq_row",
|
|
77
|
-
"prompt": "_8wQUq_prompt",
|
|
78
|
-
"childLink": "_8wQUq_childLink"
|
|
78
|
+
"visuallyHidden": "_8wQUq_visuallyHidden"
|
|
79
79
|
};
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/client/delegate/delegate-card.tsx
|
|
@@ -411,33 +411,33 @@ window.__ModuleLoader__.load({
|
|
|
411
411
|
document.head.appendChild(tag);
|
|
412
412
|
}
|
|
413
413
|
var agents_module_css_default = {
|
|
414
|
-
"select": "KsfSLW_select",
|
|
415
|
-
"agentDesc": "KsfSLW_agentDesc",
|
|
416
414
|
"error": "KsfSLW_error",
|
|
417
|
-
"
|
|
418
|
-
"
|
|
419
|
-
"toolGroupSet": "KsfSLW_toolGroupSet",
|
|
420
|
-
"dialog": "KsfSLW_dialog",
|
|
421
|
-
"block": "KsfSLW_block",
|
|
415
|
+
"builtinBadge": "KsfSLW_builtinBadge",
|
|
416
|
+
"actions": "KsfSLW_actions",
|
|
422
417
|
"field": "KsfSLW_field",
|
|
423
|
-
"
|
|
424
|
-
"input": "KsfSLW_input",
|
|
418
|
+
"listPane": "KsfSLW_listPane",
|
|
425
419
|
"toolMode": "KsfSLW_toolMode",
|
|
426
|
-
"
|
|
427
|
-
"hint": "KsfSLW_hint",
|
|
428
|
-
"actions": "KsfSLW_actions",
|
|
420
|
+
"select": "KsfSLW_select",
|
|
429
421
|
"toolGrid": "KsfSLW_toolGrid",
|
|
430
|
-
"createButton": "KsfSLW_createButton",
|
|
431
|
-
"listPane": "KsfSLW_listPane",
|
|
432
|
-
"agentRowActive": "KsfSLW_agentRowActive",
|
|
433
|
-
"editor": "KsfSLW_editor",
|
|
434
422
|
"split": "KsfSLW_split",
|
|
435
|
-
"
|
|
436
|
-
"builtinBadge": "KsfSLW_builtinBadge",
|
|
423
|
+
"block": "KsfSLW_block",
|
|
437
424
|
"toolGroupTitle": "KsfSLW_toolGroupTitle",
|
|
425
|
+
"agentDesc": "KsfSLW_agentDesc",
|
|
426
|
+
"readonlyId": "KsfSLW_readonlyId",
|
|
438
427
|
"dangerButton": "KsfSLW_dangerButton",
|
|
439
428
|
"textarea": "KsfSLW_textarea",
|
|
440
|
-
"
|
|
429
|
+
"toolGroupSet": "KsfSLW_toolGroupSet",
|
|
430
|
+
"editor": "KsfSLW_editor",
|
|
431
|
+
"input": "KsfSLW_input",
|
|
432
|
+
"blockTitle": "KsfSLW_blockTitle",
|
|
433
|
+
"agentRow": "KsfSLW_agentRow",
|
|
434
|
+
"agentName": "KsfSLW_agentName",
|
|
435
|
+
"toolCheck": "KsfSLW_toolCheck",
|
|
436
|
+
"hint": "KsfSLW_hint",
|
|
437
|
+
"createButton": "KsfSLW_createButton",
|
|
438
|
+
"agentRowActive": "KsfSLW_agentRowActive",
|
|
439
|
+
"editorPane": "KsfSLW_editorPane",
|
|
440
|
+
"dialog": "KsfSLW_dialog"
|
|
441
441
|
};
|
|
442
442
|
//#endregion
|
|
443
443
|
//#region src/client/agents/AgentEditor.tsx
|
|
@@ -951,24 +951,24 @@ window.__ModuleLoader__.load({
|
|
|
951
951
|
document.head.appendChild(tag);
|
|
952
952
|
}
|
|
953
953
|
var prompt_module_css_default = {
|
|
954
|
-
"
|
|
955
|
-
"layerName": "VZk1fa_layerName",
|
|
956
|
-
"hint": "VZk1fa_hint",
|
|
957
|
-
"tabActive": "VZk1fa_tabActive",
|
|
958
|
-
"error": "VZk1fa_error",
|
|
959
|
-
"layerRowActive": "VZk1fa_layerRowActive",
|
|
960
|
-
"actions": "VZk1fa_actions",
|
|
954
|
+
"field": "VZk1fa_field",
|
|
961
955
|
"tab": "VZk1fa_tab",
|
|
962
|
-
"split": "VZk1fa_split",
|
|
963
956
|
"textarea": "VZk1fa_textarea",
|
|
957
|
+
"hint": "VZk1fa_hint",
|
|
958
|
+
"layerOrder": "VZk1fa_layerOrder",
|
|
959
|
+
"layerRow": "VZk1fa_layerRow",
|
|
964
960
|
"tabs": "VZk1fa_tabs",
|
|
965
|
-
"
|
|
961
|
+
"actions": "VZk1fa_actions",
|
|
962
|
+
"tabActive": "VZk1fa_tabActive",
|
|
966
963
|
"listPane": "VZk1fa_listPane",
|
|
967
|
-
"
|
|
968
|
-
"layerOrder": "VZk1fa_layerOrder",
|
|
964
|
+
"layerRowActive": "VZk1fa_layerRowActive",
|
|
969
965
|
"dialog": "VZk1fa_dialog",
|
|
970
|
-
"
|
|
971
|
-
"
|
|
966
|
+
"split": "VZk1fa_split",
|
|
967
|
+
"readonlyTag": "VZk1fa_readonlyTag",
|
|
968
|
+
"editorPane": "VZk1fa_editorPane",
|
|
969
|
+
"error": "VZk1fa_error",
|
|
970
|
+
"layerName": "VZk1fa_layerName",
|
|
971
|
+
"editor": "VZk1fa_editor"
|
|
972
972
|
};
|
|
973
973
|
//#endregion
|
|
974
974
|
//#region src/client/prompt/PromptLayersModal.tsx
|
|
@@ -1310,8 +1310,8 @@ window.__ModuleLoader__.load({
|
|
|
1310
1310
|
document.head.appendChild(tag);
|
|
1311
1311
|
}
|
|
1312
1312
|
var entry_module_css_default = {
|
|
1313
|
-
"
|
|
1314
|
-
"
|
|
1313
|
+
"rail": "QVHFVG_rail",
|
|
1314
|
+
"trigger": "QVHFVG_trigger"
|
|
1315
1315
|
};
|
|
1316
1316
|
//#endregion
|
|
1317
1317
|
//#region ../usage/src/client/shared/entry.tsx
|
|
@@ -1452,13 +1452,13 @@ window.__ModuleLoader__.load({
|
|
|
1452
1452
|
document.head.appendChild(tag);
|
|
1453
1453
|
}
|
|
1454
1454
|
var chart_module_css_default = {
|
|
1455
|
-
"swatchCached": "_8LXSJW_swatchCached",
|
|
1456
|
-
"tooltipTotal": "_8LXSJW_tooltipTotal",
|
|
1457
|
-
"tooltip": "_8LXSJW_tooltip",
|
|
1458
|
-
"legend": "_8LXSJW_legend",
|
|
1459
1455
|
"chartTheme": "_8LXSJW_chartTheme",
|
|
1456
|
+
"swatchCached": "_8LXSJW_swatchCached",
|
|
1457
|
+
"swatchFresh": "_8LXSJW_swatchFresh",
|
|
1460
1458
|
"tooltipTitle": "_8LXSJW_tooltipTitle",
|
|
1461
|
-
"
|
|
1459
|
+
"legend": "_8LXSJW_legend",
|
|
1460
|
+
"tooltip": "_8LXSJW_tooltip",
|
|
1461
|
+
"tooltipTotal": "_8LXSJW_tooltipTotal"
|
|
1462
1462
|
};
|
|
1463
1463
|
//#endregion
|
|
1464
1464
|
//#region \0dsh-css:D:\work\github\dsh\dsh-agent-toolkit\packages\usage\src\client\usage\ActivityHeatmap.module.css.mjs
|
|
@@ -1472,14 +1472,14 @@ window.__ModuleLoader__.load({
|
|
|
1472
1472
|
document.head.appendChild(tag);
|
|
1473
1473
|
}
|
|
1474
1474
|
var ActivityHeatmap_module_css_default = {
|
|
1475
|
+
"level0": "hjrYrq_level0",
|
|
1476
|
+
"months": "hjrYrq_months",
|
|
1477
|
+
"level3": "hjrYrq_level3",
|
|
1475
1478
|
"level2": "hjrYrq_level2",
|
|
1476
1479
|
"level4": "hjrYrq_level4",
|
|
1477
1480
|
"level1": "hjrYrq_level1",
|
|
1478
|
-
"level0": "hjrYrq_level0",
|
|
1479
1481
|
"grid": "hjrYrq_grid",
|
|
1480
|
-
"
|
|
1481
|
-
"week": "hjrYrq_week",
|
|
1482
|
-
"months": "hjrYrq_months"
|
|
1482
|
+
"week": "hjrYrq_week"
|
|
1483
1483
|
};
|
|
1484
1484
|
//#endregion
|
|
1485
1485
|
//#region ../usage/src/client/usage/ActivityHeatmap.tsx
|
|
@@ -52516,19 +52516,19 @@ ${te.current.stack}
|
|
|
52516
52516
|
document.head.appendChild(tag);
|
|
52517
52517
|
}
|
|
52518
52518
|
var UsageModal_module_css_default = {
|
|
52519
|
-
"pagerButton": "MODeXa_pagerButton",
|
|
52520
52519
|
"row": "MODeXa_row",
|
|
52520
|
+
"dateLabel": "MODeXa_dateLabel",
|
|
52521
52521
|
"pager": "MODeXa_pager",
|
|
52522
52522
|
"tab": "MODeXa_tab",
|
|
52523
|
-
"tabs": "MODeXa_tabs",
|
|
52524
|
-
"dateLabel": "MODeXa_dateLabel",
|
|
52525
|
-
"sectionTitle": "MODeXa_sectionTitle",
|
|
52526
52523
|
"rowName": "MODeXa_rowName",
|
|
52524
|
+
"compaction": "MODeXa_compaction",
|
|
52525
|
+
"tabActive": "MODeXa_tabActive",
|
|
52526
|
+
"sectionTitle": "MODeXa_sectionTitle",
|
|
52527
52527
|
"rowCalls": "MODeXa_rowCalls",
|
|
52528
52528
|
"dialog": "MODeXa_dialog",
|
|
52529
|
-
"
|
|
52530
|
-
"
|
|
52531
|
-
"
|
|
52529
|
+
"pagerButton": "MODeXa_pagerButton",
|
|
52530
|
+
"tabs": "MODeXa_tabs",
|
|
52531
|
+
"total": "MODeXa_total"
|
|
52532
52532
|
};
|
|
52533
52533
|
//#endregion
|
|
52534
52534
|
//#region ../usage/src/client/usage/UsageModal.tsx
|
|
@@ -55143,7 +55143,7 @@ ${te.current.stack}
|
|
|
55143
55143
|
return SvgRenderer.render(data, opts);
|
|
55144
55144
|
});
|
|
55145
55145
|
})))();
|
|
55146
|
-
const css = ".vTbXga_dialog{width:560px}.vTbXga_group{margin-bottom:12px}.vTbXga_groupTitle{opacity:.6;word-break:break-all;margin:0 0 4px;font-size:12px}.vTbXga_botRow{border:1px solid var(--dsw-alias-border-l2);cursor:pointer;width:100%;font:inherit;color:inherit;text-align:left;background:0 0;border-radius:6px;align-items:center;gap:8px;margin-bottom:4px;padding:8px 10px;display:flex}.vTbXga_botRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.vTbXga_botName{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.vTbXga_channelBadge{flex:none}.vTbXga_status{color:var(--dsw-alias-label-tertiary);flex:none;align-items:center;gap:6px;font-size:12px;line-height:18px;display:inline-flex}.vTbXga_createButton{margin-top:8px}.vTbXga_field{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:6px;margin:0 0 12px;font-size:13px;line-height:20px;display:flex}.vTbXga_input{box-sizing:border-box;width:100%}.vTbXga_select,.vTbXga_textarea{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);width:100%;color:var(--dsw-alias-label-primary);font:inherit;border-radius:12px;font-size:14px;line-height:22px}.vTbXga_select{height:32px;padding:0 8px}.vTbXga_textarea{resize:vertical;padding:4px 8px}.vTbXga_select:focus,.vTbXga_textarea:focus{border-color:var(--dsw-alias-brand-primary);outline:none}.vTbXga_steps{color:var(--dsw-alias-label-tertiary);align-items:center;gap:6px;margin:0 0 16px;font-size:13px;line-height:20px;display:flex}.vTbXga_step{color:var(--dsw-alias-label-tertiary)}.vTbXga_stepActive{color:var(--dsw-alias-label-primary);font-weight:600}.vTbXga_stepSeparator{color:var(--dsw-alias-label-tertiary)}.vTbXga_tabs{background:var(--dsw-alias-bg-layer-2);border-radius:12px;gap:2px;margin-bottom:12px;padding:3px;display:inline-flex}.vTbXga_tab{height:28px;color:var(--dsw-alias-label-secondary);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:9px;padding:0 12px;font-size:13px;line-height:28px}.vTbXga_tabActive{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}.vTbXga_scanSection{margin:0 0 12px}.vTbXga_error{color:var(--dsw-alias-state-error-primary);margin:0 0 12px;font-size:12px;line-height:18px}.vTbXga_formActions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}";
|
|
55146
|
+
const css = ".vTbXga_dialog{width:560px}.vTbXga_group{margin-bottom:12px}.vTbXga_groupTitle{opacity:.6;word-break:break-all;margin:0 0 4px;font-size:12px}.vTbXga_botRow{border:1px solid var(--dsw-alias-border-l2);cursor:pointer;width:100%;font:inherit;color:inherit;text-align:left;background:0 0;border-radius:6px;align-items:center;gap:8px;margin-bottom:4px;padding:8px 10px;display:flex}.vTbXga_botRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.vTbXga_botName{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.vTbXga_channelBadge{flex:none}.vTbXga_status{color:var(--dsw-alias-label-tertiary);flex:none;align-items:center;gap:6px;font-size:12px;line-height:18px;display:inline-flex}.vTbXga_createButton{margin-top:8px}.vTbXga_field{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:6px;margin:0 0 12px;font-size:13px;line-height:20px;display:flex}.vTbXga_input{box-sizing:border-box;width:100%}.vTbXga_select,.vTbXga_textarea{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);width:100%;color:var(--dsw-alias-label-primary);font:inherit;border-radius:12px;font-size:14px;line-height:22px}.vTbXga_select{height:32px;padding:0 8px}.vTbXga_textarea{resize:vertical;padding:4px 8px}.vTbXga_select:focus,.vTbXga_textarea:focus{border-color:var(--dsw-alias-brand-primary);outline:none}.vTbXga_steps{color:var(--dsw-alias-label-tertiary);align-items:center;gap:6px;margin:0 0 16px;font-size:13px;line-height:20px;display:flex}.vTbXga_step{color:var(--dsw-alias-label-tertiary)}.vTbXga_stepActive{color:var(--dsw-alias-label-primary);font-weight:600}.vTbXga_stepSeparator{color:var(--dsw-alias-label-tertiary)}.vTbXga_tabs{background:var(--dsw-alias-bg-layer-2);border-radius:12px;gap:2px;margin-bottom:12px;padding:3px;display:inline-flex}.vTbXga_tab{height:28px;color:var(--dsw-alias-label-secondary);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:9px;padding:0 12px;font-size:13px;line-height:28px}.vTbXga_tabActive{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}.vTbXga_scanSection{margin:0 0 12px}.vTbXga_error{color:var(--dsw-alias-state-error-primary);margin:0 0 12px;font-size:12px;line-height:18px}.vTbXga_hint{color:var(--dsw-alias-label-tertiary);margin:0 0 12px;font-size:12px;line-height:18px}.vTbXga_formActions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}";
|
|
55147
55147
|
const tagId = "dsh-agent-toolkit/bots.module.css-2ed59f26";
|
|
55148
55148
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
55149
55149
|
const tag = document.createElement("style");
|
|
@@ -55153,28 +55153,29 @@ ${te.current.stack}
|
|
|
55153
55153
|
document.head.appendChild(tag);
|
|
55154
55154
|
}
|
|
55155
55155
|
var bots_module_css_default = {
|
|
55156
|
-
"
|
|
55157
|
-
"formActions": "vTbXga_formActions",
|
|
55158
|
-
"field": "vTbXga_field",
|
|
55156
|
+
"tabActive": "vTbXga_tabActive",
|
|
55159
55157
|
"botRow": "vTbXga_botRow",
|
|
55160
|
-
"tabs": "vTbXga_tabs",
|
|
55161
55158
|
"step": "vTbXga_step",
|
|
55162
|
-
"
|
|
55163
|
-
"tabActive": "vTbXga_tabActive",
|
|
55164
|
-
"textarea": "vTbXga_textarea",
|
|
55159
|
+
"tabs": "vTbXga_tabs",
|
|
55165
55160
|
"select": "vTbXga_select",
|
|
55161
|
+
"hint": "vTbXga_hint",
|
|
55166
55162
|
"channelBadge": "vTbXga_channelBadge",
|
|
55163
|
+
"groupTitle": "vTbXga_groupTitle",
|
|
55164
|
+
"field": "vTbXga_field",
|
|
55165
|
+
"formActions": "vTbXga_formActions",
|
|
55166
|
+
"createButton": "vTbXga_createButton",
|
|
55167
|
+
"tab": "vTbXga_tab",
|
|
55167
55168
|
"status": "vTbXga_status",
|
|
55168
55169
|
"stepActive": "vTbXga_stepActive",
|
|
55170
|
+
"group": "vTbXga_group",
|
|
55169
55171
|
"input": "vTbXga_input",
|
|
55170
55172
|
"scanSection": "vTbXga_scanSection",
|
|
55171
|
-
"dialog": "vTbXga_dialog",
|
|
55172
|
-
"groupTitle": "vTbXga_groupTitle",
|
|
55173
55173
|
"error": "vTbXga_error",
|
|
55174
|
+
"stepSeparator": "vTbXga_stepSeparator",
|
|
55175
|
+
"dialog": "vTbXga_dialog",
|
|
55174
55176
|
"steps": "vTbXga_steps",
|
|
55175
|
-
"group": "vTbXga_group",
|
|
55176
55177
|
"botName": "vTbXga_botName",
|
|
55177
|
-
"
|
|
55178
|
+
"textarea": "vTbXga_textarea"
|
|
55178
55179
|
};
|
|
55179
55180
|
//#endregion
|
|
55180
55181
|
//#region src/client/bots/BotForm.tsx
|
|
@@ -55527,12 +55528,12 @@ ${te.current.stack}
|
|
|
55527
55528
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("canvas", { ref: canvasRef }),
|
|
55528
55529
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: "等待扫码确认…" }),
|
|
55529
55530
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", { children: [
|
|
55530
|
-
"
|
|
55531
|
+
"(或用飞书打开:",
|
|
55531
55532
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
55532
55533
|
href: scan.url,
|
|
55533
55534
|
target: "_blank",
|
|
55534
55535
|
rel: "noopener noreferrer",
|
|
55535
|
-
children:
|
|
55536
|
+
children: "点击链接"
|
|
55536
55537
|
}),
|
|
55537
55538
|
")"
|
|
55538
55539
|
] })
|
|
@@ -55554,29 +55555,36 @@ ${te.current.stack}
|
|
|
55554
55555
|
children: "重试"
|
|
55555
55556
|
})
|
|
55556
55557
|
] })
|
|
55557
|
-
] }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
55558
|
-
|
|
55559
|
-
|
|
55560
|
-
|
|
55561
|
-
|
|
55562
|
-
|
|
55563
|
-
|
|
55564
|
-
|
|
55565
|
-
|
|
55566
|
-
|
|
55567
|
-
|
|
55568
|
-
|
|
55569
|
-
|
|
55570
|
-
|
|
55571
|
-
|
|
55572
|
-
|
|
55573
|
-
|
|
55574
|
-
|
|
55575
|
-
|
|
55576
|
-
|
|
55577
|
-
|
|
55578
|
-
|
|
55579
|
-
|
|
55558
|
+
] }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
55559
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
55560
|
+
className: bots_module_css_default.field,
|
|
55561
|
+
children: ["App ID", /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
55562
|
+
value: appId,
|
|
55563
|
+
onChange: (e) => {
|
|
55564
|
+
setAppId(e.target.value);
|
|
55565
|
+
},
|
|
55566
|
+
"aria-label": "App ID",
|
|
55567
|
+
placeholder: "cli_…",
|
|
55568
|
+
className: bots_module_css_default.input
|
|
55569
|
+
})]
|
|
55570
|
+
}),
|
|
55571
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
55572
|
+
className: bots_module_css_default.field,
|
|
55573
|
+
children: ["App Secret", /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
55574
|
+
type: "password",
|
|
55575
|
+
value: appSecret,
|
|
55576
|
+
onChange: (e) => {
|
|
55577
|
+
setAppSecret(e.target.value);
|
|
55578
|
+
},
|
|
55579
|
+
"aria-label": "App Secret",
|
|
55580
|
+
className: bots_module_css_default.input
|
|
55581
|
+
})]
|
|
55582
|
+
}),
|
|
55583
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
55584
|
+
className: bots_module_css_default.hint,
|
|
55585
|
+
children: "需自备应用并开通:机器人能力、im:message、im:message:send_as_bot、cardkit:card:write、contact:user.base:readonly,并订阅 im.message.receive_v1 事件(长连接方式)"
|
|
55586
|
+
})
|
|
55587
|
+
] })]
|
|
55580
55588
|
}),
|
|
55581
55589
|
editing && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", { children: [
|
|
55582
55590
|
"当前应用:",
|