terminalhire 0.10.5 → 0.10.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/bin/jpi.js +3 -2
- package/package.json +1 -1
package/dist/bin/jpi.js
CHANGED
|
@@ -180,8 +180,9 @@ try {
|
|
|
180
180
|
const unreadChatCount = getCachedUnreadChatCount();
|
|
181
181
|
const haveRoles = matchCount !== null && matchCount > 0;
|
|
182
182
|
if (!haveRoles && incomingCount === 0 && unreadChatCount === 0) process.exit(0);
|
|
183
|
+
const hasConnectionSignal = incomingCount > 0 || unreadChatCount > 0;
|
|
183
184
|
const nudgeMode = getNudgeMode();
|
|
184
|
-
if (!shouldNudge(nudgeMode, sessionId)) process.exit(0);
|
|
185
|
+
if (!hasConnectionSignal && !shouldNudge(nudgeMode, sessionId)) process.exit(0);
|
|
185
186
|
let line;
|
|
186
187
|
if (haveRoles) {
|
|
187
188
|
const plural = matchCount === 1 ? "role" : "roles";
|
|
@@ -195,7 +196,7 @@ try {
|
|
|
195
196
|
line = `\u{1F4AC} ${unreadChatCount} unread \u2014 run: terminalhire chat`;
|
|
196
197
|
}
|
|
197
198
|
process.stdout.write(line + "\n");
|
|
198
|
-
if (nudgeMode === "session") {
|
|
199
|
+
if (haveRoles && nudgeMode === "session") {
|
|
199
200
|
markNudged(sessionId);
|
|
200
201
|
}
|
|
201
202
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "terminalhire",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.6",
|
|
4
4
|
"description": "Local-first job matching for developers — ambient job matches in the Claude Code spinner. Matching runs on your machine; your profile never leaves it.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|