opencodekit 0.17.0 → 0.17.1

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/dist/index.js CHANGED
@@ -759,7 +759,7 @@ var cac = (name = "") => new CAC(name);
759
759
  // package.json
760
760
  var package_default = {
761
761
  name: "opencodekit",
762
- version: "0.17.0",
762
+ version: "0.17.1",
763
763
  description: "CLI tool for bootstrapping and managing OpenCodeKit projects",
764
764
  keywords: ["agents", "cli", "mcp", "opencode", "opencodekit", "template"],
765
765
  license: "MIT",
@@ -1,82 +1,82 @@
1
1
  {
2
- "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json",
3
- "enabled": true,
4
- "debug": false,
5
- // "minimal" shows prune activity without noise; "detailed" shows token counts
6
- "pruneNotification": "detailed",
7
- // "chat" (in-conversation) or "toast" (system notification)
8
- "pruneNotificationType": "toast",
9
- // Commands: /dcp context, /dcp stats, /dcp sweep
10
- "commands": {
11
- "enabled": true,
12
- // Protect these from /dcp sweep
13
- "protectedTools": ["observation", "memory-update", "memory-search"]
14
- },
15
- "turnProtection": {
16
- "enabled": true,
17
- "turns": 4
18
- },
19
- // Protected file patterns - never auto-prune reads of these files
20
- "protectedFilePatterns": [
21
- "**/.env*",
22
- "**/AGENTS.md",
23
- "**/.opencode/**",
24
- "**/.beads/**",
25
- "**/package.json",
26
- "**/tsconfig.json",
27
- "**/biome.json"
28
- ],
29
- "tools": {
30
- "settings": {
31
- "nudgeEnabled": true,
32
- "nudgeFrequency": 10,
33
- // v2.0.1: percentage support - 90% of model's 128k context
34
- "contextLimit": "90%",
35
- // Protect state-modifying and critical workflow tools
36
- // LSP excluded: ephemeral exploration, prune after understanding
37
- "protectedTools": [
38
- "write",
39
- "edit",
40
- "memory-update",
41
- "observation",
42
- "skill",
43
- "skill_mcp",
44
- "task",
45
- "batch",
46
- "todowrite",
47
- "todoread"
48
- ]
49
- },
50
- // v2.0.0: permission model - "allow", "ask", or "deny"
51
- "prune": {
52
- "permission": "allow"
53
- },
54
- "distill": {
55
- "permission": "allow",
56
- "showDistillation": false
57
- },
58
- "compress": {
59
- // v2.0.1: compress is experimental, deny by default
60
- "permission": "deny",
61
- "showCompression": false
62
- }
63
- },
64
- "strategies": {
65
- // Dedup = zero LLM cost, high impact - always enable
66
- "deduplication": {
67
- "enabled": true,
68
- "protectedTools": []
69
- },
70
- // Supersede writes = zero cost, removes redundant write inputs after read
71
- // Note: default changed to false in beta, we explicitly enable
72
- "supersedeWrites": {
73
- "enabled": true
74
- },
75
- // Purge error inputs after N turns
76
- "purgeErrors": {
77
- "enabled": true,
78
- "turns": 4,
79
- "protectedTools": []
80
- }
81
- }
2
+ "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json",
3
+ "enabled": true,
4
+ "debug": false,
5
+ // "minimal" shows prune activity without noise; "detailed" shows token counts
6
+ "pruneNotification": "detailed",
7
+ // "chat" (in-conversation) or "toast" (system notification)
8
+ "pruneNotificationType": "toast",
9
+ // Commands: /dcp context, /dcp stats, /dcp sweep
10
+ "commands": {
11
+ "enabled": true,
12
+ // Protect these from /dcp sweep
13
+ "protectedTools": ["observation", "memory-update", "memory-search"],
14
+ },
15
+ "turnProtection": {
16
+ "enabled": true,
17
+ "turns": 4,
18
+ },
19
+ // Protected file patterns - never auto-prune reads of these files
20
+ "protectedFilePatterns": [
21
+ "**/.env*",
22
+ "**/AGENTS.md",
23
+ "**/.opencode/**",
24
+ "**/.beads/**",
25
+ "**/package.json",
26
+ "**/tsconfig.json",
27
+ "**/biome.json",
28
+ ],
29
+ "tools": {
30
+ "settings": {
31
+ "nudgeEnabled": true,
32
+ "nudgeFrequency": 10,
33
+ // v2.0.1: percentage support - 90% of model's 128k context
34
+ "contextLimit": 200000,
35
+ // Protect state-modifying and critical workflow tools
36
+ // LSP excluded: ephemeral exploration, prune after understanding
37
+ "protectedTools": [
38
+ "write",
39
+ "edit",
40
+ "memory-update",
41
+ "observation",
42
+ "skill",
43
+ "skill_mcp",
44
+ "task",
45
+ "batch",
46
+ "todowrite",
47
+ "todoread",
48
+ ],
49
+ },
50
+ // v2.0.0: permission model - "allow", "ask", or "deny"
51
+ "prune": {
52
+ "permission": "allow",
53
+ },
54
+ "distill": {
55
+ "permission": "allow",
56
+ "showDistillation": false,
57
+ },
58
+ "compress": {
59
+ // v2.1.1: compress enabled with improved boundary matching
60
+ "permission": "allow",
61
+ "showCompression": true,
62
+ },
63
+ },
64
+ "strategies": {
65
+ // Dedup = zero LLM cost, high impact - always enable
66
+ "deduplication": {
67
+ "enabled": true,
68
+ "protectedTools": [],
69
+ },
70
+ // Supersede writes = zero cost, removes redundant write inputs after read
71
+ // Note: default changed to false in beta, we explicitly enable
72
+ "supersedeWrites": {
73
+ "enabled": true,
74
+ },
75
+ // Purge error inputs after N turns
76
+ "purgeErrors": {
77
+ "enabled": true,
78
+ "turns": 4,
79
+ "protectedTools": [],
80
+ },
81
+ },
82
82
  }
@@ -44,65 +44,26 @@
44
44
  "autoupdate": false,
45
45
  "formatter": {
46
46
  "biome": {
47
- "command": [
48
- "npx",
49
- "@biomejs/biome",
50
- "check",
51
- "--write",
52
- "$FILE"
53
- ],
54
- "extensions": [
55
- ".js",
56
- ".jsx",
57
- ".ts",
58
- ".tsx",
59
- ".json",
60
- ".jsonc"
61
- ]
47
+ "command": ["npx", "@biomejs/biome", "check", "--write", "$FILE"],
48
+ "extensions": [".js", ".jsx", ".ts", ".tsx", ".json", ".jsonc"]
62
49
  },
63
50
  "cargo-fmt": {
64
- "command": [
65
- "cargo",
66
- "fmt",
67
- "--",
68
- "$FILE"
69
- ],
70
- "extensions": [
71
- ".rs"
72
- ]
51
+ "command": ["cargo", "fmt", "--", "$FILE"],
52
+ "extensions": [".rs"]
73
53
  },
74
54
  "java-formatter": {
75
- "command": [
76
- "google-java-format",
77
- "--replace",
78
- "$FILE"
79
- ],
55
+ "command": ["google-java-format", "--replace", "$FILE"],
80
56
  "environment": {
81
57
  "JAVA_HOME": "{env:JAVA_HOME}"
82
58
  },
83
- "extensions": [
84
- ".java"
85
- ]
59
+ "extensions": [".java"]
86
60
  },
87
61
  "laravel-pint": {
88
- "command": [
89
- "npx",
90
- "laravel-pint",
91
- "--preset",
92
- "psr12",
93
- "$FILE"
94
- ],
95
- "extensions": [
96
- ".php"
97
- ]
62
+ "command": ["npx", "laravel-pint", "--preset", "psr12", "$FILE"],
63
+ "extensions": [".php"]
98
64
  },
99
65
  "oxfmt": {
100
- "command": [
101
- "npx",
102
- "oxfmt",
103
- "--write",
104
- "$FILE"
105
- ],
66
+ "command": ["npx", "oxfmt", "--write", "$FILE"],
106
67
  "extensions": [
107
68
  ".js",
108
69
  ".jsx",
@@ -258,11 +219,12 @@
258
219
  "adaptive": {
259
220
  "options": {
260
221
  "output_config": {
261
- "effort": "high"
222
+ "effort": "max"
262
223
  },
263
224
  "thinking": {
264
225
  "type": "adaptive"
265
- }
226
+ },
227
+ "max_tokens": 64000
266
228
  }
267
229
  },
268
230
  "high": {
@@ -316,9 +278,7 @@
316
278
  "tool_call": true,
317
279
  "variants": {
318
280
  "high": {
319
- "include": [
320
- "reasoning.encrypted_content"
321
- ],
281
+ "include": ["reasoning.encrypted_content"],
322
282
  "reasoningEffort": "high",
323
283
  "reasoningSummary": "auto"
324
284
  },
@@ -347,9 +307,7 @@
347
307
  "disabled": true
348
308
  },
349
309
  "high": {
350
- "include": [
351
- "reasoning.encrypted_content"
352
- ],
310
+ "include": ["reasoning.encrypted_content"],
353
311
  "reasoningEffort": "high",
354
312
  "reasoningSummary": "auto",
355
313
  "textVerbosity": "medium"
@@ -423,17 +381,13 @@
423
381
  "disabled": true
424
382
  },
425
383
  "high": {
426
- "include": [
427
- "reasoning.encrypted_content"
428
- ],
384
+ "include": ["reasoning.encrypted_content"],
429
385
  "reasoningEffort": "high",
430
386
  "reasoningSummary": "auto",
431
387
  "textVerbosity": "low"
432
388
  },
433
389
  "medium": {
434
- "include": [
435
- "reasoning.encrypted_content"
436
- ],
390
+ "include": ["reasoning.encrypted_content"],
437
391
  "reasoningEffort": "medium",
438
392
  "reasoningSummary": "auto",
439
393
  "textVerbosity": "low"
@@ -446,17 +400,13 @@
446
400
  "disabled": true
447
401
  },
448
402
  "high": {
449
- "include": [
450
- "reasoning.encrypted_content"
451
- ],
403
+ "include": ["reasoning.encrypted_content"],
452
404
  "reasoningEffort": "high",
453
405
  "reasoningSummary": "auto",
454
406
  "textVerbosity": "low"
455
407
  },
456
408
  "medium": {
457
- "include": [
458
- "reasoning.encrypted_content"
459
- ],
409
+ "include": ["reasoning.encrypted_content"],
460
410
  "reasoningEffort": "medium",
461
411
  "reasoningSummary": "auto",
462
412
  "textVerbosity": "low"
@@ -612,14 +562,8 @@
612
562
  "output": 65536
613
563
  },
614
564
  "modalities": {
615
- "input": [
616
- "text",
617
- "image",
618
- "pdf"
619
- ],
620
- "output": [
621
- "text"
622
- ]
565
+ "input": ["text", "image", "pdf"],
566
+ "output": ["text"]
623
567
  },
624
568
  "name": "Gemini 2 5 Flash"
625
569
  },
@@ -629,14 +573,8 @@
629
573
  "output": 65536
630
574
  },
631
575
  "modalities": {
632
- "input": [
633
- "text",
634
- "image",
635
- "pdf"
636
- ],
637
- "output": [
638
- "text"
639
- ]
576
+ "input": ["text", "image", "pdf"],
577
+ "output": ["text"]
640
578
  },
641
579
  "name": "Gemini 2 5 Flash Lite"
642
580
  },
@@ -646,14 +584,8 @@
646
584
  "output": 65536
647
585
  },
