From 50928313a13d3a323aa4faab006b659c5581546e Mon Sep 17 00:00:00 2001 From: Stefano Fiorini Date: Mon, 18 May 2026 17:36:31 -0500 Subject: [PATCH] feat(S-102): Create package.json, tsconfig.json, .gitignore --- tools/ai-cli-dispatch/.gitignore | 3 +++ tools/ai-cli-dispatch/package.json | 20 ++++++++++++++++++++ tools/ai-cli-dispatch/tsconfig.json | 17 +++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 tools/ai-cli-dispatch/.gitignore create mode 100644 tools/ai-cli-dispatch/package.json create mode 100644 tools/ai-cli-dispatch/tsconfig.json diff --git a/tools/ai-cli-dispatch/.gitignore b/tools/ai-cli-dispatch/.gitignore new file mode 100644 index 0000000..3c25e1e --- /dev/null +++ b/tools/ai-cli-dispatch/.gitignore @@ -0,0 +1,3 @@ +node_modules/ +dist/ +*.log diff --git a/tools/ai-cli-dispatch/package.json b/tools/ai-cli-dispatch/package.json new file mode 100644 index 0000000..0fdd00b --- /dev/null +++ b/tools/ai-cli-dispatch/package.json @@ -0,0 +1,20 @@ +{ + "name": "ai-cli-dispatch", + "version": "1.0.0", + "description": "AI CLI dispatch tool for OpenClaw skills", + "type": "module", + "scripts": { + "ai-cli-dispatch": "tsx src/cli.ts", + "test": "node --import tsx --test tests/*.test.ts", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "minimist": "^1.2.8" + }, + "devDependencies": { + "@types/minimist": "^1.2.5", + "@types/node": "^24.8.1", + "tsx": "^4.20.6", + "typescript": "^5.9.3" + } +} diff --git a/tools/ai-cli-dispatch/tsconfig.json b/tools/ai-cli-dispatch/tsconfig.json new file mode 100644 index 0000000..4f5d71e --- /dev/null +++ b/tools/ai-cli-dispatch/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "bundler", + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "skipLibCheck": true, + "resolveJsonModule": true, + "types": ["node"], + "outDir": "./dist", + "rootDir": "." + }, + "include": ["src/**/*.ts", "tests/**/*.ts"], + "exclude": ["node_modules", "dist"] +}