@rallycry/conveyor-agent 10.13.60 → 10.13.62
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.
|
@@ -1882,6 +1882,28 @@ var projectCheckpointSettingsSchema = z.object({
|
|
|
1882
1882
|
}
|
|
1883
1883
|
});
|
|
1884
1884
|
var TUI_KINDS = ["claude-code", "opencode"];
|
|
1885
|
+
var ACHIEVEMENT_RARITIES = [
|
|
1886
|
+
{
|
|
1887
|
+
key: "common",
|
|
1888
|
+
name: "Common",
|
|
1889
|
+
color: "#22c55e",
|
|
1890
|
+
iconPath: "/storypoints/square-solid-full.svg"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
key: "magic",
|
|
1894
|
+
name: "Magic",
|
|
1895
|
+
color: "#3b82f6",
|
|
1896
|
+
iconPath: "/storypoints/diamond-solid-full.svg"
|
|
1897
|
+
},
|
|
1898
|
+
{ key: "rare", name: "Rare", color: "#eab308", iconPath: "/storypoints/gem-solid-full.svg" },
|
|
1899
|
+
{
|
|
1900
|
+
key: "unique",
|
|
1901
|
+
name: "Unique",
|
|
1902
|
+
color: "#f97316",
|
|
1903
|
+
iconPath: "/storypoints/scroll-sharp-solid-full.svg"
|
|
1904
|
+
},
|
|
1905
|
+
{ key: "pack", name: "Pack", color: "#9c27b0", iconPath: "/storypoints/pack.svg" }
|
|
1906
|
+
];
|
|
1885
1907
|
var RISK_LEVELS = ["critical", "high", "medium", "low"];
|
|
1886
1908
|
var riskLevelSchema = z2.enum(RISK_LEVELS);
|
|
1887
1909
|
var DEFAULT_RISK_LEVELS = [
|
|
@@ -3563,6 +3585,15 @@ var MIRRORABLE_SIDECARS = Object.fromEntries(
|
|
|
3563
3585
|
return mirror ? [[dep, mirror]] : [];
|
|
3564
3586
|
})
|
|
3565
3587
|
);
|
|
3588
|
+
var LEVELS_PER_BAND = 100;
|
|
3589
|
+
var PRESTIGE_TIERS = ACHIEVEMENT_RARITIES.map((rarity, index) => ({
|
|
3590
|
+
prestige: index + 1,
|
|
3591
|
+
name: rarity.name,
|
|
3592
|
+
color: rarity.color,
|
|
3593
|
+
iconPath: rarity.iconPath,
|
|
3594
|
+
minLevel: (index + 1) * LEVELS_PER_BAND
|
|
3595
|
+
}));
|
|
3596
|
+
var TOP_PRESTIGE_BAND = PRESTIGE_TIERS.length;
|
|
3566
3597
|
var PRE_BUILD_TASK_STATUSES = /* @__PURE__ */ new Set(["Planning", "Open"]);
|
|
3567
3598
|
function hasTaskPlan(plan) {
|
|
3568
3599
|
return !!plan?.trim();
|
|
@@ -5413,10 +5444,14 @@ function parseClaudeOauthEnv(blob) {
|
|
|
5413
5444
|
if (typeof parsed !== "object" || parsed === null) return null;
|
|
5414
5445
|
const record = parsed;
|
|
5415
5446
|
if (typeof record.access !== "string" || record.access === "") return null;
|
|
5447
|
+
const scopes = Array.isArray(record.scopes) ? record.scopes.filter((s) => typeof s === "string" && s.length > 0) : [];
|
|
5416
5448
|
return {
|
|
5417
5449
|
access: record.access,
|
|
5418
5450
|
refresh: typeof record.refresh === "string" && record.refresh ? record.refresh : void 0,
|
|
5419
|
-
expires: typeof record.expires === "number" ? record.expires : void 0
|
|
5451
|
+
expires: typeof record.expires === "number" ? record.expires : void 0,
|
|
5452
|
+
refreshExpires: typeof record.refreshExpires === "number" ? record.refreshExpires : void 0,
|
|
5453
|
+
scopes: scopes.length > 0 ? scopes : void 0,
|
|
5454
|
+
rateLimitTier: typeof record.rateLimitTier === "string" ? record.rateLimitTier : void 0
|
|
5420
5455
|
};
|
|
5421
5456
|
} catch {
|
|
5422
5457
|
return null;
|
|
@@ -5439,13 +5474,6 @@ function parseClaudeAiOauth(raw) {
|
|
|
5439
5474
|
return null;
|
|
5440
5475
|
}
|
|
5441
5476
|
}
|
|
5442
|
-
var LOGIN_SCOPES = [
|
|
5443
|
-
"user:inference",
|
|
5444
|
-
"user:profile",
|
|
5445
|
-
"user:sessions:claude_code",
|
|
5446
|
-
"user:mcp_servers",
|
|
5447
|
-
"user:file_upload"
|
|
5448
|
-
];
|
|
5449
5477
|
var LEGACY_SCOPES = ["user:inference", "user:profile"];
|
|
5450
5478
|
function buildCredentialsFile(material, now) {
|
|
5451
5479
|
const refresh = material.refresh;
|
|
@@ -5457,7 +5485,11 @@ function buildCredentialsFile(material, now) {
|
|
|
5457
5485
|
// the true one. Without, claim a far-future expiry (see SYNTH_TOKEN_TTL_MS)
|
|
5458
5486
|
// because a refresh attempt would be unrecoverable.
|
|
5459
5487
|
expiresAt: refresh && material.expires ? material.expires : now + SYNTH_TOKEN_TTL_MS,
|
|
5460
|
-
|
|
5488
|
+
// The refresh token has its own expiry; the CLI records it, so mirror it
|
|
5489
|
+
// when the grant told us rather than leaving the field off.
|
|
5490
|
+
...material.refreshExpires ? { refreshTokenExpiresAt: material.refreshExpires } : {},
|
|
5491
|
+
scopes: material.scopes?.length ? material.scopes : LEGACY_SCOPES,
|
|
5492
|
+
...material.rateLimitTier ? { rateLimitTier: material.rateLimitTier } : {},
|
|
5461
5493
|
subscriptionType: "max"
|
|
5462
5494
|
}
|
|
5463
5495
|
});
|
|
@@ -10192,13 +10224,13 @@ var tagRef = f.string({
|
|
|
10192
10224
|
var getTagContract = defineToolContract({
|
|
10193
10225
|
name: "get_tag",
|
|
10194
10226
|
agent: {
|
|
10195
|
-
description: "Read one tag's full glossary entry: description, the full markdown overview (the term's spec \u2014 philosophy, mechanics, invariants), linked files/rules (each with its verified-link status \u2014 ok/stale/unchecked \u2014 from the periodic repo check), parent/child tags, active-card count, attachment count (files labelled as examples of the term), and recent revisions with their reasons. Call this whenever a chat message, plan, or tag list points at a term you need the full context for. A response with `overviewPath` set means the overview is sourced from that repo file \u2014 prefer Reading the path from your checkout (branch-correct); the served overview is the base
|
|
10227
|
+
description: "Read one tag's full glossary entry: description, the full markdown overview (the term's spec \u2014 philosophy, mechanics, invariants), linked files/rules (each with its verified-link status \u2014 ok/stale/unchecked \u2014 from the periodic repo check), parent/child tags, active-card count, attachment count (files labelled as examples of the term), and recent revisions with their reasons. Call this whenever a chat message, plan, or tag list points at a term you need the full context for. A response with `overviewPath` set means the overview is sourced from that repo file \u2014 prefer Reading the path from your checkout (branch-correct); the served overview is materialized from the project's dev branch (the PR base; default branch when the repo has no dev branch) (`overviewSource.state`: ok/pending/stale).",
|
|
10196
10228
|
fields: {
|
|
10197
10229
|
tag: tagRef
|
|
10198
10230
|
}
|
|
10199
10231
|
},
|
|
10200
10232
|
mcp: {
|
|
10201
|
-
description: "Read one tag's full glossary entry \u2014 description, markdown overview, context links (each with its verified-link status: ok/stale/unchecked plus last-checked provenance), parent/child tags, active-card count, attachment count (files labelled as examples of the term \u2014 read the tiles with list_tag_attachments), and recent revisions with provenance. A response with `overviewPath` set means the overview is sourced from that repo file at the base branch (`overviewSource.state`: ok/pending/stale) \u2014 clients with a checkout can read the path directly for the branch-correct copy. Pass projectId to target a specific project; otherwise the configured default project is used.",
|
|
10233
|
+
description: "Read one tag's full glossary entry \u2014 description, markdown overview, context links (each with its verified-link status: ok/stale/unchecked plus last-checked provenance), parent/child tags, active-card count, attachment count (files labelled as examples of the term \u2014 read the tiles with list_tag_attachments), and recent revisions with provenance. A response with `overviewPath` set means the overview is sourced from that repo file at the project's dev branch (the PR base; default branch when the repo has no dev branch) (`overviewSource.state`: ok/pending/stale) \u2014 clients with a checkout can read the path directly for the branch-correct copy. Pass projectId to target a specific project; otherwise the configured default project is used.",
|
|
10202
10234
|
fields: {
|
|
10203
10235
|
projectId: mcpProjectId,
|
|
10204
10236
|
tag: tagRef
|
|
@@ -11371,6 +11403,8 @@ var MIME_BY_EXT = {
|
|
|
11371
11403
|
".txt": "text/plain",
|
|
11372
11404
|
".log": "text/plain",
|
|
11373
11405
|
".md": "text/markdown",
|
|
11406
|
+
".mmd": "text/vnd.mermaid",
|
|
11407
|
+
".mermaid": "text/vnd.mermaid",
|
|
11374
11408
|
".csv": "text/csv",
|
|
11375
11409
|
".html": "text/html",
|
|
11376
11410
|
".css": "text/css",
|
|
@@ -16529,4 +16563,4 @@ export {
|
|
|
16529
16563
|
loadConveyorConfig,
|
|
16530
16564
|
unshallowRepo
|
|
16531
16565
|
};
|
|
16532
|
-
//# sourceMappingURL=chunk-
|
|
16566
|
+
//# sourceMappingURL=chunk-D2TYLAPI.js.map
|