Skip to content

Commit d91d4b1

Browse files
committed
Add package metadata proof to root well-known
1 parent 0213c6e commit d91d4b1

7 files changed

Lines changed: 251 additions & 1 deletion

File tree

.well-known/agent-card.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,39 @@
467467
"root_agent_close_url": "https://trungcodeer.github.io/agent-close/",
468468
"root_agent_close_json_url": "https://trungcodeer.github.io/agent-close.json",
469469
"root_agent_close_text_url": "https://trungcodeer.github.io/agent-close.txt",
470+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
471+
"root_checkout_proof": {
472+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
473+
"package_field": "softjunk.root_checkout_proof",
474+
"agent_checkout_router_url": "https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json",
475+
"root_agent_close_urls": [
476+
"https://trungcodeer.github.io/agent-close/",
477+
"https://trungcodeer.github.io/agent-close.json",
478+
"https://trungcodeer.github.io/agent-close.txt"
479+
],
480+
"root_well_known_urls": [
481+
"https://trungcodeer.github.io/.well-known/openapi.yaml",
482+
"https://trungcodeer.github.io/.well-known/agent-card.json"
483+
],
484+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
485+
"expected_no_clone_output": {
486+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
487+
"ok": true,
488+
"amount": "5.00",
489+
"currency": "USD",
490+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
491+
"payment_url_role": "packet_first_sponsor_route",
492+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
493+
"payment_proof_boundary": "This proves the executable checkout route only. It is not payment proof."
494+
},
495+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
496+
"payment_url_role": "packet_first_sponsor_route",
497+
"after_packet_payment_url": "https://paypal.me/softjunk/5USD",
498+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
499+
"proof_boundary": "This proves root checkout route discovery only. It is not payment proof.",
500+
"payment_boundary": "Do not claim paid, started, delivered, fulfilled, complete, received, or stop unless seller-side PayPal evidence exists, PayPal API verification succeeds, or trusted seller-side CSV proof verifies the 5 USD payment.",
501+
"safety_rule": "No spam, scraping, deception, unauthorized outreach, private customer data, or private payment details."
502+
},
470503
"root_agent_close_no_clone_proof": {
471504
"html_url": "https://trungcodeer.github.io/agent-close/",
472505
"json_url": "https://trungcodeer.github.io/agent-close.json",

.well-known/ai-plugin.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,39 @@
314314
"root_agent_close_url": "https://trungcodeer.github.io/agent-close/",
315315
"root_agent_close_json_url": "https://trungcodeer.github.io/agent-close.json",
316316
"root_agent_close_text_url": "https://trungcodeer.github.io/agent-close.txt",
317+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
318+
"root_checkout_proof": {
319+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
320+
"package_field": "softjunk.root_checkout_proof",
321+
"agent_checkout_router_url": "https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json",
322+
"root_agent_close_urls": [
323+
"https://trungcodeer.github.io/agent-close/",
324+
"https://trungcodeer.github.io/agent-close.json",
325+
"https://trungcodeer.github.io/agent-close.txt"
326+
],
327+
"root_well_known_urls": [
328+
"https://trungcodeer.github.io/.well-known/openapi.yaml",
329+
"https://trungcodeer.github.io/.well-known/agent-card.json"
330+
],
331+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
332+
"expected_no_clone_output": {
333+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
334+
"ok": true,
335+
"amount": "5.00",
336+
"currency": "USD",
337+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
338+
"payment_url_role": "packet_first_sponsor_route",
339+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
340+
"payment_proof_boundary": "This proves the executable checkout route only. It is not payment proof."
341+
},
342+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
343+
"payment_url_role": "packet_first_sponsor_route",
344+
"after_packet_payment_url": "https://paypal.me/softjunk/5USD",
345+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
346+
"proof_boundary": "This proves root checkout route discovery only. It is not payment proof.",
347+
"payment_boundary": "Do not claim paid, started, delivered, fulfilled, complete, received, or stop unless seller-side PayPal evidence exists, PayPal API verification succeeds, or trusted seller-side CSV proof verifies the 5 USD payment.",
348+
"safety_rule": "No spam, scraping, deception, unauthorized outreach, private customer data, or private payment details."
349+
},
317350
"root_agent_close_no_clone_proof": {
318351
"html_url": "https://trungcodeer.github.io/agent-close/",
319352
"json_url": "https://trungcodeer.github.io/agent-close.json",

.well-known/openapi.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,34 @@ x-softjunk-root-agent-close-no-clone-proof:
3737
payment_proof_boundary: This proves the executable checkout route only. It is not payment proof.
3838
after_packet_payment_url: https://paypal.me/softjunk/5USD
3939
payment_boundary: Do not claim paid, started, delivered, fulfilled, complete, received, or stop unless seller-side PayPal evidence exists, PayPal API verification succeeds, or trusted seller-side CSV proof verifies the 5 USD payment.
40+
x-softjunk-root-package-metadata-checkout-proof:
41+
package_metadata_url: https://trungcodeer.github.io/softjunk-lead-kit/package.json
42+
package_field: softjunk.root_checkout_proof
43+
agent_checkout_router_url: https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json
44+
root_agent_close_urls:
45+
- https://trungcodeer.github.io/agent-close/
46+
- https://trungcodeer.github.io/agent-close.json
47+
- https://trungcodeer.github.io/agent-close.txt
48+
root_well_known_urls:
49+
- https://trungcodeer.github.io/.well-known/openapi.yaml
50+
- https://trungcodeer.github.io/.well-known/agent-card.json
51+
command: npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json
52+
expected_no_clone_output:
53+
command: npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json
54+
ok: true
55+
amount: "5.00"
56+
currency: USD
57+
payment_url: https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html
58+
payment_url_role: packet_first_sponsor_route
59+
success_signal: PAYPAL_PAYMENT_VERIFIED=true
60+
payment_proof_boundary: This proves the executable checkout route only. It is not payment proof.
61+
payment_url: https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html
62+
payment_url_role: packet_first_sponsor_route
63+
after_packet_payment_url: https://paypal.me/softjunk/5USD
64+
success_signal: PAYPAL_PAYMENT_VERIFIED=true
65+
proof_boundary: This proves root checkout route discovery only. It is not payment proof.
66+
payment_boundary: Do not claim paid, started, delivered, fulfilled, complete, received, or stop unless seller-side PayPal evidence exists, PayPal API verification succeeds, or trusted seller-side CSV proof verifies the 5 USD payment.
67+
safety_rule: No spam, scraping, deception, unauthorized outreach, private customer data, or private payment details.
4068
x-softjunk-digital-kit-order:
4169
order_contract_json_url: https://trungcodeer.github.io/softjunk-lead-kit/digital-kit-order.json
4270
order_contract_text_url: https://trungcodeer.github.io/softjunk-lead-kit/digital-kit-order.txt

.well-known/softjunk-root-offer.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
"https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json",
181181
"https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.md",
182182
"https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.txt",
183+
"https://trungcodeer.github.io/softjunk-lead-kit/package.json",
183184
"https://trungcodeer.github.io/softjunk-lead-kit/npm-publish-status.json",
184185
"https://trungcodeer.github.io/softjunk-lead-kit/public-gist-checkout-index.json",
185186
"https://trungcodeer.github.io/softjunk-lead-kit/buyer-agent-relay.html",
@@ -257,6 +258,39 @@
257258
"root_agent_close_url": "https://trungcodeer.github.io/agent-close/",
258259
"root_agent_close_json_url": "https://trungcodeer.github.io/agent-close.json",
259260
"root_agent_close_text_url": "https://trungcodeer.github.io/agent-close.txt",
261+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
262+
"root_checkout_proof": {
263+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
264+
"package_field": "softjunk.root_checkout_proof",
265+
"agent_checkout_router_url": "https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json",
266+
"root_agent_close_urls": [
267+
"https://trungcodeer.github.io/agent-close/",
268+
"https://trungcodeer.github.io/agent-close.json",
269+
"https://trungcodeer.github.io/agent-close.txt"
270+
],
271+
"root_well_known_urls": [
272+
"https://trungcodeer.github.io/.well-known/openapi.yaml",
273+
"https://trungcodeer.github.io/.well-known/agent-card.json"
274+
],
275+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
276+
"expected_no_clone_output": {
277+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
278+
"ok": true,
279+
"amount": "5.00",
280+
"currency": "USD",
281+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
282+
"payment_url_role": "packet_first_sponsor_route",
283+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
284+
"payment_proof_boundary": "This proves the executable checkout route only. It is not payment proof."
285+
},
286+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
287+
"payment_url_role": "packet_first_sponsor_route",
288+
"after_packet_payment_url": "https://paypal.me/softjunk/5USD",
289+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
290+
"proof_boundary": "This proves root checkout route discovery only. It is not payment proof.",
291+
"payment_boundary": "Do not claim paid, started, delivered, fulfilled, complete, received, or stop unless seller-side PayPal evidence exists, PayPal API verification succeeds, or trusted seller-side CSV proof verifies the 5 USD payment.",
292+
"safety_rule": "No spam, scraping, deception, unauthorized outreach, private customer data, or private payment details."
293+
},
260294
"root_agent_close_no_clone_proof": {
261295
"html_url": "https://trungcodeer.github.io/agent-close/",
262296
"json_url": "https://trungcodeer.github.io/agent-close.json",

agent-card.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,39 @@
467467
"root_agent_close_url": "https://trungcodeer.github.io/agent-close/",
468468
"root_agent_close_json_url": "https://trungcodeer.github.io/agent-close.json",
469469
"root_agent_close_text_url": "https://trungcodeer.github.io/agent-close.txt",
470+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
471+
"root_checkout_proof": {
472+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
473+
"package_field": "softjunk.root_checkout_proof",
474+
"agent_checkout_router_url": "https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json",
475+
"root_agent_close_urls": [
476+
"https://trungcodeer.github.io/agent-close/",
477+
"https://trungcodeer.github.io/agent-close.json",
478+
"https://trungcodeer.github.io/agent-close.txt"
479+
],
480+
"root_well_known_urls": [
481+
"https://trungcodeer.github.io/.well-known/openapi.yaml",
482+
"https://trungcodeer.github.io/.well-known/agent-card.json"
483+
],
484+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
485+
"expected_no_clone_output": {
486+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
487+
"ok": true,
488+
"amount": "5.00",
489+
"currency": "USD",
490+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
491+
"payment_url_role": "packet_first_sponsor_route",
492+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
493+
"payment_proof_boundary": "This proves the executable checkout route only. It is not payment proof."
494+
},
495+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
496+
"payment_url_role": "packet_first_sponsor_route",
497+
"after_packet_payment_url": "https://paypal.me/softjunk/5USD",
498+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
499+
"proof_boundary": "This proves root checkout route discovery only. It is not payment proof.",
500+
"payment_boundary": "Do not claim paid, started, delivered, fulfilled, complete, received, or stop unless seller-side PayPal evidence exists, PayPal API verification succeeds, or trusted seller-side CSV proof verifies the 5 USD payment.",
501+
"safety_rule": "No spam, scraping, deception, unauthorized outreach, private customer data, or private payment details."
502+
},
470503
"root_agent_close_no_clone_proof": {
471504
"html_url": "https://trungcodeer.github.io/agent-close/",
472505
"json_url": "https://trungcodeer.github.io/agent-close.json",

root-offer.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@
207207
"https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json",
208208
"https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.md",
209209
"https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.txt",
210+
"https://trungcodeer.github.io/softjunk-lead-kit/package.json",
210211
"https://trungcodeer.github.io/softjunk-lead-kit/npm-publish-status.json",
211212
"https://trungcodeer.github.io/softjunk-lead-kit/public-gist-checkout-index.json",
212213
"https://trungcodeer.github.io/softjunk-lead-kit/checkout.json",
@@ -502,6 +503,39 @@
502503
"stable_fallback_release_url": "https://github.com/trungcodeer/softjunk-lead-kit/releases/tag/v2.29.166",
503504
"stable_fallback_release_tarball_url": "https://github.com/trungcodeer/softjunk-lead-kit/releases/download/v2.29.166/softjunk-lead-kit-0.2.2.tgz",
504505
"stable_fallback_release_tarball_sha256": "https://github.com/trungcodeer/softjunk-lead-kit/releases/download/v2.29.166/softjunk-lead-kit-0.2.2.tgz.sha256",
506+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
507+
"root_checkout_proof": {
508+
"package_metadata_url": "https://trungcodeer.github.io/softjunk-lead-kit/package.json",
509+
"package_field": "softjunk.root_checkout_proof",
510+
"agent_checkout_router_url": "https://trungcodeer.github.io/softjunk-lead-kit/agent-checkout-router.json",
511+
"root_agent_close_urls": [
512+
"https://trungcodeer.github.io/agent-close/",
513+
"https://trungcodeer.github.io/agent-close.json",
514+
"https://trungcodeer.github.io/agent-close.txt"
515+
],
516+
"root_well_known_urls": [
517+
"https://trungcodeer.github.io/.well-known/openapi.yaml",
518+
"https://trungcodeer.github.io/.well-known/agent-card.json"
519+
],
520+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
521+
"expected_no_clone_output": {
522+
"command": "npm exec --yes --package github:trungcodeer/softjunk-lead-kit -- softjunk-lead-kit pay --mode custom --json",
523+
"ok": true,
524+
"amount": "5.00",
525+
"currency": "USD",
526+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
527+
"payment_url_role": "packet_first_sponsor_route",
528+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
529+
"payment_proof_boundary": "This proves the executable checkout route only. It is not payment proof."
530+
},
531+
"payment_url": "https://trungcodeer.github.io/softjunk-lead-kit/sponsor-button-buy.html",
532+
"payment_url_role": "packet_first_sponsor_route",
533+
"after_packet_payment_url": "https://paypal.me/softjunk/5USD",
534+
"success_signal": "PAYPAL_PAYMENT_VERIFIED=true",
535+
"proof_boundary": "This proves root checkout route discovery only. It is not payment proof.",
536+
"payment_boundary": "Do not claim paid, started, delivered, fulfilled, complete, received, or stop unless seller-side PayPal evidence exists, PayPal API verification succeeds, or trusted seller-side CSV proof verifies the 5 USD payment.",
537+
"safety_rule": "No spam, scraping, deception, unauthorized outreach, private customer data, or private payment details."
538+
},
505539
"root_agent_close_no_clone_proof": {
506540
"html_url": "https://trungcodeer.github.io/agent-close/",
507541
"json_url": "https://trungcodeer.github.io/agent-close.json",

0 commit comments

Comments
 (0)