@shuffleio/shuffle-mcps 0.0.57 → 0.0.58

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.
package/dist/index.d.mts CHANGED
@@ -434,6 +434,10 @@ interface AiAgentPromptsEditorProps {
434
434
  apps: string[][];
435
435
  /** Read-only mode: render prompts as plain text, no edit/add/remove. */
436
436
  readOnly?: boolean;
437
+ /** Optional skill label (e.g. "Incident Handler") to show shared permission context. */
438
+ skillLabel?: string;
439
+ /** Optional check if an app key is a built-in default app for the active skill. */
440
+ isBuiltInApp?: (appKey: string) => boolean;
437
441
  /** Edit handlers — required when `readOnly` is false. */
438
442
  onChangePrompt?: (index: number, value: string) => void;
439
443
  onRemovePrompt?: (index: number) => void;
@@ -809,6 +813,8 @@ interface AgentUIProps {
809
813
  contextParams?: Record<string, string>;
810
814
  /** Optional target incident ID for incident-handler skill */
811
815
  incidentId?: string;
816
+ /** Optional target incident context (observables, summary, tasks) */
817
+ incidentContext?: Record<string, unknown>;
812
818
  /** Optional target vulnerability ID for vulnerability skill */
813
819
  vulnerabilityId?: string;
814
820
  /** Optional target workflow ID for edit-workflow skill */
@@ -1114,6 +1120,10 @@ declare const ASK_AI_PANEL_WIDTH_STORAGE_KEY = "shuffle:ask_ai_panel_width";
1114
1120
  declare const MIN_ASK_AI_PANEL_WIDTH = 340;
1115
1121
  declare const MAX_ASK_AI_PANEL_WIDTH = 960;
1116
1122
  interface AskAiSidePanelProps extends ShuffleHostProps {
1123
+ /** Target incident ID */
1124
+ incidentId?: string;
1125
+ /** Structured incident context */
1126
+ incidentContext?: Record<string, any>;
1117
1127
  /** Whether the side panel is open */
1118
1128
  open: boolean;
1119
1129
  /** Callback to close the side panel */
@@ -1906,6 +1916,7 @@ interface DatastoreKeyExisted {
1906
1916
  interface DatastoreResponse {
1907
1917
  success: boolean;
1908
1918
  data?: DatastoreItem[];
1919
+ items?: DatastoreItem[];
1909
1920
  categoryConfig?: CategoryConfig;
1910
1921
  cursor?: string;
1911
1922
  totalAmount?: number;
@@ -1989,6 +2000,7 @@ declare const deleteDatastoreItems: (keys: string[], category: string) => Promis
1989
2000
  }>;
1990
2001
  declare const DATASTORE_CATEGORIES: {
1991
2002
  readonly INCIDENTS: "shuffle-security_incidents";
2003
+ readonly EVENTS: "shuffle-security_events";
1992
2004
  readonly VULNERABILITIES: "shuffle-security_vulns";
1993
2005
  readonly VULNS: "shuffle-security_vulns";
1994
2006
  readonly ASSETS: "shuffle-security_assets";
package/dist/index.d.ts CHANGED
@@ -434,6 +434,10 @@ interface AiAgentPromptsEditorProps {
434
434
  apps: string[][];
435
435
  /** Read-only mode: render prompts as plain text, no edit/add/remove. */
436
436
  readOnly?: boolean;
437
+ /** Optional skill label (e.g. "Incident Handler") to show shared permission context. */
438
+ skillLabel?: string;
439
+ /** Optional check if an app key is a built-in default app for the active skill. */
440
+ isBuiltInApp?: (appKey: string) => boolean;
437
441
  /** Edit handlers — required when `readOnly` is false. */
438
442
  onChangePrompt?: (index: number, value: string) => void;
439
443
  onRemovePrompt?: (index: number) => void;
@@ -809,6 +813,8 @@ interface AgentUIProps {
809
813
  contextParams?: Record<string, string>;
810
814
  /** Optional target incident ID for incident-handler skill */
811
815
  incidentId?: string;
816
+ /** Optional target incident context (observables, summary, tasks) */
817
+ incidentContext?: Record<string, unknown>;
812
818
  /** Optional target vulnerability ID for vulnerability skill */
813
819
  vulnerabilityId?: string;
814
820
  /** Optional target workflow ID for edit-workflow skill */
@@ -1114,6 +1120,10 @@ declare const ASK_AI_PANEL_WIDTH_STORAGE_KEY = "shuffle:ask_ai_panel_width";
1114
1120
  declare const MIN_ASK_AI_PANEL_WIDTH = 340;
1115
1121
  declare const MAX_ASK_AI_PANEL_WIDTH = 960;
1116
1122
  interface AskAiSidePanelProps extends ShuffleHostProps {
1123
+ /** Target incident ID */
1124
+ incidentId?: string;
1125
+ /** Structured incident context */
1126
+ incidentContext?: Record<string, any>;
1117
1127
  /** Whether the side panel is open */
1118
1128
  open: boolean;
1119
1129
  /** Callback to close the side panel */
@@ -1906,6 +1916,7 @@ interface DatastoreKeyExisted {
1906
1916
  interface DatastoreResponse {
1907
1917
  success: boolean;
1908
1918
  data?: DatastoreItem[];
1919
+ items?: DatastoreItem[];
1909
1920
  categoryConfig?: CategoryConfig;
1910
1921
  cursor?: string;
1911
1922
  totalAmount?: number;
@@ -1989,6 +2000,7 @@ declare const deleteDatastoreItems: (keys: string[], category: string) => Promis
1989
2000
  }>;
1990
2001
  declare const DATASTORE_CATEGORIES: {
1991
2002
  readonly INCIDENTS: "shuffle-security_incidents";
2003
+ readonly EVENTS: "shuffle-security_events";
1992
2004
  readonly VULNERABILITIES: "shuffle-security_vulns";
1993
2005
  readonly VULNS: "shuffle-security_vulns";
1994
2006
  readonly ASSETS: "shuffle-security_assets";