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>
28 lines
723 B
C
28 lines
723 B
C
/* Plumbing with collition-detecting SHA1 code */
|
|
|
|
#ifdef DC_SHA1_EXTERNAL
|
|
#include <sha1dc/sha1.h>
|
|
#elif defined(DC_SHA1_SUBMODULE)
|
|
#include "sha1collisiondetection/lib/sha1.h"
|
|
#else
|
|
#include "sha1dc/sha1.h"
|
|
#endif
|
|
|
|
#ifdef DC_SHA1_EXTERNAL
|
|
void git_SHA1DCInit(SHA1_CTX *);
|
|
#else
|
|
#define git_SHA1DCInit SHA1DCInit
|
|
#endif
|
|
|
|
void git_SHA1DCFinal(unsigned char [20], SHA1_CTX *);
|
|
void git_SHA1DCUpdate(SHA1_CTX *ctx, const void *data, unsigned long len);
|
|
|
|
#define platform_SHA_IS_SHA1DC /* used by "test-tool sha1-is-sha1dc" */
|
|
|
|
#ifndef platform_SHA_CTX
|
|
#define platform_SHA_CTX SHA1_CTX
|
|
#define platform_SHA1_Init git_SHA1DCInit
|
|
#define platform_SHA1_Update git_SHA1DCUpdate
|
|
#define platform_SHA1_Final git_SHA1DCFinal
|
|
#endif
|