@ai-agent-forge/plugin-formatter-linter 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/agent-forge.json +12 -0
- package/dist/capability.d.ts +5 -0
- package/dist/capability.d.ts.map +1 -0
- package/dist/capability.js +238 -0
- package/dist/capability.js.map +1 -0
- package/dist/entry.d.ts +12 -0
- package/dist/entry.d.ts.map +1 -0
- package/dist/entry.js +13 -0
- package/dist/entry.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/node-adapter.d.ts +17 -0
- package/dist/node-adapter.d.ts.map +1 -0
- package/dist/node-adapter.js +381 -0
- package/dist/node-adapter.js.map +1 -0
- package/dist/sanitize.d.ts +15 -0
- package/dist/sanitize.d.ts.map +1 -0
- package/dist/sanitize.js +43 -0
- package/dist/sanitize.js.map +1 -0
- package/dist/types.d.ts +106 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +6 -0
- package/dist/types.js.map +1 -0
- package/package.json +55 -0
- package/plugin.json +9 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEnF,eAAO,MAAM,6BAA6B,uCAAiD,CAAC;AAC5F,eAAO,MAAM,sCAAsC,GAAa,CAAC;AACjE,eAAO,MAAM,mCAAmC,yBAAmC,CAAC;AACpF,eAAO,MAAM,wCAAwC,SAAmB,CAAC;AACzE,eAAO,MAAM,mCAAmC,KAAe,CAAC;AAEhE,MAAM,MAAM,yBAAyB,GAClC,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,IAAI,GACJ,M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,CAAC,EAAE,EAAE,wBAAwB,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA;KAAE,CAAC,CAAC;CACnG","sourcesContent":["import type { PluginErrorV1, PluginResultStatusV1 } from \"@agent-forge/plugin-sdk\";\n\nexport const FORMATTER_LINTER_PLUGIN_ID_V1 = \"agent-forge.plugin.formatter-linter\" as const;\nexport const FORMATTER_LINTER_CAPABILITY_VERSION_V1 = 1 as const;\nexport const FORMATTER_LINTER_HOST_ADAPTER_ID_V1 = \"node-formatter-linter\" as const;\nexport const FORMATTER_LINTER_HOST_ADAPTER_VERSION_V1 = \"1.0.0\" as const;\nexport const FORMATTER_LINTER_MAX_DIAGNOSTICS_V1 = 128 as const;\n\nexport type FormatterLinterLanguageV1 =\n\t| \"typescript\"\n\t| \"javascript\"\n\t| \"json\"\n\t| \"css\"\n\t| \"html\"\n\t| \"markdown\"\n\t| \"yaml\"\n\t| \"python\"\n\t| \"go\"\n\t| \"rust\"\n\t| \"java\"\n\t| \"c\"\n\t| \"cpp\"\n\t| \"csharp\"\n\t| \"ruby\"\n\t| \"php\";\n\nexport type FormatterLinterToolV1 =\n\t| \"eslint\"\n\t| \"prettier\"\n\t| \"biome\"\n\t| \"ruff\"\n\t| \"gofmt\"\n\t| \"black\"\n\t| \"clang-format\"\n\t| \"golangci-lint\";\n\nexport type FormatterLinterOperationV1 = \"lint\" | \"format-check\";\nexport type FormatterLinterSeverityV1 = \"error\" | \"warning\" | \"info\";\nexport type FormatterLinterDiagnosticCategoryV1 = \"lint\" | \"format\";\n\n/**\n * Opaque request only. The model cannot select a command, cwd, environment,\n * argv, or source text; the host maps this request to an approved tool plan.\n */\nexport interface FormatterLinterRequestV1 {\n\treadonly version: 1;\n\treadonly operationId: string;\n\treadonly workspaceRef: string;\n\treadonly language: FormatterLinterLanguageV1;\n\treadonly tool: FormatterLinterToolV1;\n\treadonly operation: FormatterLinterOperationV1;\n\treadonly targetRef: string;\n\treadonly timeoutMs?: number;\n\treadonly maxDiagnostics?: number;\n}\n\n/** Model-visible, path-free diagnostic projection. */\nexport interface FormatterLinterDiagnosticV1 {\n\treadonly targetRef: string;\n\treadonly category: FormatterLinterDiagnosticCategoryV1;\n\treadonly severity: FormatterLinterSeverityV1;\n\treadonly ruleId?: string;\n\treadonly line?: number;\n\treadonly column?: number;\n\treadonly message: string;\n}\n\nexport interface FormatterLinterSummaryV1 {\n\treadonly targetsChecked: number;\n\treadonly total: number;\n\treadonly errors: number;\n\treadonly warnings: number;\n\treadonly infos: number;\n\treadonly formatIssues: number;\n}\n\n/** Full logs, source, and patches remain behind reportArtifactRef in the host. */\nexport interface FormatterLinterResultV1 {\n\treadonly version: 1;\n\treadonly operationId: string;\n\treadonly status: PluginResultStatusV1;\n\treadonly summary: FormatterLinterSummaryV1;\n\treadonly diagnostics: readonly FormatterLinterDiagnosticV1[];\n\treadonly diagnosticsTruncated: boolean;\n\treadonly reportArtifactRef?: string;\n\treadonly error?: PluginErrorV1;\n}\n\n/** Host-private plan. It deliberately has no command, cwd, environment, or argv fields. */\nexport interface FormatterLinterExecutionV1 {\n\treadonly executionRef: string;\n}\n\nexport interface FormatterLinterExecutionResolverV1 {\n\tresolve(request: FormatterLinterRequestV1, signal?: AbortSignal): Promise<FormatterLinterExecutionV1 | undefined>;\n}\n\n/** Host-owned runner. It may invoke tools but only after resolver policy approval. */\nexport interface FormatterLinterRunnerV1 {\n\trun(\n\t\tinput: {\n\t\t\treadonly execution: FormatterLinterExecutionV1;\n\t\t\treadonly request: FormatterLinterRequestV1;\n\t\t},\n\t\tsignal?: AbortSignal,\n\t): Promise<FormatterLinterHostResultV1>;\n}\n\n/** Host-private parsed data; raw stdout, stderr, source, and diffs are excluded. */\nexport type FormatterLinterHostResultV1 =\n\t| {\n\t\t\treadonly status: \"completed\";\n\t\t\treadonly targetsChecked: number;\n\t\t\treadonly diagnostics?: readonly unknown[];\n\t\t\treadonly reportArtifactRef?: unknown;\n\t }\n\t| { readonly status: \"unsupported\" };\n\nexport interface NodeFormatterLinterAdapterOptionsV1 {\n\treadonly resolver?: FormatterLinterExecutionResolverV1;\n\treadonly runner?: FormatterLinterRunnerV1;\n\treadonly defaultTimeoutMs?: number;\n}\n\nexport interface FormatterLinterAdapterV1 {\n\treadonly adapterId: string;\n\treadonly adapterVersion: string;\n\trun(request: FormatterLinterRequestV1, signal?: AbortSignal): Promise<FormatterLinterResultV1>;\n}\n\nexport interface FormatterLinterDeterministicFixtureV1 {\n\treadonly workspaceRef: string;\n\treadonly language: FormatterLinterLanguageV1;\n\treadonly tool: FormatterLinterToolV1;\n\treadonly operation: FormatterLinterOperationV1;\n\treadonly targetRef: string;\n\treadonly result: FormatterLinterHostResultV1;\n}\n\nexport interface FormatterLinterPluginManifestV1 {\n\treadonly id: typeof FORMATTER_LINTER_PLUGIN_ID_V1;\n\treadonly pluginVersion: string;\n\treadonly apiVersion: \"1\";\n\treadonly capabilityRefs: readonly [{ readonly id: \"formatter-linter.check\"; readonly version: 1 }];\n}\n"]}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const FORMATTER_LINTER_PLUGIN_ID_V1 = "agent-forge.plugin.formatter-linter";
|
|
2
|
+
export const FORMATTER_LINTER_CAPABILITY_VERSION_V1 = 1;
|
|
3
|
+
export const FORMATTER_LINTER_HOST_ADAPTER_ID_V1 = "node-formatter-linter";
|
|
4
|
+
export const FORMATTER_LINTER_HOST_ADAPTER_VERSION_V1 = "1.0.0";
|
|
5
|
+
export const FORMATTER_LINTER_MAX_DIAGNOSTICS_V1 = 128;
|
|
6
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,6BAA6B,GAAG,qCAA8C,CAAC;AAC5F,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAU,CAAC;AACjE,MAAM,CAAC,MAAM,mCAAmC,GAAG,uBAAgC,CAAC;AACpF,MAAM,CAAC,MAAM,wCAAwC,GAAG,OAAgB,CAAC;AACzE,MAAM,CAAC,MAAM,mCAAmC,GAAG,GAAY,CAAC","sourcesContent":["import type { PluginErrorV1, PluginResultStatusV1 } from \"@agent-forge/plugin-sdk\";\n\nexport const FORMATTER_LINTER_PLUGIN_ID_V1 = \"agent-forge.plugin.formatter-linter\" as const;\nexport const FORMATTER_LINTER_CAPABILITY_VERSION_V1 = 1 as const;\nexport const FORMATTER_LINTER_HOST_ADAPTER_ID_V1 = \"node-formatter-linter\" as const;\nexport const FORMATTER_LINTER_HOST_ADAPTER_VERSION_V1 = \"1.0.0\" as const;\nexport const FORMATTER_LINTER_MAX_DIAGNOSTICS_V1 = 128 as const;\n\nexport type FormatterLinterLanguageV1 =\n\t| \"typescript\"\n\t| \"javascript\"\n\t| \"json\"\n\t| \"css\"\n\t| \"html\"\n\t| \"markdown\"\n\t| \"yaml\"\n\t| \"python\"\n\t| \"go\"\n\t| \"rust\"\n\t| \"java\"\n\t| \"c\"\n\t| \"cpp\"\n\t| \"csharp\"\n\t| \"ruby\"\n\t| \"php\";\n\nexport type FormatterLinterToolV1 =\n\t| \"eslint\"\n\t| \"prettier\"\n\t| \"biome\"\n\t| \"ruff\"\n\t| \"gofmt\"\n\t| \"black\"\n\t| \"clang-format\"\n\t| \"golangci-lint\";\n\nexport type FormatterLinterOperationV1 = \"lint\" | \"format-check\";\nexport type FormatterLinterSeverityV1 = \"error\" | \"warning\" | \"info\";\nexport type FormatterLinterDiagnosticCategoryV1 = \"lint\" | \"format\";\n\n/**\n * Opaque request only. The model cannot select a command, cwd, environment,\n * argv, or source text; the host maps this request to an approved tool plan.\n */\nexport interface FormatterLinterRequestV1 {\n\treadonly version: 1;\n\treadonly operationId: string;\n\treadonly workspaceRef: string;\n\treadonly language: FormatterLinterLanguageV1;\n\treadonly tool: FormatterLinterToolV1;\n\treadonly operation: FormatterLinterOperationV1;\n\treadonly targetRef: string;\n\treadonly timeoutMs?: number;\n\treadonly maxDiagnostics?: number;\n}\n\n/** Model-visible, path-free diagnostic projection. */\nexport interface FormatterLinterDiagnosticV1 {\n\treadonly targetRef: string;\n\treadonly category: FormatterLinterDiagnosticCategoryV1;\n\treadonly severity: FormatterLinterSeverityV1;\n\treadonly ruleId?: string;\n\treadonly line?: number;\n\treadonly column?: number;\n\treadonly message: string;\n}\n\nexport interface FormatterLinterSummaryV1 {\n\treadonly targetsChecked: number;\n\treadonly total: number;\n\treadonly errors: number;\n\treadonly warnings: number;\n\treadonly infos: number;\n\treadonly formatIssues: number;\n}\n\n/** Full logs, source, and patches remain behind reportArtifactRef in the host. */\nexport interface FormatterLinterResultV1 {\n\treadonly version: 1;\n\treadonly operationId: string;\n\treadonly status: PluginResultStatusV1;\n\treadonly summary: FormatterLinterSummaryV1;\n\treadonly diagnostics: readonly FormatterLinterDiagnosticV1[];\n\treadonly diagnosticsTruncated: boolean;\n\treadonly reportArtifactRef?: string;\n\treadonly error?: PluginErrorV1;\n}\n\n/** Host-private plan. It deliberately has no command, cwd, environment, or argv fields. */\nexport interface FormatterLinterExecutionV1 {\n\treadonly executionRef: string;\n}\n\nexport interface FormatterLinterExecutionResolverV1 {\n\tresolve(request: FormatterLinterRequestV1, signal?: AbortSignal): Promise<FormatterLinterExecutionV1 | undefined>;\n}\n\n/** Host-owned runner. It may invoke tools but only after resolver policy approval. */\nexport interface FormatterLinterRunnerV1 {\n\trun(\n\t\tinput: {\n\t\t\treadonly execution: FormatterLinterExecutionV1;\n\t\t\treadonly request: FormatterLinterRequestV1;\n\t\t},\n\t\tsignal?: AbortSignal,\n\t): Promise<FormatterLinterHostResultV1>;\n}\n\n/** Host-private parsed data; raw stdout, stderr, source, and diffs are excluded. */\nexport type FormatterLinterHostResultV1 =\n\t| {\n\t\t\treadonly status: \"completed\";\n\t\t\treadonly targetsChecked: number;\n\t\t\treadonly diagnostics?: readonly unknown[];\n\t\t\treadonly reportArtifactRef?: unknown;\n\t }\n\t| { readonly status: \"unsupported\" };\n\nexport interface NodeFormatterLinterAdapterOptionsV1 {\n\treadonly resolver?: FormatterLinterExecutionResolverV1;\n\treadonly runner?: FormatterLinterRunnerV1;\n\treadonly defaultTimeoutMs?: number;\n}\n\nexport interface FormatterLinterAdapterV1 {\n\treadonly adapterId: string;\n\treadonly adapterVersion: string;\n\trun(request: FormatterLinterRequestV1, signal?: AbortSignal): Promise<FormatterLinterResultV1>;\n}\n\nexport interface FormatterLinterDeterministicFixtureV1 {\n\treadonly workspaceRef: string;\n\treadonly language: FormatterLinterLanguageV1;\n\treadonly tool: FormatterLinterToolV1;\n\treadonly operation: FormatterLinterOperationV1;\n\treadonly targetRef: string;\n\treadonly result: FormatterLinterHostResultV1;\n}\n\nexport interface FormatterLinterPluginManifestV1 {\n\treadonly id: typeof FORMATTER_LINTER_PLUGIN_ID_V1;\n\treadonly pluginVersion: string;\n\treadonly apiVersion: \"1\";\n\treadonly capabilityRefs: readonly [{ readonly id: \"formatter-linter.check\"; readonly version: 1 }];\n}\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ai-agent-forge/plugin-formatter-linter",
|
|
3
|
+
"version": "0.85.0",
|
|
4
|
+
"description": "Formatter-linter capability plugin for Agent Forge (read-only formatter_linter_check tool)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"agent-forge.json",
|
|
17
|
+
"plugin.json",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"clean": "shx rm -rf dist",
|
|
22
|
+
"build": "tsgo -p tsconfig.build.json",
|
|
23
|
+
"test": "vitest --run",
|
|
24
|
+
"prepublishOnly": "npm run clean && npm run build"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"agent-forge",
|
|
28
|
+
"plugin",
|
|
29
|
+
"formatter",
|
|
30
|
+
"linter"
|
|
31
|
+
],
|
|
32
|
+
"author": "Agent Forge contributors",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/agent-forge/agent-forge.git",
|
|
37
|
+
"directory": "plugins/formatter-linter"
|
|
38
|
+
},
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/agent-forge/agent-forge/issues"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/agent-forge/agent-forge#readme",
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=22.19.0"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@agent-forge/plugin-sdk": "^0.85.0",
|
|
48
|
+
"typebox": "1.3.27"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@agent-forge/agent-forge": "^0.85.0",
|
|
52
|
+
"shx": "0.4.0",
|
|
53
|
+
"vitest": "4.1.9"
|
|
54
|
+
}
|
|
55
|
+
}
|
package/plugin.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "agent-forge.plugin.formatter-linter",
|
|
3
|
+
"version": "0.84.4",
|
|
4
|
+
"apiVersion": "1-draft",
|
|
5
|
+
"entry": "./dist/entry.js",
|
|
6
|
+
"hostVersion": ">=0.84.4",
|
|
7
|
+
"requiredCapabilities": ["tools"],
|
|
8
|
+
"provides": [{ "id": "formatter-linter.check", "version": 1, "kind": "contribution" }]
|
|
9
|
+
}
|