@aidenhq/sdk 0.5.3 → 0.5.4

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.
@@ -24,6 +24,9 @@ export interface MaintainedRepo {
24
24
  name: string;
25
25
  /** Validate `fix_label` issues, hand fixes over and see them through (default on). */
26
26
  fixes: boolean;
27
+ /** A verified security fix is built and opened as a PR here (default off: the security agent reports it to the owner privately).
28
+ * The kernel enforces it on every code-host push, PR and git token rooted in the security agent's work (kernel/src/security-prs.ts). */
29
+ security_prs: boolean;
27
30
  /** Whether unlabelled issues are triaged: no, each new one, or each new one and the backlog (default new). */
28
31
  triage: (typeof TRIAGE)[number];
29
32
  /** Triage feature requests, and build the ones carrying BUILD_LABEL (default off). */
@@ -25,7 +25,7 @@ export const TRIAGE_CAP_PER_AUTHOR_DAY = 5;
25
25
  export const TRIAGE_ADMISSION_PER_AUTHOR_DAY = 20;
26
26
  export const RESOLVED_CLOSES_PER_RUN = 10;
27
27
  export const INACTIVE_GRACE_DAYS = 14;
28
- const KEYS = ["repo", "fixes", "triage", "features", "actions", "no_reply_days", "inactive_issue_days", "fix_label", "trusted", "protected_labels"];
28
+ const KEYS = ["repo", "fixes", "security_prs", "triage", "features", "actions", "no_reply_days", "inactive_issue_days", "fix_label", "trusted", "protected_labels"];
29
29
  const SHAPE = `{ ${KEYS.join(", ")} }`;
30
30
  /** Keys an older entry may still carry, with what replaced each: named in the refusal. */
31
31
  const REMOVED = {
@@ -110,7 +110,7 @@ export function parseRepos(raw) {
110
110
  const actions = Object.fromEntries(VERDICTS.map((v) => [v, one(`actions.${v}`, a[v], ACTIONS, "label")]));
111
111
  return {
112
112
  repo: `${m[1]}/${m[2]}`, owner: m[1], name: m[2],
113
- fixes: bool("fixes", true), triage: one("triage", e.triage, TRIAGE, "new"), features: bool("features", false),
113
+ fixes: bool("fixes", true), security_prs: bool("security_prs", false), triage: one("triage", e.triage, TRIAGE, "new"), features: bool("features", false),
114
114
  actions,
115
115
  no_reply_days: days("no_reply_days"), inactive_issue_days: days("inactive_issue_days"),
116
116
  fix_label, trusted: [...new Set(trusted)],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidenhq/sdk",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "The shared code of AidenHQ modules: contract types, engine IO, the caller check and fence, write executors, the reviewer side, the judges' models and call, the source writer and the vendor MCP pass-through.",
5
5
  "license": "MIT",
6
6
  "repository": {