terminalhire 0.26.1 → 0.26.2
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-claim.js +10 -0
- package/dist/bin/jpi-dispatch.js +10 -0
- package/package.json +1 -1
package/dist/bin/jpi-claim.js
CHANGED
|
@@ -8796,6 +8796,9 @@ function looksLikeShortRef(arg) {
|
|
|
8796
8796
|
function isVerblessShortRefClaim(verb, positional) {
|
|
8797
8797
|
return looksLikeShortRef(verb) && positional.length === 0;
|
|
8798
8798
|
}
|
|
8799
|
+
function isStrayArgShortRefClaim(verb, positional) {
|
|
8800
|
+
return looksLikeShortRef(verb) && positional.length > 0;
|
|
8801
|
+
}
|
|
8799
8802
|
function findClaimableByShortRef(ref) {
|
|
8800
8803
|
try {
|
|
8801
8804
|
return findByShortRefInPool(readClaimablePool(), ref);
|
|
@@ -9954,6 +9957,12 @@ async function run() {
|
|
|
9954
9957
|
await cmdRecord(verb, flags);
|
|
9955
9958
|
return;
|
|
9956
9959
|
}
|
|
9960
|
+
if (isStrayArgShortRefClaim(verb, positional)) {
|
|
9961
|
+
console.error(
|
|
9962
|
+
`terminalhire claim: '${verb}' is a short ref and takes no extra arguments (got: ${positional.join(" ")}). Did you mean \`terminalhire claim ${verb}\`?`
|
|
9963
|
+
);
|
|
9964
|
+
process.exit(1);
|
|
9965
|
+
}
|
|
9957
9966
|
try {
|
|
9958
9967
|
switch (verb) {
|
|
9959
9968
|
case "preview":
|
|
@@ -10002,6 +10011,7 @@ export {
|
|
|
10002
10011
|
fmtAge,
|
|
10003
10012
|
fmtContestedWarning,
|
|
10004
10013
|
isContested,
|
|
10014
|
+
isStrayArgShortRefClaim,
|
|
10005
10015
|
isVerblessShortRefClaim,
|
|
10006
10016
|
listOpenPRsReferencingIssue,
|
|
10007
10017
|
matchReferencingPrs,
|
package/dist/bin/jpi-dispatch.js
CHANGED
|
@@ -11044,6 +11044,7 @@ __export(jpi_claim_exports, {
|
|
|
11044
11044
|
fmtAge: () => fmtAge,
|
|
11045
11045
|
fmtContestedWarning: () => fmtContestedWarning,
|
|
11046
11046
|
isContested: () => isContested,
|
|
11047
|
+
isStrayArgShortRefClaim: () => isStrayArgShortRefClaim,
|
|
11047
11048
|
isVerblessShortRefClaim: () => isVerblessShortRefClaim,
|
|
11048
11049
|
listOpenPRsReferencingIssue: () => listOpenPRsReferencingIssue,
|
|
11049
11050
|
matchReferencingPrs: () => matchReferencingPrs,
|
|
@@ -11198,6 +11199,9 @@ function looksLikeShortRef(arg) {
|
|
|
11198
11199
|
function isVerblessShortRefClaim(verb, positional) {
|
|
11199
11200
|
return looksLikeShortRef(verb) && positional.length === 0;
|
|
11200
11201
|
}
|
|
11202
|
+
function isStrayArgShortRefClaim(verb, positional) {
|
|
11203
|
+
return looksLikeShortRef(verb) && positional.length > 0;
|
|
11204
|
+
}
|
|
11201
11205
|
function findClaimableByShortRef(ref) {
|
|
11202
11206
|
try {
|
|
11203
11207
|
return findByShortRefInPool(readClaimablePool(), ref);
|
|
@@ -12356,6 +12360,12 @@ async function run7() {
|
|
|
12356
12360
|
await cmdRecord(verb, flags);
|
|
12357
12361
|
return;
|
|
12358
12362
|
}
|
|
12363
|
+
if (isStrayArgShortRefClaim(verb, positional)) {
|
|
12364
|
+
console.error(
|
|
12365
|
+
`terminalhire claim: '${verb}' is a short ref and takes no extra arguments (got: ${positional.join(" ")}). Did you mean \`terminalhire claim ${verb}\`?`
|
|
12366
|
+
);
|
|
12367
|
+
process.exit(1);
|
|
12368
|
+
}
|
|
12359
12369
|
try {
|
|
12360
12370
|
switch (verb) {
|
|
12361
12371
|
case "preview":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "terminalhire",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2",
|
|
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",
|