UNPKG

packfs-core

Version:

Semantic filesystem operations for LLM agent frameworks with natural language understanding. See LLM_AGENT_GUIDE.md for copy-paste examples.

150 lines (149 loc) • 5.58 kB
{ "name": "packfs-core", "version": "0.2.4", "description": "Semantic filesystem operations for LLM agent frameworks with natural language understanding. See LLM_AGENT_GUIDE.md for copy-paste examples.", "keywords": [ "llm", "agent", "filesystem", "ai", "semantic", "natural-language", "typescript", "mastra", "langchain", "llamaindex", "kaiban" ], "homepage": "https://github.com/jwynia/PackFS", "bugs": { "url": "https://github.com/jwynia/PackFS/issues" }, "repository": { "type": "git", "url": "git+https://github.com/jwynia/PackFS.git" }, "license": "MIT", "author": "J Wynia", "type": "module", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./backends": { "types": "./dist/types/backends/index.d.ts", "import": "./dist/esm/backends/index.js", "require": "./dist/cjs/backends/index.js" }, "./core": { "types": "./dist/types/core/index.d.ts", "import": "./dist/esm/core/index.js", "require": "./dist/cjs/core/index.js" }, "./semantic": { "types": "./dist/types/semantic/index.d.ts", "import": "./dist/esm/semantic/index.js", "require": "./dist/cjs/semantic/index.js" }, "./processors": { "types": "./dist/types/processors/index.d.ts", "import": "./dist/esm/processors/index.js", "require": "./dist/cjs/processors/index.js" }, "./mastra": { "types": "./dist/types/integrations/mastra.d.ts", "import": "./dist/esm/integrations/mastra.js", "require": "./dist/cjs/integrations/mastra.js" }, "./langchain": { "types": "./dist/types/integrations/langchain-js.d.ts", "import": "./dist/esm/integrations/langchain-js.js", "require": "./dist/cjs/integrations/langchain-js.js" }, "./llamaindex": { "types": "./dist/types/integrations/llamaindex-ts.d.ts", "import": "./dist/esm/integrations/llamaindex-ts.js", "require": "./dist/cjs/integrations/llamaindex-ts.js" }, "./kaiban": { "types": "./dist/types/integrations/kaiban-js.d.ts", "import": "./dist/esm/integrations/kaiban-js.js", "require": "./dist/cjs/integrations/kaiban-js.js" } }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "files": [ "dist", "README.md", "LICENSE", "LLM_AGENT_GUIDE.md", "QUICK_START_LLM.txt" ], "scripts": { "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "build:types": "tsc -p tsconfig.types.json", "clean": "rm -rf dist", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "format": "prettier --write \"src/**/*.ts\"", "format:check": "prettier --check \"src/**/*.ts\"", "typecheck": "tsc --noEmit", "prepare": "npm run build", "prepublishOnly": "npm run build", "postinstall": "echo \"\nšŸ¤– PackFS for LLM Agents - Installation Complete!\n\nšŸ“š AGENTS: Multiple projects reported wrong usage paths. Avoid backtracking:\n šŸ“– Local guide: cat LLM_AGENT_GUIDE.md\n 🌐 Online: https://github.com/jwynia/PackFS/blob/main/LLM_AGENT_GUIDE.md\n ⚔ Quick ref: cat QUICK_START_LLM.txt\n šŸ› ļø Help: npm run help\n\n✨ Copy-paste examples for Mastra, LangChain, LlamaIndex, KaibanJS\n\"", "release": "node scripts/release.js patch", "release:minor": "node scripts/release.js minor", "release:major": "node scripts/release.js major", "release:dry": "node scripts/release.js patch --dry-run", "release:skip-tests": "node scripts/release.js patch --skip-tests", "release:alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha", "release:beta": "npm version prerelease --preid=beta && npm publish --tag beta", "release:safe": "node scripts/test-and-publish.js", "release:safe:dry": "node scripts/test-and-publish.js --dry-run", "help": "node -e \"console.log('\\nšŸš€ PackFS Quick Help:\\n\\n For LLM Agents: cat LLM_AGENT_GUIDE.md\\n Or visit: https://github.com/jwynia/PackFS/blob/main/LLM_AGENT_GUIDE.md\\n\\n Build: npm run build\\n Test: npm test\\n Examples: ls examples/\\n')\"", "guide": "cat LLM_AGENT_GUIDE.md", "update-context": "node scripts/update-context-network.js", "extract-docs": "node scripts/extract-external-docs.js", "feature-status": "node scripts/feature-status.js", "maintenance": "npm run update-context && npm run extract-docs && npm run feature-status" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.50.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.5.0", "prettier": "^3.0.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.0", "typescript": "^5.0.0" }, "engines": { "node": ">=16.0.0" }, "publishConfig": { "access": "public" }, "dependencies": { "@mastra/core": "0.10.6", "@mongodb-js/zstd": "^1.2.2", "@yarnpkg/fslib": "3.1.2", "@yarnpkg/libzip": "3.2.1", "lz4": "^0.6.5", "rxdb": "^15.0.0", "rxjs": "^7.8.0", "zod": "3.25.67" } }