kairos-chain 3.28.3 → 3.28.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f3b4857e18283e4c80b9197c54e83a962ce2ee4b465b85de7969dc78244fb58
4
- data.tar.gz: 512356715a6db9e5110162b61a81017c99f00179dd8bbe9250fb23ba0f631981
3
+ metadata.gz: a9e6e6ee56ff0ad3042cb698090a85885c5285fbb9a6d298b8b3fae7b020e615
4
+ data.tar.gz: 46653afe61dba50530479c8869e785ba4e526fb5c846c6e26975232d29dbddf0
5
5
  SHA512:
6
- metadata.gz: 65b002260019464cc20531ab9c7c7d8d5ebecf293a21414e9af5ead16c00490b29495dc53bb8bbddc3d32d572697e91984644350149f93f587022c94b96bbf4c
7
- data.tar.gz: e673f6f2233ebc56ea8fb7247ed6e91bd05e61f5efd624ca8d48e814dbda70007f808ebd5db2199920f312ef0b978a576b1e3a5d910a2eb094a45f63c986097f
6
+ metadata.gz: 02e1a25744db4600b09b4ce4d05756d564328ff118d40c59ddd9d1805ffff357434b75f91be906bbe3b29625612638d9b000c330380e6531e152d04d321d1c87
7
+ data.tar.gz: c579ee36020d26916bb3e228c451b4ac8cb3a3b8ecd262fbc7cfee50fd6d49b77a3c4cc2254e216c8faa22547636e2c5036faf62c2fe3f848f81dbefa811a3fb
data/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@ All notable changes to the `kairos-chain` gem will be documented in this file.
4
4
 
5
5
  This project follows [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [3.28.5] - 2026-05-29
8
+
9
+ ### Changed — llm_client Claude Code adapter default model → Opus 4.8
10
+
11
+ `ClaudeCodeAdapter::DEFAULT_MODEL` now pins to `claude-opus-4-8` (was
12
+ `claude-opus-4-7`). This is the fallback model used when no `--model` is
13
+ passed and no `model` is set in adapter config; explicit per-call/per-roster
14
+ model selection is unaffected. Keeps the "pin to latest Opus, avoid silent
15
+ Haiku downgrade" intent current with the Opus 4.8 release.
16
+
17
+ - Session-relative references (e.g. "opposite Opus: 4.6 if you are 4.7") and
18
+ dated experiment/evaluation records were intentionally left unchanged.
19
+
7
20
  ## [3.27.0] - 2026-05-19
8
21
 
9
22
  ### Added — L1 frontmatter `relations.informed_by` on L2→L1 promotion (design v0.2)
@@ -12,7 +12,9 @@ module KairosMcp
12
12
  end
13
13
 
14
14
  def description
15
- 'Create, update, or delete L1 knowledge skills. Changes are recorded with hash references to the blockchain.'
15
+ 'Create, update, or delete L1 knowledge skills. Changes are recorded with hash references to the blockchain. ' \
16
+ 'NOTE: MCP stdio transport may silently drop large arguments. Keep combined content + reason under ~2 KB. ' \
17
+ 'For larger L1 entries, trim prose or split into multiple entries.'
16
18
  end
17
19
 
18
20
  def category
@@ -105,14 +107,14 @@ module KairosMcp
105
107
  private
106
108
 
107
109
  def handle_create(provider, name, content, reason, create_subdirs)
108
- return text_content("Error: content is required for create") unless content && !content.empty?
110
+ return text_content(content_missing_error("create", content)) unless content && !content.empty?
109
111
 
110
112
  result = provider.create(name, content, reason: reason, create_subdirs: create_subdirs)
111
113
  format_result(result, 'created')
112
114
  end
113
115
 
114
116
  def handle_update(provider, name, content, reason)
115
- return text_content("Error: content is required for update") unless content && !content.empty?
117
+ return text_content(content_missing_error("update", content)) unless content && !content.empty?
116
118
 
117
119
  result = provider.update(name, content, reason: reason)
118
120
  format_result(result, 'updated')
@@ -123,6 +125,17 @@ module KairosMcp
123
125
  format_result(result, 'deleted')
124
126
  end
125
127
 
128
+ def content_missing_error(command, content)
129
+ if content.nil?
130
+ "Error: content is required for #{command}. " \
131
+ "The content argument arrived as nil — this often means the MCP transport silently dropped it " \
132
+ "because the combined argument size exceeded the client limit (~2 KB for stdio). " \
133
+ "Try trimming content and reason, or split into smaller entries."
134
+ else
135
+ "Error: content is required for #{command} (received empty string)"
136
+ end
137
+ end
138
+
126
139
  def format_result(result, action)
127
140
  if result[:success]
128
141
  output = "SUCCESS: Knowledge #{action}\n\n"
@@ -1,4 +1,4 @@
1
1
  module KairosMcp
2
- VERSION = "3.28.3"
2
+ VERSION = "3.28.5"
3
3
  CHANGELOG_URL = "https://github.com/masaomi/KairosChain_2026/blob/main/CHANGELOG.md"
4
4
  end
@@ -19,10 +19,10 @@ module KairosMcp
19
19
  # - SafeSubprocess handles subprocess lifecycle (PID tracking, env sanitization)
20
20
  class ClaudeCodeAdapter < Adapter
21
21
  DEFAULT_TIMEOUT = 120
22
- # Default to Opus 4.7 explicitly. Without --model, Claude Code may
22
+ # Default to Opus 4.8 explicitly. Without --model, Claude Code may
23
23
  # auto-route to Haiku for simple/long-context prompts, silently
24
24
  # downgrading reviewer quality.
25
- DEFAULT_MODEL = 'claude-opus-4-7'
25
+ DEFAULT_MODEL = 'claude-opus-4-8'
26
26
  SANDBOX_CWD = '/tmp/kairos_sandbox'
27
27
  SANDBOX_HOME = '/tmp/kairos_claude_home'
28
28
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kairos-chain
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.28.3
4
+ version: 3.28.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaomi Hatakeyama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-27 00:00:00.000000000 Z
11
+ date: 2026-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest