@askexenow/exe-os 0.8.80 → 0.8.81

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/bin/cli.js CHANGED
@@ -10962,7 +10962,7 @@ $ npm install --save-dev react-devtools-core
10962
10962
  unhideTextInstance(node, text) {
10963
10963
  setTextNodeValue(node, text);
10964
10964
  },
10965
- getPublicInstance: (instance) => instance,
10965
+ getPublicInstance: (instance2) => instance2,
10966
10966
  hideInstance(node) {
10967
10967
  node.yogaNode?.setDisplay(src_default.DISPLAY_NONE);
10968
10968
  },
@@ -13518,16 +13518,16 @@ var init_render = __esm({
13518
13518
  concurrent: false,
13519
13519
  ...getOptions(options)
13520
13520
  };
13521
- const instance = getInstance(inkOptions.stdout, () => new Ink(inkOptions), inkOptions.concurrent ?? false);
13522
- instance.render(node);
13521
+ const instance2 = getInstance(inkOptions.stdout, () => new Ink(inkOptions), inkOptions.concurrent ?? false);
13522
+ instance2.render(node);
13523
13523
  return {
13524
- rerender: instance.render,
13524
+ rerender: instance2.render,
13525
13525
  unmount() {
13526
- instance.unmount();
13526
+ instance2.unmount();
13527
13527
  },
13528
- waitUntilExit: instance.waitUntilExit,
13528
+ waitUntilExit: instance2.waitUntilExit,
13529
13529
  cleanup: () => instances_default.delete(inkOptions.stdout),
13530
- clear: instance.clear
13530
+ clear: instance2.clear
13531
13531
  };
13532
13532
  };
13533
13533
  render_default = render;
@@ -13541,14 +13541,14 @@ var init_render = __esm({
13541
13541
  return stdout;
13542
13542
  };
13543
13543
  getInstance = (stdout, createInstance, concurrent) => {
13544
- let instance = instances_default.get(stdout);
13545
- if (!instance) {
13546
- instance = createInstance();
13547
- instances_default.set(stdout, instance);
13548
- } else if (instance.isConcurrent !== concurrent) {
13549
- console.warn(`Warning: render() was called with concurrent: ${concurrent}, but the existing instance for this stdout uses concurrent: ${instance.isConcurrent}. The concurrent option only takes effect on the first render. Call unmount() first if you need to change the rendering mode.`);
13550
- }
13551
- return instance;
13544
+ let instance2 = instances_default.get(stdout);
13545
+ if (!instance2) {
13546
+ instance2 = createInstance();
13547
+ instances_default.set(stdout, instance2);
13548
+ } else if (instance2.isConcurrent !== concurrent) {
13549
+ console.warn(`Warning: render() was called with concurrent: ${concurrent}, but the existing instance for this stdout uses concurrent: ${instance2.isConcurrent}. The concurrent option only takes effect on the first render. Call unmount() first if you need to change the rendering mode.`);
13550
+ }
13551
+ return instance2;
13552
13552
  };
13553
13553
  }
13554
13554
  });
