@aidenhq/sdk 0.5.11 → 0.5.13

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.
@@ -6,6 +6,7 @@
6
6
  /** The kernel's own tier rules (kernel/src/tier.ts) in words; a module's own rule shows as its code and reason. */
7
7
  export const RULES = {
8
8
  "autonomy-off": "Autonomy is off, so every write is yours to approve.",
9
+ "owner-approval": "Your setting asks for your approval of this call, so the AI reviewer does not decide it.",
9
10
  "unknown-files": "The files it changes weren't known: the AI reviewer reads it.",
10
11
  "foreign-authority": "It brings new authority from a marketplace's module or a fork: the AI reviewer reads it, then you decide.",
11
12
  };
@@ -100,12 +100,15 @@ export type EngineEvent = {
100
100
  t: "final";
101
101
  text: string;
102
102
  vendor_error?: string;
103
+ start?: number;
104
+ reads?: string[];
103
105
  } | {
104
106
  t: "reply";
105
107
  id: string;
106
108
  text: string;
107
109
  start?: number;
108
110
  end?: number;
111
+ reads?: string[];
109
112
  } | {
110
113
  t: "turn";
111
114
  busy: boolean;
@@ -113,5 +116,6 @@ export type EngineEvent = {
113
116
  export interface InboxLine {
114
117
  t: "comment";
115
118
  from: string;
116
- text: string;
119
+ text: string; /** The owner's comment this line stands for (the kernel's `saw`): a turn reply names the ones it read. */
120
+ comment?: string;
117
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidenhq/sdk",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
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": {