mirror of
https://github.com/nexu-io/open-design.git
synced 2026-09-28 05:22:59 +08:00
* fix(web): clear plugin context after send * chore(release): bump version 0.9.1 -> 0.10.0 (prep main for 0.10.0 beta from main; clears the beta anti-regression gate) --------- Co-authored-by: yinjialu <2481044901@qq.com> Co-authored-by: lefarcen <ontf116@gmail.com>
This commit is contained in:
co-authored by
yinjialu
lefarcen
parent
2ff65a27d8
commit
556eb7f065
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/daemon",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./dist/cli.js",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/desktop",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./dist/main/index.js",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/landing-page",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/packaged",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./dist/index.mjs",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/web",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
||||
@@ -1432,6 +1432,9 @@ export function HomeView({
|
||||
return { examplePromptContext: examplePromptInfoRef.current };
|
||||
})(),
|
||||
});
|
||||
setSelectedPluginContexts([]);
|
||||
setSelectedMcpContexts([]);
|
||||
setSelectedConnectorContexts([]);
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -244,7 +244,7 @@ describe('HomeView context picker', () => {
|
||||
}));
|
||||
});
|
||||
|
||||
it('keeps a context-only `Use` selection in the submit payload without an @mention', async () => {
|
||||
it('keeps a context-only `Use` selection in the submit payload without an @mention, then clears the composer chip', async () => {
|
||||
// Regression: the submit-time reconciliation dropped every context that
|
||||
// lacked an inline `@mention` token, which silently discarded contexts
|
||||
// staged through the plain `Use` action (which never writes a token). The
|
||||
@@ -307,6 +307,9 @@ describe('HomeView context picker', () => {
|
||||
expect.objectContaining({ id: 'chart-plugin', title: 'Chart Plugin' }),
|
||||
],
|
||||
}));
|
||||
await waitFor(() => {
|
||||
expect(screen.queryByTestId('home-hero-context-plugin-chart-plugin')).toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
it('drops a context-only `Use` selection from the submit payload once its chip is cleared', async () => {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/e2e",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "open-design",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.33.2",
|
||||
"type": "module",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/contracts",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "Shared pure TypeScript contracts for the Open Design web/daemon boundary.",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/download",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./dist/index.mjs",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/host",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "Open Design renderer host bridge protocol.",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/platform",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./dist/index.mjs",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/sidecar-proto",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./dist/index.mjs",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/sidecar",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./dist/index.mjs",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/tools-dev",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@open-design/tools-pack",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
Reference in New Issue
Block a user