@cortexkit/aft-pi 0.52.2 → 0.54.0
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 +6 -2
- package/dist/bash-wait-detach.d.ts +6 -0
- package/dist/bash-wait-detach.d.ts.map +1 -1
- package/dist/config.d.ts +182 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +730 -480
- package/dist/shared/status.d.ts +3 -0
- package/dist/shared/status.d.ts.map +1 -1
- package/dist/tool-registration.d.ts +6 -1
- package/dist/tool-registration.d.ts.map +1 -1
- package/dist/tools/_shared.d.ts +7 -0
- package/dist/tools/_shared.d.ts.map +1 -1
- package/dist/tools/bash.d.ts +10 -1
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/diff-format.d.ts.map +1 -1
- package/dist/tools/hoisted.d.ts +2 -0
- package/dist/tools/hoisted.d.ts.map +1 -1
- package/dist/tools/inspect.d.ts +1 -1
- package/dist/tools/inspect.d.ts.map +1 -1
- package/dist/tools/render-helpers.d.ts +7 -0
- package/dist/tools/render-helpers.d.ts.map +1 -1
- package/dist/tools/safety.d.ts.map +1 -1
- package/dist/workflow-hints.d.ts +1 -0
- package/dist/workflow-hints.d.ts.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ pi install npm:@cortexkit/aft-pi@0.13.1
|
|
|
22
22
|
|
|
23
23
|
### Hoisted built-in overrides
|
|
24
24
|
|
|
25
|
-
Pi's default `read`, `write`, `edit`, and `grep` are replaced with AFT-backed versions.
|
|
25
|
+
Pi's default `read`, `write`, `edit`, and `grep` are replaced with AFT-backed versions by default. Set `hoist_builtin_tools: false` to keep Pi's native tools and use `aft_read`, `aft_write`, `aft_edit`, `aft_grep`, and `aft_bash` for AFT instead; AFT background-bash companions remain `bash_status`, `bash_watch`, `bash_write`, and `bash_kill`.
|
|
26
26
|
|
|
27
27
|
| Tool | Pi built-in | AFT replacement |
|
|
28
28
|
| ------- | ------------------------ | -------------------------------------------------------------------------------------------- |
|
|
@@ -69,6 +69,10 @@ All keys are optional. Example:
|
|
|
69
69
|
// "minimal" | "recommended" (default) | "all"
|
|
70
70
|
"tool_surface": "recommended",
|
|
71
71
|
|
|
72
|
+
// Default true replaces Pi's native file and bash tools.
|
|
73
|
+
// Set false to retain Pi's tools and use aft_read/aft_write/aft_edit/aft_bash for AFT.
|
|
74
|
+
"hoist_builtin_tools": false,
|
|
75
|
+
|
|
72
76
|
// Auto-format on write/edit using project formatter config.
|
|
73
77
|
"format_on_edit": true,
|
|
74
78
|
|
|
@@ -119,7 +123,7 @@ Sensitive semantic backend fields (`backend`, `base_url`, `api_key_env`) are onl
|
|
|
119
123
|
| Tier | Tools |
|
|
120
124
|
| ----------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
|
121
125
|
| `minimal` | `aft_outline`, `aft_zoom`, `aft_safety` |
|
|
122
|
-
| `recommended` (default) | `minimal` +
|
|
126
|
+
| `recommended` (default) | `minimal` + `read`/`write`/`edit` (or `aft_` alternatives when hoisting is disabled) + `aft_import` + `ast_grep_*` + `lsp_diagnostics` + `aft_conflicts` + (optional) `grep`/`aft_grep` + (optional) `aft_search` |
|
|
123
127
|
| `all` | `recommended` + `aft_callgraph` + `aft_delete` + `aft_move` + `aft_refactor` |
|
|
124
128
|
|
|
125
129
|
## Architecture
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { AftTransportPool } from "@cortexkit/aft-bridge";
|
|
2
|
+
import type { AftConfig } from "./config.js";
|
|
2
3
|
type ActiveBridgePool = Pick<AftTransportPool, "getActiveBridgeForRoot">;
|
|
4
|
+
export declare const BASH_WAIT_DETACH_MAGIC_KEYWORD = "&detach";
|
|
5
|
+
/** Strip the `&detach` control token before Pi's input transform delivers the user message to the model. */
|
|
6
|
+
export declare function stripUserMessageDetachKeyword(messageText: string): string;
|
|
7
|
+
/** Decide whether a user message should signal an active wait:true bash call. */
|
|
8
|
+
export declare function shouldDetachBashWaitOnUserMessage(config: AftConfig, messageText: string): boolean;
|
|
3
9
|
export declare function signalBashWaitDetachForProject(pool: ActiveBridgePool, projectRoot: string, sessionID: string | undefined): Promise<void>;
|
|
4
10
|
export {};
|
|
5
11
|
//# sourceMappingURL=bash-wait-detach.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bash-wait-detach.d.ts","sourceRoot":"","sources":["../src/bash-wait-detach.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"bash-wait-detach.d.ts","sourceRoot":"","sources":["../src/bash-wait-detach.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAM7C,KAAK,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,wBAAwB,CAAC,CAAC;AAEzE,eAAO,MAAM,8BAA8B,YAAY,CAAC;AAGxD,4GAA4G;AAC5G,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAMzE;AAED,iFAAiF;AACjF,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAKjG;AAaD,wBAAsB,8BAA8B,CAClD,IAAI,EAAE,gBAAgB,EACtB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAAG,SAAS,GAC5B,OAAO,CAAC,IAAI,CAAC,CAWf"}
|
package/dist/config.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type Formatter = "biome" | "oxfmt" | "prettier" | "deno" | "ruff" | "blac
|
|
|
4
4
|
export type Checker = "tsc" | "tsgo" | "biome" | "pyright" | "ruff" | "cargo" | "go" | "staticcheck" | "none";
|
|
5
5
|
/** How configure-time missing-tool warnings are delivered by the Pi plugin. */
|
|
6
6
|
export type ConfigureWarningsDelivery = "toast" | "log" | "chat";
|
|
7
|
-
export type SemanticBackend = "fastembed" | "openai_compatible" | "ollama";
|
|
7
|
+
export type SemanticBackend = "fastembed" | "openai_compatible" | "ollama" | "synapse";
|
|
8
8
|
export interface BridgeConfig {
|
|
9
9
|
request_timeout_ms?: number;
|
|
10
10
|
hang_threshold?: number;
|
|
@@ -134,6 +134,8 @@ export interface BashConfig {
|
|
|
134
134
|
background?: boolean;
|
|
135
135
|
/** Permit per-command host fallback after AFT transport failure. Default false. */
|
|
136
136
|
host_fallback?: boolean;
|
|
137
|
+
/** Detach wait:true bash calls on user messages; `&detach` overrides, is stripped before delivery, and a token-only message gets a minimal replacement. */
|
|
138
|
+
detach_on_user_message?: boolean;
|
|
137
139
|
long_running_reminder_enabled?: boolean;
|
|
138
140
|
long_running_reminder_interval_ms?: number;
|
|
139
141
|
/**
|
|
@@ -141,6 +143,8 @@ export interface BashConfig {
|
|
|
141
143
|
* Default 15000ms; values below the 5000ms floor are clamped up.
|
|
142
144
|
*/
|
|
143
145
|
foreground_wait_window_ms?: number;
|
|
146
|
+
/** Manual fallback for Pi versions that do not expose enabled default tools. */
|
|
147
|
+
powershell_tool?: boolean;
|
|
144
148
|
}
|
|
145
149
|
export interface AftConfig {
|
|
146
150
|
/**
|
|
@@ -161,6 +165,8 @@ export interface AftConfig {
|
|
|
161
165
|
checker?: Record<string, Checker>;
|
|
162
166
|
/** Configure-time missing-tool warning delivery. Default: toast. */
|
|
163
167
|
configure_warnings_delivery?: ConfigureWarningsDelivery;
|
|
168
|
+
/** Replace host-native read/write/edit/grep/bash with AFT tools. Default: true; false registers AFT's replacements under aft_ names. */
|
|
169
|
+
hoist_builtin_tools?: boolean;
|
|
164
170
|
tool_surface?: ToolSurface;
|
|
165
171
|
disabled_tools?: string[];
|
|
166
172
|
restrict_to_project_root?: boolean;
|
|
@@ -205,6 +211,8 @@ export interface AftConfig {
|
|
|
205
211
|
subc?: SubcConfig;
|
|
206
212
|
gh_shim?: GhShimConfig;
|
|
207
213
|
git?: GitConfig;
|
|
214
|
+
/** Per-harness config overrides; nested harnesses are ignored. */
|
|
215
|
+
harnesses?: Record<string, Omit<AftConfig, "harnesses">>;
|
|
208
216
|
}
|
|
209
217
|
/**
|
|
210
218
|
* Resolved bash config: every flag has an explicit boolean.
|
|
@@ -216,6 +224,8 @@ export interface ResolvedBashConfig {
|
|
|
216
224
|
background: boolean;
|
|
217
225
|
/** Emergency local execution gate. Default false, including for `bash: true`. */
|
|
218
226
|
host_fallback: boolean;
|
|
227
|
+
/** Detach wait:true bash calls on user messages; `&detach` overrides, is stripped before delivery, and a token-only message gets a minimal replacement. */
|
|
228
|
+
detach_on_user_message: boolean;
|
|
219
229
|
long_running_reminder_enabled?: boolean;
|
|
220
230
|
long_running_reminder_interval_ms?: number;
|
|
221
231
|
/**
|
|
@@ -223,6 +233,8 @@ export interface ResolvedBashConfig {
|
|
|
223
233
|
* Always resolved: defaults to 15000, floored at 5000.
|
|
224
234
|
*/
|
|
225
235
|
foreground_wait_window_ms: number;
|
|
236
|
+
/** Manual PowerShell registration fallback. Default false. */
|
|
237
|
+
powershell_tool: boolean;
|
|
226
238
|
}
|
|
227
239
|
/** Default foreground wait-window before auto-promotion (ms). */
|
|
228
240
|
export declare const FOREGROUND_WAIT_WINDOW_DEFAULT_MS = 15000;
|
|
@@ -288,6 +300,7 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
288
300
|
log: "log";
|
|
289
301
|
chat: "chat";
|
|
290
302
|
}>>;
|
|
303
|
+
hoist_builtin_tools: z.ZodOptional<z.ZodBoolean>;
|
|
291
304
|
tool_surface: z.ZodOptional<z.ZodEnum<{
|
|
292
305
|
minimal: "minimal";
|
|
293
306
|
recommended: "recommended";
|
|
@@ -344,9 +357,11 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
344
357
|
compress: z.ZodOptional<z.ZodBoolean>;
|
|
345
358
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
346
359
|
host_fallback: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
detach_on_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
347
361
|
long_running_reminder_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
348
362
|
long_running_reminder_interval_ms: z.ZodOptional<z.ZodNumber>;
|
|
349
363
|
foreground_wait_window_ms: z.ZodOptional<z.ZodNumber>;
|
|
364
|
+
powershell_tool: z.ZodOptional<z.ZodBoolean>;
|
|
350
365
|
}, z.core.$strip>]>>;
|
|
351
366
|
experimental: z.ZodOptional<z.ZodObject<{
|
|
352
367
|
bash: z.ZodOptional<z.ZodObject<{
|
|
@@ -409,6 +424,172 @@ export declare const AftConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
409
424
|
git: z.ZodOptional<z.ZodObject<{
|
|
410
425
|
co_author: z.ZodOptional<z.ZodString>;
|
|
411
426
|
}, z.core.$strip>>;
|
|
427
|
+
harnesses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
428
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
429
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
+
edit_mode: z.ZodOptional<z.ZodEnum<{
|
|
431
|
+
default: "default";
|
|
432
|
+
hashline: "hashline";
|
|
433
|
+
}>>;
|
|
434
|
+
format_on_edit: z.ZodOptional<z.ZodBoolean>;
|
|
435
|
+
formatter_timeout_secs: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
validate_on_edit: z.ZodOptional<z.ZodEnum<{
|
|
437
|
+
syntax: "syntax";
|
|
438
|
+
full: "full";
|
|
439
|
+
}>>;
|
|
440
|
+
formatter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
441
|
+
biome: "biome";
|
|
442
|
+
oxfmt: "oxfmt";
|
|
443
|
+
prettier: "prettier";
|
|
444
|
+
deno: "deno";
|
|
445
|
+
ruff: "ruff";
|
|
446
|
+
black: "black";
|
|
447
|
+
rustfmt: "rustfmt";
|
|
448
|
+
goimports: "goimports";
|
|
449
|
+
gofmt: "gofmt";
|
|
450
|
+
none: "none";
|
|
451
|
+
}>>>;
|
|
452
|
+
checker: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
453
|
+
biome: "biome";
|
|
454
|
+
ruff: "ruff";
|
|
455
|
+
none: "none";
|
|
456
|
+
tsc: "tsc";
|
|
457
|
+
tsgo: "tsgo";
|
|
458
|
+
pyright: "pyright";
|
|
459
|
+
cargo: "cargo";
|
|
460
|
+
go: "go";
|
|
461
|
+
staticcheck: "staticcheck";
|
|
462
|
+
}>>>;
|
|
463
|
+
configure_warnings_delivery: z.ZodOptional<z.ZodEnum<{
|
|
464
|
+
toast: "toast";
|
|
465
|
+
log: "log";
|
|
466
|
+
chat: "chat";
|
|
467
|
+
}>>;
|
|
468
|
+
hoist_builtin_tools: z.ZodOptional<z.ZodBoolean>;
|
|
469
|
+
tool_surface: z.ZodOptional<z.ZodEnum<{
|
|
470
|
+
minimal: "minimal";
|
|
471
|
+
recommended: "recommended";
|
|
472
|
+
all: "all";
|
|
473
|
+
}>>;
|
|
474
|
+
disabled_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
475
|
+
restrict_to_project_root: z.ZodOptional<z.ZodBoolean>;
|
|
476
|
+
search_index: z.ZodOptional<z.ZodBoolean>;
|
|
477
|
+
index: z.ZodOptional<z.ZodObject<{
|
|
478
|
+
roots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
479
|
+
path: z.ZodString;
|
|
480
|
+
indexes: z.ZodArray<z.ZodEnum<{
|
|
481
|
+
search: "search";
|
|
482
|
+
semantic: "semantic";
|
|
483
|
+
callgraph: "callgraph";
|
|
484
|
+
}>>;
|
|
485
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
486
|
+
path: string;
|
|
487
|
+
indexes: ("search" | "semantic" | "callgraph")[];
|
|
488
|
+
}, {
|
|
489
|
+
path: string;
|
|
490
|
+
indexes: ("search" | "semantic" | "callgraph")[];
|
|
491
|
+
}>>>>;
|
|
492
|
+
}, z.core.$strip>>;
|
|
493
|
+
semantic_search: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
+
callgraph_store: z.ZodOptional<z.ZodBoolean>;
|
|
495
|
+
callgraph_chunk_size: z.ZodOptional<z.ZodNumber>;
|
|
496
|
+
inspect: z.ZodOptional<z.ZodObject<{
|
|
497
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
498
|
+
diagnostics_timeout_ms: z.ZodPipe<z.ZodOptional<z.ZodNumber>, z.ZodTransform<number | undefined, number | undefined>>;
|
|
499
|
+
tier2_idle_minutes: z.ZodOptional<z.ZodNumber>;
|
|
500
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
501
|
+
tier2_soft_deadline_ms: z.ZodOptional<z.ZodNumber>;
|
|
502
|
+
max_drill_down_items: z.ZodOptional<z.ZodNumber>;
|
|
503
|
+
duplicates: z.ZodOptional<z.ZodObject<{
|
|
504
|
+
expected_mirrors: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
505
|
+
}, z.core.$strip>>;
|
|
506
|
+
}, z.core.$strip>>;
|
|
507
|
+
backup: z.ZodOptional<z.ZodObject<{
|
|
508
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
509
|
+
max_depth: z.ZodOptional<z.ZodNumber>;
|
|
510
|
+
max_file_size: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
}, z.core.$strip>>;
|
|
512
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
513
|
+
ram_overlay: z.ZodOptional<z.ZodBoolean>;
|
|
514
|
+
}, z.core.$strip>>;
|
|
515
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
516
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
517
|
+
write_allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
518
|
+
read_deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
521
|
+
rewrite: z.ZodOptional<z.ZodBoolean>;
|
|
522
|
+
compress: z.ZodOptional<z.ZodBoolean>;
|
|
523
|
+
background: z.ZodOptional<z.ZodBoolean>;
|
|
524
|
+
host_fallback: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
detach_on_user_message: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
long_running_reminder_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
527
|
+
long_running_reminder_interval_ms: z.ZodOptional<z.ZodNumber>;
|
|
528
|
+
foreground_wait_window_ms: z.ZodOptional<z.ZodNumber>;
|
|
529
|
+
powershell_tool: z.ZodOptional<z.ZodBoolean>;
|
|
530
|
+
}, z.core.$strip>]>>;
|
|
531
|
+
experimental: z.ZodOptional<z.ZodObject<{
|
|
532
|
+
bash: z.ZodOptional<z.ZodObject<{
|
|
533
|
+
rewrite: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
compress: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
background: z.ZodOptional<z.ZodBoolean>;
|
|
536
|
+
long_running_reminder_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
537
|
+
long_running_reminder_interval_ms: z.ZodOptional<z.ZodNumber>;
|
|
538
|
+
}, z.core.$strip>>;
|
|
539
|
+
lsp_ty: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
+
}, z.core.$strip>>;
|
|
541
|
+
lsp: z.ZodOptional<z.ZodObject<{
|
|
542
|
+
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
543
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
544
|
+
binary: z.ZodOptional<z.ZodString>;
|
|
545
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
546
|
+
root_markers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
547
|
+
disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
548
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
549
|
+
initialization_options: z.ZodOptional<z.ZodUnknown>;
|
|
550
|
+
}, z.core.$strip>>>;
|
|
551
|
+
disabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
552
|
+
python: z.ZodOptional<z.ZodEnum<{
|
|
553
|
+
pyright: "pyright";
|
|
554
|
+
ty: "ty";
|
|
555
|
+
auto: "auto";
|
|
556
|
+
}>>;
|
|
557
|
+
diagnostics_on_edit: z.ZodOptional<z.ZodBoolean>;
|
|
558
|
+
auto_install: z.ZodOptional<z.ZodBoolean>;
|
|
559
|
+
grace_days: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
561
|
+
}, z.core.$strip>>;
|
|
562
|
+
url_fetch_allow_private: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
+
semantic: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
backend: z.ZodOptional<z.ZodEnum<{
|
|
565
|
+
fastembed: "fastembed";
|
|
566
|
+
openai_compatible: "openai_compatible";
|
|
567
|
+
ollama: "ollama";
|
|
568
|
+
}>>;
|
|
569
|
+
model: z.ZodOptional<z.ZodString>;
|
|
570
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
571
|
+
api_key_env: z.ZodOptional<z.ZodString>;
|
|
572
|
+
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
query_timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
max_batch_size: z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
max_files: z.ZodOptional<z.ZodNumber>;
|
|
576
|
+
}, z.core.$strip>>;
|
|
577
|
+
bridge: z.ZodOptional<z.ZodObject<{
|
|
578
|
+
request_timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
hang_threshold: z.ZodOptional<z.ZodNumber>;
|
|
580
|
+
}, z.core.$strip>>;
|
|
581
|
+
subc: z.ZodOptional<z.ZodObject<{
|
|
582
|
+
client_reaper: z.ZodOptional<z.ZodBoolean>;
|
|
583
|
+
connection_file: z.ZodOptional<z.ZodString>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
gh_shim: z.ZodOptional<z.ZodObject<{
|
|
586
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
587
|
+
binary_path: z.ZodOptional<z.ZodString>;
|
|
588
|
+
}, z.core.$strip>>;
|
|
589
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
co_author: z.ZodOptional<z.ZodString>;
|
|
591
|
+
}, z.core.$strip>>;
|
|
592
|
+
}, z.core.$strict>>>>;
|
|
412
593
|
}, z.core.$strict>>;
|
|
413
594
|
export declare function resolveLspConfigForConfigure(config: AftConfig): ConfigureLspOverrides;
|
|
414
595
|
/**
|
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,EACjC,KAAK,UAAU,EAQhB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,UAAU,EAQhB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA0CxB,MAAM,MAAM,SAAS,GACjB,OAAO,GACP,OAAO,GACP,UAAU,GACV,MAAM,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AM,EAAE,UAAU,EAAE,CAAC;IACrB,0BAA0B,EAAE,MAAM,CAAC;IACnC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAkBA;AAMD,wBAAgB,aAAa,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAkCjE"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAiBH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAUpE,OAAO,EACL,KAAK,SAAS,EAGd,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAiBH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAUpE,OAAO,EACL,KAAK,SAAS,EAGd,mBAAmB,EAKpB,MAAM,aAAa,CAAC;AA8BrB,OAAO,EAAyB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AA6BrF,KAAK,mBAAmB,GAAG;IACzB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC9C,CAAC;AAEF,iBAAS,4BAA4B,CACnC,OAAO,EAAE,MAAM,mBAAmB,GAAG,SAAS,EAC9C,sBAAsB,GAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAgB,IAOrE,eAAe,MAAM,EAAE,YAAY,MAAM,KAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAyCjF;AAyED,iBAAS,0BAA0B,CACjC,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,GAC7C,IAAI,CAUN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