@overaihq/cli 0.13.3 → 0.13.4
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 +18 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27655,6 +27655,9 @@ var agentFiles = (id, name2, version) => ({
|
|
|
27655
27655
|
tableSpaceId: link.tableSpaceId,
|
|
27656
27656
|
accessMode: link.accessMode
|
|
27657
27657
|
})
|
|
27658
|
+
),
|
|
27659
|
+
agentIds: version.agentVersionAgentsByAgentIdAndVersionNumber.nodes.map(
|
|
27660
|
+
(link) => link.attachedAgentId
|
|
27658
27661
|
)
|
|
27659
27662
|
})
|
|
27660
27663
|
});
|
|
@@ -27667,6 +27670,9 @@ var agentVersionFields = `
|
|
|
27667
27670
|
agentVersionTableSpacesByAgentIdAndVersionNumber(orderBy: [TABLE_SPACE_ID_ASC]) {
|
|
27668
27671
|
nodes { tableSpaceId accessMode }
|
|
27669
27672
|
}
|
|
27673
|
+
agentVersionAgentsByAgentIdAndVersionNumber(orderBy: [ATTACHED_AGENT_ID_ASC]) {
|
|
27674
|
+
nodes { attachedAgentId }
|
|
27675
|
+
}
|
|
27670
27676
|
`;
|
|
27671
27677
|
var agentAdapter = {
|
|
27672
27678
|
type: "agent",
|
|
@@ -27737,14 +27743,15 @@ var agentAdapter = {
|
|
|
27737
27743
|
$agentId: String!, $message: String!, $systemPrompt: String!,
|
|
27738
27744
|
$model: String!, $temperature: Float!, $maxTokens: Int!,
|
|
27739
27745
|
$rateLimitRequestsPerMinute: Int!, $rateLimitTokensPerMinute: Int!,
|
|
27740
|
-
$functionIds: [String], $tableSpaceBindings: JSON
|
|
27746
|
+
$functionIds: [String], $tableSpaceBindings: JSON, $agentIds: [String]
|
|
27741
27747
|
) {
|
|
27742
27748
|
createAgentVersionWithAttachments(input: { expectedLatestVersion: $expectedLatestVersion,
|
|
27743
27749
|
agentId: $agentId, message: $message, systemPrompt: $systemPrompt,
|
|
27744
27750
|
model: $model, temperature: $temperature, maxTokens: $maxTokens,
|
|
27745
27751
|
rateLimitRequestsPerMinute: $rateLimitRequestsPerMinute,
|
|
27746
27752
|
rateLimitTokensPerMinute: $rateLimitTokensPerMinute,
|
|
27747
|
-
functionIds: $functionIds, tableSpaceBindings: $tableSpaceBindings
|
|
27753
|
+
functionIds: $functionIds, tableSpaceBindings: $tableSpaceBindings,
|
|
27754
|
+
agentIds: $agentIds
|
|
27748
27755
|
}) { result { versionNumber } }
|
|
27749
27756
|
}`,
|
|
27750
27757
|
{
|
|
@@ -27752,6 +27759,7 @@ var agentAdapter = {
|
|
|
27752
27759
|
message,
|
|
27753
27760
|
...config,
|
|
27754
27761
|
tableSpaceBindings: config.tableSpaceBindings ?? [],
|
|
27762
|
+
agentIds: config.agentIds ?? [],
|
|
27755
27763
|
expectedLatestVersion
|
|
27756
27764
|
}
|
|
27757
27765
|
);
|
|
@@ -29211,6 +29219,13 @@ var agentEditableConfigSchema = agentVersionConfigSchema.extend({
|
|
|
29211
29219
|
accessMode: agentTableSpaceAccessModeSchema
|
|
29212
29220
|
})
|
|
29213
29221
|
)
|
|
29222
|
+
}),
|
|
29223
|
+
agentVersionAgentsByAgentIdAndVersionNumber: external_exports.object({
|
|
29224
|
+
nodes: external_exports.array(
|
|
29225
|
+
external_exports.object({
|
|
29226
|
+
attachedAgentId: external_exports.string()
|
|
29227
|
+
})
|
|
29228
|
+
)
|
|
29214
29229
|
})
|
|
29215
29230
|
});
|
|
29216
29231
|
var agentToolHttpMethodSchema = external_exports.enum([
|
|
@@ -34802,7 +34817,7 @@ var runCreate2 = async (args) => {
|
|
|
34802
34817
|
temperature: $temperature, maxTokens: $maxTokens,
|
|
34803
34818
|
rateLimitRequestsPerMinute: $rateLimitRequestsPerMinute,
|
|
34804
34819
|
rateLimitTokensPerMinute: $rateLimitTokensPerMinute,
|
|
34805
|
-
functionIds: [], tableSpaceBindings: []
|
|
34820
|
+
functionIds: [], tableSpaceBindings: [], agentIds: []
|
|
34806
34821
|
}) { result { versionNumber } }
|
|
34807
34822
|
}`,
|
|
34808
34823
|
{ agentId: id2, ...defaultAgentVersionConfig }
|