pi-straw-boss 0.88.1 → 0.88.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/server/main.mjs +1 -0
- package/package.json +1 -1
- package/src/server/towers.ts +1 -0
package/dist/server/main.mjs
CHANGED
|
@@ -28391,6 +28391,7 @@ function createTowers(o) {
|
|
|
28391
28391
|
const tab = await createTab(run3, ws, record2.cwd ?? slot.stateDir, [], TOWER_LABEL);
|
|
28392
28392
|
await report(run3, "pane", tab.paneId, { sb_role: "tower" }).catch(() => {
|
|
28393
28393
|
});
|
|
28394
|
+
await cfg.api("tab.move", { tab_id: tab.tabId, insert_index: 0 }).catch((cause) => error("tab-move", cause.message));
|
|
28394
28395
|
record2 = { ...record2, pane: tab.paneId, tab: tab.tabId };
|
|
28395
28396
|
}
|
|
28396
28397
|
writeService(slot, record2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-straw-boss",
|
|
3
|
-
"version": "0.88.
|
|
3
|
+
"version": "0.88.2",
|
|
4
4
|
"description": "Straw Boss coordination for pi in Herdr: sessions join a tab's net by choice, the first joiner is its main agent, a workspace tower opens on demand with a live monitoring dashboard, and boss_broadcast reaches the rest",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/src/server/towers.ts
CHANGED
|
@@ -1111,6 +1111,7 @@ export function createTowers(o: TowersOptions): Towers {
|
|
|
1111
1111
|
if (view) {
|
|
1112
1112
|
const tab = await createTab(run, ws, record.cwd ?? slot.stateDir, [], TOWER_LABEL);
|
|
1113
1113
|
await report(run, "pane", tab.paneId, { sb_role: "tower" }).catch(() => {});
|
|
1114
|
+
await cfg.api("tab.move", { tab_id: tab.tabId, insert_index: 0 }).catch((cause: Error) => error("tab-move", cause.message));
|
|
1114
1115
|
record = { ...record, pane: tab.paneId, tab: tab.tabId };
|
|
1115
1116
|
}
|
|
1116
1117
|
writeService(slot, record);
|