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.
1.2 KiB
1.2 KiB
Fixed the Gitea build break caused by go:embed requiring internal/app/ui/dist to exist in a clean checkout.
Changes made:
- Added
internal/app/ui/dist/placeholder.txtso the embedded UI directory is always present in source control. - Updated
internal/mcpserver/server_test.goto derive expected tool names fromBuildToolCatalog()instead of a stale hard-coded list. - Removed stale maintenance tool entries from
internal/mcpserver/server.gobecause those tools are not currently registered.
Verification:
env GOCACHE=/tmp/go-build go test ./internal/mcpserver -run TestNewListsAllRegisteredTools -vpasses.- A broader
go test ./internal/app ./cmd/amcs-servercompile check was started, but it did not finish before this log entry was written.
Migration follow-up:
- Fixed
migrations/020_generated_schema.sqlafter PostgreSQL failed withoperator does not exist: name[] = text[]. - Root cause:
pg_attribute.attnameis typename, soARRAY(SELECT a.attname ...)producedname[], which was compared againsttext[]literals. - Updated each repeated primary-key introspection block to use
SELECT a.attname::text, keeping the existingARRAY[]::text[]andARRAY['id']/ARRAY['persona_id']comparisons valid.