@get-bb/plugin-sdk 0.6.19 → 0.6.26
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/bundled-types/bb-plugin-sdk-app.d.ts +428 -20
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk.d.ts +426 -19
- package/dist/app.js +4 -0
- package/dist/provider-bridge-acp.js +15 -9
- package/dist/provider-bridge-testing.js +306 -248
- package/dist/testing/app.js +22 -1
- package/package.json +1 -1
package/dist/testing/app.js
CHANGED
|
@@ -1793,7 +1793,8 @@ function TestThreadChat({
|
|
|
1793
1793
|
threadId,
|
|
1794
1794
|
role: action.roles?.[0] ?? "assistant",
|
|
1795
1795
|
text: "test message text",
|
|
1796
|
-
sourceSeqEnd: 1
|
|
1796
|
+
sourceSeqEnd: 1,
|
|
1797
|
+
experimental_messageSeq: 1
|
|
1797
1798
|
});
|
|
1798
1799
|
},
|
|
1799
1800
|
children: action.title
|
|
@@ -2106,6 +2107,19 @@ function TestPermissionModePicker({
|
|
|
2106
2107
|
}
|
|
2107
2108
|
);
|
|
2108
2109
|
}
|
|
2110
|
+
function TestVoiceInputTextarea({
|
|
2111
|
+
onValueChange,
|
|
2112
|
+
onVoiceInputActiveChange: _onVoiceInputActiveChange,
|
|
2113
|
+
...props
|
|
2114
|
+
}) {
|
|
2115
|
+
return /* @__PURE__ */ jsx(
|
|
2116
|
+
"textarea",
|
|
2117
|
+
{
|
|
2118
|
+
...props,
|
|
2119
|
+
onChange: (event) => onValueChange(event.target.value)
|
|
2120
|
+
}
|
|
2121
|
+
);
|
|
2122
|
+
}
|
|
2109
2123
|
function TestSourceCode({
|
|
2110
2124
|
content,
|
|
2111
2125
|
path,
|
|
@@ -2262,6 +2276,7 @@ var testPluginSdkApp = {
|
|
|
2262
2276
|
),
|
|
2263
2277
|
UrlLink: TestUrlLink,
|
|
2264
2278
|
experimental_NewThreadComposer: TestNewThreadComposer,
|
|
2279
|
+
experimental_VoiceInputTextarea: TestVoiceInputTextarea,
|
|
2265
2280
|
experimental_ProviderModelPicker: TestProviderModelPicker,
|
|
2266
2281
|
experimental_PermissionModePicker: TestPermissionModePicker,
|
|
2267
2282
|
experimental_BranchPicker: TestBranchPicker,
|
|
@@ -2733,6 +2748,12 @@ function renderSlot(registration, props, options = {}) {
|
|
|
2733
2748
|
archive(threadId2) {
|
|
2734
2749
|
sidebarActionCalls.push({ method: "archive", threadId: threadId2 });
|
|
2735
2750
|
},
|
|
2751
|
+
async experimental_archiveEnvironmentThreads(environmentId) {
|
|
2752
|
+
sidebarActionCalls.push({
|
|
2753
|
+
method: "experimental_archiveEnvironmentThreads",
|
|
2754
|
+
environmentId
|
|
2755
|
+
});
|
|
2756
|
+
},
|
|
2736
2757
|
requestDelete(threadId2) {
|
|
2737
2758
|
sidebarActionCalls.push({ method: "requestDelete", threadId: threadId2 });
|
|
2738
2759
|
}
|