{"_id":"@ahamie/connector-proxy","_rev":"2-d8f12f2923a4dd67e2b39b13f00a8244","name":"@ahamie/connector-proxy","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ahamie/connector-proxy","version":"0.1.0","license":"Apache-2.0","_id":"@ahamie/connector-proxy@0.1.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"bin":{"ahamie-proxy":"dist/bin/ahamie-proxy.js"},"dist":{"shasum":"4f73aa4e2c9c7c1347234150fe22b572257207ba","tarball":"https://registry.npmjs.org/@ahamie/connector-proxy/-/connector-proxy-0.1.0.tgz","fileCount":8,"integrity":"sha512-u9pFJxlu7ao2eQ4Hl/z6PAEjsSeVe6mzZPbR3Q0BDIg5j6yAkc3ZwHtd7ojq/7rybaxa6wQLp3Hisw4iXIqp7g==","signatures":[{"sig":"MEQCIHNqr3sCnusymzL2RSVp3N7EQoVSXu8ahoTZT6HWgBLmAiAI3YCYSmroWI+MMFVUcv9XlPX4pJM9sRnJh8FDnQ0Kmw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32028},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","ahamie":{"kind":"runtime","specVersion":"0.1.0"},"engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js"}},"gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_npmVersion":"10.9.7","description":"Standalone Hono server: token holding, allowlist, MCP-inside, HMAC ingress, audit. Five non-negotiable invariants (I1-I5).","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.16","drizzle-orm":"^0.45.2","@ahamie/schema":"workspace:*","@ahamie/storage":"workspace:*","@ahamie/telemetry":"workspace:*","@hono/node-server":"^1.13.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/connector-proxy_0.1.0_1777663164795_0.9575753374347589","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ahamie/connector-proxy","version":"0.1.1","description":"Standalone Hono server: token holding, allowlist, MCP-inside, HMAC ingress, audit. Five non-negotiable invariants (I1-I5).","license":"Apache-2.0","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"ahamie-proxy":"dist/bin/ahamie-proxy.js"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js"}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","typecheck":"tsc --noEmit","clean":"rm -rf dist .turbo"},"dependencies":{"@ahamie/schema":"0.1.1","@ahamie/storage":"0.1.1","@ahamie/telemetry":"0.1.1","@hono/node-server":"^1.13.0","drizzle-orm":"^0.45.2","hono":"^4.12.16"},"devDependencies":{"@types/node":"^22.10.0","tsup":"^8.5.1","typescript":"^5.6.3","vitest":"^2.1.5"},"engines":{"node":">=22.0.0"},"publishConfig":{"access":"public","provenance":true},"ahamie":{"kind":"runtime","specVersion":"0.1.0"},"_id":"@ahamie/connector-proxy@0.1.1","gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-ZrI4vxuhlCcVhaNhV+HI+b0ALx8uAIxGRRzcCes3Uj5OhORHqbOFoEd6CMxydiBUwXvHOOz6fID5JoYDpsUjXA==","shasum":"bd98548954f5fd24c60710f35079f7a3dd1638e5","tarball":"https://registry.npmjs.org/@ahamie/connector-proxy/-/connector-proxy-0.1.1.tgz","fileCount":8,"unpackedSize":32010,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCb9cT4QAiOhvY74l6WPOWaSHvgNeMUn+zlm0mQBBHdLgIhAMcW37UNw+A3GzDwu3axwAc183h26nWfTH+kMYAjDNyP"}]},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"directories":{},"maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/connector-proxy_0.1.1_1777663293292_0.6296962269786477"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-01T19:19:24.723Z","modified":"2026-05-01T19:21:33.635Z","0.1.0":"2026-05-01T19:19:24.990Z","0.1.1":"2026-05-01T19:21:33.446Z"},"license":"Apache-2.0","description":"Standalone Hono server: token holding, allowlist, MCP-inside, HMAC ingress, audit. Five non-negotiable invariants (I1-I5).","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"readme":"# @ahamie/connector-proxy\n\nThe trust boundary. Standalone Hono process; **the only** code that decrypts credentials. Five non-negotiable invariants:\n\n| | |\n|---|---|\n| **I1** | credentials resolved server-side; agent process never sees the raw token |\n| **I2** | per-connector (method, path) allowlist; 403 on miss |\n| **I3** | caller `Authorization` stripped before upstream forward |\n| **I4** | response auth headers stripped before return |\n| **I5** | HMAC-verified inbound webhooks; mismatch → 401 + audit row |\n\nThe CLI binary `ahamie-proxy` is spawned by `ahamie dev` as a child process so the agent runtime and the credential layer have separate process spaces.\n\n```ts\nimport { createProxyApp } from \"@ahamie/connector-proxy\";\nconst app = createProxyApp({ db, bearer, credentialResolver, adapters });\n```\n","readmeFilename":"README.md"}