agent-device 0.11.9 → 0.11.11

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.
@@ -0,0 +1,79 @@
1
+ export declare type DaemonArtifact = {
2
+ field: string;
3
+ artifactId?: string;
4
+ fileName?: string;
5
+ localPath?: string;
6
+ path?: string;
7
+ };
8
+
9
+ export declare type DaemonError = {
10
+ code: string;
11
+ message: string;
12
+ hint?: string;
13
+ diagnosticId?: string;
14
+ logPath?: string;
15
+ details?: Record<string, unknown>;
16
+ };
17
+
18
+ export declare type DaemonInstallSource = {
19
+ kind: 'url';
20
+ url: string;
21
+ headers?: Record<string, string>;
22
+ } | {
23
+ kind: 'path';
24
+ path: string;
25
+ };
26
+
27
+ export declare type DaemonLockPolicy = 'reject' | 'strip';
28
+
29
+ export declare type DaemonRequest = {
30
+ token: string;
31
+ session: string;
32
+ command: string;
33
+ positionals: string[];
34
+ flags?: Record<string, unknown>;
35
+ runtime?: SessionRuntimeHints;
36
+ meta?: DaemonRequestMeta;
37
+ };
38
+
39
+ export declare type DaemonRequestMeta = {
40
+ requestId?: string;
41
+ debug?: boolean;
42
+ cwd?: string;
43
+ tenantId?: string;
44
+ runId?: string;
45
+ leaseId?: string;
46
+ leaseTtlMs?: number;
47
+ leaseBackend?: 'ios-simulator';
48
+ sessionIsolation?: 'none' | 'tenant';
49
+ uploadedArtifactId?: string;
50
+ clientArtifactPaths?: Record<string, string>;
51
+ installSource?: DaemonInstallSource;
52
+ retainMaterializedPaths?: boolean;
53
+ materializedPathRetentionMs?: number;
54
+ materializationId?: string;
55
+ lockPolicy?: DaemonLockPolicy;
56
+ lockPlatform?: 'ios' | 'macos' | 'android' | 'linux' | 'apple';
57
+ };
58
+
59
+ export declare type DaemonResponse = {
60
+ ok: true;
61
+ data?: DaemonResponseData;
62
+ } | {
63
+ ok: false;
64
+ error: DaemonError;
65
+ };
66
+
67
+ export declare type DaemonResponseData = Record<string, unknown> & {
68
+ artifacts?: DaemonArtifact[];
69
+ };
70
+
71
+ export declare type SessionRuntimeHints = {
72
+ platform?: 'ios' | 'android';
73
+ metroHost?: string;
74
+ metroPort?: number;
75
+ bundleUrl?: string;
76
+ launchUrl?: string;
77
+ };
78
+
79
+ export { }
File without changes