@sanqianx/claude-ai-workbench 0.13.4 → 0.13.5
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/apps/agent-terminal/right-workspace-dock.css +1 -1
- package/apps/agent-terminal/right-workspace-dock.js +8 -3
- package/docs/sdk/openapi.yaml +1 -1
- package/package.json +1 -1
- package/packages/client/package.json +2 -2
- package/packages/contracts/package.json +1 -1
- package/packages/core/package.json +2 -2
- package/packages/server/package.json +2 -2
- package/packages/ui/package.json +2 -2
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
.rd-composer-wrap .send { margin-left:auto; }
|
|
183
183
|
.rd-composer-wrap .composer textarea { font-size:14px; min-height:48px; }
|
|
184
184
|
.rd-continue { align-self:center; border:1px solid var(--line); border-radius:8px; background:var(--page); color:var(--text); font-size:13px; padding:9px 16px; margin:12px 20px 20px; }
|
|
185
|
-
.rd-permissions { padding:0
|
|
185
|
+
.rd-permissions { padding:0; }
|
|
186
186
|
.rd-permissions:empty { display:none; }
|
|
187
187
|
.rd-permissions .question-fields { max-height:min(38vh,360px); }
|
|
188
188
|
.rd-pane[hidden], .rd-host-pane[hidden] { display:none; }
|
|
@@ -701,7 +701,7 @@
|
|
|
701
701
|
try {
|
|
702
702
|
await client.send(view.childSessionId, text, { permissionMode: 'default' });
|
|
703
703
|
if (epoch !== scopeEpoch || !tabs.includes(tab)) return;
|
|
704
|
-
tab.draft = ''; saveTabDraft(tab); tab.pane.composer.input.value = '';
|
|
704
|
+
tab.draft = ''; saveTabDraft(tab); tab.pane.composer.input.value = ''; tab.pane.composer.input.style.height = 'auto';
|
|
705
705
|
void loadDelegationFirstPage(tab); void validateScopeDelegations();
|
|
706
706
|
} catch { if (epoch === scopeEpoch && tabs.includes(tab)) tab.error = '消息暂未发送成功,草稿已保留。请查看对话结果后再决定是否重试。'; }
|
|
707
707
|
finally { if (epoch === scopeEpoch && tabs.includes(tab)) { tab.sending = false; render(); flushPersist(); } }
|
|
@@ -782,7 +782,10 @@
|
|
|
782
782
|
const pane = tab.pane, view = delegationIndex.get(tab.delegationId);
|
|
783
783
|
if (!pane.permissions || !view) return;
|
|
784
784
|
pane.permissions.textContent = '';
|
|
785
|
-
if (!view.child.active)
|
|
785
|
+
if (!view.child.active) {
|
|
786
|
+
for (const card of pane.questionCards?.values() || []) card.settle({ cancelled: true });
|
|
787
|
+
pane.questionCards?.clear(); return;
|
|
788
|
+
}
|
|
786
789
|
const pending = new Map();
|
|
787
790
|
for (const event of tab.panel.events) {
|
|
788
791
|
if (event.type === 'claude/permission-request') pending.set(event.requestId, event);
|
|
@@ -821,6 +824,8 @@
|
|
|
821
824
|
}
|
|
822
825
|
pane.permissions.append(card);
|
|
823
826
|
}
|
|
827
|
+
pane.scroll.append(pane.permissions);
|
|
828
|
+
if (pane.follow !== false) pane.scroll.scrollTop = pane.scroll.scrollHeight;
|
|
824
829
|
}
|
|
825
830
|
|
|
826
831
|
function openDelegation(delegationId) {
|
|
@@ -1145,7 +1150,7 @@
|
|
|
1145
1150
|
tab.pane.node.classList.add('rd-delegation-pane');
|
|
1146
1151
|
tab.pane.composer = buildComposer(tab);
|
|
1147
1152
|
tab.pane.permissions = el('div', 'rd-permissions');
|
|
1148
|
-
tab.pane.node.append(tab.pane.
|
|
1153
|
+
tab.pane.node.append(tab.pane.composer.node);
|
|
1149
1154
|
}
|
|
1150
1155
|
|
|
1151
1156
|
function refreshDelegationPane(tab) {
|
package/docs/sdk/openapi.yaml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-ai-workbench/client",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"browser": "index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"README.md"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@claude-ai-workbench/contracts": "0.13.
|
|
23
|
+
"@claude-ai-workbench/contracts": "0.13.5"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-ai-workbench/core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"browser": "index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"README.md"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@claude-ai-workbench/contracts": "0.13.
|
|
23
|
+
"@claude-ai-workbench/contracts": "0.13.5"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-ai-workbench/server",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@anthropic-ai/claude-agent-sdk": "^0.2.141",
|
|
28
|
-
"@claude-ai-workbench/contracts": "0.13.
|
|
28
|
+
"@claude-ai-workbench/contracts": "0.13.5"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=18"
|
package/packages/ui/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-ai-workbench/ui",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "ai-profile-settings.js",
|
|
6
6
|
"browser": "ai-profile-settings.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"README.md"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@claude-ai-workbench/core": "0.13.
|
|
36
|
+
"@claude-ai-workbench/core": "0.13.5"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=18"
|