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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ sibling project the same week this note was added.

## [Unreleased]

## [0.0.56] - 2026-09-02

`status_request_fields` is declared: `["target_scope"]`, the same
vocabulary as `plan_request_fields`. A consumer that reads the declaration
may send `--target-scope` to `status` and measure the inventory the plan it
is about to bind will measure, instead of the global namespaces at a
workspace root. The runtime has honoured the flag since 0.0.55; this release
adds the sentence that lets a consumer send it, in the order every
`provider-info` member follows: kit 0.2.9 names it, `ai-stp-cli 0.0.15`
accepts it, then the seven declare it. Kit 0.2.9 is vendored. Nothing else
moves.

## [0.0.55] - 2026-09-02

A plan whose scope contradicts the target's record is refused by
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = [
]

[workspace.package]
version = "0.0.55"
version = "0.0.56"
edition = "2024"
rust-version = "1.89"
license = "AGPL-3.0-or-later"
Expand All @@ -23,9 +23,9 @@ sha2 = "0.11"
# `setup-core::archive`); an inflate loop is not, because its bugs are
# memory-safety bugs and it is not improved by being hand-written here.
miniz_oxide = "0.9"
setup-core = { path = "crates/setup-core", version = "0.0.55" }
provider-v3 = { path = "crates/provider-v3", version = "0.0.55" }
harness-runtime = { path = "crates/harness-runtime", version = "0.0.55" }
setup-core = { path = "crates/setup-core", version = "0.0.56" }
provider-v3 = { path = "crates/provider-v3", version = "0.0.56" }
harness-runtime = { path = "crates/harness-runtime", version = "0.0.56" }

[workspace.lints.rust]
unsafe_code = "forbid"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ release is a convenience, not the authorised copy.

```bash
docker run --rm -v "$HOME/.config:/config" \
ghcr.io/nddev-opennetwork/opencode-setup-system:0.0.55 \
ghcr.io/nddev-opennetwork/opencode-setup-system:0.0.56 \
status --target /config/<dir> --json
```

Expand Down
13 changes: 8 additions & 5 deletions crates/provider-v3/src/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,9 @@ pub struct ProviderInfo {
/// The arguments `status` accepts beside its target, once the kit names
/// the member.
///
/// Empty and therefore absent until kit `0.2.9` publishes the member and
/// a released consumer accepts it -- the same two gates every
/// Empty and therefore absent until the kit publishes the member and a
/// released consumer accepts it -- kit `0.2.9` and `ai-stp-cli 0.0.15`
/// did on 2026-09-02 -- the same two gates every
/// `provider-info` field has to pass, because the field set is compared
/// for exact equality and an unknown member refuses the whole document.
/// The runtime already honours `status --target-scope` (0.0.55); this is
Expand Down Expand Up @@ -408,9 +409,11 @@ impl ProviderInfo {
TargetScope::REQUEST_FIELD.to_owned(),
EndState::REQUEST_FIELD.to_owned(),
],
// Held until the kit names it; see the field's own note. The test
// beside `plan_request_fields`' flips this the day it does.
status_request_fields: Vec::new(),
// Declared 2026-09-02 in the same order as the two above: kit 0.2.9
// names the member (`provider-info.schema.json`), ai-stp-cli
// 0.0.15 accepts it, and only then does a release carry it. The
// test beside `plan_request_fields` holds it to the kit's enum.
status_request_fields: vec![TargetScope::REQUEST_FIELD.to_owned()],
})
}

Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# powershell -ExecutionPolicy Bypass -File install.ps1 -Version 0.1.0
[CmdletBinding()]
param(
[string]$Version = "0.0.55",
[string]$Version = "0.0.56",
[string]$InstallDir = "$env:LOCALAPPDATA\Programs\opencode-setup-system"
)
$ErrorActionPreference = "Stop"
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -eu

REPO="NDDev-OpenNetwork/opencode-setup-system"
BINARY="opencode-setup-system"
VERSION="${1:-0.0.55}"
VERSION="${1:-0.0.56}"
PREFIX="${OPENCODE_INSTALL_DIR:-$HOME/.local/bin}"

case "$(uname -s)" in
Expand Down
4 changes: 2 additions & 2 deletions provider-kit/v3/KIT-IDENTITY.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"aggregate_digest": "sha256:2a8777184eb1c4e3a445606dfb591c41f92df89fff795649d330b9ff4db066fa",
"aggregate_digest": "sha256:8abeee1e3469b84b57492ad7d73d794416bca439e381becc0d36ea703bded33b",
"files": [
"conformance-cases.json",
"manifest.json",
"provider-info.schema.json",
"status-response.schema.json"
],
"kit_version": "0.2.8",
"kit_version": "0.2.9",
"protocol_version": 3,
"schema": "ai-stp-provider-kit-identity/1"
}
4 changes: 2 additions & 2 deletions provider-kit/v3/SHA256SUMS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fe04d03b15cfe8d5b61835eafd3ea788074684e2be69d419f9c22a37ea0461b7 conformance-cases.json
cdaa34cd38e1ff0005793280194c31c4781c4505cbc3da6e823811e88f4aea5e manifest.json
165075bb253bdc1746e67a776957f709f4bbd36fe97d62cff9003af9d0f65186 provider-info.schema.json
11d32dbfa04c9262ce5829f8168c97ff85abe10d9fa9c396437de23af2e2f95d manifest.json
1ab7321772d06980555846406df2c828f6d304efddcf109a40728dd10c1aa38e provider-info.schema.json
2c5e01df3b02369832b74842b128c42b6b84d1e1455db3800474e54e71b645e4 status-response.schema.json
2 changes: 1 addition & 1 deletion provider-kit/v3/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"decision": "docs/adr/ADR-0061-capability-negotiated-provider-protocol-v3.md",
"generated_from": "apps/cli/src/ai_stp_cli/provider/protocol_v3.py",
"kit_version": "0.2.8",
"kit_version": "0.2.9",
"operation_network": {
"backup": [
{
Expand Down
10 changes: 10 additions & 0 deletions provider-kit/v3/provider-info.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,16 @@
"type": "array",
"uniqueItems": true
},
"status_request_fields": {
"items": {
"enum": [
"target_scope"
],
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"supported_arch": {
"items": {
"minLength": 1,
Expand Down
Loading