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.7
to
0.2.8
+6
dist/index.bun.d.ts
#!/usr/bin/env bun
/**
* CLI tool for llm-lean-log
*/
export {};
//# sourceMappingURL=index.bun.d.ts.map
{"version":3,"file":"index.bun.d.ts","sourceRoot":"","sources":["../src/index.bun.ts"],"names":[],"mappings":";AAEA;;GAEG"}
#!/usr/bin/env bun
/**
* CLI tool for llm-lean-log
*/
export declare function main(version: string): Promise<void>;
//# sourceMappingURL=cli.d.ts.map
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/utils/cli.ts"],"names":[],"mappings":";AAEA;;GAEG;AAaH,wBAAsB,IAAI,CAAC,OAAO,EAAE,MAAM,iBA4JzC"}
export declare const VERSION = "0.2.8";
/**
* 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";
//# sourceMappingURL=const.d.ts.map
{"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"}
/**
* Get the short SHA of the last git commit.
* Returns undefined if not in a git repository or if git command fails.
*/
export declare function getLastCommitShortSha(): Promise<string | undefined>;
//# sourceMappingURL=git.d.ts.map
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/utils/git.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAgCzE"}
/**
* Visualizer for llm-lean-log
* Displays logs in a human-readable format
*/
import type { LogEntry } from "llm-lean-log-core";
interface VisualizerOptions {
/** Show full details or compact view */
compact?: boolean;
/** Maximum width for columns */
maxWidth?: number;
/** Color output */
colors?: boolean;
/** Enable syntax highlighting for code blocks */
highlight?: boolean;
/** Optimize for LLM consumption (compact, no colors, no fancy boxes) */
llm?: boolean;
}
/**
* Visualize log entries in a table format
*/
export declare function visualizeTable(entries: LogEntry[], options?: VisualizerOptions): string;
/**
* Visualize a single log entry in detail
*/
export declare function visualizeEntry(entry: LogEntry, options?: VisualizerOptions): string;
/**
* Visualize log statistics
*/
export declare function visualizeStats(entries: LogEntry[], options?: VisualizerOptions): string;
export {};
//# sourceMappingURL=visualizer.d.ts.map
{"version":3,"file":"visualizer.d.ts","sourceRoot":"","sources":["../../src/utils/visualizer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD,UAAU,iBAAiB;IAC1B,wCAAwC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mBAAmB;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wEAAwE;IACxE,GAAG,CAAC,EAAE,OAAO,CAAC;CACd;AAmID;;GAEG;AACH,wBAAgB,cAAc,CAC7B,OAAO,EAAE,QAAQ,EAAE,EACnB,OAAO,GAAE,iBAAsB,GAC7B,MAAM,CAgHR;AAED;;GAEG;AACH,wBAAgB,cAAc,CAC7B,KAAK,EAAE,QAAQ,EACf,OAAO,GAAE,iBAAsB,GAC7B,MAAM,CAmFR;AAED;;GAEG;AACH,wBAAgB,cAAc,CAC7B,OAAO,EAAE,QAAQ,EAAE,EACnB,OAAO,GAAE,iBAAsB,GAC7B,MAAM,CA8FR"}
+1
-4

@@ -5,6 +5,3 @@ #!/usr/bin/env bun

*/
/**
* Main function for the CLI
*/
export declare function main(): Promise<void>;
export {};
//# sourceMappingURL=index.d.ts.map
+1
-1

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

{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;GAEG;AAoGH;;GAEG;AACH,wBAAsB,IAAI,kBAuJzB"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;GAEG"}
{
"name": "llm-lean-log-cli",
"version": "0.2.7",
"version": "0.2.8",
"description": "CLI tool for llm-lean-log",

@@ -8,2 +8,6 @@ "scripts": {

"build": "bun build src/index.ts --outfile dist/index.js --target node && tsc --emitDeclarationOnly",
"compile": "bun build src/index.bun.ts --compile --outfile dist/l-log-bun --target bun",
"compile:mac": "bun build src/index.bun.ts --compile --target bun-darwin-arm64 --outfile dist/l-log-mac",
"compile:win": "bun build src/index.bun.ts --compile --target bun-windows-x64 --outfile dist/l-log-win.exe",
"compile:linux": "bun build src/index.bun.ts --compile --target bun-linux-x64 --outfile dist/l-log-linux",
"prepublishOnly": "bun run build",

@@ -35,2 +39,5 @@ "type": "tsc --noEmit"

},
"dependencies": {
"cli-highlight": "^2.1.11"
},
"devDependencies": {

@@ -37,0 +44,0 @@ "@types/bun": "latest",

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