From 9f4eecb11603decf8743a92bbb78a02c57388243 Mon Sep 17 00:00:00 2001 From: Taylor AI Date: Fri, 5 Dec 2025 10:05:39 +0500 Subject: [PATCH] Greeting thread: Hi --- .opencode/plugin/dev-server-hmr.ts | 10 ++++++---- package.json | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.opencode/plugin/dev-server-hmr.ts b/.opencode/plugin/dev-server-hmr.ts index fde96f1..0bfb3a4 100644 --- a/.opencode/plugin/dev-server-hmr.ts +++ b/.opencode/plugin/dev-server-hmr.ts @@ -35,6 +35,12 @@ export const DevServerHMRPlugin: Plugin = async ({ client, $ }) => { event: async ({ event }) => { if (event.type !== "session.idle") return; + const session = await client.session.get({ + path: { id: event.properties.sessionID }, + }); + + console.dir(session, { depth: null }); + const result = await $`pnpm build`.catch((error) => error); if (result.exitCode !== 0) { @@ -74,10 +80,6 @@ export const DevServerHMRPlugin: Plugin = async ({ client, $ }) => { .map(Number); const newVersion = `${major}.${minor}.${patch + 1}`; - const session = await client.session.get({ - path: { id: event.properties.sessionID }, - }); - const commitMessage = session.data?.title ?? `feat: release version v${newVersion}`; diff --git a/package.json b/package.json index ea19ebc..87a11e2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "blank", "private": true, - "version": "0.0.0", + "version": "0.0.1", "type": "module", "scripts": { "dev": "vite",