@codespar/types 0.7.0 → 0.10.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.
package/README.md CHANGED
@@ -41,6 +41,30 @@ import type { Session } from "@codespar/types";
41
41
  interface Session extends SessionBase {
42
42
  proxyExecute(request: ProxyRequest): Promise<ProxyResult>;
43
43
  authorize(serverId: string, config: AuthConfig): Promise<AuthResult>;
44
+
45
+ // Tool discovery + connection wizard (codespar_discover / codespar_manage_connections)
46
+ discover(useCase: string, options?: DiscoverOptions): Promise<DiscoverResult>;
47
+ connectionWizard(options: ConnectionWizardOptions): Promise<ConnectionWizardResult>;
48
+
49
+ // Meta-tool wrappers — typed payloads, same wire as session.execute(...)
50
+ charge(args: ChargeArgs): Promise<ChargeResult>;
51
+ ship(args: ShipArgs): Promise<ShipResult>;
52
+ shop(args: ShopArgs): Promise<ShopResult>;
53
+
54
+ // Async settlement (codespar_charge / codespar_pay)
55
+ paymentStatus(toolCallId: string): Promise<PaymentStatusResult>;
56
+ paymentStatusStream(
57
+ toolCallId: string,
58
+ options: PaymentStatusStreamOptions,
59
+ ): Promise<PaymentStatusResult>;
60
+
61
+ // Async verification (codespar_kyc)
62
+ verificationStatus(toolCallId: string): Promise<VerificationStatusResult>;
63
+ verificationStatusStream(
64
+ toolCallId: string,
65
+ options: VerificationStatusStreamOptions,
66
+ ): Promise<VerificationStatusResult>;
67
+
44
68
  mcp?: {
45
69
  url: string;
46
70
  headers: Record<string, string>;
@@ -76,9 +100,17 @@ function useSession(session: SessionBase) {
76
100
  | `ProxyResult` | Return value of `proxyExecute()` — `status`, `data`, `headers`, `duration`, `proxy_call_id` |
77
101
  | `AuthConfig` | Input to `authorize()` — `redirectUri`, `scopes?` |
78
102
  | `AuthResult` | Return value of `authorize()` — `linkToken`, `authorizeUrl`, `expiresAt` |
79
- | `DiscoverOptions` / `DiscoverResult` / `DiscoverToolMatch` / `DiscoverPlanStep` | Wire shapes for `session.discover(...)` (F3.M2 `codespar_discover`) |
80
- | `ConnectionWizardOptions` / `ConnectionWizardResult` / `ConnectionStatusRow` | Wire shapes for `session.connectionWizard(...)` (F3.M2 `codespar_manage_connections`) |
103
+ | `DiscoverOptions` / `DiscoverResult` / `DiscoverToolMatch` / `DiscoverPlanStep` | Wire shapes for `session.discover(...)` (`codespar_discover`) |
104
+ | `ConnectionWizardOptions` / `ConnectionWizardResult` / `ConnectionStatusRow` | Wire shapes for `session.connectionWizard(...)` (`codespar_manage_connections`) |
105
+ | `ChargeArgs` / `ChargeBuyer` / `ChargeResult` | Wire shapes for `session.charge(...)` (`codespar_charge`, inbound) |
106
+ | `ShipArgs` / `ShipAddress` / `ShipItem` / `ShipResult` | Wire shapes for `session.ship(...)` (`codespar_ship`) |
107
+ | `ShopArgs` / `ShopSearchArgs` / `ShopCheckoutArgs` / `ShopStatusArgs` / `ShopOffer` / `ShopVariant` / `ShopResult` / `ShopSearchResult` / `ShopCheckoutResult` / `ShopStatusResult` / `ShopCheckoutStatus` | Wire shapes for `session.shop(...)` (`codespar_shop`) — discriminated on `action`. Canonical spec: [`docs/codespar-shop-contract.md`](../../docs/codespar-shop-contract.md) |
81
108
  | `PaymentStatus` / `PaymentStatusResult` / `PaymentStatusEvent` | Wire shapes for `session.paymentStatus(toolCallId)` — async webhook correlation |
109
+ | `PaymentStatusStreamOptions` | Options for `session.paymentStatusStream(...)` — `onUpdate?`, `signal?` |
110
+ | `VerificationStatus` / `VerificationStatusResult` / `VerificationStatusEvent` | Wire shapes for `session.verificationStatus(toolCallId)` — async KYC poll |
111
+ | `VerificationStatusStreamOptions` | Options for `session.verificationStatusStream(...)` — `onUpdate?`, `signal?` |
112
+
113
+ > **The typed meta-tool facades (`shop()`, `charge()`, `ship()`, …) require a runtime that implements the meta-tool.** These wire types are the contract; the facade in `@codespar/sdk` is a client over `execute("codespar_<tool>", args)`. Against a self-hosted runtime with no registered implementation for that meta-tool, the call returns `Tool not registered`. The types + facade are MIT and self-hostable; the implementation is registered by the runtime the SDK points at.
82
114
 
83
115
  ## Conformance testing
84
116
 
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Contract-spec completeness review (named gate).
3
+ *
4
+ * Confirms the standalone `codespar_shop` contract spec
5
+ * (docs/codespar-shop-contract.md) enumerates every action, input
6
+ * field, output field, error code, status value, and cross-cutting
7
+ * stance the contract requirements cover. This is the automated form of
8
+ * the "a reviewer confirms each requirement has a section/table"
9
+ * checklist — each entry below asserts the spec contains the literal
10
+ * token a conforming consumer would search for.
11
+ *
12
+ * If this fails, the spec doc has drifted from the contract surface and
13
+ * must be brought back into sync before merge.
14
+ */
15
+ export {};
16
+ //# sourceMappingURL=shop-contract-completeness.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shop-contract-completeness.test.d.ts","sourceRoot":"","sources":["../../src/testing/shop-contract-completeness.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG"}
@@ -0,0 +1,132 @@
1
+ /**
2
+ * Contract-spec completeness review (named gate).
3
+ *
4
+ * Confirms the standalone `codespar_shop` contract spec
5
+ * (docs/codespar-shop-contract.md) enumerates every action, input
6
+ * field, output field, error code, status value, and cross-cutting
7
+ * stance the contract requirements cover. This is the automated form of
8
+ * the "a reviewer confirms each requirement has a section/table"
9
+ * checklist — each entry below asserts the spec contains the literal
10
+ * token a conforming consumer would search for.
11
+ *
12
+ * If this fails, the spec doc has drifted from the contract surface and
13
+ * must be brought back into sync before merge.
14
+ */
15
+ import { describe, it, expect } from "vitest";
16
+ import { readFileSync } from "node:fs";
17
+ import { fileURLToPath } from "node:url";
18
+ import { dirname, resolve } from "node:path";
19
+ const here = dirname(fileURLToPath(import.meta.url));
20
+ // packages/types/src/testing → repo root → docs/
21
+ const SPEC_PATH = resolve(here, "../../../../docs/codespar-shop-contract.md");
22
+ const spec = readFileSync(SPEC_PATH, "utf8");
23
+ /** Assert every token appears in the spec; report any that are missing. */
24
+ function expectAllPresent(label, tokens) {
25
+ const missing = tokens.filter((t) => !spec.includes(t));
26
+ expect(missing, `${label}: missing from contract spec`).toEqual([]);
27
+ }
28
+ describe("codespar_shop contract-spec completeness", () => {
29
+ it("enumerates the closed action set", () => {
30
+ expectAllPresent("actions", [
31
+ "`search`",
32
+ "`checkout`",
33
+ "`checkout_status`",
34
+ "closed",
35
+ "`invalid_args`",
36
+ ]);
37
+ });
38
+ it("documents every input field per action", () => {
39
+ expectAllPresent("search inputs", ["`query`", "`limit`", "`merchant`"]);
40
+ expectAllPresent("checkout inputs", [
41
+ "`items`",
42
+ "`url`",
43
+ "items XOR url",
44
+ "`consumer_id`",
45
+ "`buyer`",
46
+ "`address`",
47
+ "`variant_id`",
48
+ "`quantity`",
49
+ "`seller`",
50
+ "`cep`",
51
+ ]);
52
+ expectAllPresent("status inputs", ["`checkout_session_id`"]);
53
+ });
54
+ it("documents every output field + the ShopOffer/ShopVariant shapes", () => {
55
+ expectAllPresent("offer/variant", [
56
+ "`ShopOffer`",
57
+ "`ShopVariant`",
58
+ "`product_id`",
59
+ "`sku_id`",
60
+ "`price_minor`",
61
+ "`currency`",
62
+ "`available`",
63
+ "`variants`",
64
+ ]);
65
+ expectAllPresent("status output", [
66
+ "`total_minor`",
67
+ "`pix_copia_e_cola`",
68
+ "`order_status`",
69
+ "`error`",
70
+ ]);
71
+ expectAllPresent("zero-result", ["`products: []`"]);
72
+ });
73
+ it("documents the state machine", () => {
74
+ expectAllPresent("state machine", [
75
+ "`in_progress`",
76
+ "`ready_for_payment`",
77
+ "`canceled`",
78
+ "Poll-after-terminal",
79
+ "no `expired` status today",
80
+ ]);
81
+ });
82
+ it("enumerates the error taxonomy + channels", () => {
83
+ expectAllPresent("errors", [
84
+ "`invalid_args`",
85
+ "`provider_error`",
86
+ "`browser_worker_unconfigured`",
87
+ "`browser_worker_failed`",
88
+ "`browser_worker_checkout_failed`",
89
+ "`browser_worker_meli_failed`",
90
+ "`browser_worker_async_start_failed`",
91
+ "`browser_worker_status_failed`",
92
+ "`meli_url_required`",
93
+ "`items_required`",
94
+ ]);
95
+ expect(spec).toMatch(/KYC.*NOT part of this contract/s);
96
+ });
97
+ it("records vtex_identity_required as net-new", () => {
98
+ expectAllPresent("vtex identity", ["`vtex_identity_required`", "net-new"]);
99
+ });
100
+ it("documents merchant stance, the enforced limit, and pagination", () => {
101
+ expectAllPresent("merchant + limits", [
102
+ "open string",
103
+ "catch-all",
104
+ "1..20",
105
+ "enforce-clamped",
106
+ ]);
107
+ expect(spec).toMatch(/Pagination is deferred/);
108
+ });
109
+ it("records the unversioned-v0 + additive versioning stance", () => {
110
+ expectAllPresent("versioning", [
111
+ "Unversioned v0",
112
+ "additive",
113
+ ]);
114
+ });
115
+ it("documents rail tagging as informational, not control flow", () => {
116
+ expectAllPresent("rail tagging", [
117
+ "Rail tagging",
118
+ "`rail`",
119
+ "informational",
120
+ ]);
121
+ });
122
+ it("documents the capability token, redaction + abort obligations", () => {
123
+ expectAllPresent("obligations", [
124
+ 'capabilities: ["shop"]',
125
+ "advisory",
126
+ "redacted from logs",
127
+ "non-authoritative",
128
+ "session.shop(",
129
+ ]);
130
+ });
131
+ });
132
+ //# sourceMappingURL=shop-contract-completeness.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shop-contract-completeness.test.js","sourceRoot":"","sources":["../../src/testing/shop-contract-completeness.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACrD,iDAAiD;AACjD,MAAM,SAAS,GAAG,OAAO,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AAE,GAAG,EAAE;QACnE,gBAAgB,CAAC,cAAc,EAAE;YAC/B,cAAc;YACd,QAAQ;YACR,eAAe;SAChB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+DAA+D,EAAE,GAAG,EAAE;QACvE,gBAAgB,CAAC,aAAa,EAAE;YAC9B,wBAAwB;YACxB,UAAU;YACV,oBAAoB;YACpB,mBAAmB;YACnB,eAAe;SAChB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Canonical `codespar_shop` wire fixtures.
3
+ *
4
+ * One per action/status, typed against the contract interfaces so they
5
+ * cannot drift from the published types. A conformance test in any
6
+ * registrant repo can import these and assert that its implementation
7
+ * returns the same shapes (subset-shape: a registrant MAY add optional
8
+ * fields beyond these, but MUST carry every field present here).
9
+ *
10
+ * The same fixtures are mirrored as JSON for the Python round-trip test
11
+ * (packages/python/tests/_fixtures/shop_canonical.json) — keep the two
12
+ * in sync by hand; any drift is a wire-contract break.
13
+ */
14
+ import type { ShopSearchResult, ShopCheckoutResult, ShopStatusResult } from "../types.js";
15
+ /** `search` → flattened offers. Zero results would be `products: []`. */
16
+ export declare const SHOP_SEARCH_FIXTURE: ShopSearchResult;
17
+ /** `search` matching nothing — a success result, not an error. */
18
+ export declare const SHOP_SEARCH_EMPTY_FIXTURE: ShopSearchResult;
19
+ /** `checkout` → async start. `status` is always the literal in_progress. */
20
+ export declare const SHOP_CHECKOUT_FIXTURE: ShopCheckoutResult;
21
+ /** `checkout_status` still running. */
22
+ export declare const SHOP_STATUS_IN_PROGRESS_FIXTURE: ShopStatusResult;
23
+ /** `checkout_status` terminal success — carries the payable Pix. */
24
+ export declare const SHOP_STATUS_READY_FIXTURE: ShopStatusResult;
25
+ /** `checkout_status` terminal failure — carries the error. */
26
+ export declare const SHOP_STATUS_CANCELED_FIXTURE: ShopStatusResult;
27
+ /** Every canonical fixture, keyed by a stable name for cross-repo use. */
28
+ export declare const SHOP_FIXTURES: {
29
+ readonly search: ShopSearchResult;
30
+ readonly search_empty: ShopSearchResult;
31
+ readonly checkout: ShopCheckoutResult;
32
+ readonly status_in_progress: ShopStatusResult;
33
+ readonly status_ready_for_payment: ShopStatusResult;
34
+ readonly status_canceled: ShopStatusResult;
35
+ };
36
+ //# sourceMappingURL=shop-fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shop-fixtures.d.ts","sourceRoot":"","sources":["../../src/testing/shop-fixtures.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAErB,yEAAyE;AACzE,eAAO,MAAM,mBAAmB,EAAE,gBAuBjC,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,yBAAyB,EAAE,gBAGvC,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB,EAAE,kBAInC,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,+BAA+B,EAAE,gBAG7C,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,yBAAyB,EAAE,gBAOvC,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,4BAA4B,EAAE,gBAI1C,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Canonical `codespar_shop` wire fixtures.
3
+ *
4
+ * One per action/status, typed against the contract interfaces so they
5
+ * cannot drift from the published types. A conformance test in any
6
+ * registrant repo can import these and assert that its implementation
7
+ * returns the same shapes (subset-shape: a registrant MAY add optional
8
+ * fields beyond these, but MUST carry every field present here).
9
+ *
10
+ * The same fixtures are mirrored as JSON for the Python round-trip test
11
+ * (packages/python/tests/_fixtures/shop_canonical.json) — keep the two
12
+ * in sync by hand; any drift is a wire-contract break.
13
+ */
14
+ /** `search` → flattened offers. Zero results would be `products: []`. */
15
+ export const SHOP_SEARCH_FIXTURE = {
16
+ rail: "vtex",
17
+ products: [
18
+ {
19
+ product_id: "prod_1",
20
+ sku_id: "sku_1",
21
+ title: "Ração para gato 1kg",
22
+ price_minor: 4990,
23
+ currency: "BRL",
24
+ image: "https://example.test/img/sku_1.jpg",
25
+ url: "https://cobasi.test/p/sku_1",
26
+ available: true,
27
+ variants: [
28
+ {
29
+ sku_id: "sku_1",
30
+ title: "1kg",
31
+ price_minor: 4990,
32
+ currency: "BRL",
33
+ available: true,
34
+ },
35
+ ],
36
+ },
37
+ ],
38
+ };
39
+ /** `search` matching nothing — a success result, not an error. */
40
+ export const SHOP_SEARCH_EMPTY_FIXTURE = {
41
+ rail: "vtex",
42
+ products: [],
43
+ };
44
+ /** `checkout` → async start. `status` is always the literal in_progress. */
45
+ export const SHOP_CHECKOUT_FIXTURE = {
46
+ checkout_session_id: "cks_abc123",
47
+ status: "in_progress",
48
+ message: "checkout started",
49
+ };
50
+ /** `checkout_status` still running. */
51
+ export const SHOP_STATUS_IN_PROGRESS_FIXTURE = {
52
+ checkout_session_id: "cks_abc123",
53
+ status: "in_progress",
54
+ };
55
+ /** `checkout_status` terminal success — carries the payable Pix. */
56
+ export const SHOP_STATUS_READY_FIXTURE = {
57
+ checkout_session_id: "cks_abc123",
58
+ status: "ready_for_payment",
59
+ rail: "vtex",
60
+ total_minor: 4990,
61
+ pix_copia_e_cola: "00020126580014br.gov.bcb.pix0136cks-fixture5204000053039865802BR6304ABCD",
62
+ order_status: "pending",
63
+ };
64
+ /** `checkout_status` terminal failure — carries the error. */
65
+ export const SHOP_STATUS_CANCELED_FIXTURE = {
66
+ checkout_session_id: "cks_def456",
67
+ status: "canceled",
68
+ error: "browser_worker_checkout_failed",
69
+ };
70
+ /** Every canonical fixture, keyed by a stable name for cross-repo use. */
71
+ export const SHOP_FIXTURES = {
72
+ search: SHOP_SEARCH_FIXTURE,
73
+ search_empty: SHOP_SEARCH_EMPTY_FIXTURE,
74
+ checkout: SHOP_CHECKOUT_FIXTURE,
75
+ status_in_progress: SHOP_STATUS_IN_PROGRESS_FIXTURE,
76
+ status_ready_for_payment: SHOP_STATUS_READY_FIXTURE,
77
+ status_canceled: SHOP_STATUS_CANCELED_FIXTURE,
78
+ };
79
+ //# sourceMappingURL=shop-fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shop-fixtures.js","sourceRoot":"","sources":["../../src/testing/shop-fixtures.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAQH,yEAAyE;AACzE,MAAM,CAAC,MAAM,mBAAmB,GAAqB;IACnD,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE;QACR;YACE,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,OAAO;YACf,KAAK,EAAE,qBAAqB;YAC5B,WAAW,EAAE,IAAI;YACjB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,oCAAoC;YAC3C,GAAG,EAAE,6BAA6B;YAClC,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE;gBACR;oBACE,MAAM,EAAE,OAAO;oBACf,KAAK,EAAE,KAAK;oBACZ,WAAW,EAAE,IAAI;oBACjB,QAAQ,EAAE,KAAK;oBACf,SAAS,EAAE,IAAI;iBAChB;aACF;SACF;KACF;CACF,CAAC;AAEF,kEAAkE;AAClE,MAAM,CAAC,MAAM,yBAAyB,GAAqB;IACzD,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,EAAE;CACb,CAAC;AAEF,4EAA4E;AAC5E,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACvD,mBAAmB,EAAE,YAAY;IACjC,MAAM,EAAE,aAAa;IACrB,OAAO,EAAE,kBAAkB;CAC5B,CAAC;AAEF,uCAAuC;AACvC,MAAM,CAAC,MAAM,+BAA+B,GAAqB;IAC/D,mBAAmB,EAAE,YAAY;IACjC,MAAM,EAAE,aAAa;CACtB,CAAC;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,yBAAyB,GAAqB;IACzD,mBAAmB,EAAE,YAAY;IACjC,MAAM,EAAE,mBAAmB;IAC3B,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,0EAA0E;IAC5F,YAAY,EAAE,SAAS;CACxB,CAAC;AAEF,8DAA8D;AAC9D,MAAM,CAAC,MAAM,4BAA4B,GAAqB;IAC5D,mBAAmB,EAAE,YAAY;IACjC,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE,gCAAgC;CACxC,CAAC;AAEF,0EAA0E;AAC1E,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM,EAAE,mBAAmB;IAC3B,YAAY,EAAE,yBAAyB;IACvC,QAAQ,EAAE,qBAAqB;IAC/B,kBAAkB,EAAE,+BAA+B;IACnD,wBAAwB,EAAE,yBAAyB;IACnD,eAAe,EAAE,4BAA4B;CACrC,CAAC"}
package/dist/types.d.ts CHANGED
@@ -90,6 +90,43 @@ export interface Session extends SessionBase {
90
90
  * the router picks the cheapest carrier per request.
91
91
  */
92
92
  ship(args: ShipArgs): Promise<ShipResult>;
93
+ /**
94
+ * Record money movement in a double-entry ledger, read account
95
+ * balances, or create accounts. Typed wrapper around
96
+ * `execute("codespar_ledger", {...})`. Routes to the tenant's
97
+ * self-hosted Lerian Midaz instance (multi-currency, multi-asset,
98
+ * immutable + auditable). Distinct from pay/charge (those move real
99
+ * money via PSPs) — this is the system of record / books.
100
+ */
101
+ ledger(args: LedgerArgs): Promise<LedgerResult>;
102
+ /**
103
+ * Issue and control payment cards (codespar_issue). Typed wrapper
104
+ * around `execute("codespar_issue", {...})`. Routes to Pomelo
105
+ * card-issuing — card-virtual / card-physical / card-control
106
+ * (freeze/unfreeze/cancel) / card-get. The agent-spend-card
107
+ * primitive; distinct from pay/charge which move money.
108
+ */
109
+ issue(args: IssueArgs): Promise<IssueResult>;
110
+ /**
111
+ * Buy-side shopping: catalog search → async checkout → Pix mint.
112
+ * Typed wrapper around `execute("codespar_shop", {...})`. The
113
+ * discriminated `ShopArgs`/`ShopResult` give the action-correct
114
+ * result type per action without an untyped cast.
115
+ *
116
+ * Checkout is async: `{action:"checkout"}` returns
117
+ * `{checkout_session_id, status:"in_progress"}`; poll
118
+ * `{action:"checkout_status", checkout_session_id}` until
119
+ * `ready_for_payment` (carries `pix_copia_e_cola`) or `canceled`
120
+ * (carries `error`). Settle the returned Pix via a separate payment
121
+ * tool — settlement and governance are out of this contract.
122
+ *
123
+ * A session declares the `shop` capability to surface this method
124
+ * (the `capabilities: ["shop"]` token); see the contract spec.
125
+ * Requires a runtime that implements the `codespar_shop` meta-tool —
126
+ * a self-hosted OSS runtime with no registered implementation returns
127
+ * "Tool not registered".
128
+ */
129
+ shop(args: ShopArgs): Promise<ShopResult>;
93
130
  mcp?: {
94
131
  url: string;
95
132
  headers: Record<string, string>;
@@ -192,6 +229,247 @@ export interface ShipResult {
192
229
  cost_minor?: number;
193
230
  raw?: unknown;
194
231
  }
232
+ /**
233
+ * Ledger args. Three actions over a tenant's self-hosted double-entry
234
+ * ledger (Lerian Midaz). Mirrors the backend's MetaLedgerArgs
235
+ * (codespar-enterprise) so the wire payload matches byte-for-byte.
236
+ * - entry Post an n:n journal transaction (source debits must
237
+ * equal destination credits, same asset)
238
+ * - balance Read an account's balances
239
+ * - account Create an account for an asset
240
+ * The connection (base_url + org_id + ledger_id) is operator-seeded,
241
+ * never passed by the agent. Amounts are in MINOR units (cents).
242
+ */
243
+ export interface LedgerLeg {
244
+ /** Account alias, e.g. "@wallet/user_123". */
245
+ account: string;
246
+ /** Amount in minor units (cents). */
247
+ amount: number;
248
+ }
249
+ export interface LedgerArgs {
250
+ /** entry | balance | account. */
251
+ action: "entry" | "balance" | "account";
252
+ /** Asset / currency code for entry + account (BRL, USD, USDC, ...). */
253
+ asset?: string;
254
+ /** Decimal places for the asset. Default 2 (fiat); JPY=0, most
255
+ * crypto=6/8. */
256
+ scale?: number;
257
+ /** Debit side(s) of an entry. Required for action=entry. */
258
+ source?: LedgerLeg[];
259
+ /** Credit side(s) of an entry. Required for action=entry. */
260
+ destination?: LedgerLeg[];
261
+ /** Transaction description (entry only). */
262
+ description?: string;
263
+ /** Account UUID to read balances for. Required for action=balance. */
264
+ account?: string;
265
+ /** Account alias for action=account, e.g. "@wallet/user_123". */
266
+ alias?: string;
267
+ /** Account display name (action=account). */
268
+ name?: string;
269
+ /** Midaz account type (deposit, savings, external). Default deposit.
270
+ * action=account only. */
271
+ type?: string;
272
+ /** Free-form metadata stored on the entry / account. */
273
+ metadata?: Record<string, unknown>;
274
+ }
275
+ export interface LedgerResult {
276
+ /** Transaction or account id (entry / account actions). */
277
+ id?: string | null;
278
+ status?: string;
279
+ /** Account id echoed back on creation. */
280
+ account_id?: string | null;
281
+ alias?: string | null;
282
+ /** Per-asset available + on-hold amounts (action=balance). */
283
+ balances?: unknown;
284
+ raw?: unknown;
285
+ }
286
+ /**
287
+ * Card-issuing args. Four actions over a card-issuing provider (Pomelo).
288
+ * Mirrors the backend's MetaIssueArgs (codespar-enterprise) so the wire
289
+ * payload matches byte-for-byte. Asset-agnostic — the program currency
290
+ * is set on the card program, not per call.
291
+ * - card-virtual Issue a virtual card (active immediately)
292
+ * - card-physical Issue a physical card (needs shipping_address)
293
+ * - card-control Freeze / unfreeze / cancel an existing card
294
+ * - card-get Read a card's status
295
+ */
296
+ export interface IssueArgs {
297
+ action: "card-virtual" | "card-physical" | "card-control" | "card-get";
298
+ /** Cardholder id (maps to Pomelo user_id). Required to issue. */
299
+ cardholder_id?: string;
300
+ /** Card program / BIN (maps to Pomelo affinity_group_id). Required to
301
+ * issue. */
302
+ program_id?: string;
303
+ /** Card id — required for card-control / card-get. */
304
+ card_id?: string;
305
+ /** Control verb: freeze→BLOCKED, unfreeze→ACTIVE, cancel→DISABLED. */
306
+ control?: "freeze" | "unfreeze" | "cancel";
307
+ /** Reason stamped on a control action. */
308
+ reason?: string;
309
+ /** Shipping address for card-physical. */
310
+ shipping_address?: Record<string, unknown>;
311
+ metadata?: Record<string, unknown>;
312
+ }
313
+ export interface IssueResult {
314
+ id?: string | null;
315
+ status?: string | null;
316
+ card_type?: string | null;
317
+ last_four?: string | null;
318
+ cardholder_id?: string | null;
319
+ program_id?: string | null;
320
+ raw?: unknown;
321
+ }
322
+ /**
323
+ * Buy-side shopping primitive: catalog search → checkout → Pix mint.
324
+ * Three actions over the canonical async/flattened wire shape:
325
+ * - search Find offers for a query at a merchant
326
+ * - checkout Start an async checkout (returns a session id)
327
+ * - checkout_status Poll a checkout session to terminal state
328
+ *
329
+ * The contract is the source of truth for the wire payload; the
330
+ * full consumer-facing specification (schemas, error table, state
331
+ * machine, versioning stance) lives in docs/codespar-shop-contract.md.
332
+ *
333
+ * The contract stops at minting a payable `pix_copia_e_cola`; it does
334
+ * NOT settle money and performs no KYC / mandate / cap check. Those are
335
+ * separate tools with separate governance — a returned Pix is a payment
336
+ * request, not an approved purchase.
337
+ *
338
+ * The typed `session.shop()` facade requires a runtime that implements
339
+ * the `codespar_shop` meta-tool. A self-hosted OSS runtime with no
340
+ * registered implementation returns "Tool not registered".
341
+ */
342
+ /** One buyable SKU under a `ShopOffer`. */
343
+ export interface ShopVariant {
344
+ /**
345
+ * The ready-to-buy SKU id. Note the field-name asymmetry the contract
346
+ * documents (not a bug): pass this `sku_id` as the checkout item's
347
+ * `variant_id`. The product id is NOT buyable — only the SKU is.
348
+ */
349
+ sku_id: string;
350
+ title?: string;
351
+ /** Integer minor units (centavos). */
352
+ price_minor?: number;
353
+ /** ISO-4217 currency code (default "BRL"). */
354
+ currency?: string;
355
+ available: boolean;
356
+ }
357
+ /** A flattened catalog offer returned by `search`. */
358
+ export interface ShopOffer {
359
+ product_id: string;
360
+ /** Offer-level SKU when the offer has a single buyable SKU. */
361
+ sku_id?: string;
362
+ title?: string;
363
+ /** Integer minor units (centavos). */
364
+ price_minor?: number;
365
+ /** ISO-4217 currency code (default "BRL"). */
366
+ currency?: string;
367
+ image?: string;
368
+ url?: string;
369
+ available: boolean;
370
+ variants: ShopVariant[];
371
+ }
372
+ /** A line item for a VTEX-rail `checkout`. */
373
+ export interface ShopCheckoutItem {
374
+ /** The buyable SKU — pass `ShopVariant.sku_id` here. */
375
+ variant_id: string;
376
+ /** Defaults to 1 when omitted. */
377
+ quantity?: number;
378
+ /** VTEX marketplace sub-seller id for a third-party SKU. */
379
+ seller?: string;
380
+ }
381
+ /** Optional vaulted buyer profile merged with the saved profile. */
382
+ export interface ShopBuyer {
383
+ name?: string;
384
+ email?: string;
385
+ cpf?: string;
386
+ phone?: string;
387
+ }
388
+ /** Optional vaulted delivery address; `cep` required when present. */
389
+ export interface ShopAddress {
390
+ cep: string;
391
+ street?: string;
392
+ number?: string;
393
+ complement?: string;
394
+ neighborhood?: string;
395
+ city?: string;
396
+ state?: string;
397
+ }
398
+ /** Search the catalog for offers. */
399
+ export interface ShopSearchArgs {
400
+ action: "search";
401
+ /** Free-form query (required). */
402
+ query: string;
403
+ /** Result cap, enforce-clamped to 1..20 (default 10). */
404
+ limit?: number;
405
+ /** Open merchant string resolved to a rail at runtime. */
406
+ merchant?: string;
407
+ }
408
+ /**
409
+ * Start a checkout. The "items XOR url, gated by rail" rule: pass
410
+ * `items` for the VTEX rail, or `url` for the Mercado Livre PDP rail —
411
+ * not both. Returns immediately with a session id; poll
412
+ * `checkout_status` for the terminal Pix.
413
+ */
414
+ export interface ShopCheckoutArgs {
415
+ action: "checkout";
416
+ merchant?: string;
417
+ /** VTEX rail: line items by SKU. */
418
+ items?: ShopCheckoutItem[];
419
+ /** Mercado Livre rail: the product-detail-page URL. */
420
+ url?: string;
421
+ /** Buyer scope; defaults to the calling agent's id when omitted. */
422
+ consumer_id?: string;
423
+ buyer?: ShopBuyer;
424
+ address?: ShopAddress;
425
+ }
426
+ /** Poll a checkout session for its terminal state. */
427
+ export interface ShopStatusArgs {
428
+ action: "checkout_status";
429
+ checkout_session_id: string;
430
+ }
431
+ /**
432
+ * Discriminated on `action`, so a caller gets the action-correct
433
+ * result type without an untyped cast (the closed action set is
434
+ * `search | checkout | checkout_status`; default `search`).
435
+ */
436
+ export type ShopArgs = ShopSearchArgs | ShopCheckoutArgs | ShopStatusArgs;
437
+ /** Terminal/non-terminal checkout-status values. */
438
+ export type ShopCheckoutStatus = "in_progress" | "ready_for_payment" | "canceled";
439
+ /** Result of `search`. Zero results is `products: []`, not an error. */
440
+ export interface ShopSearchResult {
441
+ rail: string;
442
+ products: ShopOffer[];
443
+ }
444
+ /** Result of `checkout` — always async, status is `in_progress`. */
445
+ export interface ShopCheckoutResult {
446
+ checkout_session_id: string;
447
+ status: "in_progress";
448
+ /** Advisory free-text status message. */
449
+ message?: string;
450
+ }
451
+ /**
452
+ * Result of `checkout_status`. `pix_copia_e_cola` + `total_minor` are
453
+ * present only at `ready_for_payment`; `error` only at `canceled`.
454
+ */
455
+ export interface ShopStatusResult {
456
+ checkout_session_id: string;
457
+ status: ShopCheckoutStatus;
458
+ rail?: string;
459
+ /** Integer minor units (centavos). */
460
+ total_minor?: number;
461
+ /** The payable Pix copia-e-cola — present only at ready_for_payment. */
462
+ pix_copia_e_cola?: string;
463
+ order_status?: string;
464
+ /** Failure detail — present only at canceled. */
465
+ error?: string;
466
+ }
467
+ /**
468
+ * Discriminated result union mirroring `ShopArgs`. A `ready_for_payment`
469
+ * status result exposes typed `pix_copia_e_cola` + `total_minor`; a
470
+ * `canceled` result exposes typed `error` — no `unknown` cast.
471
+ */
472
+ export type ShopResult = ShopSearchResult | ShopCheckoutResult | ShopStatusResult;
195
473
  export type PaymentStatus = "pending" | "succeeded" | "failed" | "refunded" | "updated" | "unknown";
196
474
  export interface PaymentStatusEvent {
197
475
  event_type: string;
@@ -354,10 +632,40 @@ export interface ServerConnection {
354
632
  auth_type: "oauth" | "api_key" | "cert" | "none";
355
633
  connected: boolean;
356
634
  }
635
+ /**
636
+ * A single mock response payload. The backend forwards this payload
637
+ * verbatim to whatever consumer would have received the upstream
638
+ * provider's JSON, so any shape the catalog tool accepts as a real
639
+ * response is a valid MockObject.
640
+ */
641
+ export type MockObject = Record<string, unknown>;
642
+ /**
643
+ * The value paired with a canonical tool name in a session's mocks
644
+ * map. Either a single MockObject (static mock — the same response
645
+ * every call) or an array of MockObject (stateful mock — consumed
646
+ * in order, one per matching call, then `mocks_exhausted` once the
647
+ * list is drained).
648
+ */
649
+ export type MockValue = MockObject | MockObject[];
357
650
  export interface CreateSessionRequest {
358
651
  servers: string[];
359
652
  metadata?: Record<string, string>;
360
653
  projectId?: string;
654
+ /**
655
+ * Optional map of canonical tool names to mock responses. Keys are
656
+ * canonical names in the slash form: `^[a-z0-9][a-z0-9-]*\/[a-z0-9][a-z0-9_-]*$`
657
+ * (e.g. `asaas/create_payment`). The OSS-runtime double-underscore
658
+ * form (`asaas__create_payment`) is a known migration trap — the
659
+ * SDK forwards keys verbatim, so the backend surfaces the
660
+ * canonical-form rejection at validate time rather than the SDK
661
+ * silently rewriting.
662
+ *
663
+ * Values follow the MockValue shape: a single MockObject for a
664
+ * static mock, or a MockObject[] for a stateful mock consumed in
665
+ * order. An empty map (`{}`) is accepted on the wire; strict-mode
666
+ * R3a activates only on non-empty maps.
667
+ */
668
+ mocks?: Record<string, MockValue>;
361
669
  }
362
670
  export interface ToolResult {
363
671
  success: boolean;
@@ -432,4 +740,72 @@ export interface AuthResult {
432
740
  authorizeUrl: string;
433
741
  expiresAt: string;
434
742
  }
743
+ /**
744
+ * Execution context passed to a meta-tool hook.
745
+ *
746
+ * This is the public, strict subset of the context a registrant receives:
747
+ * only the trusted, scope-defining fields cross the boundary. A registrant
748
+ * that needs richer internal context (database handles, provider clients,
749
+ * etc.) constructs it itself, derived ONLY from the trusted `orgId`/
750
+ * `projectId` here — never from agent-supplied input. The core never
751
+ * widens this shape; widening happens inside the registrant.
752
+ */
753
+ export interface MetaToolExecutionContext {
754
+ /** Tenant/org the calling session is scoped to (authorization root). */
755
+ orgId: string;
756
+ /** Project the session is scoped to; null for system-wide contexts. */
757
+ projectId: string | null;
758
+ /** The session driving this execution. */
759
+ sessionId: string;
760
+ /** Optional least-privilege agent scope; defaults to the caller. */
761
+ agentId?: string | null;
762
+ /** Whether this runs against live or test rails. */
763
+ environment?: "live" | "test";
764
+ /** Abort signal — registrants SHOULD honor it to cancel in-flight work. */
765
+ signal?: AbortSignal;
766
+ }
767
+ /**
768
+ * Advertised definition of a meta-tool, fed to tool-listing surfaces
769
+ * (`codespar_list_tools`, the chat-loop catalog) so the tools a runtime
770
+ * advertises track what is actually registered.
771
+ */
772
+ export interface MetaToolDefinition {
773
+ name: string;
774
+ description: string;
775
+ input_schema: {
776
+ type: "object";
777
+ properties: Record<string, unknown>;
778
+ required?: string[];
779
+ };
780
+ }
781
+ /** Result envelope a meta-tool hook returns. */
782
+ export interface MetaToolResult {
783
+ /** Identifier of the server/provider that produced the result. */
784
+ server_id: string;
785
+ /** The tool's output payload. */
786
+ output: unknown;
787
+ /** Wall-clock duration of the execution, in milliseconds. */
788
+ duration_ms: number;
789
+ }
790
+ /**
791
+ * Meta-tool hook — the fifth plugin hook. Lets any implementation register
792
+ * a named, higher-level tool (a "meta-tool") that the runtime dispatches by
793
+ * name through the standard execute path, alongside the four existing hooks
794
+ * (`PolicyHook`/`ObservabilityHook`/`SecretsHook`/`IntegrationHook`).
795
+ *
796
+ * A registered hook runs arbitrary in-process code on the execute path, so
797
+ * it is trusted by construction — treat a third-party registrant with the
798
+ * same scrutiny as any dependency you import and call. The seam does not
799
+ * sandbox registrants.
800
+ */
801
+ export interface MetaToolHook {
802
+ /** Diagnostic id for this registrant, e.g. "example". */
803
+ id: string;
804
+ /** Meta-tool names this hook serves. */
805
+ handles: string[];
806
+ /** Optional advertised definitions for tool-listing surfaces. */
807
+ definitions?(): MetaToolDefinition[];
808
+ /** Execute a meta-tool by name with the public execution context. */
809
+ execute(name: string, input: Record<string, unknown>, ctx: MetaToolExecutionContext): Promise<MetaToolResult>;
810
+ }
435
811
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
-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iCAAiC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,YAAY;IAC3B,yDAAyD;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,wCAAwC;IACxC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,iEAAiE;IACjE,WAAW,CAAC,IAAI,kBAAkB,EAAE,CAAC;IACrC,qEAAqE;IACrE,OAAO,CACL,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,GAAG,EAAE,wBAAwB,GAC5B,OAAO,CAAC,cAAc,CAAC,CAAC;CAC5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codespar/types",
3
- "version": "0.7.0",
3
+ "version": "0.10.1",
4
4
  "description": "Shared session interface contract for codespar runtimes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,6 +15,10 @@
15
15
  "import": "./dist/testing/contract-suite.js",
16
16
  "types": "./dist/testing/contract-suite.d.ts"
17
17
  }
18
+ },
19
+ "./testing/shop-fixtures": {
20
+ "import": "./dist/testing/shop-fixtures.js",
21
+ "types": "./dist/testing/shop-fixtures.d.ts"
18
22
  }
19
23
  },
20
24
  "files": [