Ship OpenFleet contracts and the OpenWall draft proposal (#177)

* feat: add OpenFleet membership and CoinPay rental contracts

* Propose OpenWall broadcasts and direct messaging contracts

* release: prepare OpenFleet and OpenWall public contracts

* fix: use tested npm for compatible CLI installs
This commit is contained in:
Anthony Ettinger 2026-09-13 00:57:45 -07:00 • committed by GitHub
parent a333726a1e
commit 45c7629953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 2021 additions and 12 deletions

34
packages/sdk/README.md Normal file
View file

@ -0,0 +1,34 @@
# @logicsrc/sdk
LogicSRC contract types and constructors for tasks, AgentSwarm sessions and
OpenFleet descriptors. These helpers construct documents; they do not start
agents, resolve remote identities or initiate payments.
```sh
npm install @logicsrc/sdk @logicsrc/validators
```
```ts
import { createOpenFleet } from "@logicsrc/sdk";
import { validate } from "@logicsrc/validators";
const fleet = createOpenFleet({
id: "https://example.com/fleets/research",
name: "Research",
owner_did: "operator.coinpay",
members: [{
kind: "openagent",
id: "analyst.coinpay",
url: "https://example.com/agents/analyst.json"
}]
});
const result = validate("openfleet", fleet);
if (!result.ok) throw new Error(JSON.stringify(result.errors));
```
Use `@logicsrc/validators` 0.1.1 or newer for OpenFleet validation. See the
[OpenFleet specification](https://logicsrc.com/docs/openfleet) for member
bindings, exact decimal rental rates and CoinPay settlement metadata.
MIT © Profullstack, Inc.