@nuanu-ai/agentify 0.3.0 → 0.4.0
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 +6 -5
- package/dist/client.js +1 -2
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -125,11 +125,12 @@ than the engineer.
|
|
|
125
125
|
|
|
126
126
|
## Versions
|
|
127
127
|
|
|
128
|
-
This is an early `0.x` pilot surface and the names in it can still change.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
128
|
+
This is an early `0.x` pilot surface and the names in it can still change. The
|
|
129
|
+
SDK and the gateway agree on a contract version, and a worker whose version the
|
|
130
|
+
gateway does not share stops before it takes an order. During the pilot that
|
|
131
|
+
version does not move with every change, so a release older than the gateway
|
|
132
|
+
can read a word it does not know as a failure rather than stop: keep the
|
|
133
|
+
package current. Register `agentify.on('problem', …)`, which is where you
|
|
133
134
|
hear about that and about everything else that did not get through.
|
|
134
135
|
|
|
135
136
|
## License
|
package/dist/client.js
CHANGED
|
@@ -241,8 +241,7 @@ const reportToConsole = (problem) => {
|
|
|
241
241
|
* side means changing both in the same commit.
|
|
242
242
|
*
|
|
243
243
|
* A key matching neither prefix says nothing at all, which is the third case
|
|
244
|
-
* ADR-0020 names: a key
|
|
245
|
-
* ours. There is nothing to fall back to. Guessing is wrong in both directions
|
|
244
|
+
* ADR-0020 names: a key naming no environment, or one that is not ours. There is nothing to fall back to. Guessing is wrong in both directions
|
|
246
245
|
* — telling a merchant their money is play when it is real, or the other way
|
|
247
246
|
* round — and no line at all is better than a wrong claim about whose money is
|
|
248
247
|
* at stake.
|
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* here from the contracts package, so that integration code has one import and
|
|
33
33
|
* not two.
|
|
34
34
|
*/
|
|
35
|
-
export type { Acceptance, CallError, Card, CardInput, Delivery, Fulfillment, HandlerAnswer, MerchantFinding, Money, Order, OrderCallResponse, OrderCallResult, OrderEvent, OrderList, OrderStatus, OrderWithStatus, Problem, PublishResult, QuotePurpose, QuoteRequest, QuoteResponse, Refusal, RefusalCode, SalePrice, } from "@nuanu-ai/agentify-contracts";
|
|
35
|
+
export type { Acceptance, CallError, Card, CardInput, Delivery, Fulfillment, HandlerAnswer, MerchantFinding, Money, Order, OrderCallResponse, OrderCallResult, OrderEvent, OrderList, OrderStatus, OrderWithStatus, Problem, PublishResult, QuotePurpose, QuoteRequest, QuoteResponse, Refusal, RefusalCode, SalePrice, Shipment, ShipTo, } from "@nuanu-ai/agentify-contracts";
|
|
36
36
|
export { CARD_REJECTED, MERCHANT_FINDINGS, ORDER_EVENT_TYPES, RECOMMENDED_REFUSAL_CODES, } from "@nuanu-ai/agentify-contracts";
|
|
37
37
|
export type { CardCheck } from "./check-card.js";
|
|
38
38
|
export { checkCard } from "./check-card.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuanu-ai/agentify",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Sell your existing products to AI agents: publish product cards to an x402 storefront and fill the paid orders from your own service.",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nuanu-ai/agentify-contracts": "0.
|
|
39
|
+
"@nuanu-ai/agentify-contracts": "0.8.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"vitest": "^4.1.11",
|