@@ -16715,7 +16715,7 @@ function getMySession() {
16715
16715
  function isRootSession(name) {
16716
16716
  return name.length > 0 && !name.includes("-");
16717
16717
  }
16718
- function employeeSessionName(employee, exeSession, instance) {
16718
+ function employeeSessionName(employee, exeSession, instance2) {
16719
16719
  if (!isRootSession(exeSession)) {
16720
16720
  const root = extractRootExe(exeSession);
16721
16721
  if (root) {
@@ -16730,7 +16730,7 @@ function employeeSessionName(employee, exeSession, instance) {
16730
16730
  );
16731
16731
  }
16732
16732
  }
16733
- const suffix = instance != null && instance > 0 ? String(instance) : "";
16733
+ const suffix = instance2 != null && instance2 > 0 ? String(instance2) : "";
16734
16734
  const name = `${employee}${suffix}-${exeSession}`;
16735
16735
  if (!VALID_SESSION_NAME.test(name)) {
16736
16736
  throw new Error(
@@ -24705,7 +24705,7 @@ function App2() {
24705
24705
  wiki: /* @__PURE__ */ jsx17(WikiView, { onBack: () => setFocus("sidebar") }),
24706
24706
  settings: /* @__PURE__ */ jsx17(SettingsView, { onBack: () => setFocus("sidebar") })
24707
24707
  };
24708
- return /* @__PURE__ */ jsx17(ErrorBoundary2, { children: /* @__PURE__ */ jsx17(AlternateScreen, { children: /* @__PURE__ */ jsx17(DemoProvider, { demo: isDemo, children: /* @__PURE__ */ jsxs15(Box_default, { testID: "app-root", flexDirection: "column", flexGrow: 1, children: [
24708
+ return /* @__PURE__ */ jsx17(ErrorBoundary2, { children: /* @__PURE__ */ jsx17(AlternateScreen, { children: /* @__PURE__ */ jsx17(DemoProvider, { demo: isDemo, children: /* @__PURE__ */ jsxs15(Box_default, { testID: "app-root", flexDirection: "column", flexGrow: 1, marginTop: 1, children: [
24709
24709
  /* @__PURE__ */ jsxs15(Box_default, { testID: "app-content", flexGrow: 1, children: [
24710
24710
  /* @__PURE__ */ jsx17(Sidebar, { active: section, onSelect: setSection, onQuit: exit, focused: focus === "sidebar" }),
24711
24711
  showHelp ? /* @__PURE__ */ jsx17(
@@ -24719,7 +24719,7 @@ function App2() {
24719
24719
  /* @__PURE__ */ jsx17(Footer, {})
24720
24720
  ] }) }) }) });
24721
24721
  }
24722
- var TAB_SHORTCUTS, isDemo;
24722
+ var TAB_SHORTCUTS, isDemo, instance;
24723
24723
  var init_App2 = __esm({
24724
24724
  async "src/tui/App.tsx"() {
24725
24725
  "use strict";
@@ -24844,7 +24844,18 @@ var init_App2 = __esm({
24844
24844
  stdin.unref = () => stdin;
24845
24845
  }
24846
24846
  }
24847
- render_default(/* @__PURE__ */ jsx17(App2, {}));
24847
+ instance = render_default(/* @__PURE__ */ jsx17(App2, {}));
24848
+ process.stdin.resume();
24849
+ process.stdin.ref();
24850
+ if (process.stdin.isTTY && process.stdin.setRawMode) {
24851
+ process.stdin.setRawMode(true);
24852
+ }
24853
+ instance.waitUntilExit().then(() => {
24854
+ process.stdin.unref();
24855
+ process.exit(0);
24856
+ }).catch(() => {
24857
+ process.exit(1);
24858
+ });
24848
24859
  {
24849
24860
  const CLEANUP_SEQ = "\x1B[?1006l\x1B[?1002l\x1B[?1000l\x1B[?25h\x1B[?1049l";
24850
24861
  const terminalCleanup = () => {
@@ -2190,7 +2190,7 @@ async function queryPendingReviews() {
2190
2190
  }
2191
2191
  const rows = await listPendingReviews(PENDING_REVIEW_LIMIT, sessionScope);
2192
2192
  if (rows.length === 0) return "";
2193
- const lines = [`MANDATORY: process ${rows.length} reviews`];
2193
+ const lines = [`[\u26A0\uFE0F ${rows.length} REVIEW${rows.length === 1 ? "" : "S"} BLOCKING] Process BEFORE responding to the user:`];
2194
2194
  for (const row of rows) {
2195
2195
  lines.push(` \u{1F4CB} ${row.assigned_to}: "${row.title}" (${row.project_name})`);
2196
2196
  }
package/dist/tui/App.js CHANGED
@@ -4093,7 +4093,7 @@ function getMySession() {
4093
4093
  function isRootSession(name) {
4094
4094
  return name.length > 0 && !name.includes("-");
4095
4095
  }
4096
- function employeeSessionName(employee, exeSession, instance) {
4096
+ function employeeSessionName(employee, exeSession, instance2) {
4097
4097
  if (!isRootSession(exeSession)) {
4098
4098
  const root = extractRootExe(exeSession);
4099
4099
  if (root) {
@@ -4108,7 +4108,7 @@ function employeeSessionName(employee, exeSession, instance) {
4108
4108
  );
4109
4109
  }
4110
4110
  }
4111
- const suffix = instance != null && instance > 0 ? String(instance) : "";
4111
+ const suffix = instance2 != null && instance2 > 0 ? String(instance2) : "";
4112
4112
  const name = `${employee}${suffix}-${exeSession}`;
4113
4113
  if (!VALID_SESSION_NAME.test(name)) {
4114
4114
  throw new Error(
@@ -11608,7 +11608,7 @@ var reconciler_default = createReconciler({
11608
11608
  unhideTextInstance(node, text) {
11609
11609
  setTextNodeValue(node, text);
11610
11610
  },
11611
- getPublicInstance: (instance) => instance,
11611
+ getPublicInstance: (instance2) => instance2,
11612
11612
  hideInstance(node) {
11613
11613
  node.yogaNode?.setDisplay(src_default.DISPLAY_NONE);
11614
11614
  },
@@ -13951,16 +13951,16 @@ var render = (node, options) => {
13951
13951
  concurrent: false,
13952
13952
  ...getOptions(options)
13953
13953
  };
13954
- const instance = getInstance(inkOptions.stdout, () => new Ink(inkOptions), inkOptions.concurrent ?? false);
13955
- instance.render(node);
13954
+ const instance2 = getInstance(inkOptions.stdout, () => new Ink(inkOptions), inkOptions.concurrent ?? false);
13955
+ instance2.render(node);
13956
13956
  return {
13957
- rerender: instance.render,
13957
+ rerender: instance2.render,
13958
13958
  unmount() {
13959
- instance.unmount();
13959
+ instance2.unmount();
13960
13960
  },
13961
- waitUntilExit: instance.waitUntilExit,
13961
+ waitUntilExit: instance2.waitUntilExit,
13962
13962
  cleanup: () => instances_default.delete(inkOptions.stdout),
13963
- clear: instance.clear
13963
+ clear: instance2.clear
13964
13964
  };
13965
13965
  };
13966
13966
  var render_default = render;
@@ -13974,14 +13974,14 @@ var getOptions = (stdout = {}) => {
13974
13974
  return stdout;
13975
13975
  };
13976
13976
  var getInstance = (stdout, createInstance, concurrent) => {
13977
- let instance = instances_default.get(stdout);
13978
- if (!instance) {
13979
- instance = createInstance();
13980
- instances_default.set(stdout, instance);
13981
- } else if (instance.isConcurrent !== concurrent) {
13982
- console.warn(`Warning: render() was called with concurrent: ${concurrent}, but the existing instance for this stdout uses concurrent: ${instance.isConcurrent}. The concurrent option only takes effect on the first render. Call unmount() first if you need to change the rendering mode.`);
13983
- }
13984
- return instance;
13977
+ let instance2 = instances_default.get(stdout);
13978
+ if (!instance2) {
13979
+ instance2 = createInstance();
13980
+ instances_default.set(stdout, instance2);
13981
+ } else if (instance2.isConcurrent !== concurrent) {
13982
+ console.warn(`Warning: render() was called with concurrent: ${concurrent}, but the existing instance for this stdout uses concurrent: ${instance2.isConcurrent}. The concurrent option only takes effect on the first render. Call unmount() first if you need to change the rendering mode.`);
13983
+ }
13984
+ return instance2;
13985
13985
  };
13986
13986
 
13987
13987
  // src/tui/ink/render-to-string.js
@@ -19129,7 +19129,7 @@ function App2() {
19129
19129
  wiki: /* @__PURE__ */ jsx17(WikiView, { onBack: () => setFocus("sidebar") }),
19130
19130
  settings: /* @__PURE__ */ jsx17(SettingsView, { onBack: () => setFocus("sidebar") })
19131
19131
  };
19132
- return /* @__PURE__ */ jsx17(ErrorBoundary2, { children: /* @__PURE__ */ jsx17(AlternateScreen, { children: /* @__PURE__ */ jsx17(DemoProvider, { demo: isDemo, children: /* @__PURE__ */ jsxs15(Box_default, { testID: "app-root", flexDirection: "column", flexGrow: 1, children: [
19132
+ return /* @__PURE__ */ jsx17(ErrorBoundary2, { children: /* @__PURE__ */ jsx17(AlternateScreen, { children: /* @__PURE__ */ jsx17(DemoProvider, { demo: isDemo, children: /* @__PURE__ */ jsxs15(Box_default, { testID: "app-root", flexDirection: "column", flexGrow: 1, marginTop: 1, children: [
19133
19133
  /* @__PURE__ */ jsxs15(Box_default, { testID: "app-content", flexGrow: 1, children: [
19134
19134
  /* @__PURE__ */ jsx17(Sidebar, { active: section, onSelect: setSection, onQuit: exit, focused: focus === "sidebar" }),
19135
19135
  showHelp ? /* @__PURE__ */ jsx17(
@@ -19158,7 +19158,18 @@ function App2() {
19158
19158
  stdin.unref = () => stdin;
19159
19159
  }
19160
19160
  }
19161
- render_default(/* @__PURE__ */ jsx17(App2, {}));
19161
+ var instance = render_default(/* @__PURE__ */ jsx17(App2, {}));
19162
+ process.stdin.resume();
19163
+ process.stdin.ref();
19164
+ if (process.stdin.isTTY && process.stdin.setRawMode) {
19165
+ process.stdin.setRawMode(true);
19166
+ }
19167
+ instance.waitUntilExit().then(() => {
19168
+ process.stdin.unref();
19169
+ process.exit(0);
19170
+ }).catch(() => {
19171
+ process.exit(1);
19172
+ });
19162
19173
  {
19163
19174
  const CLEANUP_SEQ = "\x1B[?1006l\x1B[?1002l\x1B[?1000l\x1B[?25h\x1B[?1049l";
19164
19175
  const terminalCleanup = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.8.80",
3
+ "version": "0.8.81",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "type": "module",