Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "swift-json",
"owner": {
"name": "Thorsten Fuchs"
},
"metadata": {
"description": "The Swift-JSON agent developer kit: one instruction-only skill for consumers of ThorFuchs/Swift-JSON."
},
"plugins": [
{
"name": "swift-json",
"source": "./plugins/swift-json",
"description": "Version-aware consumer assistance for ThorFuchs/Swift-JSON, validated against library 1.9.0.",
"version": "0.2.0",
"category": "development"
}
]
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
documentation-only edits no longer require regenerating it.
- Repository housekeeping: superseded remote branches removed; branches without a
PR were first preserved as `archive/<branch>` tags.
- Developer kit 0.2.0: the skill and its compiled recipes now target published
1.9.0 (twelve libraries, the CLI, macOS 15 / iOS 18). The repository is a
Claude Code plugin marketplace (`/plugin marketplace add ThorFuchs/Swift-JSON`),
and the kit validator checks content and runs in the `docs` lane. The kit
download release remains a separate maintainer action.

## 1.9.0 — prepared source; publication separate

Expand Down
207 changes: 108 additions & 99 deletions Documentation/AgentDeveloperKit.md

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,12 +634,13 @@ and [1.7.0 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releas
## Contributing, support and licensing

For optional agent assistance in an application using this package, see the
[developer kit](Documentation/AgentDeveloperKit.md) and its
[0.1.0 preview downloads](https://github.com/ThorFuchs/Swift-JSON/releases/tag/developer-kit-v0.1.0).
The standalone skill and skills-only plugin remain pinned to library 1.6.1; their
recipes cover that qualified surface. The 1.7.0 additions are documented separately
here and in DocC. Plugin installation and public directory availability retain
the limits described in the kit guide.
[developer kit](Documentation/AgentDeveloperKit.md). Kit 0.2.0 in this repository
is pinned to library 1.9.0 and covers all twelve libraries and the CLI with
compiled recipes. In Claude Code, run `/plugin marketplace add ThorFuchs/Swift-JSON`
and then `/plugin install swift-json@swift-json`; Codex can use the same skill
folder. The earlier [0.1.0 preview downloads](https://github.com/ThorFuchs/Swift-JSON/releases/tag/developer-kit-v0.1.0)
remain pinned to 1.6.1. Public directory availability retains the limits
described in the kit guide.

Focused improvements, reproducible issues and documentation corrections are welcome.
Read [CONTRIBUTING](CONTRIBUTING.md) for the native development workflow:
Expand Down Expand Up @@ -849,5 +850,5 @@ The [cross-product guide](Sources/JSONInspection/Documentation.docc/BoundedWorkf
and [runnable example](Examples/BoundedWorkflows/README.md) show schema validation,
read-only store interpretation, transformation and checked rebuilds after Patch.
Its separate capacity mode records owned-work/retention counters and fixture hashes;
it makes no timing, RSS or default joint-capacity claim. The existing published
developer kit remains pinned to its own qualified version.
it makes no timing, RSS or default joint-capacity claim. Developer kit 0.2.0
includes compiled store, batch and Transform selection recipes for 1.9.0.
2 changes: 1 addition & 1 deletion Scripts/archive_candidate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""Reproducible source candidate, explicit contents and independent hash verification."""
import argparse,gzip,hashlib,io,json,pathlib,tarfile
ROOT=pathlib.Path(__file__).resolve().parents[1]
TOP=('Sources','Tests','Examples','Tools','Scripts','Documentation','Licenses','.github','plugins/swift-json')
TOP=('Sources','Tests','Examples','Tools','Scripts','Documentation','Licenses','.github','.claude-plugin','plugins/swift-json')
SKIP={'.build','.git','.swiftpm','__pycache__','DerivedData','Artifacts'}
ROOT_FILES=('Package.swift','AGENTS.md','README.md','CHANGELOG.md','CONTRIBUTING.md','SECURITY.md','SUPPORT.md','RELEASING.md','LICENSE','NOTICE','THIRD_PARTY_NOTICES.md','.gitignore','.editorconfig','.gitattributes','.spi.yml')
def files(root=ROOT):
Expand Down
2 changes: 2 additions & 0 deletions Scripts/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ def portable(values):
['python3', '-B', 'Scripts/qualify_release_1_1.py', '--mode', 'sdk', '--output', str(output / 'sdk.json')],
]
return [['python3', '-B', 'Scripts/qualify_exact_projections.py', '--output', str(output / 'exact-projection-consumer')],
['python3', '-B', 'Tools/DeveloperKitAcceptance/test_kit.py'],
['python3', '-B', 'Scripts/validate_developer_kit.py'],
['python3', '-B', 'Scripts/build_documentation.py']]

def materialized_outcomes(output):
Expand Down
6 changes: 3 additions & 3 deletions Scripts/package_developer_kit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
from pathlib import Path
import zipfile
from validate_developer_kit import files, require, safe_name, sha, validate_plugin
from validate_developer_kit import KIT_VERSION, files, require, safe_name, sha, validate_plugin


def archive(path, payload):
Expand Down Expand Up @@ -34,8 +34,8 @@ def main():
args.output.mkdir(parents=True)
result = []
for kind, source in [("plugin", root), ("skill", root / "skills/swift-json")]:
result.append(archive(args.output / ("swift-json-" + kind + "-0.1.0.zip"), {"swift-json/" + p: b for p, b in files(source).items()}))
(args.output / "ASSETS.json").write_text(json.dumps({"kit_version": "0.1.0", "files": result}, sort_keys=True, indent=2) + "\n")
result.append(archive(args.output / ("swift-json-" + kind + "-" + KIT_VERSION + ".zip"), {"swift-json/" + p: b for p, b in files(source).items()}))
(args.output / "ASSETS.json").write_text(json.dumps({"kit_version": KIT_VERSION, "files": result}, sort_keys=True, indent=2) + "\n")
print(json.dumps(result, indent=2))


Expand Down
Loading
Loading