@evo-dev/evodev 0.0.1-alpha.5 → 0.0.1-alpha.6

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "evodev",
3
3
  "description": "EvoDev hook, skill, and Teams MCP integration for disciplined AI coding workflows.",
4
- "version": "0.0.1-alpha.5",
4
+ "version": "0.0.1-alpha.6",
5
5
  "author": {
6
6
  "name": "EvoDev"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evodev",
3
- "version": "0.0.1-alpha.5",
3
+ "version": "0.0.1-alpha.6",
4
4
  "description": "EvoDev hook, skill, and Teams MCP integration for disciplined AI coding workflows.",
5
5
  "author": {
6
6
  "name": "EvoDev"
@@ -184,6 +184,12 @@ async function appendExecutionEventSafely(input: {
184
184
  environment: input.environment,
185
185
  payload: input.payload,
186
186
  });
187
+ const cwd =
188
+ input.payload !== null && typeof input.payload.cwd === "string" ? input.payload.cwd : null;
189
+ const workspace =
190
+ team === null && cwd !== null
191
+ ? await input.core.resolveProjectWorkspaceFromCwd({ homeDir: input.homeDir, cwd })
192
+ : null;
187
193
  const traceRefId = await recordTraceRefSafely(input);
188
194
  await input.core.appendEvoDevExecutionEvent(
189
195
  input.homeDir,
@@ -192,7 +198,7 @@ async function appendExecutionEventSafely(input: {
192
198
  target: input.target,
193
199
  eventType: input.event?.type ?? runtimePhaseEventType(input.phase),
194
200
  sessionKey,
195
- projectKey: team?.projectKey ?? null,
201
+ projectKey: team?.projectKey ?? workspace?.projectKey ?? null,
196
202
  runId: team?.runId ?? null,
197
203
  roleId: team?.roleId ?? null,
198
204
  taskId: input.event?.scope.taskId ?? null,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evo-dev/plugin",
3
- "version": "0.0.1-alpha.5",
3
+ "version": "0.0.1-alpha.6",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./hooks/index.ts"