@alia.onl/sdk 2.0.0 → 3.0.0

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.
@@ -1,6 +1,13 @@
1
+ // NativeWind types — extends RN components with className prop
2
+ /// <reference types="nativewind/types" />
3
+
1
4
  // Type declarations for optional peer dependencies.
2
5
  // These prevent TypeScript errors when the deps aren't installed.
3
6
  // At runtime, the host app provides the actual packages.
7
+ //
8
+ // NOTE: Only declare modules for packages NOT installed in the monorepo.
9
+ // Installed packages (lucide-react-native, zeego, expo-image, etc.)
10
+ // have their own real types — ambient declarations here would shadow them.
4
11
 
5
12
  declare module 'livekit-client' {
6
13
  export class Room {
@@ -67,3 +74,13 @@ declare module 'expo-audio' {
67
74
  uri: string | null;
68
75
  }
69
76
  }
77
+
78
+ declare module 'expo-clipboard' {
79
+ export function setStringAsync(text: string): Promise<boolean>;
80
+ export function getStringAsync(): Promise<string>;
81
+ }
82
+
83
+ declare module 'expo-image-picker' {
84
+ export function launchImageLibraryAsync(options?: any): Promise<any>;
85
+ export const MediaTypeOptions: { Images: string; Videos: string; All: string };
86
+ }
package/src/types.ts CHANGED
@@ -9,11 +9,15 @@ export interface ResearchProgress {
9
9
  iteration?: number;
10
10
  }
11
11
 
12
+ export interface PlanStep {
13
+ action: string;
14
+ description: string;
15
+ toolName?: string;
16
+ }
17
+
12
18
  export interface PendingPlan {
13
19
  planId: string;
14
- intent: string;
15
- confidence?: number;
16
- steps: string[];
20
+ steps: PlanStep[];
17
21
  approved: boolean;
18
22
  rejected: boolean;
19
23
  }