aisync

package
v0.18.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package aisync mirrors a Claude Code session's TodoWrite list into the nt store (SPEC §8, §10). It is driven by a PostToolUse hook: Claude rewrites its whole todo list on every change, so the sync is idempotent — it keeps a per-session map of todo → nt ULID and upserts rather than duplicating.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sync

func Sync(eng *mutate.Engine, data []byte) error

Sync applies a hook payload to the store. Non-TodoWrite events and malformed input are ignored (returns nil) so a hook never breaks the session.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL