fix: add local type imports for AgentIdentity and DisclawConfig #52
No reviewers
Labels
No labels
blocked
needs-review
phase:0
phase:1
phase:1.5
phase:2
phase:3
phase:4
phase:5
phase:6+
priority:p0
priority:p1
priority:p2
security
type:chore
type:ci
type:docs
type:feat
type:fix
type:idea
type:known-issue
type:refactor
type:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: dev/disclaw#52
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/zod-pino-type-imports"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Nach dem Merge von DIS-107 (Zod-Schemas) schl�gt
npm run buildfehl:export type { X } fromre-exportiert den Typ f�r externe Konsumenten, macht ihn aber nicht als lokalen Namen innerhalb derselben Datei verf�gbar.Zus�tzlich fehlte
npm installf�rpinoundzod(neue Deps aus DIS-101 und DIS-107).Fix
src/agent/identity.ts:import type { AgentYaml as AgentIdentity }hinzugef�gtsrc/config/loader.ts:import type { DisclawConfig }hinzugef�gtnpm installauf main ausf�hren um pino/zod zu installierenVerification
npm run build && npm test� 53/53 gr�n.Re-exported types via 'export type { X } from' are not available as local names in the same file. Add explicit 'import type' statements so TypeScript can resolve the types used in function signatures. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>Pull request closed