648
586
  "modalities": {
649
- "input": [
650
- "text",
651
- "image",
652
- "pdf"
653
- ],
654
- "output": [
655
- "text"
656
- ]
587
+ "input": ["text", "image", "pdf"],
588
+ "output": ["text"]
657
589
  },
658
590
  "name": "Gemini 2 5 Pro"
659
591
  },
@@ -663,14 +595,8 @@
663
595
  "output": 65536
664
596
  },
665
597
  "modalities": {
666
- "input": [
667
- "text",
668
- "image",
669
- "pdf"
670
- ],
671
- "output": [
672
- "text"
673
- ]
598
+ "input": ["text", "image", "pdf"],
599
+ "output": ["text"]
674
600
  },
675
601
  "name": "Gemini 3 Flash",
676
602
  "options": {
@@ -700,14 +626,8 @@
700
626
  "output": 65536
701
627
  },
702
628
  "modalities": {
703
- "input": [
704
- "text",
705
- "image",
706
- "pdf"
707
- ],
708
- "output": [
709
- "text"
710
- ]
629
+ "input": ["text", "image", "pdf"],
630
+ "output": ["text"]
711
631
  },
712
632
  "name": "Gemini 3 Flash Preview",
713
633
  "options": {
@@ -737,14 +657,8 @@
737
657
  "output": 65536
738
658
  },
