@overaihq/cli 0.13.4 → 0.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +19 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27658,6 +27658,9 @@ var agentFiles = (id, name2, version) => ({
|
|
|
27658
27658
|
),
|
|
27659
27659
|
agentIds: version.agentVersionAgentsByAgentIdAndVersionNumber.nodes.map(
|
|
27660
27660
|
(link) => link.attachedAgentId
|
|
27661
|
+
),
|
|
27662
|
+
knowledgeBaseIds: version.agentVersionKnowledgeBasesByAgentIdAndVersionNumber.nodes.map(
|
|
27663
|
+
(link) => link.knowledgeBaseId
|
|
27661
27664
|
)
|
|
27662
27665
|
})
|
|
27663
27666
|
});
|
|
@@ -27673,6 +27676,9 @@ var agentVersionFields = `
|
|
|
27673
27676
|
agentVersionAgentsByAgentIdAndVersionNumber(orderBy: [ATTACHED_AGENT_ID_ASC]) {
|
|
27674
27677
|
nodes { attachedAgentId }
|
|
27675
27678
|
}
|
|
27679
|
+
agentVersionKnowledgeBasesByAgentIdAndVersionNumber(orderBy: [KNOWLEDGE_BASE_ID_ASC]) {
|
|
27680
|
+
nodes { knowledgeBaseId }
|
|
27681
|
+
}
|
|
27676
27682
|
`;
|
|
27677
27683
|
var agentAdapter = {
|
|
27678
27684
|
type: "agent",
|
|
@@ -27743,7 +27749,8 @@ var agentAdapter = {
|
|
|
27743
27749
|
$agentId: String!, $message: String!, $systemPrompt: String!,
|
|
27744
27750
|
$model: String!, $temperature: Float!, $maxTokens: Int!,
|
|
27745
27751
|
$rateLimitRequestsPerMinute: Int!, $rateLimitTokensPerMinute: Int!,
|
|
27746
|
-
$functionIds: [String], $tableSpaceBindings: JSON, $agentIds: [String]
|
|
27752
|
+
$functionIds: [String], $tableSpaceBindings: JSON, $agentIds: [String],
|
|
27753
|
+
$knowledgeBaseIds: [String]
|
|
27747
27754
|
) {
|
|
27748
27755
|
createAgentVersionWithAttachments(input: { expectedLatestVersion: $expectedLatestVersion,
|
|
27749
27756
|
agentId: $agentId, message: $message, systemPrompt: $systemPrompt,
|
|
@@ -27751,7 +27758,7 @@ var agentAdapter = {
|
|
|
27751
27758
|
rateLimitRequestsPerMinute: $rateLimitRequestsPerMinute,
|
|
27752
27759
|
rateLimitTokensPerMinute: $rateLimitTokensPerMinute,
|
|
27753
27760
|
functionIds: $functionIds, tableSpaceBindings: $tableSpaceBindings,
|
|
27754
|
-
agentIds: $agentIds
|
|
27761
|
+
agentIds: $agentIds, knowledgeBaseIds: $knowledgeBaseIds
|
|
27755
27762
|
}) { result { versionNumber } }
|
|
27756
27763
|
}`,
|
|
27757
27764
|
{
|
|
@@ -27760,6 +27767,7 @@ var agentAdapter = {
|
|
|
27760
27767
|
...config,
|
|
27761
27768
|
tableSpaceBindings: config.tableSpaceBindings ?? [],
|
|
27762
27769
|
agentIds: config.agentIds ?? [],
|
|
27770
|
+
knowledgeBaseIds: config.knowledgeBaseIds ?? [],
|
|
27763
27771
|
expectedLatestVersion
|
|
27764
27772
|
}
|
|
27765
27773
|
);
|
|
@@ -29226,6 +29234,13 @@ var agentEditableConfigSchema = agentVersionConfigSchema.extend({
|
|
|
29226
29234
|
attachedAgentId: external_exports.string()
|
|
29227
29235
|
})
|
|
29228
29236
|
)
|
|
29237
|
+
}),
|
|
29238
|
+
agentVersionKnowledgeBasesByAgentIdAndVersionNumber: external_exports.object({
|
|
29239
|
+
nodes: external_exports.array(
|
|
29240
|
+
external_exports.object({
|
|
29241
|
+
knowledgeBaseId: external_exports.string()
|
|
29242
|
+
})
|
|
29243
|
+
)
|
|
29229
29244
|
})
|
|
29230
29245
|
});
|
|
29231
29246
|
var agentToolHttpMethodSchema = external_exports.enum([
|
|
@@ -34817,7 +34832,8 @@ var runCreate2 = async (args) => {
|
|
|
34817
34832
|
temperature: $temperature, maxTokens: $maxTokens,
|
|
34818
34833
|
rateLimitRequestsPerMinute: $rateLimitRequestsPerMinute,
|
|
34819
34834
|
rateLimitTokensPerMinute: $rateLimitTokensPerMinute,
|
|
34820
|
-
functionIds: [], tableSpaceBindings: [], agentIds: []
|
|
34835
|
+
functionIds: [], tableSpaceBindings: [], agentIds: [],
|
|
34836
|
+
knowledgeBaseIds: []
|
|
34821
34837
|
}) { result { versionNumber } }
|
|
34822
34838
|
}`,
|
|
34823
34839
|
{ agentId: id2, ...defaultAgentVersionConfig }
|