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
4 changes: 2 additions & 2 deletions package-lock.json

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

10 changes: 10 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @codespar/cli — changelog

## 0.22.7 — 2026-11-11

### Added

- **`codespar ofb`**, derived from the served document like every resource group. The `/v1/ofb` family is live again, Test only. Its commands cover:
- sweeping consents and pulls (`list-`/`create-`/`get-sweeping-consents`, `sweeping-consents-revoke`, `list-`/`create-`/`get-sweeping-pulls`);
- Pix com biometria (`list-`/`create-`/`get-jsr-enrollments`, `jsr-enrollments-revoke`, `list-`/`create-`/`get-jsr-payments`);
- the bank-consent routes (`create-`/`get-consents`, `consents-callback`, `consents-refresh-statement`, `consents-revoke`).
- `codespar onboarding list-first-receive` / `create-first-receive` (`/v1/onboarding/first-receive`) and `codespar shop capabilities` (`GET /v1/shop/agent/capabilities`) are derived from the same refresh, alongside @codespar/sdk 0.16.29.

## 0.22.6 — 2026-11-01

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codespar/cli",
"version": "0.22.6",
"version": "0.22.7",
"description": "CodeSpar CLI. The agentic OS for money movement in Latin America, from your terminal: authenticate, browse servers, mint mandates, execute tools, manage sessions, stream logs.",
"type": "module",
"bin": {
Expand Down
22 changes: 22 additions & 0 deletions packages/cli/src/__tests__/resource-commands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,33 @@ const PINNED_COMMANDS = [
"meters adjustments → GET /v1/meters/adjustments",
"meter-events create → POST /v1/meter-events",
"onboarding list → GET /v1/onboarding",
"onboarding list-first-receive → GET /v1/onboarding/first-receive",
"onboarding create-first-receive → POST /v1/onboarding/first-receive",
"ofb get-consents → GET /v1/ofb/consents/{id}",
"ofb list-sweeping-consents → GET /v1/ofb/sweeping/consents",
"ofb create-sweeping-consents → POST /v1/ofb/sweeping/consents",
"ofb get-sweeping-consents → GET /v1/ofb/sweeping/consents/{id}",
"ofb sweeping-consents-revoke → POST /v1/ofb/sweeping/consents/{id}/revoke",
"ofb list-sweeping-pulls → GET /v1/ofb/sweeping/pulls",
"ofb create-sweeping-pulls → POST /v1/ofb/sweeping/pulls",
"ofb get-sweeping-pulls → GET /v1/ofb/sweeping/pulls/{id}",
"ofb list-jsr-enrollments → GET /v1/ofb/jsr/enrollments",
"ofb create-jsr-enrollments → POST /v1/ofb/jsr/enrollments",
"ofb get-jsr-enrollments → GET /v1/ofb/jsr/enrollments/{id}",
"ofb jsr-enrollments-revoke → POST /v1/ofb/jsr/enrollments/{id}/revoke",
"ofb list-jsr-payments → GET /v1/ofb/jsr/payments",
"ofb create-jsr-payments → POST /v1/ofb/jsr/payments",
"ofb get-jsr-payments → GET /v1/ofb/jsr/payments/{id}",
"ofb create-consents → POST /v1/ofb/consents",
"ofb consents-callback → POST /v1/ofb/consents/{id}/callback",
"ofb consents-refresh-statement → POST /v1/ofb/consents/{id}/refresh-statement",
"ofb consents-revoke → POST /v1/ofb/consents/{id}/revoke",
"webhook-deliveries list → GET /v1/webhook-deliveries",
"shop create-purchases → POST /v1/shop/agent/purchases",
"shop get-purchases → GET /v1/shop/agent/purchases/{id}",
"shop create-research → POST /v1/shop/agent/research",
"shop get-research → GET /v1/shop/agent/research/{id}",
"shop capabilities → GET /v1/shop/agent/capabilities",
"shop instruments → GET /v1/shop/agent/instruments",
"collect list-links → GET /v1/collect/links",
"collect create-links → POST /v1/collect/links",
Expand Down
8 changes: 8 additions & 0 deletions packages/cli/src/surface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,14 @@ export const PUBLISHED_GROUPS: readonly GroupSpec[] = [
prefix: "/v1/onboarding",
description: "Onboarding: the first-access guide's progress for the project",
},
{
// Live again at the 390-operation refresh (2026-11-11): the older ofb
// routes were all deprecated, and the served document now declares the
// sweeping consents/pulls and the Pix com biometria (JSR) family, Test only.
name: "ofb",
prefix: "/v1/ofb",
description: "Open Finance (Test): sweeping consents and pulls, Pix com biometria enrollments and payments",
},
{
name: "webhook-deliveries",
prefix: "/v1/webhook-deliveries",
Expand Down
21 changes: 21 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @codespar/sdk — CHANGELOG

## 0.16.29 — 2026-11-11

### Changed

- **Executor under its public name (enterprise#1983).** In the generated types, `executor` is now `"codespar_simulator" | "provider_sandbox" | null` and `"celcoin_sandbox"` is gone from the enum. That covers `GET /v1/account/ledger`, `/payments` and `/sessions`, proposals, receipts, consents and the consumer payment response. An exhaustive `switch` that has a `"celcoin_sandbox"` case no longer compiles; read `"provider_sandbox"` instead.
- The concrete provider comes apart in `executor_provider` (`"celcoin" | null`). The server always resolves it, and the caller never chooses it.
- Consent, payment and receipt also carry `executor_label`, `environment` and `real_money`. In Test, `real_money` is always `false`, even when a sandbox confirmed with `moneyMoved: true`.
- `POST /v1/consents` and the consent submit can answer 400 `executor_provider_not_selectable` when the body names `provider` or `executor_provider`.
- Old records keep their stored value; the API reads them under the public name.
- The Charge (Collect) `issuer` and `payment.executor` are a separate contract and keep `celcoin_sandbox`.

### Added

- OpenAPI snapshot refreshed to the served document (b9b057565a31, 390 operations), and `src/generated/` regenerated from it. Besides the executor fields, it picks up what was served since 0.16.28:
- `/v1/ofb/sweeping` (7 operations);
- `/v1/ofb/jsr` (7 operations);
- `/v1/onboarding/first-receive` (GET, POST);
- `GET /v1/shop/agent/capabilities`.

Only types and the operation table change; no handwritten method was added for them.

## 0.16.28 — 2026-10-30

### Added
Expand Down
Loading
Loading