739
659
  "modalities": {
740
- "input": [
741
- "text",
742
- "image",
743
- "pdf"
744
- ],
745
- "output": [
746
- "text"
747
- ]
660
+ "input": ["text", "image", "pdf"],
661
+ "output": ["text"]
748
662
  },
749
663
  "name": "Gemini 3 Pro High",
750
664
  "options": {
@@ -781,14 +695,8 @@
781
695
  "output": 65536
782
696
  },
783
697
  "modalities": {
784
- "input": [
785
- "text",
786
- "image",
787
- "pdf"
788
- ],
789
- "output": [
790
- "text"
791
- ]
698
+ "input": ["text", "image", "pdf"],
699
+ "output": ["text"]
792
700
  },
793
701
  "name": "Gemini 3 Pro Preview",
794
702
  "options": {
@@ -1079,6 +987,21 @@
1079
987
  }
1080
988
  },
1081
989
  "reasoning": true
990
+ },
991
+ "glm-5": {
992
+ "name": "GLM-5",
993
+ "reasoning": true,
994
+ "options": {
995
+ "reasoningEffort": "high",
996
+ "reasoningSummary": "true",
997
+ "temperature": 1.0,
998
+ "top_k": 40,
999
+ "top_p": 0.95,
1000
+ "maxOutputTokens": 131072,
1001
+ "thinking": {
1002
+ "type": "enabled"
1003
+ }
1004
+ }
1082
1005
  }
1083
1006
  },
1084
1007
  "name": "Z.AI Coding Plan"
@@ -11,7 +11,7 @@
11
11
  "type-check": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@opencode-ai/plugin": "1.1.56"
14
+ "@opencode-ai/plugin": "1.1.59"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "^25.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencodekit",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "CLI tool for bootstrapping and managing OpenCodeKit projects",
5
5
  "keywords": ["agents", "cli", "mcp", "opencode", "opencodekit", "template"],
6
6
  "license": "MIT",