@burdenoff/microfe-botmanor 2026.1120.7 → 2026.1120.8
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/botlit/components/DashboardUsagePanel.d.ts +8 -0
- package/dist/botlit/components/DashboardUsagePanel.js +277 -0
- package/dist/botlit/components/DashboardUsagePanel.js.map +1 -0
- package/dist/botlit/components/LiveIndicator.d.ts +9 -0
- package/dist/botlit/components/LiveIndicator.js +21 -0
- package/dist/botlit/components/LiveIndicator.js.map +1 -0
- package/dist/botlit/components/RunStatsCard.d.ts +9 -0
- package/dist/botlit/components/RunStatsCard.js +138 -0
- package/dist/botlit/components/RunStatsCard.js.map +1 -0
- package/dist/botlit/hooks/useExecutionLiveUpdates.d.ts +29 -0
- package/dist/botlit/hooks/useExecutionLiveUpdates.js +124 -0
- package/dist/botlit/hooks/useExecutionLiveUpdates.js.map +1 -0
- package/dist/botlit/hooks/useUsageStats.d.ts +71 -0
- package/dist/botlit/hooks/useUsageStats.js +115 -0
- package/dist/botlit/hooks/useUsageStats.js.map +1 -0
- package/dist/botlit/pages/AgentDetailPage.js +48 -43
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/BotDetailPage.js +317 -309
- package/dist/botlit/pages/BotDetailPage.js.map +1 -1
- package/dist/botlit/pages/DashboardPage.js +155 -153
- package/dist/botlit/pages/DashboardPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionDetailPage.js +142 -132
- package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionsPage.js +150 -141
- package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
- package/dist/botlit/pages/PromptStudioPage.js +172 -172
- package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
- package/dist/botlit/permissions/botmanorPermissions.d.ts +1 -0
- package/dist/botlit/permissions/botmanorPermissions.js +1 -0
- package/dist/botlit/permissions/botmanorPermissions.js.map +1 -1
- package/dist/botlit/utils/formatters.js +6 -2
- package/dist/botlit/utils/formatters.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +264 -0
- package/dist/generated/wspace-operations.js +95 -6
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +98 -0
- package/dist/generated/wspace-types.js +8 -4
- package/dist/generated/wspace-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -2401,11 +2401,17 @@ export type AgentStats = {
|
|
|
2401
2401
|
agentId: Scalars['ID']['output'];
|
|
2402
2402
|
avgDurationMs?: Maybe<Scalars['Float']['output']>;
|
|
2403
2403
|
failedExecutions: Scalars['Int']['output'];
|
|
2404
|
+
inProgressExecutions: Scalars['Int']['output'];
|
|
2404
2405
|
lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2406
|
+
pricedExecutions: Scalars['Int']['output'];
|
|
2407
|
+
successRate?: Maybe<Scalars['Float']['output']>;
|
|
2405
2408
|
successfulExecutions: Scalars['Int']['output'];
|
|
2406
2409
|
totalCost: Scalars['Float']['output'];
|
|
2407
2410
|
totalExecutions: Scalars['Int']['output'];
|
|
2411
|
+
totalTokens: Scalars['Float']['output'];
|
|
2408
2412
|
updatedAt: Scalars['DateTime']['output'];
|
|
2413
|
+
windowEnd?: Maybe<Scalars['DateTime']['output']>;
|
|
2414
|
+
windowStart?: Maybe<Scalars['DateTime']['output']>;
|
|
2409
2415
|
};
|
|
2410
2416
|
export type AgentTaskExecution = {
|
|
2411
2417
|
__typename?: 'AgentTaskExecution';
|
|
@@ -11078,11 +11084,17 @@ export type BotAppStats = {
|
|
|
11078
11084
|
avgDurationMs?: Maybe<Scalars['Float']['output']>;
|
|
11079
11085
|
botAppId: Scalars['ID']['output'];
|
|
11080
11086
|
failedExecutions: Scalars['Int']['output'];
|
|
11087
|
+
inProgressExecutions: Scalars['Int']['output'];
|
|
11081
11088
|
lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
11089
|
+
pricedExecutions: Scalars['Int']['output'];
|
|
11090
|
+
successRate?: Maybe<Scalars['Float']['output']>;
|
|
11082
11091
|
successfulExecutions: Scalars['Int']['output'];
|
|
11083
11092
|
totalCost: Scalars['Float']['output'];
|
|
11084
11093
|
totalExecutions: Scalars['Int']['output'];
|
|
11094
|
+
totalTokens: Scalars['Float']['output'];
|
|
11085
11095
|
updatedAt: Scalars['DateTime']['output'];
|
|
11096
|
+
windowEnd?: Maybe<Scalars['DateTime']['output']>;
|
|
11097
|
+
windowStart?: Maybe<Scalars['DateTime']['output']>;
|
|
11086
11098
|
};
|
|
11087
11099
|
export declare enum BotAppStatus {
|
|
11088
11100
|
Active = "ACTIVE",
|
|
@@ -31264,6 +31276,74 @@ export declare enum DlqStatus {
|
|
|
31264
31276
|
Pending = "PENDING",
|
|
31265
31277
|
Resolved = "RESOLVED"
|
|
31266
31278
|
}
|
|
31279
|
+
/** Breakdown of a daily usage query */
|
|
31280
|
+
export declare enum DailyUsageDimension {
|
|
31281
|
+
/** One row per day per agent (runs without an agent are left out) */
|
|
31282
|
+
Agent = "AGENT",
|
|
31283
|
+
/** One row per day per bot (runs without a bot are left out) */
|
|
31284
|
+
App = "APP",
|
|
31285
|
+
/** One row per day for the whole workspace */
|
|
31286
|
+
Workspace = "WORKSPACE"
|
|
31287
|
+
}
|
|
31288
|
+
/** Time bucketing of a daily usage query */
|
|
31289
|
+
export declare enum DailyUsageInterval {
|
|
31290
|
+
/** One row per UTC day */
|
|
31291
|
+
Day = "DAY",
|
|
31292
|
+
/** One row per breakdown key over the whole window */
|
|
31293
|
+
Window = "WINDOW"
|
|
31294
|
+
}
|
|
31295
|
+
/**
|
|
31296
|
+
* Runs, outcomes, tokens, cost and latency for one UTC day (or one window), for
|
|
31297
|
+
* the whole workspace or for one agent or bot (BOFF-15360). Counted from the
|
|
31298
|
+
* execution ledger in the database.
|
|
31299
|
+
*/
|
|
31300
|
+
export type DailyUsageStats = {
|
|
31301
|
+
__typename?: 'DailyUsageStats';
|
|
31302
|
+
/** Agent the row covers (AGENT breakdown only) */
|
|
31303
|
+
agentId?: Maybe<Scalars['ID']['output']>;
|
|
31304
|
+
/** Name of that agent, when it still exists */
|
|
31305
|
+
agentName?: Maybe<Scalars['String']['output']>;
|
|
31306
|
+
/** Bot the row covers (APP breakdown only) */
|
|
31307
|
+
appId?: Maybe<Scalars['ID']['output']>;
|
|
31308
|
+
/** Name of that bot, when it still exists */
|
|
31309
|
+
appName?: Maybe<Scalars['String']['output']>;
|
|
31310
|
+
/** Mean duration of the runs that recorded one, in milliseconds */
|
|
31311
|
+
avgDurationMs?: Maybe<Scalars['Float']['output']>;
|
|
31312
|
+
/** UTC day as YYYY-MM-DD; for WINDOW rows, the day the window starts */
|
|
31313
|
+
date: Scalars['String']['output'];
|
|
31314
|
+
/** Runs started */
|
|
31315
|
+
executionCount: Scalars['Int']['output'];
|
|
31316
|
+
/** Runs that finished FAILED or TIMEOUT */
|
|
31317
|
+
failureCount: Scalars['Int']['output'];
|
|
31318
|
+
/** Runs still PENDING or RUNNING */
|
|
31319
|
+
inProgressCount: Scalars['Int']['output'];
|
|
31320
|
+
/** Latest run start in the row */
|
|
31321
|
+
lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
31322
|
+
/** Runs that recorded a cost */
|
|
31323
|
+
pricedRuns: Scalars['Int']['output'];
|
|
31324
|
+
/** Runs that finished COMPLETED */
|
|
31325
|
+
successCount: Scalars['Int']['output'];
|
|
31326
|
+
/** successCount / (successCount + failureCount); null when no run finished */
|
|
31327
|
+
successRate?: Maybe<Scalars['Float']['output']>;
|
|
31328
|
+
/** Sum of the recorded costs; null when no run recorded one */
|
|
31329
|
+
totalCost?: Maybe<Scalars['Float']['output']>;
|
|
31330
|
+
/** Sum of the recorded token totals */
|
|
31331
|
+
totalTokens: Scalars['Float']['output'];
|
|
31332
|
+
};
|
|
31333
|
+
export type DailyUsageStatsFilterInput = {
|
|
31334
|
+
/** Only runs of this agent */
|
|
31335
|
+
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
31336
|
+
/** Only runs of this bot */
|
|
31337
|
+
appId?: InputMaybe<Scalars['ID']['input']>;
|
|
31338
|
+
/** Breakdown; WORKSPACE when omitted */
|
|
31339
|
+
dimension?: InputMaybe<DailyUsageDimension>;
|
|
31340
|
+
/** Window end (exclusive). Defaults to now. A window may span at most 366 days. */
|
|
31341
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
31342
|
+
/** Bucketing; DAY when omitted */
|
|
31343
|
+
interval?: InputMaybe<DailyUsageInterval>;
|
|
31344
|
+
/** Window start (inclusive). Defaults to 30 days before endDate. */
|
|
31345
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
31346
|
+
};
|
|
31267
31347
|
export type DashboardOverview = {
|
|
31268
31348
|
__typename?: 'DashboardOverview';
|
|
31269
31349
|
openIncidents: Scalars['Int']['output'];
|
|
@@ -128728,6 +128808,8 @@ export type Query = {
|
|
|
128728
128808
|
getContentIndexStats: ContentIndexStats;
|
|
128729
128809
|
/** Get all content indexes for a workspace */
|
|
128730
128810
|
getContentIndexes: FileContentIndexList;
|
|
128811
|
+
/** Daily (or per-window) run statistics for the workspace, per agent or per bot. At most 5000 rows. */
|
|
128812
|
+
getDailyUsageStats: Array<DailyUsageStats>;
|
|
128731
128813
|
/** Get a dashboard by ID */
|
|
128732
128814
|
getDashboard?: Maybe<BigConsoleDashboard>;
|
|
128733
128815
|
/** Get one embed policy the caller owns (owner-checked in the resolver). */
|
|
@@ -139574,6 +139656,8 @@ export type QueryGetAgentBindingsArgs = {
|
|
|
139574
139656
|
*/
|
|
139575
139657
|
export type QueryGetAgentStatsArgs = {
|
|
139576
139658
|
agentId: Scalars['ID']['input'];
|
|
139659
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
139660
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
139577
139661
|
};
|
|
139578
139662
|
/**
|
|
139579
139663
|
* Base Query type with placeholder field.
|
|
@@ -139767,6 +139851,8 @@ export type QueryGetBotAppArgs = {
|
|
|
139767
139851
|
*/
|
|
139768
139852
|
export type QueryGetBotAppStatsArgs = {
|
|
139769
139853
|
botAppId: Scalars['ID']['input'];
|
|
139854
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
139855
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
139770
139856
|
};
|
|
139771
139857
|
/**
|
|
139772
139858
|
* Base Query type with placeholder field.
|
|
@@ -139991,6 +140077,13 @@ export type QueryGetContentIndexesArgs = {
|
|
|
139991
140077
|
filter?: InputMaybe<ContentIndexFilterInput>;
|
|
139992
140078
|
pagination?: InputMaybe<PaginationInput>;
|
|
139993
140079
|
};
|
|
140080
|
+
/**
|
|
140081
|
+
* Base Query type with placeholder field.
|
|
140082
|
+
* Extended by individual query files.
|
|
140083
|
+
*/
|
|
140084
|
+
export type QueryGetDailyUsageStatsArgs = {
|
|
140085
|
+
filter?: InputMaybe<DailyUsageStatsFilterInput>;
|
|
140086
|
+
};
|
|
139994
140087
|
/**
|
|
139995
140088
|
* Base Query type with placeholder field.
|
|
139996
140089
|
* Extended by individual query files.
|
|
@@ -166910,6 +167003,11 @@ export type Subscription = {
|
|
|
166910
167003
|
agentStatusChanged: VibecontrolsAgent;
|
|
166911
167004
|
/** Subscribe to batch download progress updates */
|
|
166912
167005
|
batchDownloadProgress: BatchDownload;
|
|
167006
|
+
/**
|
|
167007
|
+
* Every execution status change in the caller's workspace (created, running,
|
|
167008
|
+
* finished). Lets the executions list update live without one stream per run.
|
|
167009
|
+
*/
|
|
167010
|
+
botmanorExecutionUpdated: Execution;
|
|
166913
167011
|
callParticipantChanged: CallParticipantChangedPayload;
|
|
166914
167012
|
callStateChanged: CallSession;
|
|
166915
167013
|
/** Subscribe to cleanup execution events */
|
|
@@ -6,14 +6,18 @@ var e = /* @__PURE__ */ function(e) {
|
|
|
6
6
|
}({}), n = /* @__PURE__ */ function(e) {
|
|
7
7
|
return e.Accepted = "ACCEPTED", e.Assigned = "ASSIGNED", e.Expired = "EXPIRED", e.Rejected = "REJECTED", e.Released = "RELEASED", e.Requested = "REQUESTED", e.Resolved = "RESOLVED", e;
|
|
8
8
|
}({}), r = /* @__PURE__ */ function(e) {
|
|
9
|
-
return e.
|
|
9
|
+
return e.Agent = "AGENT", e.App = "APP", e.Workspace = "WORKSPACE", e;
|
|
10
10
|
}({}), i = /* @__PURE__ */ function(e) {
|
|
11
|
-
return e.
|
|
11
|
+
return e.Day = "DAY", e.Window = "WINDOW", e;
|
|
12
12
|
}({}), a = /* @__PURE__ */ function(e) {
|
|
13
|
-
return e.
|
|
13
|
+
return e.Cancelled = "CANCELLED", e.Completed = "COMPLETED", e.Failed = "FAILED", e.Pending = "PENDING", e.Running = "RUNNING", e.Timeout = "TIMEOUT", e;
|
|
14
14
|
}({}), o = /* @__PURE__ */ function(e) {
|
|
15
|
+
return e.Forked = "FORKED", e.Linked = "LINKED", e;
|
|
16
|
+
}({}), s = /* @__PURE__ */ function(e) {
|
|
17
|
+
return e.A2AAgent = "A2A_AGENT", e.Agent = "AGENT", e.App = "APP", e.ChannelTemplate = "CHANNEL_TEMPLATE", e.Integration = "INTEGRATION", e.KbTemplate = "KB_TEMPLATE", e.KnowledgeBase = "KNOWLEDGE_BASE", e.McpPack = "MCP_PACK", e.PolicyBundle = "POLICY_BUNDLE", e.Prompt = "PROMPT", e.PromptTemplate = "PROMPT_TEMPLATE", e.RetrievalProfile = "RETRIEVAL_PROFILE", e.Skill = "SKILL", e.Template = "TEMPLATE", e.Tool = "TOOL", e.Workflow = "WORKFLOW", e;
|
|
18
|
+
}({}), c = /* @__PURE__ */ function(e) {
|
|
15
19
|
return e.Major = "MAJOR", e.Minor = "MINOR", e.Patch = "PATCH", e;
|
|
16
20
|
}({});
|
|
17
|
-
export { e as AiPredictionStatus, t as BotmanorHandoffFallbackBehavior, n as BotmanorHandoffStatus, r as
|
|
21
|
+
export { e as AiPredictionStatus, t as BotmanorHandoffFallbackBehavior, n as BotmanorHandoffStatus, r as DailyUsageDimension, i as DailyUsageInterval, a as ExecutionStatus, o as InstallMode, s as PackageKind, c as PromptVersionBump };
|
|
18
22
|
|
|
19
23
|
//# sourceMappingURL=wspace-types.js.map
|