@agent-native/dispatch 0.14.5 → 0.14.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/dispatch",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.7",
|
|
4
4
|
"description": "Dispatch — workspace control plane for agent-native apps. Vault, integrations, destinations, scheduled jobs, and cross-app delegation, shipped as a single drop-in package.",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/agent-native#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"typescript-7": "npm:typescript@^7.0.2",
|
|
94
94
|
"vite": "8.1.0",
|
|
95
95
|
"vitest": "^4.1.5",
|
|
96
|
-
"@agent-native/core": "0.98.
|
|
96
|
+
"@agent-native/core": "0.98.5"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"@agent-native/core": ">=0.8.0",
|
|
@@ -29,6 +29,11 @@ describe("Dispatch ChatRoute", () => {
|
|
|
29
29
|
let root: Root;
|
|
30
30
|
|
|
31
31
|
beforeEach(() => {
|
|
32
|
+
// ChatRoute intentionally clears navigation handoff state on a zero-delay
|
|
33
|
+
// timer. Keep that timer deterministic so a busy workspace test run cannot
|
|
34
|
+
// advance to the post-handoff hero render before this spec inspects the
|
|
35
|
+
// transition frame.
|
|
36
|
+
vi.useFakeTimers();
|
|
32
37
|
vi.stubGlobal("IS_REACT_ACT_ENVIRONMENT", true);
|
|
33
38
|
clientState.surfaceProps = null;
|
|
34
39
|
container = document.createElement("div");
|
|
@@ -39,6 +44,7 @@ describe("Dispatch ChatRoute", () => {
|
|
|
39
44
|
afterEach(() => {
|
|
40
45
|
act(() => root.unmount());
|
|
41
46
|
container.remove();
|
|
47
|
+
vi.useRealTimers();
|
|
42
48
|
vi.unstubAllGlobals();
|
|
43
49
|
});
|
|
44
50
|
|
package/src/styles/dispatch.css
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.dispatch-chat-panel [data-agent-empty-state="centered"] .dispatch-chat-intro {
|
|
21
21
|
display: grid;
|
|
22
22
|
width: 100%;
|
|
23
|
-
max-width: min(
|
|
23
|
+
max-width: min(684px, 90%);
|
|
24
24
|
gap: 0.5rem;
|
|
25
25
|
margin: 0 auto 1rem;
|
|
26
26
|
text-align: center;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
.dispatch-chat-panel [data-agent-empty-state="centered"] .agent-composer-area {
|
|
52
52
|
width: 100%;
|
|
53
|
-
max-width: min(
|
|
53
|
+
max-width: min(684px, 90%);
|
|
54
54
|
padding: 0;
|
|
55
55
|
}
|
|
56
56
|
|