@legendsoflearning/lol-sdk-core 0.0.2 → 0.0.3
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/generated/agents/index.d.mts +6 -4
- package/dist/generated/agents/index.d.ts +6 -4
- package/dist/generated/agents/index.js +4 -4
- package/dist/generated/agents/index.js.map +1 -1
- package/dist/generated/agents/index.mjs +4 -4
- package/dist/generated/agents/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1216,6 +1216,7 @@ type GetAgentsScheduleQuery = {
|
|
|
1216
1216
|
type GetAgentsConversationsQueryVariables = Exact<{
|
|
1217
1217
|
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
1218
1218
|
status?: InputMaybe<ConversationStatus>;
|
|
1219
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1219
1220
|
}>;
|
|
1220
1221
|
type GetAgentsConversationsQuery = {
|
|
1221
1222
|
__typename?: 'RootQueryType';
|
|
@@ -1286,6 +1287,7 @@ type GetAgentsRunsQueryVariables = Exact<{
|
|
|
1286
1287
|
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
1287
1288
|
conversationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1288
1289
|
status?: InputMaybe<RunStatus>;
|
|
1290
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1289
1291
|
}>;
|
|
1290
1292
|
type GetAgentsRunsQuery = {
|
|
1291
1293
|
__typename?: 'RootQueryType';
|
|
@@ -1560,9 +1562,9 @@ type Documents = {
|
|
|
1560
1562
|
"\n query GetAgentsToolCategories {\n agentsToolCategories {\n id\n name\n description\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsToolCategoriesDocument;
|
|
1561
1563
|
"\n query GetAgentsSchedules($agentId: ID, $enabledOnly: Boolean) {\n agentsSchedules(agentId: $agentId, enabledOnly: $enabledOnly) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n taskType\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsSchedulesDocument;
|
|
1562
1564
|
"\n query GetAgentsSchedule($id: ID!) {\n agentsSchedule(id: $id) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsScheduleDocument;
|
|
1563
|
-
"\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsConversationsDocument;
|
|
1565
|
+
"\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus, $limit: Int) {\n agentsConversations(agentId: $agentId, status: $status, limit: $limit) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsConversationsDocument;
|
|
1564
1566
|
"\n query GetAgentsConversation($id: ID!) {\n agentsConversation(id: $id) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n messages {\n id\n role\n content\n contentType\n insertedAt\n }\n runs {\n id\n status\n modelUsed\n startedAt\n completedAt\n }\n }\n }\n": typeof GetAgentsConversationDocument;
|
|
1565
|
-
"\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n": typeof GetAgentsRunsDocument;
|
|
1567
|
+
"\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus, $limit: Int) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status, limit: $limit) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n": typeof GetAgentsRunsDocument;
|
|
1566
1568
|
"\n query GetAgentsRun($id: ID!) {\n agentsRun(id: $id) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n toolCalls {\n id\n toolName\n toolCallId\n status\n input\n output\n outputTruncated\n error\n errorType\n cacheHit\n durationMs\n requiresConfirmation\n confirmedAt\n startedAt\n completedAt\n }\n }\n }\n": typeof GetAgentsRunDocument;
|
|
1567
1569
|
"\n query GetAgentsUsageStats($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageStats(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n totalRuns\n totalMessages\n totalInputTokens\n totalOutputTokens\n totalCostCents\n totalToolCalls\n totalErrors\n }\n }\n": typeof GetAgentsUsageStatsDocument;
|
|
1568
1570
|
"\n query GetAgentsUsageDaily($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageDaily(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n id\n date\n agentId\n runCount\n messageCount\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolCallCount\n errorCount\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsUsageDailyDocument;
|
|
@@ -1710,7 +1712,7 @@ declare function graphql(source: "\n query GetAgentsSchedule($id: ID!) {\n a
|
|
|
1710
1712
|
/**
|
|
1711
1713
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1712
1714
|
*/
|
|
1713
|
-
declare function graphql(source: "\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"];
|
|
1715
|
+
declare function graphql(source: "\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus, $limit: Int) {\n agentsConversations(agentId: $agentId, status: $status, limit: $limit) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus, $limit: Int) {\n agentsConversations(agentId: $agentId, status: $status, limit: $limit) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"];
|
|
1714
1716
|
/**
|
|
1715
1717
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1716
1718
|
*/
|
|
@@ -1718,7 +1720,7 @@ declare function graphql(source: "\n query GetAgentsConversation($id: ID!) {\n
|
|
|
1718
1720
|
/**
|
|
1719
1721
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1720
1722
|
*/
|
|
1721
|
-
declare function graphql(source: "\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"];
|
|
1723
|
+
declare function graphql(source: "\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus, $limit: Int) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status, limit: $limit) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus, $limit: Int) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status, limit: $limit) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"];
|
|
1722
1724
|
/**
|
|
1723
1725
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1724
1726
|
*/
|
|
@@ -1216,6 +1216,7 @@ type GetAgentsScheduleQuery = {
|
|
|
1216
1216
|
type GetAgentsConversationsQueryVariables = Exact<{
|
|
1217
1217
|
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
1218
1218
|
status?: InputMaybe<ConversationStatus>;
|
|
1219
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1219
1220
|
}>;
|
|
1220
1221
|
type GetAgentsConversationsQuery = {
|
|
1221
1222
|
__typename?: 'RootQueryType';
|
|
@@ -1286,6 +1287,7 @@ type GetAgentsRunsQueryVariables = Exact<{
|
|
|
1286
1287
|
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
1287
1288
|
conversationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1288
1289
|
status?: InputMaybe<RunStatus>;
|
|
1290
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1289
1291
|
}>;
|
|
1290
1292
|
type GetAgentsRunsQuery = {
|
|
1291
1293
|
__typename?: 'RootQueryType';
|
|
@@ -1560,9 +1562,9 @@ type Documents = {
|
|
|
1560
1562
|
"\n query GetAgentsToolCategories {\n agentsToolCategories {\n id\n name\n description\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsToolCategoriesDocument;
|
|
1561
1563
|
"\n query GetAgentsSchedules($agentId: ID, $enabledOnly: Boolean) {\n agentsSchedules(agentId: $agentId, enabledOnly: $enabledOnly) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n taskType\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsSchedulesDocument;
|
|
1562
1564
|
"\n query GetAgentsSchedule($id: ID!) {\n agentsSchedule(id: $id) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsScheduleDocument;
|
|
1563
|
-
"\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsConversationsDocument;
|
|
1565
|
+
"\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus, $limit: Int) {\n agentsConversations(agentId: $agentId, status: $status, limit: $limit) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsConversationsDocument;
|
|
1564
1566
|
"\n query GetAgentsConversation($id: ID!) {\n agentsConversation(id: $id) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n messages {\n id\n role\n content\n contentType\n insertedAt\n }\n runs {\n id\n status\n modelUsed\n startedAt\n completedAt\n }\n }\n }\n": typeof GetAgentsConversationDocument;
|
|
1565
|
-
"\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n": typeof GetAgentsRunsDocument;
|
|
1567
|
+
"\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus, $limit: Int) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status, limit: $limit) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n": typeof GetAgentsRunsDocument;
|
|
1566
1568
|
"\n query GetAgentsRun($id: ID!) {\n agentsRun(id: $id) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n toolCalls {\n id\n toolName\n toolCallId\n status\n input\n output\n outputTruncated\n error\n errorType\n cacheHit\n durationMs\n requiresConfirmation\n confirmedAt\n startedAt\n completedAt\n }\n }\n }\n": typeof GetAgentsRunDocument;
|
|
1567
1569
|
"\n query GetAgentsUsageStats($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageStats(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n totalRuns\n totalMessages\n totalInputTokens\n totalOutputTokens\n totalCostCents\n totalToolCalls\n totalErrors\n }\n }\n": typeof GetAgentsUsageStatsDocument;
|
|
1568
1570
|
"\n query GetAgentsUsageDaily($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageDaily(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n id\n date\n agentId\n runCount\n messageCount\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolCallCount\n errorCount\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsUsageDailyDocument;
|
|
@@ -1710,7 +1712,7 @@ declare function graphql(source: "\n query GetAgentsSchedule($id: ID!) {\n a
|
|
|
1710
1712
|
/**
|
|
1711
1713
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1712
1714
|
*/
|
|
1713
|
-
declare function graphql(source: "\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"];
|
|
1715
|
+
declare function graphql(source: "\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus, $limit: Int) {\n agentsConversations(agentId: $agentId, status: $status, limit: $limit) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus, $limit: Int) {\n agentsConversations(agentId: $agentId, status: $status, limit: $limit) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"];
|
|
1714
1716
|
/**
|
|
1715
1717
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1716
1718
|
*/
|
|
@@ -1718,7 +1720,7 @@ declare function graphql(source: "\n query GetAgentsConversation($id: ID!) {\n
|
|
|
1718
1720
|
/**
|
|
1719
1721
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1720
1722
|
*/
|
|
1721
|
-
declare function graphql(source: "\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"];
|
|
1723
|
+
declare function graphql(source: "\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus, $limit: Int) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status, limit: $limit) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus, $limit: Int) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status, limit: $limit) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"];
|
|
1722
1724
|
/**
|
|
1723
1725
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
1724
1726
|
*/
|
|
@@ -110,9 +110,9 @@ var GetAgentsToolSourcesDocument = { "kind": "Document", "definitions": [{ "kind
|
|
|
110
110
|
var GetAgentsToolCategoriesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsToolCategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsToolCategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
111
111
|
var GetAgentsSchedulesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsSchedules" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "enabledOnly" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsSchedules" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "agentId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "enabledOnly" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "enabledOnly" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cronExpression" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timezone" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastRunAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastRunStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastError" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nextRunAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "taskType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxDurationSeconds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }] };
|
|
112
112
|
var GetAgentsScheduleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsSchedule" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsSchedule" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cronExpression" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timezone" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastRunAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastRunStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastError" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nextRunAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "initialMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "taskType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "taskConfig" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxDurationSeconds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }] };
|
|
113
|
-
var GetAgentsConversationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsConversations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ConversationStatus" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsConversations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "agentId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "summary" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contextType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contextId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isPublic" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pinned" } }, { "kind": "Field", "name": { "kind": "Name", "value": "archivedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }] };
|
|
113
|
+
var GetAgentsConversationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsConversations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ConversationStatus" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsConversations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "agentId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "summary" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contextType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contextId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isPublic" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pinned" } }, { "kind": "Field", "name": { "kind": "Name", "value": "archivedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }] };
|
|
114
114
|
var GetAgentsConversationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsConversation" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsConversation" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "summary" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contextType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contextId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isPublic" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pinned" } }, { "kind": "Field", "name": { "kind": "Name", "value": "archivedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "messages" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "content" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "runs" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "modelUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] } }] } }] };
|
|
115
|
-
var GetAgentsRunsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsRuns" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "conversationId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RunStatus" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsRuns" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "agentId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "conversationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "conversationId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "modelUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "inputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheReadTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheWriteTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolsDiscovered" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolsUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorCode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "conversation" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }] } }] } }] };
|
|
115
|
+
var GetAgentsRunsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsRuns" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "conversationId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RunStatus" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsRuns" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "agentId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "conversationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "conversationId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "modelUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "inputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheReadTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheWriteTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolsDiscovered" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolsUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorCode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "conversation" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }] } }] } }] };
|
|
116
116
|
var GetAgentsRunDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsRun" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsRun" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "modelUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "inputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheReadTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheWriteTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolsDiscovered" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolsUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorCode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "conversation" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolCalls" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolCallId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "output" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outputTruncated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheHit" } }, { "kind": "Field", "name": { "kind": "Name", "value": "durationMs" } }, { "kind": "Field", "name": { "kind": "Name", "value": "requiresConfirmation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "confirmedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] } }] } }] };
|
|
117
117
|
var GetAgentsUsageStatsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsUsageStats" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "startDate" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Date" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "endDate" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Date" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsUsageStats" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "agentId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "startDate" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "startDate" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "endDate" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "endDate" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalRuns" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalMessages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalInputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalOutputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalCostCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalToolCalls" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalErrors" } }] } }] } }] };
|
|
118
118
|
var GetAgentsUsageDailyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentsUsageDaily" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "startDate" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Date" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "endDate" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Date" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentsUsageDaily" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "agentId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "agentId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "startDate" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "startDate" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "endDate" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "endDate" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "date" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agentId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "runCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "messageCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "inputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outputTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheReadTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cacheWriteTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toolCallCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
@@ -152,9 +152,9 @@ var documents = {
|
|
|
152
152
|
"\n query GetAgentsToolCategories {\n agentsToolCategories {\n id\n name\n description\n insertedAt\n updatedAt\n }\n }\n": GetAgentsToolCategoriesDocument,
|
|
153
153
|
"\n query GetAgentsSchedules($agentId: ID, $enabledOnly: Boolean) {\n agentsSchedules(agentId: $agentId, enabledOnly: $enabledOnly) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n taskType\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": GetAgentsSchedulesDocument,
|
|
154
154
|
"\n query GetAgentsSchedule($id: ID!) {\n agentsSchedule(id: $id) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": GetAgentsScheduleDocument,
|
|
155
|
-
"\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": GetAgentsConversationsDocument,
|
|
155
|
+
"\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus, $limit: Int) {\n agentsConversations(agentId: $agentId, status: $status, limit: $limit) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": GetAgentsConversationsDocument,
|
|
156
156
|
"\n query GetAgentsConversation($id: ID!) {\n agentsConversation(id: $id) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n messages {\n id\n role\n content\n contentType\n insertedAt\n }\n runs {\n id\n status\n modelUsed\n startedAt\n completedAt\n }\n }\n }\n": GetAgentsConversationDocument,
|
|
157
|
-
"\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n": GetAgentsRunsDocument,
|
|
157
|
+
"\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus, $limit: Int) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status, limit: $limit) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n": GetAgentsRunsDocument,
|
|
158
158
|
"\n query GetAgentsRun($id: ID!) {\n agentsRun(id: $id) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n toolCalls {\n id\n toolName\n toolCallId\n status\n input\n output\n outputTruncated\n error\n errorType\n cacheHit\n durationMs\n requiresConfirmation\n confirmedAt\n startedAt\n completedAt\n }\n }\n }\n": GetAgentsRunDocument,
|
|
159
159
|
"\n query GetAgentsUsageStats($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageStats(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n totalRuns\n totalMessages\n totalInputTokens\n totalOutputTokens\n totalCostCents\n totalToolCalls\n totalErrors\n }\n }\n": GetAgentsUsageStatsDocument,
|
|
160
160
|
"\n query GetAgentsUsageDaily($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageDaily(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n id\n date\n agentId\n runCount\n messageCount\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolCallCount\n errorCount\n insertedAt\n updatedAt\n }\n }\n": GetAgentsUsageDailyDocument,
|