@joe-broadhead/opencode-linear 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 +6 -0
- package/dist/index.js +5 -3
- package/package.json +1 -1
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
|
### Changed
|
package/dist/index.js
CHANGED
|
@@ -540,8 +540,10 @@ function watchIntegration(ctx, owned) {
|
|
|
540
540
|
}
|
|
541
541
|
const connection2 = await ctx.integration.connection.active(id);
|
|
542
542
|
if (connection2?.type !== "credential") return;
|
|
543
|
-
const
|
|
544
|
-
|
|
543
|
+
const shown = (await ctx.integration.get({ integrationID: id })).data.connections?.find((item) => item.type === "credential" && item.id === connection2.id);
|
|
544
|
+
const status = shown?.type === "credential" ? shown.status : void 0;
|
|
545
|
+
const reported = status?.message === SIGN_IN_AGAIN;
|
|
546
|
+
if (server.status.status === "needs_auth" && !status) {
|
|
545
547
|
await ctx.integration.connection.status({ integrationID: id, connection: connection2, status: { status: "needs_auth", message: SIGN_IN_AGAIN } });
|
|
546
548
|
} else if (server.status.status === "connected" && reported) {
|
|
547
549
|
await ctx.integration.connection.status({ integrationID: id, connection: connection2, status: void 0 });
|
|
@@ -791,7 +793,7 @@ function registerSkills(skill, skills) {
|
|
|
791
793
|
}
|
|
792
794
|
|
|
793
795
|
// src/version.ts
|
|
794
|
-
var VERSION = "0.0.
|
|
796
|
+
var VERSION = "0.0.7";
|
|
795
797
|
|
|
796
798
|
// src/status.ts
|
|
797
799
|
var SIGN_IN = `Run /connect and choose Linear, then press o or Enter to open the link (in a terminal, opencode mcp auth ${SERVER_NAME} opens it automatically).`;
|
package/package.json
CHANGED