Skip to main content

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

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diplomat_agent_ts-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diplomat_agent_ts-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file diplomat_agent_ts-0.1.1.tar.gz.

File metadata

  • Download URL: diplomat_agent_ts-0.1.1.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

Hashes for diplomat_agent_ts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3a070bddbe06fe53731cc1ddfd1d83349242c7e421215b434b4abd0e291dae48
MD5 b1d1bbb40f7d3a6f4b9976ac3dcbff57
BLAKE2b-256 44613deb33d117d013c311bbfc9d560e6a9ba3ec37d15c3f314b5f3a89684157

See more details on using hashes here.

File details

Details for the file diplomat_agent_ts-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for diplomat_agent_ts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d065f4d99ef883149ae7f61648fa5b73c9a1ab67fa58d43331a1392ff3bdea9b
MD5 709a452fd93b56615a475ac4e4937b0b
BLAKE2b-256 c041d246230275ab1056ee371a38e589b5123e57b01f3ca81a3de0f8dad691d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page