omp-fabric 1.28.0 → 1.28.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/CHANGELOG.md +24 -0
- package/README.md +1 -1
- package/dist/capture/interceptor.d.ts.map +1 -1
- package/dist/chunks/{chunk-DKXNUCM2.js → chunk-4PPAWZM6.js} +9 -9
- package/dist/chunks/chunk-4PPAWZM6.js.map +7 -0
- package/dist/chunks/{chunk-O337ZL5J.js → chunk-CHXPTZUF.js} +4 -4
- package/dist/chunks/chunk-CHXPTZUF.js.map +7 -0
- package/dist/chunks/{chunk-MIGBZN2K.js → chunk-CYNNPPN4.js} +23 -11
- package/dist/chunks/chunk-CYNNPPN4.js.map +7 -0
- package/dist/chunks/{chunk-ANHZ3SWB.js → chunk-DGKGPZET.js} +9 -4
- package/dist/chunks/{chunk-ANHZ3SWB.js.map → chunk-DGKGPZET.js.map} +2 -2
- package/dist/chunks/{chunk-LK66YHVL.js → chunk-FVNEGH4J.js} +2 -2
- package/dist/chunks/{chunk-CNCRWY4Q.js → chunk-GS6IWGXQ.js} +9 -1
- package/dist/chunks/chunk-GS6IWGXQ.js.map +7 -0
- package/dist/chunks/{chunk-7QKSPNXQ.js → chunk-V5FB7D4C.js} +3 -3
- package/dist/chunks/{chunk-K3OSK6AX.js → chunk-VDYGBL4Z.js} +10 -10
- package/dist/chunks/chunk-VDYGBL4Z.js.map +7 -0
- package/dist/chunks/chunk-XVA63H6I.js +151 -0
- package/dist/chunks/chunk-XVA63H6I.js.map +7 -0
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/fabric-exec-tool.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +5 -5
- package/dist/host-compatibility.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -11
- package/dist/index.js.map +2 -2
- package/dist/residency/host.js +3 -3
- package/dist/residency/omp-entry.js +3 -3
- package/dist/topology/participant-directory.d.ts.map +1 -1
- package/dist/ui/conversation.js +3 -3
- package/dist/ui/dashboard.js +13 -14
- package/dist/ui/dashboard.js.map +3 -3
- package/dist/ui/fabric-actor-tool-selector.d.ts.map +1 -1
- package/dist/ui/fabric-host-event-selector.d.ts.map +1 -1
- package/dist/ui/fabric-model-selector.d.ts.map +1 -1
- package/dist/ui/settings.d.ts.map +1 -1
- package/dist/ui/settings.js +17 -13
- package/dist/ui/settings.js.map +2 -2
- package/dist/ui/tui/host-term.d.ts +16 -0
- package/dist/ui/tui/host-term.d.ts.map +1 -0
- package/dist/ui/tui/input.d.ts +4 -1
- package/dist/ui/tui/input.d.ts.map +1 -1
- package/dist/ui/tui/select-list.d.ts.map +1 -1
- package/dist/ui/tui/settings-list.d.ts.map +1 -1
- package/dist/ui/tui/view.d.ts.map +1 -1
- package/docs/configuration.md +2 -0
- package/docs/interface.md +13 -0
- package/package.json +6 -5
- package/dist/chunks/chunk-CNCRWY4Q.js.map +0 -7
- package/dist/chunks/chunk-DKXNUCM2.js.map +0 -7
- package/dist/chunks/chunk-K3OSK6AX.js.map +0 -7
- package/dist/chunks/chunk-MIGBZN2K.js.map +0 -7
- package/dist/chunks/chunk-O337ZL5J.js.map +0 -7
- package/dist/chunks/chunk-T76MXSP4.js +0 -32
- package/dist/chunks/chunk-T76MXSP4.js.map +0 -7
- /package/dist/chunks/{chunk-LK66YHVL.js.map → chunk-FVNEGH4J.js.map} +0 -0
- /package/dist/chunks/{chunk-7QKSPNXQ.js.map → chunk-V5FB7D4C.js.map} +0 -0
package/dist/residency/host.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runResidentHostFromConfigPath
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-V5FB7D4C.js";
|
|
5
|
+
import "../chunks/chunk-DGKGPZET.js";
|
|
6
6
|
import "../chunks/chunk-VPPIJRNZ.js";
|
|
7
7
|
import "../chunks/chunk-JZWLICMS.js";
|
|
8
8
|
import "../chunks/chunk-CT2AJ2UI.js";
|
|
9
9
|
import "../chunks/chunk-FA7TNLOV.js";
|
|
10
10
|
import "../chunks/chunk-3LI7YO4M.js";
|
|
11
|
-
import "../chunks/chunk-
|
|
11
|
+
import "../chunks/chunk-GS6IWGXQ.js";
|
|
12
12
|
import "../chunks/chunk-SKYNDRW5.js";
|
|
13
13
|
import "../chunks/chunk-ED3BRM6P.js";
|
|
14
14
|
import "../chunks/chunk-KAD7UWT2.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runResidentHostFromConfigPath
|
|
3
|
-
} from "../chunks/chunk-
|
|
4
|
-
import "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-V5FB7D4C.js";
|
|
4
|
+
import "../chunks/chunk-DGKGPZET.js";
|
|
5
5
|
import "../chunks/chunk-VPPIJRNZ.js";
|
|
6
6
|
import "../chunks/chunk-JZWLICMS.js";
|
|
7
7
|
import "../chunks/chunk-CT2AJ2UI.js";
|
|
8
8
|
import "../chunks/chunk-FA7TNLOV.js";
|
|
9
9
|
import "../chunks/chunk-3LI7YO4M.js";
|
|
10
|
-
import "../chunks/chunk-
|
|
10
|
+
import "../chunks/chunk-GS6IWGXQ.js";
|
|
11
11
|
import "../chunks/chunk-SKYNDRW5.js";
|
|
12
12
|
import "../chunks/chunk-ED3BRM6P.js";
|
|
13
13
|
import "../chunks/chunk-KAD7UWT2.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"participant-directory.d.ts","sourceRoot":"","sources":["../../src/topology/participant-directory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAuB,MAAM,kBAAkB,CAAC;AACrF,OAAO,KAAK,EAEV,qBAAqB,EAErB,4BAA4B,EAC5B,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACf,MAAM,YAAY,CAAC;AAqNpB,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,YAAY,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,yBAAyB,GAAG,MAAM,uBAAuB,EAAE,CAAC;AAkBxE,qBAAa,oBAAqB,YAAW,uBAAuB;;IAgBhE,QAAQ,CAAC,IAAI,EAAE,SAAS;IACxB,QAAQ,CAAC,OAAO,EAAE,2BAA2B;gBADpC,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,2BAA2B;IAM/C,cAAc,CAAC,MAAM,EAAE,yBAAyB,GAAG,MAAM,IAAI;IASvD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAoB5B,eAAe,IAAI,IAAI;IAcjB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"participant-directory.d.ts","sourceRoot":"","sources":["../../src/topology/participant-directory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAuB,MAAM,kBAAkB,CAAC;AACrF,OAAO,KAAK,EAEV,qBAAqB,EAErB,4BAA4B,EAC5B,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACf,MAAM,YAAY,CAAC;AAqNpB,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,YAAY,CAAC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
11
|
asRows
|
|
12
|
-
} from "../chunks/chunk-
|
|
12
|
+
} from "../chunks/chunk-CYNNPPN4.js";
|
|
13
13
|
import {
|
|
14
14
|
isActiveStatus
|
|
15
15
|
} from "../chunks/chunk-QPXSCMTG.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
isKey,
|
|
27
27
|
keyOf
|
|
28
|
-
} from "../chunks/chunk-
|
|
28
|
+
} from "../chunks/chunk-XVA63H6I.js";
|
|
29
29
|
|
|
30
30
|
// src/ui/conversation.ts
|
|
31
31
|
import { getKeybindings as getKeybindings2 } from "@oh-my-pi/pi-coding-agent/config/keybindings/keybindings";
|
package/dist/ui/dashboard.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FabricModelSelector
|
|
3
|
-
} from "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-4PPAWZM6.js";
|
|
4
4
|
import {
|
|
5
5
|
TextField
|
|
6
|
-
} from "../chunks/chunk-
|
|
6
|
+
} from "../chunks/chunk-CHXPTZUF.js";
|
|
7
7
|
import {
|
|
8
8
|
INHERIT_VALUE
|
|
9
9
|
} from "../chunks/chunk-7BOAOKWH.js";
|
|
@@ -38,13 +38,14 @@ import {
|
|
|
38
38
|
SelectList,
|
|
39
39
|
Stack,
|
|
40
40
|
TextBlock
|
|
41
|
-
} from "../chunks/chunk-
|
|
41
|
+
} from "../chunks/chunk-VDYGBL4Z.js";
|
|
42
42
|
import {
|
|
43
43
|
decodeTerminalInput,
|
|
44
44
|
isAction,
|
|
45
45
|
isKey,
|
|
46
|
+
keyMatches,
|
|
46
47
|
keyOf
|
|
47
|
-
} from "../chunks/chunk-
|
|
48
|
+
} from "../chunks/chunk-XVA63H6I.js";
|
|
48
49
|
import {
|
|
49
50
|
FABRIC_ACTOR_HOST_EVENTS
|
|
50
51
|
} from "../chunks/chunk-3LI7YO4M.js";
|
|
@@ -2575,7 +2576,6 @@ var directionalGraphTarget = (positions, currentId, direction) => {
|
|
|
2575
2576
|
};
|
|
2576
2577
|
|
|
2577
2578
|
// src/ui/fabric-host-event-selector.ts
|
|
2578
|
-
import { widgetKeyMatches } from "@oh-my-pi/pi-tui/term/keymap";
|
|
2579
2579
|
var COMMON_HOST_EVENTS = [
|
|
2580
2580
|
"input",
|
|
2581
2581
|
"turn_end",
|
|
@@ -2653,10 +2653,10 @@ var FabricHostEventSelector = class extends Stack {
|
|
|
2653
2653
|
handleInput(keyData) {
|
|
2654
2654
|
const key = keyOf(keyData);
|
|
2655
2655
|
if (!key) return;
|
|
2656
|
-
if (
|
|
2656
|
+
if (keyMatches(key, "select.up")) {
|
|
2657
2657
|
this.selectedIndex = this.selectedIndex === 0 ? HOST_EVENT_ORDER.length - 1 : this.selectedIndex - 1;
|
|
2658
2658
|
this.updateList();
|
|
2659
|
-
} else if (
|
|
2659
|
+
} else if (keyMatches(key, "select.down")) {
|
|
2660
2660
|
this.selectedIndex = this.selectedIndex === HOST_EVENT_ORDER.length - 1 ? 0 : this.selectedIndex + 1;
|
|
2661
2661
|
this.updateList();
|
|
2662
2662
|
} else if (key.id === "space") {
|
|
@@ -2666,9 +2666,9 @@ var FabricHostEventSelector = class extends Stack {
|
|
|
2666
2666
|
else this.enabled.add(event);
|
|
2667
2667
|
this.updateList();
|
|
2668
2668
|
}
|
|
2669
|
-
} else if (
|
|
2669
|
+
} else if (keyMatches(key, "select.confirm")) {
|
|
2670
2670
|
this.onSelectCallback(HOST_EVENT_ORDER.filter((event) => this.enabled.has(event)));
|
|
2671
|
-
} else if (
|
|
2671
|
+
} else if (keyMatches(key, "select.cancel")) {
|
|
2672
2672
|
this.onCancelCallback();
|
|
2673
2673
|
}
|
|
2674
2674
|
}
|
|
@@ -2760,7 +2760,6 @@ var FabricActorDeliverySelector = class extends Stack {
|
|
|
2760
2760
|
};
|
|
2761
2761
|
|
|
2762
2762
|
// src/ui/fabric-actor-tool-selector.ts
|
|
2763
|
-
import { widgetKeyMatches as widgetKeyMatches2 } from "@oh-my-pi/pi-tui/term/keymap";
|
|
2764
2763
|
var ACTOR_TOOL_ORDER = ["read", "grep", "find", "ls", "bash", "edit", "write"];
|
|
2765
2764
|
var TOOL_LABELS = {
|
|
2766
2765
|
read: "read files",
|
|
@@ -2791,9 +2790,9 @@ var FabricActorToolSelector = class {
|
|
|
2791
2790
|
for (const event of decodeTerminalInput(keyData)) {
|
|
2792
2791
|
if (event.type !== "key") continue;
|
|
2793
2792
|
const key = event.key;
|
|
2794
|
-
if (
|
|
2793
|
+
if (keyMatches(key, "select.up")) {
|
|
2795
2794
|
this.selectedIndex = this.selectedIndex === 0 ? ACTOR_TOOL_ORDER.length - 1 : this.selectedIndex - 1;
|
|
2796
|
-
} else if (
|
|
2795
|
+
} else if (keyMatches(key, "select.down")) {
|
|
2797
2796
|
this.selectedIndex = this.selectedIndex === ACTOR_TOOL_ORDER.length - 1 ? 0 : this.selectedIndex + 1;
|
|
2798
2797
|
} else if (key.id === "space") {
|
|
2799
2798
|
const tool = ACTOR_TOOL_ORDER[this.selectedIndex];
|
|
@@ -2801,13 +2800,13 @@ var FabricActorToolSelector = class {
|
|
|
2801
2800
|
if (this.enabled.has(tool)) this.enabled.delete(tool);
|
|
2802
2801
|
else this.enabled.add(tool);
|
|
2803
2802
|
}
|
|
2804
|
-
} else if (
|
|
2803
|
+
} else if (keyMatches(key, "select.confirm")) {
|
|
2805
2804
|
const selected = ACTOR_TOOL_ORDER.filter((tool) => this.enabled.has(tool));
|
|
2806
2805
|
const custom = [...this.enabled].filter(
|
|
2807
2806
|
(tool) => !ACTOR_TOOL_ORDER.includes(tool)
|
|
2808
2807
|
);
|
|
2809
2808
|
this.onSelectCallback([...selected, ...custom]);
|
|
2810
|
-
} else if (
|
|
2809
|
+
} else if (keyMatches(key, "select.cancel")) {
|
|
2811
2810
|
this.onCancelCallback();
|
|
2812
2811
|
}
|
|
2813
2812
|
}
|