@elevasis/ui 2.64.1 → 2.66.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.
- package/dist/api/index.js +2 -2
- package/dist/app/index.d.ts +26 -0
- package/dist/app/index.js +8 -8
- package/dist/auth/index.d.ts +12 -5
- package/dist/auth/index.js +8 -8
- package/dist/charts/index.js +8 -8
- package/dist/{chunk-DRQPEMJI.js → chunk-4DV4ECMG.js} +3 -0
- package/dist/{chunk-KRWALB24.js → chunk-6SSQGWK7.js} +1 -1
- package/dist/{chunk-ZTWA5H77.js → chunk-6ZAP3FOA.js} +0 -1
- package/dist/{chunk-PGAA4G3T.js → chunk-ANNM5R7S.js} +275 -382
- package/dist/{chunk-I3CFGE3N.js → chunk-BLXJEIQS.js} +1 -1
- package/dist/chunk-L7BZZ4SI.js +56 -0
- package/dist/chunk-P45GQ3ZW.js +104 -0
- package/dist/{chunk-EIXSQONC.js → chunk-RT4KRGZT.js} +37 -59
- package/dist/{chunk-FVOMKZ7S.js → chunk-Y6I3IC45.js} +3 -6
- package/dist/components/index.d.ts +274 -191
- package/dist/components/index.js +8 -8
- package/dist/components/navigation/index.js +8 -8
- package/dist/execution/index.d.ts +115 -104
- package/dist/execution/index.js +2 -2
- package/dist/features/auth/index.d.ts +125 -9
- package/dist/features/auth/index.js +154 -14
- package/dist/features/clients/index.js +8 -8
- package/dist/features/crm/index.d.ts +20 -0
- package/dist/features/crm/index.js +8 -8
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +20 -0
- package/dist/features/delivery/index.js +8 -8
- package/dist/features/knowledge/index.js +8 -8
- package/dist/features/lead-gen/index.js +8 -8
- package/dist/features/monitoring/index.js +8 -8
- package/dist/features/monitoring/requests/index.js +9 -9
- package/dist/features/notes/index.js +2 -2
- package/dist/features/operations/index.d.ts +177 -106
- package/dist/features/operations/index.js +8 -8
- package/dist/features/public-agent-chat/index.js +1 -1
- package/dist/features/settings/index.d.ts +21 -0
- package/dist/features/settings/index.js +8 -8
- package/dist/hooks/access/index.js +8 -8
- package/dist/hooks/delivery/index.d.ts +20 -0
- package/dist/hooks/delivery/index.js +8 -8
- package/dist/hooks/index.d.ts +319 -145
- package/dist/hooks/index.js +8 -8
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +0 -2
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.d.ts +319 -145
- package/dist/hooks/published.js +8 -8
- package/dist/index.d.ts +409 -219
- package/dist/index.js +8 -8
- package/dist/initialization/index.d.ts +95 -28
- package/dist/initialization/index.js +3 -3
- package/dist/knowledge/index.js +12 -12
- package/dist/{knowledge-search-index-JOPRYZN6.js → knowledge-search-index-6EZNBNSR.js} +4 -4
- package/dist/layout/index.js +8 -8
- package/dist/organization/index.d.ts +63 -4
- package/dist/organization/index.js +8 -8
- package/dist/profile/index.d.ts +43 -2
- package/dist/profile/index.js +1 -1
- package/dist/provider/index.d.ts +20 -0
- package/dist/provider/index.js +8 -8
- package/dist/provider/published.d.ts +20 -0
- package/dist/provider/published.js +8 -8
- package/dist/supabase/index.d.ts +40 -0
- package/dist/test-utils/index.d.ts +5 -0
- package/dist/test-utils/index.js +4 -4
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/types/index.d.ts +483 -244
- package/dist/utils/index.js +2 -2
- package/package.json +6 -4
- package/dist/chunk-LO7GWG24.js +0 -75
- package/dist/chunk-T4LA4RY2.js +0 -56
|
@@ -3,110 +3,6 @@ import { z } from 'zod';
|
|
|
3
3
|
import { ReactNode, ComponentType } from 'react';
|
|
4
4
|
import { EventSourceMessage } from '@microsoft/fetch-event-source';
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
* Serialized Registry Types
|
|
8
|
-
*
|
|
9
|
-
* Pre-computed JSON-safe types for API responses and Command View.
|
|
10
|
-
* Serialization happens once at API startup, enabling instant response times.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Serialized agent definition (JSON-safe)
|
|
15
|
-
* Result of serializeDefinition(AgentDefinition)
|
|
16
|
-
*/
|
|
17
|
-
interface SerializedAgentDefinition {
|
|
18
|
-
config: {
|
|
19
|
-
resourceId: string;
|
|
20
|
-
name: string;
|
|
21
|
-
description: string;
|
|
22
|
-
version: string;
|
|
23
|
-
type: 'agent';
|
|
24
|
-
kind: 'orchestrator' | 'specialist' | 'utility' | 'system';
|
|
25
|
-
status: 'dev' | 'prod';
|
|
26
|
-
links?: ResourceLink[];
|
|
27
|
-
category?: ResourceCategory;
|
|
28
|
-
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
29
|
-
archived?: boolean;
|
|
30
|
-
systemPrompt: string;
|
|
31
|
-
constraints?: {
|
|
32
|
-
maxIterations?: number;
|
|
33
|
-
timeout?: number;
|
|
34
|
-
maxSessionMemoryKeys?: number;
|
|
35
|
-
maxMemoryTokens?: number;
|
|
36
|
-
};
|
|
37
|
-
sessionCapable?: boolean;
|
|
38
|
-
memoryPreferences?: string;
|
|
39
|
-
};
|
|
40
|
-
modelConfig: {
|
|
41
|
-
provider: string;
|
|
42
|
-
model: string;
|
|
43
|
-
apiKey: string;
|
|
44
|
-
temperature: number;
|
|
45
|
-
maxOutputTokens: number;
|
|
46
|
-
topP?: number;
|
|
47
|
-
modelOptions?: Record<string, unknown>;
|
|
48
|
-
};
|
|
49
|
-
contract: {
|
|
50
|
-
inputSchema: object;
|
|
51
|
-
outputSchema?: object;
|
|
52
|
-
};
|
|
53
|
-
tools: Array<{
|
|
54
|
-
name: string;
|
|
55
|
-
description: string;
|
|
56
|
-
inputSchema?: object;
|
|
57
|
-
outputSchema?: object;
|
|
58
|
-
}>;
|
|
59
|
-
knowledgeMap?: {
|
|
60
|
-
nodeCount: number;
|
|
61
|
-
nodes: Array<{
|
|
62
|
-
id: string;
|
|
63
|
-
description: string;
|
|
64
|
-
loaded: boolean;
|
|
65
|
-
hasPrompt: boolean;
|
|
66
|
-
}>;
|
|
67
|
-
};
|
|
68
|
-
metricsConfig?: object;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Serialized workflow definition (JSON-safe)
|
|
72
|
-
* Result of serializeDefinition(WorkflowDefinition)
|
|
73
|
-
*/
|
|
74
|
-
interface SerializedWorkflowDefinition {
|
|
75
|
-
config: {
|
|
76
|
-
resourceId: string;
|
|
77
|
-
name: string;
|
|
78
|
-
description: string;
|
|
79
|
-
version: string;
|
|
80
|
-
type: 'workflow';
|
|
81
|
-
status: 'dev' | 'prod';
|
|
82
|
-
links?: ResourceLink[];
|
|
83
|
-
category?: ResourceCategory;
|
|
84
|
-
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
85
|
-
archived?: boolean;
|
|
86
|
-
};
|
|
87
|
-
entryPoint: string;
|
|
88
|
-
steps: Array<{
|
|
89
|
-
id: string;
|
|
90
|
-
name: string;
|
|
91
|
-
description: string;
|
|
92
|
-
inputSchema?: object;
|
|
93
|
-
outputSchema?: object;
|
|
94
|
-
next: {
|
|
95
|
-
type: 'linear' | 'conditional';
|
|
96
|
-
target?: string;
|
|
97
|
-
routes?: Array<{
|
|
98
|
-
target: string;
|
|
99
|
-
}>;
|
|
100
|
-
default?: string;
|
|
101
|
-
} | null;
|
|
102
|
-
}>;
|
|
103
|
-
contract: {
|
|
104
|
-
inputSchema: object;
|
|
105
|
-
outputSchema?: object;
|
|
106
|
-
};
|
|
107
|
-
metricsConfig?: object;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
6
|
declare const ResourceKindSchema: z.ZodEnum<{
|
|
111
7
|
agent: "agent";
|
|
112
8
|
workflow: "workflow";
|
|
@@ -349,7 +245,15 @@ type ResourceEntry = z.infer<typeof ResourceEntrySchema>;
|
|
|
349
245
|
* Use-case agnostic types that describe the purpose of each entry
|
|
350
246
|
* Memory types mirror action types for clarity and filtering
|
|
351
247
|
*/
|
|
352
|
-
type MemoryEntryType = 'context' | 'input' | 'reasoning' | 'tool-result' | '
|
|
248
|
+
type MemoryEntryType = 'context' | 'input' | 'reasoning' | 'tool-result' | 'error';
|
|
249
|
+
/**
|
|
250
|
+
* Who authored an entry's content.
|
|
251
|
+
*
|
|
252
|
+
* This is what lets the assembled prompt tell framework-authored text apart from text that
|
|
253
|
+
* originated outside the trust boundary. `'framework'` content is ours; the other three are not
|
|
254
|
+
* and are rendered inside the JSON data envelope (see `MemoryManager.toContextParts`).
|
|
255
|
+
*/
|
|
256
|
+
type MemoryEntrySource = 'framework' | 'user' | 'tool' | 'model';
|
|
353
257
|
/**
|
|
354
258
|
* Memory entry - represents a single entry in agent memory
|
|
355
259
|
* Stored in agent memory, translated by adapters to vendor-specific formats
|
|
@@ -360,6 +264,41 @@ interface MemoryEntry {
|
|
|
360
264
|
timestamp: number;
|
|
361
265
|
turnNumber: number | null;
|
|
362
266
|
iterationNumber: number | null;
|
|
267
|
+
/**
|
|
268
|
+
* Provenance. **Optional on purpose** — `undefined` means unknown, which is what every
|
|
269
|
+
* pre-existing snapshot and every not-yet-redeployed tenant bundle produces. Read sites MUST
|
|
270
|
+
* test `== null`, never `=== undefined`: the `inTurnScope` predicate in `manager.ts` is the
|
|
271
|
+
* cautionary precedent, where a `=== undefined` check silently dropped every `null`-stamped
|
|
272
|
+
* entry. `isMemoryEntry` is deliberately NOT tightened to require this field; doing so would
|
|
273
|
+
* make every stored snapshot fail validation, and `restoreSessionMemory` fails open by
|
|
274
|
+
* starting the agent with empty memory rather than throwing.
|
|
275
|
+
*/
|
|
276
|
+
source?: MemoryEntrySource;
|
|
277
|
+
/**
|
|
278
|
+
* Which tool produced this entry. Set on `tool-result` entries so the model can tell N parallel
|
|
279
|
+
* results apart -- the framework instructs batching independent tool calls in one iteration, and
|
|
280
|
+
* an anonymous result is unattributable the moment two land in the same iteration. `addToolError`
|
|
281
|
+
* already carries this (folded into its `content` JSON); this is the same fact for the success
|
|
282
|
+
* path, carried as a real field instead of prose the caller has to parse back out.
|
|
283
|
+
*/
|
|
284
|
+
toolName?: string;
|
|
285
|
+
/**
|
|
286
|
+
* Present when `truncateContent` cut this entry's `content` to fit its token budget. A sibling
|
|
287
|
+
* field, never text appended into `content` -- the notice used to be spliced into the string
|
|
288
|
+
* itself, which could (and did) land inside a JSON string literal `truncateContent` had just cut
|
|
289
|
+
* open, breaking `JSON.parse` on the far end. Absent means never truncated.
|
|
290
|
+
*/
|
|
291
|
+
truncated?: {
|
|
292
|
+
omittedTokens: number;
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* Prompt-injection warning types found in `content`, screened once here -- when the entry is
|
|
296
|
+
* written -- instead of by re-scanning the whole accumulated envelope on every iteration it gets
|
|
297
|
+
* re-sent for (`screenRequest`'s `data-envelope` slot used to do exactly that). Empty array means
|
|
298
|
+
* screened and clean; `undefined` means never screened (entries that bypass `addToHistory`/`set`,
|
|
299
|
+
* or pre-existing snapshots from before this field existed).
|
|
300
|
+
*/
|
|
301
|
+
warnings?: string[];
|
|
363
302
|
}
|
|
364
303
|
/**
|
|
365
304
|
* Agent memory - Self-orchestrated memory with session + working storage
|
|
@@ -1745,6 +1684,121 @@ interface DashboardMetrics {
|
|
|
1745
1684
|
activeDeploymentVersion: string | null;
|
|
1746
1685
|
}
|
|
1747
1686
|
|
|
1687
|
+
/**
|
|
1688
|
+
* Agent-specific type definitions
|
|
1689
|
+
* Types for autonomous agents with tools, memory, and constraints
|
|
1690
|
+
*/
|
|
1691
|
+
|
|
1692
|
+
type AgentKind = 'orchestrator' | 'specialist' | 'utility' | 'platform';
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* Serialized Registry Types
|
|
1696
|
+
*
|
|
1697
|
+
* Pre-computed JSON-safe types for API responses and Command View.
|
|
1698
|
+
* Serialization happens once at API startup, enabling instant response times.
|
|
1699
|
+
*/
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Serialized agent definition (JSON-safe)
|
|
1703
|
+
* Result of serializeDefinition(AgentDefinition)
|
|
1704
|
+
*/
|
|
1705
|
+
interface SerializedAgentDefinition {
|
|
1706
|
+
config: {
|
|
1707
|
+
resourceId: string;
|
|
1708
|
+
name: string;
|
|
1709
|
+
description: string;
|
|
1710
|
+
version: string;
|
|
1711
|
+
type: 'agent';
|
|
1712
|
+
/**
|
|
1713
|
+
* Imported from the runtime type instead of hand-copied. It used to be a hand-written literal
|
|
1714
|
+
* union that said `'system'` where `AgentKind`'s fourth member is `'platform'` -- undetected
|
|
1715
|
+
* because `serializeDefinition` returns `any` and every call site casts the result to this
|
|
1716
|
+
* interface, so the literal union was never actually checked against real data. Deriving from
|
|
1717
|
+
* the source of truth makes that class of drift a type error instead of a silent typo.
|
|
1718
|
+
*/
|
|
1719
|
+
kind: AgentKind;
|
|
1720
|
+
status: 'dev' | 'prod';
|
|
1721
|
+
links?: ResourceLink[];
|
|
1722
|
+
category?: ResourceCategory;
|
|
1723
|
+
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
1724
|
+
archived?: boolean;
|
|
1725
|
+
systemPrompt: string;
|
|
1726
|
+
constraints?: {
|
|
1727
|
+
maxIterations?: number;
|
|
1728
|
+
timeout?: number;
|
|
1729
|
+
maxSessionMemoryKeys?: number;
|
|
1730
|
+
maxMemoryTokens?: number;
|
|
1731
|
+
};
|
|
1732
|
+
sessionCapable?: boolean;
|
|
1733
|
+
memoryPreferences?: string;
|
|
1734
|
+
};
|
|
1735
|
+
modelConfig: {
|
|
1736
|
+
provider: string;
|
|
1737
|
+
model: string;
|
|
1738
|
+
apiKey: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* Optional here, matching `ModelConfig` -- this used to be required even though neither real
|
|
1741
|
+
* agent literal in the monorepo (`local-test-agent`, the `createPlatformToolAgent` test fixture)
|
|
1742
|
+
* sets it, and nothing caught the mismatch for the same `serializeDefinition`-returns-`any`
|
|
1743
|
+
* reason `kind` drifted above.
|
|
1744
|
+
*/
|
|
1745
|
+
temperature?: number;
|
|
1746
|
+
maxOutputTokens?: number;
|
|
1747
|
+
topP?: number;
|
|
1748
|
+
modelOptions?: Record<string, unknown>;
|
|
1749
|
+
};
|
|
1750
|
+
contract: {
|
|
1751
|
+
inputSchema: object;
|
|
1752
|
+
outputSchema?: object;
|
|
1753
|
+
};
|
|
1754
|
+
tools: Array<{
|
|
1755
|
+
name: string;
|
|
1756
|
+
description: string;
|
|
1757
|
+
inputSchema?: object;
|
|
1758
|
+
outputSchema?: object;
|
|
1759
|
+
}>;
|
|
1760
|
+
metricsConfig?: object;
|
|
1761
|
+
}
|
|
1762
|
+
/**
|
|
1763
|
+
* Serialized workflow definition (JSON-safe)
|
|
1764
|
+
* Result of serializeDefinition(WorkflowDefinition)
|
|
1765
|
+
*/
|
|
1766
|
+
interface SerializedWorkflowDefinition {
|
|
1767
|
+
config: {
|
|
1768
|
+
resourceId: string;
|
|
1769
|
+
name: string;
|
|
1770
|
+
description: string;
|
|
1771
|
+
version: string;
|
|
1772
|
+
type: 'workflow';
|
|
1773
|
+
status: 'dev' | 'prod';
|
|
1774
|
+
links?: ResourceLink[];
|
|
1775
|
+
category?: ResourceCategory;
|
|
1776
|
+
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
1777
|
+
archived?: boolean;
|
|
1778
|
+
};
|
|
1779
|
+
entryPoint: string;
|
|
1780
|
+
steps: Array<{
|
|
1781
|
+
id: string;
|
|
1782
|
+
name: string;
|
|
1783
|
+
description: string;
|
|
1784
|
+
inputSchema?: object;
|
|
1785
|
+
outputSchema?: object;
|
|
1786
|
+
next: {
|
|
1787
|
+
type: 'linear' | 'conditional';
|
|
1788
|
+
target?: string;
|
|
1789
|
+
routes?: Array<{
|
|
1790
|
+
target: string;
|
|
1791
|
+
}>;
|
|
1792
|
+
default?: string;
|
|
1793
|
+
} | null;
|
|
1794
|
+
}>;
|
|
1795
|
+
contract: {
|
|
1796
|
+
inputSchema: object;
|
|
1797
|
+
outputSchema?: object;
|
|
1798
|
+
};
|
|
1799
|
+
metricsConfig?: object;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1748
1802
|
/**
|
|
1749
1803
|
* Base Execution Engine type definitions
|
|
1750
1804
|
* Core types shared across all Execution Engine resources
|
|
@@ -2165,6 +2219,12 @@ interface SessionConversationViewProps {
|
|
|
2165
2219
|
* and avoids a double-send.
|
|
2166
2220
|
*/
|
|
2167
2221
|
onPendingSent?: () => void;
|
|
2222
|
+
/**
|
|
2223
|
+
* Opt-in for agent-activity bubbles (reasoning, tool calls/results, errors).
|
|
2224
|
+
* Defaults to false: the session chat shows the conversation only, matching
|
|
2225
|
+
* PublicAgentChat. Pass true from a debugging surface that wants the trace.
|
|
2226
|
+
*/
|
|
2227
|
+
showAgentActivity?: boolean;
|
|
2168
2228
|
}
|
|
2169
2229
|
/**
|
|
2170
2230
|
* Shared session-detail chat body.
|
|
@@ -2177,7 +2237,7 @@ interface SessionConversationViewProps {
|
|
|
2177
2237
|
* connection is suppressed. The first submitted message is handed to onFirstSend, which
|
|
2178
2238
|
* creates the real session row, swaps the URL, and sends turn #1.
|
|
2179
2239
|
*/
|
|
2180
|
-
declare function SessionConversationView({ sessionId, apiUrl, onConnectionStateChange, emptyStateText, emptyStateSubtext, placeholder, onFirstSend, pendingFirstMessage, onPendingSent }: SessionConversationViewProps): react_jsx_runtime.JSX.Element;
|
|
2240
|
+
declare function SessionConversationView({ sessionId, apiUrl, onConnectionStateChange, emptyStateText, emptyStateSubtext, placeholder, onFirstSend, pendingFirstMessage, onPendingSent, showAgentActivity }: SessionConversationViewProps): react_jsx_runtime.JSX.Element;
|
|
2181
2241
|
|
|
2182
2242
|
interface SessionsPageProps {
|
|
2183
2243
|
/** Whether the organization context is ready; blocks render until true */
|
|
@@ -2300,6 +2360,17 @@ interface SessionHeaderProps {
|
|
|
2300
2360
|
* Header component for session chat page.
|
|
2301
2361
|
* Displays session title and connection status. Session details have moved to
|
|
2302
2362
|
* the Info view's SessionDetailsPanel, so there is no longer a sidebar toggle.
|
|
2363
|
+
*
|
|
2364
|
+
* TODO: wire up the context-usage bar. Real token data already exists end to end
|
|
2365
|
+
* — the API emits SessionTokenUsage (cumulativeInputTokens / cumulativeOutputTokens /
|
|
2366
|
+
* contextWindowSize) on the `turn:complete` WebSocket event, and useSessionWebSocket
|
|
2367
|
+
* exposes it as `lastTokenUsage`. It is not reachable from here: this header renders
|
|
2368
|
+
* above SessionChatInterface, while the WS hook lives inside the injected conversation
|
|
2369
|
+
* view below it. To finish, lift `lastTokenUsage` out of the conversation view (mirror
|
|
2370
|
+
* the `onTokenUsage` callback that command-center's ConversationView already uses) and
|
|
2371
|
+
* pass `{ used: cumulativeInput + cumulativeOutput, total: contextWindowSize }` as
|
|
2372
|
+
* `tokenUsage`. Until then the prop stays unset and ChatHeader hides the bar — a mock
|
|
2373
|
+
* 45000/128000 constant used to live here and displayed a permanent, meaningless 35%.
|
|
2303
2374
|
*/
|
|
2304
2375
|
declare function SessionHeader({ session: _session, connectionState, tokenUsage }: SessionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2305
2376
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-
|
|
1
|
+
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-ANNM5R7S.js';
|
|
2
2
|
import '../../chunk-4OEVLV66.js';
|
|
3
3
|
import '../../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-6ZAP3FOA.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../../chunk-XNW3O6QW.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-L7BZZ4SI.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-62GVNH5U.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-P45GQ3ZW.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
15
|
import '../../chunk-JFBZ6XDW.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-BLXJEIQS.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-RT4KRGZT.js';
|
|
22
22
|
import '../../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../../chunk-
|
|
24
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../../chunk-6SSQGWK7.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../../chunk-TVTSASST.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WebSocketSessionTurnSchema, getWebSocketBaseUrl, createLiveTempMessageIdentity, formatMessageEvent, mergeSessionMessages } from '../../chunk-M7WWRZ5Z.js';
|
|
2
2
|
import { ChatInterface } from '../../chunk-JFBZ6XDW.js';
|
|
3
|
-
import { WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, validateTokenLimit, TOKEN_LIMITS } from '../../chunk-
|
|
3
|
+
import { WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, validateTokenLimit, TOKEN_LIMITS } from '../../chunk-Y6I3IC45.js';
|
|
4
4
|
import { UuidSchema } from '../../chunk-TVTSASST.js';
|
|
5
5
|
import '../../chunk-I2KLQ2HA.js';
|
|
6
6
|
import { Center, Loader, Paper, Stack, Group, Title, Alert, PasswordInput, Button, Text, List, TextInput, Box, Badge, Divider } from '@mantine/core';
|
|
@@ -2746,6 +2746,7 @@ type Database = {
|
|
|
2746
2746
|
deleted_at: string | null;
|
|
2747
2747
|
ended_at: string | null;
|
|
2748
2748
|
memory_snapshot: Json;
|
|
2749
|
+
memory_version: number;
|
|
2749
2750
|
metadata: Json | null;
|
|
2750
2751
|
organization_id: string;
|
|
2751
2752
|
resource_id: string;
|
|
@@ -2762,6 +2763,7 @@ type Database = {
|
|
|
2762
2763
|
deleted_at?: string | null;
|
|
2763
2764
|
ended_at?: string | null;
|
|
2764
2765
|
memory_snapshot: Json;
|
|
2766
|
+
memory_version?: number;
|
|
2765
2767
|
metadata?: Json | null;
|
|
2766
2768
|
organization_id: string;
|
|
2767
2769
|
resource_id: string;
|
|
@@ -2778,6 +2780,7 @@ type Database = {
|
|
|
2778
2780
|
deleted_at?: string | null;
|
|
2779
2781
|
ended_at?: string | null;
|
|
2780
2782
|
memory_snapshot?: Json;
|
|
2783
|
+
memory_version?: number;
|
|
2781
2784
|
metadata?: Json | null;
|
|
2782
2785
|
organization_id?: string;
|
|
2783
2786
|
resource_id?: string;
|
|
@@ -3115,9 +3118,14 @@ type Database = {
|
|
|
3115
3118
|
p_session_id: string;
|
|
3116
3119
|
};
|
|
3117
3120
|
Returns: {
|
|
3121
|
+
context_window_size: number;
|
|
3118
3122
|
created_at: string;
|
|
3123
|
+
cumulative_input_tokens: number;
|
|
3124
|
+
cumulative_output_tokens: number;
|
|
3125
|
+
deleted_at: string;
|
|
3119
3126
|
ended_at: string;
|
|
3120
3127
|
memory_snapshot: Json;
|
|
3128
|
+
memory_version: number;
|
|
3121
3129
|
metadata: Json;
|
|
3122
3130
|
organization_id: string;
|
|
3123
3131
|
resource_id: string;
|
|
@@ -3159,6 +3167,18 @@ type Database = {
|
|
|
3159
3167
|
};
|
|
3160
3168
|
Returns: boolean;
|
|
3161
3169
|
};
|
|
3170
|
+
increment_session_tokens: {
|
|
3171
|
+
Args: {
|
|
3172
|
+
p_input_tokens: number;
|
|
3173
|
+
p_output_tokens: number;
|
|
3174
|
+
p_session_id: string;
|
|
3175
|
+
};
|
|
3176
|
+
Returns: {
|
|
3177
|
+
context_window_size: number;
|
|
3178
|
+
cumulative_input_tokens: number;
|
|
3179
|
+
cumulative_output_tokens: number;
|
|
3180
|
+
}[];
|
|
3181
|
+
};
|
|
3162
3182
|
is_org_member: {
|
|
3163
3183
|
Args: {
|
|
3164
3184
|
org_id: string;
|
|
@@ -3398,6 +3418,7 @@ interface OrganizationSettingsProps {
|
|
|
3398
3418
|
declare function OrganizationSettings({ user, currentMembership, isOrgAdmin }: OrganizationSettingsProps): react_jsx_runtime.JSX.Element;
|
|
3399
3419
|
|
|
3400
3420
|
interface OrgMembersListProps {
|
|
3421
|
+
/** Supabase organization UUID. Kept as a plain string prop for backward compatibility; branded at the hook boundary internally. */
|
|
3401
3422
|
orgId: string;
|
|
3402
3423
|
}
|
|
3403
3424
|
declare function OrgMembersList({ orgId }: OrgMembersListProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-
|
|
1
|
+
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-ANNM5R7S.js';
|
|
2
2
|
import '../../chunk-4OEVLV66.js';
|
|
3
3
|
import '../../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-6ZAP3FOA.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../../chunk-XNW3O6QW.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-L7BZZ4SI.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-62GVNH5U.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-P45GQ3ZW.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
15
|
import '../../chunk-JFBZ6XDW.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-BLXJEIQS.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-RT4KRGZT.js';
|
|
22
22
|
import '../../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../../chunk-
|
|
24
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../../chunk-6SSQGWK7.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../../chunk-TVTSASST.js';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { AccessKeys, useAccess } from '../../chunk-
|
|
1
|
+
export { AccessKeys, useAccess } from '../../chunk-ANNM5R7S.js';
|
|
2
2
|
import '../../chunk-4OEVLV66.js';
|
|
3
3
|
import '../../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-6ZAP3FOA.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../../chunk-XNW3O6QW.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-L7BZZ4SI.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-62GVNH5U.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-P45GQ3ZW.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
15
|
import '../../chunk-JFBZ6XDW.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-BLXJEIQS.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-RT4KRGZT.js';
|
|
22
22
|
import '../../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../../chunk-
|
|
24
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../../chunk-6SSQGWK7.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../../chunk-TVTSASST.js';
|
|
@@ -2744,6 +2744,7 @@ type Database = {
|
|
|
2744
2744
|
deleted_at: string | null;
|
|
2745
2745
|
ended_at: string | null;
|
|
2746
2746
|
memory_snapshot: Json;
|
|
2747
|
+
memory_version: number;
|
|
2747
2748
|
metadata: Json | null;
|
|
2748
2749
|
organization_id: string;
|
|
2749
2750
|
resource_id: string;
|
|
@@ -2760,6 +2761,7 @@ type Database = {
|
|
|
2760
2761
|
deleted_at?: string | null;
|
|
2761
2762
|
ended_at?: string | null;
|
|
2762
2763
|
memory_snapshot: Json;
|
|
2764
|
+
memory_version?: number;
|
|
2763
2765
|
metadata?: Json | null;
|
|
2764
2766
|
organization_id: string;
|
|
2765
2767
|
resource_id: string;
|
|
@@ -2776,6 +2778,7 @@ type Database = {
|
|
|
2776
2778
|
deleted_at?: string | null;
|
|
2777
2779
|
ended_at?: string | null;
|
|
2778
2780
|
memory_snapshot?: Json;
|
|
2781
|
+
memory_version?: number;
|
|
2779
2782
|
metadata?: Json | null;
|
|
2780
2783
|
organization_id?: string;
|
|
2781
2784
|
resource_id?: string;
|
|
@@ -3113,9 +3116,14 @@ type Database = {
|
|
|
3113
3116
|
p_session_id: string;
|
|
3114
3117
|
};
|
|
3115
3118
|
Returns: {
|
|
3119
|
+
context_window_size: number;
|
|
3116
3120
|
created_at: string;
|
|
3121
|
+
cumulative_input_tokens: number;
|
|
3122
|
+
cumulative_output_tokens: number;
|
|
3123
|
+
deleted_at: string;
|
|
3117
3124
|
ended_at: string;
|
|
3118
3125
|
memory_snapshot: Json;
|
|
3126
|
+
memory_version: number;
|
|
3119
3127
|
metadata: Json;
|
|
3120
3128
|
organization_id: string;
|
|
3121
3129
|
resource_id: string;
|
|
@@ -3157,6 +3165,18 @@ type Database = {
|
|
|
3157
3165
|
};
|
|
3158
3166
|
Returns: boolean;
|
|
3159
3167
|
};
|
|
3168
|
+
increment_session_tokens: {
|
|
3169
|
+
Args: {
|
|
3170
|
+
p_input_tokens: number;
|
|
3171
|
+
p_output_tokens: number;
|
|
3172
|
+
p_session_id: string;
|
|
3173
|
+
};
|
|
3174
|
+
Returns: {
|
|
3175
|
+
context_window_size: number;
|
|
3176
|
+
cumulative_input_tokens: number;
|
|
3177
|
+
cumulative_output_tokens: number;
|
|
3178
|
+
}[];
|
|
3179
|
+
};
|
|
3160
3180
|
is_org_member: {
|
|
3161
3181
|
Args: {
|
|
3162
3182
|
org_id: string;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-
|
|
1
|
+
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-ANNM5R7S.js';
|
|
2
2
|
import '../../chunk-4OEVLV66.js';
|
|
3
3
|
import '../../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-6ZAP3FOA.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
8
|
import '../../chunk-XNW3O6QW.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-L7BZZ4SI.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-62GVNH5U.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-P45GQ3ZW.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
15
|
import '../../chunk-JFBZ6XDW.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-BLXJEIQS.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-RT4KRGZT.js';
|
|
22
22
|
import '../../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../../chunk-
|
|
24
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../../chunk-6SSQGWK7.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../../chunk-TVTSASST.js';
|