@retaw106/mmc-pi 2.1.1 → 2.2.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.
@@ -24,7 +24,7 @@ import {
24
24
  getRawSessionTagKeysThrough2,
25
25
  getLegacyProtectedTailStartOrdinal2,
26
26
  readSessionChunk2
27
- } from "./index-4n1w7ehq.js";
27
+ } from "./index-j0jjtcwm.js";
28
28
  import"./index-ny303arh.js";
29
29
  import"./index-54cgx9gm.js";
30
30
  export {
package/dist/web/main.js CHANGED
@@ -1086,7 +1086,7 @@ init_logger();
1086
1086
  init_logger();
1087
1087
 
1088
1088
  // ../plugin/src/shared/pi-executable.ts
1089
- var PI_IMAGE_NAMES = new Set(["pi", "pi.cmd"]);
1089
+ var PI_IMAGE_NAMES = new Set(["pi", "pi.cmd", "omp", "oh-my-pi"]);
1090
1090
 
1091
1091
  // ../plugin/src/shared/rpc-utils.ts
1092
1092
  var ownRpcServerInstanceIds = new Set;
@@ -4781,6 +4781,11 @@ var MEMORY_MAINTAINER_MANIFEST_CONTRACT = [
4781
4781
  // ../plugin/src/v2/hooks/hidden-child.ts
4782
4782
  init_tag_content_primitives();
4783
4783
  init_logger();
4784
+
4785
+ // ../plugin/src/shared/subagent-runner.ts
4786
+ var HISTORIAN_STEP_CAP = 4;
4787
+
4788
+ // ../plugin/src/v2/hooks/hidden-child.ts
4784
4789
  var HIDDEN_HISTORIAN_AGENT = "historian";
4785
4790
  var AGENT_TOOL_ALLOWLIST = {
4786
4791
  [HIDDEN_HISTORIAN_AGENT]: [],
@@ -4788,7 +4793,8 @@ var AGENT_TOOL_ALLOWLIST = {
4788
4793
  [MEMORY_MAINTAINER_B_AGENT]: MEMORY_MAINTAINER_B_ALLOWED_TOOLS
4789
4794
  };
4790
4795
  var AGENT_STEP_CAPS = {
4791
- [MEMORY_MAINTAINER_A_AGENT]: MEMORY_MAINTAINER_A_STEP_CAP
4796
+ [MEMORY_MAINTAINER_A_AGENT]: MEMORY_MAINTAINER_A_STEP_CAP,
4797
+ [HIDDEN_HISTORIAN_AGENT]: HISTORIAN_STEP_CAP
4792
4798
  };
4793
4799
 
4794
4800
  // ../plugin/src/v2/hidden-child-record.ts
@@ -5055,7 +5061,7 @@ function projectRawMessages(rows, ordinalFor) {
5055
5061
  `) ?? ""
5056
5062
  }
5057
5063
  };
5058
- }) : [{ type: "text", text: row.data.text ?? "" }]
5064
+ }) : row.type === "user" ? restoreRow(row, NO_MODEL)[0]?.content ?? [] : [{ type: "text", text: row.data.text ?? "" }]
5059
5065
  };
5060
5066
  Object.defineProperty(message, "storeType", { value: row.type, enumerable: false });
5061
5067
  if (!hostServesRowById(row))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retaw106/mmc-pi",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "description": "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
6
6
  "main": "dist/index.js",