@cydm/pie 2.8.0 → 2.8.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/README.md +18 -0
- package/dist/builtin/extensions/ask-user/index.js +4 -3
- package/dist/builtin/extensions/cron/index.js +265 -31
- package/dist/builtin/extensions/im-forward/index.js +13 -2
- package/dist/builtin/extensions/memory/index.js +275 -83
- package/dist/builtin/extensions/memory/package.json +2 -1
- package/dist/builtin/extensions/plan-mode/index.js +4 -3
- package/dist/builtin/extensions/subagent/index.js +6 -5
- package/dist/builtin/extensions/todo/index.js +4 -3
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-broker.js +6 -1
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-runtime.js +6 -1
- package/dist/chunks/auth-storage-3EGM3VTK.js +13 -0
- package/dist/chunks/{chunk-JNOFHHLZ.js → chunk-3BC5KGDQ.js} +383 -185
- package/dist/chunks/chunk-3NHP7HK5.js +298 -0
- package/dist/chunks/chunk-6DNYGVZP.js +278 -0
- package/dist/chunks/{chunk-NEES4EBX.js → chunk-GDIYSMTS.js} +6 -4
- package/dist/chunks/{chunk-HGC25NYB.js → chunk-GH4VW2OT.js} +1 -1
- package/dist/chunks/{chunk-5353DEEC.js → chunk-ILUHTKF3.js} +20 -1
- package/dist/chunks/{chunk-LJXHECZ7.js → chunk-PK72LVWQ.js} +13867 -19759
- package/dist/chunks/chunk-RSL7E4R7.js +9634 -0
- package/dist/chunks/chunk-YRR6C43W.js +1740 -0
- package/dist/chunks/config-74AUVDLT.js +46 -0
- package/dist/chunks/model-registry-LI5THXV4.js +17 -0
- package/dist/chunks/src-66XSMIAM.js +134 -0
- package/dist/chunks/src-BPSQMSSC.js +431 -0
- package/dist/chunks/src-OPPYTPWG.js +285 -0
- package/dist/chunks/{src-5XOKRS6F.js → src-YG5M2H44.js} +2 -2
- package/dist/chunks/{test-stream-5SDHKKDB.js → test-stream-JBWXKOQA.js} +1 -1
- package/dist/cli.js +970 -2283
- package/package.json +2 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
APP_NAME,
|
|
4
|
+
CONFIG_DIR_NAME,
|
|
5
|
+
ENV_AGENT_DIR,
|
|
6
|
+
VERSION,
|
|
7
|
+
getAgentDir,
|
|
8
|
+
getBuiltinDir,
|
|
9
|
+
getConfigDir,
|
|
10
|
+
getCustomThemesDir,
|
|
11
|
+
getDebugLogPath,
|
|
12
|
+
getKeybindingsPath,
|
|
13
|
+
getLogsDir,
|
|
14
|
+
getPackageDir,
|
|
15
|
+
getPackageJsonPath,
|
|
16
|
+
getProjectSettingsPath,
|
|
17
|
+
getRuntimeLogPath,
|
|
18
|
+
getSessionsDir,
|
|
19
|
+
getSettingsPath,
|
|
20
|
+
getThemesDir,
|
|
21
|
+
isBunRuntime,
|
|
22
|
+
migrateConfigFromAgentDir
|
|
23
|
+
} from "./chunk-ILUHTKF3.js";
|
|
24
|
+
import "./chunk-LZQXQOPJ.js";
|
|
25
|
+
export {
|
|
26
|
+
APP_NAME,
|
|
27
|
+
CONFIG_DIR_NAME,
|
|
28
|
+
ENV_AGENT_DIR,
|
|
29
|
+
VERSION,
|
|
30
|
+
getAgentDir,
|
|
31
|
+
getBuiltinDir,
|
|
32
|
+
getConfigDir,
|
|
33
|
+
getCustomThemesDir,
|
|
34
|
+
getDebugLogPath,
|
|
35
|
+
getKeybindingsPath,
|
|
36
|
+
getLogsDir,
|
|
37
|
+
getPackageDir,
|
|
38
|
+
getPackageJsonPath,
|
|
39
|
+
getProjectSettingsPath,
|
|
40
|
+
getRuntimeLogPath,
|
|
41
|
+
getSessionsDir,
|
|
42
|
+
getSettingsPath,
|
|
43
|
+
getThemesDir,
|
|
44
|
+
isBunRuntime,
|
|
45
|
+
migrateConfigFromAgentDir
|
|
46
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
ModelRegistry,
|
|
4
|
+
assertNoSecretSubstrings,
|
|
5
|
+
configuredRemoteCredentialValues,
|
|
6
|
+
loadResolvedModelsConfig
|
|
7
|
+
} from "./chunk-YRR6C43W.js";
|
|
8
|
+
import "./chunk-ILUHTKF3.js";
|
|
9
|
+
import "./chunk-3BC5KGDQ.js";
|
|
10
|
+
import "./chunk-XXGYUYXI.js";
|
|
11
|
+
import "./chunk-LZQXQOPJ.js";
|
|
12
|
+
export {
|
|
13
|
+
ModelRegistry,
|
|
14
|
+
assertNoSecretSubstrings,
|
|
15
|
+
configuredRemoteCredentialValues,
|
|
16
|
+
loadResolvedModelsConfig
|
|
17
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
ANTHROPIC_PROMPT_CACHE_CAPABILITY,
|
|
4
|
+
AssistantMessageEventStream,
|
|
5
|
+
BUILTIN_MODEL_DEFINITIONS,
|
|
6
|
+
EMPTY_ASSISTANT_CONTENT_ERROR,
|
|
7
|
+
EMPTY_ASSISTANT_CONTENT_ERROR_CODE,
|
|
8
|
+
EmptyAssistantContentError,
|
|
9
|
+
EventStream,
|
|
10
|
+
MODEL_CLASS_FALLBACK_ORDER,
|
|
11
|
+
NO_CACHE_CAPABILITY,
|
|
12
|
+
OPENAI_COMPAT_PROTOCOL_ERROR_CODE,
|
|
13
|
+
OpenAICompatProtocolError,
|
|
14
|
+
RESPONSES_PROTOCOL_ERROR_CODE,
|
|
15
|
+
ResponsesProtocolError,
|
|
16
|
+
assertAssistantHasContent,
|
|
17
|
+
calculateCost,
|
|
18
|
+
clearApiProviders,
|
|
19
|
+
clearModels,
|
|
20
|
+
complete,
|
|
21
|
+
completeSimple,
|
|
22
|
+
createAssistantMessageEventStream,
|
|
23
|
+
createModel,
|
|
24
|
+
disposeModelTransports,
|
|
25
|
+
fileKindForToolModelPurpose,
|
|
26
|
+
getAllModels,
|
|
27
|
+
getApiProvider,
|
|
28
|
+
getApiProviders,
|
|
29
|
+
getBuiltInModels,
|
|
30
|
+
getCompat,
|
|
31
|
+
getEnvApiKey,
|
|
32
|
+
getModel,
|
|
33
|
+
getModelCacheCapability,
|
|
34
|
+
getModels,
|
|
35
|
+
getProviderEnvVar,
|
|
36
|
+
getProviders,
|
|
37
|
+
getResponsesCompat,
|
|
38
|
+
hasAssistantContent,
|
|
39
|
+
hasModel,
|
|
40
|
+
isEmptyAssistantContentError,
|
|
41
|
+
isPromptCacheCapability,
|
|
42
|
+
isSessionStoreCapability,
|
|
43
|
+
listAvailableModels,
|
|
44
|
+
logEmptyAssistantContentError,
|
|
45
|
+
modelSupportsToolPurpose,
|
|
46
|
+
parseStreamingJson,
|
|
47
|
+
registerApiProvider,
|
|
48
|
+
registerDefaultModels,
|
|
49
|
+
registerModel,
|
|
50
|
+
registerModels,
|
|
51
|
+
registerModelsFromConfig,
|
|
52
|
+
requiredCapabilityForToolPurpose,
|
|
53
|
+
sortToolModelCandidatesByCapability,
|
|
54
|
+
stream,
|
|
55
|
+
streamAnthropic,
|
|
56
|
+
streamOpenAICompletions,
|
|
57
|
+
streamResponses,
|
|
58
|
+
streamSimple,
|
|
59
|
+
streamSimpleAnthropic,
|
|
60
|
+
streamSimpleOpenAICompletions,
|
|
61
|
+
streamSimpleResponses,
|
|
62
|
+
unregisterModel,
|
|
63
|
+
validateToolArguments,
|
|
64
|
+
validateToolCall
|
|
65
|
+
} from "./chunk-3BC5KGDQ.js";
|
|
66
|
+
import {
|
|
67
|
+
Type
|
|
68
|
+
} from "./chunk-XXGYUYXI.js";
|
|
69
|
+
import "./chunk-LZQXQOPJ.js";
|
|
70
|
+
export {
|
|
71
|
+
ANTHROPIC_PROMPT_CACHE_CAPABILITY,
|
|
72
|
+
AssistantMessageEventStream,
|
|
73
|
+
BUILTIN_MODEL_DEFINITIONS,
|
|
74
|
+
EMPTY_ASSISTANT_CONTENT_ERROR,
|
|
75
|
+
EMPTY_ASSISTANT_CONTENT_ERROR_CODE,
|
|
76
|
+
EmptyAssistantContentError,
|
|
77
|
+
EventStream,
|
|
78
|
+
MODEL_CLASS_FALLBACK_ORDER,
|
|
79
|
+
NO_CACHE_CAPABILITY,
|
|
80
|
+
OPENAI_COMPAT_PROTOCOL_ERROR_CODE,
|
|
81
|
+
OpenAICompatProtocolError,
|
|
82
|
+
RESPONSES_PROTOCOL_ERROR_CODE,
|
|
83
|
+
ResponsesProtocolError,
|
|
84
|
+
Type,
|
|
85
|
+
assertAssistantHasContent,
|
|
86
|
+
calculateCost,
|
|
87
|
+
clearApiProviders,
|
|
88
|
+
clearModels,
|
|
89
|
+
complete,
|
|
90
|
+
completeSimple,
|
|
91
|
+
createAssistantMessageEventStream,
|
|
92
|
+
createModel,
|
|
93
|
+
disposeModelTransports,
|
|
94
|
+
fileKindForToolModelPurpose,
|
|
95
|
+
getAllModels,
|
|
96
|
+
getApiProvider,
|
|
97
|
+
getApiProviders,
|
|
98
|
+
getBuiltInModels,
|
|
99
|
+
getCompat,
|
|
100
|
+
getEnvApiKey,
|
|
101
|
+
getModel,
|
|
102
|
+
getModelCacheCapability,
|
|
103
|
+
getModels,
|
|
104
|
+
getProviderEnvVar,
|
|
105
|
+
getProviders,
|
|
106
|
+
getResponsesCompat,
|
|
107
|
+
hasAssistantContent,
|
|
108
|
+
hasModel,
|
|
109
|
+
isEmptyAssistantContentError,
|
|
110
|
+
isPromptCacheCapability,
|
|
111
|
+
isSessionStoreCapability,
|
|
112
|
+
listAvailableModels,
|
|
113
|
+
logEmptyAssistantContentError,
|
|
114
|
+
modelSupportsToolPurpose,
|
|
115
|
+
parseStreamingJson,
|
|
116
|
+
registerApiProvider,
|
|
117
|
+
registerDefaultModels,
|
|
118
|
+
registerModel,
|
|
119
|
+
registerModels,
|
|
120
|
+
registerModelsFromConfig,
|
|
121
|
+
requiredCapabilityForToolPurpose,
|
|
122
|
+
sortToolModelCandidatesByCapability,
|
|
123
|
+
stream,
|
|
124
|
+
streamAnthropic,
|
|
125
|
+
streamOpenAICompletions,
|
|
126
|
+
streamResponses,
|
|
127
|
+
streamSimple,
|
|
128
|
+
streamSimpleAnthropic,
|
|
129
|
+
streamSimpleOpenAICompletions,
|
|
130
|
+
streamSimpleResponses,
|
|
131
|
+
unregisterModel,
|
|
132
|
+
validateToolArguments,
|
|
133
|
+
validateToolCall
|
|
134
|
+
};
|
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
ANTONYM_PAIRS,
|
|
4
|
+
AskUserMultiParamsSchema,
|
|
5
|
+
AskUserParamsSchema,
|
|
6
|
+
BUILTIN_TOOL_CAPABILITY_METADATA,
|
|
7
|
+
DEFAULT_MAX_BYTES,
|
|
8
|
+
DEFAULT_MAX_LINES,
|
|
9
|
+
DEFAULT_MAX_LIVE_SESSIONS,
|
|
10
|
+
DEFAULT_MEMORY_DISTILL_LIMITS,
|
|
11
|
+
DEFAULT_MEMORY_INJECTION_BUDGET,
|
|
12
|
+
DEFAULT_PLAN_MODE_TOOL_NAMES,
|
|
13
|
+
DEFAULT_SESSION_STORE_MAX_AGE_MS,
|
|
14
|
+
DEFAULT_SESSION_STORE_MAX_RECORDS,
|
|
15
|
+
DEFAULT_SUBAGENT_THINKING_LEVEL,
|
|
16
|
+
DISTILL_SYSTEM,
|
|
17
|
+
GREP_MAX_LINE_LENGTH,
|
|
18
|
+
MANAGE_TODO_LIST_TOOL_DESCRIPTION,
|
|
19
|
+
MAX_DIFF_EDIT_LENGTH,
|
|
20
|
+
MAX_DIFF_HUNKS,
|
|
21
|
+
MAX_DIFF_INPUT_CHARS,
|
|
22
|
+
MAX_DIFF_INPUT_LINES,
|
|
23
|
+
MAX_EDIT_BLOCKS,
|
|
24
|
+
MAX_EDIT_INPUT_CHARS,
|
|
25
|
+
MAX_EDIT_OUTPUT_CHARS,
|
|
26
|
+
MAX_EDIT_OUTPUT_UTF8_BYTES,
|
|
27
|
+
MAX_FUZZY_DIAGNOSTIC_CHARS,
|
|
28
|
+
MAX_GLOB_BRACE_EXPANSIONS,
|
|
29
|
+
MAX_GLOB_PATTERN_LENGTH,
|
|
30
|
+
ManageTodoListParamsSchema,
|
|
31
|
+
MemoryStore,
|
|
32
|
+
PLAN_MODE_TOOL_NAMES,
|
|
33
|
+
REDACTED,
|
|
34
|
+
RELAXED_MATCH_WORK_BUDGET,
|
|
35
|
+
SESSION_RECORD_MAX_CHARS,
|
|
36
|
+
SESSION_TRANSCRIPT_WARN_CHARS,
|
|
37
|
+
SUBAGENT_SESSION_RECORD_VERSION,
|
|
38
|
+
SYNTHESIZE_SYSTEM,
|
|
39
|
+
SearchContextSchema,
|
|
40
|
+
TodoInputItemSchema,
|
|
41
|
+
abortExecutionState,
|
|
42
|
+
applyNextGatedPatch,
|
|
43
|
+
assertBoundedGlobPattern,
|
|
44
|
+
boundEditOutput,
|
|
45
|
+
buildDirectImageUnderstandingContent,
|
|
46
|
+
buildDistillPrompt,
|
|
47
|
+
buildExecutionReminder,
|
|
48
|
+
buildPathResolutionDescription,
|
|
49
|
+
buildReadFileUnderstandingPrompt,
|
|
50
|
+
buildRetentionOps,
|
|
51
|
+
buildRootParameterSchema,
|
|
52
|
+
buildTodoClosureContinuePrompt,
|
|
53
|
+
buildTodoSuccessMessage,
|
|
54
|
+
buildToolsPromptSection,
|
|
55
|
+
checkPlanScope,
|
|
56
|
+
classifyBashCommand,
|
|
57
|
+
classifyShellCommand,
|
|
58
|
+
clearExecutionState,
|
|
59
|
+
cloneExecutionState,
|
|
60
|
+
cloneTodos,
|
|
61
|
+
clusterCandidates,
|
|
62
|
+
collectFilesForGrep,
|
|
63
|
+
collectLastAssistantText,
|
|
64
|
+
collectSharedCapabilityPromptAdditions,
|
|
65
|
+
conflictingValues,
|
|
66
|
+
consumptionSummary,
|
|
67
|
+
containsWord,
|
|
68
|
+
continueExecutionState,
|
|
69
|
+
createAskUserCapability,
|
|
70
|
+
createBoundedGlobMatcher,
|
|
71
|
+
createCodeIntelTool,
|
|
72
|
+
createEditTool,
|
|
73
|
+
createEmptyExecutionState,
|
|
74
|
+
createExecutionStateFromPlan,
|
|
75
|
+
createExecutionStateFromTodos,
|
|
76
|
+
createExecutionStateStore,
|
|
77
|
+
createFileObservationState,
|
|
78
|
+
createFindFilesTool,
|
|
79
|
+
createGrepTextTool,
|
|
80
|
+
createLenientStreamingDecoder,
|
|
81
|
+
createLightweightCodeIntelProvider,
|
|
82
|
+
createLsTool,
|
|
83
|
+
createManageTodoCapability,
|
|
84
|
+
createMemoryEntry,
|
|
85
|
+
createMemoryLockBackend,
|
|
86
|
+
createPlanCapability,
|
|
87
|
+
createPolicyEnforcedTool,
|
|
88
|
+
createPolicyEnforcedTools,
|
|
89
|
+
createPosixBackend,
|
|
90
|
+
createReadFileUnderstandingHandler,
|
|
91
|
+
createReadTool,
|
|
92
|
+
createSearchContextTool,
|
|
93
|
+
createSharedFileSystemTools,
|
|
94
|
+
createSharedReadOnlyTools,
|
|
95
|
+
createSharedWebFetchTool,
|
|
96
|
+
createSharedWebResearchTool,
|
|
97
|
+
createSharedWebSearchTool,
|
|
98
|
+
createSubagentCapability,
|
|
99
|
+
createTodoClosureLoop,
|
|
100
|
+
createTodoStore,
|
|
101
|
+
createTodoWidgetView,
|
|
102
|
+
createWindowsBackend,
|
|
103
|
+
createWriteTool,
|
|
104
|
+
datesBetween,
|
|
105
|
+
dayOf,
|
|
106
|
+
defaultShellKindForPlatform,
|
|
107
|
+
defineSharedCapability,
|
|
108
|
+
describeClosestRegion,
|
|
109
|
+
describeToolPolicyDecision,
|
|
110
|
+
detectLanguage,
|
|
111
|
+
detectLineEnding,
|
|
112
|
+
detectTextOnlyBinary,
|
|
113
|
+
detectUnderstandingKind,
|
|
114
|
+
differentSubjects,
|
|
115
|
+
distillSession,
|
|
116
|
+
entryConsumedIn,
|
|
117
|
+
equivalentAssertions,
|
|
118
|
+
estimateTranscriptChars,
|
|
119
|
+
evaluateTodoClosureAfterAbort,
|
|
120
|
+
evaluateTodoClosureAfterCompletedTurn,
|
|
121
|
+
evaluateTodoClosureAfterFailedTurn,
|
|
122
|
+
evaluateToolPermission,
|
|
123
|
+
executeManageTodoList,
|
|
124
|
+
executionStateToTodos,
|
|
125
|
+
extractDoneSteps,
|
|
126
|
+
extractPlanTodoItems,
|
|
127
|
+
extractVerifiedSteps,
|
|
128
|
+
findEditMatch,
|
|
129
|
+
formatCapabilityPolicySummary,
|
|
130
|
+
formatSize,
|
|
131
|
+
formatSkillSummariesForPrompt,
|
|
132
|
+
formatSkillsForPrompt,
|
|
133
|
+
fuzzyFindText,
|
|
134
|
+
gateClusters,
|
|
135
|
+
generateDiffString,
|
|
136
|
+
getAvailableRoots,
|
|
137
|
+
getDefaultRootName,
|
|
138
|
+
getSharedCapabilityPromptAdditionsForToolNames,
|
|
139
|
+
getSubagentToolPolicyDecision,
|
|
140
|
+
getTodoStats,
|
|
141
|
+
getTodoValidation,
|
|
142
|
+
getToolCapabilityMetadata,
|
|
143
|
+
harvestSessionsForDate,
|
|
144
|
+
hasAntonymCross,
|
|
145
|
+
interpretBashExit,
|
|
146
|
+
interpretShellExit,
|
|
147
|
+
isPlanModeSafeCommand,
|
|
148
|
+
isPrivateHostname,
|
|
149
|
+
isRetired,
|
|
150
|
+
isToolAllowedInPlanMode,
|
|
151
|
+
listGatedPatches,
|
|
152
|
+
looksLikeSecretPresent,
|
|
153
|
+
markCompletedPlanSteps,
|
|
154
|
+
maybeAdvanceTodoExecutionState,
|
|
155
|
+
mergeLineRanges,
|
|
156
|
+
modalityForReadFileUnderstandingKind,
|
|
157
|
+
nearDuplicate,
|
|
158
|
+
normalizeForClustering,
|
|
159
|
+
normalizeForFuzzyMatch,
|
|
160
|
+
normalizeStatus,
|
|
161
|
+
normalizeToLF,
|
|
162
|
+
normalizeTodos,
|
|
163
|
+
parseDistillResponse,
|
|
164
|
+
pauseExecutionState,
|
|
165
|
+
planWebResearchQueries,
|
|
166
|
+
polarity,
|
|
167
|
+
projectKeyFor,
|
|
168
|
+
projectKeyForDir,
|
|
169
|
+
readGitOriginUrl,
|
|
170
|
+
readMemoryFile,
|
|
171
|
+
recordAccess,
|
|
172
|
+
recordConsumption,
|
|
173
|
+
recordInjection,
|
|
174
|
+
redactText,
|
|
175
|
+
releaseLiveSession,
|
|
176
|
+
requireToolCapabilityMetadata,
|
|
177
|
+
resolveInSandbox,
|
|
178
|
+
resolveReadPath,
|
|
179
|
+
resolveRequestShellKind,
|
|
180
|
+
resolveToCwd,
|
|
181
|
+
restoreExecutionState,
|
|
182
|
+
restoreLineEndings,
|
|
183
|
+
restoreLoopState,
|
|
184
|
+
restoreTodoState,
|
|
185
|
+
restoreTodosFromMessages,
|
|
186
|
+
retainLiveSession,
|
|
187
|
+
runCatchUp,
|
|
188
|
+
runDistillation,
|
|
189
|
+
saveAttestedEntry,
|
|
190
|
+
scoreWebResearchSource,
|
|
191
|
+
searchMemory,
|
|
192
|
+
selectToolsForRuntimePolicy,
|
|
193
|
+
shouldPreserveExecutionStateForUserText,
|
|
194
|
+
snapshotFromStatAndContent,
|
|
195
|
+
snapshotFromStatAndHash,
|
|
196
|
+
snapshotsHaveSameContent,
|
|
197
|
+
stripBom,
|
|
198
|
+
subagentOutputBudget,
|
|
199
|
+
supersedeExecutionState,
|
|
200
|
+
synthesizePatch,
|
|
201
|
+
toSessionRecord,
|
|
202
|
+
todayKey,
|
|
203
|
+
tokenJaccard,
|
|
204
|
+
touchLiveSession,
|
|
205
|
+
transplantMessages,
|
|
206
|
+
truncateHead,
|
|
207
|
+
truncateLine,
|
|
208
|
+
truncateTail,
|
|
209
|
+
understandFileWithModel,
|
|
210
|
+
validateTodos,
|
|
211
|
+
writeJournalNarrative
|
|
212
|
+
} from "./chunk-PK72LVWQ.js";
|
|
213
|
+
import "./chunk-RSL7E4R7.js";
|
|
214
|
+
import "./chunk-GH4VW2OT.js";
|
|
215
|
+
import {
|
|
216
|
+
hashText
|
|
217
|
+
} from "./chunk-3BC5KGDQ.js";
|
|
218
|
+
import "./chunk-XXGYUYXI.js";
|
|
219
|
+
import "./chunk-LZQXQOPJ.js";
|
|
220
|
+
export {
|
|
221
|
+
ANTONYM_PAIRS,
|
|
222
|
+
AskUserMultiParamsSchema,
|
|
223
|
+
AskUserParamsSchema,
|
|
224
|
+
BUILTIN_TOOL_CAPABILITY_METADATA,
|
|
225
|
+
DEFAULT_MAX_BYTES,
|
|
226
|
+
DEFAULT_MAX_LINES,
|
|
227
|
+
DEFAULT_MAX_LIVE_SESSIONS,
|
|
228
|
+
DEFAULT_MEMORY_DISTILL_LIMITS,
|
|
229
|
+
DEFAULT_MEMORY_INJECTION_BUDGET,
|
|
230
|
+
DEFAULT_PLAN_MODE_TOOL_NAMES,
|
|
231
|
+
DEFAULT_SESSION_STORE_MAX_AGE_MS,
|
|
232
|
+
DEFAULT_SESSION_STORE_MAX_RECORDS,
|
|
233
|
+
DEFAULT_SUBAGENT_THINKING_LEVEL,
|
|
234
|
+
DISTILL_SYSTEM,
|
|
235
|
+
GREP_MAX_LINE_LENGTH,
|
|
236
|
+
MANAGE_TODO_LIST_TOOL_DESCRIPTION,
|
|
237
|
+
MAX_DIFF_EDIT_LENGTH,
|
|
238
|
+
MAX_DIFF_HUNKS,
|
|
239
|
+
MAX_DIFF_INPUT_CHARS,
|
|
240
|
+
MAX_DIFF_INPUT_LINES,
|
|
241
|
+
MAX_EDIT_BLOCKS,
|
|
242
|
+
MAX_EDIT_INPUT_CHARS,
|
|
243
|
+
MAX_EDIT_OUTPUT_CHARS,
|
|
244
|
+
MAX_EDIT_OUTPUT_UTF8_BYTES,
|
|
245
|
+
MAX_FUZZY_DIAGNOSTIC_CHARS,
|
|
246
|
+
MAX_GLOB_BRACE_EXPANSIONS,
|
|
247
|
+
MAX_GLOB_PATTERN_LENGTH,
|
|
248
|
+
ManageTodoListParamsSchema,
|
|
249
|
+
MemoryStore,
|
|
250
|
+
PLAN_MODE_TOOL_NAMES,
|
|
251
|
+
REDACTED,
|
|
252
|
+
RELAXED_MATCH_WORK_BUDGET,
|
|
253
|
+
SESSION_RECORD_MAX_CHARS,
|
|
254
|
+
SESSION_TRANSCRIPT_WARN_CHARS,
|
|
255
|
+
SUBAGENT_SESSION_RECORD_VERSION,
|
|
256
|
+
SYNTHESIZE_SYSTEM,
|
|
257
|
+
SearchContextSchema,
|
|
258
|
+
TodoInputItemSchema,
|
|
259
|
+
abortExecutionState,
|
|
260
|
+
applyNextGatedPatch,
|
|
261
|
+
assertBoundedGlobPattern,
|
|
262
|
+
boundEditOutput,
|
|
263
|
+
buildDirectImageUnderstandingContent,
|
|
264
|
+
buildDistillPrompt,
|
|
265
|
+
buildExecutionReminder,
|
|
266
|
+
buildPathResolutionDescription,
|
|
267
|
+
buildReadFileUnderstandingPrompt,
|
|
268
|
+
buildRetentionOps,
|
|
269
|
+
buildRootParameterSchema,
|
|
270
|
+
buildTodoClosureContinuePrompt,
|
|
271
|
+
buildTodoSuccessMessage,
|
|
272
|
+
buildToolsPromptSection,
|
|
273
|
+
checkPlanScope,
|
|
274
|
+
classifyBashCommand,
|
|
275
|
+
classifyShellCommand,
|
|
276
|
+
clearExecutionState,
|
|
277
|
+
cloneExecutionState,
|
|
278
|
+
cloneTodos,
|
|
279
|
+
clusterCandidates,
|
|
280
|
+
collectFilesForGrep,
|
|
281
|
+
collectLastAssistantText,
|
|
282
|
+
collectSharedCapabilityPromptAdditions,
|
|
283
|
+
conflictingValues,
|
|
284
|
+
consumptionSummary,
|
|
285
|
+
containsWord,
|
|
286
|
+
continueExecutionState,
|
|
287
|
+
createAskUserCapability,
|
|
288
|
+
createBoundedGlobMatcher,
|
|
289
|
+
createCodeIntelTool,
|
|
290
|
+
createEditTool,
|
|
291
|
+
createEmptyExecutionState,
|
|
292
|
+
createExecutionStateFromPlan,
|
|
293
|
+
createExecutionStateFromTodos,
|
|
294
|
+
createExecutionStateStore,
|
|
295
|
+
createFileObservationState,
|
|
296
|
+
createFindFilesTool,
|
|
297
|
+
createGrepTextTool,
|
|
298
|
+
createLenientStreamingDecoder,
|
|
299
|
+
createLightweightCodeIntelProvider,
|
|
300
|
+
createLsTool,
|
|
301
|
+
createManageTodoCapability,
|
|
302
|
+
createMemoryEntry,
|
|
303
|
+
createMemoryLockBackend,
|
|
304
|
+
createPlanCapability,
|
|
305
|
+
createPolicyEnforcedTool,
|
|
306
|
+
createPolicyEnforcedTools,
|
|
307
|
+
createPosixBackend,
|
|
308
|
+
createReadFileUnderstandingHandler,
|
|
309
|
+
createReadTool,
|
|
310
|
+
createSearchContextTool,
|
|
311
|
+
createSharedFileSystemTools,
|
|
312
|
+
createSharedReadOnlyTools,
|
|
313
|
+
createSharedWebFetchTool,
|
|
314
|
+
createSharedWebResearchTool,
|
|
315
|
+
createSharedWebSearchTool,
|
|
316
|
+
createSubagentCapability,
|
|
317
|
+
createTodoClosureLoop,
|
|
318
|
+
createTodoStore,
|
|
319
|
+
createTodoWidgetView,
|
|
320
|
+
createWindowsBackend,
|
|
321
|
+
createWriteTool,
|
|
322
|
+
datesBetween,
|
|
323
|
+
dayOf,
|
|
324
|
+
defaultShellKindForPlatform,
|
|
325
|
+
defineSharedCapability,
|
|
326
|
+
describeClosestRegion,
|
|
327
|
+
describeToolPolicyDecision,
|
|
328
|
+
detectLanguage,
|
|
329
|
+
detectLineEnding,
|
|
330
|
+
detectTextOnlyBinary,
|
|
331
|
+
detectUnderstandingKind,
|
|
332
|
+
differentSubjects,
|
|
333
|
+
distillSession,
|
|
334
|
+
entryConsumedIn,
|
|
335
|
+
equivalentAssertions,
|
|
336
|
+
estimateTranscriptChars,
|
|
337
|
+
evaluateTodoClosureAfterAbort,
|
|
338
|
+
evaluateTodoClosureAfterCompletedTurn,
|
|
339
|
+
evaluateTodoClosureAfterFailedTurn,
|
|
340
|
+
evaluateToolPermission,
|
|
341
|
+
executeManageTodoList,
|
|
342
|
+
executionStateToTodos,
|
|
343
|
+
extractDoneSteps,
|
|
344
|
+
extractPlanTodoItems,
|
|
345
|
+
extractVerifiedSteps,
|
|
346
|
+
findEditMatch,
|
|
347
|
+
formatCapabilityPolicySummary,
|
|
348
|
+
formatSize,
|
|
349
|
+
formatSkillSummariesForPrompt,
|
|
350
|
+
formatSkillsForPrompt,
|
|
351
|
+
fuzzyFindText,
|
|
352
|
+
gateClusters,
|
|
353
|
+
generateDiffString,
|
|
354
|
+
getAvailableRoots,
|
|
355
|
+
getDefaultRootName,
|
|
356
|
+
getSharedCapabilityPromptAdditionsForToolNames,
|
|
357
|
+
getSubagentToolPolicyDecision,
|
|
358
|
+
getTodoStats,
|
|
359
|
+
getTodoValidation,
|
|
360
|
+
getToolCapabilityMetadata,
|
|
361
|
+
harvestSessionsForDate,
|
|
362
|
+
hasAntonymCross,
|
|
363
|
+
hashText,
|
|
364
|
+
interpretBashExit,
|
|
365
|
+
interpretShellExit,
|
|
366
|
+
isPlanModeSafeCommand,
|
|
367
|
+
isPrivateHostname,
|
|
368
|
+
isRetired,
|
|
369
|
+
isToolAllowedInPlanMode,
|
|
370
|
+
listGatedPatches,
|
|
371
|
+
looksLikeSecretPresent,
|
|
372
|
+
markCompletedPlanSteps,
|
|
373
|
+
maybeAdvanceTodoExecutionState,
|
|
374
|
+
mergeLineRanges,
|
|
375
|
+
modalityForReadFileUnderstandingKind,
|
|
376
|
+
nearDuplicate,
|
|
377
|
+
normalizeForClustering,
|
|
378
|
+
normalizeForFuzzyMatch,
|
|
379
|
+
normalizeStatus,
|
|
380
|
+
normalizeToLF,
|
|
381
|
+
normalizeTodos,
|
|
382
|
+
parseDistillResponse,
|
|
383
|
+
pauseExecutionState,
|
|
384
|
+
planWebResearchQueries,
|
|
385
|
+
polarity,
|
|
386
|
+
projectKeyFor,
|
|
387
|
+
projectKeyForDir,
|
|
388
|
+
readGitOriginUrl,
|
|
389
|
+
readMemoryFile,
|
|
390
|
+
recordAccess,
|
|
391
|
+
recordConsumption,
|
|
392
|
+
recordInjection,
|
|
393
|
+
redactText,
|
|
394
|
+
releaseLiveSession,
|
|
395
|
+
requireToolCapabilityMetadata,
|
|
396
|
+
resolveInSandbox,
|
|
397
|
+
resolveReadPath,
|
|
398
|
+
resolveRequestShellKind,
|
|
399
|
+
resolveToCwd,
|
|
400
|
+
restoreExecutionState,
|
|
401
|
+
restoreLineEndings,
|
|
402
|
+
restoreLoopState,
|
|
403
|
+
restoreTodoState,
|
|
404
|
+
restoreTodosFromMessages,
|
|
405
|
+
retainLiveSession,
|
|
406
|
+
runCatchUp,
|
|
407
|
+
runDistillation,
|
|
408
|
+
saveAttestedEntry,
|
|
409
|
+
scoreWebResearchSource,
|
|
410
|
+
searchMemory,
|
|
411
|
+
selectToolsForRuntimePolicy,
|
|
412
|
+
shouldPreserveExecutionStateForUserText,
|
|
413
|
+
snapshotFromStatAndContent,
|
|
414
|
+
snapshotFromStatAndHash,
|
|
415
|
+
snapshotsHaveSameContent,
|
|
416
|
+
stripBom,
|
|
417
|
+
subagentOutputBudget,
|
|
418
|
+
supersedeExecutionState,
|
|
419
|
+
synthesizePatch,
|
|
420
|
+
toSessionRecord,
|
|
421
|
+
todayKey,
|
|
422
|
+
tokenJaccard,
|
|
423
|
+
touchLiveSession,
|
|
424
|
+
transplantMessages,
|
|
425
|
+
truncateHead,
|
|
426
|
+
truncateLine,
|
|
427
|
+
truncateTail,
|
|
428
|
+
understandFileWithModel,
|
|
429
|
+
validateTodos,
|
|
430
|
+
writeJournalNarrative
|
|
431
|
+
};
|