@ouro.bot/cli 0.1.0-alpha.642 → 0.1.0-alpha.643

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,12 @@
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.643",
6
+ "changes": [
7
+ "Dependency audit hardening: refresh the Teams SDK family and vulnerable transitive packages, force Teams' stale msal-node edge onto the safe 5.2.x line, update Teams invoke handlers for the newer SDK route-handler return contract, and add a root npm audit gate to release preflight."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.642",
6
12
  "changes": [
@@ -946,7 +946,7 @@ function registerBotHandlers(app, label) {
946
946
  const turnKey = teamsTurnKey(convId);
947
947
  // Validate payload — graceful no-op for malformed invocations
948
948
  if (activity.value?.actionName !== "feedback" || !reaction) {
949
- return;
949
+ return undefined;
950
950
  }
951
951
  const syntheticText = buildFeedbackSyntheticText(reaction, comment);
952
952
  // Turn coordination: if a turn is active, enqueue as steering follow-up
@@ -957,7 +957,7 @@ function registerBotHandlers(app, label) {
957
957
  receivedAt: Date.now(),
958
958
  effect: (0, continuity_1.classifySteeringFollowUpEffect)(syntheticText),
959
959
  });
960
- return;
960
+ return undefined;
961
961
  }
962
962
  try {
963
963
  const teamsContext = {
@@ -978,6 +978,7 @@ function registerBotHandlers(app, label) {
978
978
  finally {
979
979
  _turnCoordinator.endTurn(turnKey);
980
980
  }
981
+ return undefined;
981
982
  });
982
983
  /* v8 ignore stop */
983
984
  // Handle bot install — send welcome Adaptive Card with prompt starters.
@@ -999,6 +1000,7 @@ function registerBotHandlers(app, label) {
999
1000
  const msg = err instanceof Error ? err.message : String(err);
1000
1001
  (0, runtime_1.emitNervesEvent)({ level: "error", event: "channel.welcome_handler_error", component: "channels", message: msg.slice(0, 200), meta: {} });
1001
1002
  }
1003
+ return undefined;
1002
1004
  });
1003
1005
  /* v8 ignore stop */
1004
1006
  app.on("message", async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.642",
3
+ "version": "0.1.0-alpha.643",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",
@@ -52,12 +52,12 @@
52
52
  "@anthropic-ai/sdk": "^0.78.0",
53
53
  "@azure/identity": "^4.13.0",
54
54
  "@azure/storage-blob": "^12.31.0",
55
- "@microsoft/teams.api": "2.0.5",
56
- "@microsoft/teams.apps": "^2.0.5",
57
- "@microsoft/teams.cards": "2.0.5",
58
- "@microsoft/teams.common": "2.0.5",
59
- "@microsoft/teams.dev": "^2.0.5",
60
- "@microsoft/teams.graph": "2.0.5",
55
+ "@microsoft/teams.api": "2.0.11",
56
+ "@microsoft/teams.apps": "2.0.11",
57
+ "@microsoft/teams.cards": "2.0.11",
58
+ "@microsoft/teams.common": "2.0.11",
59
+ "@microsoft/teams.dev": "2.0.11",
60
+ "@microsoft/teams.graph": "2.0.11",
61
61
  "@types/react": "^17.0.91",
62
62
  "@types/ws": "^8.18.1",
63
63
  "fast-glob": "^3.3.3",
@@ -87,6 +87,9 @@
87
87
  "vitest": "^4.0.18"
88
88
  },
89
89
  "overrides": {
90
+ "@microsoft/teams.apps": {
91
+ "@azure/msal-node": "^5.2.2"
92
+ },
90
93
  "@testing-library/react": {
91
94
  "react": "$react",
92
95
  "@types/react": "$@types/react"