Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
37 lines
1.3 KiB
Go
37 lines
1.3 KiB
Go
package main
|
|
|
|
import (
|
|
"github.com/steveyegge/beads/cmd/bd/doctor"
|
|
"github.com/steveyegge/beads/cmd/bd/setup"
|
|
"github.com/steveyegge/beads/internal/config"
|
|
"github.com/steveyegge/beads/internal/storage/domain"
|
|
"github.com/steveyegge/beads/internal/templates/agents"
|
|
)
|
|
|
|
func newBeadsDirTemplates() domain.BeadsDirTemplates {
|
|
return domain.BeadsDirTemplates{
|
|
BeadsGitignore: doctor.GitignoreTemplate,
|
|
ProjectGitignoreHeader: doctor.ProjectGitignoreHeader,
|
|
ProjectGitignorePatterns: doctor.ProjectGitignorePatterns,
|
|
Readme: BeadsReadmeTemplate,
|
|
}
|
|
}
|
|
|
|
func newFileSystemAdapters() domain.BeadsDirFSAdapters {
|
|
return domain.BeadsDirFSAdapters{
|
|
ApplyNoCOW: applyNoCOW,
|
|
WriteLocalVersion: writeLocalVersion,
|
|
SetupForkExclude: setupForkExclude,
|
|
SetupStealthMode: setupStealthMode,
|
|
InstallGitHooks: func(p domain.HooksInstallParams) error {
|
|
return installHooksWithOptions(p.HookNames, p.Force, p.Shared, p.Chain, p.BeadsHooks)
|
|
},
|
|
InstallJJHooks: installJJHooks,
|
|
AddAgentsInstructions: func(p domain.AgentsFileParams) {
|
|
addAgentsInstructions(p.File, p.Verbose, p.TemplatePath, agents.Profile(p.Profile), agents.RenderOpts{HasRemote: p.HasRemote, NoPush: p.NoPush})
|
|
},
|
|
InstallClaudeProject: setup.InstallClaudeProject,
|
|
SetYAMLConfig: config.SetYamlConfig,
|
|
}
|
|
}
|