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.0.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.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for diplomat_agent_ts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bff502ba2402aa39667bf07fb0ccb14fdeb4aea682d072c8140f91c5df280d12
MD5 52479e76b99616b390b795e9879667fd
BLAKE2b-256 d737e24f069eb9be0408e5b90624c92acb481ff1f6d96add73b51ca4eece090b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for diplomat_agent_ts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78f6e06c5092d76f4c77f7ff96e8d9e21f02d536d1aa104126104483bb739ac9
MD5 358ffef8f5aca9913defad302a4d4e95
BLAKE2b-256 169f45ecaaf21a0d9708985627d6f2befb174a646f42bf0a25c4097ba23d2dc6

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