Primo commit - Prompt 02 — WebSocket endpoints /agent e /client + parsing robusto
This commit is contained in:
17
windows/package.json
Normal file
17
windows/package.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@assistenza/windows",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "commonjs",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@assistenza/protocol": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.4.5"
|
||||
}
|
||||
}
|
||||
5
windows/src/index.ts
Normal file
5
windows/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { ProtocolVersion } from "@assistenza/protocol";
|
||||
|
||||
export function windowsBanner(): string {
|
||||
return `windows v${ProtocolVersion}`;
|
||||
}
|
||||
8
windows/tsconfig.json
Normal file
8
windows/tsconfig.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user