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>
44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
// @ts-check
|
|
|
|
import eslint from '@eslint/js';
|
|
import { defineConfig } from 'eslint/config';
|
|
import tseslint from 'typescript-eslint';
|
|
import eslintPluginPrettier from 'eslint-plugin-prettier/recommended';
|
|
import globals from 'globals';
|
|
|
|
export default defineConfig(
|
|
eslint.configs.recommended,
|
|
tseslint.configs.recommended,
|
|
eslintPluginPrettier, // Automatically disables eslint formatting rules and enables `prettier`
|
|
{
|
|
ignores: ['dist/', 'node_modules/', 'src/types.ts', 'build/'],
|
|
},
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{
|
|
// Ignore error for unused args and caught errors if with '_' prefix
|
|
argsIgnorePattern: '^_',
|
|
caughtErrorsIgnorePattern: '^_',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
files: ['test/**/*.ts', 'src/samples/**/*.ts'],
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'off', // Allow the usage of `any` in the test files and in samples
|
|
'@typescript-eslint/no-unused-expressions': 'off', // Allow unused expressions in test files, for compatibility with 'chai'
|
|
},
|
|
},
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
// Define global variables for Node.js environment
|
|
...globals.node,
|
|
},
|
|
},
|
|
}
|
|
);
|