@ouro.bot/cli 0.1.0-alpha.224 → 0.1.0-alpha.226

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/changelog.json CHANGED
@@ -1,6 +1,16 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.226",
6
+ "changes": [
7
+ "fix(daemon): set agent name before senseTurn so MCP messages resolve identity — setAgentName() is now called at the top of the senseTurn handler, before any downstream code that depends on agent identity (loadAgentConfig, getAgentSecretsPath, etc.)"
8
+ ]
9
+ },
10
+ {
11
+ "version": "0.1.0-alpha.225",
12
+ "changes": ["debug: emit event at top of FileFriendStore.get() to verify it's called"]
13
+ },
4
14
  {
5
15
  "version": "0.1.0-alpha.224",
6
16
  "changes": [
@@ -185,6 +185,8 @@ function parseIncomingCommand(raw) {
185
185
  */
186
186
  async function handleAgentSenseTurn(command) {
187
187
  try {
188
+ const { setAgentName } = await Promise.resolve().then(() => __importStar(require("../identity")));
189
+ setAgentName(command.agent);
188
190
  const { runSenseTurn } = await Promise.resolve().then(() => __importStar(require("../../senses/shared-turn")));
189
191
  const result = await runSenseTurn({
190
192
  agentName: command.agent,
@@ -55,6 +55,9 @@ class FileFriendStore {
55
55
  });
56
56
  }
57
57
  async get(id) {
58
+ /* v8 ignore start -- temporary debug @preserve */
59
+ (0, runtime_1.emitNervesEvent)({ component: "friends", event: "friends.get_called", message: `store.get called`, meta: { id, friendsPath: this.friendsPath } });
60
+ /* v8 ignore stop */
58
61
  // Direct UUID lookup
59
62
  const record = await this.readJson(path.join(this.friendsPath, `${id}.json`));
60
63
  if (record)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.224",
3
+ "version": "0.1.0-alpha.226",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",