@opengeni/jev 0.1.0-canary.36199476632001
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/LICENSE +190 -0
- package/README.md +140 -0
- package/dist/circuit-breaker.d.ts +58 -0
- package/dist/client.d.ts +173 -0
- package/dist/code-search/config.d.ts +142 -0
- package/dist/code-search/judge.d.ts +169 -0
- package/dist/code-search/leads.d.ts +96 -0
- package/dist/code-search/pack.d.ts +106 -0
- package/dist/code-search/recall.d.ts +155 -0
- package/dist/code-search/search.d.ts +93 -0
- package/dist/code-search/session.d.ts +33 -0
- package/dist/code-search/text.d.ts +35 -0
- package/dist/code-search/tool.d.ts +34 -0
- package/dist/code-search/windows.d.ts +85 -0
- package/dist/code-search/workspace.d.ts +51 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3110 -0
- package/dist/index.js.map +1 -0
- package/package.json +39 -0
- package/src/circuit-breaker.ts +135 -0
- package/src/client.ts +577 -0
- package/src/code-search/config.ts +282 -0
- package/src/code-search/judge.ts +413 -0
- package/src/code-search/leads.ts +442 -0
- package/src/code-search/pack.ts +354 -0
- package/src/code-search/recall.ts +648 -0
- package/src/code-search/search.ts +773 -0
- package/src/code-search/session.ts +89 -0
- package/src/code-search/text.ts +159 -0
- package/src/code-search/tool.ts +209 -0
- package/src/code-search/windows.ts +617 -0
- package/src/code-search/workspace.ts +55 -0
- package/src/index.ts +71 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export {
|
|
2
|
+
JEV_CHARS_PER_TOKEN,
|
|
3
|
+
JEV_DEFAULT_BASE_URL,
|
|
4
|
+
JEV_DEFAULT_LIMITS,
|
|
5
|
+
JEV_DEFAULT_MODEL,
|
|
6
|
+
JEV_PRICE_PER_MILLION_INPUT_TOKENS_USD,
|
|
7
|
+
JevClient,
|
|
8
|
+
JevError,
|
|
9
|
+
JevLimiter,
|
|
10
|
+
JevRequestError,
|
|
11
|
+
JevUnavailableError,
|
|
12
|
+
estimateJevTokens,
|
|
13
|
+
jevCostUsd,
|
|
14
|
+
noul,
|
|
15
|
+
planChunks,
|
|
16
|
+
type JevAnswer,
|
|
17
|
+
type JevAnswerFor,
|
|
18
|
+
type JevAskOptions,
|
|
19
|
+
type JevAskResult,
|
|
20
|
+
type JevChoiceAnswer,
|
|
21
|
+
type JevChoiceQuestion,
|
|
22
|
+
type JevClientOptions,
|
|
23
|
+
type JevFetch,
|
|
24
|
+
type JevInstructions,
|
|
25
|
+
type JevLimits,
|
|
26
|
+
type JevNoulAnswer,
|
|
27
|
+
type JevNoulQuestion,
|
|
28
|
+
type JevQuestion,
|
|
29
|
+
type JevScoreAnswer,
|
|
30
|
+
type JevScoreQuestion,
|
|
31
|
+
} from "./client";
|
|
32
|
+
export {
|
|
33
|
+
JevCircuitBreaker,
|
|
34
|
+
type JevCircuitBreakerOptions,
|
|
35
|
+
type JevCircuitLease,
|
|
36
|
+
type JevCircuitState,
|
|
37
|
+
type JevCircuitStatus,
|
|
38
|
+
} from "./circuit-breaker";
|
|
39
|
+
export {
|
|
40
|
+
CODE_SEARCH_DEFAULT_BUDGET_TOKENS,
|
|
41
|
+
CODE_SEARCH_ENGINE_VERSION,
|
|
42
|
+
runCodeSearch,
|
|
43
|
+
type CodeSearchInput,
|
|
44
|
+
type CodeSearchResult,
|
|
45
|
+
type CodeSearchStats,
|
|
46
|
+
type CodeSearchStatus,
|
|
47
|
+
} from "./code-search/search";
|
|
48
|
+
export {
|
|
49
|
+
CODE_SEARCH_MAX_PATTERN_CHARS,
|
|
50
|
+
CodeSearchRipgrepMissingError,
|
|
51
|
+
CodeSearchWorkspaceError,
|
|
52
|
+
type CodeSearchRipgrepResult,
|
|
53
|
+
type CodeSearchWorkspace,
|
|
54
|
+
} from "./code-search/workspace";
|
|
55
|
+
export {
|
|
56
|
+
DEFAULT_CODE_SEARCH_CONFIG,
|
|
57
|
+
codeSearchConfig,
|
|
58
|
+
type CodeSearchConfig,
|
|
59
|
+
type CodeSearchConfigOverride,
|
|
60
|
+
} from "./code-search/config";
|
|
61
|
+
export {
|
|
62
|
+
CODE_SEARCH_LIMITS,
|
|
63
|
+
CODE_SEARCH_TOOL_DESCRIPTION,
|
|
64
|
+
CODE_SEARCH_TOOL_NAME,
|
|
65
|
+
CodeSearchArgumentError,
|
|
66
|
+
codeSearchInputSchema,
|
|
67
|
+
parseCodeSearchArguments,
|
|
68
|
+
renderCodeSearchError,
|
|
69
|
+
type CodeSearchArguments,
|
|
70
|
+
type CodeSearchJsonValue,
|
|
71
|
+
} from "./code-search/tool";
|