@agent-native/core 0.79.15 → 0.79.17

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.
@@ -3,18 +3,18 @@ declare const _default: import("../../action.js").ActionDefinition<{
3
3
  url?: string;
4
4
  filename?: string;
5
5
  }, {
6
- id?: undefined;
7
6
  error: string;
8
7
  configured?: undefined;
9
8
  connectPath?: undefined;
10
9
  url?: undefined;
10
+ id?: undefined;
11
11
  provider?: undefined;
12
12
  } | {
13
- id?: undefined;
14
13
  error: string;
15
14
  configured: boolean;
16
15
  connectPath: string;
17
16
  url?: undefined;
17
+ id?: undefined;
18
18
  provider?: undefined;
19
19
  } | {
20
20
  error?: undefined;
@@ -28,7 +28,7 @@ export declare function createNotificationsHandler(): import("h3").EventHandlerW
28
28
  } | {
29
29
  count?: undefined;
30
30
  updated?: undefined;
31
- ok: boolean;
32
31
  error?: undefined;
32
+ ok: boolean;
33
33
  }>>;
34
34
  //# sourceMappingURL=routes.d.ts.map
@@ -41,28 +41,28 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
41
41
  thumbsUpRate: number;
42
42
  avgEvalScore: number;
43
43
  } | {
44
+ error?: undefined;
45
+ ok?: undefined;
44
46
  summary: import("./types.js").TraceSummary;
45
47
  spans: import("./types.js").TraceSpan[];
46
48
  id?: undefined;
49
+ } | {
47
50
  error?: undefined;
48
51
  ok?: undefined;
49
- } | {
50
52
  summary?: undefined;
51
53
  spans?: undefined;
52
54
  id: string;
53
- error?: undefined;
54
- ok?: undefined;
55
55
  } | {
56
+ ok?: undefined;
56
57
  summary?: undefined;
57
58
  spans?: undefined;
58
- id?: undefined;
59
59
  error: any;
60
- ok?: undefined;
60
+ id?: undefined;
61
61
  } | {
62
+ error?: undefined;
62
63
  summary?: undefined;
63
64
  spans?: undefined;
64
- id?: undefined;
65
- error?: undefined;
66
65
  ok: boolean;
66
+ id?: undefined;
67
67
  }>>;
68
68
  //# sourceMappingURL=routes.d.ts.map
@@ -52,8 +52,8 @@ export declare function handleDeleteResource(event: any): Promise<{
52
52
  error: string;
53
53
  ok?: undefined;
54
54
  } | {
55
- error?: undefined;
56
55
  ok: boolean;
56
+ error?: undefined;
57
57
  }>;
58
58
  /** POST /_agent-native/resources/upload — upload a file as a resource */
59
59
  export declare function handleUploadResource(event: any): Promise<import("./store.js").Resource | {
@@ -73,9 +73,9 @@ export declare function handleUploadResource(event: any): Promise<import("./stor
73
73
  runId: string | null;
74
74
  expiresAt: number | null;
75
75
  metadata: string | null;
76
- error?: undefined;
77
76
  url: string;
78
77
  provider: string;
78
+ error?: undefined;
79
79
  }>;
80
80
  export {};
81
81
  //# sourceMappingURL=handlers.d.ts.map
@@ -23,15 +23,15 @@ export declare function resolveAgentEngineApiKeyWriteTarget(event: H3Event, scop
23
23
  error: string;
24
24
  }>;
25
25
  export declare function createAgentEngineApiKeyHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
26
+ ok?: undefined;
26
27
  error: any;
27
28
  key?: undefined;
28
29
  scope?: undefined;
29
- ok?: undefined;
30
30
  } | {
31
+ error?: undefined;
31
32
  ok: boolean;
32
33
  key: string;
33
34
  scope: AgentEngineApiKeyScope;
34
- error?: undefined;
35
35
  }>>;
36
36
  export {};
37
37
  //# sourceMappingURL=agent-engine-api-key-route.d.ts.map
@@ -55,9 +55,10 @@
55
55
  --agent-native-lower-surface: hsl(
56
56
  var(--sidebar-background, var(--background))
57
57
  );
58
- --agent-native-raised-radius: 18px;
59
- --agent-native-raised-shadow-left: -12px 0 28px rgb(0 0 0 / 0.1);
60
- --agent-native-raised-shadow-right: 12px 0 28px rgb(0 0 0 / 0.1);
58
+ --agent-native-raised-border: hsl(var(--border));
59
+ --agent-native-raised-radius: 8px;
60
+ --agent-native-raised-shadow-left: -1px 0 3px rgb(0 0 0 / 0.018);
61
+ --agent-native-raised-shadow-right: 1px 0 3px rgb(0 0 0 / 0.018);
61
62
  background: var(--agent-native-lower-surface);
62
63
  }
63
64
 
