ng-directive-zero
v1.0.7
Published
Angular implementation of Agentation
Maintainers
Readme
NgDirectiveZero
Angular implementation of Agentation for visual DOM inspection and annotation. It provides an overlay-driven marker flow, component metadata extraction, and structured prompt output for page feedback.
Demo

Features
- Visual overlay to mark components or DOM nodes
- Marker list, intent editing, and clipboard export
- Angular component metadata extraction (inputs/outputs/properties)
- Prompt output detail levels (compact, standard, detailed, forensic)
- Nested element selection via breadcrumb navigation
Installation
npm install ng-directive-zeroQuick start
Import the module in your root module and place the agentation component once in your app.
// app.module.ts
import { NgDirectiveZeroModule } from 'ng-directive-zero';
@NgModule({
imports: [
NgDirectiveZeroModule.forRoot(),
],
})
export class AppModule {}<!-- app.component.html -->
<ag-directive-zero></ag-directive-zero>Exported API
Module
NgDirectiveZeroModule
Components
ag-directive-zeroag-overlayag-toolbarag-markers-panelag-settings-panelag-annotation-panelag-inline-editor
Services
ComponentWalkerServiceDataSanitizerServicePromptGeneratorServiceMcpService
Models
ComponentNode,MarkerAnnotation,RecordingSessionAgentationSettings,ToolbarStateOutputDetail,MarkerColor,DEFAULT_SETTINGS,MARKER_COLORS
Build & test
ng build ng-directive-zero
ng testPublishing
ng build ng-directive-zero
cd dist/ng-directive-zero
npm publishCompatibility
Peer dependencies:
@angular/coreand@angular/common>=14 <21
License
MIT
