├── .editorconfig ├── .git-blame-ignore-revs ├── .gitattributes ├── .github └── workflows │ └── semgrep.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── examples ├── quickstart │ ├── package.json │ ├── src │ │ └── index.js │ └── wrangler.toml └── simple-worker │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── worker-configuration.d.ts │ └── wrangler.toml ├── index.ts ├── package.json ├── src ├── createToolsFromOpenAPISpec.ts ├── index.ts ├── logger.ts ├── runWithTools.ts ├── types │ ├── index.ts │ └── openapi-schema.ts └── utils.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/.editorconfig -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/.git-blame-ignore-revs -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/workflows/semgrep.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/.github/workflows/semgrep.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/README.md -------------------------------------------------------------------------------- /examples/quickstart/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/quickstart/package.json -------------------------------------------------------------------------------- /examples/quickstart/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/quickstart/src/index.js -------------------------------------------------------------------------------- /examples/quickstart/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/quickstart/wrangler.toml -------------------------------------------------------------------------------- /examples/simple-worker/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/simple-worker/index.ts -------------------------------------------------------------------------------- /examples/simple-worker/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/simple-worker/package.json -------------------------------------------------------------------------------- /examples/simple-worker/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/simple-worker/tsconfig.json -------------------------------------------------------------------------------- /examples/simple-worker/worker-configuration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/simple-worker/worker-configuration.d.ts -------------------------------------------------------------------------------- /examples/simple-worker/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/examples/simple-worker/wrangler.toml -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/package.json -------------------------------------------------------------------------------- /src/createToolsFromOpenAPISpec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/src/createToolsFromOpenAPISpec.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/runWithTools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/src/runWithTools.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/openapi-schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/src/types/openapi-schema.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/ai-utils/HEAD/tsconfig.json --------------------------------------------------------------------------------