truceptor 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Raja Datascientist
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Truceptor (npm)
2
+
3
+ **Truceptor** — governance at the tool boundary. This npm package reserves the name for the future TypeScript/JavaScript SDK.
4
+
5
+ | Channel | Status |
6
+ |---------|--------|
7
+ | **npm `truceptor`** | Placeholder `0.0.1` — blocks the name until the real SDK ships |
8
+ | **PyPI `truceptor`** | Active Python SDK — `pip install truceptor` |
9
+
10
+ ## Install (placeholder only)
11
+
12
+ ```bash
13
+ npm install truceptor
14
+ ```
15
+
16
+ This version exists to reserve the package name on npm. It does **not** provide a working governance client yet.
17
+
18
+ ## Roadmap
19
+
20
+ TypeScript SDK is on the backlog after replay, forensics, drift, and MCP. Track progress in `product_status/status.yaml`.
21
+
22
+ ## Links
23
+
24
+ - Repository: https://github.com/raja-datascientist/ACP
25
+ - Python SDK: https://pypi.org/project/truceptor/
26
+
27
+ ## Publish (maintainers)
28
+
29
+ From `sdk/npm`:
30
+
31
+ ```bash
32
+ npm publish --access public
33
+ ```
34
+
35
+ Requires npm login or `NPM_TOKEN` in the environment.
package/index.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /** Placeholder types — full SDK forthcoming. */
2
+ export declare const RESERVED_MESSAGE: string;
3
+ export declare const version: string;
4
+
5
+ export declare class ACPClient {
6
+ constructor(options?: { interceptorUrl?: string; bearerToken?: string });
7
+ }
package/index.js ADDED
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Placeholder for the truceptor npm package (name reservation).
3
+ * Full TypeScript SDK: https://github.com/raja-datascientist/ACP (sdk/npm, roadmap NEXT #3)
4
+ *
5
+ * Python SDK today: pip install truceptor
6
+ */
7
+
8
+ const RESERVED_MESSAGE =
9
+ "truceptor npm package (0.0.1): TypeScript SDK not released yet — use pip install truceptor for Python.";
10
+
11
+ function notImplemented(method) {
12
+ throw new Error(`${RESERVED_MESSAGE} (${method} is not available.)`);
13
+ }
14
+
15
+ /** @type {import('./index.d.ts').ACPClient} */
16
+ class ACPClient {
17
+ constructor() {
18
+ notImplemented("ACPClient");
19
+ }
20
+ }
21
+
22
+ module.exports = {
23
+ RESERVED_MESSAGE,
24
+ ACPClient,
25
+ version: "0.0.1",
26
+ };
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "truceptor",
3
+ "version": "0.0.1",
4
+ "description": "Truceptor — trusted intercept for agent tool calls (npm). TypeScript SDK TBD. Python: pip install truceptor.",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "license": "MIT",
8
+ "author": "SV",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/raja-datascientist/ACP.git",
12
+ "directory": "sdk/npm"
13
+ },
14
+ "homepage": "https://github.com/raja-datascientist/ACP",
15
+ "bugs": {
16
+ "url": "https://github.com/raja-datascientist/ACP/issues"
17
+ },
18
+ "keywords": [
19
+ "acp",
20
+ "ai",
21
+ "agents",
22
+ "governance",
23
+ "control-plane",
24
+ "opa",
25
+ "mcp"
26
+ ],
27
+ "engines": {
28
+ "node": ">=18"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public"
32
+ }
33
+ }