@m6d/cortex 0.13.0 → 0.13.1
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/index.d.ts +42 -18
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5347,16 +5347,16 @@ export type ManagementProcedures = {
|
|
|
5347
5347
|
};
|
|
5348
5348
|
threadId: string | null;
|
|
5349
5349
|
threadTitle: string | null;
|
|
5350
|
-
result: unknown;
|
|
5351
5350
|
waits: Array<{
|
|
5352
5351
|
kind: "approval" | "client_tool";
|
|
5353
5352
|
toolCallId: string;
|
|
5354
5353
|
toolName: string;
|
|
5355
5354
|
input: unknown;
|
|
5356
5355
|
}>;
|
|
5356
|
+
result: unknown;
|
|
5357
5357
|
};
|
|
5358
5358
|
};
|
|
5359
|
-
/** Token and message usage of the agents the caller may read: totals and per
|
|
5359
|
+
/** Token and message usage of the agents the caller may read: totals and per server, agent and day, optionally for one agent within a day range. */
|
|
5360
5360
|
"observability.getUsage": {
|
|
5361
5361
|
input: {
|
|
5362
5362
|
dateFrom?: string;
|
|
@@ -5375,22 +5375,6 @@ export type ManagementProcedures = {
|
|
|
5375
5375
|
threads: number;
|
|
5376
5376
|
activeUsers: number;
|
|
5377
5377
|
};
|
|
5378
|
-
perUser: Array<{
|
|
5379
|
-
scopeId: string;
|
|
5380
|
-
scope: {
|
|
5381
|
-
name: string;
|
|
5382
|
-
displayName: Partial<Record<"en" | "ar", string>>;
|
|
5383
|
-
};
|
|
5384
|
-
userId: string;
|
|
5385
|
-
triggerName: string | null;
|
|
5386
|
-
threads: number;
|
|
5387
|
-
inputTokens: number;
|
|
5388
|
-
cacheReadTokens: number;
|
|
5389
|
-
cacheWriteTokens: number;
|
|
5390
|
-
outputTokens: number;
|
|
5391
|
-
totalTokens: number;
|
|
5392
|
-
messages: number;
|
|
5393
|
-
}>;
|
|
5394
5378
|
perServer: Array<{
|
|
5395
5379
|
serverId: string | null;
|
|
5396
5380
|
server: {
|
|
@@ -5523,6 +5507,12 @@ export type ManagementProcedures = {
|
|
|
5523
5507
|
};
|
|
5524
5508
|
threadId: string | null;
|
|
5525
5509
|
threadTitle: string | null;
|
|
5510
|
+
waits: Array<{
|
|
5511
|
+
kind: "approval" | "client_tool";
|
|
5512
|
+
toolCallId: string;
|
|
5513
|
+
toolName: string;
|
|
5514
|
+
input: unknown;
|
|
5515
|
+
}>;
|
|
5526
5516
|
}>;
|
|
5527
5517
|
/** Every row the caller may see, ignoring the search and filters. */
|
|
5528
5518
|
count: number;
|
|
@@ -5651,6 +5641,40 @@ export type ManagementProcedures = {
|
|
|
5651
5641
|
filteredCount: number;
|
|
5652
5642
|
};
|
|
5653
5643
|
};
|
|
5644
|
+
/** Each end user's token and message usage and threads, most tokens first, with pagination, search by user id, and the usage summary's filters. */
|
|
5645
|
+
"observability.listUsageUsers": {
|
|
5646
|
+
input: {
|
|
5647
|
+
pageIndex?: number;
|
|
5648
|
+
pageSize?: number;
|
|
5649
|
+
q?: string;
|
|
5650
|
+
dateFrom?: string;
|
|
5651
|
+
dateTo?: string;
|
|
5652
|
+
agentId?: string;
|
|
5653
|
+
includeTest?: boolean;
|
|
5654
|
+
};
|
|
5655
|
+
output: {
|
|
5656
|
+
items: Array<{
|
|
5657
|
+
scopeId: string;
|
|
5658
|
+
scope: {
|
|
5659
|
+
name: string;
|
|
5660
|
+
displayName: Partial<Record<"en" | "ar", string>>;
|
|
5661
|
+
};
|
|
5662
|
+
userId: string;
|
|
5663
|
+
triggerName: string | null;
|
|
5664
|
+
threads: number;
|
|
5665
|
+
inputTokens: number;
|
|
5666
|
+
cacheReadTokens: number;
|
|
5667
|
+
cacheWriteTokens: number;
|
|
5668
|
+
outputTokens: number;
|
|
5669
|
+
totalTokens: number;
|
|
5670
|
+
messages: number;
|
|
5671
|
+
}>;
|
|
5672
|
+
/** Every row the caller may see, ignoring the search and filters. */
|
|
5673
|
+
count: number;
|
|
5674
|
+
/** The rows matching the search and filters, over all pages: the total to report. */
|
|
5675
|
+
filteredCount: number;
|
|
5676
|
+
};
|
|
5677
|
+
};
|
|
5654
5678
|
/** Ids of tools whose recent executions exceed the failure threshold. */
|
|
5655
5679
|
"observability.unhealthyToolIds": {
|
|
5656
5680
|
input: undefined;
|
package/dist/index.js
CHANGED
|
@@ -14111,6 +14111,7 @@ var managementProcedureKinds = {
|
|
|
14111
14111
|
"observability.listSkillMisses": "query",
|
|
14112
14112
|
"observability.listSkillUsage": "query",
|
|
14113
14113
|
"observability.listToolHealth": "query",
|
|
14114
|
+
"observability.listUsageUsers": "query",
|
|
14114
14115
|
"observability.unhealthyToolIds": "query",
|
|
14115
14116
|
"observability.unusedSkillIds": "query",
|
|
14116
14117
|
"observability.updateSchemaDrift": "mutation",
|
package/package.json
CHANGED