diff --git a/packages/queryx/.env.example b/packages/queryx/.env.example new file mode 100644 index 0000000..80ed992 --- /dev/null +++ b/packages/queryx/.env.example @@ -0,0 +1,12 @@ +PORT=3000 +PAYMENTS_RECEIVABLE_ADDRESS=0x0000000000000000000000000000000000000000 +FACILITATOR_URL= +NETWORK=base +BRAVE_API_KEY= +OPENAI_API_KEY= +CACHE_TTL_SECONDS=120 + +# Optional advanced provider configuration +BRAVE_API_BASE= +OPENAI_API_BASE= +NODE_ENV=development \ No newline at end of file diff --git a/packages/queryx/package.json b/packages/queryx/package.json new file mode 100644 index 0000000..d1e5c14 --- /dev/null +++ b/packages/queryx/package.json @@ -0,0 +1,31 @@ +{ + "name": "@langoustine69/queryx", + "version": "0.1.0", + "private": true, + "type": "module", + "main": "src/index.ts", + "exports": { + ".": "./src/index.ts", + "./app": "./src/app.ts" + }, + "scripts": { + "dev": "bun --watch src/index.ts", + "test": "bun test", + "check": "tsc --noEmit" + }, + "dependencies": { + "@lucid-agents/a2a": "workspace:*", + "@lucid-agents/ap2": "workspace:*", + "@lucid-agents/core": "workspace:*", + "@lucid-agents/http": "workspace:*", + "@lucid-agents/identity": "workspace:*", + "@lucid-agents/payments": "workspace:*", + "@lucid-agents/wallet": "workspace:*", + "hono": "^4.7.20", + "zod": "^4.1.5" + }, + "devDependencies": { + "@types/bun": "latest", + "typescript": "^5.7.3" + } +} \ No newline at end of file diff --git a/packages/queryx/tsconfig.json b/packages/queryx/tsconfig.json new file mode 100644 index 0000000..83da2e1 --- /dev/null +++ b/packages/queryx/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "types": ["bun"], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "include": ["src", "test"] +} \ No newline at end of file