@agent-profile/web 0.1.3 → 0.2.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 +70 -29
- package/build/client/_app/immutable/assets/{0.BG6jUcBX.css → 0.8hVtEx5X.css} +1 -1
- package/build/client/_app/immutable/assets/0.8hVtEx5X.css.br +0 -0
- package/build/client/_app/immutable/assets/0.8hVtEx5X.css.gz +0 -0
- package/build/client/_app/immutable/assets/9.BsbC-D7w.css +1 -0
- package/build/client/_app/immutable/assets/9.BsbC-D7w.css.br +0 -0
- package/build/client/_app/immutable/assets/9.BsbC-D7w.css.gz +0 -0
- package/build/client/_app/immutable/chunks/4FiW6_9u.js +1 -0
- package/build/client/_app/immutable/chunks/4FiW6_9u.js.br +2 -0
- package/build/client/_app/immutable/chunks/4FiW6_9u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CF39CcoQ.js +3 -0
- package/build/client/_app/immutable/chunks/CF39CcoQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CF39CcoQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CRcOA4L4.js +3 -0
- package/build/client/_app/immutable/chunks/CRcOA4L4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CRcOA4L4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cc9Av3g9.js +2 -0
- package/build/client/_app/immutable/chunks/Cc9Av3g9.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cc9Av3g9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUEBfJ-c.js +1 -0
- package/build/client/_app/immutable/chunks/DUEBfJ-c.js.br +4 -0
- package/build/client/_app/immutable/chunks/DUEBfJ-c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DvNNrklS.js +1 -0
- package/build/client/_app/immutable/chunks/DvNNrklS.js.br +2 -0
- package/build/client/_app/immutable/chunks/DvNNrklS.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.ZULfIbKE.js +2 -0
- package/build/client/_app/immutable/entry/app.ZULfIbKE.js.br +0 -0
- package/build/client/_app/immutable/entry/app.ZULfIbKE.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.XwZvWTgq.js +1 -0
- package/build/client/_app/immutable/entry/start.XwZvWTgq.js.br +0 -0
- package/build/client/_app/immutable/entry/start.XwZvWTgq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BTaKrNnR.js +1 -0
- package/build/client/_app/immutable/nodes/0.BTaKrNnR.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.BTaKrNnR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.B4GcuHvH.js +1 -0
- package/build/client/_app/immutable/nodes/1.B4GcuHvH.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.B4GcuHvH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.BOQgahuX.js → 10.IHQDAuDz.js} +2 -2
- package/build/client/_app/immutable/nodes/10.IHQDAuDz.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.IHQDAuDz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.B5APptAv.js +1 -0
- package/build/client/_app/immutable/nodes/11.B5APptAv.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.B5APptAv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BHUaWFMZ.js +10 -0
- package/build/client/_app/immutable/nodes/2.BHUaWFMZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BHUaWFMZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DIhh3cSh.js +2 -0
- package/build/client/_app/immutable/nodes/3.DIhh3cSh.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DIhh3cSh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DjkBBmOF.js +4 -0
- package/build/client/_app/immutable/nodes/4.DjkBBmOF.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DjkBBmOF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BPcSAYs6.js +2 -0
- package/build/client/_app/immutable/nodes/5.BPcSAYs6.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BPcSAYs6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DZa-5yoH.js +5 -0
- package/build/client/_app/immutable/nodes/6.DZa-5yoH.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DZa-5yoH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.v6t5o5IK.js +4 -0
- package/build/client/_app/immutable/nodes/7.v6t5o5IK.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.v6t5o5IK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.UWqOmBTc.js +1 -0
- package/build/client/_app/immutable/nodes/8.UWqOmBTc.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.UWqOmBTc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.xVCOCMfn.js +3 -0
- package/build/client/_app/immutable/nodes/9.xVCOCMfn.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.xVCOCMfn.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/marketing.js +105 -0
- package/build/client/marketing.js.br +0 -0
- package/build/client/marketing.js.gz +0 -0
- package/build/server/chunks/{0-aBAedq2p.js → 0-IAeZ4YD5.js} +17 -11
- package/build/server/chunks/0-IAeZ4YD5.js.map +1 -0
- package/build/server/chunks/{1-7SwLsXP7.js → 1--R3gZqoU.js} +3 -3
- package/build/server/chunks/{1-7SwLsXP7.js.map → 1--R3gZqoU.js.map} +1 -1
- package/build/server/chunks/10-B2v4GVik.js +9 -0
- package/build/server/chunks/{10-B1aX7ZZ8.js.map → 10-B2v4GVik.js.map} +1 -1
- package/build/server/chunks/{11-4z6b2WB8.js → 11-DbxvesJH.js} +6 -6
- package/build/server/chunks/{11-4z6b2WB8.js.map → 11-DbxvesJH.js.map} +1 -1
- package/build/server/chunks/2-CHviyPyI.js +21 -0
- package/build/server/chunks/2-CHviyPyI.js.map +1 -0
- package/build/server/chunks/3-CdNRNP5d.js +9 -0
- package/build/server/chunks/{3-CLWhM7Et.js.map → 3-CdNRNP5d.js.map} +1 -1
- package/build/server/chunks/{4-BehBrXcu.js → 4-CCj_Mhpz.js} +6 -6
- package/build/server/chunks/{4-BehBrXcu.js.map → 4-CCj_Mhpz.js.map} +1 -1
- package/build/server/chunks/5-CqBVRlNU.js +9 -0
- package/build/server/chunks/{5-C1YtO2Ru.js.map → 5-CqBVRlNU.js.map} +1 -1
- package/build/server/chunks/{6-DJ03bQJy.js → 6-BHxeFzUE.js} +3 -3
- package/build/server/chunks/{6-DJ03bQJy.js.map → 6-BHxeFzUE.js.map} +1 -1
- package/build/server/chunks/{7-BHefj3jR.js → 7-BUFOaHdC.js} +8 -8
- package/build/server/chunks/{7-BHefj3jR.js.map → 7-BUFOaHdC.js.map} +1 -1
- package/build/server/chunks/8-BbviFV5J.js +9 -0
- package/build/server/chunks/{8-BNb36pCU.js.map → 8-BbviFV5J.js.map} +1 -1
- package/build/server/chunks/9-kCTRECfO.js +67 -0
- package/build/server/chunks/9-kCTRECfO.js.map +1 -0
- package/build/server/chunks/{Badge-BrV_lIru.js → Badge-DCQxSQCS.js} +2 -2
- package/build/server/chunks/{Badge-BrV_lIru.js.map → Badge-DCQxSQCS.js.map} +1 -1
- package/build/server/chunks/{SafetyBadge-BSDbVVMY.js → SafetyBadge-BxEGojgX.js} +2 -2
- package/build/server/chunks/{SafetyBadge-BSDbVVMY.js.map → SafetyBadge-BxEGojgX.js.map} +1 -1
- package/build/server/chunks/{_layout.svelte-C6Ru_7YV.js → _layout.svelte-CQM4xaaq.js} +8 -8
- package/build/server/chunks/_layout.svelte-CQM4xaaq.js.map +1 -0
- package/build/server/chunks/{_page.svelte-Bv-w7cKm.js → _page.svelte-1wUrXGW-.js} +3 -3
- package/build/server/chunks/{_page.svelte-Bv-w7cKm.js.map → _page.svelte-1wUrXGW-.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-BS9xpx67.js → _page.svelte-2W3EhlSt.js} +141 -60
- package/build/server/chunks/_page.svelte-2W3EhlSt.js.map +1 -0
- package/build/server/chunks/{_page.svelte-C8HqSRYY.js → _page.svelte-B3CasgD8.js} +2 -2
- package/build/server/chunks/{_page.svelte-C8HqSRYY.js.map → _page.svelte-B3CasgD8.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-QyOMa9Ce.js → _page.svelte-B6d3qwTm.js} +5 -5
- package/build/server/chunks/{_page.svelte-QyOMa9Ce.js.map → _page.svelte-B6d3qwTm.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-DRj4L7XZ.js → _page.svelte-BikYFdJv.js} +4 -4
- package/build/server/chunks/{_page.svelte-DRj4L7XZ.js.map → _page.svelte-BikYFdJv.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-r2AHAn4f.js → _page.svelte-D8ffqrO3.js} +3 -3
- package/build/server/chunks/{_page.svelte-r2AHAn4f.js.map → _page.svelte-D8ffqrO3.js.map} +1 -1
- package/build/server/chunks/_page.svelte-DfUc4h7g.js +435 -0
- package/build/server/chunks/_page.svelte-DfUc4h7g.js.map +1 -0
- package/build/server/chunks/{_page.svelte-DYBnVmA8.js → _page.svelte-sygmDxbg.js} +6 -6
- package/build/server/chunks/{_page.svelte-DYBnVmA8.js.map → _page.svelte-sygmDxbg.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-DyYKrY-D.js → _page.svelte-wL3fdD1l.js} +4 -4
- package/build/server/chunks/{_page.svelte-DyYKrY-D.js.map → _page.svelte-wL3fdD1l.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-DuJcNgye.js → _page.svelte-xTZOj1o8.js} +3 -3
- package/build/server/chunks/{_page.svelte-DuJcNgye.js.map → _page.svelte-xTZOj1o8.js.map} +1 -1
- package/build/server/chunks/_server.ts-B7znNtap.js +100 -0
- package/build/server/chunks/_server.ts-B7znNtap.js.map +1 -0
- package/build/server/chunks/_server.ts-BjPyYUki.js +85 -0
- package/build/server/chunks/_server.ts-BjPyYUki.js.map +1 -0
- package/build/server/chunks/_server.ts-C8Fe0kql.js +8 -0
- package/build/server/chunks/_server.ts-C8Fe0kql.js.map +1 -0
- package/build/server/chunks/_server.ts-D1Ja2hnG.js +8 -0
- package/build/server/chunks/_server.ts-D1Ja2hnG.js.map +1 -0
- package/build/server/chunks/_server.ts-DsbQ4b7x.js +43 -0
- package/build/server/chunks/_server.ts-DsbQ4b7x.js.map +1 -0
- package/build/server/chunks/_server.ts-hEGlXjuB.js +8 -0
- package/build/server/chunks/_server.ts-hEGlXjuB.js.map +1 -0
- package/build/server/chunks/{client-CBew73li.js → client-h6Frgnzt.js} +3 -3
- package/build/server/chunks/{client-CBew73li.js.map → client-h6Frgnzt.js.map} +1 -1
- package/build/server/chunks/{dev-CrqJ3ZR3.js → dev-BdIdjvaY.js} +216 -82
- package/build/server/chunks/dev-BdIdjvaY.js.map +1 -0
- package/build/server/chunks/{doctorSummary-CGjSiyKU.js → doctorSummary-FyoWuR3R.js} +3 -3
- package/build/server/chunks/{doctorSummary-CGjSiyKU.js.map → doctorSummary-FyoWuR3R.js.map} +1 -1
- package/build/server/chunks/{error.svelte-C78Jl1J5.js → error.svelte-DYzh-S9t.js} +5 -5
- package/build/server/chunks/{error.svelte-C78Jl1J5.js.map → error.svelte-DYzh-S9t.js.map} +1 -1
- package/build/server/chunks/hooks.server-BKavEpqC.js +81 -0
- package/build/server/chunks/hooks.server-BKavEpqC.js.map +1 -0
- package/build/server/chunks/index-CLnuRv4X.js +134 -0
- package/build/server/chunks/index-CLnuRv4X.js.map +1 -0
- package/build/server/chunks/index-DBqjc0Yf.js +77 -0
- package/build/server/chunks/index-DBqjc0Yf.js.map +1 -0
- package/build/server/chunks/{internal-WBaPpipk.js → internal-Dz8-ksla.js} +23 -93
- package/build/server/chunks/internal-Dz8-ksla.js.map +1 -0
- package/build/server/chunks/marketingSeo-6Ec8IVzY.js +132 -0
- package/build/server/chunks/marketingSeo-6Ec8IVzY.js.map +1 -0
- package/build/server/chunks/profileApiHelpers-CUuQdn1G.js +180 -0
- package/build/server/chunks/profileApiHelpers-CUuQdn1G.js.map +1 -0
- package/build/server/chunks/{projectContext-C4-xYqFg.js → projectContext-fk5wtjwg.js} +1393 -69
- package/build/server/chunks/projectContext-fk5wtjwg.js.map +1 -0
- package/build/server/chunks/src2-BFardyAd.js +12 -0
- package/build/server/chunks/src2-BFardyAd.js.map +1 -0
- package/build/server/chunks/{dist--t-UlYlZ.js → src3-vKD2iyNK.js} +135 -3
- package/build/server/chunks/src3-vKD2iyNK.js.map +1 -0
- package/build/server/chunks/tokenStore-DQfTa-N3.js +57 -0
- package/build/server/chunks/tokenStore-DQfTa-N3.js.map +1 -0
- package/build/server/index.js +4592 -4
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +57 -15
- package/build/server/manifest.js.map +1 -1
- package/package.json +12 -9
- package/build/client/_app/immutable/assets/0.BG6jUcBX.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BG6jUcBX.css.gz +0 -0
- package/build/client/_app/immutable/chunks/B-io8J2C.js +0 -1
- package/build/client/_app/immutable/chunks/B-io8J2C.js.br +0 -2
- package/build/client/_app/immutable/chunks/B-io8J2C.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BWDgWdtq.js +0 -3
- package/build/client/_app/immutable/chunks/BWDgWdtq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BWDgWdtq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBvCQPh1.js +0 -1
- package/build/client/_app/immutable/chunks/CBvCQPh1.js.br +0 -2
- package/build/client/_app/immutable/chunks/CBvCQPh1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DAWBIq3g.js +0 -2
- package/build/client/_app/immutable/chunks/DAWBIq3g.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAWBIq3g.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCJP-V9E.js +0 -3
- package/build/client/_app/immutable/chunks/DCJP-V9E.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCJP-V9E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/SOrpfga1.js +0 -1
- package/build/client/_app/immutable/chunks/SOrpfga1.js.br +0 -0
- package/build/client/_app/immutable/chunks/SOrpfga1.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CvfSMy7S.js +0 -2
- package/build/client/_app/immutable/entry/app.CvfSMy7S.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CvfSMy7S.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.nKIgWfXU.js +0 -1
- package/build/client/_app/immutable/entry/start.nKIgWfXU.js.br +0 -0
- package/build/client/_app/immutable/entry/start.nKIgWfXU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.l1JjQQQj.js +0 -1
- package/build/client/_app/immutable/nodes/0.l1JjQQQj.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.l1JjQQQj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BzbldZDH.js +0 -1
- package/build/client/_app/immutable/nodes/1.BzbldZDH.js.br +0 -4
- package/build/client/_app/immutable/nodes/1.BzbldZDH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.BOQgahuX.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.BOQgahuX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.BjwWla8T.js +0 -1
- package/build/client/_app/immutable/nodes/11.BjwWla8T.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.BjwWla8T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BDMGSS6l.js +0 -9
- package/build/client/_app/immutable/nodes/2.BDMGSS6l.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BDMGSS6l.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.NnDkXnSG.js +0 -2
- package/build/client/_app/immutable/nodes/3.NnDkXnSG.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.NnDkXnSG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.8sZ5zCiS.js +0 -4
- package/build/client/_app/immutable/nodes/4.8sZ5zCiS.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.8sZ5zCiS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.CSOalQ9R.js +0 -2
- package/build/client/_app/immutable/nodes/5.CSOalQ9R.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.CSOalQ9R.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.BMBuGW7y.js +0 -5
- package/build/client/_app/immutable/nodes/6.BMBuGW7y.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BMBuGW7y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.CKFnFT6B.js +0 -4
- package/build/client/_app/immutable/nodes/7.CKFnFT6B.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.CKFnFT6B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.Dw5huUXy.js +0 -1
- package/build/client/_app/immutable/nodes/8.Dw5huUXy.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.Dw5huUXy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CnkwRoxn.js +0 -5
- package/build/client/_app/immutable/nodes/9.CnkwRoxn.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CnkwRoxn.js.gz +0 -0
- package/build/server/chunks/0-aBAedq2p.js.map +0 -1
- package/build/server/chunks/10-B1aX7ZZ8.js +0 -9
- package/build/server/chunks/2-BT3hDge_.js +0 -9
- package/build/server/chunks/2-BT3hDge_.js.map +0 -1
- package/build/server/chunks/3-CLWhM7Et.js +0 -9
- package/build/server/chunks/5-C1YtO2Ru.js +0 -9
- package/build/server/chunks/8-BNb36pCU.js +0 -9
- package/build/server/chunks/9-LeS-ldcl.js +0 -57
- package/build/server/chunks/9-LeS-ldcl.js.map +0 -1
- package/build/server/chunks/_layout.svelte-C6Ru_7YV.js.map +0 -1
- package/build/server/chunks/_page.svelte-BS9xpx67.js.map +0 -1
- package/build/server/chunks/_page.svelte-IYyXbXcB.js +0 -424
- package/build/server/chunks/_page.svelte-IYyXbXcB.js.map +0 -1
- package/build/server/chunks/dev-CrqJ3ZR3.js.map +0 -1
- package/build/server/chunks/dist--t-UlYlZ.js.map +0 -1
- package/build/server/chunks/hooks.server-BU12K8IL.js +0 -38
- package/build/server/chunks/hooks.server-BU12K8IL.js.map +0 -1
- package/build/server/chunks/index-CNsiSQmW.js +0 -4727
- package/build/server/chunks/index-CNsiSQmW.js.map +0 -1
- package/build/server/chunks/internal-WBaPpipk.js.map +0 -1
- package/build/server/chunks/projectContext-C4-xYqFg.js.map +0 -1
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{A as e,C as t,E as n,F as r,I as i,J as a,L as o,P as s,R as c,T as l,Y as u,_ as d,b as f,c as p,d as m,g as h,h as g,j as _,l as v,s as y,u as ee,v as b,w as x,x as S,y as C,z as te}from"../chunks/DCJP-V9E.js";import"../chunks/I8rQr1kY.js";import{t as w}from"../chunks/B-io8J2C.js";var ne=S(`<meta name="description" content="Compile one local ai-profile.yaml into deterministic Tabnine, Codex, and Claude setup files."/>`),re=S(`<div class="ln"><span class="k"> </span><span class="v"> </span></div>`),ie=S(`<div class="hd3-out-f"> </div>`),ae=S(`<div class="hd3-out"><div class="hd3-out-h"><span class="hd3-out-tgt"> </span> <span class="hd3-out-ct"> </span></div> <!></div>`),oe=S(`<button type="button" role="tab"><span class="n"> </span> <span class="t"> <span class="sub"> </span></span></button>`),se=S(`<div class="line blank" aria-hidden="true"></div>`),ce=S(`<span> </span>`),le=S(`<div class="line"></div>`),ue=S(`<div class="lv2"><div class="lv2-grid"></div> <nav class="lv2-nav" aria-label="Landing"><a class="brand" href="/" aria-label="agent-profile home"><div class="mk"></div> agent-profile <span class="ver"> </span></a> <div class="links" aria-label="Landing sections"><a href="#docs">docs</a> <a href="#targets">examples</a> <a href="#roadmap">roadmap</a> <a href="#changelog">changelog</a></div> <div class="stars"><span class="star">★</span> public preview</div> <a class="github-link" href="https://github.com/jsuvic/agent-profile" rel="noreferrer">github ↗</a></nav> <section class="lv2-hero" aria-labelledby="landing-title"><div><div class="lv2-eyebrow"><span class="pulse"></span>local-first · open source · phase 7</div> <h1 id="landing-title">One profile.<br/> <em>Every</em> agent.<br/> <span class="h1-muted">No </span><span class="strike">cloud</span><span class="h1-muted">. No </span><span class="strike">account</span><span class="h1-muted">.</span></h1> <p class="sub">Compile a single reviewable <span class="path inline-path">ai-profile.yaml</span> into setup files for
|
|
2
|
-
Tabnine, Codex, and Claude. Diff before every write. Doctor before every commit. All on your machine.</p> <div class="lv2-cta"><div class="lv2-cli" aria-label="Install command"><span class="prompt">$</span> <span>npx agent-profile init</span> <button class="copy" type="button">copy</button></div> <a class="btn" href="/dashboard">Open local app →</a></div></div> <div class="lv2-visual" aria-label="Source profile compiles into target artifacts"><div class="hd3"><div class="hd3-bar"><div class="hd3-dots"><i></i><i></i><i></i></div> <div class="hd3-path">~/repos/svelte-java-playwright</div> <div class="hd3-hash">4c8a11e0</div></div> <div class="hd3-stage"><div role="button" tabindex="0" aria-label="Focus source profile stage"><div class="hd3-stamp">01 · source</div> <div class="hd3-doc"><div class="hd3-doc-h"><span class="ico">≡</span> <span class="nm">ai-profile.yaml</span> <span class="meta">example · 17 lines</span></div> <div class="hd3-doc-body"></div></div></div> <div role="button" tabindex="0" aria-label="Focus compile stage"><div class="hd3-stamp">02 · compile</div> <div class="hd3-cli"><div class="hd3-cli-row dim">example terminal session</div> <div class="hd3-cli-row"><span class="prompt">$</span><span class="cmd">npx agent-profile compile</span></div> <div class="hd3-cli-row dim">→ resolving 3 targets</div> <div class="hd3-cli-row dim">→ generating 11 artifacts</div> <div class="hd3-cli-row ok">✓ compiled in 1.2s</div></div></div> <div role="button" tabindex="0" aria-label="Focus generated artifacts stage"><div class="hd3-stamp">03 · artifacts</div> <div class="hd3-out-stack"></div></div></div></div></div></section> <div class="lv2-trust" aria-label="Trust guarantees"><span>no source upload</span> <span>no hosted gateway</span> <span>no telemetry</span> <span>no account required</span> <span>deterministic output</span> <span>diff-before-write</span></div> <section class="lv2-section" id="docs"><div class="eyebrow">the problem · the fix</div> <h2>Three agents. Three setups. <em>One source of drift.</em></h2> <p class="lede">Hand-edited AGENTS.md. Stale CLAUDE.md. A copy-pasted skill that diverged six weeks ago. Each agent has
|
|
3
|
-
its own conventions; keeping them in sync by hand is where consistency goes to die.</p> <div class="lv2-ba"><div class="panel before"><div class="lbl">before</div> <h3>Six files. Three opinions. <br/>Zero source of truth.</h3> <div class="files"><div class="file"><span class="ic">×</span><span class="nm">AGENTS.md</span><span class="src">edited 3w ago</span></div> <div class="file"><span class="ic">×</span><span class="nm">CLAUDE.md</span><span class="src">edited yesterday</span></div> <div class="file"><span class="ic">×</span><span class="nm">.tabnine/guidelines/*</span><span class="src">missing</span></div> <div class="file"><span class="ic">×</span><span class="nm">.codex/config.toml</span><span class="src">stale</span></div> <div class="file"><span class="ic">×</span><span class="nm">.claude/skills/*</span><span class="src">copy-paste</span></div> <div class="file"><span class="ic">×</span><span class="nm">api key in CLAUDE.md</span><span class="src">accidental</span></div></div> <div class="arrow-cap">compile</div></div> <div class="panel after"><div class="lbl">after</div> <h3>One <code>ai-profile.yaml</code><br/>Eleven generated artifacts.</h3> <div class="files"><div class="file"><span class="ic">✓</span><span class="nm">AGENTS.md</span><span class="src">generated</span></div> <div class="file"><span class="ic">✓</span><span class="nm">CLAUDE.md</span><span class="src">generated</span></div> <div class="file"><span class="ic">✓</span><span class="nm">.tabnine/guidelines/*</span><span class="src">generated</span></div> <div class="file"><span class="ic">✓</span><span class="nm">.codex/config.toml</span><span class="src">generated</span></div> <div class="file"><span class="ic">✓</span><span class="nm">.claude/skills/*</span><span class="src">generated</span></div> <div class="file"><span class="ic">✓</span><span class="nm">doctor + lockfile</span><span class="src">automated</span></div></div></div></div></section> <section class="lv2-section"><div class="eyebrow">five commands · five minutes</div> <h2>From <em>\`npx init\`</em> to three agents in sync.</h2> <p class="lede">The whole product is five commands. No dashboard, no workspace, no SSO popup. Click a step to see what it
|
|
4
|
-
does.</p> <div class="lv2-steps"><div class="lv2-step-list" role="tablist" aria-label="CLI walkthrough"></div> <div class="lv2-step-pane" role="tabpanel"></div></div></section> <section class="lv2-section" id="targets"><div class="eyebrow">supported today</div> <h2>Three targets. <em>One</em> source.</h2> <p class="lede">The MVP supports the three coding agents most teams actually run. The matrix in the docs is honest about
|
|
5
|
-
where partial means partial.</p> <div class="lv2-targets"><div class="lv2-target"><div class="h"><div class="mk">T</div> <h4>Tabnine</h4> <span class="badge ok"><span class="dot"></span>supported</span></div> <div class="desc">Project guidelines, workflow skills, and local MCP config - all generated to <span class="path">.tabnine/</span>.</div> <div class="files"><span>· AGENTS.md</span> <span>· .tabnine/guidelines/*.md</span> <span>· .tabnine/mcp_servers.json</span></div></div> <div class="lv2-target"><div class="h"><div class="mk">C</div> <h4>Codex</h4> <span class="badge ok"><span class="dot"></span>supported</span></div> <div class="desc">AGENTS.md plus <span class="path">.codex/config.toml</span> driven by your single profile - including
|
|
6
|
-
skills and safety defaults.</div> <div class="files"><span>· AGENTS.md</span> <span>· .codex/config.toml</span> <span>· .agents/skills/*/SKILL.md</span></div></div> <div class="lv2-target"><div class="h"><div class="mk">◇</div> <h4>Claude</h4> <span class="badge ok"><span class="dot"></span>supported</span></div> <div class="desc">CLAUDE.md and a skill scaffold in <span class="path">.claude/skills/</span> - kept in sync, hashed
|
|
7
|
-
against the profile lockfile.</div> <div class="files"><span>· CLAUDE.md</span> <span>· .claude/skills/*/SKILL.md</span></div></div></div> <div class="lv2-later">later · Cursor · Copilot · Aider · others</div></section> <section class="lv2-section"><div class="eyebrow">runtime defaults</div> <h2>Four modes. <em>You</em> pick the leash.</h2> <p class="lede">The profile sets defaults. The agent client owns the runtime. Doctor flags anywhere we can't verify a mode
|
|
8
|
-
will actually be enforced - never silent confidence.</p> <div class="lv2-modes"><div class="lv2-mode"><!> <div class="desc">Conservative. Diff before every write. The default for new profiles.</div> <div class="when">recommended for shared repos</div></div> <div class="lv2-mode"><!> <div class="desc">Generated writes auto-applied; manual files protected by drift detection.</div> <div class="when">solo projects, mature setups</div></div> <div class="lv2-mode"><!> <div class="desc">Sandboxed automation only. Doctor blocks unsafe commands before they run.</div> <div class="when">CI · isolated agents</div></div> <div class="lv2-mode"><!> <div class="desc">No writes. Output a plan you execute by hand. The most paranoid setting.</div> <div class="when">audited environments</div></div></div></section> <section class="lv2-section" id="roadmap"><div class="eyebrow">where this is going</div> <h2>Honest about <em>now</em>, <em>later</em>, and <em>maybe never</em>.</h2> <p class="lede">Three columns. No "coming Q3" smoke. If something is on the right column, treat it as a research question,
|
|
9
|
-
not a promise.</p> <div class="lv2-roadmap"><div class="lv2-rcol now"><div class="ph">phase 7 · now</div> <div class="it"><span class="b"></span><div>Tabnine · Codex · Claude<span class="lbl">three targets, supported</span></div></div> <div class="it"><span class="b"></span><div>AGENTS.md / CLAUDE.md<span class="lbl">canonical project instructions</span></div></div> <div class="it"><span class="b"></span><div>Workflow skills<span class="lbl">sdd · tdd · final-review</span></div></div> <div class="it"><span class="b"></span><div>Doctor + lockfile<span class="lbl">deterministic verification</span></div></div> <div class="it"><span class="b"></span><div>Local MCP config<span class="lbl">config-only, no auto-install</span></div></div></div> <div class="lv2-rcol later"><div class="ph">later · roadmap</div> <div class="it"><span class="b"></span><div>Cursor · Copilot · Aider<span class="lbl">additional targets</span></div></div> <div class="it"><span class="b"></span><div>Hosted MCP gateway<span class="lbl">remote transport</span></div></div> <div class="it"><span class="b"></span><div>Hooks & subagents<span class="lbl">per-target wiring</span></div></div> <div class="it"><span class="b"></span><div>Plugin scaffolds<span class="lbl">extension points</span></div></div></div> <div class="lv2-rcol maybe"><div class="ph">maybe · open questions</div> <div class="it"><span class="b"></span><div>Team policy bundles<span class="lbl">unclear demand</span></div></div> <div class="it"><span class="b"></span><div>Org-level governance<span class="lbl">scope creep risk</span></div></div> <div class="it"><span class="b"></span><div>Custom rule packs<span class="lbl">needs strong API first</span></div></div></div></div></section> <footer class="lv2-foot" id="changelog"><span>agent-profile</span> <span>open source · Apache-2.0</span> <a href="https://github.com/jsuvic/agent-profile" rel="noreferrer">github ↗</a> <span>docs ↗</span> <span>changelog</span> <span class="end">made for developers who want to know what their tools are doing.</span></footer></div>`);function T(t){let S=[{k:`name:`,v:`svelte-java-playwright`},{k:`stack:`,v:`[ts, java, playwright]`},{k:`targets:`,v:`[tabnine, codex, claude]`},{k:`safety:`,v:`guarded`},{k:`skills:`,v:`[sdd, tdd, review]`}],T=[{tgt:`tabnine`,color:`oklch(0.7 0.13 240)`,files:[`AGENTS.md`,`.tabnine/guidelines/10-sdd-workflow.md`,`.tabnine/guidelines/20-tdd-workflow.md`,`.tabnine/mcp_servers.json`]},{tgt:`codex`,color:`oklch(0.7 0.13 145)`,files:[`AGENTS.md`,`.codex/config.toml`,`.agents/skills/sdd-change/SKILL.md`]},{tgt:`claude`,color:`oklch(0.7 0.13 30)`,files:[`CLAUDE.md`,`.claude/skills/sdd-change/SKILL.md`,`.claude/skills/tdd-change/SKILL.md`,`.claude/skills/final-review/SKILL.md`]}],de=[{n:`01`,t:`Detect`,sub:`scan project, infer stack`,out:[[{text:`$ `},{text:`npx agent-profile init`,cls:`cmd`}],[{text:`-> scanning .`,cls:`dim`}],[{text:`-> found`,cls:`dim`},{text:` package.json `},{text:`·`,cls:`dim`},{text:` pom.xml `},{text:`·`,cls:`dim`},{text:` playwright.config.ts`}],[{text:`✓`,cls:`ok`},{text:` profile `},{text:`svelte-java-playwright`,cls:`acc`}],[{text:`✓`,cls:`ok`},{text:` wrote `},{text:`ai-profile.yaml`,cls:`acc`}],[{text:`✓`,cls:`ok`},{text:` wrote `},{text:`ai-profile.lock`,cls:`acc`}],[],[{text:`next: npx agent-profile compile`,cls:`dim`}]]},{n:`02`,t:`Compile`,sub:`one profile -> many artifacts`,out:[[{text:`$ `},{text:`npx agent-profile compile`,cls:`cmd`}],[{text:`-> resolving targets: tabnine, codex, claude`,cls:`dim`}],[{text:`-> generating 11 artifacts`,cls:`dim`}],[],[{text:`✓`,cls:`ok`},{text:` AGENTS.md`}],[{text:`✓`,cls:`ok`},{text:` CLAUDE.md`}],[{text:`✓`,cls:`ok`},{text:` .tabnine/guidelines/10-sdd-workflow.md`}],[{text:`✓`,cls:`ok`},{text:` .tabnine/guidelines/20-tdd-workflow.md`}],[{text:`✓`,cls:`ok`},{text:` .codex/config.toml`}],[{text:`✓`,cls:`ok`},{text:` .claude/skills/sdd-change/SKILL.md`}],[{text:` + 5 more`,cls:`dim`}],[],[{text:`✓`,cls:`ok`},{text:` compiled in 1.2s · hash `},{text:`4c8a11e0`,cls:`acc`}]]},{n:`03`,t:`Doctor`,sub:`verify before write`,out:[[{text:`$ `},{text:`npx agent-profile doctor`,cls:`cmd`}],[{text:`-> running 17 checks`,cls:`dim`}],[],[{text:`✓`,cls:`ok`},{text:` 0 errors`}],[{text:`⚠`,cls:`warn`},{text:` 2 warnings`}],[{text:` · runtime-not-verifiable (tabnine)`,cls:`dim`}],[{text:` · mcp-remote-later-only`,cls:`dim`}],[{text:`○ 1 not-verifiable`,cls:`dim`}],[{text:` · mcp-risk-not-verifiable`,cls:`dim`}],[],[{text:`findings stay local. nothing leaves this machine.`,cls:`dim`}]]},{n:`04`,t:`Diff`,sub:`review every change`,out:[[{text:`$ `},{text:`npx agent-profile compile --dry-run`,cls:`cmd`}],[{text:`-> 4 pending writes`,cls:`dim`}],[],[{text:`M`,cls:`warn`},{text:` AGENTS.md `},{text:`+8 -3`,cls:`dim`}],[{text:`M`,cls:`warn`},{text:` .tabnine/guidelines/10-sdd-workflow.md `},{text:`+12 -5`,cls:`dim`}],[{text:`M`,cls:`warn`},{text:` .codex/config.toml `},{text:`+3 -1`,cls:`dim`}],[{text:`A`,cls:`ok`},{text:` .claude/skills/sdd-change/SKILL.md `},{text:`+47`,cls:`dim`}],[],[{text:`⚠`,cls:`warn`},{text:` .codex/config.toml has manual edits.`}],[{text:` use --force to overwrite, or edit profile to reconcile.`,cls:`dim`}]]},{n:`05`,t:`Write`,sub:`explicit, opt-in, reversible`,out:[[{text:`$ `},{text:`npx agent-profile compile --write`,cls:`cmd`}],[{text:`-> writing 3 of 4 files (skipping .codex/config.toml)`,cls:`dim`}],[],[{text:`✓`,cls:`ok`},{text:` AGENTS.md`}],[{text:`✓`,cls:`ok`},{text:` .tabnine/guidelines/10-sdd-workflow.md`}],[{text:`✓`,cls:`ok`},{text:` .claude/skills/sdd-change/SKILL.md`}],[],[{text:`✓`,cls:`ok`},{text:` 3 files written · profile hash `},{text:`4c8a11e0`,cls:`acc`}],[],[{text:`three agents, in sync. all on disk. all reversible.`,cls:`dim`}]]}],E=te(2),D=te(0);function O(e,t){e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),c(E,t,!0))}var k=ue();m(`1uha8ag`,t=>{var n=ne();e(()=>{s.title=`agent-profile - local-first agent setup compiler`}),C(t,n)});var A=o(r(k),2),j=r(A),M=o(r(j),2),fe=r(M);u(M),u(j),a(6),u(A);var N=o(A,2),P=o(r(N),2),F=r(P),I=o(r(F),2),L=r(I);let R;var z=o(r(L),2),B=o(r(z),2);g(B,21,()=>S,h,(e,t)=>{var i=re(),a=r(i),s=r(a,!0);u(a);var c=o(a),l=r(c,!0);u(c),u(i),_(()=>{b(s,n(t).k),b(l,n(t).v)}),C(e,i)}),u(B),u(z),u(L);var V=o(L,2);let H;var U=o(V,2);let W;var G=o(r(U),2);g(G,21,()=>T,h,(e,t)=>{var i=ae(),a=r(i),s=r(a),c=r(s,!0);u(s);var l=o(s,2),d=r(l);u(l),u(a),g(o(a,2),17,()=>n(t).files,h,(e,t)=>{var i=ie(),a=r(i,!0);u(i),_(()=>b(a,n(t))),C(e,i)}),u(i),_(()=>{p(i,`--tgt: ${n(t).color}`),b(c,n(t).tgt),b(d,`example · ${n(t).files.length??``} files`)}),C(e,i)}),u(G),u(U),u(I),u(F),u(P),u(N);var K=o(N,6),q=o(r(K),6),J=r(q);g(J,21,()=>de,h,(e,t,i)=>{var a=oe();let s;var l=r(a),d=r(l,!0);u(l);var f=o(l,2),p=r(f,!0),m=o(p),h=r(m,!0);u(m),u(f),u(a),_(()=>{s=v(a,1,`lv2-step-row`,null,s,{on:i===n(D)}),y(a,`aria-selected`,i===n(D)),b(d,n(t).n),b(p,n(t).t),b(h,n(t).sub)}),x(`click`,a,()=>c(D,i,!0)),C(e,a)}),u(J);var Y=o(J,2);g(Y,21,()=>de[n(D)].out,h,(e,t)=>{var a=f(),o=i(a),s=e=>{C(e,se())},c=e=>{var i=le();g(i,21,()=>n(t),h,(e,t)=>{var i=ce(),a=r(i,!0);u(i),_(()=>{v(i,1,ee(n(t).cls??``)),b(a,n(t).text)}),C(e,i)}),u(i),C(e,i)};d(o,e=>{n(t).length===0?e(s):e(c,-1)}),C(e,a)}),u(Y),u(q),u(K);var X=o(K,4),pe=o(r(X),6),Z=r(pe);w(r(Z),{mode:`guarded`}),a(4),u(Z);var Q=o(Z,2);w(r(Q),{mode:`balanced`}),a(4),u(Q);var $=o(Q,2);w(r($),{mode:`autonomous`}),a(4),u($);var me=o($,2);w(r(me),{mode:`plan-only`}),a(4),u(me),u(pe),u(X),a(4),u(k),_(()=>{b(fe,`v0.1.3`),R=v(L,1,`hd3-input`,null,R,{on:n(E)===0}),y(L,`aria-pressed`,n(E)===0),H=v(V,1,`hd3-pipe`,null,H,{on:n(E)===1}),y(V,`aria-pressed`,n(E)===1),W=v(U,1,`hd3-outs`,null,W,{on:n(E)===2}),y(U,`aria-pressed`,n(E)===2)}),l(`mouseenter`,L,()=>c(E,0)),x(`focusin`,L,()=>c(E,0)),x(`keydown`,L,e=>O(e,0)),l(`mouseenter`,V,()=>c(E,1)),x(`focusin`,V,()=>c(E,1)),x(`keydown`,V,e=>O(e,1)),l(`mouseenter`,U,()=>c(E,2)),x(`focusin`,U,()=>c(E,2)),x(`keydown`,U,e=>O(e,2)),C(t,k)}t([`focusin`,`keydown`,`click`]);export{T as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as e,E as t,F as n,G as r,J as i,K as a,L as o,R as s,S as c,Y as l,_ as u,c as d,g as f,h as p,j as m,l as h,v as g,w as _,x as v,y,z as b}from"../chunks/DCJP-V9E.js";import"../chunks/I8rQr1kY.js";import{t as x}from"../chunks/DAWBIq3g.js";import{t as S}from"../chunks/SOrpfga1.js";var C=v(`<div class="tl-item"><div class="tl-time"> </div> <div class="tl-rail"><div class="tl-dot"></div></div> <div class="tl-body"><div class="cmd">agent-profile <span style="color: var(--ink);"> </span></div> <div class="meta"> </div></div></div>`),w=v(`<div class="timeline"></div>`),T=v(`<tr><td class="path" style="font-size: 11px; color: var(--ink-3);"> </td><td><span style="color: var(--ink); font-family: var(--font-mono); font-size: 12px;"> </span></td><td class="path" style="color: var(--ink-2);"> </td><td class="path"> </td><td><!></td></tr>`),E=v(`<div class="card" style="padding: 0;"><table class="matrix"><thead><tr><th style="width: 140px;">when</th><th style="width: 100px;">command</th><th>profile hash</th><th>files</th><th>doctor</th></tr></thead><tbody></tbody></table></div>`),D=v(`<div class="content"><div class="page-intro"><h2>Activity</h2> <p>Local-only run history for this repository — compile, doctor, diff, and write
|
|
2
|
-
events. No source code, file contents, or secrets are ever recorded.</p></div> <!> <div style="display: flex; align-items: center; gap: 10px; margin: 14px 0;"><div class="seg"><button>timeline</button> <button>table</button></div> <span style="font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);"> </span></div> <!> <div style="margin-top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); text-align: center;">activity is local-only · no data ever leaves this machine</div></div>`);function O(e,v){a(v,!0);let O=[{t:`14:02:11`,cmd:`compile`,st:`ok`,meta:`11 files · 0 err · hash 4c8a11e0`},{t:`13:58:47`,cmd:`doctor`,st:`warn`,meta:`0 err · 2 warn · 1 nv · 1.4s`},{t:`13:55:02`,cmd:`diff`,st:`ok`,meta:`4 pending writes · review only`},{t:`13:54:12`,cmd:`compile`,st:`ok`,meta:`11 files · hash 4c8a11e0`},{t:`13:50:00`,cmd:`init`,st:`ok`,meta:`profile auto-detected · svelte-java-playwright`},{t:`yesterday 16:31`,cmd:`compile`,st:`ok`,meta:`10 files · hash 8b21fe44`},{t:`yesterday 16:24`,cmd:`doctor`,st:`warn`,meta:`0 err · 3 warn`},{t:`yesterday 14:02`,cmd:`write`,st:`ok`,meta:`9 files written · hash 8b21fe44`}];function k(e){return e===`warn`?`var(--warn)`:e===`err`?`var(--err)`:`var(--accent)`}function A(e){return e.match(/hash ([a-f0-9]+)/)?.[1]??`—`}function j(e){return e.match(/(\d+)\s+files/)?.[1]??`—`}let M=b(`table`);var N=D(),P=o(n(N),2);x(P,{compact:!0});var F=o(P,2),I=n(F),L=n(I);let R;var z=o(L,2);let B;l(I);var V=o(I,2),H=n(V);l(V),l(F);var U=o(F,2),W=e=>{var r=w();p(r,21,()=>O,f,(e,r)=>{var i=C(),a=n(i),s=n(a,!0);l(a);var c=o(a,2),u=n(c);l(c);var f=o(c,2),p=n(f),h=o(n(p)),_=n(h,!0);l(h),l(p);var v=o(p,2),b=n(v,!0);l(v),l(f),l(i),m(e=>{g(s,t(r).t),d(u,`background: ${e??``};`),g(_,t(r).cmd),g(b,t(r).meta)},[()=>k(t(r).st)]),y(e,i)}),l(r),y(e,r)},G=e=>{var r=E(),a=n(r),s=o(n(a));p(s,21,()=>O,f,(e,r)=>{var a=T(),s=n(a),d=n(s,!0);l(s);var f=o(s),p=n(f),h=n(p,!0);l(p),l(f);var _=o(f),v=n(_,!0);l(_);var b=o(_),x=n(b,!0);l(b);var C=o(b),w=n(C),E=e=>{S(e,{tone:`warn`,children:(e,t)=>{i(),y(e,c(`warn`))},$$slots:{default:!0}})},D=e=>{S(e,{tone:`err`,children:(e,t)=>{i(),y(e,c(`error`))},$$slots:{default:!0}})},O=e=>{S(e,{tone:`ok`,children:(e,t)=>{i(),y(e,c(`ok`))},$$slots:{default:!0}})};u(w,e=>{t(r).st===`warn`?e(E):t(r).st===`err`?e(D,1):e(O,-1)}),l(C),l(a),m((e,n)=>{g(d,t(r).t),g(h,t(r).cmd),g(v,e),g(x,n)},[()=>A(t(r).meta),()=>j(t(r).meta)]),y(e,a)}),l(s),l(a),l(r),y(e,r)};u(U,e=>{t(M)===`timeline`?e(W):e(G,-1)}),i(2),l(N),m(()=>{R=h(L,1,``,null,R,{on:t(M)===`timeline`}),B=h(z,1,``,null,B,{on:t(M)===`table`}),g(H,`${O.length??``} events · last run 14:02`)}),_(`click`,L,()=>s(M,`timeline`)),_(`click`,z,()=>s(M,`table`)),y(e,N),r()}e([`click`]);export{O as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{B as e,C as t,E as n,F as r,G as i,I as a,J as o,K as s,L as c,M as l,R as u,S as d,Y as f,_ as p,b as m,c as h,g,h as _,j as v,l as y,v as b,w as x,x as S,y as C,z as w}from"../chunks/DCJP-V9E.js";import"../chunks/I8rQr1kY.js";import{t as T}from"../chunks/DAWBIq3g.js";import{t as E}from"../chunks/SOrpfga1.js";var D=S(`<div class="empty-state" style="margin-top: 32px; text-align: center; color: var(--ink-3);"><div style="font-size: 15px; margin-bottom: 12px;">No <span class="path">ai-profile.yaml</span> found — nothing to compile.</div> <div class="command-callout vertical" style="display: inline-flex;"><span class="lbl">create one with</span> <span class="cmd">npx agent-profile init --write</span> <span class="lbl">then preview generated artifacts</span> <span class="cmd">npx agent-profile compile --dry-run</span> <span class="cmd">npx agent-profile doctor</span></div></div>`),O=S(`<div class="card"><div class="row"><span class="badge err"><span class="dot"></span> </span> <span class="path"> </span></div> <div style="margin-top: 6px; color: var(--ink-2); font-size: 13px;"> </div></div>`),k=S(`<div class="warn-callout" style="margin-top: 18px;"><span class="icon">⚠</span> </div> <div class="col" style="margin-top: 10px; gap: 6px;"></div>`,1),A=S(`<div class="tree-row"><span class="indent">▾</span> <span class="name dir"> </span></div>`),j=S(`<button type="button"><span class="indent"></span> <span class="name"> </span> <!></button>`),M=S(`<div class="head"><span class="path"> </span> <!> <!> <!> <span class="meta"> </span></div> <pre class="body"> </pre> <div class="foot" style="display: flex; gap: 8px; align-items: center; flex-wrap: wrap;"><span>preview is read-only - writes happen via the CLI</span></div>`,1),N=S(`<div class="body" style="text-align: center; color: var(--ink-3);">no file selected</div>`),P=S(`<div style="display: grid; grid-template-columns: 340px 1fr; gap: 14px;"><div class="card" style="padding: 10px;"><div class="upper muted" style="padding: 4px 6px 8px; display: flex; justify-content: space-between;"><span>tree</span> <span style="color: var(--ink-4);"> </span></div> <div class="tree"></div></div> <div class="preview"><!></div></div>`),F=S(`<div class="row" style="padding: 5px 8px; border-radius: 3px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); justify-content: space-between;"><span style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;"> </span> <!></div>`),I=S(`<div class="card" style="padding: 0;"><div style="padding: 10px 14px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 8px;"><span style="font-family: var(--font-mono); font-size: 12px; font-weight: 600;"> </span> <span class="badge ok" style="margin-left: auto;"><span class="dot"></span> </span></div> <div style="padding: 6px;"></div></div>`),L=S(`<div style="display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;"></div> <div class="trust" style="margin-top: 14px;"><div class="lock"></div> <div>All artifacts written to project root. Global/user-level files require explicit opt-in in Settings.</div></div>`,1),R=S(`<div style="display: flex; align-items: center; gap: 10px; margin: 14px 0;"><div class="seg"><button>tree</button> <button>by target</button></div> <span style="font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);"> </span></div> <!>`,1),z=S(`<div class="content"><div class="page-intro"><h2>Generated artifacts</h2> <p>Tree of files the compiler would generate for this profile. Drift surfaces
|
|
2
|
-
inline — preview is read-only. Writes happen via <span class="path">npx agent-profile compile --write</span> in your terminal;
|
|
3
|
-
the browser never writes files.</p></div> <!> <!></div>`);function B(t,S){s(S,!0);let B=e(()=>S.data.view);function V(e){let t={name:``,file:null,children:new Map};for(let n of e){let e=n.path.split(`/`),r=t;for(let t=0;t<e.length;t++){let i=e[t];if(!i)continue;let a=t===e.length-1;r.children.has(i)||r.children.set(i,{name:i,file:null,children:new Map});let o=r.children.get(i);a&&(o.file=n),r=o}}return t}function H(e,t,n){let r=Array.from(e.children.values()).sort((e,t)=>{let n=e.children.size>0&&e.file===null;return n===(t.children.size>0&&t.file===null)?e.name.localeCompare(t.name):n?-1:1});for(let e of r){let r=e.file===null;n.push({depth:t,name:e.name+(r?`/`:``),isDir:r,file:e.file}),r&&H(e,t+1,n)}}let U=e(()=>n(B).ok?n(B).files:[]),W=e(()=>n(B).ok?n(B).targetCount:0),G=e(()=>{let e=[];return H(V(n(U)),0,e),e}),K=w(null);l(()=>{n(K)===null&&n(U).length>0&&u(K,n(U).find(e=>e.status===`drifted`)??n(U)[0],!0)});let q=w(`tree`),J=[{tgt:`Tabnine`,id:`tabnine`},{tgt:`Codex`,id:`codex`},{tgt:`Claude`,id:`claude`}],Y=e(()=>J.map(e=>({tgt:e.tgt,files:n(U).filter(t=>[e.id,`all`].includes(t.target))})));var X=z(),Z=c(r(X),2);T(Z,{compact:!0});var Q=c(Z,2),$=e=>{C(e,D())},ee=e=>{var t=k(),i=a(t),o=c(r(i));f(i);var s=c(i,2);_(s,21,()=>n(B).issues??[],g,(e,t)=>{var i=O(),a=r(i),o=r(a),s=c(r(o),1,!0);f(o);var l=c(o,2),u=r(l,!0);f(l),f(a);var d=c(a,2),p=r(d,!0);f(d),f(i),v(()=>{b(s,n(t).code),b(u,n(t).path),b(p,n(t).message)}),C(e,i)}),f(s),v(()=>b(o,` ${n(B).reason===`invalid`?`Profile failed validation.`:`Compile failed.`}
|
|
4
|
-
${n(B).issues?.length??0??``} issue(s):`)),C(e,t)},te=e=>{var t=R(),i=a(t),s=r(i),l=r(s);let S;var w=c(l,2);let T;f(s);var D=c(s,2),O=r(D);f(D),f(i);var k=c(i,2),z=e=>{var t=P(),i=r(t),s=r(i),l=c(r(s),2),S=r(l);f(l),f(s);var w=c(s,2);_(w,21,()=>n(G),g,(e,t)=>{var i=m(),s=a(i),l=e=>{var i=A();let a;var o=c(r(i),2),s=r(o,!0);f(o),f(i),v(()=>{a=h(i,`cursor: default;`,a,{"padding-left":`${6+n(t).depth*14}px`}),b(s,n(t).name)}),C(e,i)},g=e=>{var i=j();let a,s;var l=c(r(i),2),m=r(l,!0);f(l);var g=c(l,2),_=e=>{E(e,{tone:`warn`,children:(e,t)=>{o(),C(e,d(`drift`))},$$slots:{default:!0}})},S=e=>{E(e,{tone:`muted`,children:(e,t)=>{o(),C(e,d(`manual`))},$$slots:{default:!0}})},w=e=>{E(e,{tone:`accent`,children:(e,t)=>{o(),C(e,d(`gen`))},$$slots:{default:!0}})};p(g,e=>{n(t).file?.status===`drifted`?e(_):n(t).file?.status===`manual`?e(S,1):e(w,-1)}),f(i),v(()=>{a=y(i,1,`tree-row`,null,a,{sel:n(K)!==null&&n(t).file!==null&&n(K).path===n(t).file.path}),s=h(i,``,s,{"padding-left":`${6+n(t).depth*14}px`}),b(m,n(t).name)}),x(`click`,i,()=>u(K,n(t).file,!0)),C(e,i)};p(s,e=>{n(t).isDir?e(l):e(g,-1)}),C(e,i)}),f(w),f(i);var T=c(i,2),D=r(T),O=e=>{var t=M(),i=a(t),s=r(i),l=r(s,!0);f(s);var u=c(s,2),m=e=>{E(e,{tone:`warn`,children:(e,t)=>{o(),C(e,d(`drifted`))},$$slots:{default:!0}})},h=e=>{E(e,{tone:`muted`,children:(e,t)=>{o(),C(e,d(`manual`))},$$slots:{default:!0}})},g=e=>{E(e,{tone:`accent`,children:(e,t)=>{o(),C(e,d(`generated`))},$$slots:{default:!0}})};p(u,e=>{n(K).status===`drifted`?e(m):n(K).status===`manual`?e(h,1):e(g,-1)});var _=c(u,2),y=e=>{E(e,{tone:`warn`,children:(e,t)=>{o(),C(e,d(`secrets redacted`))},$$slots:{default:!0}})};p(_,e=>{n(K).redacted&&e(y)});var x=c(_,2),S=e=>{E(e,{tone:`muted`,children:(e,t)=>{o(),C(e,d(`preview truncated`))},$$slots:{default:!0}})};p(x,e=>{n(K).truncated&&e(S)});var w=c(x,2),T=r(w);f(w),f(i);var D=c(i,2),O=r(D,!0);f(D),o(2),v(()=>{b(l,n(K).path),b(T,`owner ${n(K).target??``} · hash ${n(K).hash??``} · ${n(K).byteSize??``} bytes`),b(O,n(K).preview)}),C(e,t)},k=e=>{C(e,N())};p(D,e=>{n(K)?e(O):e(k,-1)}),f(T),f(t),v(()=>b(S,`${n(U).length??``} files`)),C(e,t)},B=e=>{var t=L(),i=a(t);_(i,21,()=>n(Y),g,(e,t)=>{var i=I(),a=r(i),s=r(a),l=r(s,!0);f(s);var u=c(s,2),m=c(r(u));f(u),f(a);var h=c(a,2);_(h,21,()=>n(t).files,g,(e,t)=>{var i=F(),a=r(i),s=r(a,!0);f(a);var l=c(a,2),u=e=>{E(e,{tone:`warn`,children:(e,t)=>{o(),C(e,d(`drift`))},$$slots:{default:!0}})},m=e=>{E(e,{tone:`muted`,children:(e,t)=>{o(),C(e,d(`manual`))},$$slots:{default:!0}})},h=e=>{E(e,{tone:`accent`,children:(e,t)=>{o(),C(e,d(`gen`))},$$slots:{default:!0}})};p(l,e=>{n(t).status===`drifted`?e(u):n(t).status===`manual`?e(m,1):e(h,-1)}),f(i),v(()=>b(s,n(t).path)),C(e,i)}),f(h),f(i),v(()=>{b(l,n(t).tgt),b(m,`${n(t).files.length??``} files`)}),C(e,i)}),f(i),o(2),C(e,t)};p(k,e=>{n(q)===`tree`?e(z):e(B,-1)}),v(()=>{S=y(l,1,``,null,S,{on:n(q)===`tree`}),T=y(w,1,``,null,T,{on:n(q)===`targets`}),b(O,`${n(U).length??``} files · ${n(W)??``} targets`)}),x(`click`,l,()=>u(q,`tree`)),x(`click`,w,()=>u(q,`targets`)),C(e,t)};p(Q,e=>{!n(B).ok&&n(B).reason===`missing`?e($):n(B).ok?e(te,-1):e(ee,1)}),f(X),C(t,X),i()}t([`click`]);export{B as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{B as e,E as t,F as n,G as r,I as i,J as a,K as o,L as s,S as c,Y as l,_ as u,b as ee,c as te,g as ne,h as re,j as d,l as f,v as p,x as m,y as h}from"../chunks/DCJP-V9E.js";import"../chunks/I8rQr1kY.js";import{t as ie}from"../chunks/B-io8J2C.js";import{t as ae}from"../chunks/DAWBIq3g.js";import{t as oe}from"../chunks/SOrpfga1.js";var se=m(`<div class="card bootstrap-card"><div class="ck-h"><span class="t">bootstrap profile</span></div> <div class="ck-v" style="font-size: 15px;">Create the local intent file first.</div> <div class="ck-sub"><span class="path">ai-profile.yaml</span> tells the compiler which stack,
|
|
2
|
-
targets, workflow, and safety posture belong to this project.</div> <div class="command-callout vertical" style="margin-top: 14px;"><span class="lbl">create profile</span> <span class="cmd">npx agent-profile init --write</span> <span class="lbl">then inspect before writing generated files</span> <span class="cmd">npx agent-profile compile --dry-run</span> <span class="cmd">npx agent-profile compile --write</span> <span class="cmd">npx agent-profile doctor</span></div></div>`),ce=m(`<span class="badge ok"><span class="dot"></span> </span>`),le=m(`<span class="badge muted"><span class="dot"></span>profile required</span>`),ue=m(`<span><span class="dot"></span> </span> `,1),de=m(`<span class="badge muted"><span class="dot"></span>profile required</span> run init first`,1),fe=m(`<span><span class="dot"></span> </span> `,1),pe=m(`<span class="badge muted"><span class="dot"></span>profile required</span> no live doctor data`,1),me=m(`<span><span class="dot"></span> </span>`),he=m(`<span class="badge muted"><span class="dot"></span>profile required</span>`),ge=m(`<div class="content"><!> <div class="section-title"><h3>Project</h3> <span class="more"> </span></div> <!> <div class="kpi-grid"><div class="card"><div class="ck-h"><span class="t">profile</span></div> <div class="ck-v" style="font-size: 13px;"> </div> <div class="ck-sub"> </div></div> <div class="card"><div class="ck-h"><span class="t">stack</span></div> <div class="ck-v" style="font-size: 12px; line-height: 1.5;"> </div> <div class="ck-sub"> </div></div> <div class="card"><div class="ck-h"><span class="t">targets</span></div> <div class="row" style="gap: 6px; margin-top: 4px; flex-wrap: wrap;"><!></div> <div class="ck-sub" style="margin-top: 8px;"> </div></div> <div class="card"><div class="ck-h"><span class="t">safety</span></div> <div style="margin-top: 4px;"><!></div> <div class="ck-sub" style="margin-top: 8px;">diff-before-write on</div></div></div> <div class="section-title"><h3>Status</h3> <span class="more"> </span></div> <div class="status-strip"><div><span class="lbl">doctor</span> <span class="val"><!></span></div> <div><span class="lbl">not verifiable</span> <span class="val"><!></span></div> <div><span class="lbl">lockfile</span> <span class="val"><!> </span></div> <div><span class="lbl">artifacts</span> <span class="val"> </span></div></div> <div class="section-title"><h3>Use the app</h3> <span class="more">inspect in browser · write from terminal</span></div> <div class="workflow-grid dashboard-workflow"><a class="workflow-card" href="/profile"><span class="n">01</span> <span class="t">Inspect profile</span> <span class="d">Validate stack, targets, permissions, and safety defaults.</span></a> <a class="workflow-card" href="/artifacts"><span class="n">02</span> <span class="t">Review artifacts</span> <span class="d">Preview generated files by tree or target before any write.</span></a> <a class="workflow-card" href="/doctor"><span class="n">03</span> <span class="t">Check doctor</span> <span class="d">Read local findings, warnings, and not-verifiable limits.</span></a> <a class="workflow-card" href="/diff"><span class="n">04</span> <span class="t">Preview diff</span> <span class="d">Understand pending changes; apply them only with the CLI.</span></a></div> <div class="command-callout"><span class="lbl">terminal write path</span> <span class="cmd">npx agent-profile compile --dry-run</span> <span class="cmd">npx agent-profile compile --write</span></div> <div class="section-title" style="margin-top: 28px;"><h3>Recent activity</h3> <a href="/activity" class="more" style="text-decoration: none; color: var(--accent);">view all →</a></div> <div class="timeline"><div class="tl-item"><div class="tl-time">now</div> <div class="tl-rail"><div class="tl-dot"></div></div> <div class="tl-body"><div class="cmd"> </div> <div class="meta"> </div></div></div> <div class="tl-item"><div class="tl-time">local</div> <div class="tl-rail"><div class="tl-dot"></div></div> <div class="tl-body"><div class="cmd"> </div> <div class="meta"> </div></div></div> <div class="tl-item"><div class="tl-time">review</div> <div class="tl-rail"><div class="tl-dot"></div></div> <div class="tl-body"><div class="cmd"> </div> <div class="meta">writes remain terminal-only</div></div></div></div> <div class="section-title" style="margin-top: 28px;"><h3>This project</h3> <span class="more">local context · what the sidebar reads from</span></div> <div class="status-strip"><div><span class="lbl">project</span> <span class="val"> </span></div> <div><span class="lbl">profile</span> <span class="val"><!></span></div> <div><span class="lbl">profile hash</span> <span class="val"> </span></div> <div><span class="lbl">safety</span> <span class="val"><!></span></div></div> <footer class="home-footer">Apache-2.0 · local-first · no telemetry · no source upload</footer></div>`);function g(m,g){o(g,!0);let _=e(()=>g.data.project),v=e(()=>g.data.doctor),y=e(()=>t(_).profileFound&&t(_).profileValid&&t(_).summary!==null),b=e(()=>t(v).status===`fail`?`err`:t(v).status===`warn`?`warn`:t(v).status===`pass`?`ok`:`muted`),_e=e(()=>{if(!t(y)||t(_).summary===null)return`profile required`;let e=t(_).summary.stack,n=[...e.languages,...e.frameworks,...e.packageManagers,...e.testing];return n.length>0?n.join(` · `):`not declared`}),ve=e(()=>{if(!t(y)||t(_).summary===null)return`profile required`;let e=t(_).summary.artifacts.fileCount;return`${e===null?`not available`:`${e} files`} · ${t(_).summary.artifacts.targetCount} targets`}),x=e(()=>t(_).profileHash??`not available`);var S=ge(),ye=n(S);ae(ye,{});var C=s(ye,2),be=s(n(C),2),xe=n(be);l(be),l(C);var Se=s(C,2),Ce=e=>{h(e,se())};u(Se,e=>{t(y)||e(Ce)});var w=s(Se,2),T=n(w),E=s(n(T),2),we=n(E,!0);l(E);var D=s(E,2),Te=n(D,!0);l(D),l(T);var O=s(T,2),k=s(n(O),2),Ee=n(k,!0);l(k);var A=s(k,2),De=n(A,!0);l(A),l(O);var j=s(O,2),M=s(n(j),2),Oe=n(M),ke=e=>{var r=ee();re(i(r),17,()=>t(_).summary.targets.enabled,ne,(e,r)=>{var i=ce(),a=s(n(i),1,!0);l(i),d(()=>p(a,t(r))),h(e,i)}),h(e,r)},Ae=e=>{h(e,le())};u(Oe,e=>{t(y)&&t(_).summary!==null&&t(_).summary.targets.enabled.length>0?e(ke):e(Ae,-1)}),l(M);var N=s(M,2),je=n(N,!0);l(N),l(j);var P=s(j,2),F=s(n(P),2);ie(n(F),{get mode(){return t(_).safetyMode}}),l(F),a(2),l(P),l(w);var I=s(w,2),L=s(n(I),2),Me=n(L);l(L),l(I);var R=s(I,2),z=n(R),B=s(n(z),2),Ne=n(B),Pe=e=>{var r=ue(),a=i(r),o=s(n(a),1,!0);l(a);var c=s(a);d(()=>{f(a,1,`badge ${t(b)}`),p(o,t(v).label),p(c,` ${t(v).errorCount??``} err · ${t(v).warningCount??``} warn`)}),h(e,r)},Fe=e=>{var t=de();a(),h(e,t)};u(Ne,e=>{t(y)?e(Pe):e(Fe,-1)}),l(B),l(z);var V=s(z,2),H=s(n(V),2),Ie=n(H),Le=e=>{var r=fe(),a=i(r),o=s(n(a),1,!0);l(a);var c=s(a);d(()=>{f(a,1,`badge ${t(v).notVerifiableCount>0?`warn`:`ok`}`),p(o,t(v).notVerifiableCount),p(c,` ${t(v).totalIssues??``} total`)}),h(e,r)},Re=e=>{var t=pe();a(),h(e,t)};u(Ie,e=>{t(y)?e(Le):e(Re,-1)}),l(H),l(V);var U=s(V,2),ze=s(n(U),2),Be=n(ze),Ve=e=>{var r=me(),i=s(n(r),1,!0);l(r),d(()=>{f(r,1,`badge ${t(v).status===`fail`?`warn`:`ok`}`),p(i,t(v).status===`fail`?`check doctor`:`checked`)}),h(e,r)},He=e=>{h(e,he())};u(Be,e=>{t(y)?e(Ve):e(He,-1)});var Ue=s(Be);l(ze),l(U);var We=s(U,2),Ge=s(n(We),2),Ke=n(Ge,!0);l(Ge),l(We),l(R);var W=s(R,10),G=n(W),K=s(n(G),2),qe=n(K);l(K);var Je=s(K,2),q=n(Je),Ye=n(q,!0);l(q);var Xe=s(q,2),Ze=n(Xe,!0);l(Xe),l(Je),l(G);var J=s(G,2),Qe=s(n(J),4),Y=n(Qe),$e=n(Y);l(Y);var et=s(Y,2),tt=n(et,!0);l(et),l(Qe),l(J);var nt=s(J,2),rt=s(n(nt),4),it=n(rt),at=n(it,!0);l(it),a(2),l(rt),l(nt),l(W);var ot=s(W,4),X=n(ot),st=s(n(X),2),ct=n(st,!0);l(st),l(X);var Z=s(X,2),lt=s(n(Z),2),ut=n(lt),dt=e=>{oe(e,{tone:`ok`,children:(e,t)=>{a(),h(e,c(`found`))},$$slots:{default:!0}})},ft=e=>{oe(e,{tone:`err`,children:(e,t)=>{a(),h(e,c(`missing`))},$$slots:{default:!0}})};u(ut,e=>{t(_).profileFound?e(dt):e(ft,-1)}),l(lt),l(Z);var Q=s(Z,2),pt=s(n(Q),2),mt=n(pt,!0);l(pt),l(Q);var ht=s(Q,2),$=s(n(ht),2);ie(n($),{get mode(){return t(_).safetyMode},size:`sm`}),l($),l(ht),l(ot),a(2),l(S),d(()=>{p(xe,`${t(_).profilePath??``} · ${t(x)??``}`),p(we,t(_).rootName),p(Te,t(y)?`found · schema valid`:`missing · run init`),p(Ee,t(_e)),p(De,t(y)?`from ai-profile.yaml`:`not scanned yet`),p(je,t(y)&&t(_).summary!==null?`${t(_).summary.targets.enabledCount} enabled`:`no live target data`),p(Me,`doctor run · ${t(v).elapsedMs??``}ms`),p(Ue,` ${t(x)??``}`),p(Ke,t(ve)),te(qe,`background: var(--${t(b)===`err`?`err`:t(b)===`warn`?`warn`:`ok`});`),p(Ye,t(y)?`doctor · ${t(v).errorCount} errors · ${t(v).warningCount} warnings`:`doctor · waiting for profile`),p(Ze,t(y)?`${t(v).notVerifiableCount} not verifiable · ${t(v).totalIssues} total · ${t(v).elapsedMs}ms`:`run npx agent-profile init --write first`),p($e,`profile · ${t(_).profileFound?`found`:`missing`} · ${t(_).profilePath??``}`),p(tt,t(y)?`hash ${t(x)} · safety ${t(_).safetyMode}`:`no absolute path exposed`),p(at,t(y)?`diff · browser preview only`:`compile · dry-run after init`),p(ct,t(_).rootName),p(mt,t(x))}),h(m,S),r()}export{g as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{B as e,C as t,E as n,F as r,G as i,I as a,J as o,K as s,L as c,R as l,Y as u,_ as d,c as f,g as p,h as m,j as h,o as g,v as _,w as v,x as y,y as b,z as x}from"../chunks/DCJP-V9E.js";import"../chunks/I8rQr1kY.js";import"../chunks/DAWBIq3g.js";var S=y(`<div class="empty" style="margin-top: 18px;">No <span class="path">ai-profile.yaml</span> found. Run <span class="path">npx agent-profile init --write</span> before previewing generated changes. <div class="command-callout vertical" style="margin-top: 12px;"><span class="lbl">local setup</span> <span class="cmd">npx agent-profile init --write</span> <span class="cmd">npx agent-profile compile --dry-run</span></div></div>`),C=y(`<button type="button" class="row"><span> </span> <span style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;"> </span> <input type="checkbox" checked="" disabled="" aria-label="selected for CLI write" style="accent-color: var(--accent);"/></button>`),w=y(`<div class="warn-callout" style="margin-top: 10px;"><span class="icon">⚠</span> <div><span class="badge warn" style="margin-bottom: 4px;"><span class="dot"></span>manual edit</span><br/> <span class="path"> </span> has manual edits. Writing will overwrite them.</div></div>`),T=y('<div class="warn-callout" style="margin-top: 14px;"><span class="icon">!</span> Example diff placeholder. Use <span class="path">npx agent-profile compile --dry-run</span> for the live project diff.</div> <div style="display: grid; grid-template-columns: 300px 1fr; gap: 14px; margin-top: 14px;"><div class="card" style="padding: 8px;"><div class="upper muted" style="padding: 4px 6px 8px;"> </div> <!> <!> <div class="command-callout vertical" style="margin-top: 12px;"><span class="lbl">write from terminal</span> <span class="cmd">npx agent-profile compile --dry-run</span> <span class="cmd">npx agent-profile compile --write</span></div></div> <div class="diff"><div class="file-h"><span class="path"> </span> <span class="badge warn"><span class="dot"></span>example modified</span> <span style="margin-left: auto; color: var(--ink-4); font-family: var(--font-mono); font-size: 10px;">+8 −3</span></div> <div class="hunk ctx"><div class="ln">12</div><div class="ln">12</div><div class="code">## SDD workflow</div></div> <div class="hunk ctx"><div class="ln">13</div><div class="ln">13</div><div class="code"></div></div> <div class="hunk del"><div class="ln">14</div><div class="ln"></div><div class="code">Always run tests before committing.</div></div> <div class="hunk add"><div class="ln"></div><div class="ln">14</div><div class="code">Always run `npm test` and `mvn test` before committing.</div></div> <div class="hunk add"><div class="ln"></div><div class="ln">15</div><div class="code">Use Playwright for end-to-end checks.</div></div> <div class="hunk ctx"><div class="ln">15</div><div class="ln">16</div><div class="code"></div></div> <div class="hunk ctx"><div class="ln">16</div><div class="ln">17</div><div class="code">### Skill: sdd-change</div></div> <div class="hunk del"><div class="ln">17</div><div class="ln"></div><div class="code">- specify-design-develop</div></div> <div class="hunk add"><div class="ln"></div><div class="ln">18</div><div class="code">- specify → design → develop → review</div></div> <div class="hunk add"><div class="ln"></div><div class="ln">19</div><div class="code">- safety mode: guarded</div></div> <div class="hunk add"><div class="ln"></div><div class="ln">20</div><div class="code">- profile_hash: example-4c8a11e0</div></div> <div class="hunk ctx"><div class="ln">18</div><div class="ln">21</div><div class="code"></div></div></div></div> <div style="margin-top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); text-align: center;">example diff · every write is opt-in · no automatic changes</div>',1),E=y(`<div class="content"><div class="page-intro"><h2>Diff preview</h2> <p>Diff-before-write is the safety contract. Phase 7 keeps this page as an
|
|
2
|
-
example preview placeholder; live diff loading remains terminal-owned.
|
|
3
|
-
Writes happen via <span class="path">npx agent-profile compile --write</span>.</p></div> <!></div>`);function D(t,y){s(y,!0);let D=e(()=>y.data.project.profileFound&&y.data.project.profileValid),O=[{f:`.tabnine/guidelines/10-sdd-workflow.md`,st:`M`,selected:!0},{f:`.codex/config.toml`,st:`M`,warn:!0},{f:`.claude/skills/sdd-change/SKILL.md`,st:`A`},{f:`AGENTS.md`,st:`M`}],k=x(0);var A=E(),j=c(r(A),2),M=e=>{b(e,S())},N=e=>{var t=T(),i=c(a(t),2),s=r(i),y=r(s),x=r(y);u(y);var S=c(y,2);m(S,17,()=>O,p,(e,t,i)=>{var a=C(),o=r(a),s=r(o,!0);u(o);var d=c(o,2),p=r(d,!0);u(d),g(c(d,2)),u(a),h(()=>{f(a,`padding: 5px 8px; border-radius: 3px; font-family: var(--font-mono); font-size: 11px;
|
|
4
|
-
color: var(--ink-2); background: ${i===n(k)?`var(--accent-bg)`:`transparent`};
|
|
5
|
-
border: 0; width: 100%; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 8px;`),f(o,`color: ${n(t).warn?`var(--warn)`:`var(--ok)`}; width: 14px; font-weight: 600;`),_(s,n(t).st),_(p,n(t).f)}),v(`click`,a,()=>l(k,i,!0)),b(e,a)});var E=c(S,2),D=e=>{var t=w(),i=c(r(t),2),a=c(r(i),3),s=r(a,!0);u(a),o(),u(i),u(t),h(()=>_(s,O[n(k)].f)),b(e,t)};d(E,e=>{O[n(k)]?.warn&&e(D)}),o(2),u(s);var A=c(s,2),j=r(A),M=r(j),N=r(M,!0);u(M),o(4),u(j),o(24),u(A),u(i),o(2),h(()=>{_(x,`example pending writes · ${O.length??``}`),_(N,O[n(k)]?.f)}),b(e,t)};d(j,e=>{n(D)?e(N,-1):e(M)}),u(A),b(t,A),i()}t([`click`]);export{D as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{B as e,C as t,E as n,F as r,G as i,I as a,J as o,K as s,L as c,S as l,Y as u,_ as d,g as f,h as p,j as m,l as h,v as g,w as _,x as v,y}from"../chunks/DCJP-V9E.js";import{n as b}from"../chunks/BWDgWdtq.js";import"../chunks/I8rQr1kY.js";import{t as x}from"../chunks/DAWBIq3g.js";import{t as S}from"../chunks/SOrpfga1.js";import"../chunks/CBvCQPh1.js";var C=v(`<div class="empty" style="margin-top: 18px;"> <div style="margin-top: 8px;">Run <span class="path">npx agent-profile init --write</span> to bootstrap a profile.</div> <div class="command-callout vertical" style="margin-top: 12px;"><span class="lbl">local setup</span> <span class="cmd">npx agent-profile init --write</span> <span class="cmd">npx agent-profile compile --dry-run</span> <span class="cmd">npx agent-profile doctor</span></div></div>`),w=v(`<div style="font-size: 11px; color: var(--ink-4); padding: 12px; text-align: center; font-family: var(--font-mono); border: 1px dashed var(--line); border-radius: 4px;">none</div>`),T=v(`<div><div class="sev"></div> <div class="body"><div class="h"><span class="rule"> </span> <span class="title"> </span> <span style="margin-left: auto;"><!></span></div> <div class="desc"><span class="path"> </span> — expected <span class="path"> </span>, actual <span class="path"> </span></div> <div class="fix"> </div> <div class="finding-actions"><a class="btn ghost" href="/artifacts">Open artifacts</a> <a class="btn ghost" href="/diff">Review diff</a></div></div></div>`),E=v(`<div class="col" style="gap: 8px;"></div>`),D=v(`<div class="upper muted" style="margin: 18px 0 8px;"> </div> <!>`,1),O=v(`<div style="display: flex; gap: 8px; margin: 14px 0; align-items: center; flex-wrap: wrap;"><!> <div style="flex: 1;"></div> <span class="path" style="font-size: 11px; color: var(--ink-3);"> </span> <button type="button" class="btn">Re-run doctor</button></div> <!> <div style="margin-top: 18px; padding: 10px; font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); text-align: center;">doctor rules are local · no findings ever leave this machine</div>`,1),k=v(`<div class="content"><div class="page-intro"><h2>Doctor report</h2> <p>Findings live above the fold. Every finding has a rule id, a plain-English
|
|
2
|
-
title, an explanation, and a suggested fix. "Not verifiable" is honest — never
|
|
3
|
-
invent confidence we don't have.</p></div> <!> <!></div>`);function A(t,v){s(v,!0);let A=e(()=>v.data.view);function j(e){switch(e){case`error`:return`err`;case`warning`:return`warn`;case`info`:return`info`;case`not_verifiable`:return`muted`}}function M(e){switch(e){case`error`:return`error`;case`warning`:return`warning`;case`info`:return`info`;case`not_verifiable`:return`nv`}}function N(e){let t=new Date(e);return`${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}`}var P=k(),F=c(r(P),2);x(F,{});var I=c(F,2),L=e=>{var t=C(),i=r(t);o(3),u(t),m(()=>g(i,`${n(A).message??``} `)),y(e,t)},R=t=>{var i=O(),s=a(i),v=r(s);p(v,17,()=>n(A).buckets,f,(t,r)=>{{let i=e(()=>j(n(r).key));S(t,{get tone(){return n(i)},children:(e,t)=>{o();var i=l();m(e=>g(i,`${n(r).count??``}
|
|
4
|
-
${e??``}`),[()=>n(r).title.toLowerCase()]),y(e,i)},$$slots:{default:!0}})}});var x=c(v,4),C=r(x);u(x);var k=c(x,2);u(s),p(c(s,2),17,()=>n(A).buckets,f,(t,i)=>{var s=D(),_=a(s),v=r(_,!0);u(_);var b=c(_,2),x=e=>{y(e,w())},C=t=>{var a=E();p(a,21,()=>n(i).issues,f,(t,a)=>{var s=T(),d=c(r(s),2),f=r(d),p=r(f),_=r(p,!0);u(p);var v=c(p,2),b=r(v,!0);u(v);var x=c(v,2),C=r(x);{let t=e(()=>j(n(i).key));S(C,{get tone(){return n(t)},children:(e,t)=>{o();var r=l();m(()=>g(r,n(a).severity)),y(e,r)},$$slots:{default:!0}})}u(x),u(f);var w=c(f,2),E=r(w),D=r(E,!0);u(E);var O=c(E,2),k=r(O,!0);u(O);var A=c(O,2),N=r(A,!0);u(A),u(w);var P=c(w,2),F=r(P);u(P),o(2),u(d),u(s),m(e=>{h(s,1,`finding ${e??``}`),g(_,n(a).code),g(b,n(a).message),g(D,n(a).path),g(k,n(a).expected),g(N,n(a).actual),g(F,`fix · ${n(a).guidance??``}`)},[()=>M(n(i).key)]),y(t,s)}),u(a),y(t,a)};d(b,e=>{n(i).issues.length===0?e(x):e(C,-1)}),m(e=>g(v,e),[()=>n(i).title.toLowerCase()]),y(t,s)}),o(2),m(e=>g(C,`last run · ${e??``} · ${n(A).elapsedMs??``}ms`),[()=>N(n(A).lastRunIso)]),_(`click`,k,()=>b()),y(t,i)};d(I,e=>{n(A).ok?e(R,-1):e(L)}),u(P),y(t,P),i()}t([`click`]);export{A as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{G as e,K as t,M as n,x as r,y as i}from"../chunks/DCJP-V9E.js";import{t as a}from"../chunks/BWDgWdtq.js";import"../chunks/I8rQr1kY.js";import"../chunks/CBvCQPh1.js";var o=r(`<noscript></noscript>`);function s(r,s){t(s,!0),n(()=>{a(`/`,{replaceState:!0})}),i(r,o()),e()}export{s as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{B as e,C as t,E as n,F as r,G as i,I as a,J as o,K as s,L as c,R as l,S as u,X as d,Y as f,_ as p,c as m,g as h,h as g,i as _,j as v,l as y,p as b,s as x,v as S,w as C,x as w,y as T,z as E}from"../chunks/DCJP-V9E.js";import"../chunks/I8rQr1kY.js";import{t as D}from"../chunks/B-io8J2C.js";import{t as O}from"../chunks/DAWBIq3g.js";import{t as k}from"../chunks/SOrpfga1.js";var A=w(`<span> </span>`),j=w(`<section><button type="button" class="head"><span class="car">›</span> <span> </span> <!></button> <div class="body"><!></div></section>`);function M(e,t){s(t,!0);let n=_(t,`aside`,3,null),a=_(t,`open`,15,!0);var o=j();let l;var u=r(o);m(u,``,{},{width:`100%`,border:`0`,background:`transparent`,font:`inherit`,color:`inherit`,"text-align":`left`});var h=c(r(u),2),g=r(h,!0);f(h);var w=c(h,2),E=e=>{var t=A();m(t,``,{},{color:`var(--ink-4)`,"margin-left":`auto`,"font-size":`11px`});var i=r(t,!0);f(t),v(()=>S(i,n())),T(e,t)};p(w,e=>{n()&&e(E)}),f(u);var D=c(u,2);b(r(D),()=>t.children??d),f(D),f(o),v(()=>{l=y(o,1,`form-section`,null,l,{open:a()}),x(u,`aria-expanded`,a()),S(g,t.title)}),C(`click`,u,()=>a(!a())),T(e,o),i()}t([`click`]);var N=w(`<div class="empty-state" style="margin-top: 32px; text-align: center; color: var(--ink-3);"><div style="font-size: 15px; margin-bottom: 12px;">No <span class="path">ai-profile.yaml</span> found in the project root.</div> <div class="command-callout vertical" style="display: inline-flex;"><span class="lbl">create one with</span> <span class="cmd">npx agent-profile init --write</span> <span class="lbl">then review generated files</span> <span class="cmd">npx agent-profile compile --dry-run</span> <span class="cmd">npx agent-profile doctor</span></div></div>`),P=w(`<div class="card"><div class="row"><span class="badge err"><span class="dot"></span> </span> <span class="path"> </span></div> <div style="margin-top: 6px; color: var(--ink-2); font-size: 13px;"> </div></div>`),F=w(`<div class="warn-callout" style="margin-top: 18px;"><span class="icon">!</span> </div> <div class="col" style="margin-top: 10px; gap: 6px;"></div>`,1),I=w(`<span class="chip"> </span>`),L=w(`<span class="chip"> </span>`),R=w(`<span class="chip"> </span>`),z=w(`<span class="chip"> </span>`),B=w(`<div class="field"><span class="lbl">languages</span> <div class="val chip-row"></div></div> <div class="field"><span class="lbl">frameworks</span> <div class="val chip-row"></div></div> <div class="field"><span class="lbl">package managers</span> <div class="val chip-row"></div></div> <div class="field"><span class="lbl">testing</span> <div class="val chip-row"></div></div>`,1),ee=w(`<div class="field"><span class="lbl">enabled</span> <div class="val chip-row"><span> </span> <span> </span> <span> </span> <span class="chip del">cursor later</span> <span class="chip del">copilot later</span></div></div>`),te=w(`<div class="field"><span class="lbl">mode</span> <div class="val"><!> <div class="profile-note">Runtime permissions are owned by each agent client. This profile sets
|
|
2
|
-
defaults; the client may not enforce them.</div></div></div> <div class="field"><span class="lbl">requires sandbox</span> <div class="val"> </div></div>`,1),ne=w(`<div class="field"><span class="lbl">enabled</span> <div class="val chip-row"><span> </span> <span> </span> <span> </span></div></div>`),re=w(`<div class="field"><span class="lbl">mode</span> <div class="val">local</div></div>`),ie=w(`<div class="field"><span class="lbl">filesystem.read</span><span class="val"> </span></div> <div class="field"><span class="lbl">filesystem.write</span><span class="val"> </span></div> <div class="field"><span class="lbl">shell.run</span><span class="val"> </span></div> <div class="field"><span class="lbl">dependencies.install</span><span class="val"> </span></div> <div class="field"><span class="lbl">network.external</span><span class="val"> </span></div> <div class="field"><span class="lbl">secrets.access</span><span class="val"> </span></div> <div class="field"><span class="lbl">production.access</span><span class="val"> </span></div>`,1),ae=w(`<div class="profile-summary"><div class="profile-score"><span class="big"> </span> <span class="lbl">enabled targets</span></div> <div class="kv-list compact"><span class="k">profile</span> <span class="v"> </span> <span class="k">safety</span> <span class="v"><!></span> <span class="k">workflow</span> <span class="v"> </span> <span class="k">secrets</span> <span class="v"> </span></div> <div class="command-callout vertical"><span class="lbl">next terminal checks</span> <span class="cmd">npx agent-profile compile --dry-run</span> <span class="cmd">npx agent-profile doctor</span></div></div>`),oe=w(`<div class="yaml-guard"><span class="icon">!</span> Raw YAML is shown only after choosing this pane. Secret-like content is still redacted by the server preview path.</div> <pre class="yaml profile-yaml"> </pre>`,1),V=w(`<div class="profile-toolbar"><span class="path">ai-profile.yaml</span> <!> <!> <div style="flex: 1;"></div> <div class="seg" aria-label="Profile side panel"><button>summary</button> <button>yaml</button></div> <a class="btn primary" href="/artifacts">View artifacts</a></div> <div class="profile-workspace"><div class="profile-form"><!> <!> <!> <!> <!> <!></div> <aside class="profile-side" aria-label="Profile side panel"><div class="profile-side-head"><span class="upper muted"> </span> <!></div> <!></aside></div>`,1),H=w(`<div class="content"><div class="page-intro"><h2>Profile</h2> <p>Structured inspection for <span class="path">ai-profile.yaml</span>. The
|
|
3
|
-
split view keeps stack, targets, safety, and workflow visible while raw YAML
|
|
4
|
-
stays opt-in. Editing and writes happen through the CLI; this page never writes.</p></div> <!> <!> <div class="warn-callout"><span class="icon">!</span> Never store API keys or secrets in <span class="path">ai-profile.yaml</span>.
|
|
5
|
-
Use environment variables and reference them by name.</div></div>`);function U(t,d){s(d,!0);let m=e(()=>d.data.view),_=E(`summary`),b=e(()=>n(m).ok?n(m):null);function x(e){return typeof e==`string`?e:e?`yes`:`no`}function w(e){return[e.clients.tabnine.enabled,e.clients.codex.enabled,e.clients.claude.enabled].filter(Boolean).length}function A(e){return[e.workflow.sdd,e.workflow.tdd,e.workflow.finalReview].filter(Boolean).length}var j=H(),U=c(r(j),2);O(U,{});var W=c(U,2),G=e=>{T(e,N())},K=e=>{var t=F(),i=a(t),o=c(r(i));f(i);var s=c(i,2);g(s,21,()=>n(m).issues,h,(e,t)=>{var i=P(),a=r(i),o=r(a),s=c(r(o),1,!0);f(o);var l=c(o,2),u=r(l,!0);f(l),f(a);var d=c(a,2),p=r(d,!0);f(d),f(i),v(()=>{S(s,n(t).code),S(u,n(t).path),S(p,n(t).message)}),T(e,i)}),f(s),v(()=>S(o,` The profile failed schema validation. ${n(m).issues.length??``} issue(s):`)),T(e,t)},q=t=>{var i=V(),s=a(i),d=c(r(s),2);k(d,{tone:`ok`,children:(e,t)=>{o(),T(e,u(`schema valid`))},$$slots:{default:!0}});var m=c(d,2),E=e=>{k(e,{tone:`warn`,children:(e,t)=>{o(),T(e,u(`secrets redacted in preview`))},$$slots:{default:!0}})},O=e=>{k(e,{tone:`muted`,children:(e,t)=>{o(),T(e,u(`no secrets detected`))},$$slots:{default:!0}})};p(m,e=>{n(b).hasSecretLikeContent?e(E):e(O,-1)});var j=c(m,4),N=r(j);let P;var F=c(N,2);let H;f(j),o(2),f(s);var U=c(s,2),W=r(U),G=r(W);M(G,{title:`Stack`,aside:`auto-detected - editable in profile.yaml`,children:(e,t)=>{var i=B(),o=a(i),s=c(r(o),2);g(s,21,()=>n(b).stack.languages,h,(e,t)=>{var i=I(),a=r(i,!0);f(i),v(()=>S(a,n(t))),T(e,i)}),f(s),f(o);var l=c(o,2),u=c(r(l),2);g(u,21,()=>n(b).stack.frameworks,h,(e,t)=>{var i=L(),a=r(i,!0);f(i),v(()=>S(a,n(t))),T(e,i)}),f(u),f(l);var d=c(l,2),p=c(r(d),2);g(p,21,()=>n(b).stack.packageManagers,h,(e,t)=>{var i=R(),a=r(i,!0);f(i),v(()=>S(a,n(t))),T(e,i)}),f(p),f(d);var m=c(d,2),_=c(r(m),2);g(_,21,()=>n(b).stack.testing,h,(e,t)=>{var i=z(),a=r(i,!0);f(i),v(()=>S(a,n(t))),T(e,i)}),f(_),f(m),T(e,i)},$$slots:{default:!0}});var K=c(G,2);M(K,{title:`Targets`,children:(e,t)=>{var i=ee(),a=c(r(i),2),s=r(a);let l;var u=r(s);f(s);var d=c(s,2);let p;var m=r(d);f(d);var h=c(d,2);let g;var _=r(h);f(h),o(4),f(a),f(i),v(()=>{l=y(s,1,`chip`,null,l,{del:!n(b).clients.tabnine.enabled}),S(u,`tabnine ${n(b).clients.tabnine.enabled?`yes`:`no`}`),p=y(d,1,`chip`,null,p,{del:!n(b).clients.codex.enabled}),S(m,`codex ${n(b).clients.codex.enabled?`yes`:`no`}`),g=y(h,1,`chip`,null,g,{del:!n(b).clients.claude.enabled}),S(_,`claude ${n(b).clients.claude.enabled?`yes`:`no`}`)}),T(e,i)},$$slots:{default:!0}});var q=c(K,2);M(q,{title:`Safety mode`,aside:`controls runtime defaults`,children:(e,t)=>{var i=te(),s=a(i),l=c(r(s),2);D(r(l),{get mode(){return n(b).safety.mode}}),o(2),f(l),f(s);var u=c(s,2),d=c(r(u),2),p=r(d,!0);f(d),f(u),v(()=>S(p,n(b).safety.requiresSandbox?`yes`:`no`)),T(e,i)},$$slots:{default:!0}});var J=c(q,2);{let t=e(()=>`${A(n(b))} enabled`);M(J,{title:`Workflow skills`,get aside(){return n(t)},children:(e,t)=>{var i=ne(),a=c(r(i),2),o=r(a);let s;var l=r(o);f(o);var u=c(o,2);let d;var p=r(u);f(u);var m=c(u,2);let h;var g=r(m);f(m),f(a),f(i),v(()=>{s=y(o,1,`chip`,null,s,{del:!n(b).workflow.sdd}),S(l,`sdd-change ${n(b).workflow.sdd?`yes`:`no`}`),d=y(u,1,`chip`,null,d,{del:!n(b).workflow.tdd}),S(p,`tdd-change ${n(b).workflow.tdd?`yes`:`no`}`),h=y(m,1,`chip`,null,h,{del:!n(b).workflow.finalReview}),S(g,`final-review ${n(b).workflow.finalReview?`yes`:`no`}`)}),T(e,i)},$$slots:{default:!0}})}var Y=c(J,2);M(Y,{title:`MCP`,aside:`local - config-only`,open:!1,children:(e,t)=>{T(e,re())},$$slots:{default:!0}}),M(c(Y,2),{title:`Permissions`,aside:`effective values`,open:!1,children:(e,t)=>{var i=ie(),o=a(i),s=c(r(o)),l=r(s,!0);f(s),f(o);var u=c(o,2),d=c(r(u)),p=r(d,!0);f(d),f(u);var m=c(u,2),h=c(r(m)),g=r(h,!0);f(h),f(m);var _=c(m,2),y=c(r(_)),C=r(y,!0);f(y),f(_);var w=c(_,2),E=c(r(w)),D=r(E,!0);f(E),f(w);var O=c(w,2),k=c(r(O)),A=r(k,!0);f(k),f(O);var j=c(O,2),M=c(r(j)),N=r(M,!0);f(M),f(j),v((e,t,r,i,a)=>{S(l,e),S(p,t),S(g,r),S(C,i),S(D,a),S(A,n(b).permissions.secrets.access?`yes`:`no`),S(N,n(b).permissions.production.access?`yes`:`no`)},[()=>x(n(b).permissions.filesystem.read),()=>x(n(b).permissions.filesystem.write),()=>x(n(b).permissions.shell.run),()=>x(n(b).permissions.dependencies.install),()=>x(n(b).permissions.network.external)]),T(e,i)},$$slots:{default:!0}}),f(W);var X=c(W,2),Z=r(X),Q=r(Z),se=r(Q,!0);f(Q);var ce=c(Q,2);{let t=e(()=>n(_)===`summary`?`accent`:`warn`);k(ce,{get tone(){return n(t)},children:(e,t)=>{o();var r=u();v(()=>S(r,n(_)===`summary`?`safe default`:`opt-in`)),T(e,r)},$$slots:{default:!0}})}f(Z);var le=c(Z,2),$=e=>{var t=ae(),i=r(t),a=r(i),s=r(a,!0);f(a),o(2),f(i);var l=c(i,2),u=c(r(l),2),d=r(u,!0);f(u);var p=c(u,4);D(r(p),{get mode(){return n(b).safety.mode},size:`sm`}),f(p);var m=c(p,4),h=r(m);f(m);var g=c(m,4),_=r(g,!0);f(g),f(l),o(2),f(t),v((e,t)=>{S(s,e),S(d,n(b).name),S(h,`${t??``} skills`),S(_,n(b).hasSecretLikeContent?`redacted in preview`:`none detected`)},[()=>w(n(b)),()=>A(n(b))]),T(e,t)},ue=e=>{var t=oe(),i=c(a(t),2),o=r(i,!0);f(i),v(()=>S(o,n(b).yaml)),T(e,t)};p(le,e=>{n(_)===`summary`?e($):e(ue,-1)}),f(X),f(U),v(()=>{P=y(N,1,``,null,P,{on:n(_)===`summary`}),H=y(F,1,``,null,H,{on:n(_)===`yaml`}),S(se,n(_)===`summary`?`profile mirror`:`yaml preview`)}),C(`click`,N,()=>l(_,`summary`)),C(`click`,F,()=>l(_,`yaml`)),T(t,i)};p(W,e=>{!n(m).ok&&n(m).reason===`missing`?e(G):!n(m).ok&&n(m).reason===`invalid`?e(K,1):n(b)&&e(q,2)}),o(2),f(j),T(t,j),i()}t([`click`]);export{U as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"0-aBAedq2p.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.server.ts.js","../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["import { a as compileProfile, t as loadProjectContext } from \"../../chunks/projectContext.js\";\nimport { n as loadDoctorSummary } from \"../../chunks/doctorSummary.js\";\n//#region src/lib/server/projectSummary.ts\nfunction enabledTargetIds(profile) {\n\treturn [\n\t\tprofile.clients.tabnine.enabled ? \"tabnine\" : null,\n\t\tprofile.clients.codex.enabled ? \"codex\" : null,\n\t\tprofile.clients.claude.enabled ? \"claude\" : null\n\t].filter((value) => value !== null);\n}\nfunction summarizeProfile(profile) {\n\tconst targets = enabledTargetIds(profile);\n\tconst compiled = compileProfile({ profile });\n\tconst fileCount = compiled.ok ? compiled.files.length : null;\n\treturn {\n\t\tstack: {\n\t\t\tlanguages: profile.stack.languages,\n\t\t\tframeworks: profile.stack.frameworks,\n\t\t\tpackageManagers: profile.stack.packageManagers,\n\t\t\ttesting: profile.stack.testing\n\t\t},\n\t\ttargets: {\n\t\t\tenabled: targets,\n\t\t\tenabledCount: targets.length\n\t\t},\n\t\tartifacts: {\n\t\t\tfileCount,\n\t\t\ttargetCount: targets.length\n\t\t}\n\t};\n}\n//#endregion\n//#region src/lib/server/marketingLayout.ts\nfunction isMarketingRoute(pathname) {\n\treturn pathname === \"/\" || pathname === \"/landing\";\n}\nfunction marketingLayoutData() {\n\treturn {\n\t\tproject: {\n\t\t\trootName: \"agent-profile\",\n\t\t\tprofilePath: \"ai-profile.yaml\",\n\t\t\tprofileHash: null,\n\t\t\tsafetyMode: \"guarded\",\n\t\t\tprofileFound: false,\n\t\t\tprofileValid: false,\n\t\t\tsummary: null\n\t\t},\n\t\tdoctor: {\n\t\t\tok: false,\n\t\t\tstatus: \"unknown\",\n\t\t\tlabel: \"not run\",\n\t\t\terrorCount: 0,\n\t\t\twarningCount: 0,\n\t\t\tinfoCount: 0,\n\t\t\tnotVerifiableCount: 0,\n\t\t\ttotalIssues: 0,\n\t\t\tlastRunIso: null,\n\t\t\telapsedMs: 0,\n\t\t\tmessage: null\n\t\t}\n\t};\n}\n//#endregion\n//#region src/routes/+layout.server.ts\nvar prerender = false;\nvar ssr = true;\nasync function load({ url }) {\n\tif (isMarketingRoute(url.pathname)) return marketingLayoutData();\n\tconst ctx = await loadProjectContext();\n\tconst doctor = await loadDoctorSummary(ctx.rootDir);\n\tconst profileSummary = ctx.profileResult?.ok === true ? summarizeProfile(ctx.profileResult.profile) : null;\n\treturn {\n\t\tproject: {\n\t\t\trootName: ctx.rootName,\n\t\t\tprofilePath: ctx.profilePath,\n\t\t\tprofileHash: ctx.profileHash,\n\t\t\tsafetyMode: ctx.safetyMode,\n\t\t\tprofileFound: ctx.profileFound,\n\t\t\tprofileValid: ctx.profileResult?.ok === true,\n\t\t\tsummary: profileSummary\n\t\t},\n\t\tdoctor\n\t};\n}\n//#endregion\nexport { load, prerender, ssr };\n","import * as server from '../entries/pages/_layout.server.ts.js';\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+layout.server.ts\";\nexport const imports = [\"_app/immutable/nodes/0.l1JjQQQj.js\",\"_app/immutable/chunks/DCJP-V9E.js\",\"_app/immutable/chunks/BWDgWdtq.js\",\"_app/immutable/chunks/B-io8J2C.js\",\"_app/immutable/chunks/I8rQr1kY.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.BG6jUcBX.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;;;;;;;AAEA;AACA,SAAS,gBA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,GAAG,CAAC,WAAW;AAC/B,GAAG,UAAU,EAAE,GAAG,CAAC,UAAU;AAC7B,GAAG,YAAY,EAAE,GAAG,CAAC,YAAY;AACjC,GAAG,YAAY,EAAE,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,IAAI;AAC/C,GAAG,OAAO,EAAE;AACZ,GAAG;AACH,EAAE;AACF,EAAE;AACF;;;;;;;;;ACjFY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE;AAElG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG,CAAC,sCAAsC;AACtD,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const index = 10;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-DyYKrY-D.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/10.BOQgahuX.js","_app/immutable/chunks/DCJP-V9E.js","_app/immutable/chunks/SOrpfga1.js","_app/immutable/chunks/I8rQr1kY.js","_app/immutable/chunks/B-io8J2C.js","_app/immutable/chunks/DAWBIq3g.js"];
|
|
5
|
-
const stylesheets = [];
|
|
6
|
-
const fonts = [];
|
|
7
|
-
|
|
8
|
-
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=10-B1aX7ZZ8.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const index = 2;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-IYyXbXcB.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/2.BDMGSS6l.js","_app/immutable/chunks/DCJP-V9E.js","_app/immutable/chunks/B-io8J2C.js","_app/immutable/chunks/I8rQr1kY.js"];
|
|
5
|
-
const stylesheets = [];
|
|
6
|
-
const fonts = [];
|
|
7
|
-
|
|
8
|
-
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=2-BT3hDge_.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"2-BT3hDge_.js","sources":["../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.BDMGSS6l.js\",\"_app/immutable/chunks/DCJP-V9E.js\",\"_app/immutable/chunks/B-io8J2C.js\",\"_app/immutable/chunks/I8rQr1kY.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE;AAChG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5J,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const index = 3;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-Bv-w7cKm.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/3.NnDkXnSG.js","_app/immutable/chunks/DCJP-V9E.js","_app/immutable/chunks/SOrpfga1.js","_app/immutable/chunks/I8rQr1kY.js","_app/immutable/chunks/DAWBIq3g.js"];
|
|
5
|
-
const stylesheets = [];
|
|
6
|
-
const fonts = [];
|
|
7
|
-
|
|
8
|
-
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=3-CLWhM7Et.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const index = 5;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-DRj4L7XZ.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/5.CSOalQ9R.js","_app/immutable/chunks/DCJP-V9E.js","_app/immutable/chunks/SOrpfga1.js","_app/immutable/chunks/I8rQr1kY.js","_app/immutable/chunks/B-io8J2C.js","_app/immutable/chunks/DAWBIq3g.js"];
|
|
5
|
-
const stylesheets = [];
|
|
6
|
-
const fonts = [];
|
|
7
|
-
|
|
8
|
-
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=5-C1YtO2Ru.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const index = 8;
|
|
2
|
-
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-QyOMa9Ce.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/8.Dw5huUXy.js","_app/immutable/chunks/DCJP-V9E.js","_app/immutable/chunks/BWDgWdtq.js","_app/immutable/chunks/CBvCQPh1.js","_app/immutable/chunks/I8rQr1kY.js"];
|
|
5
|
-
const stylesheets = [];
|
|
6
|
-
const fonts = [];
|
|
7
|
-
|
|
8
|
-
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=8-BNb36pCU.js.map
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { l as loadProjectContext, n as normalizeSafety, f as deriveEffectivePermissions, r as redactIfSecretLike } from './projectContext-C4-xYqFg.js';
|
|
2
|
-
import 'node:module';
|
|
3
|
-
import 'node:fs/promises';
|
|
4
|
-
import 'node:path';
|
|
5
|
-
import 'process';
|
|
6
|
-
import 'buffer';
|
|
7
|
-
import 'node:crypto';
|
|
8
|
-
|
|
9
|
-
//#region src/routes/profile/+page.server.ts
|
|
10
|
-
async function load() {
|
|
11
|
-
const ctx = await loadProjectContext();
|
|
12
|
-
if (!ctx.profileFound || ctx.profileResult === null) return { view: {
|
|
13
|
-
ok: false,
|
|
14
|
-
reason: "missing"
|
|
15
|
-
} };
|
|
16
|
-
if (!ctx.profileResult.ok) return { view: {
|
|
17
|
-
ok: false,
|
|
18
|
-
reason: "invalid",
|
|
19
|
-
issues: ctx.profileResult.issues.map((i) => ({
|
|
20
|
-
code: i.code,
|
|
21
|
-
path: i.path,
|
|
22
|
-
message: i.message
|
|
23
|
-
}))
|
|
24
|
-
} };
|
|
25
|
-
const profile = ctx.profileResult.profile;
|
|
26
|
-
const safety = normalizeSafety(profile);
|
|
27
|
-
const permissions = deriveEffectivePermissions(profile);
|
|
28
|
-
const yamlRedacted = redactIfSecretLike(ctx.profileSource ?? "");
|
|
29
|
-
return { view: {
|
|
30
|
-
ok: true,
|
|
31
|
-
name: profile.profile.name,
|
|
32
|
-
description: profile.profile.description,
|
|
33
|
-
stack: profile.stack,
|
|
34
|
-
clients: profile.clients,
|
|
35
|
-
safety,
|
|
36
|
-
workflow: profile.workflow,
|
|
37
|
-
permissions,
|
|
38
|
-
hasSecretLikeContent: yamlRedacted !== ctx.profileSource,
|
|
39
|
-
yaml: yamlRedacted
|
|
40
|
-
} };
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
44
|
-
__proto__: null,
|
|
45
|
-
load: load
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
const index = 9;
|
|
49
|
-
let component_cache;
|
|
50
|
-
const component = async () => component_cache ??= (await import('./_page.svelte-BS9xpx67.js')).default;
|
|
51
|
-
const server_id = "src/routes/profile/+page.server.ts";
|
|
52
|
-
const imports = ["_app/immutable/nodes/9.CnkwRoxn.js","_app/immutable/chunks/DCJP-V9E.js","_app/immutable/chunks/SOrpfga1.js","_app/immutable/chunks/I8rQr1kY.js","_app/immutable/chunks/B-io8J2C.js","_app/immutable/chunks/DAWBIq3g.js"];
|
|
53
|
-
const stylesheets = [];
|
|
54
|
-
const fonts = [];
|
|
55
|
-
|
|
56
|
-
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
|
57
|
-
//# sourceMappingURL=9-LeS-ldcl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"9-LeS-ldcl.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/profile/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/9.js"],"sourcesContent":["import { d as deriveEffectivePermissions, f as normalizeSafety, n as redactIfSecretLike, t as loadProjectContext } from \"../../../chunks/projectContext.js\";\n//#region src/routes/profile/+page.server.ts\nasync function load() {\n\tconst ctx = await loadProjectContext();\n\tif (!ctx.profileFound || ctx.profileResult === null) return { view: {\n\t\tok: false,\n\t\treason: \"missing\"\n\t} };\n\tif (!ctx.profileResult.ok) return { view: {\n\t\tok: false,\n\t\treason: \"invalid\",\n\t\tissues: ctx.profileResult.issues.map((i) => ({\n\t\t\tcode: i.code,\n\t\t\tpath: i.path,\n\t\t\tmessage: i.message\n\t\t}))\n\t} };\n\tconst profile = ctx.profileResult.profile;\n\tconst safety = normalizeSafety(profile);\n\tconst permissions = deriveEffectivePermissions(profile);\n\tconst yamlRedacted = redactIfSecretLike(ctx.profileSource ?? \"\");\n\treturn { view: {\n\t\tok: true,\n\t\tname: profile.profile.name,\n\t\tdescription: profile.profile.description,\n\t\tstack: profile.stack,\n\t\tclients: profile.clients,\n\t\tsafety,\n\t\tworkflow: profile.workflow,\n\t\tpermissions,\n\t\thasSecretLikeContent: yamlRedacted !== ctx.profileSource,\n\t\tyaml: yamlRedacted\n\t} };\n}\n//#endregion\nexport { load };\n","import * as server from '../entries/pages/profile/_page.server.ts.js';\n\nexport const index = 9;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/profile/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/profile/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/9.CnkwRoxn.js\",\"_app/immutable/chunks/DCJP-V9E.js\",\"_app/immutable/chunks/SOrpfga1.js\",\"_app/immutable/chunks/I8rQr1kY.js\",\"_app/immutable/chunks/B-io8J2C.js\",\"_app/immutable/chunks/DAWBIq3g.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;;;;;AACA;AACA,eAAe,IAAI,GAAG;AACtB,CAAC,MAAM,GAAG,GAAG,MAAM,kBAAkB,EAAE;AACvC,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,IAAI,GAAG,CAAC,aAAa,KAAK,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE;AACrE,EAAE,EAAE,EAAE,KAAK;AACX,EAAE,MAAM,EAAE;AACV,EAAE,EAAE;AACJ,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;AAC3C,EAAE,EAAE,EAAE,KAAK;AACX,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;AAC/C,GAAG,IAAI,EAAE,CAAC,CAAC,IAAI;AACf,GAAG,IAAI,EAAE,CAAC,CAAC,IAAI;AACf,GAAG,OAAO,EAAE,CAAC,CAAC;AACd,GAAG,CAAC;AACJ,EAAE,EAAE;AACJ,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC,aAAa,CAAC,OAAO;AAC1C,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC,OAAO,CAAC;AACxC,CAAC,MAAM,WAAW,GAAG,0BAA0B,CAAC,OAAO,CAAC;AACxD,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,GAAG,CAAC,aAAa,IAAI,EAAE,CAAC;AACjE,CAAC,OAAO,EAAE,IAAI,EAAE;AAChB,EAAE,EAAE,EAAE,IAAI;AACV,EAAE,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI;AAC5B,EAAE,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,WAAW;AAC1C,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK;AACtB,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO;AAC1B,EAAE,MAAM;AACR,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ;AAC5B,EAAE,WAAW;AACb,EAAE,oBAAoB,EAAE,YAAY,KAAK,GAAG,CAAC,aAAa;AAC1D,EAAE,IAAI,EAAE;AACR,EAAE,EAAE;AACJ;;;;;;;AC/BY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA0C,CAAC,EAAE;AAExG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpO,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_layout.svelte-C6Ru_7YV.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.svelte.js"],"sourcesContent":["import \"../../chunks/environment.js\";\nimport { H as attr, U as clsx, W as escape_html, a as derived, d as unsubscribe_stores, f as html, l as store_get, n as attr_class, o as ensure_array_like, rt as getContext } from \"../../chunks/dev.js\";\nimport { t as SafetyBadge } from \"../../chunks/SafetyBadge.js\";\nimport \"../../chunks/client.js\";\n//#region src/lib/components/ProfileDropdown.svelte\nfunction ProfileDropdown($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { projectName, profilePath, profileFound, profileHash, safetyMode } = $$props;\n\t\tlet open = false;\n\t\tconst displayHash = derived(() => profileHash ? profileHash.slice(0, 8) : \"--\");\n\t\tderived(() => profileHash ?? \"--\");\n\t\t$$renderer.push(`<div class=\"profile-dd\"><button class=\"profile-dd-trigger\" aria-haspopup=\"menu\"${attr(\"aria-expanded\", open)}><span class=\"lbl\">profile</span> <span class=\"nm\">${escape_html(projectName)}</span> <span class=\"hash\">${escape_html(displayHash())}</span> <svg class=\"ic-svg\" viewBox=\"0 0 16 16\" style=\"width:10px;height:10px\"><path d=\"M4 6l4 4 4-4\"></path></svg></button> `);\n\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></div>`);\n\t});\n}\n//#endregion\n//#region ../../node_modules/@sveltejs/kit/src/runtime/app/stores.js\n/**\n* A function that returns all of the contextual stores. On the server, this must be called during component initialization.\n* Only use this if you need to defer store subscription until after the component has mounted, for some reason.\n*\n* @deprecated Use `$app/state` instead (requires Svelte 5, [see docs for more info](https://svelte.dev/docs/kit/migrating-to-sveltekit-2#SvelteKit-2.12:-$app-stores-deprecated))\n*/\nvar getStores = () => {\n\tconst stores$1 = getContext(\"__svelte__\");\n\treturn {\n\t\t/** @type {typeof page} */\n\t\tpage: { subscribe: stores$1.page.subscribe },\n\t\t/** @type {typeof navigating} */\n\t\tnavigating: { subscribe: stores$1.navigating.subscribe },\n\t\t/** @type {typeof updated} */\n\t\tupdated: stores$1.updated\n\t};\n};\n/**\n* A readable store whose value contains page data.\n*\n* On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.\n*\n* @deprecated Use `page` from `$app/state` instead (requires Svelte 5, [see docs for more info](https://svelte.dev/docs/kit/migrating-to-sveltekit-2#SvelteKit-2.12:-$app-stores-deprecated))\n* @type {import('svelte/store').Readable<import('@sveltejs/kit').Page>}\n*/\nvar page = { subscribe(fn) {\n\treturn getStores().page.subscribe(fn);\n} };\n//#endregion\n//#region src/routes/+layout.svelte\nfunction _layout($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tvar $$store_subs;\n\t\tlet { data, children } = $$props;\n\t\tlet collapsed = false;\n\t\tconst CRUMB_MAP = [\n\t\t\t{\n\t\t\t\thref: \"/dashboard\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"overview\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/profile\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"profile editor\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/artifacts\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"artifacts\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/diff\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"diff\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/doctor\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"doctor\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/targets\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"targets\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/activity\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"activity\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/settings\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"settings\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\thref: \"/\",\n\t\t\t\tcrumbs: [\"agent-profile\", \"landing\"]\n\t\t\t}\n\t\t];\n\t\tfunction getCrumbs(path) {\n\t\t\treturn CRUMB_MAP.find((e) => e.href === \"/\" ? path === \"/\" : path === e.href || path.startsWith(e.href + \"/\"))?.crumbs ?? [\"agent-profile\"];\n\t\t}\n\t\tlet crumbs = derived(() => getCrumbs(store_get($$store_subs ??= {}, \"$page\", page).url.pathname));\n\t\tconst WORKSPACE_NAV = [\n\t\t\t{\n\t\t\t\tid: \"dashboard\",\n\t\t\t\thref: \"/dashboard\",\n\t\t\t\tlabel: \"Overview\",\n\t\t\t\ticon: `<rect x=\"2\" y=\"2.5\" width=\"5\" height=\"5\" rx=\"0.6\"/><rect x=\"9\" y=\"2.5\" width=\"5\" height=\"5\" rx=\"0.6\"/><rect x=\"2\" y=\"8.5\" width=\"5\" height=\"5\" rx=\"0.6\"/><rect x=\"9\" y=\"8.5\" width=\"5\" height=\"5\" rx=\"0.6\"/>`\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"profile\",\n\t\t\t\thref: \"/profile\",\n\t\t\t\tlabel: \"Profile\",\n\t\t\t\ticon: `<path d=\"M3 3h7l3 3v7H3z\"/><path d=\"M10 3v3h3\"/><path d=\"M5.5 8.5h5M5.5 11h3.5\"/>`\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"artifacts\",\n\t\t\t\thref: \"/artifacts\",\n\t\t\t\tlabel: \"Artifacts\",\n\t\t\t\ticon: `<path d=\"M2.5 4.5l5.5-2.5 5.5 2.5-5.5 2.5z\"/><path d=\"M2.5 4.5v5l5.5 2.5 5.5-2.5v-5\"/><path d=\"M8 7v5\"/>`\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"diff\",\n\t\t\t\thref: \"/diff\",\n\t\t\t\tlabel: \"Diff\",\n\t\t\t\ticon: `<path d=\"M5 2v9.5a1.5 1.5 0 0 0 1.5 1.5H11\"/><path d=\"M9 11.5l2 2 2-2\"/><path d=\"M11 14v-9.5A1.5 1.5 0 0 0 9.5 3H5\"/><path d=\"M7 4.5l-2-2-2 2\"/>`\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"doctor\",\n\t\t\t\thref: \"/doctor\",\n\t\t\t\tlabel: \"Doctor\",\n\t\t\t\ticon: `<path d=\"M3 3h3l1 2 2-4 1.5 7 1.2-3 1.3 1.5h2\"/>`\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"targets\",\n\t\t\t\thref: \"/targets\",\n\t\t\t\tlabel: \"Targets\",\n\t\t\t\ticon: `<circle cx=\"8\" cy=\"8\" r=\"6\"/><circle cx=\"8\" cy=\"8\" r=\"3.5\"/><circle cx=\"8\" cy=\"8\" r=\"1\" fill=\"currentColor\"/>`\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"activity\",\n\t\t\t\thref: \"/activity\",\n\t\t\t\tlabel: \"Activity\",\n\t\t\t\ticon: `<path d=\"M2 8h2.5l1.5-4 2 8 1.5-5 1 3h3.5\"/>`\n\t\t\t}\n\t\t];\n\t\tconst SYSTEM_NAV = [{\n\t\t\tid: \"settings\",\n\t\t\thref: \"/settings\",\n\t\t\tlabel: \"Settings\",\n\t\t\ticon: `<circle cx=\"8\" cy=\"8\" r=\"2.2\"/><path d=\"M8 1.8v1.8M8 12.4v1.8M14.2 8h-1.8M3.6 8H1.8M12.4 3.6l-1.3 1.3M4.9 11.1l-1.3 1.3M12.4 12.4l-1.3-1.3M4.9 4.9L3.6 3.6\"/>`\n\t\t}];\n\t\tlet pathname = derived(() => store_get($$store_subs ??= {}, \"$page\", page).url.pathname);\n\t\tlet isStandaloneLanding = derived(() => pathname() === \"/\" || pathname() === \"/landing\");\n\t\tfunction isActive(href) {\n\t\t\treturn pathname() === href || pathname().startsWith(href + \"/\");\n\t\t}\n\t\tif (isStandaloneLanding()) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\tchildren($$renderer);\n\t\t\t$$renderer.push(`<!---->`);\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<div${attr_class(\"appv3\", void 0, { \"collapsed\": collapsed })}><header class=\"appv3-header\"><button class=\"toggle\"${attr(\"title\", \"Collapse sidebar\")} aria-label=\"Toggle sidebar\"><svg class=\"ic-svg\" viewBox=\"0 0 16 16\"><rect x=\"2\" y=\"3\" width=\"12\" height=\"10\" rx=\"1\"></rect><path d=\"M6 3v10\"></path></svg></button> <a class=\"brand\" href=\"/\" style=\"text-decoration: none;\"><div class=\"mk\"></div> <span>agent-profile</span> <span class=\"ver\">v0.6</span></a> <div class=\"header-crumbs\"><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(crumbs());\n\t\t\tfor (let i = 0, $$length = each_array.length; i < $$length; i++) {\n\t\t\t\tlet crumb = each_array[i];\n\t\t\t\tif (i > 0) {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<span class=\"sep\">/</span>`);\n\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<!--]--> <span${attr_class(clsx(i === crumbs().length - 1 ? \"here\" : \"\"))}>${escape_html(crumb)}</span>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></div> <div class=\"grow\"></div> `);\n\t\t\tProfileDropdown($$renderer, {\n\t\t\t\tprojectName: data.project.rootName,\n\t\t\t\tprofilePath: data.project.profilePath,\n\t\t\t\tprofileFound: data.project.profileFound,\n\t\t\t\tprofileHash: data.project.profileHash,\n\t\t\t\tsafetyMode: data.project.safetyMode\n\t\t\t});\n\t\t\t$$renderer.push(`<!----> <a class=\"header-btn\" href=\"/activity\" title=\"Activity\" aria-label=\"Activity\"><svg class=\"ic-svg\" viewBox=\"0 0 16 16\"><path d=\"M3.5 11h9l-1.2-2v-3a3.3 3.3 0 0 0-6.6 0v3z\"></path><path d=\"M6.5 13a1.5 1.5 0 0 0 3 0\"></path></svg></a> <a class=\"header-btn\" href=\"/doctor\" title=\"Doctor report\" aria-label=\"Doctor report\"><svg class=\"ic-svg\" viewBox=\"0 0 16 16\"><circle cx=\"8\" cy=\"8\" r=\"6\"></circle><path d=\"M6.3 6.3a1.7 1.7 0 0 1 3.4 0c0 1.1-1.7 1.4-1.7 2.5\"></path><circle cx=\"8\" cy=\"11.5\" r=\"0.4\" fill=\"currentColor\"></circle></svg></a></header> <aside class=\"appv3-side\">`);\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"nav-section\">workspace</div>`);\n\t\t\t$$renderer.push(`<!--]--> <!--[-->`);\n\t\t\tconst each_array_1 = ensure_array_like(WORKSPACE_NAV);\n\t\t\tfor (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\tlet n = each_array_1[$$index_1];\n\t\t\t\t$$renderer.push(`<a${attr_class(\"appv3-nav\", void 0, { \"active\": isActive(n.href) })}${attr(\"href\", n.href)}${attr(\"data-label\", n.label)}${attr(\"title\", void 0)}><svg class=\"ic-svg\" viewBox=\"0 0 16 16\">${html(n.icon)}</svg> <span class=\"nav-label\">${escape_html(n.label)}</span></a>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"nav-section\">system</div>`);\n\t\t\t$$renderer.push(`<!--]--> <!--[-->`);\n\t\t\tconst each_array_2 = ensure_array_like(SYSTEM_NAV);\n\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\tlet n = each_array_2[$$index_2];\n\t\t\t\t$$renderer.push(`<a${attr_class(\"appv3-nav\", void 0, { \"active\": isActive(n.href) })}${attr(\"href\", n.href)}${attr(\"data-label\", n.label)}${attr(\"title\", void 0)}><svg class=\"ic-svg\" viewBox=\"0 0 16 16\">${html(n.icon)}</svg> <span class=\"nav-label\">${escape_html(n.label)}</span></a>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--> <div class=\"appv3-side-foot\"><div class=\"safety-line\">`);\n\t\t\tSafetyBadge($$renderer, {\n\t\t\t\tmode: data.project.safetyMode,\n\t\t\t\tsize: \"sm\"\n\t\t\t});\n\t\t\t$$renderer.push(`<!----></div></div></aside> <main class=\"appv3-work\">`);\n\t\t\tchildren($$renderer);\n\t\t\t$$renderer.push(`<!----></main> <footer class=\"appv3-foot\"><div${attr_class(`foot-status ${data.doctor.status}`)}><span class=\"dot\"></span> <span class=\"flbl\">local</span> <span class=\"sep\">·</span> <a href=\"/doctor\">doctor ${escape_html(data.doctor.label)}</a> <span class=\"sep\">·</span> <span>${escape_html(data.doctor.errorCount)} errors</span> <span class=\"sep\">·</span> <span>${escape_html(data.doctor.warningCount)} warnings</span> `);\n\t\t\tif (data.doctor.notVerifiableCount > 0) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"sep\">·</span> <span>${escape_html(data.doctor.notVerifiableCount)} not verifiable</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--> <span class=\"sep\">·</span> <span>doctor ${escape_html(data.doctor.elapsedMs)}ms</span></div> <div class=\"foot-grow\"></div> <div class=\"foot-links\"><a href=\"/targets\">targets</a> <a href=\"/activity\">activity</a> <a href=\"/doctor\">status</a> <a href=\"/settings\">settings</a></div> <div class=\"foot-end\"><span>agent-profile</span> <span class=\"ver\">v0.6.0</span> <span class=\"lic\">MIT</span></div></footer></div>`);\n\t\t}\n\t\t$$renderer.push(`<!--]-->`);\n\t\tif ($$store_subs) unsubscribe_stores($$store_subs);\n\t});\n}\n//#endregion\nexport { _layout as default };\n"],"names":["clsx"],"mappings":";;;;;;AAIA;AACA,SAAS,eAAe,CAAC,UAAU,EAAE,OAAO,EAAE;AAC9C,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,IAAI,EAAE,WAAW,EAA6B,WAAwB,CAAC,GAAG,OAAO;AACnF,EAAE,IAAI,IAAI,GAAG,KAAK;AAClB,EAAE,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC;AAEjF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,+EAA+E,EAAE,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC,mDAAmD,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC,2BAA2B,EAAE,WAAW,CAAC,WAAW,EAAE,CAAC,CAAC,6HAA6H,CAAC,CAAC;AACrY,EAAE,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AAC/B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;AACnC,CAAC,CAAC,CAAC;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,SAAS,GAAG,MAAM;AACtB,CAAC,MAAM,QAAQ,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js","sources":["../../../.svelte-kit/adapter-node/entries/pages/profile/_page.svelte.js"],"sourcesContent":["import { H as attr, W as escape_html, a as derived, i as bind_props, n as attr_class, o as ensure_array_like, r as attr_style } from \"../../../chunks/dev.js\";\nimport { t as SafetyBadge } from \"../../../chunks/SafetyBadge.js\";\nimport { t as TrustBanner } from \"../../../chunks/TrustBanner.js\";\nimport { t as Badge } from \"../../../chunks/Badge.js\";\n//#region src/lib/components/FormSection.svelte\nfunction FormSection($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { title, aside = null, open = true, children } = $$props;\n\t\t$$renderer.push(`<section${attr_class(\"form-section\", void 0, { \"open\": open })}><button type=\"button\" class=\"head\"${attr(\"aria-expanded\", open)}${attr_style(\"\", {\n\t\t\twidth: \"100%\",\n\t\t\tborder: \"0\",\n\t\t\tbackground: \"transparent\",\n\t\t\tfont: \"inherit\",\n\t\t\tcolor: \"inherit\",\n\t\t\t\"text-align\": \"left\"\n\t\t})}><span class=\"car\">›</span> <span>${escape_html(title)}</span> `);\n\t\tif (aside) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span${attr_style(\"\", {\n\t\t\t\tcolor: \"var(--ink-4)\",\n\t\t\t\t\"margin-left\": \"auto\",\n\t\t\t\t\"font-size\": \"11px\"\n\t\t\t})}>${escape_html(aside)}</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></button> <div class=\"body\">`);\n\t\tchildren?.($$renderer);\n\t\t$$renderer.push(`<!----></div></section>`);\n\t\tbind_props($$props, { open });\n\t});\n}\n//#endregion\n//#region src/routes/profile/+page.svelte\nfunction _page($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { data } = $$props;\n\t\tlet view = derived(() => data.view);\n\t\tlet sidePane = \"summary\";\n\t\tlet effective = derived(() => view().ok ? view() : null);\n\t\tfunction permVal(v) {\n\t\t\tif (typeof v === \"string\") return v;\n\t\t\treturn v ? \"yes\" : \"no\";\n\t\t}\n\t\tfunction enabledTargetCount(profile) {\n\t\t\treturn [\n\t\t\t\tprofile.clients.tabnine.enabled,\n\t\t\t\tprofile.clients.codex.enabled,\n\t\t\t\tprofile.clients.claude.enabled\n\t\t\t].filter(Boolean).length;\n\t\t}\n\t\tfunction workflowCount(profile) {\n\t\t\treturn [\n\t\t\t\tprofile.workflow.sdd,\n\t\t\t\tprofile.workflow.tdd,\n\t\t\t\tprofile.workflow.finalReview\n\t\t\t].filter(Boolean).length;\n\t\t}\n\t\t$$renderer.push(`<div class=\"content\"><div class=\"page-intro\"><h2>Profile</h2> <p>Structured inspection for <span class=\"path\">ai-profile.yaml</span>. The\n split view keeps stack, targets, safety, and workflow visible while raw YAML\n stays opt-in. Editing and writes happen through the CLI; this page never writes.</p></div> `);\n\t\tTrustBanner($$renderer, {});\n\t\t$$renderer.push(`<!----> `);\n\t\tif (!view().ok && view().reason === \"missing\") {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"empty-state\" style=\"margin-top: 32px; text-align: center; color: var(--ink-3);\"><div style=\"font-size: 15px; margin-bottom: 12px;\">No <span class=\"path\">ai-profile.yaml</span> found in the project root.</div> <div class=\"command-callout vertical\" style=\"display: inline-flex;\"><span class=\"lbl\">create one with</span> <span class=\"cmd\">npx agent-profile init --write</span> <span class=\"lbl\">then review generated files</span> <span class=\"cmd\">npx agent-profile compile --dry-run</span> <span class=\"cmd\">npx agent-profile doctor</span></div></div>`);\n\t\t} else if (!view().ok && view().reason === \"invalid\") {\n\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t$$renderer.push(`<div class=\"warn-callout\" style=\"margin-top: 18px;\"><span class=\"icon\">!</span> The profile failed schema validation. ${escape_html(view().issues.length)} issue(s):</div> <div class=\"col\" style=\"margin-top: 10px; gap: 6px;\"><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(view().issues);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet issue = each_array[$$index];\n\t\t\t\t$$renderer.push(`<div class=\"card\"><div class=\"row\"><span class=\"badge err\"><span class=\"dot\"></span>${escape_html(issue.code)}</span> <span class=\"path\">${escape_html(issue.path)}</span></div> <div style=\"margin-top: 6px; color: var(--ink-2); font-size: 13px;\">${escape_html(issue.message)}</div></div>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t} else if (effective()) {\n\t\t\t$$renderer.push(\"<!--[2-->\");\n\t\t\t$$renderer.push(`<div class=\"profile-toolbar\"><span class=\"path\">ai-profile.yaml</span> `);\n\t\t\tBadge($$renderer, {\n\t\t\t\ttone: \"ok\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<!---->schema valid`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----> `);\n\t\t\tif (effective().hasSecretLikeContent) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\tBadge($$renderer, {\n\t\t\t\t\ttone: \"warn\",\n\t\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t\t$$renderer.push(`<!---->secrets redacted in preview`);\n\t\t\t\t\t},\n\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\tBadge($$renderer, {\n\t\t\t\t\ttone: \"muted\",\n\t\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t\t$$renderer.push(`<!---->no secrets detected`);\n\t\t\t\t\t},\n\t\t\t\t\t$$slots: { default: true }\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--> <div style=\"flex: 1;\"></div> <div class=\"seg\" aria-label=\"Profile side panel\"><button${attr_class(\"\", void 0, { \"on\": sidePane === \"summary\" })}>summary</button> <button${attr_class(\"\", void 0, { \"on\": sidePane === \"yaml\" })}>yaml</button></div> <a class=\"btn primary\" href=\"/artifacts\">View artifacts</a></div> <div class=\"profile-workspace\"><div class=\"profile-form\">`);\n\t\t\tFormSection($$renderer, {\n\t\t\t\ttitle: \"Stack\",\n\t\t\t\taside: \"auto-detected - editable in profile.yaml\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<div class=\"field\"><span class=\"lbl\">languages</span> <div class=\"val chip-row\"><!--[-->`);\n\t\t\t\t\tconst each_array_1 = ensure_array_like(effective().stack.languages);\n\t\t\t\t\tfor (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\t\tlet lang = each_array_1[$$index_1];\n\t\t\t\t\t\t$$renderer.push(`<span class=\"chip\">${escape_html(lang)}</span>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></div></div> <div class=\"field\"><span class=\"lbl\">frameworks</span> <div class=\"val chip-row\"><!--[-->`);\n\t\t\t\t\tconst each_array_2 = ensure_array_like(effective().stack.frameworks);\n\t\t\t\t\tfor (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n\t\t\t\t\t\tlet fw = each_array_2[$$index_2];\n\t\t\t\t\t\t$$renderer.push(`<span class=\"chip\">${escape_html(fw)}</span>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></div></div> <div class=\"field\"><span class=\"lbl\">package managers</span> <div class=\"val chip-row\"><!--[-->`);\n\t\t\t\t\tconst each_array_3 = ensure_array_like(effective().stack.packageManagers);\n\t\t\t\t\tfor (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n\t\t\t\t\t\tlet pm = each_array_3[$$index_3];\n\t\t\t\t\t\t$$renderer.push(`<span class=\"chip\">${escape_html(pm)}</span>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></div></div> <div class=\"field\"><span class=\"lbl\">testing</span> <div class=\"val chip-row\"><!--[-->`);\n\t\t\t\t\tconst each_array_4 = ensure_array_like(effective().stack.testing);\n\t\t\t\t\tfor (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {\n\t\t\t\t\t\tlet t = each_array_4[$$index_4];\n\t\t\t\t\t\t$$renderer.push(`<span class=\"chip\">${escape_html(t)}</span>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--></div></div>`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----> `);\n\t\t\tFormSection($$renderer, {\n\t\t\t\ttitle: \"Targets\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<div class=\"field\"><span class=\"lbl\">enabled</span> <div class=\"val chip-row\"><span${attr_class(\"chip\", void 0, { \"del\": !effective().clients.tabnine.enabled })}>tabnine ${escape_html(effective().clients.tabnine.enabled ? \"yes\" : \"no\")}</span> <span${attr_class(\"chip\", void 0, { \"del\": !effective().clients.codex.enabled })}>codex ${escape_html(effective().clients.codex.enabled ? \"yes\" : \"no\")}</span> <span${attr_class(\"chip\", void 0, { \"del\": !effective().clients.claude.enabled })}>claude ${escape_html(effective().clients.claude.enabled ? \"yes\" : \"no\")}</span> <span class=\"chip del\">cursor later</span> <span class=\"chip del\">copilot later</span></div></div>`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----> `);\n\t\t\tFormSection($$renderer, {\n\t\t\t\ttitle: \"Safety mode\",\n\t\t\t\taside: \"controls runtime defaults\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<div class=\"field\"><span class=\"lbl\">mode</span> <div class=\"val\">`);\n\t\t\t\t\tSafetyBadge($$renderer, { mode: effective().safety.mode });\n\t\t\t\t\t$$renderer.push(`<!----> <div class=\"profile-note\">Runtime permissions are owned by each agent client. This profile sets\n defaults; the client may not enforce them.</div></div></div> <div class=\"field\"><span class=\"lbl\">requires sandbox</span> <div class=\"val\">${escape_html(effective().safety.requiresSandbox ? \"yes\" : \"no\")}</div></div>`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----> `);\n\t\t\tFormSection($$renderer, {\n\t\t\t\ttitle: \"Workflow skills\",\n\t\t\t\taside: `${workflowCount(effective())} enabled`,\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<div class=\"field\"><span class=\"lbl\">enabled</span> <div class=\"val chip-row\"><span${attr_class(\"chip\", void 0, { \"del\": !effective().workflow.sdd })}>sdd-change ${escape_html(effective().workflow.sdd ? \"yes\" : \"no\")}</span> <span${attr_class(\"chip\", void 0, { \"del\": !effective().workflow.tdd })}>tdd-change ${escape_html(effective().workflow.tdd ? \"yes\" : \"no\")}</span> <span${attr_class(\"chip\", void 0, { \"del\": !effective().workflow.finalReview })}>final-review ${escape_html(effective().workflow.finalReview ? \"yes\" : \"no\")}</span></div></div>`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----> `);\n\t\t\tFormSection($$renderer, {\n\t\t\t\ttitle: \"MCP\",\n\t\t\t\taside: \"local - config-only\",\n\t\t\t\topen: false,\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<div class=\"field\"><span class=\"lbl\">mode</span> <div class=\"val\">local</div></div>`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----> `);\n\t\t\tFormSection($$renderer, {\n\t\t\t\ttitle: \"Permissions\",\n\t\t\t\taside: \"effective values\",\n\t\t\t\topen: false,\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<div class=\"field\"><span class=\"lbl\">filesystem.read</span><span class=\"val\">${escape_html(permVal(effective().permissions.filesystem.read))}</span></div> <div class=\"field\"><span class=\"lbl\">filesystem.write</span><span class=\"val\">${escape_html(permVal(effective().permissions.filesystem.write))}</span></div> <div class=\"field\"><span class=\"lbl\">shell.run</span><span class=\"val\">${escape_html(permVal(effective().permissions.shell.run))}</span></div> <div class=\"field\"><span class=\"lbl\">dependencies.install</span><span class=\"val\">${escape_html(permVal(effective().permissions.dependencies.install))}</span></div> <div class=\"field\"><span class=\"lbl\">network.external</span><span class=\"val\">${escape_html(permVal(effective().permissions.network.external))}</span></div> <div class=\"field\"><span class=\"lbl\">secrets.access</span><span class=\"val\">${escape_html(effective().permissions.secrets.access ? \"yes\" : \"no\")}</span></div> <div class=\"field\"><span class=\"lbl\">production.access</span><span class=\"val\">${escape_html(effective().permissions.production.access ? \"yes\" : \"no\")}</span></div>`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----></div> <aside class=\"profile-side\" aria-label=\"Profile side panel\"><div class=\"profile-side-head\"><span class=\"upper muted\">${escape_html(sidePane === \"summary\" ? \"profile mirror\" : \"yaml preview\")}</span> `);\n\t\t\tBadge($$renderer, {\n\t\t\t\ttone: sidePane === \"summary\" ? \"accent\" : \"warn\",\n\t\t\t\tchildren: ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`<!---->${escape_html(sidePane === \"summary\" ? \"safe default\" : \"opt-in\")}`);\n\t\t\t\t},\n\t\t\t\t$$slots: { default: true }\n\t\t\t});\n\t\t\t$$renderer.push(`<!----></div> `);\n\t\t\tif (sidePane === \"summary\") {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<div class=\"profile-summary\"><div class=\"profile-score\"><span class=\"big\">${escape_html(enabledTargetCount(effective()))}</span> <span class=\"lbl\">enabled targets</span></div> <div class=\"kv-list compact\"><span class=\"k\">profile</span> <span class=\"v\">${escape_html(effective().name)}</span> <span class=\"k\">safety</span> <span class=\"v\">`);\n\t\t\t\tSafetyBadge($$renderer, {\n\t\t\t\t\tmode: effective().safety.mode,\n\t\t\t\t\tsize: \"sm\"\n\t\t\t\t});\n\t\t\t\t$$renderer.push(`<!----></span> <span class=\"k\">workflow</span> <span class=\"v\">${escape_html(workflowCount(effective()))} skills</span> <span class=\"k\">secrets</span> <span class=\"v\">${escape_html(effective().hasSecretLikeContent ? \"redacted in preview\" : \"none detected\")}</span></div> <div class=\"command-callout vertical\"><span class=\"lbl\">next terminal checks</span> <span class=\"cmd\">npx agent-profile compile --dry-run</span> <span class=\"cmd\">npx agent-profile doctor</span></div></div>`);\n\t\t\t} else {\n\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\t$$renderer.push(`<div class=\"yaml-guard\"><span class=\"icon\">!</span> Raw YAML is shown only after choosing this pane. Secret-like content is still redacted by the server preview path.</div> <pre class=\"yaml profile-yaml\">${escape_html(effective().yaml)}</pre>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></aside></div>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--> <div class=\"warn-callout\"><span class=\"icon\">!</span> Never store API keys or secrets in <span class=\"path\">ai-profile.yaml</span>.\n Use environment variables and reference them by name.</div></div>`);\n\t});\n}\n//#endregion\nexport { _page as default };\n"],"names":[],"mappings":";;;;AAIA;AACA,SAAS,WAAW,CAAC,UAAU,EAAE,OAAO,EAAE;AAC1C,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO;AAC9D,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,mCAAmC,EAAE,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,EAAE;AACpK,GAAG,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