@artblocks/abx-cli 0.8.0 → 0.8.2

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/bin.js +19 -0
  3. package/dist/bin.js.map +1 -1
  4. package/dist/commands/deploy.d.ts.map +1 -1
  5. package/dist/commands/deploy.js +7 -0
  6. package/dist/commands/deploy.js.map +1 -1
  7. package/dist/commands/reads.d.ts.map +1 -1
  8. package/dist/commands/reads.js +2 -0
  9. package/dist/commands/reads.js.map +1 -1
  10. package/dist/commands/service.d.ts.map +1 -1
  11. package/dist/commands/service.js +6 -0
  12. package/dist/commands/service.js.map +1 -1
  13. package/dist/creator-agent.d.ts +8 -0
  14. package/dist/creator-agent.d.ts.map +1 -1
  15. package/dist/creator-agent.js +10 -0
  16. package/dist/creator-agent.js.map +1 -1
  17. package/dist/creator-keyring.d.ts +3 -0
  18. package/dist/creator-keyring.d.ts.map +1 -1
  19. package/dist/creator-keyring.js +24 -6
  20. package/dist/creator-keyring.js.map +1 -1
  21. package/dist/creator-signer.d.ts.map +1 -1
  22. package/dist/creator-signer.js +18 -28
  23. package/dist/creator-signer.js.map +1 -1
  24. package/dist/deploy-plan.d.ts +1 -1
  25. package/dist/deploy-plan.d.ts.map +1 -1
  26. package/dist/main.js +1 -1
  27. package/dist/output.d.ts.map +1 -1
  28. package/dist/output.js +4 -1
  29. package/dist/output.js.map +1 -1
  30. package/dist/script-chunks.d.ts +2 -0
  31. package/dist/script-chunks.d.ts.map +1 -1
  32. package/dist/script-chunks.js +14 -1
  33. package/dist/script-chunks.js.map +1 -1
  34. package/dist/update-check.d.ts +2 -1
  35. package/dist/update-check.d.ts.map +1 -1
  36. package/dist/update-check.js +17 -1
  37. package/dist/update-check.js.map +1 -1
  38. package/package.json +6 -6
  39. package/skill/SKILL.md +1 -1
  40. package/skill/reference/code.md +15 -0
  41. package/skill/reference/hosting.md +20 -0
  42. package/skill/reference/services.md +6 -0
@@ -243,3 +243,23 @@ compare resolver state without cutting over prematurely.
243
243
 
244
244
  Never describe resolver migration as moving the NFT. Ownership, parameters, commitments, and canonical
245
245
  events remain on-chain; only the serving/indexing projection changes.
246
+
247
+ ## Browser content origins
248
+
249
+ Metadata/control endpoints and executable project pages can have different origins. Read the
250
+ provider descriptor (`abx remote <name-or-url>`) for `content.domain` and
251
+ `content.liveViewUrlTemplate`, or use a live-view response's canonical `Link` header. Prefer that
252
+ direct content URL for standalone apps and integrations. Preserve token query parameters. Never
253
+ invent content hostnames or replace a contract's metadata resolver base with the content domain.
254
+ The first-party content domain is `abxcontent.app`; each chain + collection has its own origin.
255
+
256
+ Existing animation URLs remain marketplace-compatible wrapper/redirect entry points. Within a
257
+ collection, tokens share the creator's trust boundary. Self-contained on-chain metadata/HTML does
258
+ not require this HTTP service.
259
+
260
+ For self-hosting, configure wildcard DNS and HTTPS for a separate domain, then set
261
+ `ABX_CONTENT_DOMAIN` on the resolver and effects worker. Remote effects runners use advertised content
262
+ origins when the provider supplies them during service discovery. Without it, project documents run in an opaque-origin sandbox;
263
+ persistent browser storage and some wallet flows will not work. Keep application sessions and
264
+ sensitive cookies off the content domain. No on-chain transaction is needed for a hosting-origin
265
+ change when the existing resolver routes remain available.
@@ -128,6 +128,12 @@ separate grant when payment changes, or another browser approval when a grant is
128
128
  or revoke grants at `https://services.abx.io/authorize`. Review exact actions before sending; an agent
129
129
  grant is not a per-transaction human approval.
130
130
 
131
+ Before the first embedded-wallet write in a session, explain that macOS may ask whether Node can
132
+ access the saved ABX authorization in Keychain. The Mac password stays with macOS; this is distinct
133
+ from the browser wallet grant. If the human denies access or reports unexplained recurring prompts,
134
+ stop wallet operations. Do not repeat credential probes, switch Node installations, or request
135
+ replacement grants to work around that denial. Use one consistent Node runtime for qualification.
136
+
131
137
  Before sending, inspect live descriptor/account capabilities, run command help and a JSON dry run,
132
138
  and summarize the active chain, creator-wallet address, native value, transaction group, estimated
133
139
  fees and permanent choices. Honor an explicit bring-your-own signer choice. Repeat production risks