@cortexkit/aft-opencode 0.63.5 → 0.65.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/dist/bg-notifications.d.ts.map +1 -1
- package/dist/config-live-reload.d.ts +4 -28
- package/dist/config-live-reload.d.ts.map +1 -1
- package/dist/config.d.ts +11 -40
- package/dist/config.d.ts.map +1 -1
- package/dist/entry/server.js +1726 -674
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1726 -674
- package/dist/lsp-auto-install.d.ts.map +1 -1
- package/dist/shared/session-directory.d.ts +11 -4
- package/dist/shared/session-directory.d.ts.map +1 -1
- package/dist/shared/status.d.ts +2 -6
- package/dist/shared/status.d.ts.map +1 -1
- package/dist/subc-tool-schemas.d.ts +4 -3
- package/dist/subc-tool-schemas.d.ts.map +1 -1
- package/dist/tool-registration.d.ts +1 -1
- package/dist/tool-registration.d.ts.map +1 -1
- package/dist/tools/_shared.d.ts +11 -17
- package/dist/tools/_shared.d.ts.map +1 -1
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/bash_watch.d.ts +6 -3
- package/dist/tools/bash_watch.d.ts.map +1 -1
- package/dist/tools/definitions/v2.d.ts +26 -1
- package/dist/tools/definitions/v2.d.ts.map +1 -1
- package/dist/tools/inspect.d.ts +0 -15
- package/dist/tools/inspect.d.ts.map +1 -1
- package/dist/tui/preferences.d.ts +1 -1
- package/dist/tui/shared-sidebar.d.ts +4 -0
- package/dist/tui/shared-sidebar.d.ts.map +1 -0
- package/dist/tui/v2-status.d.ts +3 -2
- package/dist/tui/v2-status.d.ts.map +1 -1
- package/dist/v2-session-lifecycle.d.ts.map +1 -1
- package/dist/workflow-hints.d.ts +1 -5
- package/dist/workflow-hints.d.ts.map +1 -1
- package/package.json +14 -12
- package/src/shared/session-directory.ts +90 -17
- package/src/shared/status.ts +6 -26
- package/src/tui/index.tsx +8 -28
- package/src/tui/preferences.ts +1 -1
- package/src/tui/shared-sidebar.ts +14 -0
- package/src/tui/sidebar-view.tsx +257 -283
- package/src/tui/v2-status.ts +5 -14
- package/src/tui-compiled/index.tsx +6 -44
- package/src/tui-compiled/preferences.ts +1 -1
- package/src/tui-compiled/shared-sidebar-host.tsx +816 -0
- package/src/tui-compiled/shared-sidebar-local.tsx +816 -0
- package/src/tui-compiled/shared-sidebar.LICENSE +21 -0
- package/src/tui-compiled/shared-sidebar.ts +14 -0
- package/src/tui-compiled/sidebar-view.tsx +185 -261
- package/src/tui-compiled/sidebar.tsx +1 -0
- package/src/tui-compiled/v2-status.ts +5 -14
- package/src/tui-compiled/v2.tsx +1 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
1
2
|
import { createComponent as _$createComponent } from "opentui:runtime-module:%40opentui%2Fsolid";
|
|
2
3
|
import { memo as _$memo } from "opentui:runtime-module:%40opentui%2Fsolid";
|
|
3
4
|
import { createTextNode as _$createTextNode } from "opentui:runtime-module:%40opentui%2Fsolid";
|
|
@@ -131,7 +132,7 @@ function statusAcceptGate(directory) {
|
|
|
131
132
|
return isSnapshotForContext(coerceAftStatus(rec), directory, rec?.served_directory);
|
|
132
133
|
};
|
|
133
134
|
}
|
|
134
|
-
const StatusDialog = props => {
|
|
135
|
+
export const StatusDialog = props => {
|
|
135
136
|
const theme = createMemo(() => props.api.theme.current);
|
|
136
137
|
const t = () => theme();
|
|
137
138
|
|
|
@@ -563,7 +564,7 @@ const StatusDialog = props => {
|
|
|
563
564
|
},
|
|
564
565
|
label: "Checkpoints",
|
|
565
566
|
get value() {
|
|
566
|
-
return
|
|
567
|
+
return status().session.checkpoints?.toString() ?? "—";
|
|
567
568
|
}
|
|
568
569
|
}), null);
|
|
569
570
|
_$insert(_el$30, _$createComponent(R, {
|
|
@@ -572,7 +573,7 @@ const StatusDialog = props => {
|
|
|
572
573
|
},
|
|
573
574
|
label: "All-session checkpoints",
|
|
574
575
|
get value() {
|
|
575
|
-
return
|
|
576
|
+
return status().checkpoints_total?.toString() ?? "—";
|
|
576
577
|
},
|
|
577
578
|
tone: "muted"
|
|
578
579
|
}), null);
|
|
@@ -709,7 +710,7 @@ const StatusDialog = props => {
|
|
|
709
710
|
_$setProp(_el$53, "width", "100%");
|
|
710
711
|
_$setProp(_el$53, "marginTop", 1);
|
|
711
712
|
_$insertNode(_el$54, _el$55);
|
|
712
|
-
_$
|
|
713
|
+
_$insertNode(_el$55, _$createTextNode(`Code Health`));
|
|
713
714
|
_$insert(_el$53, () => (statusBar().disabled_categories ?? []).map(key => _$createComponent(R, {
|
|
714
715
|
get theme() {
|
|
715
716
|
return t();
|
|
@@ -751,47 +752,8 @@ const StatusDialog = props => {
|
|
|
751
752
|
}) : null;
|
|
752
753
|
})(), null);
|
|
753
754
|
_$insert(_el$53, (() => {
|
|
754
|
-
var _c$16 = _$memo(() => statusBar().
|
|
755
|
+
var _c$16 = _$memo(() => statusBar().todos !== undefined);
|
|
755
756
|
return () => _c$16() ? _$createComponent(R, {
|
|
756
|
-
get theme() {
|
|
757
|
-
return t();
|
|
758
|
-
},
|
|
759
|
-
label: "Dead Code",
|
|
760
|
-
get value() {
|
|
761
|
-
return formatCountShort(statusBar().dead_code);
|
|
762
|
-
},
|
|
763
|
-
tone: "muted"
|
|
764
|
-
}) : null;
|
|
765
|
-
})(), null);
|
|
766
|
-
_$insert(_el$53, (() => {
|
|
767
|
-
var _c$17 = _$memo(() => statusBar().unused_exports !== undefined);
|
|
768
|
-
return () => _c$17() ? _$createComponent(R, {
|
|
769
|
-
get theme() {
|
|
770
|
-
return t();
|
|
771
|
-
},
|
|
772
|
-
label: "Unused Exports",
|
|
773
|
-
get value() {
|
|
774
|
-
return formatCountShort(statusBar().unused_exports);
|
|
775
|
-
},
|
|
776
|
-
tone: "muted"
|
|
777
|
-
}) : null;
|
|
778
|
-
})(), null);
|
|
779
|
-
_$insert(_el$53, (() => {
|
|
780
|
-
var _c$18 = _$memo(() => statusBar().duplicates !== undefined);
|
|
781
|
-
return () => _c$18() ? _$createComponent(R, {
|
|
782
|
-
get theme() {
|
|
783
|
-
return t();
|
|
784
|
-
},
|
|
785
|
-
label: "Duplicates",
|
|
786
|
-
get value() {
|
|
787
|
-
return formatCountShort(statusBar().duplicates);
|
|
788
|
-
},
|
|
789
|
-
tone: "muted"
|
|
790
|
-
}) : null;
|
|
791
|
-
})(), null);
|
|
792
|
-
_$insert(_el$53, (() => {
|
|
793
|
-
var _c$19 = _$memo(() => statusBar().todos !== undefined);
|
|
794
|
-
return () => _c$19() ? _$createComponent(R, {
|
|
795
757
|
get theme() {
|
|
796
758
|
return t();
|
|
797
759
|
},
|
|
@@ -40,7 +40,7 @@ export interface AftTuiPrefs {
|
|
|
40
40
|
rememberCollapsed: boolean;
|
|
41
41
|
collapsed: boolean | null;
|
|
42
42
|
/**
|
|
43
|
-
* Whether OpenCode 2 shows AFT's health line (`AFT E0 W0 |
|
|
43
|
+
* Whether OpenCode 2 shows AFT's health line (`AFT E0 W0 | T0`)
|
|
44
44
|
* in the prompt footer. Off hides it entirely; the sidebar and the status
|
|
45
45
|
* dialog are unaffected.
|
|
46
46
|
*/
|