terminalhire 0.42.19 → 0.42.21
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/claim-push-bg.js +1 -1
- package/dist/bin/jpi-chat-read.js +1 -1
- package/dist/bin/jpi-chat.js +1 -1
- package/dist/bin/jpi-claim.js +974 -139
- package/dist/bin/jpi-contribute.js +6 -1
- package/dist/bin/jpi-dispatch.js +1144 -186
- package/dist/bin/jpi-hub.js +1 -1
- package/dist/bin/jpi-inbox.js +1 -1
- package/dist/bin/jpi-login.js +10 -5
- package/dist/bin/jpi-mcp-chat.js +1 -1
- package/dist/bin/jpi-mcp.js +983 -148
- package/dist/bin/jpi-refresh.js +1 -1
- package/dist/bin/jpi-run.js +1227 -218
- package/dist/src/chat-client.js +1 -1
- package/dist/src/chat-keystore.js +1 -1
- package/dist/src/github-auth.js +6 -1
- package/package.json +1 -1
|
@@ -3276,6 +3276,7 @@ __export(github_auth_exports, {
|
|
|
3276
3276
|
decrypt: () => decrypt2,
|
|
3277
3277
|
deleteGitHubToken: () => deleteGitHubToken,
|
|
3278
3278
|
encrypt: () => encrypt2,
|
|
3279
|
+
githubTokenDisplayPath: () => githubTokenDisplayPath,
|
|
3279
3280
|
hasGitHubToken: () => hasGitHubToken,
|
|
3280
3281
|
loadKey: () => loadKey,
|
|
3281
3282
|
readGitHubToken: () => readGitHubToken,
|
|
@@ -3286,8 +3287,12 @@ __export(github_auth_exports, {
|
|
|
3286
3287
|
});
|
|
3287
3288
|
import { createCipheriv as createCipheriv2, createDecipheriv as createDecipheriv2, randomBytes as randomBytes4 } from "crypto";
|
|
3288
3289
|
import { readFileSync as readFileSync7, writeFileSync as writeFileSync6, existsSync as existsSync6, rmSync as rmSync3, renameSync as renameSync3 } from "fs";
|
|
3289
|
-
import { join as join10 } from "path";
|
|
3290
|
+
import { join as join10, sep } from "path";
|
|
3290
3291
|
import { homedir as homedir7 } from "os";
|
|
3292
|
+
function githubTokenDisplayPath() {
|
|
3293
|
+
const home = homedir7();
|
|
3294
|
+
return TOKEN_FILE.startsWith(home + sep) ? `~${TOKEN_FILE.slice(home.length)}` : TOKEN_FILE;
|
|
3295
|
+
}
|
|
3291
3296
|
async function loadKey() {
|
|
3292
3297
|
return loadOrCreateSharedKey();
|
|
3293
3298
|
}
|