@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.
- package/dist/.claude-plugin/marketplace.json +2 -2
- package/dist/index.js +2122 -2343
- package/dist/plugins/evodev/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/evodev/.codex-plugin/plugin.json +1 -1
- package/dist/plugins/evodev/hooks/runtime.ts +7 -1
- package/dist/plugins/evodev/package.json +1 -1
- package/dist/ui/app.js +9 -9
- package/dist/ui/styles.css +2 -1507
- package/package.json +1 -1
|
@@ -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,
|