Molecules are now defined as formula files in .beads/formulas/ and cooked into proto beads via `bd cook`. This removes: - molecules_patrol.go (695 lines) - molecules_session.go (544 lines) - molecules_work.go (444 lines) - builtin_molecules_test.go - christmas_ornament_test.go Updates: - builtin_molecules.go: stub deprecated functions - install.go: remove molecule seeding (formulas are cooked on-demand) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
1.2 KiB
Go
29 lines
1.2 KiB
Go
// Package beads provides a wrapper for the bd (beads) CLI.
|
|
package beads
|
|
|
|
// BuiltinMolecule defines a built-in molecule template.
|
|
// Deprecated: Molecules are now defined as formula files in .beads/formulas/
|
|
// and cooked into proto beads via `bd cook`. This type remains for backward
|
|
// compatibility but is no longer used.
|
|
type BuiltinMolecule struct {
|
|
ID string // Well-known ID (e.g., "mol-engineer-in-box")
|
|
Title string
|
|
Description string
|
|
}
|
|
|
|
// BuiltinMolecules returns all built-in molecule definitions.
|
|
// Deprecated: Molecules are now defined as formula files (.beads/formulas/*.formula.json)
|
|
// and cooked into proto beads via `bd cook`. This function returns an empty slice.
|
|
// Use `bd cook` to create proto beads from formulas instead.
|
|
func BuiltinMolecules() []BuiltinMolecule {
|
|
return []BuiltinMolecule{}
|
|
}
|
|
|
|
// SeedBuiltinMolecules is deprecated and does nothing.
|
|
// Molecules are now created by cooking formula files with `bd cook`.
|
|
// This function remains for backward compatibility with existing installations.
|
|
func (b *Beads) SeedBuiltinMolecules() (int, error) {
|
|
// No-op: formulas are cooked on-demand, not seeded at install time
|
|
return 0, nil
|
|
}
|