contribute-now 0.9.0-dev.30c88ec → 0.9.0-dev.51afb57
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/README.md +0 -30
- package/dist/cli.js +6067 -6644
- package/package.json +1 -1
- package/LICENSE +0 -674
package/README.md
CHANGED
|
@@ -324,27 +324,6 @@ cn label suggest --issue 42
|
|
|
324
324
|
|
|
325
325
|
# Get ranked label suggestions for a PR
|
|
326
326
|
cn label suggest --pr 7
|
|
327
|
-
|
|
328
|
-
# Auto-apply top labels to a PR
|
|
329
|
-
cn label apply --pr 7
|
|
330
|
-
|
|
331
|
-
# Auto-apply top labels to an issue
|
|
332
|
-
cn label apply --issue 42
|
|
333
|
-
|
|
334
|
-
# Bulk preview (safe default): inspect open issues and PRs
|
|
335
|
-
cn label apply
|
|
336
|
-
|
|
337
|
-
# Bulk apply to open issues and PRs
|
|
338
|
-
cn label apply --yes
|
|
339
|
-
|
|
340
|
-
# Bulk apply to PRs only with custom limits
|
|
341
|
-
cn label apply --prs --yes --limit 30 --count 2 --min-score 5
|
|
342
|
-
|
|
343
|
-
# Force heuristic-only ranking (no AI)
|
|
344
|
-
cn label apply --pr 7 --no-ai
|
|
345
|
-
|
|
346
|
-
# Use a specific AI model for ranking
|
|
347
|
-
cn label apply --pr 7 --model gpt-4.1
|
|
348
327
|
```
|
|
349
328
|
|
|
350
329
|
**Label source strategy:**
|
|
@@ -354,15 +333,6 @@ cn label apply --pr 7 --model gpt-4.1
|
|
|
354
333
|
4. The local cache is used by default — no repeated `gh` API calls.
|
|
355
334
|
5. On label-not-found errors, the cache is automatically resynced and the operation is retried once.
|
|
356
335
|
|
|
357
|
-
**Auto-apply behavior (`cn label apply`):**
|
|
358
|
-
- Uses the same label scoring engine as `cn label suggest` (label names + descriptions vs issue/PR content).
|
|
359
|
-
- Applies only existing repository labels (never creates labels).
|
|
360
|
-
- Filters out labels that are already present on the target issue/PR.
|
|
361
|
-
- In bulk mode (no `--issue`/`--pr`), defaults to dry-run unless `--yes` is provided.
|
|
362
|
-
- Supports tunable controls: `--count`, `--min-score`, `--limit`, `--issues`, `--prs`, and `--dry-run`.
|
|
363
|
-
- Uses AI ranking by default when AI is enabled in your config, with automatic fallback to heuristic scoring.
|
|
364
|
-
- Pass `--no-ai` to force heuristic-only scoring or `--model <name>` to pick a specific AI model.
|
|
365
|
-
|
|
366
336
|
**Label input format:**
|
|
367
337
|
- Commas are the separator between labels.
|
|
368
338
|
- Spaces are part of a label name (`good first issue` is one label, not three words).
|