psyche-ai 4.0.0 → 5.0.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.
package/dist/types.js CHANGED
@@ -96,6 +96,19 @@ export const DEFAULT_METACOGNITIVE_STATE = {
96
96
  avgEmotionalConfidence: 0.5,
97
97
  totalAssessments: 0,
98
98
  };
99
+ // ── Personhood Types (v6) ────────────────────────────────────
100
+ /** Max causal insights to persist */
101
+ export const MAX_CAUSAL_INSIGHTS = 20;
102
+ /** Max ethical concern history entries */
103
+ export const MAX_ETHICAL_HISTORY = 15;
104
+ /** Default empty personhood state */
105
+ export const DEFAULT_PERSONHOOD_STATE = {
106
+ causalInsights: [],
107
+ growthDirection: "stable",
108
+ identityNarrative: "",
109
+ ethicalConcernHistory: [],
110
+ theoryOfMind: {},
111
+ };
99
112
  /** Default relationship for new users */
100
113
  export const DEFAULT_RELATIONSHIP = {
101
114
  trust: 50,
package/dist/update.js CHANGED
@@ -11,7 +11,7 @@ import { execFile } from "node:child_process";
11
11
  import { promisify } from "node:util";
12
12
  const execFileAsync = promisify(execFile);
13
13
  const PACKAGE_NAME = "psyche-ai";
14
- const CURRENT_VERSION = "4.0.0";
14
+ const CURRENT_VERSION = "5.0.0";
15
15
  const CHECK_INTERVAL_MS = 60 * 60 * 1000; // 1 hour
16
16
  const CACHE_DIR = join(homedir(), ".psyche-ai");
17
17
  const CACHE_FILE = join(CACHE_DIR, "update-check.json");
@@ -2,7 +2,7 @@
2
2
  "id": "psyche-ai",
3
3
  "name": "Artificial Psyche",
4
4
  "description": "Virtual endocrine system, empathy engine, and agency for OpenClaw agents",
5
- "version": "4.0.0",
5
+ "version": "5.0.0",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "psyche-ai",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "Artificial Psyche — universal emotional intelligence plugin for any AI agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",