Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

llm-lean-log-cli

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

llm-lean-log-cli - npm Package Compare versions

Comparing version
0.2.9
to
0.2.16
+1
-1
dist/utils/cli.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/utils/cli.ts"],"names":[],"mappings":";AAEA;;GAEG;AAcH,wBAAsB,IAAI,CAAC,OAAO,EAAE,MAAM,iBAkLzC"}
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/utils/cli.ts"],"names":[],"mappings":";AAEA;;GAEG;AAiBH,wBAAsB,IAAI,CAAC,OAAO,EAAE,MAAM,iBA+QzC"}

@@ -1,7 +0,7 @@

export declare const VERSION = "0.2.9";
export declare const VERSION = "0.2.16";
/**
* Help text for LLMs in CSV format
*/
export declare const helpText = "l-log CLI - Usage: l-log <command> [log-file] [options]\n\ncommand,options,description\nlist|ls,\"--compact|-c,--human\",List all log entries\nstats,--human,Show log statistics\nview <index>,\"--last,--human\",View detailed entry at index\nsearch <query>,--human,Search logs by name/problem/solution\ntags <tag1> [tag2],--human,Filter logs by tags\nadd <name>,\"--tags=<tags>,--problem=<text>,--solution=<text>,--action=<text>,--files=<files>,--tech-stack=<tech>,--model=<name>,--cause=<text>,--causeIds=<ids>,--effectIds=<ids>,--created-at=<time>,--updated-at=<time>,--created-by-agent=<name>\",Add a new log entry\nhelp|-h|--help,--human,Show this help message\n-v|-V|--version,,Show version number\n\nexamples\nl-log list ./logs/example.csv\nl-log stats\nl-log view 0\nl-log view --last\nl-log search \"memory\"\nl-log tags error api\nl-log add ./logs/chat.csv \"Fix bug\" --tags=bug,fix --problem=\"Bug description\" --files=\"file1.ts,src/file2.ts\" --tech-stack=\"ts,react\" --cause=\"\" --causeIds=\"721ace2b-5e73-4901-bef9-97de16bf170f\" --model=\"gpt-4o\"\n";
export declare const helpTextForHuman = "l-log CLI\n\nUsage: l-log <command> [log-file] [options]\n\nCommands:\n list, ls List all log entries\n --compact, -c Show compact view\n --human Show human-readable output (with colors)\n \n stats Show log statistics\n --human Show human-readable output (with colors)\n \n view <index> View detailed entry at index\n --last Show the last log entry\n --human Show human-readable output (with colors)\n \n search <query> Search logs by name, problem, or solution\n --human Show human-readable output (with colors)\n \n tags <tag1> [tag2] Filter logs by tags\n --human Show human-readable output (with colors)\n \n add <name> Add a new log entry\n --tags=<tags> Comma-separated tags, wrap with double quotes if multiple tags\n --problem=<text> Problem description\n --solution=<text> Solution description\n --action=<text> Action taken\n --files=<files> Comma-separated files paths, wrap with double quotes if multiple files\n --tech-stack=<tech> Comma-separated tech stack, wrap with double quotes if multiple tech stack\n --model=<name> Model name\n --cause=<text> Cause description\n --causeIds=<ids> Comma-separated cause log row UUIDs, wrap with double quotes if multiple cause log row UUIDs\n --effectIds=<ids> Comma-separated effect log row UUIDs, wrap with double quotes if multiple effect log row UUIDs\n --last-commit-short-sha=<sha> Last git commit short SHA\n --created-at=<time> Creation time (ISO 8601 formatted string)\n --updated-at=<time> Update time (ISO 8601 formatted string)\n --created-by-agent=<name> Agent model name\n \n help, -h, --help Show this help message\n --human Show human-readable output (default for terminal)\n \n -v, -V, --version Show version number\n\nExamples for LLMs:\n l-log list ./logs/example.csv\n l-log stats\n l-log view 0\n l-log view --last\n l-log search \"memory\"\n l-log tags error api\n l-log add ./logs/chat.csv \"Fix bug\" --tags=bug,fix --problem=\"Bug description\" --files=\"file1.ts,src/file2.ts\" --tech-stack=\"ts,react\" --cause=\"\" --causeIds=\"721ace2b-5e73-4901-bef9-97de16bf170f\" --model=\"gpt-4o\"\n";
export declare const helpText = "l-log CLI - Usage: l-log <command> [log-file] [options]\n\ncommand,options,description\nlist|ls,\"--compact|-c,--human\",List all log entries\nstats,--human,Show log statistics\nview <index>,\"--last,--human\",View detailed entry at index\nsearch <query>,--human,Search logs by name/problem/solution\ntags <tag1> [tag2],--human,Filter logs by tags\nadd <name>,\"--tags=<tags>,--problem=<text>,--solution=<text>,--action=<text>,--files=<files>,--tech-stack=<tech>,--model=<name>,--cause=<text>,--causeIds=<ids>,--effectIds=<ids>,--created-at=<time>,--updated-at=<time>,--created-by-agent=<name>,--diff|--no-diff\",Add a new log entry\nhelp|-h|--help,--human,Show this help message\nexport md|markdown|obsidian,\"--vault=<path>,--path=<path>,--out=<path>\",Export logs to Markdown files (Obsidian style)\nexport jsonl|json-lines,\"--out=<path>,--path=<path>,--file=<path>\",Export logs to JSON Lines format\n-v|-V|--version,,Show version number\n\nexamples:\nl-log list ./logs/example.csv\nl-log stats\nl-log view 0\nl-log view --last\nl-log search \"memory\"\nl-log tags error api\nl-log add ./logs/chat.csv \"Task name\" --tags=\"tag1,tag2\" --problem=\"Detailed problem description\" --solution=\"Detailed solution\" --action=\"Action taken\" --files=\"file1.ts,file2.ts\" --tech-stack=\"bun,ts\" --created-by-agent=\"Antigravity\"\nl-log export md ./logs/chat.csv --vault=./my-vault\nl-log export jsonl ./logs/chat.csv --out=./logs/export.jsonl\n";
export declare const helpTextForHuman = "l-log CLI\n\nUsage: l-log <command> [log-file] [options]\n\nCommands:\n list, ls | List all log entries\n --compact, -c | Show compact view\n --human | Show human-readable output (with colors)\n \n stats | Show log statistics\n --human | Show human-readable output (with colors)\n \n view <index> | View detailed entry at index\n --last | Show the last log entry\n --human | Show human-readable output (with colors)\n \n search <query> | Search logs by name, problem, or solution\n --human | Show human-readable output (with colors)\n \n tags <tag1> [tag2] | Filter logs by tags\n --human | Show human-readable output (with colors)\n \n add <name> | Add a new log entry\n --tags=<tags> | Comma-separated tags, wrap with double quotes if multiple tags\n --problem=<text> | Problem description\n --solution=<text> | Solution description\n --action=<text> | Action taken\n --files=<files> | Comma-separated files paths, wrap with double quotes if multiple files\n --tech-stack=<tech> | Comma-separated tech stack, wrap with double quotes if multiple tech stack\n --model=<name> | Model name\n --cause=<text> | Cause description\n --causeIds=<ids> | Comma-separated cause log row UUIDs, wrap with double quotes if multiple cause log row UUIDs\n --effectIds=<ids> | Comma-separated effect log row UUIDs, wrap with double quotes if multiple effect log row UUIDs\n --last-commit-short-sha=<sha> | Last git commit short SHA\n --created-at=<time> | Creation time (ISO 8601 formatted string)\n --updated-at=<time> | Update time (ISO 8601 formatted string)\n --created-by-agent=<name> | Agent model name\n --diff | Save git diff file (default: true)\n --no-diff | Skip saving git diff file\n \n help, -h, --help | Show this help message\n --human | Show human-readable output (default for terminal)\n \n export md | Export logs to Markdown files (Obsidian style)\n --vault=<path> | Path to Markdown vault (e.g. Obsidian)\n\n export jsonl | Export logs to JSON Lines format\n --out=<path> | Output file path\n\n -v, -V, --version | Show version number\n\nExamples for LLMs:\n l-log list ./logs/example.csv\n l-log stats\n l-log view 0\n l-log view --last\n l-log search \"memory\"\n l-log tags error api\n l-log add ./logs/chat.csv \"Task name\" --tags=\"tag1,tag2\" --problem=\"Detailed problem description\" --solution=\"Detailed solution\" --action=\"Action taken\" --files=\"file1.ts,file2.ts\" --tech-stack=\"bun,ts\" --created-by-agent=\"Antigravity\"\n l-log export md ./logs/chat.csv --vault=./my-vault\n l-log export jsonl ./logs/chat.csv --out=./logs/export.jsonl\n";
//# sourceMappingURL=const.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../src/utils/const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,QAAQ,+iCAoBpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mzEAmD5B,CAAC"}
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../src/utils/const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,QAAQ,66CAwBpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,gnFA6D5B,CAAC"}

