@ev-ai/agent-hook 1.4.1 → 1.4.2
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/COLLECTED-DATA.md +2 -2
- package/README.md +2 -2
- package/dist/cli.mjs +50 -50
- package/dist/hook.mjs +46 -46
- package/dist/launcher-update.mjs +6 -6
- package/dist/launcher.mjs +7 -7
- package/dist/managed-hooks-snippet.cjs +1759 -254
- package/dist/managed-hooks-snippet.d.ts +41 -4
- package/dist/managed-hooks-snippet.mjs +1750 -254
- package/dist/plugin-hooks.mjs +1201 -243
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type KnownRunner = 'claude' | 'cursor' | 'codex' | 'copilot';
|
|
1
|
+
export type KnownRunner = 'claude' | 'cursor' | 'codex' | 'copilot' | 'antigravity';
|
|
2
2
|
export const NPX_PACKAGE_SPEC: string;
|
|
3
|
-
export function buildCollectorUrl(orgToken: string, baseUrl
|
|
3
|
+
export function buildCollectorUrl(orgToken: string, baseUrl: string): string;
|
|
4
4
|
export function managedHooksSnippet(
|
|
5
|
-
runner: Exclude<KnownRunner, 'copilot'>,
|
|
5
|
+
runner: Exclude<KnownRunner, 'copilot' | 'antigravity'>,
|
|
6
6
|
collectorUrl: string,
|
|
7
7
|
packageSpec?: string,
|
|
8
8
|
): string;
|
|
@@ -14,7 +14,44 @@ export interface CopilotPluginSettings {
|
|
|
14
14
|
enabledPlugins: Record<string, boolean>;
|
|
15
15
|
mcpAllowlistEntry: Record<string, unknown>;
|
|
16
16
|
}
|
|
17
|
+
export interface CopilotPluginSettingsOptions {
|
|
18
|
+
sourceRepo: string;
|
|
19
|
+
marketplaceName?: string;
|
|
20
|
+
pluginName?: string;
|
|
21
|
+
ownerName?: string;
|
|
22
|
+
}
|
|
17
23
|
export function managedCopilotPluginSettings(
|
|
18
24
|
collectorUrl: string,
|
|
19
|
-
options:
|
|
25
|
+
options: CopilotPluginSettingsOptions,
|
|
20
26
|
): CopilotPluginSettings;
|
|
27
|
+
export const ANTIGRAVITY_HOOK_NAME: string;
|
|
28
|
+
export const ANTIGRAVITY_OPERATING_SYSTEMS: readonly ['macos', 'linux', 'windows'];
|
|
29
|
+
export type AntigravityOs = 'macos' | 'linux' | 'windows';
|
|
30
|
+
export const ANTIGRAVITY_MERGE_SCRIPT: string;
|
|
31
|
+
export interface AntigravityHooksOptions {
|
|
32
|
+
os?: AntigravityOs;
|
|
33
|
+
pluginName?: string;
|
|
34
|
+
installDir?: string;
|
|
35
|
+
}
|
|
36
|
+
export function managedAntigravityHooksJson(
|
|
37
|
+
collectorUrl: string,
|
|
38
|
+
options?: AntigravityHooksOptions,
|
|
39
|
+
): string;
|
|
40
|
+
export function antigravityInstallDir(pluginName: string, os: AntigravityOs): string;
|
|
41
|
+
export function antigravityMergeCommand(hooksJson: string): string;
|
|
42
|
+
export interface AntigravityReleaseAssets {
|
|
43
|
+
tarball: string;
|
|
44
|
+
zip: string;
|
|
45
|
+
checksums: string;
|
|
46
|
+
}
|
|
47
|
+
export function antigravityReleaseAssets(pluginName: string): AntigravityReleaseAssets;
|
|
48
|
+
export interface AntigravityMdmScriptOptions {
|
|
49
|
+
os: AntigravityOs;
|
|
50
|
+
pluginName: string;
|
|
51
|
+
marketplaceRepo: string;
|
|
52
|
+
}
|
|
53
|
+
export function managedAntigravityMdmScript(
|
|
54
|
+
collectorUrl: string,
|
|
55
|
+
options: AntigravityMdmScriptOptions,
|
|
56
|
+
): string;
|
|
57
|
+
export function antigravityMdmScriptFileName(pluginName: string, os: AntigravityOs): string;
|