@joe-broadhead/opencode-granola 0.0.6 → 0.0.7

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.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## [0.0.7] - 2026-11-06
6
+
7
+ ### Fixed
8
+
9
+ - `/connect` now clears the "Sign in required" mark on the account after you sign in again.
10
+
5
11
  ## [0.0.6] - 2026-11-05
6
12
 
7
13
  ### Fixed
package/dist/index.js CHANGED
@@ -1838,10 +1838,12 @@ async function registerIntegration(ctx, conflict) {
1838
1838
  if (id !== attached || (await ctx.integration.get({ integrationID: id })).data.name !== DISPLAY_NAME) await attach(id);
1839
1839
  const connection2 = await ctx.integration.connection.active(id);
1840
1840
  if (connection2?.type !== "credential") return;
1841
+ const shown = (await ctx.integration.get({ integrationID: id })).data.connections?.find((item2) => item2.type === "credential" && item2.id === connection2.id);
1842
+ const status = shown?.type === "credential" ? shown.status : void 0;
1841
1843
  const state = server.status.status;
1842
- if (state === "needs_auth" && connection2.status?.status !== "needs_auth") {
1844
+ if (state === "needs_auth" && status?.status !== "needs_auth") {
1843
1845
  await ctx.integration.connection.status({ integrationID: id, connection: connection2, status: { status: "needs_auth", message: SIGN_IN_MESSAGE } });
1844
- } else if (state === "connected" && connection2.status) {
1846
+ } else if (state === "connected" && status?.message === SIGN_IN_MESSAGE) {
1845
1847
  await ctx.integration.connection.status({ integrationID: id, connection: connection2, status: void 0 });
1846
1848
  }
1847
1849
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joe-broadhead/opencode-granola",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Unofficial OpenCode plugin for Granola meeting notes, through Granola's official MCP server",
5
5
  "keywords": [
6
6
  "opencode",