@@ -1,1 +0,1 @@

{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/utils/git.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAgCzE;AAED;;;;;GAKG;AACH,wBAAsB,2BAA2B,CAChD,UAAU,EAAE,MAAM,GAChB,OAAO,CAAC,OAAO,CAAC,CA4DlB"}
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/utils/git.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAgCzE;AAED;;;;;GAKG;AACH,wBAAsB,2BAA2B,CAChD,UAAU,EAAE,MAAM,GAChB,OAAO,CAAC,OAAO,CAAC,CAmElB"}
{
"name": "llm-lean-log-cli",
"version": "0.2.9",
"version": "0.2.16",
"description": "CLI tool for llm-lean-log",

@@ -5,0 +5,0 @@ "scripts": {

# llm-lean-log-cli
> 💻 CLI tool for llm-lean-log - Logging for LLMs, but we cut the fat.
>💻 CLI tool for llm-lean-log - Logging for LLMs, but we cut the fat.
`llm-lean-log` is a format for logging that is optimized for LLM token usage, using a simple CSV-based structure.

@@ -40,2 +39,8 @@

l-log add ./logs/example.csv "Fix bug" --tags=bug,fix --problem="Problem description"
# Export logs to Markdown files (Obsidian style)
l-log export md ./logs/example.csv --vault=./my-vault
# Export logs to JSONL format
l-log export jsonl ./logs/example.csv --out=logs.jsonl
```

@@ -67,8 +72,7 @@

> use l-log CLI to save chat log above
>use l-log CLI to save chat log above
## Ask AI agent (LLMs) to read a log
> read last chat logs from "./logs/example.csv" and tell me what should I do next
>read last chat logs from "./logs/example.csv" and tell me what should I do next
Example LLMs's response:

@@ -75,0 +79,0 @@

Sorry, the diff of this file is too big to display