Scan TypeScript AI agent code for unguarded tool calls — pip wrapper for diplomat-agent-ts
Project description
diplomat-agent-ts
Scan TypeScript AI agent code for unguarded tool calls — pip wrapper for
@diplomat-ai/diplomat-agent-ts.
Requires Node.js >= 20 on PATH. The scanner runs via Node; this package is a zero-dependency Python shim.
Install
pip install diplomat-agent-ts
Usage
diplomat-agent-ts scan ./src
diplomat-agent-ts scan ./src --output-registry toolcalls.yaml
diplomat-agent-ts scan ./src --fail-on-unchecked # for CI
diplomat-agent-ts scan ./src --format json
Programmatic use
from diplomat_agent_ts import run
run(["scan", "./src", "--format", "json"])
Requirements
- Python >= 3.9
- Node.js >= 20 (install via nodejs.org or nvm)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file diplomat_agent_ts-0.1.0.tar.gz.
File metadata
- Download URL: diplomat_agent_ts-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bff502ba2402aa39667bf07fb0ccb14fdeb4aea682d072c8140f91c5df280d12
|
|
| MD5 |
52479e76b99616b390b795e9879667fd
|
|
| BLAKE2b-256 |
d737e24f069eb9be0408e5b90624c92acb481ff1f6d96add73b51ca4eece090b
|
File details
Details for the file diplomat_agent_ts-0.1.0-py3-none-any.whl.
File metadata
- Download URL: diplomat_agent_ts-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78f6e06c5092d76f4c77f7ff96e8d9e21f02d536d1aa104126104483bb739ac9
|
|
| MD5 |
358ffef8f5aca9913defad302a4d4e95
|
|
| BLAKE2b-256 |
169f45ecaaf21a0d9708985627d6f2befb174a646f42bf0a25c4097ba23d2dc6
|