@alisio/sdk 0.4.3 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -726,12 +726,12 @@ export interface RunEventDataMap {
726
726
  previous: string;
727
727
  };
728
728
  compaction_started: {
729
- reason: "manual" | "auto";
729
+ reason: "manual" | "auto" | "budget";
730
730
  before: number;
731
731
  messages: number;
732
732
  };
733
733
  compaction_completed: {
734
- reason: "manual" | "auto";
734
+ reason: "manual" | "auto" | "budget";
735
735
  before: number;
736
736
  after: number;
737
737
  replaced: number;
@@ -744,12 +744,12 @@ export interface RunEventDataMap {
744
744
  partial?: true;
745
745
  };
746
746
  compaction_skipped: {
747
- reason: "manual" | "auto";
747
+ reason: "manual" | "auto" | "budget";
748
748
  before: number;
749
749
  detail: string;
750
750
  };
751
751
  compaction_failed: {
752
- reason: "manual" | "auto";
752
+ reason: "manual" | "auto" | "budget";
753
753
  error: string;
754
754
  };
755
755
  /** Tool results clipped in place to fit the context budget. */
@@ -822,7 +822,7 @@ export interface CompactionCheckpoint {
822
822
  }
823
823
  export interface CompactionStart {
824
824
  sessionId: string;
825
- reason: "manual" | "auto";
825
+ reason: "manual" | "auto" | "budget";
826
826
  /** Messages about to be replaced by the checkpoint. */
827
827
  messages: readonly Message[];
828
828
  focus?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alisio/sdk",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Typed plugin SDK for Alisio: the stable contract for tools, commands, context, compaction and session hooks, model completions and storage. Types only plus tiny helpers; zero runtime dependencies.",
5
5
  "author": "Gustavo Gutiérrez",
6
6
  "license": "MIT",