2 个仓库
Automating structural changes to source code through a programmatic AST interface.
Distinct from TypeScript Code Transformations: Focuses on structural refactoring of existing code, whereas the sibling focuses on transpilation for execution.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Programmatic Code Refactoring. Refine with filters or upvote what's useful.
ts-morph is a TypeScript AST manipulation library and a high-level wrapper for the TypeScript compiler API. It provides a programmatic interface for analyzing, modifying, and generating TypeScript source code, serving as a tool for automated code refactoring and source code generation. The library simplifies the process of navigating and inspecting project structures by offering an object-oriented abstraction over the underlying compiler API. It allows for the programmatic transformation of existing codebases to automate structural updates and bulk code migrations. Its capabilities cover sta
Automates structural changes and updates to TypeScript source code through a programmatic interface.
该项目是一个 TypeScript 软件开发工具包,旨在构建和编排与代码库和系统环境交互的自主代理。它提供了一个程序化接口,用于构建能够执行复杂工作流的代理,例如通过利用大语言模型进行自动化代码重构、文件系统操作和 Shell 命令执行。 该框架通过对安全、受控代理操作的关注脱颖而出。它包括细粒度的访问控制系统,允许开发者为工具和外部服务定义特定权限,确保自动化任务保持在定义的安全策略内。该架构支持分层委托,使主代理能够为专注的任务生成和协调专门的子代理,同时保持有状态的会话持久性以允许恢复之前的工作。 该 SDK 提供对代理生命周期的全面可观测性和控制。开发者可以利用事件驱动的钩子在运行时拦截、验证或修改代理行为,并将实时执行进度和任务通知流式传输到宿主应用程序。该环境专为一致性和安全性而设计,具有隔离的执行上下文和可配置的系统指令,这些指令管理代理如何解释和作用于其环境。
Uses programmatic agents to read, modify, and update source code files for complex refactoring tasks.