@agent-native/core 0.174.0-nightly-20260825165341 → 0.174.0
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.
|
@@ -4541,6 +4541,7 @@ export default function SlideEditor({
|
|
|
4541
4541
|
selected && !isSlideCanvasShell(selected) ? selected : null,
|
|
4542
4542
|
clicked && !isSlideCanvasShell(clicked) ? clicked : null,
|
|
4543
4543
|
);
|
|
4544
|
+
const editableTextBlock = findSmartBlock(target, slideContent);
|
|
4544
4545
|
const pointerIntent = resolveSlidesCanvasPointerIntent({
|
|
4545
4546
|
hasSelectedObject: dragTarget !== null,
|
|
4546
4547
|
targetWithinSelectedObject: dragTarget?.contains(target) ?? false,
|
|
@@ -4554,7 +4555,9 @@ export default function SlideEditor({
|
|
|
4554
4555
|
e.clientX,
|
|
4555
4556
|
e.clientY,
|
|
4556
4557
|
),
|
|
4557
|
-
targetIsEditableText: Boolean(
|
|
4558
|
+
targetIsEditableText: Boolean(
|
|
4559
|
+
editableTextBlock && !isSlideCanvasShell(editableTextBlock),
|
|
4560
|
+
),
|
|
4558
4561
|
});
|
|
4559
4562
|
if (
|
|
4560
4563
|
dragTarget &&
|
package/corpus/templates/slides/app/components/editor/canvas-interactions/slides-canvas-adapter.ts
CHANGED
|
@@ -146,8 +146,10 @@ export function resolveSlidesCanvasPointerIntent({
|
|
|
146
146
|
}): SlidesCanvasPointerIntent {
|
|
147
147
|
if (
|
|
148
148
|
hasSelectedObject &&
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
pointerWithinMoveBand &&
|
|
150
|
+
(targetWithinSelectedObject ||
|
|
151
|
+
targetContainsSelectedObject ||
|
|
152
|
+
!targetIsEditableText)
|
|
151
153
|
) {
|
|
152
154
|
return "move-object-perimeter";
|
|
153
155
|
}
|
|
@@ -62,11 +62,11 @@ export declare const postAwareness: import("h3").EventHandlerWithFetch<import("h
|
|
|
62
62
|
error: string;
|
|
63
63
|
states?: undefined;
|
|
64
64
|
} | {
|
|
65
|
+
error?: undefined;
|
|
65
66
|
states: {
|
|
66
67
|
clientId: number;
|
|
67
68
|
state: string;
|
|
68
69
|
}[];
|
|
69
|
-
error?: undefined;
|
|
70
70
|
}>>;
|
|
71
71
|
/**
|
|
72
72
|
* GET /_agent-native/collab/:docId/users
|
|
@@ -77,9 +77,9 @@ export declare const getActiveUsers: import("h3").EventHandlerWithFetch<import("
|
|
|
77
77
|
error: string;
|
|
78
78
|
users?: undefined;
|
|
79
79
|
} | {
|
|
80
|
+
error?: undefined;
|
|
80
81
|
users: {
|
|
81
82
|
clientId: number;
|
|
82
83
|
lastSeen: number;
|
|
83
84
|
}[];
|
|
84
|
-
error?: undefined;
|
|
85
85
|
}>>;
|
|
@@ -26,8 +26,8 @@ export declare function createRealtimeTokenHandler(): import("h3").EventHandlerW
|
|
|
26
26
|
expiresAt?: undefined;
|
|
27
27
|
ttlSeconds?: undefined;
|
|
28
28
|
} | {
|
|
29
|
+
error?: undefined;
|
|
29
30
|
token: string;
|
|
30
31
|
expiresAt: string;
|
|
31
32
|
ttlSeconds: number;
|
|
32
|
-
error?: undefined;
|
|
33
33
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.174.0
|
|
3
|
+
"version": "0.174.0",
|
|
4
4
|
"description": "Framework for agent-native application development — where AI agents and UI share SQL state, actions, and context",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/agent-native#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -429,8 +429,8 @@
|
|
|
429
429
|
"y-protocols": "^1.0.7",
|
|
430
430
|
"yjs": "^13.6.32",
|
|
431
431
|
"zod": "^4.3.6",
|
|
432
|
-
"@agent-native/recap-cli": "0.5.
|
|
433
|
-
"@agent-native/toolkit": "^0.16.
|
|
432
|
+
"@agent-native/recap-cli": "0.5.11",
|
|
433
|
+
"@agent-native/toolkit": "^0.16.14"
|
|
434
434
|
},
|
|
435
435
|
"devDependencies": {
|
|
436
436
|
"@ai-sdk/anthropic": "^3.0.71",
|