Skip to content

Commit

Permalink
refactor: add agentPlugins and schema feature
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeeorgreentea committed Aug 2, 2024
1 parent 4b34fdd commit 23f3271
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grimoire/src/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import type { NitroConfig } from 'nitro/types'

export type { NitroConfig } from 'nitro/types'

type GrimoireConfig = {
agent: {
name: string
Expand All @@ -13,3 +11,5 @@ type GrimoireConfig = {
export function defineGrimoireConfig(config: GrimoireConfig): GrimoireConfig {
return config
}

export type { NitroConfig, GrimoireConfig }
4 changes: 4 additions & 0 deletions grimoire/src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { defineNovaModule } from 'nova'
export const agentModule = defineNovaModule({
name: 'grimoire',
features: {
agentPlugins: 'agentPlugins',
nodes: 'nodes',
schemas: 'schemas',
tools: 'tools',
templates: 'templates',
},
pluginsDir: './runtime/plugins',
metaUrl: import.meta.url,
Expand Down

0 comments on commit 23f3271

Please sign in to comment.