@autohq/cli 0.1.174 → 0.1.175
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/agent-bridge.js +11 -2
- package/dist/index.js +12 -3
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -21149,6 +21149,10 @@ var ConnectionsToolAuthSchema = external_exports.object({
|
|
|
21149
21149
|
kind: external_exports.literal("connections"),
|
|
21150
21150
|
connections: external_exports.array(ProviderConnectionReferenceSchema).min(1)
|
|
21151
21151
|
});
|
|
21152
|
+
var ConnectionBackedToolSchema = ProviderConnectionReferenceSchema.extend({
|
|
21153
|
+
kind: external_exports.literal("connection"),
|
|
21154
|
+
description: external_exports.string().trim().min(1).optional()
|
|
21155
|
+
});
|
|
21152
21156
|
var ToolAliasSchema = ResourceNameSchema.refine(
|
|
21153
21157
|
(value2) => value2 !== "workspace",
|
|
21154
21158
|
{
|
|
@@ -21227,6 +21231,7 @@ var GithubToolSchema = external_exports.object({
|
|
|
21227
21231
|
});
|
|
21228
21232
|
var ToolSpecSchema = external_exports.discriminatedUnion("kind", [
|
|
21229
21233
|
RemoteMcpToolSchema,
|
|
21234
|
+
ConnectionBackedToolSchema,
|
|
21230
21235
|
LocalToolSchema
|
|
21231
21236
|
]);
|
|
21232
21237
|
var AgentToolConnectRequestSchema = external_exports.object({
|
|
@@ -21270,6 +21275,10 @@ var AgentToolConnectCompleteResponseSchema = external_exports.object({
|
|
|
21270
21275
|
var InlineAgentToolSchema = RemoteMcpToolSchema.extend({
|
|
21271
21276
|
disabled: external_exports.boolean().optional()
|
|
21272
21277
|
}).or(
|
|
21278
|
+
ConnectionBackedToolSchema.extend({
|
|
21279
|
+
disabled: external_exports.boolean().optional()
|
|
21280
|
+
})
|
|
21281
|
+
).or(
|
|
21273
21282
|
LocalToolSchema.and(
|
|
21274
21283
|
external_exports.object({
|
|
21275
21284
|
disabled: external_exports.boolean().optional()
|
|
@@ -22385,7 +22394,7 @@ var SessionRecordSchema = external_exports.object({
|
|
|
22385
22394
|
external_exports.object({
|
|
22386
22395
|
source: external_exports.literal("inline"),
|
|
22387
22396
|
alias: ToolAliasSchema,
|
|
22388
|
-
spec: RemoteMcpToolSchema.or(LocalToolSchema).or(GithubToolSchema)
|
|
22397
|
+
spec: RemoteMcpToolSchema.or(ConnectionBackedToolSchema).or(LocalToolSchema).or(GithubToolSchema)
|
|
22389
22398
|
})
|
|
22390
22399
|
),
|
|
22391
22400
|
input: JsonValueSchema2,
|
|
@@ -26563,7 +26572,7 @@ Object.assign(lookup, {
|
|
|
26563
26572
|
// package.json
|
|
26564
26573
|
var package_default = {
|
|
26565
26574
|
name: "@autohq/cli",
|
|
26566
|
-
version: "0.1.
|
|
26575
|
+
version: "0.1.175",
|
|
26567
26576
|
license: "SEE LICENSE IN README.md",
|
|
26568
26577
|
publishConfig: {
|
|
26569
26578
|
access: "public"
|
package/dist/index.js
CHANGED
|
@@ -17766,7 +17766,7 @@ function remoteMcpToolSchema(input) {
|
|
|
17766
17766
|
]).default({ kind: "none" })
|
|
17767
17767
|
});
|
|
17768
17768
|
}
|
|
17769
|
-
var REMOTE_MCP_TRANSPORTS, LOCAL_TOOL_IMPLEMENTATIONS, SecretReferenceSchema, NoToolAuthSchema, McpOAuthToolAuthSchema, ConnectionToolAuthSchema, ConnectionsToolAuthSchema, ToolAliasSchema, RemoteMcpToolSchema, LocalAutoToolSchema, LocalPingToolSchema, LocalChatToolSchema, LocalToolSchema, GithubToolSchema, ToolSpecSchema, AgentToolConnectRequestSchema, AgentToolConnectResponseSchema, AgentToolConnectCompleteResponseSchema, InlineAgentToolSchema, AgentToolRefSchema, AgentToolsSchema;
|
|
17769
|
+
var REMOTE_MCP_TRANSPORTS, LOCAL_TOOL_IMPLEMENTATIONS, SecretReferenceSchema, NoToolAuthSchema, McpOAuthToolAuthSchema, ConnectionToolAuthSchema, ConnectionsToolAuthSchema, ConnectionBackedToolSchema, ToolAliasSchema, RemoteMcpToolSchema, LocalAutoToolSchema, LocalPingToolSchema, LocalChatToolSchema, LocalToolSchema, GithubToolSchema, ToolSpecSchema, AgentToolConnectRequestSchema, AgentToolConnectResponseSchema, AgentToolConnectCompleteResponseSchema, InlineAgentToolSchema, AgentToolRefSchema, AgentToolsSchema;
|
|
17770
17770
|
var init_tools = __esm({
|
|
17771
17771
|
"../../packages/schemas/src/tools.ts"() {
|
|
17772
17772
|
"use strict";
|
|
@@ -17794,6 +17794,10 @@ var init_tools = __esm({
|
|
|
17794
17794
|
kind: external_exports.literal("connections"),
|
|
17795
17795
|
connections: external_exports.array(ProviderConnectionReferenceSchema).min(1)
|
|
17796
17796
|
});
|
|
17797
|
+
ConnectionBackedToolSchema = ProviderConnectionReferenceSchema.extend({
|
|
17798
|
+
kind: external_exports.literal("connection"),
|
|
17799
|
+
description: external_exports.string().trim().min(1).optional()
|
|
17800
|
+
});
|
|
17797
17801
|
ToolAliasSchema = ResourceNameSchema.refine(
|
|
17798
17802
|
(value) => value !== "workspace",
|
|
17799
17803
|
{
|
|
@@ -17836,6 +17840,7 @@ var init_tools = __esm({
|
|
|
17836
17840
|
});
|
|
17837
17841
|
ToolSpecSchema = external_exports.discriminatedUnion("kind", [
|
|
17838
17842
|
RemoteMcpToolSchema,
|
|
17843
|
+
ConnectionBackedToolSchema,
|
|
17839
17844
|
LocalToolSchema
|
|
17840
17845
|
]);
|
|
17841
17846
|
AgentToolConnectRequestSchema = external_exports.object({
|
|
@@ -17879,6 +17884,10 @@ var init_tools = __esm({
|
|
|
17879
17884
|
InlineAgentToolSchema = RemoteMcpToolSchema.extend({
|
|
17880
17885
|
disabled: external_exports.boolean().optional()
|
|
17881
17886
|
}).or(
|
|
17887
|
+
ConnectionBackedToolSchema.extend({
|
|
17888
|
+
disabled: external_exports.boolean().optional()
|
|
17889
|
+
})
|
|
17890
|
+
).or(
|
|
17882
17891
|
LocalToolSchema.and(
|
|
17883
17892
|
external_exports.object({
|
|
17884
17893
|
disabled: external_exports.boolean().optional()
|
|
@@ -19160,7 +19169,7 @@ var init_sessions = __esm({
|
|
|
19160
19169
|
external_exports.object({
|
|
19161
19170
|
source: external_exports.literal("inline"),
|
|
19162
19171
|
alias: ToolAliasSchema,
|
|
19163
|
-
spec: RemoteMcpToolSchema.or(LocalToolSchema).or(GithubToolSchema)
|
|
19172
|
+
spec: RemoteMcpToolSchema.or(ConnectionBackedToolSchema).or(LocalToolSchema).or(GithubToolSchema)
|
|
19164
19173
|
})
|
|
19165
19174
|
),
|
|
19166
19175
|
input: JsonValueSchema,
|
|
@@ -21673,7 +21682,7 @@ var init_package = __esm({
|
|
|
21673
21682
|
"package.json"() {
|
|
21674
21683
|
package_default = {
|
|
21675
21684
|
name: "@autohq/cli",
|
|
21676
|
-
version: "0.1.
|
|
21685
|
+
version: "0.1.175",
|
|
21677
21686
|
license: "SEE LICENSE IN README.md",
|
|
21678
21687
|
publishConfig: {
|
|
21679
21688
|
access: "public"
|