@almadar/agent 2.0.0 → 2.0.1
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/event-budget.d.ts +28 -0
- package/dist/agent/experimental/hitl-v2.d.ts +161 -0
- package/dist/agent/experimental/hitl-workflow-integration.d.ts +182 -0
- package/dist/agent/index.d.ts +14 -0
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/interrupt-config.d.ts +51 -0
- package/dist/agent/session-manager.d.ts +204 -0
- package/dist/agent/skill-agent.d.ts +182 -0
- package/dist/agent/workflow-middleware.d.ts +63 -0
- package/dist/agent/workflow-tool-wrapper.d.ts +87 -0
- package/dist/api-types.d.ts +595 -0
- package/dist/context/compaction.d.ts +191 -0
- package/dist/context-compaction.d.ts +55 -0
- package/dist/evals/online-sampling.d.ts +114 -0
- package/dist/evals/utils/compact-orbital.d.ts +100 -0
- package/dist/event-transformer/event-transformer.d.ts +120 -0
- package/dist/event-transformer/index.d.ts +7 -0
- package/dist/events.d.ts +85 -0
- package/dist/index.d.ts +59 -0
- package/dist/index.js.map +1 -1
- package/dist/memory/MemoryManager.d.ts +243 -0
- package/dist/memory/PreferenceLearner.d.ts +59 -0
- package/dist/memory/agentic-search.d.ts +116 -0
- package/dist/memory/index.d.ts +14 -0
- package/dist/memory/memory-orbital.d.ts +66 -0
- package/dist/memory/types.d.ts +143 -0
- package/dist/metrics.d.ts +77 -0
- package/dist/multi-user.d.ts +155 -0
- package/dist/observability/index.d.ts +14 -0
- package/dist/observability/langsmith-integration.d.ts +203 -0
- package/dist/observability.d.ts +196 -0
- package/dist/orbitals/archive/sanitize.d.ts +24 -0
- package/dist/orbitals/batch/batch-generator.d.ts +41 -0
- package/dist/orbitals/batch/concurrency.d.ts +54 -0
- package/dist/orbitals/batch/index.d.ts +14 -0
- package/dist/orbitals/batch/prompt-assembler.d.ts +92 -0
- package/dist/orbitals/batch/types.d.ts +103 -0
- package/dist/orbitals/cache/index.d.ts +11 -0
- package/dist/orbitals/cache/orbital-fingerprint.d.ts +37 -0
- package/dist/orbitals/cache/prompt-assembler.d.ts +65 -0
- package/dist/orbitals/cache/structural-templates.d.ts +33 -0
- package/dist/orbitals/combiner/index.d.ts +102 -0
- package/dist/orbitals/domain-language/index.d.ts +9 -0
- package/dist/orbitals/domain-language/prompts/index.d.ts +11 -0
- package/dist/orbitals/domain-language/prompts/odl-examples.d.ts +8 -0
- package/dist/orbitals/domain-language/prompts/odl-patterns.d.ts +8 -0
- package/dist/orbitals/domain-language/prompts/odl-syntax.d.ts +8 -0
- package/dist/orbitals/domain-language/prompts/odl-to-schema.d.ts +8 -0
- package/dist/orbitals/generation/index.d.ts +10 -0
- package/dist/orbitals/generation/orbital-generator.d.ts +120 -0
- package/dist/orbitals/shared/constants.d.ts +65 -0
- package/dist/orbitals/shared/index.d.ts +11 -0
- package/dist/orbitals/shared/types.d.ts +187 -0
- package/dist/orbitals/shared/utils.d.ts +97 -0
- package/dist/orchestration/complexity-classifier.d.ts +38 -0
- package/dist/orchestration/fixing-orchestrator.d.ts +53 -0
- package/dist/orchestration/index.d.ts +31 -0
- package/dist/orchestration/provider-router.d.ts +45 -0
- package/dist/persistence/firestore-checkpointer.d.ts +139 -0
- package/dist/persistence/firestore-session-store.d.ts +75 -0
- package/dist/persistence/firestore-store.d.ts +86 -0
- package/dist/persistence/index.d.ts +10 -0
- package/dist/persistence/memory-backend.d.ts +33 -0
- package/dist/persistence/types.d.ts +40 -0
- package/dist/security/audit-log.d.ts +44 -0
- package/dist/state-sync.d.ts +171 -0
- package/dist/subagents.d.ts +38 -0
- package/dist/tools/combine-schemas.d.ts +154 -0
- package/dist/tools/composition.d.ts +119 -0
- package/dist/tools/domain-orbital.d.ts +997 -0
- package/dist/tools/execute.d.ts +38 -0
- package/dist/tools/finish-task.d.ts +56 -0
- package/dist/tools/generate-schema.d.ts +53 -0
- package/dist/tools/github.d.ts +297 -0
- package/dist/tools/index.d.ts +1318 -0
- package/dist/tools/orbital-batch-subagent.d.ts +85 -0
- package/dist/tools/orbital-subagent.d.ts +454 -0
- package/dist/tools/orchestrated-fixing.d.ts +74 -0
- package/dist/tools/orchestrated-generation.d.ts +75 -0
- package/dist/tools/sandbox-executor.d.ts +31 -0
- package/dist/tools/schema-chunking.d.ts +117 -0
- package/dist/tools/trait-subagent.d.ts +179 -0
- package/dist/tools/validate-schema.d.ts +17 -0
- package/dist/types.d.ts +167 -0
- package/dist/utils/safety/capability-token.d.ts +50 -0
- package/dist/utils/safety/circuit-breaker.d.ts +71 -0
- package/dist/utils/safety/index.d.ts +19 -0
- package/dist/utils/safety/rate-limiter.d.ts +39 -0
- package/dist/utils/safety/threshold-auth.d.ts +70 -0
- package/dist/workspace/git-client.d.ts +51 -0
- package/dist/workspace/index.d.ts +38 -0
- package/dist/workspace/memory-files.d.ts +31 -0
- package/dist/workspace/sink-manager.d.ts +26 -0
- package/dist/workspace/sinks/firestore-sink.d.ts +41 -0
- package/dist/workspace/sinks/git-sink.d.ts +47 -0
- package/dist/workspace/sinks/index.d.ts +9 -0
- package/dist/workspace/templates.d.ts +32 -0
- package/dist/workspace/types.d.ts +86 -0
- package/dist/workspace/workspace-manager.d.ts +57 -0
- package/package.json +7 -6
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Execute Tool
|
|
3
|
+
*
|
|
4
|
+
* Sandboxed shell command execution within a workspace directory.
|
|
5
|
+
*
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
*/
|
|
8
|
+
import { z } from 'zod';
|
|
9
|
+
import type { AuditLog } from '../security/audit-log.js';
|
|
10
|
+
/**
|
|
11
|
+
* Check if a command contains paths outside the workspace.
|
|
12
|
+
* Returns an error message if unsafe, null if safe.
|
|
13
|
+
*/
|
|
14
|
+
export declare function validateCommandPaths(command: string, workDir: string): string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Create an execute tool that runs shell commands in the workspace directory.
|
|
17
|
+
*
|
|
18
|
+
* @param workDir Workspace directory — commands are sandboxed to this path.
|
|
19
|
+
* @param auditLog Optional audit chain. When provided, every execution attempt
|
|
20
|
+
* (blocked or successful) is recorded with command, gate
|
|
21
|
+
* classification, exit code, and output length.
|
|
22
|
+
*/
|
|
23
|
+
export declare function createExecuteTool(workDir: string, auditLog?: AuditLog): import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
24
|
+
command: z.ZodString;
|
|
25
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
command: string;
|
|
28
|
+
timeout?: number | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
command: string;
|
|
31
|
+
timeout?: number | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
command: string;
|
|
34
|
+
timeout?: number | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
command: string;
|
|
37
|
+
timeout?: number | undefined;
|
|
38
|
+
}, string, "execute">;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Finish Task Tool
|
|
3
|
+
*
|
|
4
|
+
* Signals the agent has completed the workflow. Automatically combines
|
|
5
|
+
* orbitals and validates the result.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
/**
|
|
11
|
+
* Create a finish_task tool that signals the agent has completed the workflow.
|
|
12
|
+
*
|
|
13
|
+
* Automatically combines orbitals from:
|
|
14
|
+
* 1. .orbitals/ directory (for kflow-orbitals skill)
|
|
15
|
+
* 2. domain.txt (for lean skills) - converted to schema via convertDomainToSchema
|
|
16
|
+
*/
|
|
17
|
+
export declare function createFinishTaskTool(workDir: string | undefined): import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
18
|
+
summary: z.ZodString;
|
|
19
|
+
schemaPath: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
summary: string;
|
|
22
|
+
schemaPath?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
summary: string;
|
|
25
|
+
schemaPath?: string | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
summary: string;
|
|
28
|
+
schemaPath?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
summary: string;
|
|
31
|
+
schemaPath?: string | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
success: boolean;
|
|
34
|
+
status: string;
|
|
35
|
+
message: string;
|
|
36
|
+
summary: string;
|
|
37
|
+
autoCombined: boolean;
|
|
38
|
+
source: "domain" | "orbitals" | undefined;
|
|
39
|
+
stats: {
|
|
40
|
+
totalOrbitals: number;
|
|
41
|
+
totalEntities: number;
|
|
42
|
+
totalPages: number;
|
|
43
|
+
totalTraits: number;
|
|
44
|
+
} | undefined;
|
|
45
|
+
validation: {
|
|
46
|
+
valid: boolean;
|
|
47
|
+
errorCount: number;
|
|
48
|
+
warningCount: number;
|
|
49
|
+
} | undefined;
|
|
50
|
+
designQuality: {
|
|
51
|
+
propCorrections: number;
|
|
52
|
+
compositionWarnings: string[];
|
|
53
|
+
};
|
|
54
|
+
schemaPath: string | undefined;
|
|
55
|
+
nextAction: string;
|
|
56
|
+
}, "finish_task">;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Schema Generation Tool (via Structured Output LLM)
|
|
3
|
+
*
|
|
4
|
+
* Generates KFlow schemas using OpenAI's structured output mode.
|
|
5
|
+
* Uses @almadar/llm StructuredOutputClient directly.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
/**
|
|
11
|
+
* Create a tool that generates KFlow schemas using structured output.
|
|
12
|
+
*/
|
|
13
|
+
export declare function createGenerateSchemaTool(): import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
14
|
+
userRequest: z.ZodString;
|
|
15
|
+
suggestedTraits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16
|
+
suggestedEntities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17
|
+
suggestedPages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
|
+
suggestedPatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19
|
+
additionalInstructions: z.ZodOptional<z.ZodString>;
|
|
20
|
+
existingSchema: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
userRequest: string;
|
|
23
|
+
suggestedTraits?: string[] | undefined;
|
|
24
|
+
suggestedEntities?: string[] | undefined;
|
|
25
|
+
suggestedPages?: string[] | undefined;
|
|
26
|
+
suggestedPatterns?: string[] | undefined;
|
|
27
|
+
additionalInstructions?: string | undefined;
|
|
28
|
+
existingSchema?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
userRequest: string;
|
|
31
|
+
suggestedTraits?: string[] | undefined;
|
|
32
|
+
suggestedEntities?: string[] | undefined;
|
|
33
|
+
suggestedPages?: string[] | undefined;
|
|
34
|
+
suggestedPatterns?: string[] | undefined;
|
|
35
|
+
additionalInstructions?: string | undefined;
|
|
36
|
+
existingSchema?: string | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
userRequest: string;
|
|
39
|
+
suggestedTraits?: string[] | undefined;
|
|
40
|
+
suggestedEntities?: string[] | undefined;
|
|
41
|
+
suggestedPages?: string[] | undefined;
|
|
42
|
+
suggestedPatterns?: string[] | undefined;
|
|
43
|
+
additionalInstructions?: string | undefined;
|
|
44
|
+
existingSchema?: string | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
userRequest: string;
|
|
47
|
+
suggestedTraits?: string[] | undefined;
|
|
48
|
+
suggestedEntities?: string[] | undefined;
|
|
49
|
+
suggestedPages?: string[] | undefined;
|
|
50
|
+
suggestedPatterns?: string[] | undefined;
|
|
51
|
+
additionalInstructions?: string | undefined;
|
|
52
|
+
existingSchema?: string | undefined;
|
|
53
|
+
}, string, "generate_schema">;
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitHub Tools for DeepAgent
|
|
3
|
+
*
|
|
4
|
+
* LangChain tools that wrap GitHubIntegration operations.
|
|
5
|
+
* These tools enable the agent to clone repos, create branches, commit, push, and create PRs.
|
|
6
|
+
*/
|
|
7
|
+
import { z } from 'zod';
|
|
8
|
+
/**
|
|
9
|
+
* GitHub tools configuration
|
|
10
|
+
*/
|
|
11
|
+
export interface GitHubToolsConfig {
|
|
12
|
+
/** GitHub personal access token */
|
|
13
|
+
token: string;
|
|
14
|
+
/** Repository owner (e.g., 'octocat') */
|
|
15
|
+
owner?: string;
|
|
16
|
+
/** Repository name (e.g., 'hello-world') */
|
|
17
|
+
repo?: string;
|
|
18
|
+
/** Working directory for git operations */
|
|
19
|
+
workDir: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Create GitHub tools for the agent
|
|
23
|
+
*/
|
|
24
|
+
export declare function createGitHubTools(config: GitHubToolsConfig): {
|
|
25
|
+
github_clone: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
26
|
+
repoUrl: z.ZodString;
|
|
27
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
28
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
repoUrl: string;
|
|
31
|
+
branch?: string | undefined;
|
|
32
|
+
depth?: number | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
repoUrl: string;
|
|
35
|
+
branch?: string | undefined;
|
|
36
|
+
depth?: number | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
repoUrl: string;
|
|
39
|
+
branch?: string | undefined;
|
|
40
|
+
depth?: number | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
repoUrl: string;
|
|
43
|
+
branch?: string | undefined;
|
|
44
|
+
depth?: number | undefined;
|
|
45
|
+
}, string, "github_clone">;
|
|
46
|
+
github_create_branch: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
47
|
+
branchName: z.ZodString;
|
|
48
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
branchName: string;
|
|
51
|
+
baseBranch?: string | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
branchName: string;
|
|
54
|
+
baseBranch?: string | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
branchName: string;
|
|
57
|
+
baseBranch?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
branchName: string;
|
|
60
|
+
baseBranch?: string | undefined;
|
|
61
|
+
}, string, "github_create_branch">;
|
|
62
|
+
github_commit: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
63
|
+
message: z.ZodString;
|
|
64
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
message: string;
|
|
67
|
+
files?: string[] | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
message: string;
|
|
70
|
+
files?: string[] | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
message: string;
|
|
73
|
+
files?: string[] | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
message: string;
|
|
76
|
+
files?: string[] | undefined;
|
|
77
|
+
}, string, "github_commit">;
|
|
78
|
+
github_push: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
79
|
+
branchName: z.ZodString;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
branchName: string;
|
|
82
|
+
}, {
|
|
83
|
+
branchName: string;
|
|
84
|
+
}>, {
|
|
85
|
+
branchName: string;
|
|
86
|
+
}, {
|
|
87
|
+
branchName: string;
|
|
88
|
+
}, string, "github_push">;
|
|
89
|
+
github_create_pr: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
body: z.ZodString;
|
|
92
|
+
baseBranch: z.ZodString;
|
|
93
|
+
headBranch: z.ZodString;
|
|
94
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
baseBranch: string;
|
|
97
|
+
title: string;
|
|
98
|
+
body: string;
|
|
99
|
+
headBranch: string;
|
|
100
|
+
draft?: boolean | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
baseBranch: string;
|
|
103
|
+
title: string;
|
|
104
|
+
body: string;
|
|
105
|
+
headBranch: string;
|
|
106
|
+
draft?: boolean | undefined;
|
|
107
|
+
}>, {
|
|
108
|
+
baseBranch: string;
|
|
109
|
+
title: string;
|
|
110
|
+
body: string;
|
|
111
|
+
headBranch: string;
|
|
112
|
+
draft?: boolean | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
baseBranch: string;
|
|
115
|
+
title: string;
|
|
116
|
+
body: string;
|
|
117
|
+
headBranch: string;
|
|
118
|
+
draft?: boolean | undefined;
|
|
119
|
+
}, string, "github_create_pr">;
|
|
120
|
+
github_list_issues: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
121
|
+
state: z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>;
|
|
122
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
123
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
limit?: number | undefined;
|
|
126
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
127
|
+
labels?: string[] | undefined;
|
|
128
|
+
}, {
|
|
129
|
+
limit?: number | undefined;
|
|
130
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
131
|
+
labels?: string[] | undefined;
|
|
132
|
+
}>, {
|
|
133
|
+
limit?: number | undefined;
|
|
134
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
135
|
+
labels?: string[] | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
limit?: number | undefined;
|
|
138
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
139
|
+
labels?: string[] | undefined;
|
|
140
|
+
}, string, "github_list_issues">;
|
|
141
|
+
github_get_issue: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
142
|
+
issueNumber: z.ZodNumber;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
issueNumber: number;
|
|
145
|
+
}, {
|
|
146
|
+
issueNumber: number;
|
|
147
|
+
}>, {
|
|
148
|
+
issueNumber: number;
|
|
149
|
+
}, {
|
|
150
|
+
issueNumber: number;
|
|
151
|
+
}, string, "github_get_issue">;
|
|
152
|
+
github_get_pr_comments: import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
153
|
+
prNumber: z.ZodNumber;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
prNumber: number;
|
|
156
|
+
}, {
|
|
157
|
+
prNumber: number;
|
|
158
|
+
}>, {
|
|
159
|
+
prNumber: number;
|
|
160
|
+
}, {
|
|
161
|
+
prNumber: number;
|
|
162
|
+
}, string, "github_get_pr_comments">;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Create GitHub tools as array (for easy spreading into agent tools)
|
|
166
|
+
*/
|
|
167
|
+
export declare function createGitHubToolsArray(config: GitHubToolsConfig): (import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
168
|
+
repoUrl: z.ZodString;
|
|
169
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
170
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
repoUrl: string;
|
|
173
|
+
branch?: string | undefined;
|
|
174
|
+
depth?: number | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
repoUrl: string;
|
|
177
|
+
branch?: string | undefined;
|
|
178
|
+
depth?: number | undefined;
|
|
179
|
+
}>, {
|
|
180
|
+
repoUrl: string;
|
|
181
|
+
branch?: string | undefined;
|
|
182
|
+
depth?: number | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
repoUrl: string;
|
|
185
|
+
branch?: string | undefined;
|
|
186
|
+
depth?: number | undefined;
|
|
187
|
+
}, string, "github_clone"> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
188
|
+
branchName: z.ZodString;
|
|
189
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
branchName: string;
|
|
192
|
+
baseBranch?: string | undefined;
|
|
193
|
+
}, {
|
|
194
|
+
branchName: string;
|
|
195
|
+
baseBranch?: string | undefined;
|
|
196
|
+
}>, {
|
|
197
|
+
branchName: string;
|
|
198
|
+
baseBranch?: string | undefined;
|
|
199
|
+
}, {
|
|
200
|
+
branchName: string;
|
|
201
|
+
baseBranch?: string | undefined;
|
|
202
|
+
}, string, "github_create_branch"> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
203
|
+
message: z.ZodString;
|
|
204
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
|
+
message: string;
|
|
207
|
+
files?: string[] | undefined;
|
|
208
|
+
}, {
|
|
209
|
+
message: string;
|
|
210
|
+
files?: string[] | undefined;
|
|
211
|
+
}>, {
|
|
212
|
+
message: string;
|
|
213
|
+
files?: string[] | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
message: string;
|
|
216
|
+
files?: string[] | undefined;
|
|
217
|
+
}, string, "github_commit"> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
218
|
+
branchName: z.ZodString;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
branchName: string;
|
|
221
|
+
}, {
|
|
222
|
+
branchName: string;
|
|
223
|
+
}>, {
|
|
224
|
+
branchName: string;
|
|
225
|
+
}, {
|
|
226
|
+
branchName: string;
|
|
227
|
+
}, string, "github_push"> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
228
|
+
title: z.ZodString;
|
|
229
|
+
body: z.ZodString;
|
|
230
|
+
baseBranch: z.ZodString;
|
|
231
|
+
headBranch: z.ZodString;
|
|
232
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
baseBranch: string;
|
|
235
|
+
title: string;
|
|
236
|
+
body: string;
|
|
237
|
+
headBranch: string;
|
|
238
|
+
draft?: boolean | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
baseBranch: string;
|
|
241
|
+
title: string;
|
|
242
|
+
body: string;
|
|
243
|
+
headBranch: string;
|
|
244
|
+
draft?: boolean | undefined;
|
|
245
|
+
}>, {
|
|
246
|
+
baseBranch: string;
|
|
247
|
+
title: string;
|
|
248
|
+
body: string;
|
|
249
|
+
headBranch: string;
|
|
250
|
+
draft?: boolean | undefined;
|
|
251
|
+
}, {
|
|
252
|
+
baseBranch: string;
|
|
253
|
+
title: string;
|
|
254
|
+
body: string;
|
|
255
|
+
headBranch: string;
|
|
256
|
+
draft?: boolean | undefined;
|
|
257
|
+
}, string, "github_create_pr"> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
258
|
+
state: z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>;
|
|
259
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
260
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
limit?: number | undefined;
|
|
263
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
264
|
+
labels?: string[] | undefined;
|
|
265
|
+
}, {
|
|
266
|
+
limit?: number | undefined;
|
|
267
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
268
|
+
labels?: string[] | undefined;
|
|
269
|
+
}>, {
|
|
270
|
+
limit?: number | undefined;
|
|
271
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
272
|
+
labels?: string[] | undefined;
|
|
273
|
+
}, {
|
|
274
|
+
limit?: number | undefined;
|
|
275
|
+
state?: "open" | "closed" | "all" | undefined;
|
|
276
|
+
labels?: string[] | undefined;
|
|
277
|
+
}, string, "github_list_issues"> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
278
|
+
issueNumber: z.ZodNumber;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
issueNumber: number;
|
|
281
|
+
}, {
|
|
282
|
+
issueNumber: number;
|
|
283
|
+
}>, {
|
|
284
|
+
issueNumber: number;
|
|
285
|
+
}, {
|
|
286
|
+
issueNumber: number;
|
|
287
|
+
}, string, "github_get_issue"> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
|
|
288
|
+
prNumber: z.ZodNumber;
|
|
289
|
+
}, "strip", z.ZodTypeAny, {
|
|
290
|
+
prNumber: number;
|
|
291
|
+
}, {
|
|
292
|
+
prNumber: number;
|
|
293
|
+
}>, {
|
|
294
|
+
prNumber: number;
|
|
295
|
+
}, {
|
|
296
|
+
prNumber: number;
|
|
297
|
+
}, string, "github_get_pr_comments">)[];
|