@@ -66,9 +67,14 @@
66
67
  .agent-layout-shell {
67
68
  --agent-native-lower-surface: color-mix(
68
69
  in srgb,
69
- hsl(var(--sidebar-background, var(--background))) 94%,
70
+ hsl(var(--sidebar-background, var(--background))) 98%,
70
71
  black
71
72
  );
73
+ --agent-native-raised-border: color-mix(
74
+ in srgb,
75
+ hsl(var(--border)) 84%,
76
+ transparent
77
+ );
72
78
  }
73
79
 
74
80
  .dark .agent-sidebar-shell,
@@ -77,11 +83,9 @@
77
83
  .dark.agent-layout-shell {
78
84
  --agent-native-lower-surface: color-mix(
79
85
  in srgb,
80
- hsl(var(--sidebar-background, var(--background))) 86%,
86
+ hsl(var(--sidebar-background, var(--background))) 94%,
81
87
  black
82
88
  );
83
- --agent-native-raised-shadow-left: -14px 0 32px rgb(0 0 0 / 0.22);
84
- --agent-native-raised-shadow-right: 14px 0 32px rgb(0 0 0 / 0.22);
85
89
  }
86
90
  }
87
91
 
@@ -99,10 +103,25 @@
99
103
  background: var(--agent-native-lower-surface) !important;
100
104
  }
101
105
 
106
+ .agent-layout-shell .agent-layout-left-drawer {
107
+ border-inline-end-color: transparent !important;
108
+ }
109
+
110
+ .agent-layout-shell
111
+ .agent-layout-left-drawer
112
+ > :where(.border-e, .border-r):first-child {
113
+ border-inline-end-color: transparent !important;
114
+ border-right-color: transparent !important;
115
+ }
116
+
102
117
  .agent-sidebar-panel > .agent-sidebar-panel-inner {
103
118
  background: inherit;
104
119
  }
105
120
 
121
+ .agent-sidebar-resize-handle {
122
+ background: transparent;
123
+ }
124
+
106
125
  .agent-layout-main-surface,
107
126
  .agent-sidebar-main-surface {
108
127
  position: relative;
@@ -110,26 +129,45 @@
110
129
  background: hsl(var(--background));
111
130
  transition:
112
131
  border-radius 260ms cubic-bezier(0.32, 0.72, 0, 1),
132
+ border-color 260ms cubic-bezier(0.32, 0.72, 0, 1),
113
133
  box-shadow 260ms cubic-bezier(0.32, 0.72, 0, 1);
114
134
  }
115
135
 
136
+ .agent-layout-shell
137
+ :where(.agent-layout-main-surface, .agent-sidebar-main-surface)
138
+ > :first-child
139
+ > :where(header, div).border-b:first-child,
140
+ .agent-layout-shell
141
+ :where(.agent-layout-main-surface, .agent-sidebar-main-surface)
142
+ > :where(header, div).border-b:first-child,
143
+ .agent-layout-shell
144
+ .agent-layout-left-drawer
145
+ > :where(header, div).border-b:first-child,
146
+ .agent-layout-shell .agent-native-shell-topbar {
147
+ border-bottom-color: transparent !important;
148
+ }
149
+
116
150
  @media (min-width: 768px) {
117
151
  .agent-layout-main-surface,
118
- .agent-layout-shell > .agent-sidebar-shell {
152
+ .agent-layout-shell > .agent-sidebar-shell > .agent-sidebar-main-surface {
119
153
  border-start-start-radius: var(--agent-native-raised-radius);
120
154
  border-end-start-radius: var(--agent-native-raised-radius);
155
+ border-inline-start: 1px solid var(--agent-native-raised-border);
156
+ border-inline-end: 1px solid var(--agent-native-raised-border);
121
157
  box-shadow: var(--agent-native-raised-shadow-left);
122
158
  }
123
159
 
124
160
  .agent-sidebar-main-surface[data-agent-sidebar-main-state="open"][data-agent-sidebar-main-position="right"] {
125
161
  border-start-end-radius: var(--agent-native-raised-radius);
126
162
  border-end-end-radius: var(--agent-native-raised-radius);
163
+ border-inline-end: 1px solid var(--agent-native-raised-border);
127
164
  box-shadow: var(--agent-native-raised-shadow-right);
128
165
  }
129
166
 
130
167
  .agent-sidebar-main-surface[data-agent-sidebar-main-state="open"][data-agent-sidebar-main-position="left"] {
131
168
  border-start-start-radius: var(--agent-native-raised-radius);
132
169
  border-end-start-radius: var(--agent-native-raised-radius);
170
+ border-inline-start: 1px solid var(--agent-native-raised-border);
133
171
  box-shadow: var(--agent-native-raised-shadow-left);
134
172
  }
135
173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.79.15",
3
+ "version": "0.79.17",
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": {