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>
51 lines
1.3 KiB
C
51 lines
1.3 KiB
C
#ifndef FSMONITOR_IPC_H
|
|
#define FSMONITOR_IPC_H
|
|
|
|
#include "simple-ipc.h"
|
|
|
|
struct repository;
|
|
|
|
/*
|
|
* Returns true if built-in file system monitor daemon is defined
|
|
* for this platform.
|
|
*/
|
|
int fsmonitor_ipc__is_supported(void);
|
|
|
|
/*
|
|
* Returns the pathname to the IPC named pipe or Unix domain socket
|
|
* where a `git-fsmonitor--daemon` process will listen. This is a
|
|
* per-worktree value.
|
|
*
|
|
* Returns NULL if the daemon is not supported on this platform.
|
|
*/
|
|
const char *fsmonitor_ipc__get_path(struct repository *r);
|
|
|
|
/*
|
|
* Try to determine whether there is a `git-fsmonitor--daemon` process
|
|
* listening on the IPC pipe/socket.
|
|
*/
|
|
enum ipc_active_state fsmonitor_ipc__get_state(void);
|
|
|
|
/*
|
|
* Connect to a `git-fsmonitor--daemon` process via simple-ipc
|
|
* and ask for the set of changed files since the given token.
|
|
*
|
|
* Spawn a daemon process in the background if necessary.
|
|
*
|
|
* Returns -1 on error; 0 on success.
|
|
*/
|
|
int fsmonitor_ipc__send_query(const char *since_token,
|
|
struct strbuf *answer);
|
|
|
|
/*
|
|
* Connect to a `git-fsmonitor--daemon` process via simple-ipc and
|
|
* send a command verb. If no daemon is available, we DO NOT try to
|
|
* start one.
|
|
*
|
|
* Returns -1 on error; 0 on success.
|
|
*/
|
|
int fsmonitor_ipc__send_command(const char *command,
|
|
struct strbuf *answer);
|
|
|
|
#endif /* FSMONITOR_IPC_H */
|