@aviaratech/ai-delivery 0.3.22 → 0.3.23
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/README.md +32 -6
- package/dist/cli.js +47 -0
- package/dist/cli.js.map +1 -1
- package/dist/delivery/common.d.ts +4 -1
- package/dist/delivery/common.js +49 -6
- package/dist/delivery/common.js.map +1 -1
- package/dist/delivery/stage.d.ts +6 -0
- package/dist/delivery/stage.js +11 -2
- package/dist/delivery/stage.js.map +1 -1
- package/dist/mcp/index.js +2 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/tools.d.ts +1 -0
- package/dist/mcp/tools.js +1 -0
- package/dist/mcp/tools.js.map +1 -1
- package/dist/pluginInstaller.d.ts +51 -0
- package/dist/pluginInstaller.js +774 -0
- package/dist/pluginInstaller.js.map +1 -0
- package/dist/pluginInstaller.test.d.ts +1 -0
- package/dist/pluginInstaller.test.js +543 -0
- package/dist/pluginInstaller.test.js.map +1 -0
- package/dist/pluginPackaging.test.d.ts +1 -0
- package/dist/pluginPackaging.test.js +116 -0
- package/dist/pluginPackaging.test.js.map +1 -0
- package/dist/setup.d.ts +1 -0
- package/dist/setup.js +71 -10
- package/dist/setup.js.map +1 -1
- package/dist/setup.test.js +584 -199
- package/dist/setup.test.js.map +1 -1
- package/dist/verification.d.ts +61 -0
- package/dist/verification.js +168 -6
- package/dist/verification.js.map +1 -1
- package/package.json +4 -4
- package/plugins/ai-delivery/.claude-plugin/plugin.json +6 -1
- package/plugins/ai-delivery/LICENSE +21 -0
- package/plugins/ai-delivery/README.md +4 -2
- package/plugins/ai-delivery/dist/mcp-launcher.js +19 -8
- package/plugins/ai-delivery/mcp.json +10 -0
- package/plugins/ai-delivery/plugin.json +10 -0
- package/plugins/ai-delivery/runtime/dist/THIRD-PARTY-NOTICES.md +1010 -0
- package/plugins/ai-delivery/runtime/dist/cli.js +285 -0
- package/plugins/ai-delivery/runtime/package.json +13 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const InputSchema: z.ZodObject<{
|
|
3
|
+
action: z.ZodEnum<{
|
|
4
|
+
update: "update";
|
|
5
|
+
remove: "remove";
|
|
6
|
+
install: "install";
|
|
7
|
+
doctor: "doctor";
|
|
8
|
+
rollback: "rollback";
|
|
9
|
+
}>;
|
|
10
|
+
host: z.ZodEnum<{
|
|
11
|
+
codex: "codex";
|
|
12
|
+
"claude-code": "claude-code";
|
|
13
|
+
}>;
|
|
14
|
+
scope: z.ZodEnum<{
|
|
15
|
+
project: "project";
|
|
16
|
+
user: "user";
|
|
17
|
+
local: "local";
|
|
18
|
+
}>;
|
|
19
|
+
version: z.ZodOptional<z.ZodString>;
|
|
20
|
+
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
21
|
+
repoRoot: z.ZodString;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
type Input = z.infer<typeof InputSchema>;
|
|
24
|
+
export interface PluginResult {
|
|
25
|
+
action: Input['action'];
|
|
26
|
+
host: Input['host'];
|
|
27
|
+
scope: Input['scope'];
|
|
28
|
+
version: string | null;
|
|
29
|
+
changed: boolean;
|
|
30
|
+
dryRun: boolean;
|
|
31
|
+
installed: boolean;
|
|
32
|
+
marketplace: string;
|
|
33
|
+
managedDirectory: string;
|
|
34
|
+
repositoryAdmission: 'explicit_stage_and_admit_required';
|
|
35
|
+
nativePluginRoot?: string;
|
|
36
|
+
nativeCachePath?: string;
|
|
37
|
+
nativeVersion?: string;
|
|
38
|
+
sourceIntegrity?: boolean;
|
|
39
|
+
enabled?: boolean;
|
|
40
|
+
skills?: string[];
|
|
41
|
+
mcp?: {
|
|
42
|
+
configuration: string;
|
|
43
|
+
startup: string;
|
|
44
|
+
version?: string;
|
|
45
|
+
error?: string;
|
|
46
|
+
};
|
|
47
|
+
restartRequired?: boolean;
|
|
48
|
+
recoveryRequired?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare function managePlugin(value: unknown): Promise<PluginResult>;
|
|
51
|
+
export {};
|