forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ts
More file actions
38 lines (36 loc) · 1.53 KB
/
index.ts
File metadata and controls
38 lines (36 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import type { PluginInitializer, PluginInitializerContext } from '@kbn/core/public';
import type {
AgentBuilderPluginSetup,
AgentBuilderPluginStart,
AgentBuilderSetupDependencies,
AgentBuilderStartDependencies,
ConfigSchema,
} from './types';
import { AgentBuilderPlugin } from './plugin';
import { AGENTBUILDER_FEATURE_ID, AGENTBUILDER_APP_ID, uiPrivileges } from '../common/features';
import { type CreateSkillResponse, SKILLS_API_PATH } from '../common/http_api/skills';
import { MCP_SERVER_PATH } from '../common/mcp';
export type {
AgentBuilderPluginSetup,
AgentBuilderPluginStart,
PublicEmbeddableConversationProps,
} from './types';
export type { EmbeddableConversationProps } from './embeddable/types';
export { AGENTBUILDER_FEATURE_ID, AGENTBUILDER_APP_ID, uiPrivileges, MCP_SERVER_PATH };
export { type CreateSkillResponse, SKILLS_API_PATH };
export { ConversationInputShell } from '@kbn/agent-builder-browser';
export type { ConversationInputShellProps } from '@kbn/agent-builder-browser';
export const plugin: PluginInitializer<
AgentBuilderPluginSetup,
AgentBuilderPluginStart,
AgentBuilderSetupDependencies,
AgentBuilderStartDependencies
> = (pluginInitializerContext: PluginInitializerContext<ConfigSchema>) => {
return new AgentBuilderPlugin(pluginInitializerContext);
};