@weareikko/code-review 0.10.0 → 0.10.1
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
CHANGED
|
@@ -258,7 +258,7 @@ Prereleases follow the file `.changelog/prerelease` ([prereleases](https://githu
|
|
|
258
258
|
A manual run forces a bump, for example a major version without a breaking entry:
|
|
259
259
|
|
|
260
260
|
```bash
|
|
261
|
-
gh workflow run publish.yml -f
|
|
261
|
+
gh workflow run publish.yml -f version=major # or patch / minor
|
|
262
262
|
```
|
|
263
263
|
|
|
264
264
|
Publishing uses npm trusted publishing (no npm token) and skips a version that npm already has: if the `Publish to npm` job fails, use "Re-run failed jobs".
|
|
@@ -1767,7 +1767,7 @@ function buildSummaryBody(summary, costFooter, options = {}) {
|
|
|
1767
1767
|
return `${withFooter}\n\n${buildSummaryHistoryBlock(historyEntries)}`;
|
|
1768
1768
|
}
|
|
1769
1769
|
function buildReviewedCommitFooter(commitSha) {
|
|
1770
|
-
return `Reviewed by ${PRODUCT_LINK} v0.10.
|
|
1770
|
+
return `Reviewed by ${PRODUCT_LINK} v0.10.1 for commit ${commitSha}.`;
|
|
1771
1771
|
}
|
|
1772
1772
|
function extractReviewedCommitSha(body) {
|
|
1773
1773
|
return REVIEWED_COMMIT_FOOTER_PATTERN.exec(body)?.[1] ?? null;
|
|
@@ -3382,7 +3382,7 @@ async function connectOne(config, options) {
|
|
|
3382
3382
|
};
|
|
3383
3383
|
const client = new McpClient({
|
|
3384
3384
|
name: PRODUCT_NAME,
|
|
3385
|
-
version: "0.10.
|
|
3385
|
+
version: "0.10.1",
|
|
3386
3386
|
requestTimeoutMs: MCP_CONNECT_TIMEOUT_MS
|
|
3387
3387
|
});
|
|
3388
3388
|
try {
|
|
@@ -7056,7 +7056,7 @@ async function loadDefaultRuntime() {
|
|
|
7056
7056
|
const [sdkNode, resources, semconv] = modules;
|
|
7057
7057
|
const serviceResource = resources.resourceFromAttributes({
|
|
7058
7058
|
[semconv.ATTR_SERVICE_NAME ?? "service.name"]: SERVICE_NAME,
|
|
7059
|
-
[semconv.ATTR_SERVICE_VERSION ?? "service.version"]: "0.10.
|
|
7059
|
+
[semconv.ATTR_SERVICE_VERSION ?? "service.version"]: "0.10.1"
|
|
7060
7060
|
});
|
|
7061
7061
|
applyOtelExporterDefaults(process.env);
|
|
7062
7062
|
const sdk = new sdkNode.NodeSDK({ resource: resources.defaultResource().merge(serviceResource) });
|
|
@@ -7569,7 +7569,7 @@ function boldCommentTitle(body) {
|
|
|
7569
7569
|
*/
|
|
7570
7570
|
function buildCommentBody(body, commitSha, confidence) {
|
|
7571
7571
|
const confidenceLine = `_Confidence: ${confidence}._`;
|
|
7572
|
-
const footer = `<sub>Reviewed by ${PRODUCT_LINK} v0.10.
|
|
7572
|
+
const footer = `<sub>Reviewed by ${PRODUCT_LINK} v0.10.1 for commit ${commitSha}.</sub>`;
|
|
7573
7573
|
return `${boldCommentTitle(body.trim())}\n\n${confidenceLine}\n\n---\n\n${footer}`;
|
|
7574
7574
|
}
|
|
7575
7575
|
function buildPayload(comment, body, refs, resolved) {
|
|
@@ -8221,7 +8221,7 @@ function gitRepoWebUrl(cloneUrl) {
|
|
|
8221
8221
|
*/
|
|
8222
8222
|
function skillSourceUrl(origin, context = {}) {
|
|
8223
8223
|
switch (origin.kind) {
|
|
8224
|
-
case "builtin": return blobUrl(PRODUCT_URL, "0.10.
|
|
8224
|
+
case "builtin": return blobUrl(PRODUCT_URL, "0.10.1", `skills/${origin.name}/SKILL.md`);
|
|
8225
8225
|
case "project":
|
|
8226
8226
|
if (!context.projectWebUrl || !context.commitSha) return void 0;
|
|
8227
8227
|
return blobUrl(context.projectWebUrl, context.commitSha, `${origin.path}/SKILL.md`);
|
|
@@ -8889,10 +8889,10 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
8889
8889
|
return;
|
|
8890
8890
|
}
|
|
8891
8891
|
if (argv.includes("--version") || argv.includes("-v")) {
|
|
8892
|
-
console.log("0.10.
|
|
8892
|
+
console.log("0.10.1");
|
|
8893
8893
|
return;
|
|
8894
8894
|
}
|
|
8895
|
-
process.stderr.write(`[code-review] @weareikko/code-review v0.10.
|
|
8895
|
+
process.stderr.write(`[code-review] @weareikko/code-review v0.10.1\n`);
|
|
8896
8896
|
assertNodeVersion();
|
|
8897
8897
|
applyCodeReviewEnvPrefix();
|
|
8898
8898
|
applyDefaultCacheRetention();
|
|
@@ -8915,4 +8915,4 @@ if (isDirectRun()) main().catch((error) => {
|
|
|
8915
8915
|
//#endregion
|
|
8916
8916
|
export { buildSummaryHistoryEntries as $, connectMcpServers as A, traceMcpDiagnostic as B, findSkillForPath as C, readToolPath as D, formatSkillUsageState as E, createDiagnosticRunId as F, SUMMARY_HISTORY_ENTRY_START as G, toGitLabReviewSeverity as H, diagnosticChannels as I, SUMMARY_MARKER as J, SUMMARY_HISTORY_LIMIT as K, mcpDiagnosticChannels as L, DIAGNOSTIC_CHANNEL_PREFIX as M, MCP_DIAGNOSTIC_CHANNEL_NAMES as N, parseReviewMarkdown as O, createDiagnosticContext as P, buildSummaryBody as Q, traceDiagnostic as R, createSkillReadCounter as S, formatReviewUsageSummary as T, SUMMARY_HISTORY_END as U, normalizeSeverity as V, SUMMARY_HISTORY_ENTRY_END as W, buildReviewedCommitFooter as X, buildArchivedSummaryEntry as Y, buildSizeNoticeBlock as Z, buildPayload as _, resolveNpmSkillDir as _t, formatSkillsFooter as a, stripSummaryHistory as at, filterDiff as b, resolveLabelChange as c, appendFingerprintMarkers as ct, blobUrl as d, fingerprints as dt, extractReviewedCommitSha as et, formatSkillLink as f, normalizeBody as ft, buildGeneratedComments as g, parseSkillSpec as gt, skillSourceUrl as h, loadNamedSkill as ht, formatPerModelUsage as i, findExistingSummaryNoteId as it, DIAGNOSTIC_CHANNEL_NAMES as j, parseReviewMarkdownWithWarnings as k, run as l, extractDiffHunkContext as lt, skillDisplayName as m, gitSkillCacheKey as mt, formatLabelChange as n, findExistingReviewedCommitSha as nt, formatUsageLine as o, stripSummaryMarker as ot, gitRepoWebUrl as p, sha256 as pt, SUMMARY_HISTORY_START as q, formatMcpFooter as r, findExistingSummaryNote as rt, main as s, upsertSummaryNote as st, countPostedBySeverity as t, extractSummaryHistoryEntries as tt, withHttpStamping as u, extractExistingFingerprints as ut, isOtelEnabled as v, resolveSkillCacheDir as vt, formatMcpUsageState as w, runReview as x, startOtelBridge as y, traceDiagnosticPhase as z };
|
|
8917
8917
|
|
|
8918
|
-
//# sourceMappingURL=cli-
|
|
8918
|
+
//# sourceMappingURL=cli-DIXQI0Bd.js.map
|