feat: add TraitsTab component for managing agent traits
Some checks failed
CI / build-and-test (push) Failing after -32m5s
Some checks failed
CI / build-and-test (push) Failing after -32m5s
- Implemented TraitsTab.svelte to handle CRUD operations for agent traits. - Integrated grid for displaying traits with context menu actions for add, edit, and delete. - Added trait instruction editing functionality with a dedicated editor. - Updated AdminShell to include PersonasPage for navigation. - Enhanced AppSidebar with a new entry for Personas. - Extended ShellPage type to include 'personas'. - Defined new types for AgentPersona, AgentPart, and AgentTrait in types.ts.
This commit is contained in:
15
scripts/templates/resolvespec_models.tmpl
Normal file
15
scripts/templates/resolvespec_models.tmpl
Normal file
@@ -0,0 +1,15 @@
|
||||
// Code generated by relspec templ. DO NOT EDIT.
|
||||
package app
|
||||
|
||||
import "git.warky.dev/wdevs/amcs/internal/generatedmodels"
|
||||
|
||||
func resolveSpecModels() []resolveSpecModel {
|
||||
return []resolveSpecModel{
|
||||
{{- range sortBy .Database.Schemas "Name" }}
|
||||
{{- $schema := .Name }}
|
||||
{{- range sortBy .Tables "Name" }}
|
||||
{schema: "{{$schema}}", entity: "{{ .Name }}", model: generatedmodels.Model{{ $schema | toPascalCase }}{{ .Name | toPascalCase }}{}},
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user