@unbrained/pm-cli 2026.8.4 → 2026.8.5
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/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +39 -13
- package/dist/cli/error-guidance.js +4 -4
- package/dist/cli/register-structured-mutation.d.ts +2 -0
- package/dist/cli/register-structured-mutation.js +124 -12
- package/dist/cli-bundle/bundle-manifest.json +407 -407
- package/dist/cli-bundle/chunks/append-VXXGOXSG.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-QVO3VTA4.js → chunk-2WFXWAYX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NM5G7RLU.js → chunk-3FTILRJ2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VH2EAGUG.js → chunk-42E7YPLG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RB65T4RX.js → chunk-43HQQI6S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-J4EPW4GT.js → chunk-45G53IU4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PQXEB7W4.js → chunk-4VN6GS4U.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-4YUBDMQM.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-D2MBVMVE.js → chunk-54FNT7U2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NRDKVOUE.js → chunk-5ZBOIPGP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3XZYTRPC.js → chunk-6MSQJOTG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GOICHIX4.js → chunk-7A5OT5J2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HTYC76A4.js → chunk-7C4PTJG6.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BKMZTZYL.js → chunk-A62CYISG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5H47J5FG.js → chunk-BPELKUQD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HE3DZFN4.js → chunk-BXQLRKWF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BLINBTMX.js → chunk-CSI3WS5I.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KH4GVBMC.js → chunk-DXDREUXT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KIKLF2W4.js → chunk-E2RKBKWB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-377OOXUF.js → chunk-EGJ4JTUG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SULWTPQO.js → chunk-FPBQHMFT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-V5K52PYW.js → chunk-GE4KCSZP.js} +35 -35
- package/dist/cli-bundle/chunks/{chunk-NPUJ7OLK.js → chunk-HNFD72UK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QMWUL66F.js → chunk-HWRRMBJO.js} +5 -5
- package/dist/cli-bundle/chunks/chunk-L3AZOELJ.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-CGY5I2GO.js → chunk-LKDGK44W.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-LN2WFEU4.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-ZSH4GNBH.js → chunk-M72BKL5Q.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HQ2WU7OY.js → chunk-MHK6LIWE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-H6FITE7D.js → chunk-NE5VRDAI.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-NY4T3JWN.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-DCJ6CM6F.js → chunk-OMXVBQ2N.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-OPVH7SKD.js +8 -0
- package/dist/cli-bundle/chunks/{chunk-CU5ENFNP.js → chunk-OTHLDSFP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NH35JNK5.js → chunk-PMXJEU3F.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SVDH5CHC.js → chunk-Q35VBGOQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-5PZGZMPG.js → chunk-R546TPDE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Q5F6OI7C.js → chunk-RKAVWO3O.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JMKVCQSE.js → chunk-SSF4PIUR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PA5XRN2A.js → chunk-UN66FZRO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FQ4EFFDU.js → chunk-UP7DTVMD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NFF3JAQR.js → chunk-UZBWIUYD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-2POYGY53.js → chunk-V3774P7D.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-B5ZLCD5Z.js → chunk-V3EUXXOF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6S7I3UKV.js → chunk-VCKLFEUN.js} +19 -19
- package/dist/cli-bundle/chunks/{chunk-PYYPQLHC.js → chunk-VN5VITU3.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-WRL4KNDL.js +20 -0
- package/dist/cli-bundle/chunks/{chunk-UJHUR3LZ.js → chunk-XCEZYMNI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JDPKBV5P.js → chunk-YEWNL576.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OB7TRZ2G.js → chunk-YSO3YFZ4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UVZREFZU.js → chunk-ZYHOB3SN.js} +2 -2
- package/dist/cli-bundle/chunks/close-VZ3OQPN5.js +2 -0
- package/dist/cli-bundle/chunks/close-many-SB4TI27P.js +2 -0
- package/dist/cli-bundle/chunks/comments-BIF3Q4KY.js +2 -0
- package/dist/cli-bundle/chunks/copy-6AI5Z57X.js +2 -0
- package/dist/cli-bundle/chunks/{create-RLLCBCXM.js → create-XLKTXTUF.js} +2 -2
- package/dist/cli-bundle/chunks/delete-ZY2VHQTP.js +2 -0
- package/dist/cli-bundle/chunks/{deps-J4ONTF4X.js → deps-ITTY3GIC.js} +2 -2
- package/dist/cli-bundle/chunks/{docs-YL2DJ4WD.js → docs-W4OSRTYR.js} +2 -2
- package/dist/cli-bundle/chunks/{files-NGNAIYKK.js → files-EOK4AZI4.js} +2 -2
- package/dist/cli-bundle/chunks/focus-DLBNWL7L.js +2 -0
- package/dist/cli-bundle/chunks/{history-compact-HW62K5XP.js → history-compact-7UGTMLL3.js} +2 -2
- package/dist/cli-bundle/chunks/{history-redact-HVBKUJOW.js → history-redact-4DZRMD6Z.js} +2 -2
- package/dist/cli-bundle/chunks/{history-repair-OPNBH5JJ.js → history-repair-UPOSZW5R.js} +2 -2
- package/dist/cli-bundle/chunks/{learnings-F36PZXT6.js → learnings-GMRNCBS3.js} +2 -2
- package/dist/cli-bundle/chunks/{profile-N3XMWBM7.js → profile-2MUUMHRE.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-BKGHBI7Y.js → register-list-query-LR3SQ5ZF.js} +2 -2
- package/dist/cli-bundle/chunks/register-mutation-SUOHFVWM.js +20 -0
- package/dist/cli-bundle/chunks/register-operations-ARRRKOVN.js +2 -0
- package/dist/cli-bundle/chunks/{register-setup-KWV6UD77.js → register-setup-O6AYP6NP.js} +2 -2
- package/dist/cli-bundle/chunks/restore-ZVCVHTB5.js +2 -0
- package/dist/cli-bundle/chunks/{schema-4PJQMGUY.js → schema-FJ4EA3XF.js} +2 -2
- package/dist/cli-bundle/chunks/update-YHV52CSS.js +2 -0
- package/dist/cli-bundle/chunks/update-many-M6YHVNXM.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-7J5TUBUJ.js +153 -0
- package/dist/cli-bundle/focused-chunks/{chunk-ONIX2KKW.js → chunk-A7BJ5SS6.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-B7LJWAZE.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-QM2BIVK7.js → chunk-BIMTMOS7.js} +3 -3
- package/dist/cli-bundle/focused-chunks/{chunk-BOGRY7M6.js → chunk-FGKY4MBE.js} +10 -10
- package/dist/cli-bundle/focused-chunks/chunk-G6ETT4QK.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-C2QSL62X.js → chunk-GJ2TG2CW.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-RO5BQFG3.js → chunk-IPWSFADF.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-UFCPSWIL.js → chunk-MJ7HWSFK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-2VIIXOAD.js → chunk-N5XU5UVK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-PG2RIZBX.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-OYTK4VNH.js → chunk-PIMMYG7Q.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-K37BB4JL.js → chunk-QVHKCI4T.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-SQXVGHMH.js → chunk-RUR5I3TK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-SV3O7TSH.js +8 -0
- package/dist/cli-bundle/focused-chunks/{chunk-L6A4NVQC.js → chunk-UIL2M2NA.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-WVGJAD7L.js → chunk-VLYOEYML.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-W7BJEWHX.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-DQ4PLKEE.js → chunk-WEM2E2PE.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-WVIVUWVL.js +5 -0
- package/dist/cli-bundle/focused-chunks/chunk-Y4LDYLLT.js +2 -0
- package/dist/cli-bundle/main.js +4 -4
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +28 -28
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +1 -1
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +1 -1
- package/dist/core/extensions/loader.js +5 -2
- package/dist/core/item/item-format.js +14 -20
- package/dist/core/shared/constants.js +3 -2
- package/dist/core/store/item-store.js +2 -2
- package/dist/core/store/settings.js +2 -2
- package/dist/mcp/server.js +12 -6
- package/dist/mcp/tool-definitions.js +14 -7
- package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +18 -18
- package/dist/sdk/cli-contracts/agent-output-contracts.js +51 -23
- package/dist/sdk/cli-contracts/commander-mutation-options.js +26 -2
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +28 -2
- package/dist/sdk/cli-contracts/registration-helpers.js +4 -2
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +10 -2
- package/dist/sdk/cli-contracts/runtime-contracts.js +20 -5
- package/dist/sdk/cli-contracts/tool-schema.js +4 -2
- package/dist/sdk/cli-contracts.d.ts +2 -2
- package/dist/sdk/cli-contracts.js +4 -4
- package/dist/sdk/cli-program.js +3 -3
- package/dist/sdk/contracts.d.ts +1 -0
- package/dist/sdk/contracts.js +3 -2
- package/dist/sdk/dependency-provenance.d.ts +2 -0
- package/dist/sdk/dependency-provenance.js +7 -3
- package/dist/sdk/error-code-catalog.d.ts +23 -0
- package/dist/sdk/error-code-catalog.js +25 -5
- package/dist/sdk/generated-error-code-catalog.js +499 -3
- package/dist/sdk/graph/governance.js +3 -3
- package/dist/sdk/graph/remediation.js +3 -3
- package/dist/sdk/graph/run.js +4 -8
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +4 -3
- package/dist/sdk/item-transaction.d.ts +51 -6
- package/dist/sdk/item-transaction.js +132 -22
- package/dist/sdk/lifecycle/create.d.ts +4 -0
- package/dist/sdk/lifecycle/create.js +26 -10
- package/dist/sdk/lifecycle-policy.d.ts +9 -0
- package/dist/sdk/lifecycle-policy.js +22 -9
- package/dist/sdk/merge/driver.js +6 -3
- package/dist/sdk/output-contracts.d.ts +67 -0
- package/dist/sdk/output-contracts.js +173 -0
- package/dist/sdk/package-import-adapters.js +2 -2
- package/dist/sdk/structured-mutations.d.ts +23 -0
- package/dist/sdk/structured-mutations.js +219 -10
- package/dist/sdk/workspace-snapshot.js +58 -12
- package/dist/sdk/workspace.js +30 -4
- package/docs/COMMANDS.md +40 -10
- package/docs/EXTENSIONS.md +1 -1
- package/docs/MERGE_SAFETY.md +2 -0
- package/docs/PR_REVIEW_LOOP.md +10 -4
- package/docs/README.md +22 -22
- package/docs/RELEASING.md +3 -3
- package/docs/SCRIPTING.md +32 -9
- package/docs/SDK.md +91 -11
- package/docs/SELF_DESCRIBING_CONTEXT_CONTRACTS.md +13 -0
- package/docs/TESTING.md +25 -0
- package/docs/examples/sdk-contract-consumer/README.md +11 -1
- package/docs/examples/sdk-contract-consumer/package.json +2 -1
- package/docs/examples/sdk-contract-consumer/parse-receipt.mjs +22 -0
- package/marketplace.json +2 -2
- package/package.json +3 -2
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +292 -14
- package/dist/cli-bundle/chunks/append-DHBRLHHS.js +0 -2
- package/dist/cli-bundle/chunks/chunk-2INN52SU.js +0 -8
- package/dist/cli-bundle/chunks/chunk-6RSK4IFN.js +0 -20
- package/dist/cli-bundle/chunks/chunk-ASJJKA57.js +0 -2
- package/dist/cli-bundle/chunks/chunk-IYAVULRN.js +0 -2
- package/dist/cli-bundle/chunks/chunk-RRQBHQOV.js +0 -2
- package/dist/cli-bundle/chunks/chunk-XBLOD5TZ.js +0 -2
- package/dist/cli-bundle/chunks/close-VLHNN6YB.js +0 -2
- package/dist/cli-bundle/chunks/close-many-LSJNZKU6.js +0 -2
- package/dist/cli-bundle/chunks/comments-AAIA6A6X.js +0 -2
- package/dist/cli-bundle/chunks/copy-Z7YMLEHN.js +0 -2
- package/dist/cli-bundle/chunks/delete-KNOHHQJM.js +0 -2
- package/dist/cli-bundle/chunks/focus-LFRCGALV.js +0 -2
- package/dist/cli-bundle/chunks/register-mutation-GU3DCECN.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-PTWH727R.js +0 -2
- package/dist/cli-bundle/chunks/restore-4HZSLILR.js +0 -2
- package/dist/cli-bundle/chunks/update-E6LPS5IV.js +0 -2
- package/dist/cli-bundle/chunks/update-many-OSIC6KRO.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-5MTKO7TV.js +0 -153
- package/dist/cli-bundle/focused-chunks/chunk-6GIZK7VQ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-AOP2WIZZ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-CL75YW32.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-E7OFMWGT.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-I5F5UK3Q.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-T5TSY36R.js +0 -5
- package/dist/cli-bundle/focused-chunks/chunk-VT6BF2IX.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as Ie,b as we,c as Oe,d as Se,e as Pe,f as Fe,g as Re,h as Ae,i as D,j as N,k as L,l as $,m as j,p as K,q as H,w as U,x as q,y as V,z}from"./focused-chunks/chunk-K37BB4JL.js";import{a as A,b as T,c as M,d as B,w as X}from"./focused-chunks/chunk-L6A4NVQC.js";import"./focused-chunks/chunk-WVGJAD7L.js";import"./focused-chunks/chunk-SQXVGHMH.js";import"./focused-chunks/chunk-2VIIXOAD.js";import{Qa as W,Sa as G,Ta as Y,b as y,c as v,f as m,g,k as E,l as k,m as C,ma as F,n as b,na as R}from"./focused-chunks/chunk-QM2BIVK7.js";import{b as ke,c as Ce,d as be}from"./focused-chunks/chunk-CL75YW32.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="60463c2e-f904-5199-87b0-8a17f0e2ee0f")}catch{}})();function Le(e){return e}function $e(e){return e}function J(e,o){for(let r of o.commands??[])e.registerCommand(r);for(let[r,t]of Object.entries(o.commandOverrides??{}))e.registerCommand(r,t);for(let[r,t]of Object.entries(o.flags??{}))e.registerFlags(r,t);for(let[r,t]of Object.entries(o.parsers??{}))e.registerParser(r,t);for(let[r,t]of Object.entries(o.renderers??{}))if(typeof t=="function")e.registerRenderer(r,t);else{let{run:n,...s}=t;e.registerRenderer(r,n,s)}for(let[r,t]of Object.entries(o.services??{}))e.registerService(r,t)}function Q(e,o){for(let s of o.preflights??[])e.registerPreflight(s);let r=o.itemTypes??[];r.length>0&&e.registerItemTypes(r);let t=o.itemFields??[];t.length>0&&e.registerItemFields(t);let n=o.relationshipKinds??[];n.length>0&&e.registerRelationshipKinds(n);for(let s of o.migrations??[])e.registerMigration(s);for(let s of o.profiles??[])e.registerProfile(s)}function Z(e,o){for(let r of o.searchProviders??[])e.registerSearchProvider(r);for(let r of o.vectorStoreAdapters??[])e.registerVectorStoreAdapter(r);for(let r of o.importers??[])e.registerImporter(r.name,r.importer,r.options);for(let r of o.exporters??[])e.registerExporter(r.name,r.exporter,r.options)}function ee(e,o){for(let r of o.beforeCommand??[])e.hooks.beforeCommand(r);for(let r of o.beforeMutation??[])e.hooks.beforeMutation(r);for(let r of o.afterCommand??[])e.hooks.afterCommand(r);for(let r of o.onWrite??[])e.hooks.onWrite(r);for(let r of o.onRead??[])e.hooks.onRead(r);for(let r of o.onIndex??[])e.hooks.onIndex(r)}function re(e){let r={activate:async t=>{J(t,e),Q(t,e),Z(t,e),ee(t,e.hooks??{}),await e.activate?.(t)}};return e.manifest&&(r.manifest=e.manifest),e.deactivate&&(r.deactivate=e.deactivate),r}function f(e){let o=e.flatMap(r=>r??[]);return o.length>0?o:void 0}function p(e){let o=Object.assign({},...e.map(r=>r??{}));return Object.keys(o).length>0?o:void 0}function oe(e){let o={};for(let r of e)for(let[t,n]of Object.entries(r??{}))o[t]=[...o[t]??[],...n];return Object.keys(o).length>0?o:void 0}var te=["beforeCommand","beforeMutation","afterCommand","onWrite","onRead","onIndex"];function ne(e,o,r){let t=o.map(s=>s?.[r]),n=f(t);if(n!==void 0){let s=e;s[r]=n}}function ie(e){let o={};for(let r of te)ne(o,e,r);return Object.keys(o).length>0?o:void 0}function je(...e){let o={},r=(i,c)=>{c!==void 0&&(o[i]=c)};r("commands",f(e.map(i=>i.commands))),r("commandOverrides",p(e.map(i=>i.commandOverrides))),r("flags",oe(e.map(i=>i.flags))),r("parsers",p(e.map(i=>i.parsers))),r("renderers",p(e.map(i=>i.renderers))),r("services",p(e.map(i=>i.services))),r("preflights",f(e.map(i=>i.preflights))),r("itemTypes",f(e.map(i=>i.itemTypes))),r("itemFields",f(e.map(i=>i.itemFields))),r("relationshipKinds",f(e.map(i=>i.relationshipKinds))),r("migrations",f(e.map(i=>i.migrations))),r("profiles",f(e.map(i=>i.profiles))),r("searchProviders",f(e.map(i=>i.searchProviders))),r("vectorStoreAdapters",f(e.map(i=>i.vectorStoreAdapters))),r("importers",f(e.map(i=>i.importers))),r("exporters",f(e.map(i=>i.exporters))),r("hooks",ie(e.map(i=>i.hooks)));let t;for(let i of e)i.manifest&&(t=i.manifest);r("manifest",t);let n=e.some(i=>i.activate);r("activate",n?async i=>{for(let c of e)c.activate&&await c.activate(i)}:void 0);let s=e.some(i=>i.deactivate);return r("deactivate",s?async()=>{let i=[];for(let c of[...e].reverse())if(c.deactivate)try{await c.deactivate()}catch(d){i.push(d)}if(i.length>0)throw i.length>1?new AggregateError(i,"Multiple extension blueprint deactivate hooks failed."):i[0]}:void 0),o}var se=[["commands","commands"],["commandOverrides","commands"],["flags","schema"],["itemTypes","schema"],["itemFields","schema"],["relationshipKinds","schema"],["migrations","schema"],["profiles","schema"],["parsers","parser"],["renderers","renderers"],["services","services"],["preflights","preflight"],["searchProviders","search"],["vectorStoreAdapters","search"],["importers","importers"],["exporters","importers"]];function u(e){return e?Array.isArray(e)?e.length>0:Object.keys(e).length>0:!1}function h(e){let o=new Set;for(let[n,s]of se)u(e[n])&&o.add(s);(e.commands??[]).filter(l).some(n=>n.flags!==void 0)&&o.add("schema");let r=[...e.importers??[],...e.exporters??[]].filter(l);r.some(n=>n?.options?.flags!==void 0)&&o.add("schema"),r.some(n=>typeof n=="object")&&o.add("commands");let t=e.hooks??{};return[t.beforeCommand,t.beforeMutation,t.afterCommand,t.onWrite,t.onRead,t.onIndex].some(u)&&o.add("hooks"),[...o].sort((n,s)=>n.localeCompare(s))}var ae=[["beforeCommand","before_command"],["beforeMutation","before_mutation"],["afterCommand","after_command"],["onWrite","on_write"],["onRead","on_read"],["onIndex","on_index"]];function a(e){return[...new Set(e)].sort((o,r)=>o.localeCompare(r))}function l(e){return e!=null}function _(e){return m(`${e.name} import`)}function x(e){return m(`${e.name} export`)}function ce(e,o,r){return[...e.map(t=>m(t.name)),...o.filter(t=>t.options!==void 0).map(_),...r.filter(t=>t.options!==void 0).map(x)]}function de(e,o,r,t){return[...Object.keys(e.flags??{}).map(n=>m(n)),...o.filter(n=>n.flags!==void 0).map(n=>m(n.name)),...r.filter(n=>n.options?.flags!==void 0).map(_),...t.filter(n=>n.options?.flags!==void 0).map(x)]}function me(e){return ae.filter(([o])=>(e[o]?.length??0)>0).map(([,o])=>o)}function fe(e){let o=Object.entries(e??{}).filter(([,r])=>typeof r!="function"&&((r.commands?.length??0)>0||r.resultDiscriminator!==void 0)).map(([r,t])=>{let n=t;return{format:r,commands:a((n.commands??[]).map(s=>m(s))),result_discriminator:n.resultDiscriminator!==void 0}}).sort((r,t)=>r.format.localeCompare(t.format));return o.length>0?{renderer_ownership:o}:{}}function le(e,o,r){return{item_types:a((e.itemTypes??[]).map(t=>t.name)),item_fields:a((e.itemFields??[]).map(t=>t.name)),...(e.relationshipKinds?.length??0)>0?{relationship_kinds:a(e.relationshipKinds.map(t=>t.kind))}:{},migrations:a((e.migrations??[]).flatMap(t=>typeof t.id=="string"?[t.id]:[])),profiles:a((e.profiles??[]).map(t=>t.name)),importers:a(o.map(t=>m(t.name))),exporters:a(r.map(t=>m(t.name))),search_providers:a((e.searchProviders??[]).map(t=>t.name)),vector_store_adapters:a((e.vectorStoreAdapters??[]).map(t=>t.name)),parser_overrides:a(Object.keys(e.parsers??{}).map(t=>m(t))),service_overrides:a(Object.keys(e.services??{}).map(t=>String(t).trim().toLowerCase())),renderer_overrides:a(Object.keys(e.renderers??{}).map(t=>String(t).trim().toLowerCase())),...fe(e.renderers),preflight_overrides:(e.preflights??[]).length}}function Ke(e){let o=(e.commands??[]).filter(l),r=(e.importers??[]).filter(l),t=(e.exporters??[]).filter(l),n=r.map(_),s=t.map(x),i=ce(o,r,t),c=de(e,o,r,t),d=e.hooks??{},S=le(e,r,t);return{capabilities:h(e),commands:a(i),command_overrides:a(Object.keys(e.commandOverrides??{}).map(P=>m(P))),command_handlers:a([...i,...n,...s]),hooks:me(d),flag_commands:a(c),...S}}var pe=["commands","commandOverrides","flags","parsers","renderers","services","preflights","itemTypes","itemFields","relationshipKinds","migrations","profiles","searchProviders","vectorStoreAdapters","importers","exporters"];function ue(e){return(e.itemFields??[]).filter(o=>typeof o?.name=="string"&&g.has(o.name.trim())).map(o=>({code:"reserved_item_field",severity:"error",message:`Item field "${o.name}" collides with reserved item metadata; rename it with an extension-specific prefix before publishing.`,field:o.name}))}function ge(e){return[...Object.values(e.flags??{}).flat(),...(e.commands??[]).flatMap(r=>r.flags??[]),...(e.importers??[]).flatMap(r=>r.options?.flags??[]),...(e.exporters??[]).flatMap(r=>r.options?.flags??[])].flatMap(r=>{if(typeof r?.long!="string"&&typeof r?.short!="string")return[];let t=E(r.long,r.short);if(t===null)return[];let{token:n,failure:s}=t;return[{code:s,severity:"error",message:`Flag "${n}" ${k(n,s)}.`,field:n}]})}function w(e){let o=new Set;for(let r of e){let t=v(r)??y(r);t!==null&&o.add(t)}return[...o].sort((r,t)=>r.localeCompare(t))}function he(e,o){let r=[];if(o===null)return e.length>0&&r.push({code:"manifest_capabilities_absent",severity:"warning",message:`Blueprint exercises ${e.length===1?"capability":"capabilities"} [${e.join(", ")}] but declares none; set capabilities to deriveExtensionCapabilities(blueprint) so the manifest grant matches.`}),r;let t=new Set(o),n=new Set(e);for(let s of e)t.has(s)||r.push({code:"capability_undeclared",severity:"error",message:`Blueprint exercises capability "${s}" but it is absent from the declared capabilities; activation throws extension_capability_missing \u2014 add "${s}" to the manifest capabilities.`,capability:s});for(let s of o)n.has(s)||r.push({code:"capability_unused",severity:"warning",message:`Capability "${s}" is declared but no blueprint surface exercises it; drop it to keep the manifest least-privilege (pm package doctor reports this as extension_capability_unused).`,capability:s});return r}function _e(e){let o=[],r=new Map;for(let n of e.commands??[]){let s=m(n.name);r.set(s,(r.get(s)??0)+1)}for(let[n,s]of r)s>1&&o.push({code:"duplicate_command",severity:"warning",message:`Command "${n}" is declared ${s} times in commands; the later registration shadows the earlier one at dispatch.`,command:n});let t=new Set(Object.keys(e.commandOverrides??{}).map(n=>m(n)));for(let n of r.keys())t.has(n)&&o.push({code:"command_override_conflict",severity:"warning",message:`Command "${n}" is declared both as a new command definition and as a command override; register one or the other.`,command:n});return o}function xe(e){let o=[];for(let r of pe)r in e&&!u(e[r])&&o.push({code:"empty_surface",severity:"warning",message:`Blueprint field "${r}" is present but empty; remove it or populate it.`,field:r});if("hooks"in e){let r=e.hooks??{};[r.beforeCommand,r.beforeMutation,r.afterCommand,r.onWrite,r.onRead,r.onIndex].some(u)||o.push({code:"empty_surface",severity:"warning",message:'Blueprint field "hooks" is present but registers no lifecycle hooks; remove it or populate it.',field:"hooks"})}return o}function ye(e,o={}){let r=h(e),t=o.declaredCapabilities??e.manifest?.capabilities,n=Array.isArray(t)?w(t):null,s=[...he(r,n),..._e(e),...ge(e),...ue(e),...xe(e)];return{ok:s.every(i=>i.severity!=="error"),findings:s,used:r,declared:n}}function O(e,o){let{additionalCapabilities:r,...t}=o,n=Array.isArray(r)?w(r):[],s=[...new Set([...h(e),...n])].sort((i,c)=>i.localeCompare(c));return{...t,capabilities:s}}function He(e,o){let r=O(e,o);return{module:re({...e,manifest:r}),manifest:r}}function I(e,o){if(e.status==="absent"||e.status==="ok")return null;let r=`${e.kind}_${e.status}`,t;switch(r){case"pm_min_version_invalid":t=`pm_min_version "${e.required}" is not a valid version; the extension is treated as incompatible and the loader skips it.`;break;case"pm_min_version_unchecked":t=`pm_min_version "${e.required}" could not be compared against pm ${o}; compatibility is unverified.`;break;case"pm_min_version_unmet":t=`Requires pm >= ${e.required} but the target is pm ${o}; the loader skips the extension.`;break;case"pm_max_version_invalid":t=`pm_max_version "${e.required}" is not a valid inclusive upper bound (version ranges are not allowed); the extension is treated as incompatible and the loader skips it.`;break;case"pm_max_version_unchecked":t=`pm_max_version "${e.required}" could not be compared against pm ${o}; compatibility is unverified.`;break;case"pm_max_version_exceeded":t=`Allows pm <= ${e.required} but the target is pm ${o}; the loader skips the extension.`;break;case"pm_max_version_exceeded_warn":t=`Target pm ${o} is newer than pm_max_version ${e.required}, but the "warn" exceeded mode lets it load with a warning.`;break}return{code:r,severity:e.allowed?"warning":"error",constraint:e.kind,required:e.required,current:o,message:t}}function ve(e,o){let r=C(e.pm_min_version,o.pmVersion),t=b(e.pm_max_version,o.pmVersion,o.pmMaxVersionExceededMode??"block"),n=[],s=I(r,o.pmVersion);s!==null&&n.push(s);let i=I(t,o.pmVersion);return i!==null&&n.push(i),{compatible:r.allowed&&t.allowed,findings:n,pmVersion:o.pmVersion}}var Ee=new Set(["capability_undeclared","capability_unused","manifest_capabilities_absent"]);function Ue(e,o={}){let r=ye(e,{declaredCapabilities:o.declaredCapabilities}),t=o.identity?O(e,o.identity):null,n=o.target?ve(t??e.manifest??{},o.target):null,c=[...(t!==null&&o.declaredCapabilities===void 0?r.findings.filter(d=>!Ee.has(d.code)):r.findings).map(d=>({source:"blueprint",severity:d.severity,code:d.code,message:d.message})),...(n?.findings??[]).map(d=>({source:"compatibility",severity:d.severity,code:d.code,message:d.message}))];return{ok:c.every(d=>d.severity!=="error"),capabilities:r.used,blueprint:r,manifest:t,compatibility:n,findings:c}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9212673f-1a9f-50b8-92a2-4fd30ce54351")}catch{}})();function Ve(e){return e}function ze(e){return e}function We(e){return e}function Ge(e){return e}function Ye(e){return e}function Xe(e){return e}function Je(e){return e}function Qe(e){return e}function Ze(e){return e}function er(e){return e}function rr(e){return e}function or(e){return e}function tr(e){return e}function nr(e){return{handled:!0,result:e}}function ir(){return{handled:!1}}function sr(e){return e}function ar(e){return e}function cr(e){return e}function dr(e){return e}function mr(e){return e}function fr(e){return e}function lr(e){return e}function pr(e){return e}function ur(e){return e}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="99a9b24a-4bc7-50da-8333-e76086f0e303")}catch{}})();export{N as BUILTIN_PROFILES,Ie as EXTENSION_CAPABILITIES,be as EXTENSION_CAPABILITY_CONTRACT,ke as EXTENSION_CAPABILITY_CONTRACT_VERSION,Ce as EXTENSION_CAPABILITY_LEGACY_ALIASES,W as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,we as EXTENSION_POLICY_MODES,Oe as EXTENSION_POLICY_SURFACES,Pe as EXTENSION_SANDBOX_PROFILES,Se as EXTENSION_TRUST_MODES,Re as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,T as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,A as PM_PACKAGE_RESOURCE_KINDS,q as PROFILE_LINT_CODES,U as PROFILE_LINT_DIMENSIONS,D as PROFILE_NAMES,g as RESERVED_ITEM_FIELD_NAMES,Ae as SEARCH_EXTENSION_FLAG_DEFINITIONS,ve as checkExtensionManifestCompatibility,B as collectPackageExtensionDirectories,G as collectUsedExtensionCapabilities,re as composeExtension,He as composeExtensionPackage,R as createExtensionContributionInventory,ir as declineServiceOverride,fr as defineAfterCommandHook,dr as defineBeforeCommandHook,mr as defineBeforeMutationHook,We as defineCommand,er as defineCommandOverride,cr as defineExporter,Le as defineExtension,$e as defineExtensionBlueprint,Ve as defineExtensionManifest,Ge as defineFlag,ar as defineImporter,Xe as defineItemField,Ye as defineItemType,Je as defineMigration,ur as defineOnIndexHook,pr as defineOnReadHook,lr as defineOnWriteHook,rr as defineParserOverride,or as definePreflightOverride,ze as defineProjectProfile,sr as defineRendererOverride,Qe as defineSearchProvider,tr as defineServiceOverride,Ze as defineVectorStoreAdapter,h as deriveExtensionCapabilities,Ke as describeExtensionBlueprint,K as describeProfileComposition,H as describeProjectProfile,nr as handleServiceOverride,ye as lintExtensionBlueprint,V as lintProjectProfile,j as listProfiles,je as mergeExtensionBlueprints,F as normalizeExtensionContributionInventory,L as normalizeProfileName,z as planProfileApplication,Ue as preflightExtension,M as readPmPackageManifest,Y as reconcileExtensionCapabilityUsage,X as renderExtensionSurfaceMarkdown,$ as resolveProfile,O as synthesizeExtensionManifest,Fe as toExtensionFlagDefinitions};
|
|
1
|
+
import{a as Ie,b as we,c as Oe,d as Se,e as Pe,f as Fe,g as Re,h as Ae,i as D,j as N,k as L,l as $,m as j,p as K,q as H,w as U,x as q,y as V,z}from"./focused-chunks/chunk-QVHKCI4T.js";import{a as A,b as T,c as M,d as B,w as X}from"./focused-chunks/chunk-UIL2M2NA.js";import"./focused-chunks/chunk-VLYOEYML.js";import"./focused-chunks/chunk-RUR5I3TK.js";import"./focused-chunks/chunk-N5XU5UVK.js";import{Qa as W,Sa as G,Ta as Y,b as y,c as v,f as m,g,k as E,l as k,m as C,ma as F,n as b,na as R}from"./focused-chunks/chunk-BIMTMOS7.js";import{b as ke,c as Ce,d as be}from"./focused-chunks/chunk-Y4LDYLLT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="60463c2e-f904-5199-87b0-8a17f0e2ee0f")}catch{}})();function Le(e){return e}function $e(e){return e}function J(e,o){for(let r of o.commands??[])e.registerCommand(r);for(let[r,t]of Object.entries(o.commandOverrides??{}))e.registerCommand(r,t);for(let[r,t]of Object.entries(o.flags??{}))e.registerFlags(r,t);for(let[r,t]of Object.entries(o.parsers??{}))e.registerParser(r,t);for(let[r,t]of Object.entries(o.renderers??{}))if(typeof t=="function")e.registerRenderer(r,t);else{let{run:n,...s}=t;e.registerRenderer(r,n,s)}for(let[r,t]of Object.entries(o.services??{}))e.registerService(r,t)}function Q(e,o){for(let s of o.preflights??[])e.registerPreflight(s);let r=o.itemTypes??[];r.length>0&&e.registerItemTypes(r);let t=o.itemFields??[];t.length>0&&e.registerItemFields(t);let n=o.relationshipKinds??[];n.length>0&&e.registerRelationshipKinds(n);for(let s of o.migrations??[])e.registerMigration(s);for(let s of o.profiles??[])e.registerProfile(s)}function Z(e,o){for(let r of o.searchProviders??[])e.registerSearchProvider(r);for(let r of o.vectorStoreAdapters??[])e.registerVectorStoreAdapter(r);for(let r of o.importers??[])e.registerImporter(r.name,r.importer,r.options);for(let r of o.exporters??[])e.registerExporter(r.name,r.exporter,r.options)}function ee(e,o){for(let r of o.beforeCommand??[])e.hooks.beforeCommand(r);for(let r of o.beforeMutation??[])e.hooks.beforeMutation(r);for(let r of o.afterCommand??[])e.hooks.afterCommand(r);for(let r of o.onWrite??[])e.hooks.onWrite(r);for(let r of o.onRead??[])e.hooks.onRead(r);for(let r of o.onIndex??[])e.hooks.onIndex(r)}function re(e){let r={activate:async t=>{J(t,e),Q(t,e),Z(t,e),ee(t,e.hooks??{}),await e.activate?.(t)}};return e.manifest&&(r.manifest=e.manifest),e.deactivate&&(r.deactivate=e.deactivate),r}function f(e){let o=e.flatMap(r=>r??[]);return o.length>0?o:void 0}function p(e){let o=Object.assign({},...e.map(r=>r??{}));return Object.keys(o).length>0?o:void 0}function oe(e){let o={};for(let r of e)for(let[t,n]of Object.entries(r??{}))o[t]=[...o[t]??[],...n];return Object.keys(o).length>0?o:void 0}var te=["beforeCommand","beforeMutation","afterCommand","onWrite","onRead","onIndex"];function ne(e,o,r){let t=o.map(s=>s?.[r]),n=f(t);if(n!==void 0){let s=e;s[r]=n}}function ie(e){let o={};for(let r of te)ne(o,e,r);return Object.keys(o).length>0?o:void 0}function je(...e){let o={},r=(i,c)=>{c!==void 0&&(o[i]=c)};r("commands",f(e.map(i=>i.commands))),r("commandOverrides",p(e.map(i=>i.commandOverrides))),r("flags",oe(e.map(i=>i.flags))),r("parsers",p(e.map(i=>i.parsers))),r("renderers",p(e.map(i=>i.renderers))),r("services",p(e.map(i=>i.services))),r("preflights",f(e.map(i=>i.preflights))),r("itemTypes",f(e.map(i=>i.itemTypes))),r("itemFields",f(e.map(i=>i.itemFields))),r("relationshipKinds",f(e.map(i=>i.relationshipKinds))),r("migrations",f(e.map(i=>i.migrations))),r("profiles",f(e.map(i=>i.profiles))),r("searchProviders",f(e.map(i=>i.searchProviders))),r("vectorStoreAdapters",f(e.map(i=>i.vectorStoreAdapters))),r("importers",f(e.map(i=>i.importers))),r("exporters",f(e.map(i=>i.exporters))),r("hooks",ie(e.map(i=>i.hooks)));let t;for(let i of e)i.manifest&&(t=i.manifest);r("manifest",t);let n=e.some(i=>i.activate);r("activate",n?async i=>{for(let c of e)c.activate&&await c.activate(i)}:void 0);let s=e.some(i=>i.deactivate);return r("deactivate",s?async()=>{let i=[];for(let c of[...e].reverse())if(c.deactivate)try{await c.deactivate()}catch(d){i.push(d)}if(i.length>0)throw i.length>1?new AggregateError(i,"Multiple extension blueprint deactivate hooks failed."):i[0]}:void 0),o}var se=[["commands","commands"],["commandOverrides","commands"],["flags","schema"],["itemTypes","schema"],["itemFields","schema"],["relationshipKinds","schema"],["migrations","schema"],["profiles","schema"],["parsers","parser"],["renderers","renderers"],["services","services"],["preflights","preflight"],["searchProviders","search"],["vectorStoreAdapters","search"],["importers","importers"],["exporters","importers"]];function u(e){return e?Array.isArray(e)?e.length>0:Object.keys(e).length>0:!1}function h(e){let o=new Set;for(let[n,s]of se)u(e[n])&&o.add(s);(e.commands??[]).filter(l).some(n=>n.flags!==void 0)&&o.add("schema");let r=[...e.importers??[],...e.exporters??[]].filter(l);r.some(n=>n?.options?.flags!==void 0)&&o.add("schema"),r.some(n=>typeof n=="object")&&o.add("commands");let t=e.hooks??{};return[t.beforeCommand,t.beforeMutation,t.afterCommand,t.onWrite,t.onRead,t.onIndex].some(u)&&o.add("hooks"),[...o].sort((n,s)=>n.localeCompare(s))}var ae=[["beforeCommand","before_command"],["beforeMutation","before_mutation"],["afterCommand","after_command"],["onWrite","on_write"],["onRead","on_read"],["onIndex","on_index"]];function a(e){return[...new Set(e)].sort((o,r)=>o.localeCompare(r))}function l(e){return e!=null}function _(e){return m(`${e.name} import`)}function x(e){return m(`${e.name} export`)}function ce(e,o,r){return[...e.map(t=>m(t.name)),...o.filter(t=>t.options!==void 0).map(_),...r.filter(t=>t.options!==void 0).map(x)]}function de(e,o,r,t){return[...Object.keys(e.flags??{}).map(n=>m(n)),...o.filter(n=>n.flags!==void 0).map(n=>m(n.name)),...r.filter(n=>n.options?.flags!==void 0).map(_),...t.filter(n=>n.options?.flags!==void 0).map(x)]}function me(e){return ae.filter(([o])=>(e[o]?.length??0)>0).map(([,o])=>o)}function fe(e){let o=Object.entries(e??{}).filter(([,r])=>typeof r!="function"&&((r.commands?.length??0)>0||r.resultDiscriminator!==void 0)).map(([r,t])=>{let n=t;return{format:r,commands:a((n.commands??[]).map(s=>m(s))),result_discriminator:n.resultDiscriminator!==void 0}}).sort((r,t)=>r.format.localeCompare(t.format));return o.length>0?{renderer_ownership:o}:{}}function le(e,o,r){return{item_types:a((e.itemTypes??[]).map(t=>t.name)),item_fields:a((e.itemFields??[]).map(t=>t.name)),...(e.relationshipKinds?.length??0)>0?{relationship_kinds:a(e.relationshipKinds.map(t=>t.kind))}:{},migrations:a((e.migrations??[]).flatMap(t=>typeof t.id=="string"?[t.id]:[])),profiles:a((e.profiles??[]).map(t=>t.name)),importers:a(o.map(t=>m(t.name))),exporters:a(r.map(t=>m(t.name))),search_providers:a((e.searchProviders??[]).map(t=>t.name)),vector_store_adapters:a((e.vectorStoreAdapters??[]).map(t=>t.name)),parser_overrides:a(Object.keys(e.parsers??{}).map(t=>m(t))),service_overrides:a(Object.keys(e.services??{}).map(t=>String(t).trim().toLowerCase())),renderer_overrides:a(Object.keys(e.renderers??{}).map(t=>String(t).trim().toLowerCase())),...fe(e.renderers),preflight_overrides:(e.preflights??[]).length}}function Ke(e){let o=(e.commands??[]).filter(l),r=(e.importers??[]).filter(l),t=(e.exporters??[]).filter(l),n=r.map(_),s=t.map(x),i=ce(o,r,t),c=de(e,o,r,t),d=e.hooks??{},S=le(e,r,t);return{capabilities:h(e),commands:a(i),command_overrides:a(Object.keys(e.commandOverrides??{}).map(P=>m(P))),command_handlers:a([...i,...n,...s]),hooks:me(d),flag_commands:a(c),...S}}var pe=["commands","commandOverrides","flags","parsers","renderers","services","preflights","itemTypes","itemFields","relationshipKinds","migrations","profiles","searchProviders","vectorStoreAdapters","importers","exporters"];function ue(e){return(e.itemFields??[]).filter(o=>typeof o?.name=="string"&&g.has(o.name.trim())).map(o=>({code:"reserved_item_field",severity:"error",message:`Item field "${o.name}" collides with reserved item metadata; rename it with an extension-specific prefix before publishing.`,field:o.name}))}function ge(e){return[...Object.values(e.flags??{}).flat(),...(e.commands??[]).flatMap(r=>r.flags??[]),...(e.importers??[]).flatMap(r=>r.options?.flags??[]),...(e.exporters??[]).flatMap(r=>r.options?.flags??[])].flatMap(r=>{if(typeof r?.long!="string"&&typeof r?.short!="string")return[];let t=E(r.long,r.short);if(t===null)return[];let{token:n,failure:s}=t;return[{code:s,severity:"error",message:`Flag "${n}" ${k(n,s)}.`,field:n}]})}function w(e){let o=new Set;for(let r of e){let t=v(r)??y(r);t!==null&&o.add(t)}return[...o].sort((r,t)=>r.localeCompare(t))}function he(e,o){let r=[];if(o===null)return e.length>0&&r.push({code:"manifest_capabilities_absent",severity:"warning",message:`Blueprint exercises ${e.length===1?"capability":"capabilities"} [${e.join(", ")}] but declares none; set capabilities to deriveExtensionCapabilities(blueprint) so the manifest grant matches.`}),r;let t=new Set(o),n=new Set(e);for(let s of e)t.has(s)||r.push({code:"capability_undeclared",severity:"error",message:`Blueprint exercises capability "${s}" but it is absent from the declared capabilities; activation throws extension_capability_missing \u2014 add "${s}" to the manifest capabilities.`,capability:s});for(let s of o)n.has(s)||r.push({code:"capability_unused",severity:"warning",message:`Capability "${s}" is declared but no blueprint surface exercises it; drop it to keep the manifest least-privilege (pm package doctor reports this as extension_capability_unused).`,capability:s});return r}function _e(e){let o=[],r=new Map;for(let n of e.commands??[]){let s=m(n.name);r.set(s,(r.get(s)??0)+1)}for(let[n,s]of r)s>1&&o.push({code:"duplicate_command",severity:"warning",message:`Command "${n}" is declared ${s} times in commands; the later registration shadows the earlier one at dispatch.`,command:n});let t=new Set(Object.keys(e.commandOverrides??{}).map(n=>m(n)));for(let n of r.keys())t.has(n)&&o.push({code:"command_override_conflict",severity:"warning",message:`Command "${n}" is declared both as a new command definition and as a command override; register one or the other.`,command:n});return o}function xe(e){let o=[];for(let r of pe)r in e&&!u(e[r])&&o.push({code:"empty_surface",severity:"warning",message:`Blueprint field "${r}" is present but empty; remove it or populate it.`,field:r});if("hooks"in e){let r=e.hooks??{};[r.beforeCommand,r.beforeMutation,r.afterCommand,r.onWrite,r.onRead,r.onIndex].some(u)||o.push({code:"empty_surface",severity:"warning",message:'Blueprint field "hooks" is present but registers no lifecycle hooks; remove it or populate it.',field:"hooks"})}return o}function ye(e,o={}){let r=h(e),t=o.declaredCapabilities??e.manifest?.capabilities,n=Array.isArray(t)?w(t):null,s=[...he(r,n),..._e(e),...ge(e),...ue(e),...xe(e)];return{ok:s.every(i=>i.severity!=="error"),findings:s,used:r,declared:n}}function O(e,o){let{additionalCapabilities:r,...t}=o,n=Array.isArray(r)?w(r):[],s=[...new Set([...h(e),...n])].sort((i,c)=>i.localeCompare(c));return{...t,capabilities:s}}function He(e,o){let r=O(e,o);return{module:re({...e,manifest:r}),manifest:r}}function I(e,o){if(e.status==="absent"||e.status==="ok")return null;let r=`${e.kind}_${e.status}`,t;switch(r){case"pm_min_version_invalid":t=`pm_min_version "${e.required}" is not a valid version; the extension is treated as incompatible and the loader skips it.`;break;case"pm_min_version_unchecked":t=`pm_min_version "${e.required}" could not be compared against pm ${o}; compatibility is unverified.`;break;case"pm_min_version_unmet":t=`Requires pm >= ${e.required} but the target is pm ${o}; the loader skips the extension.`;break;case"pm_max_version_invalid":t=`pm_max_version "${e.required}" is not a valid inclusive upper bound (version ranges are not allowed); the extension is treated as incompatible and the loader skips it.`;break;case"pm_max_version_unchecked":t=`pm_max_version "${e.required}" could not be compared against pm ${o}; compatibility is unverified.`;break;case"pm_max_version_exceeded":t=`Allows pm <= ${e.required} but the target is pm ${o}; the loader skips the extension.`;break;case"pm_max_version_exceeded_warn":t=`Target pm ${o} is newer than pm_max_version ${e.required}, but the "warn" exceeded mode lets it load with a warning.`;break}return{code:r,severity:e.allowed?"warning":"error",constraint:e.kind,required:e.required,current:o,message:t}}function ve(e,o){let r=C(e.pm_min_version,o.pmVersion),t=b(e.pm_max_version,o.pmVersion,o.pmMaxVersionExceededMode??"block"),n=[],s=I(r,o.pmVersion);s!==null&&n.push(s);let i=I(t,o.pmVersion);return i!==null&&n.push(i),{compatible:r.allowed&&t.allowed,findings:n,pmVersion:o.pmVersion}}var Ee=new Set(["capability_undeclared","capability_unused","manifest_capabilities_absent"]);function Ue(e,o={}){let r=ye(e,{declaredCapabilities:o.declaredCapabilities}),t=o.identity?O(e,o.identity):null,n=o.target?ve(t??e.manifest??{},o.target):null,c=[...(t!==null&&o.declaredCapabilities===void 0?r.findings.filter(d=>!Ee.has(d.code)):r.findings).map(d=>({source:"blueprint",severity:d.severity,code:d.code,message:d.message})),...(n?.findings??[]).map(d=>({source:"compatibility",severity:d.severity,code:d.code,message:d.message}))];return{ok:c.every(d=>d.severity!=="error"),capabilities:r.used,blueprint:r,manifest:t,compatibility:n,findings:c}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9212673f-1a9f-50b8-92a2-4fd30ce54351")}catch{}})();function Ve(e){return e}function ze(e){return e}function We(e){return e}function Ge(e){return e}function Ye(e){return e}function Xe(e){return e}function Je(e){return e}function Qe(e){return e}function Ze(e){return e}function er(e){return e}function rr(e){return e}function or(e){return e}function tr(e){return e}function nr(e){return{handled:!0,result:e}}function ir(){return{handled:!1}}function sr(e){return e}function ar(e){return e}function cr(e){return e}function dr(e){return e}function mr(e){return e}function fr(e){return e}function lr(e){return e}function pr(e){return e}function ur(e){return e}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="99a9b24a-4bc7-50da-8333-e76086f0e303")}catch{}})();export{N as BUILTIN_PROFILES,Ie as EXTENSION_CAPABILITIES,be as EXTENSION_CAPABILITY_CONTRACT,ke as EXTENSION_CAPABILITY_CONTRACT_VERSION,Ce as EXTENSION_CAPABILITY_LEGACY_ALIASES,W as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,we as EXTENSION_POLICY_MODES,Oe as EXTENSION_POLICY_SURFACES,Pe as EXTENSION_SANDBOX_PROFILES,Se as EXTENSION_TRUST_MODES,Re as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,T as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,A as PM_PACKAGE_RESOURCE_KINDS,q as PROFILE_LINT_CODES,U as PROFILE_LINT_DIMENSIONS,D as PROFILE_NAMES,g as RESERVED_ITEM_FIELD_NAMES,Ae as SEARCH_EXTENSION_FLAG_DEFINITIONS,ve as checkExtensionManifestCompatibility,B as collectPackageExtensionDirectories,G as collectUsedExtensionCapabilities,re as composeExtension,He as composeExtensionPackage,R as createExtensionContributionInventory,ir as declineServiceOverride,fr as defineAfterCommandHook,dr as defineBeforeCommandHook,mr as defineBeforeMutationHook,We as defineCommand,er as defineCommandOverride,cr as defineExporter,Le as defineExtension,$e as defineExtensionBlueprint,Ve as defineExtensionManifest,Ge as defineFlag,ar as defineImporter,Xe as defineItemField,Ye as defineItemType,Je as defineMigration,ur as defineOnIndexHook,pr as defineOnReadHook,lr as defineOnWriteHook,rr as defineParserOverride,or as definePreflightOverride,ze as defineProjectProfile,sr as defineRendererOverride,Qe as defineSearchProvider,tr as defineServiceOverride,Ze as defineVectorStoreAdapter,h as deriveExtensionCapabilities,Ke as describeExtensionBlueprint,K as describeProfileComposition,H as describeProjectProfile,nr as handleServiceOverride,ye as lintExtensionBlueprint,V as lintProjectProfile,j as listProfiles,je as mergeExtensionBlueprints,F as normalizeExtensionContributionInventory,L as normalizeProfileName,z as planProfileApplication,Ue as preflightExtension,M as readPmPackageManifest,Y as reconcileExtensionCapabilityUsage,X as renderExtensionSurfaceMarkdown,$ as resolveProfile,O as synthesizeExtensionManifest,Fe as toExtensionFlagDefinitions};
|
|
2
2
|
//# sourceMappingURL=sdk-authoring.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as hr,b as Dr,c as Ir,d as _r,e as Tr,f as kr,g as Er,h as jr,i as qr,j as zr,k as Ar,l as Br}from"./focused-chunks/chunk-PG2RIZBX.js";import{a as Vo,b as Wo,c as Xo,d as Yo,e as Zo,f as $o,g as er,h as or}from"./focused-chunks/chunk-W7BJEWHX.js";import{A as Ho,B as Jo,C as Ko,D as Lo,E as Mo,G as No,H as Oo,I as Po,J as Qo,K as Ro,L as So,M as Uo,a as f,b as t,c as d,d as n,e as p,f as s,g as l,h as a,i,j as lo,k as ao,l as io,m as bo,n as mo,o as uo,p as xo,q as yo,r as go,s as co,t as wo,u as ho,v as Do,w as Io,x as _o,y as To,z as ko}from"./focused-chunks/chunk-VLYOEYML.js";import{$ as ae,A as J,Aa as Je,B as K,Ba as Ke,C as L,Ca as Le,D as M,Da as Me,E as N,Ea as Ne,F as O,Fa as Oe,G as P,H as Q,Ha as Pe,I as R,Ia as Qe,J as S,Ja as Re,K as U,L as V,M as W,N as X,O as Y,P as Z,Q as $,R as ee,S as oe,T as re,U as fe,V as te,W as de,X as ne,Y as pe,Z as se,_ as le,aa as ie,b,ba as be,c as m,ca as me,d as u,da as ue,e as x,ea as xe,f as y,fa as ye,g,ga as ge,h as c,ha as ce,i as w,ia as we,j as h,ja as he,k as D,ka as De,l as I,la as Ie,m as _,ma as _e,n as T,na as Te,o as k,oa as ke,p as v,pa as ve,q as E,qa as Ee,r as j,ra as je,s as q,sa as qe,t as z,ta as ze,u as A,ua as Ae,v as B,va as Be,w as C,wa as Ce,x as F,xa as Fe,y as G,ya as Ge,z as H,za as He}from"./focused-chunks/chunk-N5XU5UVK.js";import{A as gr,B as cr,C as wr,D as vr,a as rr,b as fr,c as tr,d as dr,e as nr,f as pr,g as sr,h as lr,t as ar,u as ir,v as br,w as mr,x as ur,y as xr,z as yr}from"./focused-chunks/chunk-B7LJWAZE.js";import{Aa as Ao,Ba as Bo,Ca as Co,Da as Fo,Ea as Go,ea as Se,fa as Ue,ga as Ve,ha as We,ia as Xe,ja as Ye,ka as Ze,ma as $e,na as eo,oa as oo,pa as ro,qa as fo,ra as to,sa as no,ta as po,ua as so,va as vo,wa as Eo,xa as jo,ya as qo,za as zo}from"./focused-chunks/chunk-Y4LDYLLT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2962656f-386f-59a0-8dc1-411ae382dddb")}catch{}})();export{s as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,ze as ACTIVITY_FLAG_CONTRACTS,g as AGGREGATE_FLAG_CONTRACTS,re as APPEND_FLAG_CONTRACTS,d as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,qe as CALENDAR_FLAG_CONTRACTS,fe as CLAIM_FLAG_CONTRACTS,Lo as CLOSE_ACTION_OPTION_KEYS,ee as CLOSE_FLAG_CONTRACTS,oe as CLOSE_MANY_FLAG_CONTRACTS,le as CLOSE_TASK_FLAG_CONTRACTS,c as COMMENTS_FLAG_CONTRACTS,Oe as COMPLETION_FLAG_CONTRACTS,C as CONFIG_FLAG_CONTRACTS,n as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,Be as CONTEXT_FLAG_CONTRACTS,Ne as CONTRACTS_FLAG_CONTRACTS,ke as COPY_FLAG_CONTRACTS,Wo as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,Yo as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,Xo as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,Ie as CREATE_FLAG_CONTRACTS,de as DELETE_FLAG_CONTRACTS,Ge as DEPS_FLAG_CONTRACTS,I as DOCS_FLAG_CONTRACTS,we as DUPLICATES_FLAG_CONTRACTS,Je as EVAL_FLAG_CONTRACTS,Ae as EVENTS_FLAG_CONTRACTS,ie as EVENT_FLAG_CONTRACTS,Vo as EXECUTABLE_COMMAND_ALIASES,Q as EXTENSION_ACTIVATE_FLAG_CONTRACTS,P as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,X as EXTENSION_ADOPT_FLAG_CONTRACTS,W as EXTENSION_CATALOG_FLAG_CONTRACTS,R as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,O as EXTENSION_DESCRIBE_FLAG_CONTRACTS,V as EXTENSION_DOCTOR_FLAG_CONTRACTS,N as EXTENSION_EXPLORE_FLAG_CONTRACTS,F as EXTENSION_FLAG_CONTRACTS,H as EXTENSION_INIT_FLAG_CONTRACTS,L as EXTENSION_INSTALL_FLAG_CONTRACTS,S as EXTENSION_MANAGE_FLAG_CONTRACTS,U as EXTENSION_RELOAD_FLAG_CONTRACTS,G as EXTENSION_SCOPE_FLAG_CONTRACTS,M as EXTENSION_UNINSTALL_FLAG_CONTRACTS,D as FILES_FLAG_CONTRACTS,ve as FOCUS_FLAG_CONTRACTS,ge as GC_FLAG_CONTRACTS,Ce as GET_FLAG_CONTRACTS,x as GLOBAL_FLAG_CONTRACTS,He as GRAPH_FLAG_CONTRACTS,Fe as GUIDE_FLAG_CONTRACTS,he as HEALTH_FLAG_CONTRACTS,E as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,j as HISTORY_COMPACT_FLAG_CONTRACTS,_ as HISTORY_FLAG_CONTRACTS,k as HISTORY_REDACT_FLAG_CONTRACTS,v as HISTORY_REPAIR_FLAG_CONTRACTS,B as INIT_FLAG_CONTRACTS,Y as INSTALL_FLAG_CONTRACTS,Te as ITEM_COMPLETE_FLAG_CONTRACTS,_e as ITEM_MUTATE_FLAG_CONTRACTS,h as LEARNINGS_FLAG_CONTRACTS,f as LIST_COMMANDER_STRING_OPTION_CONTRACTS,y as LIST_FILTER_FLAG_CONTRACTS,ae as MEET_FLAG_CONTRACTS,T as MERGE_FLAG_CONTRACTS,p as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,Le as NEXT_FLAG_CONTRACTS,w as NOTES_FLAG_CONTRACTS,J as PACKAGE_FLAG_CONTRACTS,K as PACKAGE_INIT_FLAG_CONTRACTS,se as PAUSE_TASK_FLAG_CONTRACTS,Ko as PLAN_CREATE_METADATA_PARAMETER_KEYS,A as PLAN_FLAG_CONTRACTS,eo as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,pr as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,qr as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,ar as PM_CONTEXT_INTENT_CONTRACTS,Ze as PM_CORE_COMMAND_NAMES,_r as PM_ERROR_CODE_CATALOG,hr as PM_ERROR_CODE_EXIT_CLASS_CONTRACTS,Se as PM_EXTENSION_CAPABILITY_CONTRACTS,$e as PM_EXTENSION_PACKAGE_ACTION_SUBCOMMANDS,Ve as PM_EXTENSION_POLICY_MODE_CONTRACTS,Ye as PM_EXTENSION_POLICY_SURFACE_CONTRACTS,Xe as PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,Ue as PM_EXTENSION_SERVICE_NAME_CONTRACTS,We as PM_EXTENSION_TRUST_MODE_CONTRACTS,fr as PM_OUTPUT_BUDGET_CLASSES,rr as PM_OUTPUT_DEGRADATION_STEPS,Er as PM_OUTPUT_ENVELOPE_KINDS,So as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,Qo as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,vo as PM_READ_OUTPUT_DIMENSIONS,jo as PM_READ_OUTPUT_OPTION_FLAGS,Eo as PM_READ_OUTPUT_SURFACES,qo as PM_READ_OUTPUT_SURFACE_CONTRACTS,oo as PM_TOOL_ACTIONS,Mo as PM_TOOL_ACTION_PARAMETER_CONTRACTS,Ro as PM_TOOL_PARAMETERS_SCHEMA,Po as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Oo as PM_TOOL_PARAMETERS_SCHEMA_VERSION,Ho as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,z as PROFILE_FLAG_CONTRACTS,$ as REINDEX_FLAG_CONTRACTS,ne as RELEASE_FLAG_CONTRACTS,be as REMIND_FLAG_CONTRACTS,te as RESTORE_FLAG_CONTRACTS,q as SCHEMA_FLAG_CONTRACTS,t as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,Me as SEARCH_FLAG_CONTRACTS,pe as START_TASK_FLAG_CONTRACTS,ce as STATS_FLAG_CONTRACTS,u as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,xe as TELEMETRY_FLAG_CONTRACTS,ue as TEST_ALL_FLAG_CONTRACTS,me as TEST_FLAG_CONTRACTS,ye as TEST_RUNS_FLAG_CONTRACTS,Io as TOOL_ACTIVITY_OPTION_CONTRACTS,ao as TOOL_AGGREGATE_OPTION_CONTRACTS,co as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,Do as TOOL_CALENDAR_OPTION_CONTRACTS,ho as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,_o as TOOL_CONTEXT_OPTION_CONTRACTS,xo as TOOL_CREATE_OPTION_CONTRACTS,uo as TOOL_CREATE_OPTION_CONTRACT_SOURCE,To as TOOL_DEPS_OPTION_CONTRACTS,ko as TOOL_GRAPH_OPTION_CONTRACTS,lo as TOOL_LIST_FILTER_OPTION_CONTRACTS,io as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,mo as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,bo as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,wo as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,go as TOOL_UPDATE_OPTION_CONTRACTS,yo as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,Zo as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,er as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,$o as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,Ee as UPDATE_FLAG_CONTRACTS,je as UPDATE_MANY_FLAG_CONTRACTS,Z as UPGRADE_FLAG_CONTRACTS,De as VALIDATE_FLAG_CONTRACTS,Ke as WORKSPACE_FLAG_CONTRACTS,Uo as _testOnlyCliContracts,ro as analyzePmToolActionParity,or as analyzeSdkCliParameterCompleteness,xr as applyContextIntentProjection,Co as applyReadOutputDimensions,cr as attachContextIntentReceipt,vr as attachOutputTokenAccounting,wr as attachReadOutputContracts,No as buildPmActionToolInputSchema,m as compactFlagAliasContracts,mr as composeContextIntentContracts,gr as contextIntentRowId,dr as createPmCommandOutputBudget,yr as decodeContextIntentCursor,nr as definePmCommandOutputBudget,jr as definePmCommandOutputEnvelope,Dr as definePmErrorCodeCatalog,Tr as enrichCliFlagInvocationContract,kr as enrichCliFlagInvocationContracts,lr as estimatePmOutputTokens,ir as getActiveContextIntentContracts,Pe as hasSubcommandFlagContractsForCommand,tr as inferPmOutputBudgetClass,to as isPmExtensionCapabilityContract,po as isPmExtensionPolicyModeContract,so as isPmExtensionPolicySurfaceContract,no as isPmExtensionServiceNameContract,Ar as isPmMutationReceipt,fo as isPmToolAction,Fo as isReadOutputBudgetExceeded,Br as parseMutationReceipt,l as readFirstStringFromCommanderOptions,a as readFirstValueFromCommanderOptions,i as readStringArrayFromCommanderOptions,ur as resolveContextIntentContract,sr as resolvePmCommandOutputBudget,zr as resolvePmCommandOutputEnvelope,Ir as resolvePmErrorCodeContract,Jo as resolvePmToolCustomFieldCollision,Bo as resolveReadOutputDimensions,Go as resolveReadOutputEncoding,zo as resolveReadOutputSurface,Qe as resolveSubcommandFlagContractsForCommand,br as runWithContextIntentContracts,Re as toCompletionFlagString,Ao as validateReadOutputOptions,b as withFlagAliasMetadata};
|
|
2
2
|
//# sourceMappingURL=sdk-contracts.js.map
|