@stackmemoryai/stackmemory 1.5.1 → 1.5.2

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.
@@ -105,6 +105,21 @@ class Conductor {
105
105
  mkdirSync(this.config.workspaceRoot, { recursive: true });
106
106
  }
107
107
  this.client = await this.createLinearClient();
108
+ if (!this.config.teamId && this.client) {
109
+ try {
110
+ const team = await this.client.getTeam();
111
+ this.config.teamId = team.id;
112
+ logger.info("Auto-detected Linear team", {
113
+ id: team.id,
114
+ name: team.name,
115
+ key: team.key
116
+ });
117
+ } catch (err) {
118
+ logger.warn("Failed to auto-detect team", {
119
+ error: err.message
120
+ });
121
+ }
122
+ }
108
123
  await this.cacheWorkflowStates();
109
124
  logger.info("Orchestrator started", {
110
125
  activeStates: this.config.activeStates,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackmemoryai/stackmemory",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Project-scoped memory for AI coding tools. Durable context across sessions with 56 MCP tools, FTS5 search, Claude/Codex/OpenCode wrappers, Linear sync, automatic hooks, and log analysis.",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",