@tokenslim/cli-binary-linux-arm64-gnu 0.2.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.
Files changed (71) hide show
  1. package/README.md +26 -0
  2. package/bin/tokenslim +0 -0
  3. package/bin/tokenslim-server +0 -0
  4. package/config/android_gradle.json +52 -0
  5. package/config/ansi_cleaner.json +31 -0
  6. package/config/ansible.json +47 -0
  7. package/config/artifact_summary.json +56 -0
  8. package/config/bazel.json +45 -0
  9. package/config/build_plugin.route.json +145 -0
  10. package/config/ci_log.json +60 -0
  11. package/config/ci_log.route.json +28 -0
  12. package/config/cloud_log.json +94 -0
  13. package/config/cloudformation.json +43 -0
  14. package/config/db_log.json +51 -0
  15. package/config/dotnet.json +27 -0
  16. package/config/encoding_fallback.json +25 -0
  17. package/config/explain.json +23 -0
  18. package/config/gcc_log.json +62 -0
  19. package/config/generic_text.json +29 -0
  20. package/config/generic_text_plugin.route.json +9 -0
  21. package/config/git_diff.json +30 -0
  22. package/config/helm.json +49 -0
  23. package/config/java_stack.json +54 -0
  24. package/config/json.json +39 -0
  25. package/config/kubernetes_docker.json +31 -0
  26. package/config/markdown.json +27 -0
  27. package/config/maven.json +29 -0
  28. package/config/minify_code.json +29 -0
  29. package/config/ndjson.json +26 -0
  30. package/config/node_error.json +42 -0
  31. package/config/node_plugin.route.json +53 -0
  32. package/config/nodejs.json +44 -0
  33. package/config/noise_filter.json +25 -0
  34. package/config/php_ruby.json +31 -0
  35. package/config/protobuf.json +49 -0
  36. package/config/pulumi.json +47 -0
  37. package/config/pytest.json +42 -0
  38. package/config/python_traceback.json +49 -0
  39. package/config/rust_go.json +44 -0
  40. package/config/shell_session.json +29 -0
  41. package/config/smart_code.json +32 -0
  42. package/config/smart_path.json +25 -0
  43. package/config/spring_boot.json +31 -0
  44. package/config/sql.json +27 -0
  45. package/config/static_rule.json +28 -0
  46. package/config/syslog.json +33 -0
  47. package/config/template_driven.json +25 -0
  48. package/config/terraform.json +49 -0
  49. package/config/unity_unreal.json +27 -0
  50. package/config/vcs.json +35 -0
  51. package/config/vcs_az.json +35 -0
  52. package/config/vcs_bitbucket.json +35 -0
  53. package/config/vcs_bzr.json +33 -0
  54. package/config/vcs_cvs.json +35 -0
  55. package/config/vcs_darcs.json +32 -0
  56. package/config/vcs_fossil.json +33 -0
  57. package/config/vcs_gerrit.json +38 -0
  58. package/config/vcs_gh.json +36 -0
  59. package/config/vcs_git.json +35 -0
  60. package/config/vcs_glab.json +34 -0
  61. package/config/vcs_hg.json +35 -0
  62. package/config/vcs_p4.json +34 -0
  63. package/config/vcs_plugin.route.json +411 -0
  64. package/config/vcs_repo.json +34 -0
  65. package/config/vcs_svn.json +28 -0
  66. package/config/web_log.json +74 -0
  67. package/config/webpack_vite.json +29 -0
  68. package/config/xcode_log.json +40 -0
  69. package/config/xml_html.json +34 -0
  70. package/config/yaml.json +37 -0
  71. package/package.json +27 -0
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "yaml",
3
+ "description": "YAML structure compaction",
4
+ "priority": 150,
5
+ "enabled": true,
6
+ "detect": {
7
+ "rules": [
8
+ {
9
+ "type": "regex",
10
+ "pattern": "^\\w+:\\s*$"
11
+ },
12
+ {
13
+ "type": "regex",
14
+ "pattern": "^\\s+-\\s+\\w+:"
15
+ }
16
+ ],
17
+ "min_match_ratio": 0.3
18
+ },
19
+ "compress": {
20
+ "token_prefix": "$YAML",
21
+ "dedup": {
22
+ "enabled": false
23
+ }
24
+ },
25
+ "keep_signals": [
26
+ "有效YAML的映射键值对结构(键被字典化)",
27
+ "序列的前max_seq_len个元素",
28
+ "YAML解析失败时的原始文本"
29
+ ],
30
+ "compress_targets": [
31
+ "长序列截断(超过max_seq_len部分替换为$SEQ-$n占位符)",
32
+ "映射键替换为字典宏",
33
+ "YAML缩进与空白压缩为紧凑格式",
34
+ "深度超过max_depth时替换为\"...depth limit...\""
35
+ ],
36
+ "design_intent": "YAML脱水:保留键值结构,折叠长序列,压缩键标识符。"
37
+ }
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@tokenslim/cli-binary-linux-arm64-gnu",
3
+ "version": "0.2.0",
4
+ "description": "Prebuilt TokenSlim CLI + server binaries (Linux ARM64, glibc).",
5
+ "author": "nuoyazhizhou",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/nuoyazhizhou/tokenslim.git",
10
+ "directory": "packages/cli-binary-linux-arm64-gnu"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/nuoyazhizhou/tokenslim/issues"
14
+ },
15
+ "homepage": "https://github.com/nuoyazhizhou/tokenslim#readme",
16
+ "os": ["linux"],
17
+ "cpu": ["arm64"],
18
+ "libc": ["glibc"],
19
+ "files": [
20
+ "bin/",
21
+ "config/",
22
+ "README.md"
23
+ ],
24
+ "engines": {
25
+ "node": ">=18.0.0"
26
+ }
27
+ }