feat(initial): scaffold @push.rocks/smartchat with core, CLI, and web layers
Three-layer architecture built on @push.rocks/smartagent: - ts/ — ChatSession wrapping runAgent() with conversation state management - ts_cli/ — ink-based terminal chat TUI (React.createElement, no JSX) - ts_web/ — Lit web components (smartchat-window, smartchat-message, smartchat-input)
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"name": "@push.rocks/smartchat",
|
||||
"version": "0.0.1",
|
||||
"private": false,
|
||||
"description": "Interactive chat interfaces for AI agents — CLI TUI and web components, built on @push.rocks/smartagent.",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist_ts/index.js",
|
||||
"types": "./dist_ts/index.d.ts"
|
||||
},
|
||||
"./cli": {
|
||||
"import": "./dist_ts_cli/index.js",
|
||||
"types": "./dist_ts_cli/index.d.ts"
|
||||
},
|
||||
"./web": {
|
||||
"import": "./dist_ts_web/index.js",
|
||||
"types": "./dist_ts_web/index.d.ts"
|
||||
}
|
||||
},
|
||||
"author": "Task Venture Capital GmbH",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "(tstest test/ --verbose --timeout 120)",
|
||||
"build": "(tsbuild tsfolders --allowimplicitany)"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@git.zone/tsbuild": "^4.3.0",
|
||||
"@git.zone/tsrun": "^2.0.1",
|
||||
"@git.zone/tstest": "^3.3.0",
|
||||
"@push.rocks/qenv": "^6.1.3",
|
||||
"@types/node": "^22.0.0",
|
||||
"@types/react": "^19.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@push.rocks/smartagent": "^3.0.1",
|
||||
"@push.rocks/smartai": "^2.0.0",
|
||||
"ink": "^6.8.0",
|
||||
"ink-text-input": "^6.0.0",
|
||||
"lit": "^3.2.0",
|
||||
"react": "^19.0.0",
|
||||
"zod": "^3.25.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://code.foss.global/push.rocks/smartchat.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://code.foss.global/push.rocks/smartchat/issues"
|
||||
},
|
||||
"homepage": "https://code.foss.global/push.rocks/smartchat#readme",
|
||||
"files": [
|
||||
"ts/**/*",
|
||||
"ts_cli/**/*",
|
||||
"ts_web/**/*",
|
||||
"dist/**/*",
|
||||
"dist_*/**/*",
|
||||
"assets/**/*",
|
||||
"npmextra.json",
|
||||
"readme.md"
|
||||
],
|
||||
"pnpm": {
|
||||
"overrides": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user