okf-mcp 1.4.0 → 1.4.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.
- checksums.yaml +4 -4
- data/.okf/capabilities/tools.md +1 -1
- data/.okf/design/the-tool-set.md +5 -4
- data/.okf/log.md +8 -0
- data/CHANGELOG.md +14 -0
- data/lib/okf/mcp/server.rb +10 -7
- data/lib/okf/mcp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fbdf1845d5d14764f5811f6f2c49ae42e9c82037e5a6f6ad4cbbaef32df84fc0
|
|
4
|
+
data.tar.gz: 2a0fd084c1d874e954890a0ee619a27323f6106c528b4d36660f32d4ab6a25bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a8d158688c93904471b7b57ca660624593a67f420ee30b075b19fe1fe325e60d64d878f10d609bcb8661fd06f7db6809482ce5c9a13d376b0d547cc5049689e
|
|
7
|
+
data.tar.gz: afbe5a74eb19bcb2dfdc0402e598c2ed3e608cb7dbaef2e8f6c1984aea5d303bf0592c591bcabdf493b82f372f7e646569ec97d531b120222979fc7a46e6330c
|
data/.okf/capabilities/tools.md
CHANGED
|
@@ -36,7 +36,7 @@ looked up by name (`read_concept` alone has none — it answers markdown).
|
|
|
36
36
|
| `validate` | the spec §11 conformance verdict, with every error | `validate_tool` |
|
|
37
37
|
| `lint` | the curation report: reachability, backlog, completeness, freshness, provenance | `lint_tool` |
|
|
38
38
|
| `graph` | the knowledge graph in three bounded views — never with concept bodies | `graph_tool` |
|
|
39
|
-
| `references` |
|
|
39
|
+
| `references` | every `references/` directory, at any depth (§6.3): every file, its citers, and every pointer that resolves to nothing | `references_tool` |
|
|
40
40
|
|
|
41
41
|
Each builder lives in [the server definition](../structure/server-definition.md)
|
|
42
42
|
and calls the kernel. None of them analyses anything itself.
|
data/.okf/design/the-tool-set.md
CHANGED
|
@@ -47,10 +47,11 @@ whole; tool-list weight is a cost a host pays on every conversation.
|
|
|
47
47
|
|
|
48
48
|
The `references` tool is the §6.3 inventory the kernel's verb answers —
|
|
49
49
|
notably the one lens that sees a bundle's *non-markdown* files (a `.py`
|
|
50
|
-
attester, a `.sql` computation)
|
|
51
|
-
|
|
52
|
-
with its leading-slash fix. It
|
|
53
|
-
|
|
50
|
+
attester, a `.sql` computation) in every `references/` directory at any
|
|
51
|
+
depth, with each file's citing concepts and every pointer into one that
|
|
52
|
+
resolves to nothing, the bare-path miss named with its leading-slash fix. It
|
|
53
|
+
landed here the way every capability does: kernel first
|
|
54
|
+
(`Bundle::References`), then a thin projection.
|
|
54
55
|
|
|
55
56
|
# Identity is the kernel registry's
|
|
56
57
|
|
data/.okf/log.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Update Log
|
|
2
2
|
|
|
3
|
+
## 2026-12-01
|
|
4
|
+
|
|
5
|
+
* The `references` tool reaches a `references/` directory at any depth. The
|
|
6
|
+
[tool catalog](capabilities/tools.md) and [the tool set](design/the-tool-set.md)
|
|
7
|
+
say so, and so does the description a host reads. Nothing changed here but the
|
|
8
|
+
words: the reach is the kernel's inventory (`@okf capabilities/read-views`),
|
|
9
|
+
read through the same `Folder#references` call.
|
|
10
|
+
|
|
3
11
|
## 2026-11-20
|
|
4
12
|
|
|
5
13
|
* Support MCP 1.11 dispatch on stdio and Streamable HTTP. The
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.4.1] - 2026-12-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- The `references` tool inventories a `references/` directory at any depth, not
|
|
13
|
+
only the bundle root's, and its description now says so. The reach comes from
|
|
14
|
+
the kernel's inventory (okf 2.2.1); a bare pointer into a nested
|
|
15
|
+
`references/` that holds the file no longer comes back as dangling.
|
|
16
|
+
|
|
17
|
+
- **The `okf` floor moves to 2.2.1**, the kernel that carries that inventory.
|
|
18
|
+
Against 2.2.0 the tool would describe a reach it does not have, and report
|
|
19
|
+
pointers into a nested `references/` as dangling. `rake verify_okf_floor`
|
|
20
|
+
gates `release` on the floor.
|
|
21
|
+
|
|
8
22
|
## [1.4.0] - 2026-11-20
|
|
9
23
|
|
|
10
24
|
### Fixed
|
data/lib/okf/mcp/server.rb
CHANGED
|
@@ -709,13 +709,16 @@ module OKF
|
|
|
709
709
|
define_tool(
|
|
710
710
|
name: "references",
|
|
711
711
|
title: "References inventory",
|
|
712
|
-
description: "Inventory
|
|
713
|
-
"and
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
"
|
|
718
|
-
"
|
|
712
|
+
description: "Inventory every references/ directory in the bundle (§6.3), at any depth — the " \
|
|
713
|
+
"root's and nested ones like computations/references/: every file — the .py " \
|
|
714
|
+
"attesters and .sql computations no other tool can see included — with the " \
|
|
715
|
+
"concepts citing each through the §6.2 path-valued fields (resource, " \
|
|
716
|
+
"sources[].resource, computation, executor.resource, attester.resource), plus " \
|
|
717
|
+
"every pointer into a references/ that resolves to nothing. A bare " \
|
|
718
|
+
"`references/…` resolves relative to the concept, so from a subdirectory it " \
|
|
719
|
+
"names that subdirectory's references/; when the root's was meant, the " \
|
|
720
|
+
"dangling entry names the leading-slash fix. Check it before trusting an " \
|
|
721
|
+
"attested computation's contract.",
|
|
719
722
|
input_schema: {
|
|
720
723
|
properties: {
|
|
721
724
|
bundle: { type: "string", description: "A bundle slug from list_bundles." }
|
data/lib/okf/mcp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: okf-mcp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rodrigo Serradura
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 2.2.
|
|
32
|
+
version: 2.2.1
|
|
33
33
|
- - "<"
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
35
|
version: '3'
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
requirements:
|
|
40
40
|
- - ">="
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: 2.2.
|
|
42
|
+
version: 2.2.1
|
|
43
43
|
- - "<"
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: '3'
|