graphlit-client 1.0.20260302001 → 1.0.20260303001
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/client.d.ts +91 -2
- package/dist/client.js +130 -6
- package/dist/generated/graphql-documents.d.ts +14 -0
- package/dist/generated/graphql-documents.js +174 -4
- package/dist/generated/graphql-types.d.ts +439 -0
- package/dist/generated/graphql-types.js +10 -0
- package/dist/types/agent.d.ts +4 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1010,9 +1010,10 @@ declare class Graphlit {
|
|
|
1010
1010
|
* @param persona - The persona to use, optional.
|
|
1011
1011
|
* @param instructions - Per-turn instructions to inject into guidance, optional.
|
|
1012
1012
|
* @param scratchpad - Per-turn scratchpad text to inject, optional. Merged with conversation scratchpad.
|
|
1013
|
+
* @param skills - Skill references to inject into the agent's context window, optional.
|
|
1013
1014
|
* @returns The formatted conversation.
|
|
1014
1015
|
*/
|
|
1015
|
-
formatConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: Types.ToolDefinitionInput[], systemPrompt?: string, includeDetails?: boolean, correlationId?: string, persona?: Types.EntityReferenceInput, instructions?: string, scratchpad?: string): Promise<Types.FormatConversationMutation>;
|
|
1016
|
+
formatConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: Types.ToolDefinitionInput[], systemPrompt?: string, includeDetails?: boolean, correlationId?: string, persona?: Types.EntityReferenceInput, instructions?: string, scratchpad?: string, skills?: Types.EntityReferenceInput[]): Promise<Types.FormatConversationMutation>;
|
|
1016
1017
|
/**
|
|
1017
1018
|
* Completes a conversation with an external LLM response.
|
|
1018
1019
|
* @param completion - The completion text from the external LLM.
|
|
@@ -1057,9 +1058,10 @@ declare class Graphlit {
|
|
|
1057
1058
|
* @param persona - The persona to use, optional.
|
|
1058
1059
|
* @param instructions - Per-turn instructions to inject into guidance, optional.
|
|
1059
1060
|
* @param scratchpad - Per-turn scratchpad text to inject, optional. Merged with conversation scratchpad.
|
|
1061
|
+
* @param skills - Skill references to inject into the agent's context window, optional.
|
|
1060
1062
|
* @returns The conversation response.
|
|
1061
1063
|
*/
|
|
1062
|
-
promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, mimeType?: string, data?: string, tools?: Types.ToolDefinitionInput[], requireTool?: boolean, systemPrompt?: string, includeDetails?: boolean, correlationId?: string, persona?: Types.EntityReferenceInput, instructions?: string, scratchpad?: string): Promise<Types.PromptConversationMutation>;
|
|
1064
|
+
promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, mimeType?: string, data?: string, tools?: Types.ToolDefinitionInput[], requireTool?: boolean, systemPrompt?: string, includeDetails?: boolean, correlationId?: string, persona?: Types.EntityReferenceInput, instructions?: string, scratchpad?: string, skills?: Types.EntityReferenceInput[]): Promise<Types.PromptConversationMutation>;
|
|
1063
1065
|
/**
|
|
1064
1066
|
* Continues a conversation with tool responses.
|
|
1065
1067
|
* @param id - The conversation ID.
|
|
@@ -1373,6 +1375,93 @@ declare class Graphlit {
|
|
|
1373
1375
|
* @returns The matching persons.
|
|
1374
1376
|
*/
|
|
1375
1377
|
lookupPersons(linkedInUrl?: string, email?: string): Promise<Types.LookupPersonsQuery>;
|
|
1378
|
+
/**
|
|
1379
|
+
* Creates a skill.
|
|
1380
|
+
* @param skill - The skill to create.
|
|
1381
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1382
|
+
* @returns The created skill.
|
|
1383
|
+
*/
|
|
1384
|
+
createSkill(skill: Types.SkillInput, correlationId?: string): Promise<Types.CreateSkillMutation>;
|
|
1385
|
+
/**
|
|
1386
|
+
* Updates a skill.
|
|
1387
|
+
* @param skill - The skill to update.
|
|
1388
|
+
* @returns The updated skill.
|
|
1389
|
+
*/
|
|
1390
|
+
updateSkill(skill: Types.SkillUpdateInput): Promise<Types.UpdateSkillMutation>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Creates or updates a skill.
|
|
1393
|
+
* @param skill - The skill to create or update.
|
|
1394
|
+
* @returns The created or updated skill.
|
|
1395
|
+
*/
|
|
1396
|
+
upsertSkill(skill: Types.SkillInput): Promise<Types.UpsertSkillMutation>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Deletes a skill.
|
|
1399
|
+
* @param id - The ID of the skill to delete.
|
|
1400
|
+
* @returns The deleted skill.
|
|
1401
|
+
*/
|
|
1402
|
+
deleteSkill(id: string): Promise<Types.DeleteSkillMutation>;
|
|
1403
|
+
/**
|
|
1404
|
+
* Deletes multiple skills.
|
|
1405
|
+
* @param ids - The IDs of the skills to delete.
|
|
1406
|
+
* @param isSynchronous - Whether this mutation is synchronous.
|
|
1407
|
+
* @returns The deleted skills.
|
|
1408
|
+
*/
|
|
1409
|
+
deleteSkills(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteSkillsMutation>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Deletes all skills based on the provided filter criteria.
|
|
1412
|
+
* @param filter - The filter criteria to apply when deleting skills.
|
|
1413
|
+
* @param isSynchronous - Whether this mutation is synchronous.
|
|
1414
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1415
|
+
* @returns The result of the deletion.
|
|
1416
|
+
*/
|
|
1417
|
+
deleteAllSkills(filter?: Types.SkillFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllSkillsMutation>;
|
|
1418
|
+
/**
|
|
1419
|
+
* Enables a skill.
|
|
1420
|
+
* @param id - The ID of the skill to enable.
|
|
1421
|
+
* @returns The enabled skill.
|
|
1422
|
+
*/
|
|
1423
|
+
enableSkill(id: string): Promise<Types.EnableSkillMutation>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Disables a skill.
|
|
1426
|
+
* @param id - The ID of the skill to disable.
|
|
1427
|
+
* @returns The disabled skill.
|
|
1428
|
+
*/
|
|
1429
|
+
disableSkill(id: string): Promise<Types.DisableSkillMutation>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Lookup a skill given its ID.
|
|
1432
|
+
* @param id - ID of the skill.
|
|
1433
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1434
|
+
* @returns The skill.
|
|
1435
|
+
*/
|
|
1436
|
+
getSkill(id: string, correlationId?: string): Promise<Types.GetSkillQuery>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Retrieves skills based on the provided filter criteria.
|
|
1439
|
+
* @param filter - The filter criteria to apply when retrieving skills.
|
|
1440
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1441
|
+
* @returns The skills.
|
|
1442
|
+
*/
|
|
1443
|
+
querySkills(filter?: Types.SkillFilter, correlationId?: string): Promise<Types.QuerySkillsQuery>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Counts skills based on the provided filter criteria.
|
|
1446
|
+
* @param filter - The filter criteria to apply when counting skills.
|
|
1447
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1448
|
+
* @returns The count of skills.
|
|
1449
|
+
*/
|
|
1450
|
+
countSkills(filter?: Types.SkillFilter, correlationId?: string): Promise<Types.CountSkillsQuery>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Adds skills to one or more collections.
|
|
1453
|
+
* @param skills - The skills to add.
|
|
1454
|
+
* @param collections - The collections to add the skills to.
|
|
1455
|
+
* @returns The updated collections.
|
|
1456
|
+
*/
|
|
1457
|
+
addSkillsToCollections(skills: Types.EntityReferenceInput[], collections: Types.EntityReferenceInput[]): Promise<Types.AddSkillsToCollectionsMutation>;
|
|
1458
|
+
/**
|
|
1459
|
+
* Removes skills from a collection.
|
|
1460
|
+
* @param skills - The skills to remove.
|
|
1461
|
+
* @param collection - The collection to remove the skills from.
|
|
1462
|
+
* @returns The updated collection.
|
|
1463
|
+
*/
|
|
1464
|
+
removeSkillsFromCollection(skills: Types.EntityReferenceInput[], collection: Types.EntityReferenceInput): Promise<Types.RemoveSkillsFromCollectionMutation>;
|
|
1376
1465
|
/**
|
|
1377
1466
|
* Prompts multiple specifications and returns the best response.
|
|
1378
1467
|
* @param prompt - The prompt to send to each specification.
|
package/dist/client.js
CHANGED
|
@@ -1865,9 +1865,10 @@ class Graphlit {
|
|
|
1865
1865
|
* @param persona - The persona to use, optional.
|
|
1866
1866
|
* @param instructions - Per-turn instructions to inject into guidance, optional.
|
|
1867
1867
|
* @param scratchpad - Per-turn scratchpad text to inject, optional. Merged with conversation scratchpad.
|
|
1868
|
+
* @param skills - Skill references to inject into the agent's context window, optional.
|
|
1868
1869
|
* @returns The formatted conversation.
|
|
1869
1870
|
*/
|
|
1870
|
-
async formatConversation(prompt, id, specification, tools, systemPrompt, includeDetails, correlationId, persona, instructions, scratchpad) {
|
|
1871
|
+
async formatConversation(prompt, id, specification, tools, systemPrompt, includeDetails, correlationId, persona, instructions, scratchpad, skills) {
|
|
1871
1872
|
return this.mutateAndCheckError(Documents.FormatConversation, {
|
|
1872
1873
|
prompt: prompt,
|
|
1873
1874
|
id: id,
|
|
@@ -1879,6 +1880,7 @@ class Graphlit {
|
|
|
1879
1880
|
correlationId: correlationId,
|
|
1880
1881
|
instructions: instructions,
|
|
1881
1882
|
scratchpad: scratchpad,
|
|
1883
|
+
skills: skills,
|
|
1882
1884
|
});
|
|
1883
1885
|
}
|
|
1884
1886
|
/**
|
|
@@ -1948,9 +1950,10 @@ class Graphlit {
|
|
|
1948
1950
|
* @param persona - The persona to use, optional.
|
|
1949
1951
|
* @param instructions - Per-turn instructions to inject into guidance, optional.
|
|
1950
1952
|
* @param scratchpad - Per-turn scratchpad text to inject, optional. Merged with conversation scratchpad.
|
|
1953
|
+
* @param skills - Skill references to inject into the agent's context window, optional.
|
|
1951
1954
|
* @returns The conversation response.
|
|
1952
1955
|
*/
|
|
1953
|
-
async promptConversation(prompt, id, specification, mimeType, data, tools, requireTool, systemPrompt, includeDetails, correlationId, persona, instructions, scratchpad) {
|
|
1956
|
+
async promptConversation(prompt, id, specification, mimeType, data, tools, requireTool, systemPrompt, includeDetails, correlationId, persona, instructions, scratchpad, skills) {
|
|
1954
1957
|
return this.mutateAndCheckError(Documents.PromptConversation, {
|
|
1955
1958
|
prompt: prompt,
|
|
1956
1959
|
id: id,
|
|
@@ -1965,6 +1968,7 @@ class Graphlit {
|
|
|
1965
1968
|
correlationId: correlationId,
|
|
1966
1969
|
instructions: instructions,
|
|
1967
1970
|
scratchpad: scratchpad,
|
|
1971
|
+
skills: skills,
|
|
1968
1972
|
});
|
|
1969
1973
|
}
|
|
1970
1974
|
/**
|
|
@@ -2431,6 +2435,126 @@ class Graphlit {
|
|
|
2431
2435
|
email: email,
|
|
2432
2436
|
});
|
|
2433
2437
|
}
|
|
2438
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
2439
|
+
// Skills
|
|
2440
|
+
// NOTE: Types (SkillInput, SkillUpdateInput, SkillFilter, etc.) and
|
|
2441
|
+
// Documents (CreateSkill, UpdateSkill, etc.) will be generated by codegen
|
|
2442
|
+
// once the API schema is published. Until then these methods will show
|
|
2443
|
+
// TypeScript errors — that is expected.
|
|
2444
|
+
// ──────────────────────────────────────────────────────────────────────────
|
|
2445
|
+
/**
|
|
2446
|
+
* Creates a skill.
|
|
2447
|
+
* @param skill - The skill to create.
|
|
2448
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
2449
|
+
* @returns The created skill.
|
|
2450
|
+
*/
|
|
2451
|
+
async createSkill(skill, correlationId) {
|
|
2452
|
+
return this.mutateAndCheckError(Documents.CreateSkill, { skill: skill, correlationId: correlationId });
|
|
2453
|
+
}
|
|
2454
|
+
/**
|
|
2455
|
+
* Updates a skill.
|
|
2456
|
+
* @param skill - The skill to update.
|
|
2457
|
+
* @returns The updated skill.
|
|
2458
|
+
*/
|
|
2459
|
+
async updateSkill(skill) {
|
|
2460
|
+
return this.mutateAndCheckError(Documents.UpdateSkill, { skill: skill });
|
|
2461
|
+
}
|
|
2462
|
+
/**
|
|
2463
|
+
* Creates or updates a skill.
|
|
2464
|
+
* @param skill - The skill to create or update.
|
|
2465
|
+
* @returns The created or updated skill.
|
|
2466
|
+
*/
|
|
2467
|
+
async upsertSkill(skill) {
|
|
2468
|
+
return this.mutateAndCheckError(Documents.UpsertSkill, { skill: skill });
|
|
2469
|
+
}
|
|
2470
|
+
/**
|
|
2471
|
+
* Deletes a skill.
|
|
2472
|
+
* @param id - The ID of the skill to delete.
|
|
2473
|
+
* @returns The deleted skill.
|
|
2474
|
+
*/
|
|
2475
|
+
async deleteSkill(id) {
|
|
2476
|
+
return this.mutateAndCheckError(Documents.DeleteSkill, { id: id });
|
|
2477
|
+
}
|
|
2478
|
+
/**
|
|
2479
|
+
* Deletes multiple skills.
|
|
2480
|
+
* @param ids - The IDs of the skills to delete.
|
|
2481
|
+
* @param isSynchronous - Whether this mutation is synchronous.
|
|
2482
|
+
* @returns The deleted skills.
|
|
2483
|
+
*/
|
|
2484
|
+
async deleteSkills(ids, isSynchronous) {
|
|
2485
|
+
return this.mutateAndCheckError(Documents.DeleteSkills, { ids: ids, isSynchronous: isSynchronous });
|
|
2486
|
+
}
|
|
2487
|
+
/**
|
|
2488
|
+
* Deletes all skills based on the provided filter criteria.
|
|
2489
|
+
* @param filter - The filter criteria to apply when deleting skills.
|
|
2490
|
+
* @param isSynchronous - Whether this mutation is synchronous.
|
|
2491
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
2492
|
+
* @returns The result of the deletion.
|
|
2493
|
+
*/
|
|
2494
|
+
async deleteAllSkills(filter, isSynchronous, correlationId) {
|
|
2495
|
+
return this.mutateAndCheckError(Documents.DeleteAllSkills, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
|
|
2496
|
+
}
|
|
2497
|
+
/**
|
|
2498
|
+
* Enables a skill.
|
|
2499
|
+
* @param id - The ID of the skill to enable.
|
|
2500
|
+
* @returns The enabled skill.
|
|
2501
|
+
*/
|
|
2502
|
+
async enableSkill(id) {
|
|
2503
|
+
return this.mutateAndCheckError(Documents.EnableSkill, { id: id });
|
|
2504
|
+
}
|
|
2505
|
+
/**
|
|
2506
|
+
* Disables a skill.
|
|
2507
|
+
* @param id - The ID of the skill to disable.
|
|
2508
|
+
* @returns The disabled skill.
|
|
2509
|
+
*/
|
|
2510
|
+
async disableSkill(id) {
|
|
2511
|
+
return this.mutateAndCheckError(Documents.DisableSkill, { id: id });
|
|
2512
|
+
}
|
|
2513
|
+
/**
|
|
2514
|
+
* Lookup a skill given its ID.
|
|
2515
|
+
* @param id - ID of the skill.
|
|
2516
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
2517
|
+
* @returns The skill.
|
|
2518
|
+
*/
|
|
2519
|
+
async getSkill(id, correlationId) {
|
|
2520
|
+
return this.queryAndCheckError(Documents.GetSkill, { id: id, correlationId: correlationId });
|
|
2521
|
+
}
|
|
2522
|
+
/**
|
|
2523
|
+
* Retrieves skills based on the provided filter criteria.
|
|
2524
|
+
* @param filter - The filter criteria to apply when retrieving skills.
|
|
2525
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
2526
|
+
* @returns The skills.
|
|
2527
|
+
*/
|
|
2528
|
+
async querySkills(filter, correlationId) {
|
|
2529
|
+
return this.queryAndCheckError(Documents.QuerySkills, { filter: filter, correlationId: correlationId });
|
|
2530
|
+
}
|
|
2531
|
+
/**
|
|
2532
|
+
* Counts skills based on the provided filter criteria.
|
|
2533
|
+
* @param filter - The filter criteria to apply when counting skills.
|
|
2534
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
2535
|
+
* @returns The count of skills.
|
|
2536
|
+
*/
|
|
2537
|
+
async countSkills(filter, correlationId) {
|
|
2538
|
+
return this.queryAndCheckError(Documents.CountSkills, { filter: filter, correlationId: correlationId });
|
|
2539
|
+
}
|
|
2540
|
+
/**
|
|
2541
|
+
* Adds skills to one or more collections.
|
|
2542
|
+
* @param skills - The skills to add.
|
|
2543
|
+
* @param collections - The collections to add the skills to.
|
|
2544
|
+
* @returns The updated collections.
|
|
2545
|
+
*/
|
|
2546
|
+
async addSkillsToCollections(skills, collections) {
|
|
2547
|
+
return this.mutateAndCheckError(Documents.AddSkillsToCollections, { skills: skills, collections: collections });
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* Removes skills from a collection.
|
|
2551
|
+
* @param skills - The skills to remove.
|
|
2552
|
+
* @param collection - The collection to remove the skills from.
|
|
2553
|
+
* @returns The updated collection.
|
|
2554
|
+
*/
|
|
2555
|
+
async removeSkillsFromCollection(skills, collection) {
|
|
2556
|
+
return this.mutateAndCheckError(Documents.RemoveSkillsFromCollection, { skills: skills, collection: collection });
|
|
2557
|
+
}
|
|
2434
2558
|
/**
|
|
2435
2559
|
* Prompts multiple specifications and returns the best response.
|
|
2436
2560
|
* @param prompt - The prompt to send to each specification.
|
|
@@ -5081,7 +5205,7 @@ class Graphlit {
|
|
|
5081
5205
|
});
|
|
5082
5206
|
// Start the streaming conversation
|
|
5083
5207
|
// fullSpec is guaranteed non-null here — the !fullSpec check above returns early
|
|
5084
|
-
await this.executeStreamingAgent(prompt, actualConversationId, fullSpec, tools, toolHandlers, uiAdapter, maxRounds, abortSignal, mimeType, data, correlationId, persona, options?.contextStrategy, options?.instructions, options?.scratchpad);
|
|
5208
|
+
await this.executeStreamingAgent(prompt, actualConversationId, fullSpec, tools, toolHandlers, uiAdapter, maxRounds, abortSignal, mimeType, data, correlationId, persona, options?.contextStrategy, options?.instructions, options?.scratchpad, options?.skills);
|
|
5085
5209
|
}, abortSignal);
|
|
5086
5210
|
}
|
|
5087
5211
|
catch (error) {
|
|
@@ -5127,7 +5251,7 @@ class Graphlit {
|
|
|
5127
5251
|
/**
|
|
5128
5252
|
* Execute the streaming agent workflow with tool calling loop
|
|
5129
5253
|
*/
|
|
5130
|
-
async executeStreamingAgent(prompt, conversationId, specification, tools, toolHandlers, uiAdapter, maxRounds, abortSignal, mimeType, data, correlationId, persona, contextStrategy, instructions, scratchpad) {
|
|
5254
|
+
async executeStreamingAgent(prompt, conversationId, specification, tools, toolHandlers, uiAdapter, maxRounds, abortSignal, mimeType, data, correlationId, persona, contextStrategy, instructions, scratchpad, skills) {
|
|
5131
5255
|
// Collects artifact content IDs from tool handlers (e.g. code_execution).
|
|
5132
5256
|
// Handlers register async ingestion promises; we await all of them before
|
|
5133
5257
|
// completeConversation so the IDs are available without blocking the LLM.
|
|
@@ -5147,7 +5271,7 @@ class Graphlit {
|
|
|
5147
5271
|
conversationId,
|
|
5148
5272
|
});
|
|
5149
5273
|
// Format conversation once at the beginning
|
|
5150
|
-
const formatResponse = await this.formatConversation(prompt, conversationId, { id: specification.id }, tools, undefined, true, correlationId, persona, instructions, scratchpad);
|
|
5274
|
+
const formatResponse = await this.formatConversation(prompt, conversationId, { id: specification.id }, tools, undefined, true, correlationId, persona, instructions, scratchpad, skills);
|
|
5151
5275
|
const formattedMessage = formatResponse.formatConversation?.message;
|
|
5152
5276
|
const conversationHistory = formatResponse.formatConversation?.details?.messages;
|
|
5153
5277
|
if (!formattedMessage?.message) {
|
|
@@ -6144,7 +6268,7 @@ class Graphlit {
|
|
|
6144
6268
|
}
|
|
6145
6269
|
else {
|
|
6146
6270
|
// Formatted path: call formatConversation
|
|
6147
|
-
const formatResponse = await this.formatConversation(turn === 0 ? prompt : "Continue.", conversationId, agentSpec, allTools, undefined, true, options?.correlationId, options?.persona, turnInstructions, agentScratchpad);
|
|
6271
|
+
const formatResponse = await this.formatConversation(turn === 0 ? prompt : "Continue.", conversationId, agentSpec, allTools, undefined, true, options?.correlationId, options?.persona, turnInstructions, agentScratchpad, options?.skills);
|
|
6148
6272
|
const formattedMessage = formatResponse.formatConversation?.message;
|
|
6149
6273
|
const conversationHistory = formatResponse.formatConversation?.details?.messages;
|
|
6150
6274
|
const formatDetails = formatResponse.formatConversation?.details;
|
|
@@ -31,6 +31,7 @@ export declare const UpdateCategory: import("graphql").DocumentNode;
|
|
|
31
31
|
export declare const UpsertCategory: import("graphql").DocumentNode;
|
|
32
32
|
export declare const AddContentsToCollections: import("graphql").DocumentNode;
|
|
33
33
|
export declare const AddConversationsToCollections: import("graphql").DocumentNode;
|
|
34
|
+
export declare const AddSkillsToCollections: import("graphql").DocumentNode;
|
|
34
35
|
export declare const CountCollections: import("graphql").DocumentNode;
|
|
35
36
|
export declare const CreateCollection: import("graphql").DocumentNode;
|
|
36
37
|
export declare const DeleteAllCollections: import("graphql").DocumentNode;
|
|
@@ -40,6 +41,7 @@ export declare const GetCollection: import("graphql").DocumentNode;
|
|
|
40
41
|
export declare const QueryCollections: import("graphql").DocumentNode;
|
|
41
42
|
export declare const RemoveContentsFromCollection: import("graphql").DocumentNode;
|
|
42
43
|
export declare const RemoveConversationsFromCollection: import("graphql").DocumentNode;
|
|
44
|
+
export declare const RemoveSkillsFromCollection: import("graphql").DocumentNode;
|
|
43
45
|
export declare const UpdateCollection: import("graphql").DocumentNode;
|
|
44
46
|
export declare const CountConnectors: import("graphql").DocumentNode;
|
|
45
47
|
export declare const CreateConnector: import("graphql").DocumentNode;
|
|
@@ -168,6 +170,7 @@ export declare const QueryDropboxFolders: import("graphql").DocumentNode;
|
|
|
168
170
|
export declare const QueryFeeds: import("graphql").DocumentNode;
|
|
169
171
|
export declare const QueryGitHubRepositories: import("graphql").DocumentNode;
|
|
170
172
|
export declare const QueryGoogleCalendars: import("graphql").DocumentNode;
|
|
173
|
+
export declare const QueryGoogleDriveDrives: import("graphql").DocumentNode;
|
|
171
174
|
export declare const QueryGoogleDriveFolders: import("graphql").DocumentNode;
|
|
172
175
|
export declare const QueryGustoCompanies: import("graphql").DocumentNode;
|
|
173
176
|
export declare const QueryGustoDepartments: import("graphql").DocumentNode;
|
|
@@ -389,6 +392,17 @@ export declare const QueryReposClusters: import("graphql").DocumentNode;
|
|
|
389
392
|
export declare const UpdateRepo: import("graphql").DocumentNode;
|
|
390
393
|
export declare const MapWeb: import("graphql").DocumentNode;
|
|
391
394
|
export declare const SearchWeb: import("graphql").DocumentNode;
|
|
395
|
+
export declare const CountSkills: import("graphql").DocumentNode;
|
|
396
|
+
export declare const CreateSkill: import("graphql").DocumentNode;
|
|
397
|
+
export declare const DeleteAllSkills: import("graphql").DocumentNode;
|
|
398
|
+
export declare const DeleteSkill: import("graphql").DocumentNode;
|
|
399
|
+
export declare const DeleteSkills: import("graphql").DocumentNode;
|
|
400
|
+
export declare const DisableSkill: import("graphql").DocumentNode;
|
|
401
|
+
export declare const EnableSkill: import("graphql").DocumentNode;
|
|
402
|
+
export declare const GetSkill: import("graphql").DocumentNode;
|
|
403
|
+
export declare const QuerySkills: import("graphql").DocumentNode;
|
|
404
|
+
export declare const UpdateSkill: import("graphql").DocumentNode;
|
|
405
|
+
export declare const UpsertSkill: import("graphql").DocumentNode;
|
|
392
406
|
export declare const CountSoftwares: import("graphql").DocumentNode;
|
|
393
407
|
export declare const CreateSoftware: import("graphql").DocumentNode;
|
|
394
408
|
export declare const DeleteAllSoftwares: import("graphql").DocumentNode;
|
|
@@ -934,6 +934,20 @@ export const AddConversationsToCollections = gql `
|
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
936
|
`;
|
|
937
|
+
export const AddSkillsToCollections = gql `
|
|
938
|
+
mutation AddSkillsToCollections($skills: [EntityReferenceInput!]!, $collections: [EntityReferenceInput!]!) {
|
|
939
|
+
addSkillsToCollections(skills: $skills, collections: $collections) {
|
|
940
|
+
id
|
|
941
|
+
name
|
|
942
|
+
state
|
|
943
|
+
type
|
|
944
|
+
skills {
|
|
945
|
+
id
|
|
946
|
+
name
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
`;
|
|
937
951
|
export const CountCollections = gql `
|
|
938
952
|
query CountCollections($filter: CollectionFilter, $correlationId: String) {
|
|
939
953
|
countCollections(filter: $filter, correlationId: $correlationId) {
|
|
@@ -1051,6 +1065,20 @@ export const RemoveConversationsFromCollection = gql `
|
|
|
1051
1065
|
}
|
|
1052
1066
|
}
|
|
1053
1067
|
`;
|
|
1068
|
+
export const RemoveSkillsFromCollection = gql `
|
|
1069
|
+
mutation RemoveSkillsFromCollection($skills: [EntityReferenceInput!]!, $collection: EntityReferenceInput!) {
|
|
1070
|
+
removeSkillsFromCollection(skills: $skills, collection: $collection) {
|
|
1071
|
+
id
|
|
1072
|
+
name
|
|
1073
|
+
state
|
|
1074
|
+
type
|
|
1075
|
+
skills {
|
|
1076
|
+
id
|
|
1077
|
+
name
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
`;
|
|
1054
1082
|
export const UpdateCollection = gql `
|
|
1055
1083
|
mutation UpdateCollection($collection: CollectionUpdateInput!) {
|
|
1056
1084
|
updateCollection(collection: $collection) {
|
|
@@ -5369,7 +5397,7 @@ export const DeleteConversations = gql `
|
|
|
5369
5397
|
}
|
|
5370
5398
|
`;
|
|
5371
5399
|
export const FormatConversation = gql `
|
|
5372
|
-
mutation FormatConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $persona: EntityReferenceInput, $tools: [ToolDefinitionInput!], $systemPrompt: String, $includeDetails: Boolean, $correlationId: String, $instructions: String, $scratchpad: String) {
|
|
5400
|
+
mutation FormatConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $persona: EntityReferenceInput, $tools: [ToolDefinitionInput!], $systemPrompt: String, $includeDetails: Boolean, $correlationId: String, $instructions: String, $scratchpad: String, $skills: [EntityReferenceInput!]) {
|
|
5373
5401
|
formatConversation(
|
|
5374
5402
|
prompt: $prompt
|
|
5375
5403
|
id: $id
|
|
@@ -5381,6 +5409,7 @@ export const FormatConversation = gql `
|
|
|
5381
5409
|
correlationId: $correlationId
|
|
5382
5410
|
instructions: $instructions
|
|
5383
5411
|
scratchpad: $scratchpad
|
|
5412
|
+
skills: $skills
|
|
5384
5413
|
) {
|
|
5385
5414
|
conversation {
|
|
5386
5415
|
id
|
|
@@ -6296,7 +6325,7 @@ export const Prompt = gql `
|
|
|
6296
6325
|
}
|
|
6297
6326
|
`;
|
|
6298
6327
|
export const PromptConversation = gql `
|
|
6299
|
-
mutation PromptConversation($prompt: String!, $mimeType: String, $data: String, $id: ID, $specification: EntityReferenceInput, $persona: EntityReferenceInput, $systemPrompt: String, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $includeDetails: Boolean, $correlationId: String, $instructions: String, $scratchpad: String) {
|
|
6328
|
+
mutation PromptConversation($prompt: String!, $mimeType: String, $data: String, $id: ID, $specification: EntityReferenceInput, $persona: EntityReferenceInput, $systemPrompt: String, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $includeDetails: Boolean, $correlationId: String, $instructions: String, $scratchpad: String, $skills: [EntityReferenceInput!]) {
|
|
6300
6329
|
promptConversation(
|
|
6301
6330
|
prompt: $prompt
|
|
6302
6331
|
id: $id
|
|
@@ -6311,6 +6340,7 @@ export const PromptConversation = gql `
|
|
|
6311
6340
|
correlationId: $correlationId
|
|
6312
6341
|
instructions: $instructions
|
|
6313
6342
|
scratchpad: $scratchpad
|
|
6343
|
+
skills: $skills
|
|
6314
6344
|
) {
|
|
6315
6345
|
conversation {
|
|
6316
6346
|
id
|
|
@@ -10711,9 +10741,23 @@ export const QueryGoogleCalendars = gql `
|
|
|
10711
10741
|
}
|
|
10712
10742
|
}
|
|
10713
10743
|
`;
|
|
10744
|
+
export const QueryGoogleDriveDrives = gql `
|
|
10745
|
+
query QueryGoogleDriveDrives($properties: GoogleDriveDrivesInput!) {
|
|
10746
|
+
googleDriveDrives(properties: $properties) {
|
|
10747
|
+
results {
|
|
10748
|
+
driveId
|
|
10749
|
+
driveName
|
|
10750
|
+
}
|
|
10751
|
+
}
|
|
10752
|
+
}
|
|
10753
|
+
`;
|
|
10714
10754
|
export const QueryGoogleDriveFolders = gql `
|
|
10715
|
-
query QueryGoogleDriveFolders($properties: GoogleDriveFoldersInput!, $folderId: ID) {
|
|
10716
|
-
googleDriveFolders(
|
|
10755
|
+
query QueryGoogleDriveFolders($properties: GoogleDriveFoldersInput!, $folderId: ID, $driveId: ID) {
|
|
10756
|
+
googleDriveFolders(
|
|
10757
|
+
properties: $properties
|
|
10758
|
+
folderId: $folderId
|
|
10759
|
+
driveId: $driveId
|
|
10760
|
+
) {
|
|
10717
10761
|
results {
|
|
10718
10762
|
folderName
|
|
10719
10763
|
folderId
|
|
@@ -16451,6 +16495,132 @@ export const SearchWeb = gql `
|
|
|
16451
16495
|
}
|
|
16452
16496
|
}
|
|
16453
16497
|
`;
|
|
16498
|
+
export const CountSkills = gql `
|
|
16499
|
+
query CountSkills($filter: SkillFilter, $correlationId: String) {
|
|
16500
|
+
countSkills(filter: $filter, correlationId: $correlationId) {
|
|
16501
|
+
count
|
|
16502
|
+
}
|
|
16503
|
+
}
|
|
16504
|
+
`;
|
|
16505
|
+
export const CreateSkill = gql `
|
|
16506
|
+
mutation CreateSkill($skill: SkillInput!, $correlationId: String) {
|
|
16507
|
+
createSkill(skill: $skill, correlationId: $correlationId) {
|
|
16508
|
+
id
|
|
16509
|
+
name
|
|
16510
|
+
state
|
|
16511
|
+
skillOwner
|
|
16512
|
+
}
|
|
16513
|
+
}
|
|
16514
|
+
`;
|
|
16515
|
+
export const DeleteAllSkills = gql `
|
|
16516
|
+
mutation DeleteAllSkills($filter: SkillFilter, $isSynchronous: Boolean, $correlationId: String) {
|
|
16517
|
+
deleteAllSkills(
|
|
16518
|
+
filter: $filter
|
|
16519
|
+
isSynchronous: $isSynchronous
|
|
16520
|
+
correlationId: $correlationId
|
|
16521
|
+
) {
|
|
16522
|
+
id
|
|
16523
|
+
state
|
|
16524
|
+
}
|
|
16525
|
+
}
|
|
16526
|
+
`;
|
|
16527
|
+
export const DeleteSkill = gql `
|
|
16528
|
+
mutation DeleteSkill($id: ID!) {
|
|
16529
|
+
deleteSkill(id: $id) {
|
|
16530
|
+
id
|
|
16531
|
+
state
|
|
16532
|
+
}
|
|
16533
|
+
}
|
|
16534
|
+
`;
|
|
16535
|
+
export const DeleteSkills = gql `
|
|
16536
|
+
mutation DeleteSkills($ids: [ID!]!, $isSynchronous: Boolean) {
|
|
16537
|
+
deleteSkills(ids: $ids, isSynchronous: $isSynchronous) {
|
|
16538
|
+
id
|
|
16539
|
+
state
|
|
16540
|
+
}
|
|
16541
|
+
}
|
|
16542
|
+
`;
|
|
16543
|
+
export const DisableSkill = gql `
|
|
16544
|
+
mutation DisableSkill($id: ID!) {
|
|
16545
|
+
disableSkill(id: $id) {
|
|
16546
|
+
id
|
|
16547
|
+
state
|
|
16548
|
+
}
|
|
16549
|
+
}
|
|
16550
|
+
`;
|
|
16551
|
+
export const EnableSkill = gql `
|
|
16552
|
+
mutation EnableSkill($id: ID!) {
|
|
16553
|
+
enableSkill(id: $id) {
|
|
16554
|
+
id
|
|
16555
|
+
state
|
|
16556
|
+
}
|
|
16557
|
+
}
|
|
16558
|
+
`;
|
|
16559
|
+
export const GetSkill = gql `
|
|
16560
|
+
query GetSkill($id: ID!, $correlationId: String) {
|
|
16561
|
+
skill(id: $id, correlationId: $correlationId) {
|
|
16562
|
+
id
|
|
16563
|
+
name
|
|
16564
|
+
creationDate
|
|
16565
|
+
modifiedDate
|
|
16566
|
+
owner {
|
|
16567
|
+
id
|
|
16568
|
+
}
|
|
16569
|
+
state
|
|
16570
|
+
correlationId
|
|
16571
|
+
text
|
|
16572
|
+
skillOwner
|
|
16573
|
+
collections {
|
|
16574
|
+
id
|
|
16575
|
+
name
|
|
16576
|
+
}
|
|
16577
|
+
}
|
|
16578
|
+
}
|
|
16579
|
+
`;
|
|
16580
|
+
export const QuerySkills = gql `
|
|
16581
|
+
query QuerySkills($filter: SkillFilter, $correlationId: String) {
|
|
16582
|
+
skills(filter: $filter, correlationId: $correlationId) {
|
|
16583
|
+
results {
|
|
16584
|
+
id
|
|
16585
|
+
name
|
|
16586
|
+
creationDate
|
|
16587
|
+
modifiedDate
|
|
16588
|
+
relevance
|
|
16589
|
+
owner {
|
|
16590
|
+
id
|
|
16591
|
+
}
|
|
16592
|
+
state
|
|
16593
|
+
correlationId
|
|
16594
|
+
text
|
|
16595
|
+
skillOwner
|
|
16596
|
+
collections {
|
|
16597
|
+
id
|
|
16598
|
+
name
|
|
16599
|
+
}
|
|
16600
|
+
}
|
|
16601
|
+
}
|
|
16602
|
+
}
|
|
16603
|
+
`;
|
|
16604
|
+
export const UpdateSkill = gql `
|
|
16605
|
+
mutation UpdateSkill($skill: SkillUpdateInput!) {
|
|
16606
|
+
updateSkill(skill: $skill) {
|
|
16607
|
+
id
|
|
16608
|
+
name
|
|
16609
|
+
state
|
|
16610
|
+
skillOwner
|
|
16611
|
+
}
|
|
16612
|
+
}
|
|
16613
|
+
`;
|
|
16614
|
+
export const UpsertSkill = gql `
|
|
16615
|
+
mutation UpsertSkill($skill: SkillInput!) {
|
|
16616
|
+
upsertSkill(skill: $skill) {
|
|
16617
|
+
id
|
|
16618
|
+
name
|
|
16619
|
+
state
|
|
16620
|
+
skillOwner
|
|
16621
|
+
}
|
|
16622
|
+
}
|
|
16623
|
+
`;
|
|
16454
16624
|
export const CountSoftwares = gql `
|
|
16455
16625
|
query CountSoftwares($filter: SoftwareFilter, $correlationId: String) {
|
|
16456
16626
|
countSoftwares(filter: $filter, correlationId: $correlationId) {
|
|
@@ -2409,6 +2409,10 @@ export type Collection = {
|
|
|
2409
2409
|
owner: Owner;
|
|
2410
2410
|
/** The relevance score of the collection. */
|
|
2411
2411
|
relevance?: Maybe<Scalars['Float']['output']>;
|
|
2412
|
+
/** The count of the skills contained by the collection. */
|
|
2413
|
+
skillCount?: Maybe<Scalars['Int']['output']>;
|
|
2414
|
+
/** The skills contained by the collection. */
|
|
2415
|
+
skills?: Maybe<Array<Maybe<Skill>>>;
|
|
2412
2416
|
/** The state of the collection (i.e. created, finished). */
|
|
2413
2417
|
state: EntityState;
|
|
2414
2418
|
/** The collection type. */
|
|
@@ -3757,6 +3761,8 @@ export type ConversationDetails = {
|
|
|
3757
3761
|
formattedPersona?: Maybe<Scalars['String']['output']>;
|
|
3758
3762
|
/** The formatted scratchpad. */
|
|
3759
3763
|
formattedScratchpad?: Maybe<Scalars['String']['output']>;
|
|
3764
|
+
/** The formatted skills content. */
|
|
3765
|
+
formattedSkills?: Maybe<Scalars['String']['output']>;
|
|
3760
3766
|
/** The formatted sources. */
|
|
3761
3767
|
formattedSources?: Maybe<Scalars['String']['output']>;
|
|
3762
3768
|
/** The formatted LLM tools. */
|
|
@@ -5712,6 +5718,13 @@ export type EntityFeedPropertiesUpdateInput = {
|
|
|
5712
5718
|
/** The limit of items to be read from feed, defaults to 100. */
|
|
5713
5719
|
readLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
5714
5720
|
};
|
|
5721
|
+
/** Entity owner */
|
|
5722
|
+
export declare enum EntityOwners {
|
|
5723
|
+
/** Owned by project */
|
|
5724
|
+
Project = "PROJECT",
|
|
5725
|
+
/** Owned by system */
|
|
5726
|
+
System = "SYSTEM"
|
|
5727
|
+
}
|
|
5715
5728
|
/** Represents an entity reference. */
|
|
5716
5729
|
export type EntityReference = {
|
|
5717
5730
|
__typename?: 'EntityReference';
|
|
@@ -5922,6 +5935,8 @@ export declare enum EntityTypes {
|
|
|
5922
5935
|
Repo = "REPO",
|
|
5923
5936
|
/** Cloud storage site */
|
|
5924
5937
|
Site = "SITE",
|
|
5938
|
+
/** Skill */
|
|
5939
|
+
Skill = "SKILL",
|
|
5925
5940
|
/** Software */
|
|
5926
5941
|
Software = "SOFTWARE",
|
|
5927
5942
|
/** Model specification */
|
|
@@ -7959,6 +7974,33 @@ export type GoogleDriveDistributionPropertiesInput = {
|
|
|
7959
7974
|
/** The target folder ID. */
|
|
7960
7975
|
folderId?: InputMaybe<Scalars['String']['input']>;
|
|
7961
7976
|
};
|
|
7977
|
+
/** Represents a Google Drive shared drive. */
|
|
7978
|
+
export type GoogleDriveDriveResult = {
|
|
7979
|
+
__typename?: 'GoogleDriveDriveResult';
|
|
7980
|
+
/** The Google Drive shared drive identifier. */
|
|
7981
|
+
driveId?: Maybe<Scalars['ID']['output']>;
|
|
7982
|
+
/** The Google Drive shared drive name. */
|
|
7983
|
+
driveName?: Maybe<Scalars['String']['output']>;
|
|
7984
|
+
};
|
|
7985
|
+
/** Represents Google Drive shared drives. */
|
|
7986
|
+
export type GoogleDriveDriveResults = {
|
|
7987
|
+
__typename?: 'GoogleDriveDriveResults';
|
|
7988
|
+
/** The Google Drive shared drives. */
|
|
7989
|
+
results?: Maybe<Array<Maybe<GoogleDriveDriveResult>>>;
|
|
7990
|
+
};
|
|
7991
|
+
/** Represents Google Drive shared drives properties. */
|
|
7992
|
+
export type GoogleDriveDrivesInput = {
|
|
7993
|
+
/** Google Drive authentication type, defaults to User. */
|
|
7994
|
+
authenticationType?: InputMaybe<GoogleDriveAuthenticationTypes>;
|
|
7995
|
+
/** Google OAuth2 client identifier. */
|
|
7996
|
+
clientId?: InputMaybe<Scalars['String']['input']>;
|
|
7997
|
+
/** Google OAuth2 client secret. */
|
|
7998
|
+
clientSecret?: InputMaybe<Scalars['String']['input']>;
|
|
7999
|
+
/** The authentication connector reference. */
|
|
8000
|
+
connector?: InputMaybe<EntityReferenceInput>;
|
|
8001
|
+
/** Google OAuth2 refresh token. */
|
|
8002
|
+
refreshToken?: InputMaybe<Scalars['String']['input']>;
|
|
8003
|
+
};
|
|
7962
8004
|
/** Represents Google Drive properties. */
|
|
7963
8005
|
export type GoogleDriveFeedProperties = {
|
|
7964
8006
|
__typename?: 'GoogleDriveFeedProperties';
|
|
@@ -13857,6 +13899,8 @@ export type Mutation = {
|
|
|
13857
13899
|
addContentsToCollections?: Maybe<Array<Maybe<Collection>>>;
|
|
13858
13900
|
/** Adds conversations to one or more collections. */
|
|
13859
13901
|
addConversationsToCollections?: Maybe<Array<Maybe<Collection>>>;
|
|
13902
|
+
/** Adds skills to one or more collections. */
|
|
13903
|
+
addSkillsToCollections?: Maybe<Array<Maybe<Collection>>>;
|
|
13860
13904
|
/** Approves content, and resumes workflow from the prepared stage (without re-ingesting or re-running the storage gate). */
|
|
13861
13905
|
approveContent?: Maybe<Content>;
|
|
13862
13906
|
/** Ask questions about the Graphlit API or SDKs. Can create code samples for any API call. */
|
|
@@ -13935,6 +13979,8 @@ export type Mutation = {
|
|
|
13935
13979
|
createProduct?: Maybe<Product>;
|
|
13936
13980
|
/** Creates a new repo. */
|
|
13937
13981
|
createRepo?: Maybe<Repo>;
|
|
13982
|
+
/** Creates a new skill. */
|
|
13983
|
+
createSkill?: Maybe<Skill>;
|
|
13938
13984
|
/** Creates a new software. */
|
|
13939
13985
|
createSoftware?: Maybe<Software>;
|
|
13940
13986
|
/** Creates a new LLM specification. */
|
|
@@ -14013,6 +14059,8 @@ export type Mutation = {
|
|
|
14013
14059
|
deleteAllProducts?: Maybe<Array<Maybe<Product>>>;
|
|
14014
14060
|
/** Bulk deletes repos based on the provided filter criteria. */
|
|
14015
14061
|
deleteAllRepos?: Maybe<Array<Maybe<Repo>>>;
|
|
14062
|
+
/** Bulk deletes skills based on the provided filter criteria. */
|
|
14063
|
+
deleteAllSkills?: Maybe<Array<Maybe<Skill>>>;
|
|
14016
14064
|
/** Bulk deletes software based on the provided filter criteria. */
|
|
14017
14065
|
deleteAllSoftwares?: Maybe<Array<Maybe<Software>>>;
|
|
14018
14066
|
/** Bulk deletes specifications based on the provided filter criteria. */
|
|
@@ -14137,6 +14185,10 @@ export type Mutation = {
|
|
|
14137
14185
|
deleteRepo?: Maybe<Repo>;
|
|
14138
14186
|
/** Bulk deletes repos. */
|
|
14139
14187
|
deleteRepos?: Maybe<Array<Maybe<Repo>>>;
|
|
14188
|
+
/** Deletes a skill. */
|
|
14189
|
+
deleteSkill?: Maybe<Skill>;
|
|
14190
|
+
/** Bulk deletes skills. */
|
|
14191
|
+
deleteSkills?: Maybe<Array<Maybe<Skill>>>;
|
|
14140
14192
|
/** Deletes a software. */
|
|
14141
14193
|
deleteSoftware?: Maybe<Software>;
|
|
14142
14194
|
/** Bulk deletes software. */
|
|
@@ -14165,6 +14217,8 @@ export type Mutation = {
|
|
|
14165
14217
|
disableAlert?: Maybe<Alert>;
|
|
14166
14218
|
/** Disables a feed. */
|
|
14167
14219
|
disableFeed?: Maybe<Feed>;
|
|
14220
|
+
/** Disables a skill. */
|
|
14221
|
+
disableSkill?: Maybe<Skill>;
|
|
14168
14222
|
/** Disables a user. */
|
|
14169
14223
|
disableUser?: Maybe<User>;
|
|
14170
14224
|
/** Distribute to an external service. */
|
|
@@ -14175,6 +14229,8 @@ export type Mutation = {
|
|
|
14175
14229
|
enableAlert?: Maybe<Alert>;
|
|
14176
14230
|
/** Enables a feed. */
|
|
14177
14231
|
enableFeed?: Maybe<Feed>;
|
|
14232
|
+
/** Enables a skill. */
|
|
14233
|
+
enableSkill?: Maybe<Skill>;
|
|
14178
14234
|
/** Enables a user. */
|
|
14179
14235
|
enableUser?: Maybe<User>;
|
|
14180
14236
|
/** Enriches organizations matching the filter criteria using the specified enrichment connector. */
|
|
@@ -14245,6 +14301,8 @@ export type Mutation = {
|
|
|
14245
14301
|
removeContentsFromCollection?: Maybe<Collection>;
|
|
14246
14302
|
/** Removes conversations from a collection. */
|
|
14247
14303
|
removeConversationsFromCollection?: Maybe<Collection>;
|
|
14304
|
+
/** Removes skills from a collection. */
|
|
14305
|
+
removeSkillsFromCollection?: Maybe<Collection>;
|
|
14248
14306
|
/** Research contents via web research based on provided filter criteria. */
|
|
14249
14307
|
researchContents?: Maybe<StringResult>;
|
|
14250
14308
|
/** Resolves duplicate entities into a single primary entity using LLM reasoning. Returns clusters of suggested groupings if resolution is not executed. */
|
|
@@ -14351,6 +14409,8 @@ export type Mutation = {
|
|
|
14351
14409
|
updateProject?: Maybe<Project>;
|
|
14352
14410
|
/** Updates a repo. */
|
|
14353
14411
|
updateRepo?: Maybe<Repo>;
|
|
14412
|
+
/** Updates an existing skill. */
|
|
14413
|
+
updateSkill?: Maybe<Skill>;
|
|
14354
14414
|
/** Updates a software. */
|
|
14355
14415
|
updateSoftware?: Maybe<Software>;
|
|
14356
14416
|
/** Updates an existing LLM specification. */
|
|
@@ -14371,6 +14431,8 @@ export type Mutation = {
|
|
|
14371
14431
|
upsertEmotion?: Maybe<Emotion>;
|
|
14372
14432
|
/** Upserts a label. */
|
|
14373
14433
|
upsertLabel?: Maybe<Label>;
|
|
14434
|
+
/** Upserts a skill. */
|
|
14435
|
+
upsertSkill?: Maybe<Skill>;
|
|
14374
14436
|
/** Upserts an LLM specification. */
|
|
14375
14437
|
upsertSpecification?: Maybe<Specification>;
|
|
14376
14438
|
/** Upserts a view. */
|
|
@@ -14390,6 +14452,10 @@ export type MutationAddConversationsToCollectionsArgs = {
|
|
|
14390
14452
|
collections: Array<EntityReferenceInput>;
|
|
14391
14453
|
conversations: Array<EntityReferenceInput>;
|
|
14392
14454
|
};
|
|
14455
|
+
export type MutationAddSkillsToCollectionsArgs = {
|
|
14456
|
+
collections: Array<EntityReferenceInput>;
|
|
14457
|
+
skills: Array<EntityReferenceInput>;
|
|
14458
|
+
};
|
|
14393
14459
|
export type MutationApproveContentArgs = {
|
|
14394
14460
|
id: Scalars['ID']['input'];
|
|
14395
14461
|
};
|
|
@@ -14526,6 +14592,10 @@ export type MutationCreateProductArgs = {
|
|
|
14526
14592
|
export type MutationCreateRepoArgs = {
|
|
14527
14593
|
repo: RepoInput;
|
|
14528
14594
|
};
|
|
14595
|
+
export type MutationCreateSkillArgs = {
|
|
14596
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
14597
|
+
skill: SkillInput;
|
|
14598
|
+
};
|
|
14529
14599
|
export type MutationCreateSoftwareArgs = {
|
|
14530
14600
|
software: SoftwareInput;
|
|
14531
14601
|
};
|
|
@@ -14705,6 +14775,11 @@ export type MutationDeleteAllReposArgs = {
|
|
|
14705
14775
|
filter?: InputMaybe<RepoFilter>;
|
|
14706
14776
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
14707
14777
|
};
|
|
14778
|
+
export type MutationDeleteAllSkillsArgs = {
|
|
14779
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
14780
|
+
filter?: InputMaybe<SkillFilter>;
|
|
14781
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
14782
|
+
};
|
|
14708
14783
|
export type MutationDeleteAllSoftwaresArgs = {
|
|
14709
14784
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
14710
14785
|
filter?: InputMaybe<SoftwareFilter>;
|
|
@@ -14927,6 +15002,13 @@ export type MutationDeleteReposArgs = {
|
|
|
14927
15002
|
ids: Array<Scalars['ID']['input']>;
|
|
14928
15003
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
14929
15004
|
};
|
|
15005
|
+
export type MutationDeleteSkillArgs = {
|
|
15006
|
+
id: Scalars['ID']['input'];
|
|
15007
|
+
};
|
|
15008
|
+
export type MutationDeleteSkillsArgs = {
|
|
15009
|
+
ids: Array<Scalars['ID']['input']>;
|
|
15010
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
15011
|
+
};
|
|
14930
15012
|
export type MutationDeleteSoftwareArgs = {
|
|
14931
15013
|
id: Scalars['ID']['input'];
|
|
14932
15014
|
};
|
|
@@ -14980,6 +15062,9 @@ export type MutationDisableAlertArgs = {
|
|
|
14980
15062
|
export type MutationDisableFeedArgs = {
|
|
14981
15063
|
id: Scalars['ID']['input'];
|
|
14982
15064
|
};
|
|
15065
|
+
export type MutationDisableSkillArgs = {
|
|
15066
|
+
id: Scalars['ID']['input'];
|
|
15067
|
+
};
|
|
14983
15068
|
export type MutationDisableUserArgs = {
|
|
14984
15069
|
id: Scalars['ID']['input'];
|
|
14985
15070
|
};
|
|
@@ -15001,6 +15086,9 @@ export type MutationEnableAlertArgs = {
|
|
|
15001
15086
|
export type MutationEnableFeedArgs = {
|
|
15002
15087
|
id: Scalars['ID']['input'];
|
|
15003
15088
|
};
|
|
15089
|
+
export type MutationEnableSkillArgs = {
|
|
15090
|
+
id: Scalars['ID']['input'];
|
|
15091
|
+
};
|
|
15004
15092
|
export type MutationEnableUserArgs = {
|
|
15005
15093
|
id: Scalars['ID']['input'];
|
|
15006
15094
|
};
|
|
@@ -15054,6 +15142,7 @@ export type MutationFormatConversationArgs = {
|
|
|
15054
15142
|
persona?: InputMaybe<EntityReferenceInput>;
|
|
15055
15143
|
prompt: Scalars['String']['input'];
|
|
15056
15144
|
scratchpad?: InputMaybe<Scalars['String']['input']>;
|
|
15145
|
+
skills?: InputMaybe<Array<EntityReferenceInput>>;
|
|
15057
15146
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
15058
15147
|
systemPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
15059
15148
|
tools?: InputMaybe<Array<ToolDefinitionInput>>;
|
|
@@ -15182,6 +15271,7 @@ export type MutationPromptConversationArgs = {
|
|
|
15182
15271
|
prompt: Scalars['String']['input'];
|
|
15183
15272
|
requireTool?: InputMaybe<Scalars['Boolean']['input']>;
|
|
15184
15273
|
scratchpad?: InputMaybe<Scalars['String']['input']>;
|
|
15274
|
+
skills?: InputMaybe<Array<EntityReferenceInput>>;
|
|
15185
15275
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
15186
15276
|
systemPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
15187
15277
|
tools?: InputMaybe<Array<ToolDefinitionInput>>;
|
|
@@ -15244,6 +15334,10 @@ export type MutationRemoveConversationsFromCollectionArgs = {
|
|
|
15244
15334
|
collection: EntityReferenceInput;
|
|
15245
15335
|
conversations: Array<EntityReferenceInput>;
|
|
15246
15336
|
};
|
|
15337
|
+
export type MutationRemoveSkillsFromCollectionArgs = {
|
|
15338
|
+
collection: EntityReferenceInput;
|
|
15339
|
+
skills: Array<EntityReferenceInput>;
|
|
15340
|
+
};
|
|
15247
15341
|
export type MutationResearchContentsArgs = {
|
|
15248
15342
|
connector: ContentPublishingConnectorInput;
|
|
15249
15343
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -15465,6 +15559,9 @@ export type MutationUpdateProjectArgs = {
|
|
|
15465
15559
|
export type MutationUpdateRepoArgs = {
|
|
15466
15560
|
repo: RepoUpdateInput;
|
|
15467
15561
|
};
|
|
15562
|
+
export type MutationUpdateSkillArgs = {
|
|
15563
|
+
skill: SkillUpdateInput;
|
|
15564
|
+
};
|
|
15468
15565
|
export type MutationUpdateSoftwareArgs = {
|
|
15469
15566
|
software: SoftwareUpdateInput;
|
|
15470
15567
|
};
|
|
@@ -15498,6 +15595,9 @@ export type MutationUpsertLabelArgs = {
|
|
|
15498
15595
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15499
15596
|
label: LabelInput;
|
|
15500
15597
|
};
|
|
15598
|
+
export type MutationUpsertSkillArgs = {
|
|
15599
|
+
skill: SkillInput;
|
|
15600
|
+
};
|
|
15501
15601
|
export type MutationUpsertSpecificationArgs = {
|
|
15502
15602
|
specification: SpecificationInput;
|
|
15503
15603
|
};
|
|
@@ -18532,6 +18632,8 @@ export type Query = {
|
|
|
18532
18632
|
countProducts?: Maybe<CountResult>;
|
|
18533
18633
|
/** Counts repos based on the provided filter criteria. */
|
|
18534
18634
|
countRepos?: Maybe<CountResult>;
|
|
18635
|
+
/** Counts skills based on the provided filter criteria. */
|
|
18636
|
+
countSkills?: Maybe<CountResult>;
|
|
18535
18637
|
/** Counts software based on the provided filter criteria. */
|
|
18536
18638
|
countSoftwares?: Maybe<CountResult>;
|
|
18537
18639
|
/** Counts specifications based on the provided filter criteria. */
|
|
@@ -18572,6 +18674,8 @@ export type Query = {
|
|
|
18572
18674
|
gitHubRepositories?: Maybe<GitHubRepositoryResults>;
|
|
18573
18675
|
/** Retrieves available Google calendars. */
|
|
18574
18676
|
googleCalendars?: Maybe<CalendarResults>;
|
|
18677
|
+
/** Retrieves available Google Drive shared drives. */
|
|
18678
|
+
googleDriveDrives?: Maybe<GoogleDriveDriveResults>;
|
|
18575
18679
|
/** Retrieves available Google Drive folders. */
|
|
18576
18680
|
googleDriveFolders?: Maybe<GoogleDriveFolderResults>;
|
|
18577
18681
|
/** Retrieves entity knowledge graph based on filter criteria. */
|
|
@@ -18718,6 +18822,10 @@ export type Query = {
|
|
|
18718
18822
|
sharePointFolders?: Maybe<SharePointFolderResults>;
|
|
18719
18823
|
/** Retrieves available SharePoint document libraries. */
|
|
18720
18824
|
sharePointLibraries?: Maybe<SharePointLibraryResults>;
|
|
18825
|
+
/** Lookup a skill given its ID. */
|
|
18826
|
+
skill?: Maybe<Skill>;
|
|
18827
|
+
/** Retrieves skills based on the provided filter criteria. */
|
|
18828
|
+
skills?: Maybe<SkillResults>;
|
|
18721
18829
|
/** Retrieves available Slack channels. */
|
|
18722
18830
|
slackChannels?: Maybe<StringResults>;
|
|
18723
18831
|
/** Lookup software given its ID. */
|
|
@@ -18966,6 +19074,10 @@ export type QueryCountReposArgs = {
|
|
|
18966
19074
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
18967
19075
|
filter?: InputMaybe<RepoFilter>;
|
|
18968
19076
|
};
|
|
19077
|
+
export type QueryCountSkillsArgs = {
|
|
19078
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
19079
|
+
filter?: InputMaybe<SkillFilter>;
|
|
19080
|
+
};
|
|
18969
19081
|
export type QueryCountSoftwaresArgs = {
|
|
18970
19082
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
18971
19083
|
filter?: InputMaybe<SoftwareFilter>;
|
|
@@ -19048,7 +19160,11 @@ export type QueryGitHubRepositoriesArgs = {
|
|
|
19048
19160
|
export type QueryGoogleCalendarsArgs = {
|
|
19049
19161
|
properties: GoogleCalendarsInput;
|
|
19050
19162
|
};
|
|
19163
|
+
export type QueryGoogleDriveDrivesArgs = {
|
|
19164
|
+
properties: GoogleDriveDrivesInput;
|
|
19165
|
+
};
|
|
19051
19166
|
export type QueryGoogleDriveFoldersArgs = {
|
|
19167
|
+
driveId?: InputMaybe<Scalars['ID']['input']>;
|
|
19052
19168
|
folderId?: InputMaybe<Scalars['ID']['input']>;
|
|
19053
19169
|
properties: GoogleDriveFoldersInput;
|
|
19054
19170
|
};
|
|
@@ -19374,6 +19490,14 @@ export type QuerySharePointFoldersArgs = {
|
|
|
19374
19490
|
export type QuerySharePointLibrariesArgs = {
|
|
19375
19491
|
properties: SharePointLibrariesInput;
|
|
19376
19492
|
};
|
|
19493
|
+
export type QuerySkillArgs = {
|
|
19494
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
19495
|
+
id: Scalars['ID']['input'];
|
|
19496
|
+
};
|
|
19497
|
+
export type QuerySkillsArgs = {
|
|
19498
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
19499
|
+
filter?: InputMaybe<SkillFilter>;
|
|
19500
|
+
};
|
|
19377
19501
|
export type QuerySlackChannelsArgs = {
|
|
19378
19502
|
properties: SlackChannelsInput;
|
|
19379
19503
|
};
|
|
@@ -20703,6 +20827,99 @@ export declare enum SiteTypes {
|
|
|
20703
20827
|
/** Watch cloud storage site */
|
|
20704
20828
|
Watch = "WATCH"
|
|
20705
20829
|
}
|
|
20830
|
+
/** Represents a skill. */
|
|
20831
|
+
export type Skill = {
|
|
20832
|
+
__typename?: 'Skill';
|
|
20833
|
+
/** The collections this skill belongs to. */
|
|
20834
|
+
collections?: Maybe<Array<Maybe<Collection>>>;
|
|
20835
|
+
/** The tenant correlation identifier. */
|
|
20836
|
+
correlationId?: Maybe<Scalars['String']['output']>;
|
|
20837
|
+
/** The creation date of the skill. */
|
|
20838
|
+
creationDate: Scalars['DateTime']['output'];
|
|
20839
|
+
/** The description of the skill. */
|
|
20840
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
20841
|
+
/** The ID of the skill. */
|
|
20842
|
+
id: Scalars['ID']['output'];
|
|
20843
|
+
/** The modified date of the skill. */
|
|
20844
|
+
modifiedDate?: Maybe<Scalars['DateTime']['output']>;
|
|
20845
|
+
/** The name of the skill. */
|
|
20846
|
+
name: Scalars['String']['output'];
|
|
20847
|
+
/** The owner of the skill. */
|
|
20848
|
+
owner: Owner;
|
|
20849
|
+
/** The relevance score of the skill. */
|
|
20850
|
+
relevance?: Maybe<Scalars['Float']['output']>;
|
|
20851
|
+
/** The skill owner. */
|
|
20852
|
+
skillOwner?: Maybe<EntityOwners>;
|
|
20853
|
+
/** The state of the skill (i.e. created, finished). */
|
|
20854
|
+
state: EntityState;
|
|
20855
|
+
/** The Markdown text body of the skill. */
|
|
20856
|
+
text: Scalars['String']['output'];
|
|
20857
|
+
};
|
|
20858
|
+
/** Represents a filter for skills. */
|
|
20859
|
+
export type SkillFilter = {
|
|
20860
|
+
/** Filter by collections. */
|
|
20861
|
+
collections?: InputMaybe<Array<EntityReferenceFilter>>;
|
|
20862
|
+
/** Filter by creation date recent timespan. For example, a timespan of one day will return skill(s) created in the last 24 hours. */
|
|
20863
|
+
createdInLast?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
20864
|
+
/** Filter skill(s) by their creation date range. */
|
|
20865
|
+
creationDateRange?: InputMaybe<DateRangeFilter>;
|
|
20866
|
+
/** The sort direction for query results. */
|
|
20867
|
+
direction?: InputMaybe<OrderDirectionTypes>;
|
|
20868
|
+
/** Filter by whether the skill belongs to any collections. */
|
|
20869
|
+
hasCollections?: InputMaybe<Scalars['Boolean']['input']>;
|
|
20870
|
+
/** Filter skill(s) by their unique ID. */
|
|
20871
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
20872
|
+
/** Limit the number of skill(s) to be returned. Defaults to 100. */
|
|
20873
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
20874
|
+
/** Filter skill(s) by their modified date range. */
|
|
20875
|
+
modifiedDateRange?: InputMaybe<DateRangeFilter>;
|
|
20876
|
+
/** Filter by modified date recent timespan. For example, a timespan of one day will return skill(s) modified in the last 24 hours. */
|
|
20877
|
+
modifiedInLast?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
20878
|
+
/** Filter skill(s) by their name. */
|
|
20879
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
20880
|
+
/** Skip the specified number of skill(s) from the beginning of the result set. Only supported on keyword search. */
|
|
20881
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
20882
|
+
/** The sort order for query results. */
|
|
20883
|
+
orderBy?: InputMaybe<OrderByTypes>;
|
|
20884
|
+
/** The relevance score threshold for vector and hybrid search. Results below this threshold will be filtered out. Hybrid search defaults to 0.006. Vector search defaults to 0.54, or 0.78 for OpenAI Ada-002, or 0.61 for Google embedding models. Not applicable to keyword search. */
|
|
20885
|
+
relevanceThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
20886
|
+
/** Filter skill(s) by searching for similar text. */
|
|
20887
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
20888
|
+
/** Filter by skill owners. */
|
|
20889
|
+
skillOwners?: InputMaybe<Array<EntityOwners>>;
|
|
20890
|
+
/** Filter skill(s) by their states. */
|
|
20891
|
+
states?: InputMaybe<Array<EntityState>>;
|
|
20892
|
+
};
|
|
20893
|
+
/** Represents a skill. */
|
|
20894
|
+
export type SkillInput = {
|
|
20895
|
+
/** The collections to add this skill to. */
|
|
20896
|
+
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
|
20897
|
+
/** The description of the skill. */
|
|
20898
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
20899
|
+
/** The name of the skill. */
|
|
20900
|
+
name: Scalars['String']['input'];
|
|
20901
|
+
/** The skill owner. */
|
|
20902
|
+
skillOwner?: InputMaybe<EntityOwners>;
|
|
20903
|
+
/** The Markdown text body of the skill. */
|
|
20904
|
+
text: Scalars['String']['input'];
|
|
20905
|
+
};
|
|
20906
|
+
/** Represents skill query results. */
|
|
20907
|
+
export type SkillResults = {
|
|
20908
|
+
__typename?: 'SkillResults';
|
|
20909
|
+
/** The list of skill query results. */
|
|
20910
|
+
results?: Maybe<Array<Skill>>;
|
|
20911
|
+
};
|
|
20912
|
+
/** Represents a skill. */
|
|
20913
|
+
export type SkillUpdateInput = {
|
|
20914
|
+
/** The description of the skill. */
|
|
20915
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
20916
|
+
/** The ID of the skill to update. */
|
|
20917
|
+
id: Scalars['ID']['input'];
|
|
20918
|
+
/** The name of the skill. */
|
|
20919
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
20920
|
+
/** The Markdown text body of the skill. */
|
|
20921
|
+
text?: InputMaybe<Scalars['String']['input']>;
|
|
20922
|
+
};
|
|
20706
20923
|
export declare enum SlackAuthenticationTypes {
|
|
20707
20924
|
Connector = "CONNECTOR",
|
|
20708
20925
|
Token = "TOKEN"
|
|
@@ -23896,6 +24113,25 @@ export type AddConversationsToCollectionsMutation = {
|
|
|
23896
24113
|
} | null> | null;
|
|
23897
24114
|
} | null> | null;
|
|
23898
24115
|
};
|
|
24116
|
+
export type AddSkillsToCollectionsMutationVariables = Exact<{
|
|
24117
|
+
skills: Array<EntityReferenceInput> | EntityReferenceInput;
|
|
24118
|
+
collections: Array<EntityReferenceInput> | EntityReferenceInput;
|
|
24119
|
+
}>;
|
|
24120
|
+
export type AddSkillsToCollectionsMutation = {
|
|
24121
|
+
__typename?: 'Mutation';
|
|
24122
|
+
addSkillsToCollections?: Array<{
|
|
24123
|
+
__typename?: 'Collection';
|
|
24124
|
+
id: string;
|
|
24125
|
+
name: string;
|
|
24126
|
+
state: EntityState;
|
|
24127
|
+
type?: CollectionTypes | null;
|
|
24128
|
+
skills?: Array<{
|
|
24129
|
+
__typename?: 'Skill';
|
|
24130
|
+
id: string;
|
|
24131
|
+
name: string;
|
|
24132
|
+
} | null> | null;
|
|
24133
|
+
} | null> | null;
|
|
24134
|
+
};
|
|
23899
24135
|
export type CountCollectionsQueryVariables = Exact<{
|
|
23900
24136
|
filter?: InputMaybe<CollectionFilter>;
|
|
23901
24137
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -24048,6 +24284,25 @@ export type RemoveConversationsFromCollectionMutation = {
|
|
|
24048
24284
|
} | null> | null;
|
|
24049
24285
|
} | null;
|
|
24050
24286
|
};
|
|
24287
|
+
export type RemoveSkillsFromCollectionMutationVariables = Exact<{
|
|
24288
|
+
skills: Array<EntityReferenceInput> | EntityReferenceInput;
|
|
24289
|
+
collection: EntityReferenceInput;
|
|
24290
|
+
}>;
|
|
24291
|
+
export type RemoveSkillsFromCollectionMutation = {
|
|
24292
|
+
__typename?: 'Mutation';
|
|
24293
|
+
removeSkillsFromCollection?: {
|
|
24294
|
+
__typename?: 'Collection';
|
|
24295
|
+
id: string;
|
|
24296
|
+
name: string;
|
|
24297
|
+
state: EntityState;
|
|
24298
|
+
type?: CollectionTypes | null;
|
|
24299
|
+
skills?: Array<{
|
|
24300
|
+
__typename?: 'Skill';
|
|
24301
|
+
id: string;
|
|
24302
|
+
name: string;
|
|
24303
|
+
} | null> | null;
|
|
24304
|
+
} | null;
|
|
24305
|
+
};
|
|
24051
24306
|
export type UpdateCollectionMutationVariables = Exact<{
|
|
24052
24307
|
collection: CollectionUpdateInput;
|
|
24053
24308
|
}>;
|
|
@@ -28928,6 +29183,7 @@ export type FormatConversationMutationVariables = Exact<{
|
|
|
28928
29183
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
28929
29184
|
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
28930
29185
|
scratchpad?: InputMaybe<Scalars['String']['input']>;
|
|
29186
|
+
skills?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
|
28931
29187
|
}>;
|
|
28932
29188
|
export type FormatConversationMutation = {
|
|
28933
29189
|
__typename?: 'Mutation';
|
|
@@ -29975,6 +30231,7 @@ export type PromptConversationMutationVariables = Exact<{
|
|
|
29975
30231
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
29976
30232
|
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
29977
30233
|
scratchpad?: InputMaybe<Scalars['String']['input']>;
|
|
30234
|
+
skills?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
|
29978
30235
|
}>;
|
|
29979
30236
|
export type PromptConversationMutation = {
|
|
29980
30237
|
__typename?: 'Mutation';
|
|
@@ -35140,9 +35397,24 @@ export type QueryGoogleCalendarsQuery = {
|
|
|
35140
35397
|
} | null> | null;
|
|
35141
35398
|
} | null;
|
|
35142
35399
|
};
|
|
35400
|
+
export type QueryGoogleDriveDrivesQueryVariables = Exact<{
|
|
35401
|
+
properties: GoogleDriveDrivesInput;
|
|
35402
|
+
}>;
|
|
35403
|
+
export type QueryGoogleDriveDrivesQuery = {
|
|
35404
|
+
__typename?: 'Query';
|
|
35405
|
+
googleDriveDrives?: {
|
|
35406
|
+
__typename?: 'GoogleDriveDriveResults';
|
|
35407
|
+
results?: Array<{
|
|
35408
|
+
__typename?: 'GoogleDriveDriveResult';
|
|
35409
|
+
driveId?: string | null;
|
|
35410
|
+
driveName?: string | null;
|
|
35411
|
+
} | null> | null;
|
|
35412
|
+
} | null;
|
|
35413
|
+
};
|
|
35143
35414
|
export type QueryGoogleDriveFoldersQueryVariables = Exact<{
|
|
35144
35415
|
properties: GoogleDriveFoldersInput;
|
|
35145
35416
|
folderId?: InputMaybe<Scalars['ID']['input']>;
|
|
35417
|
+
driveId?: InputMaybe<Scalars['ID']['input']>;
|
|
35146
35418
|
}>;
|
|
35147
35419
|
export type QueryGoogleDriveFoldersQuery = {
|
|
35148
35420
|
__typename?: 'Query';
|
|
@@ -42120,6 +42392,173 @@ export type SearchWebQuery = {
|
|
|
42120
42392
|
}> | null;
|
|
42121
42393
|
} | null;
|
|
42122
42394
|
};
|
|
42395
|
+
export type CountSkillsQueryVariables = Exact<{
|
|
42396
|
+
filter?: InputMaybe<SkillFilter>;
|
|
42397
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
42398
|
+
}>;
|
|
42399
|
+
export type CountSkillsQuery = {
|
|
42400
|
+
__typename?: 'Query';
|
|
42401
|
+
countSkills?: {
|
|
42402
|
+
__typename?: 'CountResult';
|
|
42403
|
+
count?: any | null;
|
|
42404
|
+
} | null;
|
|
42405
|
+
};
|
|
42406
|
+
export type CreateSkillMutationVariables = Exact<{
|
|
42407
|
+
skill: SkillInput;
|
|
42408
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
42409
|
+
}>;
|
|
42410
|
+
export type CreateSkillMutation = {
|
|
42411
|
+
__typename?: 'Mutation';
|
|
42412
|
+
createSkill?: {
|
|
42413
|
+
__typename?: 'Skill';
|
|
42414
|
+
id: string;
|
|
42415
|
+
name: string;
|
|
42416
|
+
state: EntityState;
|
|
42417
|
+
skillOwner?: EntityOwners | null;
|
|
42418
|
+
} | null;
|
|
42419
|
+
};
|
|
42420
|
+
export type DeleteAllSkillsMutationVariables = Exact<{
|
|
42421
|
+
filter?: InputMaybe<SkillFilter>;
|
|
42422
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
42423
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
42424
|
+
}>;
|
|
42425
|
+
export type DeleteAllSkillsMutation = {
|
|
42426
|
+
__typename?: 'Mutation';
|
|
42427
|
+
deleteAllSkills?: Array<{
|
|
42428
|
+
__typename?: 'Skill';
|
|
42429
|
+
id: string;
|
|
42430
|
+
state: EntityState;
|
|
42431
|
+
} | null> | null;
|
|
42432
|
+
};
|
|
42433
|
+
export type DeleteSkillMutationVariables = Exact<{
|
|
42434
|
+
id: Scalars['ID']['input'];
|
|
42435
|
+
}>;
|
|
42436
|
+
export type DeleteSkillMutation = {
|
|
42437
|
+
__typename?: 'Mutation';
|
|
42438
|
+
deleteSkill?: {
|
|
42439
|
+
__typename?: 'Skill';
|
|
42440
|
+
id: string;
|
|
42441
|
+
state: EntityState;
|
|
42442
|
+
} | null;
|
|
42443
|
+
};
|
|
42444
|
+
export type DeleteSkillsMutationVariables = Exact<{
|
|
42445
|
+
ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
42446
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
42447
|
+
}>;
|
|
42448
|
+
export type DeleteSkillsMutation = {
|
|
42449
|
+
__typename?: 'Mutation';
|
|
42450
|
+
deleteSkills?: Array<{
|
|
42451
|
+
__typename?: 'Skill';
|
|
42452
|
+
id: string;
|
|
42453
|
+
state: EntityState;
|
|
42454
|
+
} | null> | null;
|
|
42455
|
+
};
|
|
42456
|
+
export type DisableSkillMutationVariables = Exact<{
|
|
42457
|
+
id: Scalars['ID']['input'];
|
|
42458
|
+
}>;
|
|
42459
|
+
export type DisableSkillMutation = {
|
|
42460
|
+
__typename?: 'Mutation';
|
|
42461
|
+
disableSkill?: {
|
|
42462
|
+
__typename?: 'Skill';
|
|
42463
|
+
id: string;
|
|
42464
|
+
state: EntityState;
|
|
42465
|
+
} | null;
|
|
42466
|
+
};
|
|
42467
|
+
export type EnableSkillMutationVariables = Exact<{
|
|
42468
|
+
id: Scalars['ID']['input'];
|
|
42469
|
+
}>;
|
|
42470
|
+
export type EnableSkillMutation = {
|
|
42471
|
+
__typename?: 'Mutation';
|
|
42472
|
+
enableSkill?: {
|
|
42473
|
+
__typename?: 'Skill';
|
|
42474
|
+
id: string;
|
|
42475
|
+
state: EntityState;
|
|
42476
|
+
} | null;
|
|
42477
|
+
};
|
|
42478
|
+
export type GetSkillQueryVariables = Exact<{
|
|
42479
|
+
id: Scalars['ID']['input'];
|
|
42480
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
42481
|
+
}>;
|
|
42482
|
+
export type GetSkillQuery = {
|
|
42483
|
+
__typename?: 'Query';
|
|
42484
|
+
skill?: {
|
|
42485
|
+
__typename?: 'Skill';
|
|
42486
|
+
id: string;
|
|
42487
|
+
name: string;
|
|
42488
|
+
creationDate: any;
|
|
42489
|
+
modifiedDate?: any | null;
|
|
42490
|
+
state: EntityState;
|
|
42491
|
+
correlationId?: string | null;
|
|
42492
|
+
text: string;
|
|
42493
|
+
skillOwner?: EntityOwners | null;
|
|
42494
|
+
owner: {
|
|
42495
|
+
__typename?: 'Owner';
|
|
42496
|
+
id: string;
|
|
42497
|
+
};
|
|
42498
|
+
collections?: Array<{
|
|
42499
|
+
__typename?: 'Collection';
|
|
42500
|
+
id: string;
|
|
42501
|
+
name: string;
|
|
42502
|
+
} | null> | null;
|
|
42503
|
+
} | null;
|
|
42504
|
+
};
|
|
42505
|
+
export type QuerySkillsQueryVariables = Exact<{
|
|
42506
|
+
filter?: InputMaybe<SkillFilter>;
|
|
42507
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
42508
|
+
}>;
|
|
42509
|
+
export type QuerySkillsQuery = {
|
|
42510
|
+
__typename?: 'Query';
|
|
42511
|
+
skills?: {
|
|
42512
|
+
__typename?: 'SkillResults';
|
|
42513
|
+
results?: Array<{
|
|
42514
|
+
__typename?: 'Skill';
|
|
42515
|
+
id: string;
|
|
42516
|
+
name: string;
|
|
42517
|
+
creationDate: any;
|
|
42518
|
+
modifiedDate?: any | null;
|
|
42519
|
+
relevance?: number | null;
|
|
42520
|
+
state: EntityState;
|
|
42521
|
+
correlationId?: string | null;
|
|
42522
|
+
text: string;
|
|
42523
|
+
skillOwner?: EntityOwners | null;
|
|
42524
|
+
owner: {
|
|
42525
|
+
__typename?: 'Owner';
|
|
42526
|
+
id: string;
|
|
42527
|
+
};
|
|
42528
|
+
collections?: Array<{
|
|
42529
|
+
__typename?: 'Collection';
|
|
42530
|
+
id: string;
|
|
42531
|
+
name: string;
|
|
42532
|
+
} | null> | null;
|
|
42533
|
+
}> | null;
|
|
42534
|
+
} | null;
|
|
42535
|
+
};
|
|
42536
|
+
export type UpdateSkillMutationVariables = Exact<{
|
|
42537
|
+
skill: SkillUpdateInput;
|
|
42538
|
+
}>;
|
|
42539
|
+
export type UpdateSkillMutation = {
|
|
42540
|
+
__typename?: 'Mutation';
|
|
42541
|
+
updateSkill?: {
|
|
42542
|
+
__typename?: 'Skill';
|
|
42543
|
+
id: string;
|
|
42544
|
+
name: string;
|
|
42545
|
+
state: EntityState;
|
|
42546
|
+
skillOwner?: EntityOwners | null;
|
|
42547
|
+
} | null;
|
|
42548
|
+
};
|
|
42549
|
+
export type UpsertSkillMutationVariables = Exact<{
|
|
42550
|
+
skill: SkillInput;
|
|
42551
|
+
}>;
|
|
42552
|
+
export type UpsertSkillMutation = {
|
|
42553
|
+
__typename?: 'Mutation';
|
|
42554
|
+
upsertSkill?: {
|
|
42555
|
+
__typename?: 'Skill';
|
|
42556
|
+
id: string;
|
|
42557
|
+
name: string;
|
|
42558
|
+
state: EntityState;
|
|
42559
|
+
skillOwner?: EntityOwners | null;
|
|
42560
|
+
} | null;
|
|
42561
|
+
};
|
|
42123
42562
|
export type CountSoftwaresQueryVariables = Exact<{
|
|
42124
42563
|
filter?: InputMaybe<SoftwareFilter>;
|
|
42125
42564
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -919,6 +919,14 @@ export var EntityExtractionServiceTypes;
|
|
|
919
919
|
*/
|
|
920
920
|
EntityExtractionServiceTypes["OpenAiImage"] = "OPEN_AI_IMAGE";
|
|
921
921
|
})(EntityExtractionServiceTypes || (EntityExtractionServiceTypes = {}));
|
|
922
|
+
/** Entity owner */
|
|
923
|
+
export var EntityOwners;
|
|
924
|
+
(function (EntityOwners) {
|
|
925
|
+
/** Owned by project */
|
|
926
|
+
EntityOwners["Project"] = "PROJECT";
|
|
927
|
+
/** Owned by system */
|
|
928
|
+
EntityOwners["System"] = "SYSTEM";
|
|
929
|
+
})(EntityOwners || (EntityOwners = {}));
|
|
922
930
|
/** Entity resolution strategy */
|
|
923
931
|
export var EntityResolutionStrategyTypes;
|
|
924
932
|
(function (EntityResolutionStrategyTypes) {
|
|
@@ -1064,6 +1072,8 @@ export var EntityTypes;
|
|
|
1064
1072
|
EntityTypes["Repo"] = "REPO";
|
|
1065
1073
|
/** Cloud storage site */
|
|
1066
1074
|
EntityTypes["Site"] = "SITE";
|
|
1075
|
+
/** Skill */
|
|
1076
|
+
EntityTypes["Skill"] = "SKILL";
|
|
1067
1077
|
/** Software */
|
|
1068
1078
|
EntityTypes["Software"] = "SOFTWARE";
|
|
1069
1079
|
/** Model specification */
|
package/dist/types/agent.d.ts
CHANGED
|
@@ -70,6 +70,8 @@ export interface StreamAgentOptions {
|
|
|
70
70
|
instructions?: string;
|
|
71
71
|
/** Harness-injected scratchpad text, merged with conversation scratchpad. Placed right before user-prompt. */
|
|
72
72
|
scratchpad?: string;
|
|
73
|
+
/** Skill references to inject into the agent's context window. Retrieved via querySkills, passed by reference. */
|
|
74
|
+
skills?: EntityReferenceInput[];
|
|
73
75
|
}
|
|
74
76
|
export interface ToolCallResult {
|
|
75
77
|
id: string;
|
|
@@ -146,6 +148,8 @@ export interface RunAgentOptions {
|
|
|
146
148
|
smoothingEnabled?: boolean;
|
|
147
149
|
chunkingStrategy?: "character" | "word" | "sentence";
|
|
148
150
|
smoothingDelay?: number;
|
|
151
|
+
/** Skill references to inject into the agent's context window. Retrieved via querySkills, passed by reference. */
|
|
152
|
+
skills?: EntityReferenceInput[];
|
|
149
153
|
}
|
|
150
154
|
/** Quality assessment scores from LLM-as-judge post-run evaluation. */
|
|
151
155
|
export interface QualityAssessment {
|