dexto 1.6.27 → 1.7.1
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/cli/commands/agents/install.d.ts +2 -10
- package/dist/cli/commands/agents/install.d.ts.map +1 -1
- package/dist/cli/commands/agents/list.d.ts +1 -9
- package/dist/cli/commands/agents/list.d.ts.map +1 -1
- package/dist/cli/commands/agents/uninstall.d.ts +2 -10
- package/dist/cli/commands/agents/uninstall.d.ts.map +1 -1
- package/dist/cli/commands/deploy/client.d.ts +5 -33
- package/dist/cli/commands/deploy/client.d.ts.map +1 -1
- package/dist/cli/commands/deploy/config.d.ts +12 -56
- package/dist/cli/commands/deploy/config.d.ts.map +1 -1
- package/dist/cli/commands/deploy/state.d.ts +1 -9
- package/dist/cli/commands/deploy/state.d.ts.map +1 -1
- package/dist/cli/commands/image.d.ts +1 -9
- package/dist/cli/commands/image.d.ts.map +1 -1
- package/dist/cli/commands/plugin.d.ts +19 -57
- package/dist/cli/commands/plugin.d.ts.map +1 -1
- package/dist/cli/commands/setup.d.ts +29 -36
- package/dist/cli/commands/setup.d.ts.map +1 -1
- package/dist/cli/commands/uninstall.d.ts +1 -7
- package/dist/cli/commands/uninstall.d.ts.map +1 -1
- package/dist/cli/commands/upgrade.d.ts +1 -7
- package/dist/cli/commands/upgrade.d.ts.map +1 -1
- package/dist/cli/commands/which.d.ts +1 -5
- package/dist/cli/commands/which.d.ts.map +1 -1
- package/dist/cli/utils/options.js +2 -2
- package/dist/cli/utils/self-management.d.ts +5 -22
- package/dist/cli/utils/self-management.d.ts.map +1 -1
- package/dist/webui/assets/index-UG5Fuw_8.js +1651 -0
- package/dist/webui/index.html +1 -1
- package/package.json +13 -13
- package/dist/webui/assets/index-XTyP16n-.js +0 -1613
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const InstallCommandSchema: z.ZodObject<{
|
|
3
|
-
agents: z.ZodArray<z.ZodString
|
|
3
|
+
agents: z.ZodArray<z.ZodString>;
|
|
4
4
|
all: z.ZodDefault<z.ZodBoolean>;
|
|
5
5
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
},
|
|
7
|
-
agents: string[];
|
|
8
|
-
force: boolean;
|
|
9
|
-
all: boolean;
|
|
10
|
-
}, {
|
|
11
|
-
agents: string[];
|
|
12
|
-
force?: boolean | undefined;
|
|
13
|
-
all?: boolean | undefined;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strict>;
|
|
15
7
|
export type InstallCommandOptions = z.output<typeof InstallCommandSchema>;
|
|
16
8
|
export declare function handleInstallCommand(agents: string[], options: Partial<InstallCommandOptions>): Promise<void>;
|
|
17
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/agents/install.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,QAAA,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/agents/install.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,QAAA,MAAM,oBAAoB;;;;kBAMb,CAAC;AAEd,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAwK1E,wBAAsB,oBAAoB,CACtC,MAAM,EAAE,MAAM,EAAE,EAChB,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,GACxC,OAAO,CAAC,IAAI,CAAC,CAuKf"}
|
|
@@ -3,15 +3,7 @@ declare const ListAgentsCommandSchema: z.ZodObject<{
|
|
|
3
3
|
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
4
4
|
installed: z.ZodDefault<z.ZodBoolean>;
|
|
5
5
|
available: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
},
|
|
7
|
-
installed: boolean;
|
|
8
|
-
verbose: boolean;
|
|
9
|
-
available: boolean;
|
|
10
|
-
}, {
|
|
11
|
-
installed?: boolean | undefined;
|
|
12
|
-
verbose?: boolean | undefined;
|
|
13
|
-
available?: boolean | undefined;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strict>;
|
|
15
7
|
export type ListAgentsCommandOptions = z.output<typeof ListAgentsCommandSchema>;
|
|
16
8
|
export type ListAgentsCommandOptionsInput = z.input<typeof ListAgentsCommandSchema>;
|
|
17
9
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/agents/list.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,QAAA,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/agents/list.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,QAAA,MAAM,uBAAuB;;;;kBAMhB,CAAC;AAEd,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAChF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAiIpF;;GAEG;AACH,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,IAAI,CAAC,CAmIf"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const UninstallCommandSchema: z.ZodObject<{
|
|
3
|
-
agents: z.ZodArray<z.ZodString
|
|
3
|
+
agents: z.ZodArray<z.ZodString>;
|
|
4
4
|
all: z.ZodDefault<z.ZodBoolean>;
|
|
5
5
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
},
|
|
7
|
-
agents: string[];
|
|
8
|
-
force: boolean;
|
|
9
|
-
all: boolean;
|
|
10
|
-
}, {
|
|
11
|
-
agents: string[];
|
|
12
|
-
force?: boolean | undefined;
|
|
13
|
-
all?: boolean | undefined;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strict>;
|
|
15
7
|
export type UninstallCommandOptions = z.output<typeof UninstallCommandSchema>;
|
|
16
8
|
export declare function handleUninstallCommand(agents: string[], options: Partial<UninstallCommandOptions>): Promise<void>;
|
|
17
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/agents/uninstall.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,QAAA,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/agents/uninstall.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,QAAA,MAAM,sBAAsB;;;;kBAMf,CAAC;AAEd,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAiC9E,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,MAAM,EAAE,EAChB,OAAO,EAAE,OAAO,CAAC,uBAAuB,CAAC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAkHf"}
|
|
@@ -3,48 +3,20 @@ import { z } from 'zod';
|
|
|
3
3
|
import type { DeployAgent } from './config.js';
|
|
4
4
|
declare const CloudAgentStateSchema: z.ZodObject<{
|
|
5
5
|
status: z.ZodString;
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9
|
-
status: z.ZodString;
|
|
10
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
11
|
-
declare const CloudChatContentPartSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6
|
+
}, z.core.$loose>;
|
|
7
|
+
declare const CloudChatContentPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12
8
|
type: z.ZodLiteral<"text">;
|
|
13
9
|
text: z.ZodString;
|
|
14
|
-
},
|
|
15
|
-
type: "text";
|
|
16
|
-
text: string;
|
|
17
|
-
}, {
|
|
18
|
-
type: "text";
|
|
19
|
-
text: string;
|
|
20
|
-
}>, z.ZodObject<{
|
|
10
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21
11
|
type: z.ZodLiteral<"image">;
|
|
22
12
|
image: z.ZodString;
|
|
23
13
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
24
|
-
},
|
|
25
|
-
type: "image";
|
|
26
|
-
image: string;
|
|
27
|
-
mimeType?: string | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
type: "image";
|
|
30
|
-
image: string;
|
|
31
|
-
mimeType?: string | undefined;
|
|
32
|
-
}>, z.ZodObject<{
|
|
14
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
33
15
|
type: z.ZodLiteral<"file">;
|
|
34
16
|
data: z.ZodString;
|
|
35
17
|
mimeType: z.ZodString;
|
|
36
18
|
filename: z.ZodOptional<z.ZodString>;
|
|
37
|
-
},
|
|
38
|
-
type: "file";
|
|
39
|
-
data: string;
|
|
40
|
-
mimeType: string;
|
|
41
|
-
filename?: string | undefined;
|
|
42
|
-
}, {
|
|
43
|
-
type: "file";
|
|
44
|
-
data: string;
|
|
45
|
-
mimeType: string;
|
|
46
|
-
filename?: string | undefined;
|
|
47
|
-
}>]>;
|
|
19
|
+
}, z.core.$strict>], "type">;
|
|
48
20
|
export interface DeployCloudAgentResult {
|
|
49
21
|
cloudAgentId: string;
|
|
50
22
|
agentUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/client.ts"],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;QACH,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,WAAW,CAAC;KACxB,GACF,OAAO,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;EAyCxD"}
|
|
@@ -4,68 +4,24 @@ export declare const DEFAULT_DEPLOY_EXCLUDES: readonly [".git", "node_modules",
|
|
|
4
4
|
export declare function normalizeWorkspaceRelativePath(value: string): string;
|
|
5
5
|
declare const WorkspaceDeployAgentSchema: z.ZodObject<{
|
|
6
6
|
type: z.ZodLiteral<"workspace">;
|
|
7
|
-
path: z.
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
path: string;
|
|
11
|
-
}, {
|
|
12
|
-
type: "workspace";
|
|
13
|
-
path: string;
|
|
14
|
-
}>;
|
|
15
|
-
export declare const DeployAgentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7
|
+
path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export declare const DeployAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16
10
|
type: z.ZodLiteral<"cloud-default">;
|
|
17
|
-
},
|
|
18
|
-
type: "cloud-default";
|
|
19
|
-
}, {
|
|
20
|
-
type: "cloud-default";
|
|
21
|
-
}>, z.ZodObject<{
|
|
11
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
22
12
|
type: z.ZodLiteral<"workspace">;
|
|
23
|
-
path: z.
|
|
24
|
-
},
|
|
25
|
-
type: "workspace";
|
|
26
|
-
path: string;
|
|
27
|
-
}, {
|
|
28
|
-
type: "workspace";
|
|
29
|
-
path: string;
|
|
30
|
-
}>]>;
|
|
13
|
+
path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
14
|
+
}, z.core.$strict>], "type">;
|
|
31
15
|
export declare const DeployConfigSchema: z.ZodObject<{
|
|
32
16
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
33
|
-
agent: z.ZodDiscriminatedUnion<
|
|
17
|
+
agent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
18
|
type: z.ZodLiteral<"cloud-default">;
|
|
35
|
-
},
|
|
36
|
-
type: "cloud-default";
|
|
37
|
-
}, {
|
|
38
|
-
type: "cloud-default";
|
|
39
|
-
}>, z.ZodObject<{
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
40
20
|
type: z.ZodLiteral<"workspace">;
|
|
41
|
-
path: z.
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}, {
|
|
46
|
-
type: "workspace";
|
|
47
|
-
path: string;
|
|
48
|
-
}>]>;
|
|
49
|
-
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
50
|
-
}, "strict", z.ZodTypeAny, {
|
|
51
|
-
agent: {
|
|
52
|
-
type: "cloud-default";
|
|
53
|
-
} | {
|
|
54
|
-
type: "workspace";
|
|
55
|
-
path: string;
|
|
56
|
-
};
|
|
57
|
-
version: 1;
|
|
58
|
-
exclude: string[];
|
|
59
|
-
}, {
|
|
60
|
-
agent: {
|
|
61
|
-
type: "cloud-default";
|
|
62
|
-
} | {
|
|
63
|
-
type: "workspace";
|
|
64
|
-
path: string;
|
|
65
|
-
};
|
|
66
|
-
version?: 1 | undefined;
|
|
67
|
-
exclude?: string[] | undefined;
|
|
68
|
-
}>;
|
|
21
|
+
path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
22
|
+
}, z.core.$strict>], "type">;
|
|
23
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
24
|
+
}, z.core.$strict>;
|
|
69
25
|
export type DeployConfig = z.output<typeof DeployConfigSchema>;
|
|
70
26
|
export type DeployConfigInput = z.input<typeof DeployConfigSchema>;
|
|
71
27
|
export type DeployAgent = z.output<typeof DeployAgentSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B,QAAqC,CAAC;AAE9E,eAAO,MAAM,uBAAuB,uEAO1B,CAAC;AAEX,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAkBpE;AAwBD,QAAA,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B,QAAqC,CAAC;AAE9E,eAAO,MAAM,uBAAuB,uEAO1B,CAAC;AAEX,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAkBpE;AAwBD,QAAA,MAAM,0BAA0B;;;kBAOnB,CAAC;AAEd,eAAO,MAAM,iBAAiB;;;;;4BAG5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;kBAMlB,CAAC;AAYd,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC/D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACnE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC7D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE/E,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAmB1F;AAED,wBAAsB,gBAAgB,CAClC,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,iBAAiB,GAC1B,OAAO,CAAC,YAAY,CAAC,CAMvB;AAgBD,wBAAgB,8BAA8B,CAC1C,OAAO,GAAE,SAAS,MAAM,EAA4B,GACrD,YAAY,CAQd;AAED,wBAAgB,2BAA2B,CACvC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,SAAS,MAAM,EAA4B,GACrD,YAAY,CASd;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,GAAG,KAAK,IAAI,oBAAoB,CAExF;AAED,wBAAgB,+BAA+B,CAAC,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAahG"}
|
|
@@ -3,15 +3,7 @@ declare const DeployLinkSchema: z.ZodObject<{
|
|
|
3
3
|
cloudAgentId: z.ZodString;
|
|
4
4
|
agentUrl: z.ZodOptional<z.ZodString>;
|
|
5
5
|
updatedAt: z.ZodString;
|
|
6
|
-
},
|
|
7
|
-
cloudAgentId: string;
|
|
8
|
-
updatedAt: string;
|
|
9
|
-
agentUrl?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
cloudAgentId: string;
|
|
12
|
-
updatedAt: string;
|
|
13
|
-
agentUrl?: string | undefined;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strict>;
|
|
15
7
|
export type DeployLink = z.output<typeof DeployLinkSchema>;
|
|
16
8
|
type DeployLinkInput = Pick<z.input<typeof DeployLinkSchema>, 'cloudAgentId' | 'agentUrl'>;
|
|
17
9
|
export declare function loadWorkspaceDeployLink(workspaceRoot: string): Promise<DeployLink | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/state.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,QAAA,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/deploy/state.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,QAAA,MAAM,gBAAgB;;;;kBAMT,CAAC;AASd,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC3D,KAAK,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,CAAC;AA4F3F,wBAAsB,uBAAuB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAG/F;AAED,wBAAsB,uBAAuB,CACzC,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,eAAe,GACtB,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAsB,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAMpF"}
|
|
@@ -13,15 +13,7 @@ declare const ImageInstallCommandSchema: z.ZodObject<{
|
|
|
13
13
|
image: z.ZodString;
|
|
14
14
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
15
15
|
activate: z.ZodDefault<z.ZodBoolean>;
|
|
16
|
-
},
|
|
17
|
-
force: boolean;
|
|
18
|
-
image: string;
|
|
19
|
-
activate: boolean;
|
|
20
|
-
}, {
|
|
21
|
-
image: string;
|
|
22
|
-
force?: boolean | undefined;
|
|
23
|
-
activate?: boolean | undefined;
|
|
24
|
-
}>;
|
|
16
|
+
}, z.core.$strict>;
|
|
25
17
|
export type ImageInstallCommandOptions = z.output<typeof ImageInstallCommandSchema>;
|
|
26
18
|
export type ImageInstallCommandOptionsInput = z.input<typeof ImageInstallCommandSchema>;
|
|
27
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/image.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,QAAA,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/image.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,QAAA,MAAM,yBAAyB;;;;kBAMlB,CAAC;AAcd,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACpF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAExF;;GAEG;AACH,wBAAsB,yBAAyB,CAC3C,OAAO,EAAE,+BAA+B,GACzC,OAAO,CAAC,IAAI,CAAC,CAiBf;AAED;;GAEG;AACH,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,IAAI,CAAC,CAgC5D;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CASrF;AAED;;GAEG;AACH,wBAAsB,wBAAwB,CAAC,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAexF;AAED;;GAEG;AACH,wBAAsB,wBAAwB,IAAI,OAAO,CAAC,IAAI,CAAC,CAa9D"}
|
|
@@ -10,82 +10,44 @@
|
|
|
10
10
|
import { z } from 'zod';
|
|
11
11
|
declare const PluginListCommandSchema: z.ZodObject<{
|
|
12
12
|
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
-
},
|
|
14
|
-
verbose: boolean;
|
|
15
|
-
}, {
|
|
16
|
-
verbose?: boolean | undefined;
|
|
17
|
-
}>;
|
|
13
|
+
}, z.core.$strict>;
|
|
18
14
|
declare const PluginInstallCommandSchema: z.ZodObject<{
|
|
19
15
|
path: z.ZodString;
|
|
20
|
-
scope: z.ZodDefault<z.ZodEnum<
|
|
16
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
17
|
+
local: "local";
|
|
18
|
+
user: "user";
|
|
19
|
+
project: "project";
|
|
20
|
+
}>>;
|
|
21
21
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
22
|
-
},
|
|
23
|
-
path: string;
|
|
24
|
-
force: boolean;
|
|
25
|
-
scope: "local" | "user" | "project";
|
|
26
|
-
}, {
|
|
27
|
-
path: string;
|
|
28
|
-
force?: boolean | undefined;
|
|
29
|
-
scope?: "local" | "user" | "project" | undefined;
|
|
30
|
-
}>;
|
|
22
|
+
}, z.core.$strict>;
|
|
31
23
|
declare const PluginUninstallCommandSchema: z.ZodObject<{
|
|
32
24
|
name: z.ZodString;
|
|
33
|
-
},
|
|
34
|
-
name: string;
|
|
35
|
-
}, {
|
|
36
|
-
name: string;
|
|
37
|
-
}>;
|
|
25
|
+
}, z.core.$strict>;
|
|
38
26
|
declare const PluginValidateCommandSchema: z.ZodObject<{
|
|
39
27
|
path: z.ZodDefault<z.ZodString>;
|
|
40
|
-
},
|
|
41
|
-
path: string;
|
|
42
|
-
}, {
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
}>;
|
|
28
|
+
}, z.core.$strict>;
|
|
45
29
|
declare const MarketplaceAddCommandSchema: z.ZodObject<{
|
|
46
30
|
source: z.ZodString;
|
|
47
31
|
name: z.ZodOptional<z.ZodString>;
|
|
48
|
-
},
|
|
49
|
-
source: string;
|
|
50
|
-
name?: string | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
source: string;
|
|
53
|
-
name?: string | undefined;
|
|
54
|
-
}>;
|
|
32
|
+
}, z.core.$strict>;
|
|
55
33
|
declare const MarketplaceRemoveCommandSchema: z.ZodObject<{
|
|
56
34
|
name: z.ZodString;
|
|
57
|
-
},
|
|
58
|
-
name: string;
|
|
59
|
-
}, {
|
|
60
|
-
name: string;
|
|
61
|
-
}>;
|
|
35
|
+
}, z.core.$strict>;
|
|
62
36
|
declare const MarketplaceUpdateCommandSchema: z.ZodObject<{
|
|
63
37
|
name: z.ZodOptional<z.ZodString>;
|
|
64
|
-
},
|
|
65
|
-
name?: string | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
name?: string | undefined;
|
|
68
|
-
}>;
|
|
38
|
+
}, z.core.$strict>;
|
|
69
39
|
declare const MarketplaceListCommandSchema: z.ZodObject<{
|
|
70
40
|
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
71
|
-
},
|
|
72
|
-
verbose: boolean;
|
|
73
|
-
}, {
|
|
74
|
-
verbose?: boolean | undefined;
|
|
75
|
-
}>;
|
|
41
|
+
}, z.core.$strict>;
|
|
76
42
|
declare const MarketplaceInstallCommandSchema: z.ZodObject<{
|
|
77
43
|
plugin: z.ZodString;
|
|
78
|
-
scope: z.ZodDefault<z.ZodEnum<
|
|
44
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
45
|
+
local: "local";
|
|
46
|
+
user: "user";
|
|
47
|
+
project: "project";
|
|
48
|
+
}>>;
|
|
79
49
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
80
|
-
},
|
|
81
|
-
force: boolean;
|
|
82
|
-
scope: "local" | "user" | "project";
|
|
83
|
-
plugin: string;
|
|
84
|
-
}, {
|
|
85
|
-
plugin: string;
|
|
86
|
-
force?: boolean | undefined;
|
|
87
|
-
scope?: "local" | "user" | "project" | undefined;
|
|
88
|
-
}>;
|
|
50
|
+
}, z.core.$strict>;
|
|
89
51
|
export type PluginListCommandOptions = z.output<typeof PluginListCommandSchema>;
|
|
90
52
|
export type PluginListCommandOptionsInput = z.input<typeof PluginListCommandSchema>;
|
|
91
53
|
export type PluginInstallCommandOptions = z.output<typeof PluginInstallCommandSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/plugin.ts"],"names":[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AAED;;;GAGG;AACH,wBAAsB,2BAA2B,CAC7C,OAAO,EAAE,iCAAiC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAmDf;AAID;;;GAGG;AACH,wBAAsB,2BAA2B,CAC7C,OAAO,EAAE,iCAAiC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAsBf;AAED;;;GAGG;AACH,wBAAsB,8BAA8B,CAChD,OAAO,EAAE,oCAAoC,GAC9C,OAAO,CAAC,IAAI,CAAC,CASf;AAED;;;GAGG;AACH,wBAAsB,8BAA8B,CAChD,OAAO,EAAE,oCAAoC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAmCf;AAED;;;GAGG;AACH,wBAAsB,4BAA4B,CAC9C,OAAO,EAAE,kCAAkC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAqCf;AAED;;;GAGG;AACH,wBAAsB,+BAA+B,CAAC,OAAO,EAAE;IAC3D,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC,GAAG,OAAO,CAAC,IAAI,CAAC,CAkDhB;AAED;;;GAGG;AACH,wBAAsB,+BAA+B,CACjD,OAAO,EAAE,qCAAqC,GAC/C,OAAO,CAAC,IAAI,CAAC,CA2Bf"}
|
|
@@ -1,45 +1,38 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
declare const SetupCommandSchema: z.
|
|
3
|
-
provider: z.ZodOptional<z.ZodEnum<
|
|
2
|
+
declare const SetupCommandSchema: z.ZodObject<{
|
|
3
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4
|
+
"dexto-nova": "dexto-nova";
|
|
5
|
+
openai: "openai";
|
|
6
|
+
"openai-compatible": "openai-compatible";
|
|
7
|
+
anthropic: "anthropic";
|
|
8
|
+
google: "google";
|
|
9
|
+
groq: "groq";
|
|
10
|
+
xai: "xai";
|
|
11
|
+
cohere: "cohere";
|
|
12
|
+
minimax: "minimax";
|
|
13
|
+
glm: "glm";
|
|
14
|
+
openrouter: "openrouter";
|
|
15
|
+
litellm: "litellm";
|
|
16
|
+
glama: "glama";
|
|
17
|
+
vertex: "vertex";
|
|
18
|
+
bedrock: "bedrock";
|
|
19
|
+
local: "local";
|
|
20
|
+
ollama: "ollama";
|
|
21
|
+
}>>;
|
|
4
22
|
model: z.ZodOptional<z.ZodString>;
|
|
5
23
|
defaultAgent: z.ZodDefault<z.ZodString>;
|
|
6
24
|
interactive: z.ZodDefault<z.ZodBoolean>;
|
|
7
25
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
8
|
-
defaultMode: z.ZodOptional<z.ZodEnum<
|
|
26
|
+
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
cli: "cli";
|
|
28
|
+
web: "web";
|
|
29
|
+
server: "server";
|
|
30
|
+
discord: "discord";
|
|
31
|
+
telegram: "telegram";
|
|
32
|
+
mcp: "mcp";
|
|
33
|
+
}>>;
|
|
9
34
|
quickStart: z.ZodDefault<z.ZodBoolean>;
|
|
10
|
-
},
|
|
11
|
-
interactive: boolean;
|
|
12
|
-
force: boolean;
|
|
13
|
-
defaultAgent: string;
|
|
14
|
-
quickStart: boolean;
|
|
15
|
-
provider?: "dexto-nova" | "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
|
|
16
|
-
model?: string | undefined;
|
|
17
|
-
defaultMode?: "cli" | "web" | "server" | "discord" | "telegram" | "mcp" | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
interactive?: boolean | undefined;
|
|
20
|
-
provider?: "dexto-nova" | "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
|
|
21
|
-
model?: string | undefined;
|
|
22
|
-
force?: boolean | undefined;
|
|
23
|
-
defaultAgent?: string | undefined;
|
|
24
|
-
defaultMode?: "cli" | "web" | "server" | "discord" | "telegram" | "mcp" | undefined;
|
|
25
|
-
quickStart?: boolean | undefined;
|
|
26
|
-
}>, {
|
|
27
|
-
interactive: boolean;
|
|
28
|
-
force: boolean;
|
|
29
|
-
defaultAgent: string;
|
|
30
|
-
quickStart: boolean;
|
|
31
|
-
provider?: "dexto-nova" | "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
|
|
32
|
-
model?: string | undefined;
|
|
33
|
-
defaultMode?: "cli" | "web" | "server" | "discord" | "telegram" | "mcp" | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
interactive?: boolean | undefined;
|
|
36
|
-
provider?: "dexto-nova" | "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
|
|
37
|
-
model?: string | undefined;
|
|
38
|
-
force?: boolean | undefined;
|
|
39
|
-
defaultAgent?: string | undefined;
|
|
40
|
-
defaultMode?: "cli" | "web" | "server" | "discord" | "telegram" | "mcp" | undefined;
|
|
41
|
-
quickStart?: boolean | undefined;
|
|
42
|
-
}>;
|
|
35
|
+
}, z.core.$strict>;
|
|
43
36
|
export type CLISetupOptions = z.output<typeof SetupCommandSchema>;
|
|
44
37
|
export type CLISetupOptionsInput = z.input<typeof SetupCommandSchema>;
|
|
45
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/setup.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+DxB,QAAA,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/setup.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+DxB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8ClB,CAAC;AAEP,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAsKtE;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAsC9F"}
|
|
@@ -2,13 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
declare const UninstallCliCommandSchema: z.ZodObject<{
|
|
3
3
|
purge: z.ZodDefault<z.ZodBoolean>;
|
|
4
4
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
5
|
-
},
|
|
6
|
-
dryRun: boolean;
|
|
7
|
-
purge: boolean;
|
|
8
|
-
}, {
|
|
9
|
-
dryRun?: boolean | undefined;
|
|
10
|
-
purge?: boolean | undefined;
|
|
11
|
-
}>;
|
|
5
|
+
}, z.core.$strict>;
|
|
12
6
|
export type UninstallCliCommandOptions = z.output<typeof UninstallCliCommandSchema>;
|
|
13
7
|
export declare function handleUninstallCliCommand(options: Partial<UninstallCliCommandOptions>): Promise<void>;
|
|
14
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/uninstall.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,QAAA,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/uninstall.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,QAAA,MAAM,yBAAyB;;;kBAKlB,CAAC;AAEd,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAoDpF,wBAAsB,yBAAyB,CAC3C,OAAO,EAAE,OAAO,CAAC,0BAA0B,CAAC,GAC7C,OAAO,CAAC,IAAI,CAAC,CAgFf"}
|
|
@@ -2,13 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
declare const UpgradeCommandSchema: z.ZodObject<{
|
|
3
3
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
4
4
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
5
|
-
},
|
|
6
|
-
force: boolean;
|
|
7
|
-
dryRun: boolean;
|
|
8
|
-
}, {
|
|
9
|
-
force?: boolean | undefined;
|
|
10
|
-
dryRun?: boolean | undefined;
|
|
11
|
-
}>;
|
|
5
|
+
}, z.core.$strict>;
|
|
12
6
|
export type UpgradeCommandOptions = z.output<typeof UpgradeCommandSchema>;
|
|
13
7
|
export declare function handleUpgradeCommand(versionArg: string | undefined, options: Partial<UpgradeCommandOptions>): Promise<void>;
|
|
14
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/upgrade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,QAAA,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/upgrade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,QAAA,MAAM,oBAAoB;;;kBAKb,CAAC;AAEd,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AA+D1E,wBAAsB,oBAAoB,CACtC,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,GACxC,OAAO,CAAC,IAAI,CAAC,CAqEf"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const WhichCommandSchema: z.ZodObject<{
|
|
3
3
|
agentName: z.ZodString;
|
|
4
|
-
},
|
|
5
|
-
agentName: string;
|
|
6
|
-
}, {
|
|
7
|
-
agentName: string;
|
|
8
|
-
}>;
|
|
4
|
+
}, z.core.$strict>;
|
|
9
5
|
export type WhichCommandOptions = z.output<typeof WhichCommandSchema>;
|
|
10
6
|
/**
|
|
11
7
|
* Handle the which command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"which.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/which.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,QAAA,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"which.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/which.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,QAAA,MAAM,kBAAkB;;kBAIX,CAAC;AAEd,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAgBtE;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgBzE"}
|
|
@@ -19,7 +19,7 @@ export function validateCliOptions(opts) {
|
|
|
19
19
|
strict: z.boolean().optional().default(false),
|
|
20
20
|
verbose: z.boolean().optional().default(true),
|
|
21
21
|
mode: z.enum(['web', 'cli', 'server', 'discord', 'telegram', 'mcp'], {
|
|
22
|
-
|
|
22
|
+
error: () => ({
|
|
23
23
|
message: 'Mode must be one of "web", "cli", "server", "discord", "telegram", or "mcp"',
|
|
24
24
|
}),
|
|
25
25
|
}),
|
|
@@ -99,7 +99,7 @@ export function validateCliOptions(opts) {
|
|
|
99
99
|
export function handleCliOptionsError(error) {
|
|
100
100
|
if (error instanceof z.ZodError) {
|
|
101
101
|
console.error(chalk.red('❌ Invalid command-line options detected:'));
|
|
102
|
-
error.
|
|
102
|
+
error.issues.forEach((err) => {
|
|
103
103
|
const fieldName = err.path.join('.') || 'Unknown Option';
|
|
104
104
|
console.error(chalk.red(` • Option '${fieldName}': ${err.message}`));
|
|
105
105
|
});
|
|
@@ -3,7 +3,10 @@ export type InstallMethod = 'native' | 'npm' | 'project-local' | 'unknown';
|
|
|
3
3
|
export type UnsupportedPackageManager = 'pnpm' | 'bun';
|
|
4
4
|
declare const InstallMetadataSchema: z.ZodObject<{
|
|
5
5
|
schemaVersion: z.ZodDefault<z.ZodNumber>;
|
|
6
|
-
method: z.ZodEnum<
|
|
6
|
+
method: z.ZodEnum<{
|
|
7
|
+
npm: "npm";
|
|
8
|
+
native: "native";
|
|
9
|
+
}>;
|
|
7
10
|
installedPath: z.ZodString;
|
|
8
11
|
installedAt: z.ZodString;
|
|
9
12
|
version: z.ZodString;
|
|
@@ -11,27 +14,7 @@ declare const InstallMetadataSchema: z.ZodObject<{
|
|
|
11
14
|
releaseTag: z.ZodOptional<z.ZodString>;
|
|
12
15
|
platform: z.ZodOptional<z.ZodString>;
|
|
13
16
|
arch: z.ZodOptional<z.ZodString>;
|
|
14
|
-
},
|
|
15
|
-
method: "npm" | "native";
|
|
16
|
-
version: string;
|
|
17
|
-
schemaVersion: number;
|
|
18
|
-
installedPath: string;
|
|
19
|
-
installedAt: string;
|
|
20
|
-
sourceUrl?: string | undefined;
|
|
21
|
-
releaseTag?: string | undefined;
|
|
22
|
-
platform?: string | undefined;
|
|
23
|
-
arch?: string | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
method: "npm" | "native";
|
|
26
|
-
version: string;
|
|
27
|
-
installedPath: string;
|
|
28
|
-
installedAt: string;
|
|
29
|
-
schemaVersion?: number | undefined;
|
|
30
|
-
sourceUrl?: string | undefined;
|
|
31
|
-
releaseTag?: string | undefined;
|
|
32
|
-
platform?: string | undefined;
|
|
33
|
-
arch?: string | undefined;
|
|
34
|
-
}>;
|
|
17
|
+
}, z.core.$strict>;
|
|
35
18
|
export type InstallMetadata = z.output<typeof InstallMetadataSchema>;
|
|
36
19
|
interface InstallDetectionResult {
|
|
37
20
|
method: InstallMethod;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"self-management.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/self-management.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,GAAG,SAAS,CAAC;AAC3E,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,KAAK,CAAC;AAEvD,QAAA,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"self-management.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/self-management.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,GAAG,SAAS,CAAC;AAC3E,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,KAAK,CAAC;AAEvD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;kBAYd,CAAC;AAEd,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAErE,UAAU,sBAAsB;IAC5B,MAAM,EAAE,aAAa,CAAC;IACtB,MAAM,EAAE,UAAU,GAAG,WAAW,CAAC;IACjC,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,gBAAgB,EAAE,M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