@synsci/sdk 2.0.111 → 2.0.113

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.
@@ -571,6 +571,8 @@ export type CompactionPart = {
571
571
  handoffFile?: string;
572
572
  trigger?: "proactive" | "overflow" | "manual";
573
573
  rootID?: string;
574
+ before?: number;
575
+ after?: number;
574
576
  };
575
577
  export type Part = TextPart | SubtaskPart | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | AgentPart | ConversationPart | RetryPart | CompactionPart;
576
578
  export type EventMessagePartUpdated = {
@@ -1633,9 +1635,9 @@ export type AgentConfig = {
1633
1635
  [key: string]: unknown;
1634
1636
  };
1635
1637
  /**
1636
- * Hex color code for the agent (e.g., #FF5733)
1638
+ * Hex color code (e.g., #FF5733) or a theme color (primary, secondary, accent, success, warning, error, info)
1637
1639
  */
1638
- color?: string;
1640
+ color?: string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info";
1639
1641
  /**
1640
1642
  * Maximum number of agentic iterations before forcing text-only response
1641
1643
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@synsci/sdk",
4
- "version": "2.0.111",
4
+ "version": "2.0.113",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "scripts": {