paracosm 0.4.229 → 0.4.232

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.
@@ -5,9 +5,15 @@
5
5
  * Thresholds 0.7 / 0.3 match the poles used in commander and dept-head
6
6
  * prompts so all trait-driven voice is uniform across the system.
7
7
  *
8
- * Output is capped at 3 cues (selection: first-hit across trait order)
9
- * to keep per-agent batch blocks small. Reactions batch at 10 agents/call
10
- * so every 10 extra tokens per agent compounds.
8
+ * Output covers up to all six axes' polarized poles (max 6 cues, matching
9
+ * the number of HEXACO traits). Previously capped at 3, which dropped
10
+ * half of a heavily-polarized agent's trait voice. The per-batch cost
11
+ * delta at 6 vs 3 is ~180 tokens/call × ~60 calls per run on haiku ≈
12
+ * $0.02 per run — negligible against the quality win of preserving full
13
+ * trait expression on reactions.
14
+ *
15
+ * Selection order matches the axis iteration below, so recurring trait
16
+ * combinations produce consistent phrasing order across agents.
11
17
  *
12
18
  * @module paracosm/runtime/hexaco-cues/translation
13
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../src/runtime/hexaco-cues/translation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,aAAa,GAAG,MAAM,CAuB1D"}
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../src/runtime/hexaco-cues/translation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,aAAa,GAAG,MAAM,CAuB1D"}
@@ -1,4 +1,4 @@
1
- const MAX_CUES = 3;
1
+ const MAX_CUES = 6;
2
2
  /**
3
3
  * Turn a HEXACO profile into a concise cue string like
4
4
  * "Your inner voice: you feel events in your body before words; you look for
@@ -1 +1 @@
1
- {"version":3,"file":"translation.js","sourceRoot":"","sources":["../../../../src/runtime/hexaco-cues/translation.ts"],"names":[],"mappings":"AAeA,MAAM,QAAQ,GAAG,CAAC,CAAC;AAEnB;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,CAAgB;IAChD,MAAM,IAAI,GAAa,EAAE,CAAC;IAE1B,IAAI,CAAC,CAAC,YAAY,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;IACjF,IAAI,CAAC,CAAC,YAAY,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IAEvE,IAAI,CAAC,CAAC,QAAQ,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAC;IAChF,IAAI,CAAC,CAAC,QAAQ,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IAEhE,IAAI,CAAC,CAAC,eAAe,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;IACxE,IAAI,CAAC,CAAC,eAAe,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;IAEtF,IAAI,CAAC,CAAC,iBAAiB,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IAC5E,IAAI,CAAC,CAAC,iBAAiB,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;IAEjF,IAAI,CAAC,CAAC,YAAY,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;IACnF,IAAI,CAAC,CAAC,YAAY,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,yCAAyC,CAAC,CA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,iCAAiC,CAAC,CAAC;IAC5E,IAAI,CAAC,CAAC,iBAAiB,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;IAEjF,IAAI,CAAC,CAAC,YAAY,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;IACnF,IAAI,CAAC,CAAC,YAAY,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,yCAAyC,CAAC,CAAC;IAE/E,IAAI,CAAC,CAAC,aAAa,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,kDAAkD,CAAC,CAAC;IACzF,IAAI,CAAC,CAAC,aAAa,GAAG,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;IAElF,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACjC,OAAO,qBAAqB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;AACpE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paracosm",
3
- "version": "0.4.229",
3
+ "version": "0.4.232",
4
4
  "description": "AI agent swarm simulation engine with emergent crises, runtime tool forging, HEXACO personality drift, and deterministic kernels. Built on AgentOS.",
5
5
  "type": "module",
6
6
  "main": "dist/engine/index.js",