{"_id":"@david.uhlir/ai-assistant-chat","_rev":"19-2a3f59bc2c0df28d7d3c423bef70bf5e","name":"@david.uhlir/ai-assistant-chat","dist-tags":{"latest":"0.1.17"},"versions":{"0.0.3":{"name":"@david.uhlir/ai-assistant-chat","version":"0.0.3","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.0.3","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"60a93be3bd60e8317a01bbc6b203c711e7c6c890","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.0.3.tgz","fileCount":7,"integrity":"sha512-392Xgl3FPTNqbdivMJy8eY5zJk8SlTaR1EV4+/MV/c9X1NZzqY8Tk/j0cZHQzPfeyxBIP/8kktbHL7WGzcwoHw==","signatures":[{"sig":"MEUCIGJkOGsJFl0+EugWa/TO4QhmJCV7IqQTNGCapEzO47HDAiEAwmU+2bz02LcX5ztiCdwWiG1qrHc/WBoqv6uaNkDdUF4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16821},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"80181d13794e4036386a73e4f3f072ba381d0641","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.0.3_1744319584043_0.8352634582035217","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@david.uhlir/ai-assistant-chat","version":"0.0.5","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.0.5","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"b2e73f7d088309e4b7c961ab1395634207015ed7","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.0.5.tgz","fileCount":19,"integrity":"sha512-W9yyaMv2UztmiQD7Lh45teh7WK3eSbnXrlqEa91XacaDLYIOEn4BSxQeKtq2P3nba/LeLhR9QSA9+ekoEwVZQQ==","signatures":[{"sig":"MEUCIDEiVYgEGc6pUz4II2MR6oTlC3afR7hOSl5PNtcEu7wYAiEAkzFbI8FdBcrshRTa4kIvWoUXdFBTe0UlkbKjgGLvzrc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21549},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"cfffa4db35ada2c43398b08bd8174c260ec8f3f8","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.0.5_1744352722556_0.3069946017963763","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@david.uhlir/ai-assistant-chat","version":"0.0.6","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.0.6","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"6c9d7a584618209ed1fd0d4e8c6011588a7d401f","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.0.6.tgz","fileCount":19,"integrity":"sha512-5ZBOJOroh/cDnWvp4Y8F1Gfyclwe42Ve1Si7fykhq1/5SDYGO6MStFpLNKTaf7BDotFk1g252jVgRI61jxNM1Q==","signatures":[{"sig":"MEQCICuLMQIIinRVEB/BBRNThWBXu1tEqp16rwrciTbSLEJvAiBYTNRRy/C7AFxGMLl54mdimC5sMkvgzJqX2tXJ1kAdhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26618},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6bd3662337668bb9f64043a6341e413443775dc2","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.0.6_1744480377325_0.8162539803793984","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@david.uhlir/ai-assistant-chat","version":"0.0.7","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.0.7","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"7c75e77c76eb75039e11e60014f064f9e8b00edd","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.0.7.tgz","fileCount":19,"integrity":"sha512-imd2axCyN4RQn6h3jMi1NrHpu3CnGmfTIIYdrh6++M4ruHHpQp0wwsOEhoAVhLhn2hyAUyj2RsZ8oLWyT+H2fg==","signatures":[{"sig":"MEQCIArmHpoO/ZAyETRBGgRGmGfWp5q7DQp3qqNQbaAtc57yAiB83l9X6YtU8kyowbYPr9yna/dC0rdrrvUpLp51bPq82Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28270},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e9546206069c77165184fcef0d5caf0ad25444b1","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.0.7_1744628892091_0.9142416669325024","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@david.uhlir/ai-assistant-chat","version":"0.0.8","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.0.8","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"a564a1012fbfbcce905ac952d7e2714a530062ce","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.0.8.tgz","fileCount":23,"integrity":"sha512-1795zeNkr6G0HdjlwAR2XHnr5LEGLYQ1i+btiwK3qjv/Hwa28aBi1gMQdcGrzZhAe/ccjl1UAUxbOWYCmmYw/w==","signatures":[{"sig":"MEUCIFq9oHpyxxqkA3l/hXXXIoSFWHUipp6ejH1yOyjx0UaCAiEAwDwNIv2wiFyqE7POM0HEUTZwuyb69j1JMq0QhN09ZrQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37066},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"69a1f946c6e7720b3691d84d23a61399d6e5f655","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.0.8_1744719658126_0.8537524515994068","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.1","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.1","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"2b88823862eb906be0944f40689368b99e4b1c0f","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.1.tgz","fileCount":21,"integrity":"sha512-BpIj/qgEIE6X0VgdXy3okPZfOJNjuaawlDf44O1DEiD8LwAXrUun0mfu+SPoi5GF8H+JJ3XigSVhz9imHsjhxw==","signatures":[{"sig":"MEUCIQDmj7Iss4MwNV+sQmOBQb0Tl+GeAXa91ehbQmSZxtt8DwIgQFTxRd7x/LA0lG2nF0UnDCWedKyIbQhsk9NyioeIxWg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37842},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a026aaafd90d45de1c4e149aa6057826f1441d2a","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.1_1745309538597_0.15869786963587762","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.2","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.2","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"f7a803a701d59403085e1f45cdfe2e280c620399","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.2.tgz","fileCount":19,"integrity":"sha512-ozca1JWn4TbVPnMSzNZ08qMe3BvGxQPvSvfv9e2GxIWLNpKcWIzlIpKMzgRyNJbO6WKOrjw4mTdIFn2fkQ3tbw==","signatures":[{"sig":"MEQCIGkv/FhHqmX6qQVfBw0wjygCXo2NgsN9ntXFKQ0jDkFqAiBcGYZdjVdDkeFCZL2NjipJub2tmqaq7DmfqqMaj7JRVA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37625},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f07bc2c378084760e254d5bb41d607c7be4d0020","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.2_1745515590993_0.47008850864854024","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.3","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.3","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"7a3964c10a0e290f8e197db8944b4bae85fd7285","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.3.tgz","fileCount":25,"integrity":"sha512-x4NdX/hzkxges0stn7rIMgVxOSzcDl0rnnbHyDneeNwxOotwAHF1b7RY8smv6M7VPa4y5F4XG/NPOVZmB3dsow==","signatures":[{"sig":"MEQCIFBWknM14w1WhL5QDuG9XpD8Kug0vXmqyXzitE78FS16AiBsSbsfyYj1ZnLnaKaJHo09tqrhI0wHWYr/0Q0QKjttbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50142},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"7b8cec20cd172ece9f1c0ef032e1040dbcfacd9d","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.3_1749547941637_0.6337940985496864","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.4","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.4","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"e5d9c2a2115d45b3b11251ce81fab1645a90a7e6","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.4.tgz","fileCount":25,"integrity":"sha512-7NajLKBaVenCDwmwuStv0RSIKyeoEhLguQtdbjVMPfNDVD9ow5Y2iffCre/7tVs2H6MuBz2AvDpQ0aHen51QKw==","signatures":[{"sig":"MEUCIHgvNZQxayKOJxUnwqsaPnNJeFJUsM9bGomNZNE063tnAiEArpQRv0vwaebWJWXnhN09Q2kA9vL3zsoKE1V7fMfFQzI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50703},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fd1150fc0b6d4017a6bdce07b3a7e5cb4bcaf549","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.4_1749728301742_0.7861132596319604","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.5","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.5","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"d201f1c5d2cd9f2284c4f1bc29e85a695e28e719","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.5.tgz","fileCount":25,"integrity":"sha512-/VHBl4hv4IIDUIryp6BCIulzQImniGn0yNx/YmCUccVEUTf3y0BAQAmNAuEXLXrg9tH72YjbQrqqhNdGW5Glrw==","signatures":[{"sig":"MEUCIQD4F/oIzkQgeuolVexLwRprab2fSQXFjEX4iPz05okcwQIgW1vi/G1NzaFo3U3C7HbrN/CCODSuQvh043IprxIDZ9s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52841},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d29ff4e2e7dbf59b3ed12b9afd42934abd6c8d50","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^10.0.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.5_1756192852134_0.6560472939693696","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.7","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.7","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"1a7ff8e2a0bc845187d4d50ca7dc6cb878f923dd","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.7.tgz","fileCount":31,"integrity":"sha512-8R1D2fL8qaxmCWRX6IHXXB41IA4xLuzs7IQv6ZGwPfaH9SCxebsMg8BnRRcvzc1YEIqSmzYbGfGMCTkR0dueWA==","signatures":[{"sig":"MEQCICGITeKxoXsQOZ5lGYQjrgVpvrLIVRDcJdBrAgEPOQGbAiARBgIyF55OrA9GsymZWkjeYfXqLIffuP4zZfdD9hNr3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70649},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"67e59b770e705e37916081361206351833b91a51","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier-check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.7_1758403624233_0.0017671683288820184","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.9","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.9","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"eaa764d55db4d706459d1f54f86e7f2b1ccf7b11","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.9.tgz","fileCount":33,"integrity":"sha512-mWSdsvGe3WSGW2doOsUQ7bCPBnx3ZDlU63MU3xgVrMk/78kKPhQXpkW1o5tiBLMKO+3XViXHfKzw32a/rEl00g==","signatures":[{"sig":"MEUCIQCJq5a1w9Iwb8PIcB9B+jsS8q51JjFGqoeRCdbngDhJPAIgChOO/7dFyJuQ838iPlOAfKpZVLNsAOo5hziRjr198tY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83448},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"7523c71d727b18deb4b24de9ea07482d25025d7c","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.9_1758550476354_0.5791391881663632","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.11","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.11","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"efe1c1c020458273ddc59aca5a561de43713fb78","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.11.tgz","fileCount":33,"integrity":"sha512-dxRQVeZr1TmP7fslR/jahISiahLSQfBTjKFZB3lhwNmKkwhSqMvcAo4Mv/+pXR04oIVMcqbY5vvW6TweEzjDvA==","signatures":[{"sig":"MEUCIQCTa6eqW4OsrM8QiuI514agWL4nZIXoYatNTtVnOeqjWQIgU4Uxi6lJybeXTSC0U3fErOvSZ3P29jxJDUNSSAG/Mzc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97604},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2ee44d56a5ed396e12b6aa74eb4b3c3f3143510b","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"11.1.0","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.14.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.11_1758563143426_0.31625441127203513","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.12","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.12","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"5067b1342192967c84347aee10aea95998ed5982","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.12.tgz","fileCount":33,"integrity":"sha512-IYxMHQNekdF8+ApHhUV2CF+fjzU4XSKhwhvBcZqt5/5LTP2u/oPdhk6FS4pUJ1aQYR12TDKHbVfbbmz6CMlzEw==","signatures":[{"sig":"MEUCIQC2xFa2vm5wS/5Qda/Bk/PeSJn0WaPAdXhZs9EFvySA7gIgPdqj2u4VipdAYgI1Buvb6TLc9Hdao7yWSr9NzczhIh4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98294},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2021f7705781ab389bead8c8473b2b081a08fdea","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"10.2.4","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"20.11.1","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.12_1758742160770_0.8905579554097858","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.13","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.13","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"02692b13388b6c9f81980be23c39fe6931bc3835","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.13.tgz","fileCount":33,"integrity":"sha512-gYzAjDA/H/9t88FZFgKyBDgA/+2i55bEkWNi/0+TiendXLUhq1IIaG/KFHKavsBU/KfjWTdGiMrcv3kGhB6lTA==","signatures":[{"sig":"MEYCIQC0+T1n9YdZrqH63KK/tbWqAlrGlW8YEWn3Nz+ub79/WQIhALDFZb1o1rR0wWINWpCQPihA9F+ajij4FglJlo5cwKyC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98302},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6cc8b55c1435a0b2110be448e181a7cf2a9a5e9d","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"10.2.4","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"20.11.1","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","memfs":"^4.46.0","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.13_1758746260295_0.5121536444350399","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.14","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.14","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"dd20f47dc3681d07d8b53286c514845d1384d350","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.14.tgz","fileCount":33,"integrity":"sha512-T1PJQlS1t3sIPIxmBBCtYeTdTgBMKi7jpQpq5m0VojqTiSafuxBIckmbd1BxRr2sMWkHItuktGe3zYGmqiplVQ==","signatures":[{"sig":"MEYCIQCZ5vDM8G3CPkzuLxqfbao64VSXXfftvq7Xv4brujO4kwIhAKCzCxT4P1n+mN7PWwpUFldlUyzf5MbnA7pPm/nYQMQW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101923},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"781652cd0eb5091493db4e71fd250878e082a6a6","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"10.9.3","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.19.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","memfs":"^4.46.0","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.14_1758798900025_0.30631319008313995","host":"s3://npm-registry-packages-npm-production"}},"0.1.15":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.15","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.15","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"cc4ada4fe6211739f21aa5e1b9765e3145832715","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.15.tgz","fileCount":33,"integrity":"sha512-hwXS8BbbVJJ8X5O2QjS8IU8T5RThcXSI37sz8j17n34e/QgoEsSV6z8RDjmur5QPOvR57xKXjYTn4Y464yzpCQ==","signatures":[{"sig":"MEQCIH+CqgLr3w4unR6KvCYGrK7+OuYMzXA5PjZz9BTsSv4iAiBOQtp7RR5oYk/CP7TM1/8Y+Hj0xlZJ3L70PWT3RW2D+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101965},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4a6052dfd682dfb5bca2122ef35d246beb182e27","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"10.9.3","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.19.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","memfs":"^4.46.0","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.15_1758820874057_0.3499648425303874","host":"s3://npm-registry-packages-npm-production"}},"0.1.16":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.16","keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","_id":"@david.uhlir/ai-assistant-chat@0.1.16","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"dist":{"shasum":"1503f8d2c3d773395cfc182067181fb903ecaa6d","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.16.tgz","fileCount":33,"integrity":"sha512-dk7h95PYUc0fX6co+LP8sJmFxS/hu6y8pu8bSmbbY3TKXXM/lzRr4QwVGXnyDiZcjLbOI8GrDU7K8yZJSb8nDg==","signatures":[{"sig":"MEQCIHJBsuR/3ztgK3/yf8iUhiYKAdlMCUz08LBHukntfIf8AiBSYEhOTlMAfWrkBhOAwzlaAjvDzJqYE0CG97z7kCP4mA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102043},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ba9b035b9f72e816a210e2b1eaa21853b6af7d9f","scripts":{"test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build":"rimraf ./dist && tsc","release":"./scripts/release.sh","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write"},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"repository":{"url":"git+https://github.com/daviduhlir/ai-assistant-chat.git","type":"git"},"_npmVersion":"10.9.3","description":"Chat helper for AI assistants with ability to call methods","directories":{},"_nodeVersion":"22.19.0","dependencies":{"openai":"^4.93.0","reflect-metadata":"^0.2.2","@anthropic-ai/sdk":"^0.32.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","memfs":"^4.46.0","mocha":"^10.0.0","rimraf":"^2.6.2","prettier":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4","@types/node":"^18.11.9","@types/mocha":"^10.0.0","prettier-check":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-chat_0.1.16_1758835272397_0.438982386426942","host":"s3://npm-registry-packages-npm-production"}},"0.1.17":{"name":"@david.uhlir/ai-assistant-chat","version":"0.1.17","description":"Chat helper for AI assistants with ability to call methods","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"rimraf ./dist && tsc","build:release":"rimraf ./dist && tsc --p tsconfig.release.json","prettier-check":"prettier check --config .prettierrc.json 'lib/**/*.ts'","prettier-format":"prettier --config .prettierrc.json 'lib/**/*.ts' --write","test":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","test:release":"npm run build && ts-mocha --timeout 10000 --type-check -p ./tsconfig.json tests/**/*.spec.ts","release":"./scripts/release.sh"},"repository":{"type":"git","url":"git+https://github.com/daviduhlir/ai-assistant-chat.git"},"keywords":["ai","node","assistant","typescript","chat"],"author":{"name":"David Uhlíř"},"license":"ISC","devDependencies":{"@types/mocha":"^10.0.0","@types/node":"^18.11.9","chai":"^4.3.6","memfs":"^4.46.0","mocha":"^10.0.0","prettier":"^2.6.2","prettier-check":"^2.0.0","rimraf":"^2.6.2","ts-mocha":"^11.1.0","typescript":"^5.5.4"},"dependencies":{"@anthropic-ai/sdk":"^0.32.0","openai":"^4.93.0","reflect-metadata":"^0.2.2"},"_id":"@david.uhlir/ai-assistant-chat@0.1.17","gitHead":"e93caaad47fc2af89353e7e96b307b5be89c41a0","bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-SRipPdjqKQczwRHXkxM3Lnj0mRYfOuO42VTIDzHat+4KeTe5hBgzp9S+VtjQxlwStn6brZzm6kGOVwhm2GNNhg==","shasum":"2f27560e065f1b83517bf5d584874912957555c5","tarball":"https://registry.npmjs.org/@david.uhlir/ai-assistant-chat/-/ai-assistant-chat-0.1.17.tgz","fileCount":37,"unpackedSize":120228,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC6Rg9wxMcjuo36/sEG61Cx2Xg6Ooge/me+0S/XwzQ+/QIhAPc+39PtsHy1p/X2qst52TPYHPaJe2odfkzGEJhJFjXs"}]},"_npmUser":{"name":"david.uhlir","email":"posta@daviduhlir.cz"},"directories":{},"maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-assistant-chat_0.1.17_1759846433081_0.012990476005072304"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-10T21:13:03.957Z","modified":"2025-10-07T14:13:53.678Z","0.0.3":"2025-04-10T21:13:04.260Z","0.0.5":"2025-04-11T06:25:22.755Z","0.0.6":"2025-04-12T17:52:57.509Z","0.0.7":"2025-04-14T11:08:12.257Z","0.0.8":"2025-04-15T12:20:58.298Z","0.1.1":"2025-04-22T08:12:18.759Z","0.1.2":"2025-04-24T17:26:31.173Z","0.1.3":"2025-06-10T09:32:21.806Z","0.1.4":"2025-06-12T11:38:21.886Z","0.1.5":"2025-08-26T07:20:52.303Z","0.1.7":"2025-09-20T21:27:04.457Z","0.1.9":"2025-09-22T14:14:36.538Z","0.1.11":"2025-09-22T17:45:43.619Z","0.1.12":"2025-09-24T19:29:20.943Z","0.1.13":"2025-09-24T20:37:40.515Z","0.1.14":"2025-09-25T11:15:00.212Z","0.1.15":"2025-09-25T17:21:14.259Z","0.1.16":"2025-09-25T21:21:12.601Z","0.1.17":"2025-10-07T14:13:53.489Z"},"bugs":{"url":"https://github.com/daviduhlir/ai-assistant-chat/issues"},"author":{"name":"David Uhlíř"},"license":"ISC","homepage":"https://github.com/daviduhlir/ai-assistant-chat#readme","keywords":["ai","node","assistant","typescript","chat"],"repository":{"type":"git","url":"git+https://github.com/daviduhlir/ai-assistant-chat.git"},"description":"Chat helper for AI assistants with ability to call methods","maintainers":[{"name":"david.uhlir","email":"posta@daviduhlir.cz"}],"readme":"# Assistant\n\nThe `Assistant` class provides a framework for managing interactions with AI chat APIs. It supports dynamic method registration, structured prompts, and execution of system-level actions based on assistant responses. This class is designed to facilitate seamless communication with AI models while allowing for extensibility through custom callable methods and integration with a `KnowledgeAgent`.\n\n---\n\n## Features\n\n- **Dynamic Method Registration**: Use the `@Assistant.Callable` decorator to register methods that the assistant can invoke dynamically.\n- **Structured Prompts**: Automatically generates prompts that guide the assistant's behavior and provide a list of callable methods.\n- **AI Provider Abstraction**: Integrates with different AI providers through the `AIProvider` interface, allowing flexibility and extensibility.\n- **KnowledgeAgent Integration**: Allows the assistant to query a knowledge base for additional information or context.\n- **Assistant Response Parsing**: Parses responses from the assistant to determine whether to respond to the user or execute a system-level action.\n- **Extensibility**: Allows developers to define custom methods that the assistant can call during interactions.\n\n---\n\n## Usage\n\n### Example\n\n```typescript\nimport OpenAI from 'openai';\nimport { OpenAIAssistant } from './OpenAIAssistant';\nimport { KnowledgeAgent } from './KnowledgeAgent';\n\n// Create an instance of OpenAI client\nconst openAI = new OpenAI({ apiKey: 'your-api-key' });\n\n// Create an instance of KnowledgeAgent\nconst knowledgeAgent = new OpenAIKnowledgeAgent({\n  assistantId: 'your assistant id'\n});\n\n// Register a callable method\nclass MyAssistant extends OpenAIAssistant {\n  @OpenAIAssistant.Callable('Get user ID by name.')\n  public async getUserId(name: string): Promise<string> {\n    return `42`;\n  }\n}\n\n// Create an instance of Assistant with KnowledgeAgent\nconst assistant = new MyAssistant(openAI, 'You are a helpful assistant.', {}, [], knowledgeAgent);\n\n// Send a prompt\nconst response = await assistant.prompt('What is my user ID?', 5);\nconsole.log(response);\n```\n\n---\n\n## Public Classes\n\n### `Assistant`\n\nThe `Assistant` class provides the core framework for managing interactions with AI chat APIs. It is designed to be extended by specific implementations for different AI providers.\n\n#### `constructor`\n\n```typescript\nconstructor(\n  aiProvider: AIProvider,\n  systemInstructions: string,\n  knowledgeAgent?: KnowledgeAgent\n)\n```\n\n- **Parameters**:\n  - `aiProvider`: An instance of a class implementing the `AIProvider` interface.\n  - `systemInstructions`: A string describing the assistant's role and behavior.\n\n- **Description**: Initializes a new instance of the `Assistant` class.\n\n---\n\n### `AIProvider`\n\nThe `AIProvider` is an abstract base class that defines the interface for AI providers. It provides an abstraction layer for integrating different AI providers.\n\n#### `createThread`\n\n```typescript\nabstract createThread(instructions: string, tools?: AIProviderFunction[]): Promise<string>;\n```\n\n- **Parameters**:\n  - `instructions`: A string containing the system instructions for the assistant.\n  - `tools`: (Optional) A list of tools (callable methods) available to the assistant.\n\n- **Returns**: A promise that resolves to a thread ID.\n\n#### `addMessageToThread`\n\n```typescript\nabstract addMessageToThread(threadId: string, message: ChatInputMessage): Promise<void>;\n```\n\n- **Parameters**:\n  - `threadId`: The ID of the thread to which the message should be added.\n  - `message`: The message to add.\n\n#### `executeThread`\n\n```typescript\nabstract executeThread(threadId: string): Promise<ChatExecutionResult>;\n```\n\n- **Parameters**:\n  - `threadId`: The ID of the thread to execute.\n\n- **Returns**: A promise that resolves to a `ChatExecutionResult` containing the assistant's response.\n\n#### `removeThread`\n\n```typescript\nabstract removeThread(threadId: string): Promise<void>;\n```\n\n- **Parameters**:\n  - `threadId`: The ID of the thread to remove.\n\n---\n\n### `OpenAIAssistant`\n\nThe `OpenAIAssistant` class is a specialized implementation of the `Assistant` class for OpenAI. It simplifies the integration by automatically configuring the `OpenAIChatProvider` with the provided options.\n\n#### `constructor`\n\n```typescript\nconstructor(\n  openAI: OpenAI,\n  systemInstructions: string,\n  options?: Partial<OpenAIChatProviderOptions>,\n  initialMessages?: OpenAI.Chat.Completions.ChatCompletionMessageParam[],\n)\n```\n\n- **Parameters**:\n  - `openAI`: An instance of the OpenAI client.\n  - `systemInstructions`: A string describing the assistant's role and behavior.\n  - `options`: (Optional) Configuration options for the OpenAI provider, such as the model and temperature.\n  - `initialMessages`: (Optional) A history of initial chat messages.\n\n---\n\n## Public Methods\n\n### `prompt`\n\nThe `prompt` method sends a user input to the assistant and processes its response. It handles multiple iterations to ensure a valid response is obtained, based on the assistant's behavior and the registered callable methods.\n\n#### Example\n\n```typescript\nconst response = await assistant.prompt('What is my user ID?', 5);\nconsole.log(response);\n// Output: \"Your user ID is 42.\"\n```\n\n- **Parameters**:\n  - `input`: A string representing the user's input.\n  - `limit`: (Optional) The maximum number of iterations to attempt before throwing an error. Default is `10`.\n\n- **Returns**: A promise that resolves to a string containing the assistant's response.\n\n- **Throws**: An error if the maximum number of iterations is exceeded or if the assistant fails to provide a valid response.\n\n- **Description**: This method is the primary way to interact with the assistant. It processes the user's input, determines whether to respond directly or execute a system-level action, and returns the assistant's response.\n\n---\n\n## How It Works\n\n1. **Initialization**: Create an instance of `Assistant` or `OpenAIAssistant` with an AI provider, system\n2. **Register Methods**: Use the `@Assistant.Callable` decorator to register methods that the assistant can invoke.\n3. **Send Prompts**: Use the `prompt` method to send user input to the assistant and process its response.\n\n---\n\n## ToolSets\n\nToolSets provide a modular way to extend your assistant with additional capabilities through pre-built or custom tool collections. They allow you to group related functionality and easily compose different sets of tools for your assistant.\n\n### Using ToolSets\n\nToolSets are passed to the assistant through the `toolsets` option. For file system operations, always use a safe wrapper like `memfs` or `linkfs`:\n\n```typescript\nimport { AnthropicAssistant, FsToolSet } from '@david.uhlir/ai-assistant-chat';\nimport Anthropic from '@anthropic-ai/sdk';\nimport { createFsFromVolume, Volume } from 'memfs';\n\n// Create a safe, controlled file system\nconst volume = new Volume();\nconst safeFs = createFsFromVolume(volume);\nconst fsToolSet = new FsToolSet(safeFs.promises as any);\n\nconst anthropic = new Anthropic({ apiKey: 'your-api-key' });\n\nclass MyAssistant extends AnthropicAssistant {}\n\nconst assistant = new MyAssistant(anthropic, 'You are a helpful assistant.', {\n  toolsets: [fsToolSet],\n  debugTools: true  // Optional: enables debug output for tool calls\n});\n\n// The assistant can now use file system operations safely\nconst response = await assistant.prompt('Create a simple TypeScript project with a hello world file');\n```\n\n#### Complete Example with In-Memory File System\n\n```typescript\nimport Anthropic from '@anthropic-ai/sdk';\nimport { AnthropicAssistant, FsToolSet } from '@david.uhlir/ai-assistant-chat';\nimport { createFsFromVolume, Volume } from 'memfs';\n\nasync function main() {\n  // Create in-memory file system\n  const volume = new Volume();\n  const volumeFs = createFsFromVolume(volume);\n  const fsToolSet = new FsToolSet(volumeFs.promises as any);\n\n  // Create assistant with file system capabilities\n  const anthropic = new Anthropic({ apiKey: process.env.apiKey });\n\n  class FileAssistant extends AnthropicAssistant {}\n\n  const assistant = new FileAssistant(anthropic, 'You are a helpful assistant.', {\n    toolsets: [fsToolSet],\n    debugTools: true\n  });\n\n  // Ask the assistant to work with files\n  const response = await assistant.prompt(\n    'Create a TypeScript project with package.json, index.ts with hello world, and README.md'\n  );\n\n  console.log('Assistant response:', response);\n  console.log('Created files:', volume.toJSON());\n}\n```\n\n### Creating Custom ToolSets\n\nYou can create custom ToolSets by extending the `ToolSet` class and using the `@ToolSet.Callable` decorator:\n\n```typescript\nimport { ToolSet } from '@david.uhlir/ai-assistant-chat';\n\nexport class DatabaseToolSet extends ToolSet {\n  constructor(private db: Database) {\n    super();\n  }\n\n  @ToolSet.Callable('Fetch user by ID from database')\n  public async getUser(userId: string): Promise<string> {\n    const user = await this.db.findUser(userId);\n    return JSON.stringify(user);\n  }\n\n  @ToolSet.Callable('Create a new user in database')\n  public async createUser(name: string, email: string): Promise<string> {\n    const user = await this.db.createUser({ name, email });\n    return `User created with ID: ${user.id}`;\n  }\n}\n```\n\n### Nested ToolSets\n\nToolSets support nesting, allowing you to compose functionality from multiple sources:\n\n```typescript\nconst mainToolSet = new MainToolSet([childToolSet1, childToolSet2]);\n```\n\n### Built-in ToolSets\n\n#### FsToolSet\n\nThe `FsToolSet` provides file system operations for the assistant:\n\n- `readFile(path)` - Read file contents\n- `writeFile(path, content)` - Write content to file\n- `deleteFile(path)` - Delete a file\n- `listFiles(dir)` - List files in directory\n- `fileExists(path)` - Check if file exists\n- `searchInFile(path, query)` - Search for text in file\n- `tree(dir, depth)` - Show directory tree structure\n\n**⚠️ Security Warning**: Never give the AI direct access to your real file system. Always use controlled environments like `memfs` for in-memory operations, `linkfs` for sandboxed access to specific directories, or other safe wrappers. The AI can create, modify, and delete files - carefully consider what directories you expose.\n\n```typescript\nimport { FsToolSet } from '@david.uhlir/ai-assistant-chat';\nimport { createFsFromVolume, Volume } from 'memfs';\n\n// Always use a safe wrapper, never direct fs access\nconst volume = new Volume();\nconst safeFs = createFsFromVolume(volume);\nconst fsToolSet = new FsToolSet(safeFs.promises as any);\n```\n\n---\n\n## License\n\nThis project is licensed under the MIT License.","readmeFilename":"README.md"}