@cortexkit/aft-opencode 0.58.0 → 0.58.2
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/bridge-bootstrap.d.ts +8 -0
- package/dist/bridge-bootstrap.d.ts.map +1 -1
- package/dist/config-live-reload.d.ts +323 -0
- package/dist/config-live-reload.d.ts.map +1 -0
- package/dist/config.d.ts +59 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/entry/server.js +2543 -989
- package/dist/hashline-tag-sources.d.ts +18 -0
- package/dist/hashline-tag-sources.d.ts.map +1 -0
- package/dist/hooks/auto-update-checker/checker.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker.d.ts.map +1 -1
- package/dist/hooks/auto-update-checker/index.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1901 -748
- package/dist/lsp-auto-install.d.ts +30 -0
- package/dist/lsp-auto-install.d.ts.map +1 -1
- package/dist/lsp-github-table.d.ts +4 -3
- package/dist/lsp-github-table.d.ts.map +1 -1
- package/dist/lsp-npm-table.d.ts +11 -1
- package/dist/lsp-npm-table.d.ts.map +1 -1
- package/dist/lsp-registry-probe.d.ts +8 -4
- package/dist/lsp-registry-probe.d.ts.map +1 -1
- package/dist/permissions/v2-service.d.ts +110 -5
- package/dist/permissions/v2-service.d.ts.map +1 -1
- package/dist/rpc/register.d.ts +0 -4
- package/dist/rpc/register.d.ts.map +1 -1
- package/dist/shared/read-vision.d.ts +10 -0
- package/dist/shared/read-vision.d.ts.map +1 -0
- package/dist/shared/session-directory.d.ts +7 -0
- package/dist/shared/session-directory.d.ts.map +1 -1
- package/dist/shared/subagent-detect.d.ts +11 -4
- package/dist/shared/subagent-detect.d.ts.map +1 -1
- package/dist/tool-perf.d.ts +1 -0
- package/dist/tool-perf.d.ts.map +1 -1
- package/dist/tool-registration.d.ts +8 -5
- package/dist/tool-registration.d.ts.map +1 -1
- package/dist/tools/_shared.d.ts +16 -15
- package/dist/tools/_shared.d.ts.map +1 -1
- package/dist/tools/bash.d.ts +24 -1
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/bash_watch.d.ts +5 -2
- package/dist/tools/bash_watch.d.ts.map +1 -1
- package/dist/tools/bash_write.d.ts.map +1 -1
- package/dist/tools/definitions/v2.d.ts +2 -0
- package/dist/tools/definitions/v2.d.ts.map +1 -1
- package/dist/tools/hoisted/v2.d.ts +8 -1
- package/dist/tools/hoisted/v2.d.ts.map +1 -1
- package/dist/tools/hoisted.d.ts +9 -7
- package/dist/tools/hoisted.d.ts.map +1 -1
- package/dist/tools/permissions.d.ts.map +1 -1
- package/dist/tools/reading.d.ts +0 -3
- package/dist/tools/reading.d.ts.map +1 -1
- package/dist/v2-prompt-detach.d.ts +69 -0
- package/dist/v2-prompt-detach.d.ts.map +1 -0
- package/dist/wakes/runtime-consumer.d.ts +2 -0
- package/dist/wakes/runtime-consumer.d.ts.map +1 -1
- package/dist/wakes/session-delivery.d.ts +9 -0
- package/dist/wakes/session-delivery.d.ts.map +1 -1
- package/dist/workflow-hints.d.ts +20 -7
- package/dist/workflow-hints.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/entry/server-runtime.mjs +36 -5
- package/src/shared/read-vision.ts +100 -0
- package/src/shared/session-directory.ts +92 -0
- package/src/shared/subagent-detect.ts +89 -28
|
@@ -52,6 +52,10 @@ export interface BridgeBootstrapDependencies {
|
|
|
52
52
|
* not see failures left over from a real load.
|
|
53
53
|
*/
|
|
54
54
|
configLoadErrors?(): readonly ConfigLoadError[];
|
|
55
|
+
/** The config files the most recent `loadConfig` call read. */
|
|
56
|
+
configLoadSources?(): readonly string[];
|
|
57
|
+
/** The text of each file the most recent `loadConfig` call read. */
|
|
58
|
+
configLoadTexts?(): ReadonlyMap<string, string>;
|
|
55
59
|
/** Error for a configured subc connection file that does not exist, or null. */
|
|
56
60
|
subcConnectionFileError?(subcConnectionFile: string | undefined): Promise<string | null>;
|
|
57
61
|
/** Moves legacy config files into the CortexKit layout; returns user-facing warnings. */
|
|
@@ -90,6 +94,10 @@ export declare const defaultBridgeBootstrapDependencies: BridgeBootstrapDependen
|
|
|
90
94
|
export type BootstrapConfig = {
|
|
91
95
|
ok: true;
|
|
92
96
|
config: AftConfig;
|
|
97
|
+
/** The config files this load read; a live config reload starts from them. */
|
|
98
|
+
sources?: readonly string[];
|
|
99
|
+
/** The text of each file this load read, keyed by path. */
|
|
100
|
+
sourceTexts?: Readonly<Record<string, string>>;
|
|
93
101
|
} | {
|
|
94
102
|
ok: false;
|
|
95
103
|
/** The error, its fix, and the note that a restart is needed. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge-bootstrap.d.ts","sourceRoot":"","sources":["../src/bridge-bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EACL,KAAK,gBAAgB,EAYrB,KAAK,WAAW,EAGjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"bridge-bootstrap.d.ts","sourceRoot":"","sources":["../src/bridge-bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EACL,KAAK,gBAAgB,EAYrB,KAAK,WAAW,EAGjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,EAUrB,MAAM,aAAa,CAAC;AAOrB,OAAO,EAAE,yBAAyB,EAAkC,MAAM,wBAAwB,CAAC;AAEnG,mFAAmF;AACnF,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC;;;;OAIG;IACH,kBAAkB,CAAC,CAAC,MAA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CAAC,EACpD,MAAM,EAAE,SAAS,EACjB,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,GACnC;IAAE,sBAAsB,EAAE,OAAO,CAAC;IAAC,mBAAmB,EAAE,OAAO,CAAA;CAAE,CAenE;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,eAAe,GACtB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CAMtC;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,SAAS,EACjB,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,EACpC,MAAM,EAAE,eAAe,GACtB,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAO9C"}
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Live reload of the plugin's own copy of the AFT config (`ctx.config`) when
|
|
3
|
+
* `~/.config/cortexkit/aft.jsonc` or `<project>/.cortexkit/aft.jsonc` changes.
|
|
4
|
+
* Shared by the OpenCode 1 plugin and the OpenCode 2 server entry. The engine
|
|
5
|
+
* applies its own keys from the same files separately.
|
|
6
|
+
*/
|
|
7
|
+
import { type LiveConfigLoad, type LiveConfigReload } from "@cortexkit/aft-bridge";
|
|
8
|
+
import { type AftConfig } from "./config.js";
|
|
9
|
+
/** The live keys, read through this host's bash resolution. */
|
|
10
|
+
export declare const OPENCODE_LIVE_CONFIG_KEYS: import("@cortexkit/aft-bridge").LiveConfigKey<{
|
|
11
|
+
$schema?: string | undefined;
|
|
12
|
+
edit_mode?: "default" | "hashline" | undefined;
|
|
13
|
+
format_on_edit?: boolean | undefined;
|
|
14
|
+
formatter_timeout_secs?: number | undefined;
|
|
15
|
+
validate_on_edit?: "syntax" | "full" | undefined;
|
|
16
|
+
formatter?: Record<string, "biome" | "oxfmt" | "prettier" | "deno" | "ruff" | "black" | "rustfmt" | "goimports" | "gofmt" | "none"> | undefined;
|
|
17
|
+
checker?: Record<string, "biome" | "ruff" | "none" | "tsc" | "tsgo" | "pyright" | "cargo" | "go" | "staticcheck"> | undefined;
|
|
18
|
+
configure_warnings_delivery?: "toast" | "log" | "chat" | undefined;
|
|
19
|
+
disabled_tools?: string[] | undefined;
|
|
20
|
+
restrict_to_project_root?: boolean | undefined;
|
|
21
|
+
indexes?: {
|
|
22
|
+
trigram?: boolean | undefined;
|
|
23
|
+
semantic?: boolean | undefined;
|
|
24
|
+
callgraph?: boolean | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
index?: {
|
|
27
|
+
roots?: {
|
|
28
|
+
path: string;
|
|
29
|
+
indexes: ("search" | "semantic" | "callgraph")[];
|
|
30
|
+
}[] | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
views?: {
|
|
33
|
+
enabled?: boolean | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
callgraph_chunk_size?: number | undefined;
|
|
36
|
+
inspect?: {
|
|
37
|
+
diagnostics_timeout_ms: number | undefined;
|
|
38
|
+
enabled?: boolean | undefined;
|
|
39
|
+
tier2_idle_minutes?: number | undefined;
|
|
40
|
+
tier2_pass_timeout_ms?: number | undefined;
|
|
41
|
+
categories?: Record<string, boolean> | undefined;
|
|
42
|
+
tier2_soft_deadline_ms?: number | undefined;
|
|
43
|
+
max_drill_down_items?: number | undefined;
|
|
44
|
+
duplicates?: {
|
|
45
|
+
expected_mirrors?: [string, string][] | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
idle?: {
|
|
49
|
+
root_ttl_minutes: number | undefined;
|
|
50
|
+
lsp_ttl_minutes: number | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
backup?: {
|
|
53
|
+
enabled?: boolean | undefined;
|
|
54
|
+
max_depth?: number | undefined;
|
|
55
|
+
max_file_size?: number | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
worktree?: {
|
|
58
|
+
ram_overlay?: boolean | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
sandbox?: {
|
|
61
|
+
enabled?: boolean | undefined;
|
|
62
|
+
write_allow?: string[] | undefined;
|
|
63
|
+
read_deny?: string[] | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
bash?: boolean | {
|
|
66
|
+
enabled?: boolean | undefined;
|
|
67
|
+
rewrite?: boolean | undefined;
|
|
68
|
+
compress?: boolean | undefined;
|
|
69
|
+
background?: boolean | undefined;
|
|
70
|
+
host_fallback?: boolean | undefined;
|
|
71
|
+
subagent_background?: boolean | undefined;
|
|
72
|
+
detach_on_user_message?: boolean | undefined;
|
|
73
|
+
long_running_reminder_enabled?: boolean | undefined;
|
|
74
|
+
long_running_reminder_interval_ms?: number | undefined;
|
|
75
|
+
foreground_wait_window_ms?: number | undefined;
|
|
76
|
+
watch_sync_max_ms?: number | undefined;
|
|
77
|
+
linux_scope?: boolean | undefined;
|
|
78
|
+
powershell_tool?: boolean | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
experimental?: {
|
|
81
|
+
bash?: {
|
|
82
|
+
rewrite?: boolean | undefined;
|
|
83
|
+
compress?: boolean | undefined;
|
|
84
|
+
background?: boolean | undefined;
|
|
85
|
+
long_running_reminder_enabled?: boolean | undefined;
|
|
86
|
+
long_running_reminder_interval_ms?: number | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
lsp_ty?: boolean | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
lsp?: {
|
|
91
|
+
servers?: Record<string, {
|
|
92
|
+
args: string[];
|
|
93
|
+
root_markers: string[];
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
extensions?: string[] | undefined;
|
|
96
|
+
binary?: string | undefined;
|
|
97
|
+
env?: Record<string, string> | undefined;
|
|
98
|
+
initialization_options?: unknown;
|
|
99
|
+
}> | undefined;
|
|
100
|
+
disabled?: string[] | undefined;
|
|
101
|
+
python?: "pyright" | "ty" | "auto" | undefined;
|
|
102
|
+
diagnostics_on_edit?: boolean | undefined;
|
|
103
|
+
auto_install?: boolean | undefined;
|
|
104
|
+
grace_days?: number | undefined;
|
|
105
|
+
versions?: Record<string, string> | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
url_fetch_allow_private?: boolean | undefined;
|
|
108
|
+
semantic?: {
|
|
109
|
+
backend?: "fastembed" | "openai_compatible" | "ollama" | "synapse" | undefined;
|
|
110
|
+
model?: string | undefined;
|
|
111
|
+
base_url?: string | undefined;
|
|
112
|
+
api_key_env?: string | undefined;
|
|
113
|
+
timeout_ms?: number | undefined;
|
|
114
|
+
query_timeout_ms?: number | undefined;
|
|
115
|
+
query_instruction?: string | undefined;
|
|
116
|
+
max_batch_size?: number | undefined;
|
|
117
|
+
max_input_tokens?: number | undefined;
|
|
118
|
+
max_files?: number | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
search?: {
|
|
121
|
+
rerank?: {
|
|
122
|
+
backend?: "synapse" | "off" | "onnx" | "remote" | undefined;
|
|
123
|
+
model?: string | undefined;
|
|
124
|
+
endpoint?: string | undefined;
|
|
125
|
+
api_key_env?: string | undefined;
|
|
126
|
+
top_n?: number | undefined;
|
|
127
|
+
timeout_ms?: number | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
} | undefined;
|
|
130
|
+
auto_update?: boolean | undefined;
|
|
131
|
+
bridge?: {
|
|
132
|
+
request_timeout_ms?: number | undefined;
|
|
133
|
+
hang_threshold?: number | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
subc?: {
|
|
136
|
+
connection_file?: string | undefined;
|
|
137
|
+
client_reaper?: boolean | undefined;
|
|
138
|
+
} | undefined;
|
|
139
|
+
opencode?: {
|
|
140
|
+
server_url?: string | undefined;
|
|
141
|
+
server_password_env?: string | undefined;
|
|
142
|
+
} | undefined;
|
|
143
|
+
github?: {
|
|
144
|
+
shim?: boolean | undefined;
|
|
145
|
+
read?: boolean | undefined;
|
|
146
|
+
write?: boolean | undefined;
|
|
147
|
+
} | undefined;
|
|
148
|
+
gh_shim?: {
|
|
149
|
+
binary_path?: string | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
git?: {
|
|
152
|
+
co_author?: string | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
pi?: {
|
|
155
|
+
tool_presentation?: "top_level" | "host_default" | undefined;
|
|
156
|
+
} | undefined;
|
|
157
|
+
harnesses?: Record<string, {
|
|
158
|
+
$schema?: string | undefined;
|
|
159
|
+
edit_mode?: "default" | "hashline" | undefined;
|
|
160
|
+
format_on_edit?: boolean | undefined;
|
|
161
|
+
formatter_timeout_secs?: number | undefined;
|
|
162
|
+
validate_on_edit?: "syntax" | "full" | undefined;
|
|
163
|
+
formatter?: Record<string, "biome" | "oxfmt" | "prettier" | "deno" | "ruff" | "black" | "rustfmt" | "goimports" | "gofmt" | "none"> | undefined;
|
|
164
|
+
checker?: Record<string, "biome" | "ruff" | "none" | "tsc" | "tsgo" | "pyright" | "cargo" | "go" | "staticcheck"> | undefined;
|
|
165
|
+
configure_warnings_delivery?: "toast" | "log" | "chat" | undefined;
|
|
166
|
+
disabled_tools?: string[] | undefined;
|
|
167
|
+
restrict_to_project_root?: boolean | undefined;
|
|
168
|
+
indexes?: {
|
|
169
|
+
trigram?: boolean | undefined;
|
|
170
|
+
semantic?: boolean | undefined;
|
|
171
|
+
callgraph?: boolean | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
index?: {
|
|
174
|
+
roots?: {
|
|
175
|
+
path: string;
|
|
176
|
+
indexes: ("search" | "semantic" | "callgraph")[];
|
|
177
|
+
}[] | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
views?: {
|
|
180
|
+
enabled?: boolean | undefined;
|
|
181
|
+
} | undefined;
|
|
182
|
+
callgraph_chunk_size?: number | undefined;
|
|
183
|
+
inspect?: {
|
|
184
|
+
diagnostics_timeout_ms: number | undefined;
|
|
185
|
+
enabled?: boolean | undefined;
|
|
186
|
+
tier2_idle_minutes?: number | undefined;
|
|
187
|
+
tier2_pass_timeout_ms?: number | undefined;
|
|
188
|
+
categories?: Record<string, boolean> | undefined;
|
|
189
|
+
tier2_soft_deadline_ms?: number | undefined;
|
|
190
|
+
max_drill_down_items?: number | undefined;
|
|
191
|
+
duplicates?: {
|
|
192
|
+
expected_mirrors?: [string, string][] | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
} | undefined;
|
|
195
|
+
idle?: {
|
|
196
|
+
root_ttl_minutes: number | undefined;
|
|
197
|
+
lsp_ttl_minutes: number | undefined;
|
|
198
|
+
} | undefined;
|
|
199
|
+
backup?: {
|
|
200
|
+
enabled?: boolean | undefined;
|
|
201
|
+
max_depth?: number | undefined;
|
|
202
|
+
max_file_size?: number | undefined;
|
|
203
|
+
} | undefined;
|
|
204
|
+
worktree?: {
|
|
205
|
+
ram_overlay?: boolean | undefined;
|
|
206
|
+
} | undefined;
|
|
207
|
+
sandbox?: {
|
|
208
|
+
enabled?: boolean | undefined;
|
|
209
|
+
write_allow?: string[] | undefined;
|
|
210
|
+
read_deny?: string[] | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
bash?: boolean | {
|
|
213
|
+
enabled?: boolean | undefined;
|
|
214
|
+
rewrite?: boolean | undefined;
|
|
215
|
+
compress?: boolean | undefined;
|
|
216
|
+
background?: boolean | undefined;
|
|
217
|
+
host_fallback?: boolean | undefined;
|
|
218
|
+
subagent_background?: boolean | undefined;
|
|
219
|
+
detach_on_user_message?: boolean | undefined;
|
|
220
|
+
long_running_reminder_enabled?: boolean | undefined;
|
|
221
|
+
long_running_reminder_interval_ms?: number | undefined;
|
|
222
|
+
foreground_wait_window_ms?: number | undefined;
|
|
223
|
+
watch_sync_max_ms?: number | undefined;
|
|
224
|
+
linux_scope?: boolean | undefined;
|
|
225
|
+
powershell_tool?: boolean | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
experimental?: {
|
|
228
|
+
bash?: {
|
|
229
|
+
rewrite?: boolean | undefined;
|
|
230
|
+
compress?: boolean | undefined;
|
|
231
|
+
background?: boolean | undefined;
|
|
232
|
+
long_running_reminder_enabled?: boolean | undefined;
|
|
233
|
+
long_running_reminder_interval_ms?: number | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
lsp_ty?: boolean | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
lsp?: {
|
|
238
|
+
servers?: Record<string, {
|
|
239
|
+
args: string[];
|
|
240
|
+
root_markers: string[];
|
|
241
|
+
disabled: boolean;
|
|
242
|
+
extensions?: string[] | undefined;
|
|
243
|
+
binary?: string | undefined;
|
|
244
|
+
env?: Record<string, string> | undefined;
|
|
245
|
+
initialization_options?: unknown;
|
|
246
|
+
}> | undefined;
|
|
247
|
+
disabled?: string[] | undefined;
|
|
248
|
+
python?: "pyright" | "ty" | "auto" | undefined;
|
|
249
|
+
diagnostics_on_edit?: boolean | undefined;
|
|
250
|
+
auto_install?: boolean | undefined;
|
|
251
|
+
grace_days?: number | undefined;
|
|
252
|
+
versions?: Record<string, string> | undefined;
|
|
253
|
+
} | undefined;
|
|
254
|
+
url_fetch_allow_private?: boolean | undefined;
|
|
255
|
+
semantic?: {
|
|
256
|
+
backend?: "fastembed" | "openai_compatible" | "ollama" | "synapse" | undefined;
|
|
257
|
+
model?: string | undefined;
|
|
258
|
+
base_url?: string | undefined;
|
|
259
|
+
api_key_env?: string | undefined;
|
|
260
|
+
timeout_ms?: number | undefined;
|
|
261
|
+
query_timeout_ms?: number | undefined;
|
|
262
|
+
query_instruction?: string | undefined;
|
|
263
|
+
max_batch_size?: number | undefined;
|
|
264
|
+
max_input_tokens?: number | undefined;
|
|
265
|
+
max_files?: number | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
search?: {
|
|
268
|
+
rerank?: {
|
|
269
|
+
backend?: "synapse" | "off" | "onnx" | "remote" | undefined;
|
|
270
|
+
model?: string | undefined;
|
|
271
|
+
endpoint?: string | undefined;
|
|
272
|
+
api_key_env?: string | undefined;
|
|
273
|
+
top_n?: number | undefined;
|
|
274
|
+
timeout_ms?: number | undefined;
|
|
275
|
+
} | undefined;
|
|
276
|
+
} | undefined;
|
|
277
|
+
auto_update?: boolean | undefined;
|
|
278
|
+
bridge?: {
|
|
279
|
+
request_timeout_ms?: number | undefined;
|
|
280
|
+
hang_threshold?: number | undefined;
|
|
281
|
+
} | undefined;
|
|
282
|
+
subc?: {
|
|
283
|
+
connection_file?: string | undefined;
|
|
284
|
+
client_reaper?: boolean | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
opencode?: {
|
|
287
|
+
server_url?: string | undefined;
|
|
288
|
+
server_password_env?: string | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
github?: {
|
|
291
|
+
shim?: boolean | undefined;
|
|
292
|
+
read?: boolean | undefined;
|
|
293
|
+
write?: boolean | undefined;
|
|
294
|
+
} | undefined;
|
|
295
|
+
gh_shim?: {
|
|
296
|
+
binary_path?: string | undefined;
|
|
297
|
+
} | undefined;
|
|
298
|
+
git?: {
|
|
299
|
+
co_author?: string | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
pi?: {
|
|
302
|
+
tool_presentation?: "top_level" | "host_default" | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
}> | undefined;
|
|
305
|
+
}>[];
|
|
306
|
+
export declare function loadOpenCodeConfigForLiveReload(directory: string): LiveConfigLoad<AftConfig>;
|
|
307
|
+
export interface OpenCodeLiveConfigReloadOptions {
|
|
308
|
+
/** The directory whose project config applies. */
|
|
309
|
+
directory: string;
|
|
310
|
+
/** The config files the startup load read (the bootstrap result's `sources`). */
|
|
311
|
+
initialSources: readonly string[];
|
|
312
|
+
/** Their texts (the bootstrap result's `sourceTexts`). */
|
|
313
|
+
initialSourceTexts?: Readonly<Record<string, string>>;
|
|
314
|
+
getConfig(): AftConfig;
|
|
315
|
+
setConfig(config: AftConfig): void;
|
|
316
|
+
/** Show a config error to the user. */
|
|
317
|
+
notify(message: string): void;
|
|
318
|
+
/** Tests drive `reload()` directly instead of watching. */
|
|
319
|
+
watch?: boolean;
|
|
320
|
+
}
|
|
321
|
+
/** Keep `ctx.config` current for the live keys while the host runs. */
|
|
322
|
+
export declare function startOpenCodeLiveConfigReload(options: OpenCodeLiveConfigReloadOptions): LiveConfigReload;
|
|
323
|
+
//# sourceMappingURL=config-live-reload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-live-reload.d.ts","sourceRoot":"","sources":["../src/config-live-reload.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAGtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,KAAK,SAAS,EAOf,MAAM,aAAa,CAAC;AAGrB,+DAA+D;AAC/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGrC,CAAC;AAaF,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,CAAC,SAAS,CAAC,CAwB5F;AAED,MAAM,WAAW,+BAA+B;IAC9C,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,iFAAiF;IACjF,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACtD,SAAS,IAAI,SAAS,CAAC;IACvB,SAAS,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,uCAAuC;IACvC,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,uEAAuE;AACvE,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,+BAA+B,GACvC,gBAAgB,CAmBlB"}
|
package/dist/config.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export declare const ConfigureWarningsDeliveryEnum: z.ZodEnum<{
|
|
|
8
8
|
chat: "chat";
|
|
9
9
|
}>;
|
|
10
10
|
export type ConfigureWarningsDelivery = z.infer<typeof ConfigureWarningsDeliveryEnum>;
|
|
11
|
+
declare const OpenCodeHostConfigSchema: z.ZodObject<{
|
|
12
|
+
server_url: z.ZodOptional<z.ZodString>;
|
|
13
|
+
server_password_env: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
11
15
|
declare const GithubConfigSchema: z.ZodObject<{
|
|
12
16
|
shim: z.ZodOptional<z.ZodBoolean>;
|
|
13
17
|
read: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -188,6 +192,21 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
188
192
|
max_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
189
193
|
max_files: z.ZodOptional<z.ZodNumber>;
|
|
190
194
|
}, z.core.$strip>>;
|
|
195
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
rerank: z.ZodOptional<z.ZodObject<{
|
|
197
|
+
backend: z.ZodOptional<z.ZodEnum<{
|
|
198
|
+
synapse: "synapse";
|
|
199
|
+
off: "off";
|
|
200
|
+
onnx: "onnx";
|
|
201
|
+
remote: "remote";
|
|
202
|
+
}>>;
|
|
203
|
+
model: z.ZodOptional<z.ZodString>;
|
|
204
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
205
|
+
api_key_env: z.ZodOptional<z.ZodString>;
|
|
206
|
+
top_n: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
}, z.core.$strip>>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
191
210
|
auto_update: z.ZodOptional<z.ZodBoolean>;
|
|
192
211
|
bridge: z.ZodOptional<z.ZodObject<{
|
|
193
212
|
request_timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
@@ -197,6 +216,10 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
197
216
|
connection_file: z.ZodOptional<z.ZodString>;
|
|
198
217
|
client_reaper: z.ZodOptional<z.ZodBoolean>;
|
|
199
218
|
}, z.core.$strip>>;
|
|
219
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
server_url: z.ZodOptional<z.ZodString>;
|
|
221
|
+
server_password_env: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
200
223
|
github: z.ZodOptional<z.ZodObject<{
|
|
201
224
|
shim: z.ZodOptional<z.ZodBoolean>;
|
|
202
225
|
read: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -374,6 +397,21 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
374
397
|
max_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
375
398
|
max_files: z.ZodOptional<z.ZodNumber>;
|
|
376
399
|
}, z.core.$strip>>;
|
|
400
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
rerank: z.ZodOptional<z.ZodObject<{
|
|
402
|
+
backend: z.ZodOptional<z.ZodEnum<{
|
|
403
|
+
synapse: "synapse";
|
|
404
|
+
off: "off";
|
|
405
|
+
onnx: "onnx";
|
|
406
|
+
remote: "remote";
|
|
407
|
+
}>>;
|
|
408
|
+
model: z.ZodOptional<z.ZodString>;
|
|
409
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
410
|
+
api_key_env: z.ZodOptional<z.ZodString>;
|
|
411
|
+
top_n: z.ZodOptional<z.ZodNumber>;
|
|
412
|
+
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
}, z.core.$strip>>;
|
|
414
|
+
}, z.core.$strip>>;
|
|
377
415
|
auto_update: z.ZodOptional<z.ZodBoolean>;
|
|
378
416
|
bridge: z.ZodOptional<z.ZodObject<{
|
|
379
417
|
request_timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
@@ -383,6 +421,10 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
383
421
|
connection_file: z.ZodOptional<z.ZodString>;
|
|
384
422
|
client_reaper: z.ZodOptional<z.ZodBoolean>;
|
|
385
423
|
}, z.core.$strip>>;
|
|
424
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
server_url: z.ZodOptional<z.ZodString>;
|
|
426
|
+
server_password_env: z.ZodOptional<z.ZodString>;
|
|
427
|
+
}, z.core.$strip>>;
|
|
386
428
|
github: z.ZodOptional<z.ZodObject<{
|
|
387
429
|
shim: z.ZodOptional<z.ZodBoolean>;
|
|
388
430
|
read: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -404,6 +446,7 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
404
446
|
}, z.core.$strict>>;
|
|
405
447
|
export type AftConfig = z.infer<typeof AftConfigSchema>;
|
|
406
448
|
export type GithubConfig = z.infer<typeof GithubConfigSchema>;
|
|
449
|
+
export type OpenCodeHostConfig = z.infer<typeof OpenCodeHostConfigSchema>;
|
|
407
450
|
export interface ResolvedGithubConfig {
|
|
408
451
|
shim: boolean;
|
|
409
452
|
read: boolean;
|
|
@@ -547,6 +590,22 @@ export type ConfigLoadError = {
|
|
|
547
590
|
path: string;
|
|
548
591
|
message: string;
|
|
549
592
|
};
|
|
593
|
+
/**
|
|
594
|
+
* The config files the last load actually read, in load order. A file that
|
|
595
|
+
* did not exist when the loader looked is not listed. A live config reload
|
|
596
|
+
* compares this with the previous accepted load to tell that a file it relied
|
|
597
|
+
* on has disappeared, rather than probing the filesystem separately.
|
|
598
|
+
*/
|
|
599
|
+
export declare function getConfigLoadSources(): readonly string[];
|
|
600
|
+
/** The text of each file the last load read, keyed by path. */
|
|
601
|
+
export declare function getConfigLoadTexts(): ReadonlyMap<string, string>;
|
|
602
|
+
/**
|
|
603
|
+
* Settings the last load dropped because their value did not validate. A
|
|
604
|
+
* normal load keeps the rest of the file and uses defaults for these; a live
|
|
605
|
+
* config reload treats any of them as an invalid file and keeps the last valid
|
|
606
|
+
* config instead, so a typo cannot reset a key while the host runs.
|
|
607
|
+
*/
|
|
608
|
+
export declare function getConfigValidationErrors(): readonly ConfigLoadError[];
|
|
550
609
|
/** Errors from the most recent {@link loadAftConfig} call (parse failures only). */
|
|
551
610
|
export declare function getConfigLoadErrors(): readonly ConfigLoadError[];
|
|
552
611
|
export declare function formatConfigParseFailureMessage(configPath: string, errorMessage: string): string;
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,4BAA4B,EAEjC,KAAK,UAAU,EAYf,KAAK,qBAAqB,EAa3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAmE5D,oGAAoG;AACpG,eAAO,MAAM,6BAA6B;;;;EAAmC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,4BAA4B,EAEjC,KAAK,UAAU,EAYf,KAAK,qBAAqB,EAa3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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