@oxmumu3/dsh-plugin-finder 0.13.0 → 0.13.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/client.js +196 -89
- package/docs/install.md +2 -2
- package/package.json +1 -1
- package/src/experience-style.js +15 -32
- package/src/experience-view.js +123 -38
- package/src/telemetry-config.js +1 -1
- package/src/v8-style.js +21 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# 0.13.1(2026-11-15)
|
|
2
|
+
|
|
3
|
+
- 修复执行态页面双栏挤压与嵌套滚动错位:将 `.pfv_result_grid` 改为单栏纵向排布(`grid-template-columns: minmax(0, 1fr)`),执行对话与结果卡片独占整行可读宽度;右侧原 230px 窄栏改为底部一行紧凑方案条(`.pf8_exec_bar`),详细解法收进 `<details class="pf8_disclosure pf8_exec_details">`,消除长方案把右侧拉到 ~2000px 导致执行框划走消失的问题。
|
|
4
|
+
- 使用 `100dvh`(带 `100vh` 回退)动态约束 `.pf_execution_conversation` 高度并收紧执行页上下留白与 `.pfv_execution_head_band` 重复状态摘要,让收起状态下执行屏可完整落在一屏内流畅阅读。
|
|
5
|
+
- 对齐 `docs/install.md`、`README.md` 与 `0.13.1` 正式发行版本标识。
|
|
6
|
+
|
|
1
7
|
# 0.13.0(2026-11-14)
|
|
2
8
|
|
|
3
9
|
- 围绕 `v9.2` 用户动线重构视觉与前端架构:统一 `--dsw-alias-*` 语义色板(`color-scheme: light dark` 与深浅回退)、零权重 `:where()` 基础重置、`@container finder` / `@container bricks` 自适应栅格与 `.pf_root` 滚动视口拥有权(`height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain`)。
|
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ dsh plugin --profile web add @oxmumu3/dsh-plugin-finder
|
|
|
59
59
|
|
|
60
60
|
## 版本与兼容
|
|
61
61
|
|
|
62
|
-
`@oxmumu3/dsh-plugin-finder@0.13.
|
|
62
|
+
`@oxmumu3/dsh-plugin-finder@0.13.1` 支持官方 Harness `0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2` 和 `0.2.2-rc.3`,插件的 Node 范围为 `^22.19.0 || >=24.0.0`。请使用各官方宿主发行版所配套的 SDK 和 Node。当前兼容范围以[安装说明](docs/install.md)为准。
|
|
63
63
|
|
|
64
64
|
Finder 沿用宿主配置的模型与账户,无需另填模型 Key;理解需求、检索、补齐和执行会使用相应额度。第三方插件可能另有服务、授权与费用。
|
|
65
65
|
|
package/dist/client.js
CHANGED
|
@@ -3745,20 +3745,27 @@ function createExperienceView(React2) {
|
|
|
3745
3745
|
}
|
|
3746
3746
|
if (state.view === "home" && !state.searching) return home();
|
|
3747
3747
|
if (state.view === "find" && state.stage === "describe" && !busy && !state.request && !plan) return home();
|
|
3748
|
+
const executionTitle = execution ? {
|
|
3749
|
+
preparing: "\u6B63\u5728\u51C6\u5907",
|
|
3750
|
+
running: execution.kind === "create" ? "\u6B63\u5728\u521B\u5EFA" : "\u6B63\u5728\u4F7F\u7528\u65B9\u6848",
|
|
3751
|
+
waiting: "\u7B49\u5F85\u7EE7\u7EED",
|
|
3752
|
+
completed: "\u672C\u6B21\u8FD0\u884C\u5DF2\u7ED3\u675F",
|
|
3753
|
+
failed: "\u8FD9\u6B21\u6CA1\u6709\u5B8C\u6210",
|
|
3754
|
+
cancelled: "\u5DF2\u505C\u6B62"
|
|
3755
|
+
}[execution.phase] || "\u5F53\u524D\u72B6\u6001" : "";
|
|
3756
|
+
const rawExecSummary = execution ? text11(execution.summary).trim() : "";
|
|
3757
|
+
const executionSummary = rawExecSummary && rawExecSummary !== executionTitle && !(execution?.phase === "completed" && rawExecSummary === "\u6267\u884C\u5DF2\u7ED3\u675F") ? execution.summary : "";
|
|
3748
3758
|
const executionView = execution ? h(
|
|
3749
3759
|
"section",
|
|
3750
3760
|
{ className: `pfv_execution pfv_execution_${execution.phase}`, role: execution.phase === "failed" ? "alert" : "status", "aria-label": "\u5F53\u524D\u6267\u884C\u72B6\u6001" },
|
|
3751
|
-
h(
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
paragraph(execution.summary),
|
|
3760
|
-
text11(execution.details) ? paragraph(execution.details, { className: "pfv_hint pfv_execution_details" }) : list2(strings2(execution.details)),
|
|
3761
|
-
execution.canContinue ? primary("\u7EE7\u7EED\u6267\u884C", () => controller.continueExecution(), { disabled: busy }) : null,
|
|
3761
|
+
h(
|
|
3762
|
+
"div",
|
|
3763
|
+
{ className: "pfv_execution_head_band" },
|
|
3764
|
+
h("div", { className: "pfv_execution_heading" }, h("h3", null, executionTitle), executionActive ? button2("\u505C\u6B62", () => controller.cancelExecution(), { className: "pfv_button pfv_quiet", "aria-label": "\u505C\u6B62\u5F53\u524D\u6267\u884C" }) : null),
|
|
3765
|
+
paragraph(executionSummary),
|
|
3766
|
+
text11(execution.details) ? paragraph(execution.details, { className: "pfv_hint pfv_execution_details" }) : list2(strings2(execution.details)),
|
|
3767
|
+
execution.canContinue ? primary("\u7EE7\u7EED\u6267\u884C", () => controller.continueExecution(), { disabled: busy }) : null
|
|
3768
|
+
),
|
|
3762
3769
|
sections.executionConversation
|
|
3763
3770
|
) : null;
|
|
3764
3771
|
const clarification = isCreating && question ? planSurface.clarification({
|
|
@@ -4085,6 +4092,45 @@ function createExperienceView(React2) {
|
|
|
4085
4092
|
),
|
|
4086
4093
|
expertSection || followup
|
|
4087
4094
|
);
|
|
4095
|
+
const creationSummaryRows = () => [
|
|
4096
|
+
["\u9996\u7248\u505A\u4EC0\u4E48", blueprint.scope],
|
|
4097
|
+
["\u600E\u6837\u4F7F\u7528", blueprint.workflow],
|
|
4098
|
+
["\u5F97\u5230\u4EC0\u4E48", blueprint.outputs],
|
|
4099
|
+
["\u6570\u636E\u4E0E\u6743\u9650", unique([text11(blueprint.data), text11(blueprint.tools)]).join("\uFF1B")],
|
|
4100
|
+
["\u5B8C\u6210\u6807\u51C6", blueprint.acceptance]
|
|
4101
|
+
].filter(([, value]) => text11(value));
|
|
4102
|
+
const startBlueprintAction = () => ({
|
|
4103
|
+
label: "\u5F00\u59CB\u521B\u5EFA",
|
|
4104
|
+
primary: true,
|
|
4105
|
+
onClick: () => !workspacePending && confirmOrRun({
|
|
4106
|
+
title: "\u5F00\u59CB\u5728\u5DE5\u4F5C\u533A\u521B\u5EFA\u8FD9\u4E2A\u63D2\u4EF6\uFF1F",
|
|
4107
|
+
body: "\u4F1A\u5148\u628A\u5F53\u524D\u65B9\u6848\u5B58\u6210\u8349\u7A3F\u5E76\u4EA4\u7ED9\u6267\u884C\u5BF9\u8BDD\uFF0C\u6309\u4E94\u6B65\u966A\u505A\u8282\u594F\u63A8\u8FDB\u3002",
|
|
4108
|
+
facts: [
|
|
4109
|
+
text11(blueprint?.name) ? { label: "\u63D2\u4EF6\u8349\u7A3F", value: text11(blueprint.name) } : null,
|
|
4110
|
+
text11(blueprint?.purpose) ? { label: "\u76EE\u6807", value: short2(blueprint.purpose, 80) } : null,
|
|
4111
|
+
state.executionWorkspaceLabel ? { label: "\u5DE5\u4F5C\u533A", value: text11(state.executionWorkspaceLabel) } : null
|
|
4112
|
+
].filter(Boolean),
|
|
4113
|
+
showWorkspacePicker: true,
|
|
4114
|
+
confirmLabel: "\u786E\u8BA4\u5F00\u59CB\u521B\u5EFA",
|
|
4115
|
+
cancelLabel: "\u518D\u6539\u6539"
|
|
4116
|
+
}, () => controller.createInWorkspace()),
|
|
4117
|
+
disabled: !canAct || workspacePending || Boolean(question)
|
|
4118
|
+
});
|
|
4119
|
+
const blueprintEditorDisclosure = () => disclosure("\u67E5\u770B\u4E0E\u7F16\u8F91\u8BE6\u7EC6\u65B9\u6848", h(
|
|
4120
|
+
React2.Fragment,
|
|
4121
|
+
null,
|
|
4122
|
+
...blueprintGroups.map((group, index) => h(
|
|
4123
|
+
"section",
|
|
4124
|
+
{ className: "pfv_blueprint_block", key: group.title },
|
|
4125
|
+
h("h3", null, group.title),
|
|
4126
|
+
h("dl", { className: "pfv_blueprint_values" }, ...group.fields.map(([key, label]) => h("div", { key }, h("dt", null, label), h("dd", null, text11(blueprint[key]) || "\u5F85\u8865\u5145")))),
|
|
4127
|
+
disclosure(`\u7F16\u8F91${group.title}`, h("div", { className: "pfv_block_editor" }, ...group.fields.map(([key, label]) => h("label", { key, className: "pfv_field", htmlFor: `pfv_field_${key}` }, label, h("textarea", { id: `pfv_field_${key}`, "aria-label": label, value: text11(blueprint[key]), maxLength: 4e3, disabled: locked, onChange: (event) => controller.editCreation({ blueprint: { [key]: event.target.value } }) })))), { key: `edit-${index}`, className: "pfv_disclosure pfv_edit_block" })
|
|
4128
|
+
)),
|
|
4129
|
+
paragraph(creation.reuseAssessment),
|
|
4130
|
+
list2(records2(creation.candidateDecisions).map((item) => `${records2(state.candidates).find((candidate) => candidate.id === item.pluginId)?.name || item.pluginId}\uFF1A${text11(item.reason)}`)),
|
|
4131
|
+
h("label", { className: "pfv_field", htmlFor: "pfv_assumptions" }, "\u5047\u8BBE\uFF0C\u6BCF\u884C\u4E00\u9879", h("textarea", { id: "pfv_assumptions", value: items7(form?.assumptions || creation.assumptions).filter((item) => typeof item === "string").join("\n"), maxLength: 6e3, disabled: locked, onChange: (event) => controller.editCreation({ assumptions: event.target.value.split("\n") }) })),
|
|
4132
|
+
state.creationDirty ? button2("\u4FDD\u5B58\u8349\u7A3F", () => controller.updateCreation(), { disabled: locked }) : null
|
|
4133
|
+
));
|
|
4088
4134
|
const blueprintView = () => {
|
|
4089
4135
|
if (!creation) return h(
|
|
4090
4136
|
"article",
|
|
@@ -4093,13 +4139,7 @@ function createExperienceView(React2) {
|
|
|
4093
4139
|
h("p", { className: "pf8_why" }, "\u6839\u636E\u8FD9\u6B21\u9700\u6C42\uFF0C\u6574\u7406\u9996\u7248\u8981\u505A\u4EC0\u4E48\u3002"),
|
|
4094
4140
|
!busy ? h("div", { className: "pf8_acts" }, v8Action({ label: "\u521B\u5EFA\u81EA\u5DF1\u7684\u63D2\u4EF6", primary: true, onClick: () => controller.startCreation(), disabled: !modelReady || !state.plan })) : null
|
|
4095
4141
|
);
|
|
4096
|
-
const summaryRows =
|
|
4097
|
-
["\u9996\u7248\u505A\u4EC0\u4E48", blueprint.scope],
|
|
4098
|
-
["\u600E\u6837\u4F7F\u7528", blueprint.workflow],
|
|
4099
|
-
["\u5F97\u5230\u4EC0\u4E48", blueprint.outputs],
|
|
4100
|
-
["\u6570\u636E\u4E0E\u6743\u9650", unique([text11(blueprint.data), text11(blueprint.tools)]).join("\uFF1B")],
|
|
4101
|
-
["\u5B8C\u6210\u6807\u51C6", blueprint.acceptance]
|
|
4102
|
-
].filter(([, value]) => text11(value));
|
|
4142
|
+
const summaryRows = creationSummaryRows();
|
|
4103
4143
|
const capabilities = capabilityMap();
|
|
4104
4144
|
return h(
|
|
4105
4145
|
"article",
|
|
@@ -4123,55 +4163,120 @@ function createExperienceView(React2) {
|
|
|
4123
4163
|
h(
|
|
4124
4164
|
"div",
|
|
4125
4165
|
{ className: "pf8_acts" },
|
|
4126
|
-
v8Action(
|
|
4127
|
-
label: "\u5F00\u59CB\u521B\u5EFA",
|
|
4128
|
-
primary: true,
|
|
4129
|
-
onClick: () => !workspacePending && confirmOrRun({
|
|
4130
|
-
title: "\u5F00\u59CB\u5728\u5DE5\u4F5C\u533A\u521B\u5EFA\u8FD9\u4E2A\u63D2\u4EF6\uFF1F",
|
|
4131
|
-
body: "\u4F1A\u5148\u628A\u5F53\u524D\u65B9\u6848\u5B58\u6210\u8349\u7A3F\u5E76\u4EA4\u7ED9\u6267\u884C\u5BF9\u8BDD\uFF0C\u6309\u4E94\u6B65\u966A\u505A\u8282\u594F\u63A8\u8FDB\u3002",
|
|
4132
|
-
facts: [
|
|
4133
|
-
text11(blueprint?.name) ? { label: "\u63D2\u4EF6\u8349\u7A3F", value: text11(blueprint.name) } : null,
|
|
4134
|
-
text11(blueprint?.purpose) ? { label: "\u76EE\u6807", value: short2(blueprint.purpose, 80) } : null,
|
|
4135
|
-
state.executionWorkspaceLabel ? { label: "\u5DE5\u4F5C\u533A", value: text11(state.executionWorkspaceLabel) } : null
|
|
4136
|
-
].filter(Boolean),
|
|
4137
|
-
showWorkspacePicker: true,
|
|
4138
|
-
confirmLabel: "\u786E\u8BA4\u5F00\u59CB\u521B\u5EFA",
|
|
4139
|
-
cancelLabel: "\u518D\u6539\u6539"
|
|
4140
|
-
}, () => controller.createInWorkspace()),
|
|
4141
|
-
disabled: !canAct || workspacePending || Boolean(question)
|
|
4142
|
-
}),
|
|
4166
|
+
v8Action(startBlueprintAction()),
|
|
4143
4167
|
v8Action({ label: "\u56DE\u770B\u65B9\u6848", onClick: () => controller.showFind(), disabled: locked })
|
|
4144
4168
|
),
|
|
4145
4169
|
h("p", { className: "pf8_next" }, "\u4F1A\u5148\u5728\u53D1\u73B0\u597D\u63D2\u4EF6\u91CC\u5B58\u4E00\u4EFD\u8349\u7A3F\uFF0C\u518D\u4ECE\u7B2C\u4E00\u6B65\u5F00\u59CB\uFF1B\u968F\u65F6\u53EF\u4EE5\u56DE\u6765\u6539\u3002")
|
|
4146
4170
|
) : null,
|
|
4147
4171
|
state.creationDirty ? h("p", { className: "pf8_fine", role: "status" }, "\u4FEE\u6539\u5DF2\u4FDD\u7559\uFF0C\u5F00\u59CB\u521B\u5EFA\u65F6\u4F1A\u4E00\u5E76\u4F7F\u7528\u3002") : null,
|
|
4148
|
-
|
|
4172
|
+
blueprintEditorDisclosure()
|
|
4173
|
+
);
|
|
4174
|
+
};
|
|
4175
|
+
const execActionBtn = (action) => h("button", {
|
|
4176
|
+
key: action.label,
|
|
4177
|
+
type: "button",
|
|
4178
|
+
className: action.primary ? "pf8_btn pf8_ink pfv_primary" : "pf8_btn",
|
|
4179
|
+
disabled: Boolean(action.disabled),
|
|
4180
|
+
onClick: action.onClick
|
|
4181
|
+
}, action.label);
|
|
4182
|
+
const execBar = ({ kicker, title, chips = [], actions = [] }) => h(
|
|
4183
|
+
"div",
|
|
4184
|
+
{ className: "pf8_exec_bar" },
|
|
4185
|
+
h(
|
|
4186
|
+
"div",
|
|
4187
|
+
{ className: "pf8_exec_plan_main" },
|
|
4188
|
+
h("span", { className: "pf8_exec_kicker" }, kicker),
|
|
4189
|
+
h("strong", { className: "pf8_exec_title" }, title),
|
|
4190
|
+
chips.length ? h("span", { className: "pf8_exec_chips" }, ...chips.map((block, index) => h("span", { key: `${block.kind}-${index}`, className: `pf8_exec_chip ${block.kind}` }, h("code", null, text11(block.name))))) : null
|
|
4191
|
+
),
|
|
4192
|
+
actions.length ? h("div", { className: "pf8_exec_acts" }, ...actions.map(execActionBtn)) : null
|
|
4193
|
+
);
|
|
4194
|
+
const execDetailsFold = (content) => content ? h(
|
|
4195
|
+
"details",
|
|
4196
|
+
{ className: "pf8_disclosure pf8_exec_details" },
|
|
4197
|
+
h("summary", { className: "pf8_lk" }, "\u67E5\u770B\u672C\u6B21\u65B9\u6848\u8BE6\u60C5"),
|
|
4198
|
+
h("div", { className: "pf8_disclosure_body" }, content)
|
|
4199
|
+
) : null;
|
|
4200
|
+
const completedCreationAction = execution?.phase === "completed" && execution.kind === "use" ? { label: "\u521B\u5EFA\u81EA\u5DF1\u7684\u63D2\u4EF6", onClick: () => controller.startCreation(), disabled: locked || !modelReady } : null;
|
|
4201
|
+
const executionOverview = () => {
|
|
4202
|
+
if (isCreating) {
|
|
4203
|
+
if (!creation) {
|
|
4204
|
+
return execBar({
|
|
4205
|
+
kicker: "\u63D2\u4EF6\u65B9\u6848",
|
|
4206
|
+
title: busy ? "\u6B63\u5728\u6574\u7406\u63D2\u4EF6\u65B9\u6848" : "\u521B\u5EFA\u81EA\u5DF1\u7684\u63D2\u4EF6",
|
|
4207
|
+
actions: !busy ? [{ label: "\u521B\u5EFA\u81EA\u5DF1\u7684\u63D2\u4EF6", primary: true, onClick: () => controller.startCreation(), disabled: !modelReady || !state.plan }] : []
|
|
4208
|
+
});
|
|
4209
|
+
}
|
|
4210
|
+
const summaryRows = creationSummaryRows();
|
|
4211
|
+
const capabilities = capabilityMap();
|
|
4212
|
+
const actions = showActions ? [startBlueprintAction(), { label: "\u56DE\u770B\u65B9\u6848", onClick: () => controller.showFind(), disabled: locked }] : [];
|
|
4213
|
+
return h(
|
|
4149
4214
|
React2.Fragment,
|
|
4150
4215
|
null,
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4216
|
+
execBar({ kicker: "\u63D2\u4EF6\u65B9\u6848", title: text11(blueprint.name) || "\u6211\u7684\u63D2\u4EF6", actions }),
|
|
4217
|
+
clarification,
|
|
4218
|
+
showActions && (workspacePicker || workspaceStatus) ? h("div", { className: "pf8_exec_recovery" }, workspacePicker, workspaceStatus) : null,
|
|
4219
|
+
state.creationDirty ? h("p", { className: "pf8_fine", role: "status" }, "\u4FEE\u6539\u5DF2\u4FDD\u7559\uFF0C\u5F00\u59CB\u521B\u5EFA\u65F6\u4F1A\u4E00\u5E76\u4F7F\u7528\u3002") : null,
|
|
4220
|
+
execDetailsFold(h(
|
|
4221
|
+
React2.Fragment,
|
|
4222
|
+
null,
|
|
4223
|
+
text11(blueprint.purpose) ? h("p", { className: "pf8_why" }, short2(blueprint.purpose, 260)) : null,
|
|
4224
|
+
summaryRows.length ? h("dl", { className: "pfv_creation_summary" }, ...summaryRows.map(([label, value]) => h("div", { key: label }, h("dt", null, label), h("dd", null, short2(value, 200))))) : null,
|
|
4225
|
+
capabilities,
|
|
4226
|
+
blueprintEditorDisclosure()
|
|
4227
|
+
))
|
|
4228
|
+
);
|
|
4229
|
+
}
|
|
4230
|
+
if (uncertainGap) {
|
|
4231
|
+
const actions = showActions ? [retryAction(), plan ? { label: "\u521B\u5EFA\u81EA\u5DF1\u7684\u63D2\u4EF6", onClick: () => controller.startCreation(), disabled: !canAct } : null].filter(Boolean) : completedCreationAction ? [completedCreationAction] : [];
|
|
4232
|
+
return h(
|
|
4233
|
+
React2.Fragment,
|
|
4234
|
+
null,
|
|
4235
|
+
execBar({ kicker: "\u6765\u6E90\u5F85\u6838\u5BF9", title: "\u8FD9\u6B21\u6CA1\u67E5\u5B8C\uFF0C\u5148\u4E0D\u7ED9\u4F60\u7ED3\u8BBA", actions }),
|
|
4236
|
+
execDetailsFold(h(
|
|
4237
|
+
React2.Fragment,
|
|
4238
|
+
null,
|
|
4239
|
+
h("p", { className: "pf8_why" }, text11(health?.message) || "\u90E8\u5206\u6765\u6E90\u6CA1\u6709\u8BFB\u56DE\u6765\uFF0C\u53EA\u51ED\u5DF2\u7ECF\u8BFB\u5230\u7684\u5185\u5BB9\u4E0B\u7ED3\u8BBA\uFF0C\u5BB9\u6613\u8BA9\u4F60\u88C5\u9519\u3002"),
|
|
4240
|
+
plan ? planSurface.solution({ request, understanding: "", plan, candidates: outcome.candidates, discovery, searchedAt, actions: [], note: "", showSignature: false, compact: true, embedded: true }) : null
|
|
4241
|
+
))
|
|
4242
|
+
);
|
|
4243
|
+
}
|
|
4244
|
+
if (plan) {
|
|
4245
|
+
const execBlocks = planSurface.planBlocks({ plan, candidates: outcome.candidates, request });
|
|
4246
|
+
const secondary = !needsCreation || uncertainGap ? { label: "\u521B\u5EFA\u81EA\u5DF1\u7684\u63D2\u4EF6", onClick: () => controller.startCreation(), disabled: !canAct } : null;
|
|
4247
|
+
const execActions = showActions ? [primaryAction(), secondary].filter(Boolean) : completedCreationAction ? [completedCreationAction] : [];
|
|
4248
|
+
return h(
|
|
4249
|
+
React2.Fragment,
|
|
4250
|
+
null,
|
|
4251
|
+
execBar({ kicker: "\u672C\u6B21\u65B9\u6848", title: text11(plan.title) || "\u5F53\u524D\u65B9\u6848", chips: execBlocks, actions: execActions }),
|
|
4252
|
+
showActions && (workspacePicker || workspaceStatus) ? h("div", { className: "pf8_exec_recovery" }, workspacePicker, workspaceStatus) : null,
|
|
4253
|
+
execDetailsFold(planSurface.solution({
|
|
4254
|
+
request,
|
|
4255
|
+
understanding: "",
|
|
4256
|
+
plan,
|
|
4257
|
+
candidates: outcome.candidates,
|
|
4258
|
+
discovery,
|
|
4259
|
+
searchedAt,
|
|
4260
|
+
actions: [],
|
|
4261
|
+
note: "",
|
|
4262
|
+
showSignature: true,
|
|
4263
|
+
compact: true,
|
|
4264
|
+
embedded: true
|
|
4265
|
+
}))
|
|
4266
|
+
);
|
|
4267
|
+
}
|
|
4268
|
+
const fallbackActions = !showFindCard && showActions && (state.intent || request) ? [retryAction()] : [];
|
|
4269
|
+
return execBar({
|
|
4270
|
+
kicker: "\u672C\u6B21\u65B9\u6848",
|
|
4271
|
+
title: showFindCard ? "\u6B63\u5728\u66FF\u4F60\u627E" : "\u7EE7\u7EED\u67E5\u627E\u65B9\u6848",
|
|
4272
|
+
actions: fallbackActions
|
|
4273
|
+
});
|
|
4164
4274
|
};
|
|
4165
|
-
const completedCreation = execution?.phase === "completed" && execution.kind === "use" ? h("div", { className: "pf8_acts" }, v8Action({ label: "\u521B\u5EFA\u81EA\u5DF1\u7684\u63D2\u4EF6", onClick: () => controller.startCreation(), disabled: locked || !modelReady })) : null;
|
|
4166
4275
|
const body = startingNew ? searchingCard() : execution ? h(
|
|
4167
4276
|
"div",
|
|
4168
4277
|
{ className: "pfv_result_grid" },
|
|
4169
4278
|
h("div", { className: "pfv_result_primary" }, executionView),
|
|
4170
|
-
h(
|
|
4171
|
-
"aside",
|
|
4172
|
-
{ className: "pfv_solution_overview", "aria-label": "\u672C\u6B21\u80FD\u529B\u65B9\u6848" },
|
|
4173
|
-
isCreating ? blueprintView() : h(React2.Fragment, null, planCardArea(), completedCreation)
|
|
4174
|
-
)
|
|
4279
|
+
h("aside", { className: "pfv_solution_overview", "aria-label": "\u672C\u6B21\u80FD\u529B\u65B9\u6848" }, executionOverview())
|
|
4175
4280
|
) : isCreating ? blueprintView() : h("section", { className: "pf8_planwrap", "aria-label": "\u5F53\u524D\u65B9\u6848" }, expertPlanCard, planCardArea());
|
|
4176
4281
|
return h(
|
|
4177
4282
|
"div",
|
|
@@ -4729,12 +4834,18 @@ var v8Css = `
|
|
|
4729
4834
|
.pf_v8 .pf8_drafts .pf8_btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 18px; color: var(--ink); background: transparent; font-size: 13.5px; }
|
|
4730
4835
|
.pf_v8 .pf8_drafts .pf8_lk { padding: 0; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; color: var(--ink2); background: none; font-size: 13px; }
|
|
4731
4836
|
.pf_root.pf_v2 .pf_footer { max-width: 1080px; margin: 0 auto; padding: 0 40px 56px; border-top: 0; }
|
|
4837
|
+
.pf_root.pf_v2:has(.pf8_narrow) .pf_footer { max-width: 860px; }
|
|
4838
|
+
.pf_root.pf_v2:has(.pf8_shopw) .pf_footer, .pf_root.pf_v2:has(.pf8_histwrap) .pf_footer { max-width: 920px; }
|
|
4732
4839
|
.pf_root.pf_v2 .pf_footer .pf_details { border-top: 0; }
|
|
4733
|
-
.pf_root.pf_v2 .pf_footer .pf_details > summary { font-size: 13px; color: var(--ink3); }
|
|
4734
|
-
.pf_root.pf_v2 .pf_footer .pf_details > summary { list-style: none; cursor: pointer; }
|
|
4840
|
+
.pf_root.pf_v2 .pf_footer .pf_details > summary { min-height: 26px; padding-block: 2px; font-size: 13px; color: var(--ink3); list-style: none; cursor: pointer; }
|
|
4735
4841
|
.pf_root.pf_v2 .pf_footer .pf_details > summary::-webkit-details-marker { display: none; }
|
|
4736
4842
|
.pf_root.pf_v2 .pf_footer .pf_details > summary::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 7px; vertical-align: 1px; border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
|
|
4737
4843
|
.pf_root.pf_v2 .pf_footer .pf_details[open] > summary::before { vertical-align: 0; border-left: 0; border-top: 5px solid currentColor; border-right: 4px solid transparent; border-bottom: 0; border-left: 4px solid transparent; }
|
|
4844
|
+
.pf_root.pf_v2:has(.pfv_result_grid) > .pf_inner { padding-top: 10px; }
|
|
4845
|
+
.pf_v8.pf8_findpage:has(.pfv_result_grid) .pf8_wrap { padding-top: 12px; padding-bottom: 14px; }
|
|
4846
|
+
.pf_v8.pf8_findpage:has(.pfv_result_grid) .pf8_top { margin-bottom: 16px; }
|
|
4847
|
+
.pf_v8.pf8_findpage:has(.pfv_result_grid) .pf8_folds { margin-top: 12px; }
|
|
4848
|
+
.pf_root.pf_v2:has(.pfv_result_grid) .pf_footer { margin-top: 8px; padding-bottom: 18px; }
|
|
4738
4849
|
.pf_v8.pf8_flowback { width: calc(100% - 80px); max-width: 840px; margin: 0 auto 12px; }
|
|
4739
4850
|
@container finder (max-width: 700px) { .pf_v8.pf8_flowback { width: calc(100% - 32px); } }
|
|
4740
4851
|
@container finder (max-width: 700px) { .pf_v8 .pf8_oppcard { max-width: none; } }
|
|
@@ -4983,6 +5094,19 @@ var v8Css = `
|
|
|
4983
5094
|
.pf_modal_ws { margin-top: 14px; display: grid; gap: 6px; font-size: 13px; color: var(--ink2); }
|
|
4984
5095
|
.pf_modal_ws select { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
|
|
4985
5096
|
.pf_modal_acts { margin-top: 20px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
|
|
5097
|
+
.pf_v8 .pf8_exec_bar { display: flex; align-items: safe center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; min-inline-size: 0; }
|
|
5098
|
+
.pf_v8 .pf8_exec_plan_main { display: flex; align-items: baseline; gap: 8px 10px; flex-wrap: wrap; flex: 1 1 260px; min-inline-size: 0; }
|
|
5099
|
+
.pf_v8 .pf8_exec_kicker { font-size: 12px; color: var(--ink3); white-space: nowrap; }
|
|
5100
|
+
.pf_v8 .pf8_exec_title { font: 500 15px/1.45 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
|
|
5101
|
+
.pf_v8 .pf8_exec_chips { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-inline-size: 0; }
|
|
5102
|
+
.pf_v8 .pf8_exec_chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; background: var(--subtle); color: var(--ink2); max-inline-size: 100%; }
|
|
5103
|
+
.pf_v8 .pf8_exec_chip.have { background: color-mix(in srgb, var(--have) 11%, transparent); color: color-mix(in srgb, var(--have) 88%, var(--ink)); }
|
|
5104
|
+
.pf_v8 .pf8_exec_chip.build { background: color-mix(in srgb, var(--build) 12%, transparent); color: color-mix(in srgb, var(--build) 80%, var(--ink)); }
|
|
5105
|
+
.pf_v8 .pf8_exec_chip code { font: 500 11.5px/1 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-inline-size: 220px; }
|
|
5106
|
+
.pf_v8 .pf8_exec_acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
|
|
5107
|
+
.pf_v8 .pf8_exec_recovery { margin-top: 10px; display: grid; gap: 8px; }
|
|
5108
|
+
.pf_v8 .pf8_exec_details { margin-top: 8px; }
|
|
5109
|
+
.pf_v8 .pf8_exec_details > summary { min-height: 24px; padding-block: 2px; line-height: 1.5; }
|
|
4986
5110
|
|
|
4987
5111
|
`;
|
|
4988
5112
|
|
|
@@ -5533,41 +5657,24 @@ var experienceV3Css = `
|
|
|
5533
5657
|
.pfv_capability_gap { border-style: dashed; border-color: color-mix(in srgb, var(--pfv_accent) 45%, var(--pfv_line)); background: var(--pfv_tint); }
|
|
5534
5658
|
.pfv_capability_gap .pfv_capability_kind { color: var(--pfv_accent); }
|
|
5535
5659
|
|
|
5536
|
-
/* Runtime output owns the
|
|
5660
|
+
/* Runtime output owns the full width; the saved plan sits below as a compact expandable bar. */
|
|
5537
5661
|
.pfv_outcome_document.pfv_outcome_live { padding: 0; border: 0; box-shadow: none; background: transparent; }
|
|
5538
|
-
.pfv_result_grid { display: grid; grid-template-columns: minmax(0, 1fr)
|
|
5539
|
-
.pfv_result_primary { min-
|
|
5540
|
-
.pfv_result_primary .pfv_execution { margin: 0; padding: 20px; background: var(--pfv_paper); border: 1px solid var(--pfv_line); border-radius:
|
|
5541
|
-
.pfv_result_primary .
|
|
5542
|
-
.pfv_result_primary .pfv_execution_heading
|
|
5543
|
-
.pfv_result_primary .
|
|
5544
|
-
.pfv_result_primary .
|
|
5545
|
-
.
|
|
5546
|
-
.
|
|
5547
|
-
.
|
|
5548
|
-
.pfv_solution_overview
|
|
5549
|
-
.pfv_solution_overview .pfv_capabilities_heading .pfv_hint { display: none; }
|
|
5550
|
-
.pfv_solution_overview .pfv_capability_map { grid-template-columns: minmax(0, 1fr); gap: 0; border-block: 1px solid var(--pfv_line); }
|
|
5551
|
-
.pfv_solution_overview .pfv_capability_item { padding: 14px 0; border: 0; border-bottom: 1px solid var(--pfv_line); border-radius: 0; background: transparent; }
|
|
5552
|
-
.pfv_solution_overview .pfv_capability_item:last-child { border-bottom: 0; }
|
|
5553
|
-
.pfv_solution_overview .pfv_capability_gap { padding-left: 12px; border-left: 2px solid var(--pfv_accent); }
|
|
5554
|
-
.pfv_solution_overview .pfv_capability_kind { margin-bottom: 4px; }
|
|
5555
|
-
.pfv_solution_overview .pfv_capability_item strong { font-size: 14px; }
|
|
5556
|
-
.pfv_solution_overview .pfv_outcome_actions { gap: 6px; margin-top: 16px; }
|
|
5557
|
-
.pfv_solution_overview .pfv_outcome_actions .pfv_button { font-size: 13px; min-width: 0; }
|
|
5558
|
-
.pfv_solution_overview .pfv_prerequisites { padding: 0; border-radius: 0; background: transparent; }
|
|
5559
|
-
.pfv_solution_overview .pfv_prerequisites .pfv_list { font-size: 12px; color: var(--pfv_muted); }
|
|
5560
|
-
@container finder (max-width: 900px) {
|
|
5561
|
-
.pfv_result_grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
|
|
5562
|
-
.pfv_solution_overview { border-top: 1px solid var(--pfv_line); padding-top: 20px; }
|
|
5563
|
-
.pfv_solution_overview .pfv_capability_map { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 10px; border: 0; }
|
|
5564
|
-
.pfv_solution_overview .pfv_capability_item { padding: 14px; border: 1px solid var(--pfv_line); border-radius: 10px; background: var(--pfv_paper); }
|
|
5565
|
-
.pfv_solution_overview .pfv_capability_gap { border-style: dashed; border-color: var(--pfv_accent); }
|
|
5566
|
-
}
|
|
5662
|
+
.pfv_result_grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
|
|
5663
|
+
.pfv_result_primary { min-inline-size: 0; }
|
|
5664
|
+
.pfv_result_primary .pfv_execution { margin: 0; padding: 18px 22px 20px; background: var(--card, var(--pfv_paper)); border: 1px solid var(--line2, var(--pfv_line)); border-radius: 22px; box-shadow: none; }
|
|
5665
|
+
.pfv_result_primary .pfv_execution_head_band { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line, var(--pfv_line)); }
|
|
5666
|
+
.pfv_result_primary .pfv_execution_heading { display: flex; align-items: safe center; justify-content: space-between; gap: 12px; padding-bottom: 0; border-bottom: 0; }
|
|
5667
|
+
.pfv_result_primary .pfv_execution_heading h3 { font: 600 15.5px/1.4 var(--sans, inherit); color: var(--ink, var(--pfv_ink)); }
|
|
5668
|
+
.pfv_result_primary .pfv_execution_head_band > .pfv_prose { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink3, var(--pfv_muted)); }
|
|
5669
|
+
.pfv_result_primary .pfv_execution_details { margin-top: 2px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
5670
|
+
.pfv_result_primary .pf_execution_conversation { min-inline-size: 0; margin-top: 12px; min-height: 320px !important; height: clamp(340px, calc(100vh - 380px), 680px) !important; height: clamp(340px, calc(100dvh - 380px), 680px) !important; }
|
|
5671
|
+
.pfv_result_primary .pf_execution_file_preview { min-inline-size: 0; }
|
|
5672
|
+
.pfv_solution_overview { min-inline-size: 0; padding: 14px 20px; border: 1px solid var(--line, var(--pfv_line)); border-radius: 18px; background: var(--card, var(--pfv_paper)); }
|
|
5567
5673
|
@container finder (max-width: 520px) {
|
|
5568
5674
|
.pfv_capability_map_hybrid { grid-template-columns: minmax(0, 1fr); }
|
|
5569
|
-
.pfv_result_primary .pfv_execution { padding: 16px; }
|
|
5570
|
-
.pfv_result_primary .pf_execution_conversation { min-height: 300px !important; height:
|
|
5675
|
+
.pfv_result_primary .pfv_execution { padding: 14px 16px 16px; border-radius: 18px; }
|
|
5676
|
+
.pfv_result_primary .pf_execution_conversation { min-height: 280px !important; height: clamp(300px, calc(100vh - 340px), 560px) !important; height: clamp(300px, calc(100dvh - 340px), 560px) !important; }
|
|
5677
|
+
.pfv_solution_overview { padding: 12px 16px; border-radius: 16px; }
|
|
5571
5678
|
.pf_v2 .pfv_expert_identity h1 { font-size: 25px; }
|
|
5572
5679
|
}
|
|
5573
5680
|
|
package/docs/install.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 安装、首次使用与卸载
|
|
2
2
|
|
|
3
|
-
本说明对应 `@oxmumu3/dsh-plugin-finder@0.
|
|
3
|
+
本说明对应 `@oxmumu3/dsh-plugin-finder@0.13.1`。在 npm 和 GitHub Releases 可查询本版的发行状态。
|
|
4
4
|
|
|
5
5
|
正式下载附件及 SHA-256 见 [GitHub Releases](https://github.com/oxmumu3/dsh-plugin-finder/releases)。
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
在正在使用的官方 Harness 原生「插件 → 添加插件」中填入:
|
|
21
21
|
|
|
22
22
|
```text
|
|
23
|
-
@oxmumu3/dsh-plugin-finder@0.
|
|
23
|
+
@oxmumu3/dsh-plugin-finder@0.13.1
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
这是本版的精确 npm 安装身份。若注册表尚未返回该版本,请查看正式 Release 并保留当前安装。通过本地 TGZ 安装时,应核对发行哈希;绝对路径必须位于目标宿主机器,不能使用另一台机器的路径。
|
package/package.json
CHANGED
package/src/experience-style.js
CHANGED
|
@@ -548,41 +548,24 @@ const experienceV3Css = `
|
|
|
548
548
|
.pfv_capability_gap { border-style: dashed; border-color: color-mix(in srgb, var(--pfv_accent) 45%, var(--pfv_line)); background: var(--pfv_tint); }
|
|
549
549
|
.pfv_capability_gap .pfv_capability_kind { color: var(--pfv_accent); }
|
|
550
550
|
|
|
551
|
-
/* Runtime output owns the
|
|
551
|
+
/* Runtime output owns the full width; the saved plan sits below as a compact expandable bar. */
|
|
552
552
|
.pfv_outcome_document.pfv_outcome_live { padding: 0; border: 0; box-shadow: none; background: transparent; }
|
|
553
|
-
.pfv_result_grid { display: grid; grid-template-columns: minmax(0, 1fr)
|
|
554
|
-
.pfv_result_primary { min-
|
|
555
|
-
.pfv_result_primary .pfv_execution { margin: 0; padding: 20px; background: var(--pfv_paper); border: 1px solid var(--pfv_line); border-radius:
|
|
556
|
-
.pfv_result_primary .
|
|
557
|
-
.pfv_result_primary .pfv_execution_heading
|
|
558
|
-
.pfv_result_primary .
|
|
559
|
-
.pfv_result_primary .
|
|
560
|
-
.
|
|
561
|
-
.
|
|
562
|
-
.
|
|
563
|
-
.pfv_solution_overview
|
|
564
|
-
.pfv_solution_overview .pfv_capabilities_heading .pfv_hint { display: none; }
|
|
565
|
-
.pfv_solution_overview .pfv_capability_map { grid-template-columns: minmax(0, 1fr); gap: 0; border-block: 1px solid var(--pfv_line); }
|
|
566
|
-
.pfv_solution_overview .pfv_capability_item { padding: 14px 0; border: 0; border-bottom: 1px solid var(--pfv_line); border-radius: 0; background: transparent; }
|
|
567
|
-
.pfv_solution_overview .pfv_capability_item:last-child { border-bottom: 0; }
|
|
568
|
-
.pfv_solution_overview .pfv_capability_gap { padding-left: 12px; border-left: 2px solid var(--pfv_accent); }
|
|
569
|
-
.pfv_solution_overview .pfv_capability_kind { margin-bottom: 4px; }
|
|
570
|
-
.pfv_solution_overview .pfv_capability_item strong { font-size: 14px; }
|
|
571
|
-
.pfv_solution_overview .pfv_outcome_actions { gap: 6px; margin-top: 16px; }
|
|
572
|
-
.pfv_solution_overview .pfv_outcome_actions .pfv_button { font-size: 13px; min-width: 0; }
|
|
573
|
-
.pfv_solution_overview .pfv_prerequisites { padding: 0; border-radius: 0; background: transparent; }
|
|
574
|
-
.pfv_solution_overview .pfv_prerequisites .pfv_list { font-size: 12px; color: var(--pfv_muted); }
|
|
575
|
-
@container finder (max-width: 900px) {
|
|
576
|
-
.pfv_result_grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
|
|
577
|
-
.pfv_solution_overview { border-top: 1px solid var(--pfv_line); padding-top: 20px; }
|
|
578
|
-
.pfv_solution_overview .pfv_capability_map { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 10px; border: 0; }
|
|
579
|
-
.pfv_solution_overview .pfv_capability_item { padding: 14px; border: 1px solid var(--pfv_line); border-radius: 10px; background: var(--pfv_paper); }
|
|
580
|
-
.pfv_solution_overview .pfv_capability_gap { border-style: dashed; border-color: var(--pfv_accent); }
|
|
581
|
-
}
|
|
553
|
+
.pfv_result_grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
|
|
554
|
+
.pfv_result_primary { min-inline-size: 0; }
|
|
555
|
+
.pfv_result_primary .pfv_execution { margin: 0; padding: 18px 22px 20px; background: var(--card, var(--pfv_paper)); border: 1px solid var(--line2, var(--pfv_line)); border-radius: 22px; box-shadow: none; }
|
|
556
|
+
.pfv_result_primary .pfv_execution_head_band { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line, var(--pfv_line)); }
|
|
557
|
+
.pfv_result_primary .pfv_execution_heading { display: flex; align-items: safe center; justify-content: space-between; gap: 12px; padding-bottom: 0; border-bottom: 0; }
|
|
558
|
+
.pfv_result_primary .pfv_execution_heading h3 { font: 600 15.5px/1.4 var(--sans, inherit); color: var(--ink, var(--pfv_ink)); }
|
|
559
|
+
.pfv_result_primary .pfv_execution_head_band > .pfv_prose { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink3, var(--pfv_muted)); }
|
|
560
|
+
.pfv_result_primary .pfv_execution_details { margin-top: 2px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
561
|
+
.pfv_result_primary .pf_execution_conversation { min-inline-size: 0; margin-top: 12px; min-height: 320px !important; height: clamp(340px, calc(100vh - 380px), 680px) !important; height: clamp(340px, calc(100dvh - 380px), 680px) !important; }
|
|
562
|
+
.pfv_result_primary .pf_execution_file_preview { min-inline-size: 0; }
|
|
563
|
+
.pfv_solution_overview { min-inline-size: 0; padding: 14px 20px; border: 1px solid var(--line, var(--pfv_line)); border-radius: 18px; background: var(--card, var(--pfv_paper)); }
|
|
582
564
|
@container finder (max-width: 520px) {
|
|
583
565
|
.pfv_capability_map_hybrid { grid-template-columns: minmax(0, 1fr); }
|
|
584
|
-
.pfv_result_primary .pfv_execution { padding: 16px; }
|
|
585
|
-
.pfv_result_primary .pf_execution_conversation { min-height: 300px !important; height:
|
|
566
|
+
.pfv_result_primary .pfv_execution { padding: 14px 16px 16px; border-radius: 18px; }
|
|
567
|
+
.pfv_result_primary .pf_execution_conversation { min-height: 280px !important; height: clamp(300px, calc(100vh - 340px), 560px) !important; height: clamp(300px, calc(100dvh - 340px), 560px) !important; }
|
|
568
|
+
.pfv_solution_overview { padding: 12px 16px; border-radius: 16px; }
|
|
586
569
|
.pf_v2 .pfv_expert_identity h1 { font-size: 25px; }
|
|
587
570
|
}
|
|
588
571
|
|
package/src/experience-view.js
CHANGED
|
@@ -202,14 +202,20 @@ export function createExperienceView(React) {
|
|
|
202
202
|
if (state.view === 'home' && !state.searching) return home();
|
|
203
203
|
if (state.view === 'find' && state.stage === 'describe' && !busy && !state.request && !plan) return home();
|
|
204
204
|
|
|
205
|
+
const executionTitle = execution ? ({
|
|
206
|
+
preparing: '正在准备', running: execution.kind === 'create' ? '正在创建' : '正在使用方案', waiting: '等待继续',
|
|
207
|
+
completed: '本次运行已结束', failed: '这次没有完成', cancelled: '已停止',
|
|
208
|
+
}[execution.phase] || '当前状态') : '';
|
|
209
|
+
const rawExecSummary = execution ? text(execution.summary).trim() : '';
|
|
210
|
+
const executionSummary = rawExecSummary && rawExecSummary !== executionTitle && !(execution?.phase === 'completed' && rawExecSummary === '执行已结束')
|
|
211
|
+
? execution.summary
|
|
212
|
+
: '';
|
|
205
213
|
const executionView = execution ? h('section', { className: `pfv_execution pfv_execution_${execution.phase}`, role: execution.phase === 'failed' ? 'alert' : 'status', 'aria-label': '当前执行状态' },
|
|
206
|
-
h('div', { className: '
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
text(execution.details) ? paragraph(execution.details, { className: 'pfv_hint pfv_execution_details' }) : list(strings(execution.details)),
|
|
212
|
-
execution.canContinue ? primary('继续执行', () => controller.continueExecution(), { disabled: busy }) : null,
|
|
214
|
+
h('div', { className: 'pfv_execution_head_band' },
|
|
215
|
+
h('div', { className: 'pfv_execution_heading' }, h('h3', null, executionTitle), executionActive ? button('停止', () => controller.cancelExecution(), { className: 'pfv_button pfv_quiet', 'aria-label': '停止当前执行' }) : null),
|
|
216
|
+
paragraph(executionSummary),
|
|
217
|
+
text(execution.details) ? paragraph(execution.details, { className: 'pfv_hint pfv_execution_details' }) : list(strings(execution.details)),
|
|
218
|
+
execution.canContinue ? primary('继续执行', () => controller.continueExecution(), { disabled: busy }) : null),
|
|
213
219
|
sections.executionConversation) : null;
|
|
214
220
|
|
|
215
221
|
const clarification = isCreating && question ? planSurface.clarification({
|
|
@@ -446,15 +452,42 @@ export function createExperienceView(React) {
|
|
|
446
452
|
h('span', { className: 'pf8_fine' }, expertMode ? '我看得到你的工作区和已经装的插件' : '接着说,这份方案会跟着改')),
|
|
447
453
|
expertSection || followup);
|
|
448
454
|
|
|
455
|
+
const creationSummaryRows = () => [
|
|
456
|
+
['首版做什么', blueprint.scope], ['怎样使用', blueprint.workflow], ['得到什么', blueprint.outputs],
|
|
457
|
+
['数据与权限', unique([text(blueprint.data), text(blueprint.tools)]).join(';')], ['完成标准', blueprint.acceptance],
|
|
458
|
+
].filter(([, value]) => text(value));
|
|
459
|
+
|
|
460
|
+
const startBlueprintAction = () => ({
|
|
461
|
+
label: '开始创建', primary: true,
|
|
462
|
+
onClick: () => !workspacePending && confirmOrRun({
|
|
463
|
+
title: '开始在工作区创建这个插件?',
|
|
464
|
+
body: '会先把当前方案存成草稿并交给执行对话,按五步陪做节奏推进。',
|
|
465
|
+
facts: [
|
|
466
|
+
text(blueprint?.name) ? { label: '插件草稿', value: text(blueprint.name) } : null,
|
|
467
|
+
text(blueprint?.purpose) ? { label: '目标', value: short(blueprint.purpose, 80) } : null,
|
|
468
|
+
state.executionWorkspaceLabel ? { label: '工作区', value: text(state.executionWorkspaceLabel) } : null,
|
|
469
|
+
].filter(Boolean),
|
|
470
|
+
showWorkspacePicker: true,
|
|
471
|
+
confirmLabel: '确认开始创建',
|
|
472
|
+
cancelLabel: '再改改',
|
|
473
|
+
}, () => controller.createInWorkspace()),
|
|
474
|
+
disabled: !canAct || workspacePending || Boolean(question),
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
const blueprintEditorDisclosure = () => disclosure('查看与编辑详细方案', h(React.Fragment, null,
|
|
478
|
+
...blueprintGroups.map((group, index) => h('section', { className: 'pfv_blueprint_block', key: group.title },
|
|
479
|
+
h('h3', null, group.title), h('dl', { className: 'pfv_blueprint_values' }, ...group.fields.map(([key, label]) => h('div', { key }, h('dt', null, label), h('dd', null, text(blueprint[key]) || '待补充')))),
|
|
480
|
+
disclosure(`编辑${group.title}`, h('div', { className: 'pfv_block_editor' }, ...group.fields.map(([key, label]) => h('label', { key, className: 'pfv_field', htmlFor: `pfv_field_${key}` }, label, h('textarea', { id: `pfv_field_${key}`, 'aria-label': label, value: text(blueprint[key]), maxLength: 4000, disabled: locked, onChange: event => controller.editCreation({ blueprint: { [key]: event.target.value } }) })))), { key: `edit-${index}`, className: 'pfv_disclosure pfv_edit_block' }))),
|
|
481
|
+
paragraph(creation.reuseAssessment), list(records(creation.candidateDecisions).map(item => `${records(state.candidates).find(candidate => candidate.id === item.pluginId)?.name || item.pluginId}:${text(item.reason)}`)),
|
|
482
|
+
h('label', { className: 'pfv_field', htmlFor: 'pfv_assumptions' }, '假设,每行一项', h('textarea', { id: 'pfv_assumptions', value: items(form?.assumptions || creation.assumptions).filter(item => typeof item === 'string').join('\n'), maxLength: 6000, disabled: locked, onChange: event => controller.editCreation({ assumptions: event.target.value.split('\n') }) })),
|
|
483
|
+
state.creationDirty ? button('保存草稿', () => controller.updateCreation(), { disabled: locked }) : null));
|
|
484
|
+
|
|
449
485
|
const blueprintView = () => {
|
|
450
486
|
if (!creation) return h('article', { className: 'pf8_card' },
|
|
451
487
|
h('h1', { className: 'pf8_verdict' }, busy ? '正在整理插件方案' : '创建自己的插件'),
|
|
452
488
|
h('p', { className: 'pf8_why' }, '根据这次需求,整理首版要做什么。'),
|
|
453
489
|
!busy ? h('div', { className: 'pf8_acts' }, v8Action({ label: '创建自己的插件', primary: true, onClick: () => controller.startCreation(), disabled: !modelReady || !state.plan })) : null);
|
|
454
|
-
const summaryRows =
|
|
455
|
-
['首版做什么', blueprint.scope], ['怎样使用', blueprint.workflow], ['得到什么', blueprint.outputs],
|
|
456
|
-
['数据与权限', unique([text(blueprint.data), text(blueprint.tools)]).join(';')], ['完成标准', blueprint.acceptance],
|
|
457
|
-
].filter(([, value]) => text(value));
|
|
490
|
+
const summaryRows = creationSummaryRows();
|
|
458
491
|
const capabilities = capabilityMap();
|
|
459
492
|
return h('article', { className: 'pf8_card', 'aria-label': '插件方案' },
|
|
460
493
|
h('p', { className: 'pf8_q' }, '创建自己的插件'),
|
|
@@ -467,45 +500,97 @@ export function createExperienceView(React) {
|
|
|
467
500
|
clarification,
|
|
468
501
|
showActions ? h(React.Fragment, null, workspacePicker, workspaceStatus,
|
|
469
502
|
h('div', { className: 'pf8_acts' },
|
|
470
|
-
v8Action(
|
|
471
|
-
label: '开始创建', primary: true,
|
|
472
|
-
onClick: () => !workspacePending && confirmOrRun({
|
|
473
|
-
title: '开始在工作区创建这个插件?',
|
|
474
|
-
body: '会先把当前方案存成草稿并交给执行对话,按五步陪做节奏推进。',
|
|
475
|
-
facts: [
|
|
476
|
-
text(blueprint?.name) ? { label: '插件草稿', value: text(blueprint.name) } : null,
|
|
477
|
-
text(blueprint?.purpose) ? { label: '目标', value: short(blueprint.purpose, 80) } : null,
|
|
478
|
-
state.executionWorkspaceLabel ? { label: '工作区', value: text(state.executionWorkspaceLabel) } : null,
|
|
479
|
-
].filter(Boolean),
|
|
480
|
-
showWorkspacePicker: true,
|
|
481
|
-
confirmLabel: '确认开始创建',
|
|
482
|
-
cancelLabel: '再改改',
|
|
483
|
-
}, () => controller.createInWorkspace()),
|
|
484
|
-
disabled: !canAct || workspacePending || Boolean(question),
|
|
485
|
-
}),
|
|
503
|
+
v8Action(startBlueprintAction()),
|
|
486
504
|
v8Action({ label: '回看方案', onClick: () => controller.showFind(), disabled: locked })),
|
|
487
505
|
h('p', { className: 'pf8_next' }, '会先在发现好插件里存一份草稿,再从第一步开始;随时可以回来改。')) : null,
|
|
488
506
|
state.creationDirty ? h('p', { className: 'pf8_fine', role: 'status' }, '修改已保留,开始创建时会一并使用。') : null,
|
|
489
|
-
|
|
490
|
-
...blueprintGroups.map((group, index) => h('section', { className: 'pfv_blueprint_block', key: group.title },
|
|
491
|
-
h('h3', null, group.title), h('dl', { className: 'pfv_blueprint_values' }, ...group.fields.map(([key, label]) => h('div', { key }, h('dt', null, label), h('dd', null, text(blueprint[key]) || '待补充')))),
|
|
492
|
-
disclosure(`编辑${group.title}`, h('div', { className: 'pfv_block_editor' }, ...group.fields.map(([key, label]) => h('label', { key, className: 'pfv_field', htmlFor: `pfv_field_${key}` }, label, h('textarea', { id: `pfv_field_${key}`, 'aria-label': label, value: text(blueprint[key]), maxLength: 4000, disabled: locked, onChange: event => controller.editCreation({ blueprint: { [key]: event.target.value } }) })))), { key: `edit-${index}`, className: 'pfv_disclosure pfv_edit_block' }))),
|
|
493
|
-
paragraph(creation.reuseAssessment), list(records(creation.candidateDecisions).map(item => `${records(state.candidates).find(candidate => candidate.id === item.pluginId)?.name || item.pluginId}:${text(item.reason)}`)),
|
|
494
|
-
h('label', { className: 'pfv_field', htmlFor: 'pfv_assumptions' }, '假设,每行一项', h('textarea', { id: 'pfv_assumptions', value: items(form?.assumptions || creation.assumptions).filter(item => typeof item === 'string').join('\n'), maxLength: 6000, disabled: locked, onChange: event => controller.editCreation({ assumptions: event.target.value.split('\n') }) })),
|
|
495
|
-
state.creationDirty ? button('保存草稿', () => controller.updateCreation(), { disabled: locked }) : null)));
|
|
507
|
+
blueprintEditorDisclosure());
|
|
496
508
|
};
|
|
497
509
|
|
|
498
|
-
const
|
|
499
|
-
|
|
510
|
+
const execActionBtn = action => h('button', {
|
|
511
|
+
key: action.label, type: 'button',
|
|
512
|
+
className: action.primary ? 'pf8_btn pf8_ink pfv_primary' : 'pf8_btn',
|
|
513
|
+
disabled: Boolean(action.disabled), onClick: action.onClick,
|
|
514
|
+
}, action.label);
|
|
515
|
+
|
|
516
|
+
const execBar = ({ kicker, title, chips = [], actions = [] }) => h('div', { className: 'pf8_exec_bar' },
|
|
517
|
+
h('div', { className: 'pf8_exec_plan_main' },
|
|
518
|
+
h('span', { className: 'pf8_exec_kicker' }, kicker),
|
|
519
|
+
h('strong', { className: 'pf8_exec_title' }, title),
|
|
520
|
+
chips.length ? h('span', { className: 'pf8_exec_chips' }, ...chips.map((block, index) => h('span', { key: `${block.kind}-${index}`, className: `pf8_exec_chip ${block.kind}` }, h('code', null, text(block.name))))) : null),
|
|
521
|
+
actions.length ? h('div', { className: 'pf8_exec_acts' }, ...actions.map(execActionBtn)) : null);
|
|
522
|
+
|
|
523
|
+
const execDetailsFold = content => content ? h('details', { className: 'pf8_disclosure pf8_exec_details' },
|
|
524
|
+
h('summary', { className: 'pf8_lk' }, '查看本次方案详情'),
|
|
525
|
+
h('div', { className: 'pf8_disclosure_body' }, content)) : null;
|
|
526
|
+
|
|
527
|
+
const completedCreationAction = execution?.phase === 'completed' && execution.kind === 'use'
|
|
528
|
+
? { label: '创建自己的插件', onClick: () => controller.startCreation(), disabled: locked || !modelReady }
|
|
500
529
|
: null;
|
|
501
530
|
|
|
531
|
+
const executionOverview = () => {
|
|
532
|
+
if (isCreating) {
|
|
533
|
+
if (!creation) {
|
|
534
|
+
return execBar({
|
|
535
|
+
kicker: '插件方案',
|
|
536
|
+
title: busy ? '正在整理插件方案' : '创建自己的插件',
|
|
537
|
+
actions: !busy ? [{ label: '创建自己的插件', primary: true, onClick: () => controller.startCreation(), disabled: !modelReady || !state.plan }] : [],
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
const summaryRows = creationSummaryRows();
|
|
541
|
+
const capabilities = capabilityMap();
|
|
542
|
+
const actions = showActions ? [startBlueprintAction(), { label: '回看方案', onClick: () => controller.showFind(), disabled: locked }] : [];
|
|
543
|
+
return h(React.Fragment, null,
|
|
544
|
+
execBar({ kicker: '插件方案', title: text(blueprint.name) || '我的插件', actions }),
|
|
545
|
+
clarification,
|
|
546
|
+
showActions && (workspacePicker || workspaceStatus) ? h('div', { className: 'pf8_exec_recovery' }, workspacePicker, workspaceStatus) : null,
|
|
547
|
+
state.creationDirty ? h('p', { className: 'pf8_fine', role: 'status' }, '修改已保留,开始创建时会一并使用。') : null,
|
|
548
|
+
execDetailsFold(h(React.Fragment, null,
|
|
549
|
+
text(blueprint.purpose) ? h('p', { className: 'pf8_why' }, short(blueprint.purpose, 260)) : null,
|
|
550
|
+
summaryRows.length ? h('dl', { className: 'pfv_creation_summary' }, ...summaryRows.map(([label, value]) => h('div', { key: label }, h('dt', null, label), h('dd', null, short(value, 200))))) : null,
|
|
551
|
+
capabilities,
|
|
552
|
+
blueprintEditorDisclosure())));
|
|
553
|
+
}
|
|
554
|
+
if (uncertainGap) {
|
|
555
|
+
const actions = showActions
|
|
556
|
+
? [retryAction(), plan ? { label: '创建自己的插件', onClick: () => controller.startCreation(), disabled: !canAct } : null].filter(Boolean)
|
|
557
|
+
: (completedCreationAction ? [completedCreationAction] : []);
|
|
558
|
+
return h(React.Fragment, null,
|
|
559
|
+
execBar({ kicker: '来源待核对', title: '这次没查完,先不给你结论', actions }),
|
|
560
|
+
execDetailsFold(h(React.Fragment, null,
|
|
561
|
+
h('p', { className: 'pf8_why' }, text(health?.message) || '部分来源没有读回来,只凭已经读到的内容下结论,容易让你装错。'),
|
|
562
|
+
plan ? planSurface.solution({ request, understanding: '', plan, candidates: outcome.candidates, discovery, searchedAt, actions: [], note: '', showSignature: false, compact: true, embedded: true }) : null)));
|
|
563
|
+
}
|
|
564
|
+
if (plan) {
|
|
565
|
+
const execBlocks = planSurface.planBlocks({ plan, candidates: outcome.candidates, request });
|
|
566
|
+
const secondary = !needsCreation || uncertainGap
|
|
567
|
+
? { label: '创建自己的插件', onClick: () => controller.startCreation(), disabled: !canAct }
|
|
568
|
+
: null;
|
|
569
|
+
const execActions = showActions
|
|
570
|
+
? [primaryAction(), secondary].filter(Boolean)
|
|
571
|
+
: (completedCreationAction ? [completedCreationAction] : []);
|
|
572
|
+
return h(React.Fragment, null,
|
|
573
|
+
execBar({ kicker: '本次方案', title: text(plan.title) || '当前方案', chips: execBlocks, actions: execActions }),
|
|
574
|
+
showActions && (workspacePicker || workspaceStatus) ? h('div', { className: 'pf8_exec_recovery' }, workspacePicker, workspaceStatus) : null,
|
|
575
|
+
execDetailsFold(planSurface.solution({
|
|
576
|
+
request, understanding: '', plan, candidates: outcome.candidates, discovery, searchedAt,
|
|
577
|
+
actions: [], note: '', showSignature: true, compact: true, embedded: true,
|
|
578
|
+
})));
|
|
579
|
+
}
|
|
580
|
+
const fallbackActions = !showFindCard && showActions && (state.intent || request) ? [retryAction()] : [];
|
|
581
|
+
return execBar({
|
|
582
|
+
kicker: '本次方案',
|
|
583
|
+
title: showFindCard ? '正在替你找' : '继续查找方案',
|
|
584
|
+
actions: fallbackActions,
|
|
585
|
+
});
|
|
586
|
+
};
|
|
587
|
+
|
|
502
588
|
const body = startingNew
|
|
503
589
|
? searchingCard()
|
|
504
590
|
: execution
|
|
505
591
|
? h('div', { className: 'pfv_result_grid' },
|
|
506
592
|
h('div', { className: 'pfv_result_primary' }, executionView),
|
|
507
|
-
h('aside', { className: 'pfv_solution_overview', 'aria-label': '本次能力方案' },
|
|
508
|
-
isCreating ? blueprintView() : h(React.Fragment, null, planCardArea(), completedCreation)))
|
|
593
|
+
h('aside', { className: 'pfv_solution_overview', 'aria-label': '本次能力方案' }, executionOverview()))
|
|
509
594
|
: isCreating
|
|
510
595
|
? blueprintView()
|
|
511
596
|
: h('section', { className: 'pf8_planwrap', 'aria-label': '当前方案' }, expertPlanCard, planCardArea());
|
package/src/telemetry-config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const COLLECTOR_URL='https://dsh-plugin-finder-feedback-v1.dsh-plugin-finder.workers.dev';
|
|
2
|
-
export const CLIENT_VERSION='0.13.
|
|
2
|
+
export const CLIENT_VERSION='0.13.1';
|
package/src/v8-style.js
CHANGED
|
@@ -296,12 +296,18 @@ export const v8Css = `
|
|
|
296
296
|
.pf_v8 .pf8_drafts .pf8_btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 18px; color: var(--ink); background: transparent; font-size: 13.5px; }
|
|
297
297
|
.pf_v8 .pf8_drafts .pf8_lk { padding: 0; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; color: var(--ink2); background: none; font-size: 13px; }
|
|
298
298
|
.pf_root.pf_v2 .pf_footer { max-width: 1080px; margin: 0 auto; padding: 0 40px 56px; border-top: 0; }
|
|
299
|
+
.pf_root.pf_v2:has(.pf8_narrow) .pf_footer { max-width: 860px; }
|
|
300
|
+
.pf_root.pf_v2:has(.pf8_shopw) .pf_footer, .pf_root.pf_v2:has(.pf8_histwrap) .pf_footer { max-width: 920px; }
|
|
299
301
|
.pf_root.pf_v2 .pf_footer .pf_details { border-top: 0; }
|
|
300
|
-
.pf_root.pf_v2 .pf_footer .pf_details > summary { font-size: 13px; color: var(--ink3); }
|
|
301
|
-
.pf_root.pf_v2 .pf_footer .pf_details > summary { list-style: none; cursor: pointer; }
|
|
302
|
+
.pf_root.pf_v2 .pf_footer .pf_details > summary { min-height: 26px; padding-block: 2px; font-size: 13px; color: var(--ink3); list-style: none; cursor: pointer; }
|
|
302
303
|
.pf_root.pf_v2 .pf_footer .pf_details > summary::-webkit-details-marker { display: none; }
|
|
303
304
|
.pf_root.pf_v2 .pf_footer .pf_details > summary::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 7px; vertical-align: 1px; border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
|
|
304
305
|
.pf_root.pf_v2 .pf_footer .pf_details[open] > summary::before { vertical-align: 0; border-left: 0; border-top: 5px solid currentColor; border-right: 4px solid transparent; border-bottom: 0; border-left: 4px solid transparent; }
|
|
306
|
+
.pf_root.pf_v2:has(.pfv_result_grid) > .pf_inner { padding-top: 10px; }
|
|
307
|
+
.pf_v8.pf8_findpage:has(.pfv_result_grid) .pf8_wrap { padding-top: 12px; padding-bottom: 14px; }
|
|
308
|
+
.pf_v8.pf8_findpage:has(.pfv_result_grid) .pf8_top { margin-bottom: 16px; }
|
|
309
|
+
.pf_v8.pf8_findpage:has(.pfv_result_grid) .pf8_folds { margin-top: 12px; }
|
|
310
|
+
.pf_root.pf_v2:has(.pfv_result_grid) .pf_footer { margin-top: 8px; padding-bottom: 18px; }
|
|
305
311
|
.pf_v8.pf8_flowback { width: calc(100% - 80px); max-width: 840px; margin: 0 auto 12px; }
|
|
306
312
|
@container finder (max-width: 700px) { .pf_v8.pf8_flowback { width: calc(100% - 32px); } }
|
|
307
313
|
@container finder (max-width: 700px) { .pf_v8 .pf8_oppcard { max-width: none; } }
|
|
@@ -550,5 +556,18 @@ export const v8Css = `
|
|
|
550
556
|
.pf_modal_ws { margin-top: 14px; display: grid; gap: 6px; font-size: 13px; color: var(--ink2); }
|
|
551
557
|
.pf_modal_ws select { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
|
|
552
558
|
.pf_modal_acts { margin-top: 20px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
|
|
559
|
+
.pf_v8 .pf8_exec_bar { display: flex; align-items: safe center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; min-inline-size: 0; }
|
|
560
|
+
.pf_v8 .pf8_exec_plan_main { display: flex; align-items: baseline; gap: 8px 10px; flex-wrap: wrap; flex: 1 1 260px; min-inline-size: 0; }
|
|
561
|
+
.pf_v8 .pf8_exec_kicker { font-size: 12px; color: var(--ink3); white-space: nowrap; }
|
|
562
|
+
.pf_v8 .pf8_exec_title { font: 500 15px/1.45 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
|
|
563
|
+
.pf_v8 .pf8_exec_chips { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-inline-size: 0; }
|
|
564
|
+
.pf_v8 .pf8_exec_chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; background: var(--subtle); color: var(--ink2); max-inline-size: 100%; }
|
|
565
|
+
.pf_v8 .pf8_exec_chip.have { background: color-mix(in srgb, var(--have) 11%, transparent); color: color-mix(in srgb, var(--have) 88%, var(--ink)); }
|
|
566
|
+
.pf_v8 .pf8_exec_chip.build { background: color-mix(in srgb, var(--build) 12%, transparent); color: color-mix(in srgb, var(--build) 80%, var(--ink)); }
|
|
567
|
+
.pf_v8 .pf8_exec_chip code { font: 500 11.5px/1 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-inline-size: 220px; }
|
|
568
|
+
.pf_v8 .pf8_exec_acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
|
|
569
|
+
.pf_v8 .pf8_exec_recovery { margin-top: 10px; display: grid; gap: 8px; }
|
|
570
|
+
.pf_v8 .pf8_exec_details { margin-top: 8px; }
|
|
571
|
+
.pf_v8 .pf8_exec_details > summary { min-height: 24px; padding-block: 2px; line-height: 1.5; }
|
|
553
572
|
|
|
554
573
|
`;
|