@actagent/diffs-language-pack 2026.6.2
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 +30 -0
- package/actagent.plugin.json +14 -0
- package/api.ts +7 -0
- package/assets/viewer-runtime.js +259 -0
- package/index.ts +10 -0
- package/npm-shrinkwrap.json +12 -0
- package/package.json +44 -0
- package/src/plugin.ts +65 -0
- package/src/viewer-assets.ts +91 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @actagent/diffs-language-pack
|
|
2
|
+
|
|
3
|
+
Official extended syntax highlighting pack for the ACTAgent Diffs plugin.
|
|
4
|
+
|
|
5
|
+
The base `@actagent/diffs` plugin ships a curated language set. Install this package when you want the full Shiki language catalog available in rendered diff viewers and diff image/PDF output.
|
|
6
|
+
|
|
7
|
+
The pack adds highlighting for languages outside the default diffs viewer set, including Astro, Vue, Svelte, MDX, GraphQL, Terraform/HCL, Nix, Clojure, Elixir, Haskell, OCaml, Scala, Zig, Solidity, Verilog/VHDL, Fortran, MATLAB, LaTeX, Mermaid, Sass/Less/SCSS, Nginx, Apache, CSV, dotenv, INI, and diff files. See the plugin reference and Shiki language catalog for details.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
actagent plugins install @actagent/diffs-language-pack
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Restart the Gateway after installing or updating the plugin.
|
|
16
|
+
|
|
17
|
+
## Use with Diffs
|
|
18
|
+
|
|
19
|
+
Install `@actagent/diffs` first, then install this language pack. The language pack contributes static viewer assets; it does not register a separate agent tool.
|
|
20
|
+
|
|
21
|
+
## Docs
|
|
22
|
+
|
|
23
|
+
- https://docs.actagent.ai/tools/diffs
|
|
24
|
+
- https://docs.actagent.ai/plugins/reference/diffs-language-pack
|
|
25
|
+
|
|
26
|
+
## Package
|
|
27
|
+
|
|
28
|
+
- Plugin id: `diffs-language-pack`
|
|
29
|
+
- Package: `@actagent/diffs-language-pack`
|
|
30
|
+
- Minimum ACTAgent host: `2026.5.27`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "diffs-language-pack",
|
|
3
|
+
"requiresPlugins": ["diffs"],
|
|
4
|
+
"activation": {
|
|
5
|
+
"onStartup": true
|
|
6
|
+
},
|
|
7
|
+
"name": "Diff Viewer Language Pack",
|
|
8
|
+
"description": "Adds syntax highlighting for languages outside the default diffs viewer set.",
|
|
9
|
+
"configSchema": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"additionalProperties": false,
|
|
12
|
+
"properties": {}
|
|
13
|
+
}
|
|
14
|
+
}
|