@aidenhq/sdk 0.5.9 → 0.5.10

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.
@@ -20,7 +20,6 @@ export const REVIEW_WORDS = {
20
20
  files_not_shown: "The diff didn't match the code host's own count of the change.",
21
21
  instance_details: "It would post this server's hosts, addresses or paths to GitHub.",
22
22
  tool_call_unreadable: "The tool call's arguments couldn't be read or shown whole, so it went back to the agent.",
23
- code_review_owns: "Code approved it without an AI review: your setting leaves pushes and PRs on this repo to code review.",
24
23
  owner_veto: "You vetoed this action on this task: it is yours.",
25
24
  shadow: "Your autonomy is below full: the reviewer's verdict is only a note.",
26
25
  refused_by_code: "Code refused it: the same content was already rejected as malicious.",
@@ -1,5 +1,5 @@
1
1
  /** The AI reviewer's code on a card: what it judged (model-chosen, malice only) or what code decided in its place. */
2
- export declare const REVIEW_CODES: readonly ["clean", "malicious", "secret_exfiltration", "prompt_injection", "reviewer_failed", "fail_open", "files_not_shown", "instance_details", "tool_call_unreadable", "code_review_owns", "owner_veto", "shadow", "refused_by_code", "stale_head"];
2
+ export declare const REVIEW_CODES: readonly ["clean", "malicious", "secret_exfiltration", "prompt_injection", "reviewer_failed", "fail_open", "files_not_shown", "instance_details", "tool_call_unreadable", "owner_veto", "shadow", "refused_by_code", "stale_head"];
3
3
  export type ReviewCode = (typeof REVIEW_CODES)[number];
4
4
  /** A grant refusal (kernel/src/identity.ts): the tool isn't granted, the agent lacks a role, or it has no grants at all. */
5
5
  export declare const GRANT_CODES: readonly ["denied_not_granted", "denied_role", "denied_no_grants", "denied_unknown_caller"];
@@ -7,7 +7,7 @@ export declare const GRANT_CODES: readonly ["denied_not_granted", "denied_role",
7
7
  export declare const GATEWAY_CODES: readonly ["cap_reached", "model_not_granted", "advisor_limit"];
8
8
  /** A request already satisfied on its target: no card is filed (the duplicate-card guard). */
9
9
  export declare const ALREADY_APPLIED_CODE = "already_applied";
10
- export declare const REASON_CODES: readonly ["clean", "malicious", "secret_exfiltration", "prompt_injection", "reviewer_failed", "fail_open", "files_not_shown", "instance_details", "tool_call_unreadable", "code_review_owns", "owner_veto", "shadow", "refused_by_code", "stale_head", "denied_not_granted", "denied_role", "denied_no_grants", "denied_unknown_caller", "cap_reached", "model_not_granted", "advisor_limit", "already_applied"];
10
+ export declare const REASON_CODES: readonly ["clean", "malicious", "secret_exfiltration", "prompt_injection", "reviewer_failed", "fail_open", "files_not_shown", "instance_details", "tool_call_unreadable", "owner_veto", "shadow", "refused_by_code", "stale_head", "denied_not_granted", "denied_role", "denied_no_grants", "denied_unknown_caller", "cap_reached", "model_not_granted", "advisor_limit", "already_applied"];
11
11
  export type ReasonCode = (typeof REASON_CODES)[number];
12
12
  /** The shape of a tier rule (tiers.mjs `rule`; also the board's deploy_app, app_run and raise_cap rules). */
13
13
  export declare const TIER_RULE: RegExp;
@@ -22,8 +22,6 @@ export const REVIEW_CODES = [
22
22
  "files_not_shown",
23
23
  "instance_details",
24
24
  "tool_call_unreadable",
25
- // ai_review_code skips the AI review of this push or PR (code review owns it): code approved it
26
- "code_review_owns",
27
25
  // the owner's own veto on this task: he decides
28
26
  "owner_veto",
29
27
  // the owner's autonomy below full: the reviewer's verdict is a note for him
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidenhq/sdk",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
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": {