@a-company/paradigm 5.10.0 → 5.21.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/dist/accept-orchestration-IUAWQZUN.js +18 -0
- package/dist/add-P76GEMGF.js +8 -0
- package/dist/agent-UUTYOFTH.js +33 -0
- package/dist/agent-loader-EPXURMO7.js +2 -0
- package/dist/agent-loader-PYGPX6D2.js +2 -0
- package/dist/agent-state-KSQ3S7OB.js +2 -0
- package/dist/agents-suggest-HYTFMQD3.js +10 -0
- package/dist/aggregate-W66DM3GA.js +10 -0
- package/dist/ambient-HYZR42NX.js +35 -0
- package/dist/assess-UFPYEJKP.js +9 -0
- package/dist/auto-RHJXOZFL.js +14 -0
- package/dist/beacon-5QVYV5DF.js +13 -0
- package/dist/calibration-OLJYB5HN.js +7 -0
- package/dist/check-THVGY4R5.js +14 -0
- package/dist/chunk-22ISTMKI.js +31 -0
- package/dist/chunk-2QO33NYK.js +3 -0
- package/dist/chunk-33LKBMVK.js +134 -0
- package/dist/chunk-4QADCWPU.js +7 -0
- package/dist/chunk-4TXOVRWD.js +3 -0
- package/dist/chunk-4UJ4NIEQ.js +4 -0
- package/dist/chunk-4ZGGWZ32.js +3 -0
- package/dist/chunk-5TAVYPOV.js +2 -0
- package/dist/chunk-6EX37L4Q.js +8 -0
- package/dist/chunk-AD5TAD2A.js +5 -0
- package/dist/chunk-AGVAHVUA.js +2 -0
- package/dist/chunk-AO7ZSRME.js +13 -0
- package/dist/chunk-BFD3GFRK.js +2 -0
- package/dist/chunk-D34YFK4M.js +6 -0
- package/dist/chunk-DVZWCXB6.js +2 -0
- package/dist/chunk-EKZDFEJW.js +2 -0
- package/dist/chunk-ET5XJTSX.js +2 -0
- package/dist/chunk-FYDRENK7.js +3 -0
- package/dist/chunk-HMQ5BHP2.js +743 -0
- package/dist/chunk-HXKWL3VK.js +29 -0
- package/dist/chunk-IZSBGW6E.js +2 -0
- package/dist/chunk-J32OPJEX.js +2 -0
- package/dist/chunk-JBDMCRPP.js +7 -0
- package/dist/chunk-JIXHEBGK.js +7 -0
- package/dist/chunk-JNSJVCTU.js +2 -0
- package/dist/chunk-JQKKVAAN.js +2 -0
- package/dist/chunk-KLBH26PA.js +429 -0
- package/dist/chunk-L6K5HNDL.js +24 -0
- package/dist/chunk-LKAT7IAK.js +2 -0
- package/dist/chunk-M4UMM6DC.js +5 -0
- package/dist/chunk-NKYNHSA5.js +424 -0
- package/dist/chunk-NW6OKHE6.js +5 -0
- package/dist/chunk-NXRVR37G.js +60 -0
- package/dist/chunk-ODVKPZZ4.js +2 -0
- package/dist/chunk-PUBB7LIT.js +5 -0
- package/dist/chunk-Q2J542ST.js +2 -0
- package/dist/chunk-QGZRM6ZB.js +2 -0
- package/dist/chunk-QNZEG7IT.js +13 -0
- package/dist/chunk-QT2LKB3P.js +7 -0
- package/dist/chunk-RVRARWSY.js +9 -0
- package/dist/chunk-T6IDXUUA.js +2 -0
- package/dist/chunk-TYWB5IQJ.js +3 -0
- package/dist/chunk-UIKLE3WD.js +2 -0
- package/dist/chunk-V7K6CQVX.js +111 -0
- package/dist/chunk-VCKKJDLP.js +8 -0
- package/dist/chunk-VG7FN2TU.js +4 -0
- package/dist/chunk-W5IWDW4Y.js +16 -0
- package/dist/chunk-W7C6FFMO.js +8 -0
- package/dist/chunk-WESTEMIM.js +10 -0
- package/dist/chunk-WR6D3SC6.js +5 -0
- package/dist/chunk-WS2N27RX.js +3 -0
- package/dist/chunk-XMAV5AG6.js +2 -0
- package/dist/chunk-XROULIQN.js +2 -0
- package/dist/chunk-XUFYOXOU.js +3 -0
- package/dist/chunk-Y4XFVDZC.js +3 -0
- package/dist/chunk-Y6KXTQBG.js +2 -0
- package/dist/{chunk-GTR2TBIJ.js → chunk-Z2UZUCY6.js} +237 -1047
- package/dist/chunk-Z34K6GY2.js +8 -0
- package/dist/claude-4LR3LJQZ.js +13 -0
- package/dist/claude-cli-UP6HGH7C.js +6 -0
- package/dist/claude-code-RLJ4GX77.js +11 -0
- package/dist/claude-code-teams-R37HJY3Y.js +29 -0
- package/dist/commands-LMUD5L6R.js +455 -0
- package/dist/compliance-GZ7UAOG3.js +6 -0
- package/dist/conductor-Y5IXELTL.js +4 -0
- package/dist/config-schema-HR7LDEQ6.js +2 -0
- package/dist/constellation-CG7C4WFE.js +13 -0
- package/dist/context-audit-RSSRX6XC.js +6 -0
- package/dist/cost-IDNVMAEV.js +10 -0
- package/dist/cost-PK4KIF7R.js +2 -0
- package/dist/cursor-cli-QKF7Z6M2.js +4 -0
- package/dist/cursorrules-U5O4G5T4.js +14 -0
- package/dist/decision-loader-2XPZE4EZ.js +2 -0
- package/dist/delete-P5VULXR4.js +14 -0
- package/dist/diff-RTFUKJHF.js +9 -0
- package/dist/discipline-H7LDI6NT.js +2 -0
- package/dist/dist-3ZCH25SG.js +2 -0
- package/dist/dist-KGRCLBJP-2QAPFYNF.js +39 -0
- package/dist/dist-R3RWD35F.js +2 -0
- package/dist/dist-VGFSP3XM.js +2 -0
- package/dist/dist-VXCZWVVJ.js +2 -0
- package/dist/dist-W3XCATBJ.js +2 -0
- package/dist/docs-EDQ2STFK.js +2 -0
- package/dist/docs-RXPN6CK7.js +12 -0
- package/dist/doctor-2T2QL6VM.js +2 -0
- package/dist/drift-ILZE5BFJ.js +13 -0
- package/dist/echo-UPTQUEDU.js +46 -0
- package/dist/edit-GUU3HBVW.js +9 -0
- package/dist/event-Y3VXC2RV.js +3 -0
- package/dist/explain-files-3GPZUETV.js +4 -0
- package/dist/export-CV5KCTPS.js +2 -0
- package/dist/flow-S3RQ4YPY.js +11 -0
- package/dist/global-C44FW4G2.js +13 -0
- package/dist/graduate-3BBSC27A.js +5 -0
- package/dist/graph-CNDE5TAT.js +2 -0
- package/dist/graph-server-COZR5C3Z.js +14 -0
- package/dist/habits-4J2KRYUL.js +42 -0
- package/dist/history-UW454SDP.js +12 -0
- package/dist/hooks-XH52VGOU.js +2 -0
- package/dist/index.js +15 -1039
- package/dist/init-24MAQJFM.js +2 -0
- package/dist/integrity-UYDOOJDP.js +7 -0
- package/dist/integrity-checker-DHGMZQDG.js +2 -0
- package/dist/journal-loader-GLH7XFTK.js +2 -0
- package/dist/lint-IGKE6UPS.js +26 -0
- package/dist/list-5IUGP3ZB.js +7 -0
- package/dist/list-YKIQNKGB.js +6 -0
- package/dist/lore-loader-RVQI5GXL.js +2 -0
- package/dist/lore-loader-XY5MZRR2.js +2 -0
- package/dist/lore-server-FC2GMDLT.js +14 -0
- package/dist/manual-RXSPSFLL.js +20 -0
- package/dist/mcp.js +93 -20484
- package/dist/migrate-X5OMAFAQ.js +59 -0
- package/dist/migrate-assessments-GEI5WMI2.js +4 -0
- package/dist/model-discovery-HMB3YI4L.js +2 -0
- package/dist/nomination-engine-XF7TWPAP.js +2 -0
- package/dist/notebook-PE3JSYZI.js +11 -0
- package/dist/notebook-loader-CENTDDUJ.js +2 -0
- package/dist/orchestrate-35HBQ3O3.js +8 -0
- package/dist/peers-P2KXU7ZK.js +5 -0
- package/dist/persona-STQWZH5P.js +29 -0
- package/dist/pipeline-MZUITRVN.js +4 -0
- package/dist/platform-server-2KXHGHFV.js +25 -0
- package/dist/plugin-update-checker-M7PW434O.js +2 -0
- package/dist/portal-check-3JVNLOEP.js +8 -0
- package/dist/portal-compliance-2UG4VKWH.js +2 -0
- package/dist/probe-5L5BQDGE.js +6 -0
- package/dist/project-type-SURTOIG7.js +2 -0
- package/dist/promote-NJQDZBZA.js +8 -0
- package/dist/providers-4PXMWA7V.js +8 -0
- package/dist/quiz-FE5UGAY2.js +10 -0
- package/dist/record-YXPB34MY.js +6 -0
- package/dist/reindex-PGDQSM42.js +2 -0
- package/dist/remember-MJRNTXYS.js +14 -0
- package/dist/retag-N5XF3KXP.js +6 -0
- package/dist/review-6UAH6V3R.js +11 -0
- package/dist/review-77QI6VOC.js +6 -0
- package/dist/ripple-ZGDITCGB.js +10 -0
- package/dist/roster-FLRZ5J42.js +2 -0
- package/dist/sentinel-HYAZ3CO5.js +19 -0
- package/dist/sentinel-bridge-VR357PKL.js +2 -0
- package/dist/sentinel-mcp.js +38 -3808
- package/dist/sentinel.js +1 -34
- package/dist/serve-JE6UF5P2.js +8 -0
- package/dist/serve-L52ZUTU6.js +10 -0
- package/dist/serve-OY6XYL7F.js +12 -0
- package/dist/server-2MNROHF6.js +7 -0
- package/dist/server-4YNUIK4W.js +8 -0
- package/dist/session-tracker-SKOMBDOW.js +2 -0
- package/dist/session-work-log-3MNUDEZ6.js +2 -0
- package/dist/session-work-log-J2H5OZBR.js +2 -0
- package/dist/setup-3F5IK7MO.js +31 -0
- package/dist/setup-KPIMRZ4Q.js +2 -0
- package/dist/shift-6GCNH666.js +11 -0
- package/dist/show-BOAVWZPZ.js +7 -0
- package/dist/show-PJ5LFLIL.js +5 -0
- package/dist/snapshot-L2G56RPL.js +8 -0
- package/dist/spawn-UH5RENSE.js +12 -0
- package/dist/status-77M3SDIF.js +8 -0
- package/dist/status-A37ECYNJ.js +6 -0
- package/dist/summary-ZJLQ6KHB.js +7 -0
- package/dist/sweep-HU74OPVW.js +17 -0
- package/dist/switch-CTW4PDGI.js +17 -0
- package/dist/symphony-3QMBGCZY.js +2 -0
- package/dist/symphony-QI63XL62.js +53 -0
- package/dist/symphony-loader-XACVV2E3.js +2 -0
- package/dist/symphony-peers-U4KHMKGI.js +2 -0
- package/dist/symphony-peers-X5NGWXFP.js +2 -0
- package/dist/symphony-relay-5GY5JIPT.js +3 -0
- package/dist/sync-QRDSFETO.js +2 -0
- package/dist/sync-llms-HL5PPW3M.js +15 -0
- package/dist/task-loader-NZFDTUQ5.js +2 -0
- package/dist/team-WGERKGNP.js +2 -0
- package/dist/test-BQJMS4Y2.js +111 -0
- package/dist/thread-HFXK65D4.js +41 -0
- package/dist/timeline-K3ZFKJ3R.js +6 -0
- package/dist/triage-FCWOZASE.js +18 -0
- package/dist/tutorial-UC6YQMNN.js +305 -0
- package/dist/university-content/courses/.purpose +74 -5
- package/dist/university-content/courses/para-701.json +807 -0
- package/dist/university-content/plsat/.purpose +3 -2
- package/dist/university-ui/assets/{index-BjewBB6s.js → index-CGFJczb1.js} +2 -2
- package/dist/university-ui/assets/{index-BjewBB6s.js.map → index-CGFJczb1.js.map} +1 -1
- package/dist/university-ui/index.html +1 -1
- package/dist/upgrade-B4IOLZYK.js +53 -0
- package/dist/validate-C6SMKGYD.js +9 -0
- package/dist/validate-LSCDOLBO.js +13 -0
- package/dist/validate-VZXTJHGO.js +6 -0
- package/dist/watch-LRM5XD46.js +8 -0
- package/dist/watch-PZCCUP6K.js +9 -0
- package/dist/wisdom-XZ3QKPNP.js +7 -0
- package/dist/work-log-loader-DL5GZ2BQ.js +2 -0
- package/dist/workspace-2ODL5WLY.js +2 -0
- package/package.json +1 -1
- package/platform-ui/dist/assets/AmbientSection-DqQ2mfCO.js +1 -0
- package/platform-ui/dist/assets/{CanvasSection-DwPTRdIN.js → CanvasSection-DLW0s-Bu.js} +1 -1
- package/platform-ui/dist/assets/{DocsSection-BJc_ws4I.js → DocsSection-BQ9Hi51g.js} +1 -1
- package/platform-ui/dist/assets/{GitSection-DhqBo1xc.js → GitSection-QQeUX6o3.js} +1 -1
- package/platform-ui/dist/assets/{GraphSection-D9fhVnZ0.js → GraphSection-0c9C-w7K.js} +2 -2
- package/platform-ui/dist/assets/{GraphSection-BlgXTl53.css → GraphSection-Bbs2a8sC.css} +1 -1
- package/platform-ui/dist/assets/LoreSection--t56kCj2.js +1 -0
- package/platform-ui/dist/assets/LoreSection-qnmm3o4y.css +1 -0
- package/platform-ui/dist/assets/SentinelSection-C4OoME9U.js +1 -0
- package/platform-ui/dist/assets/{SymphonySection-BRoBaUSS.js → SymphonySection-B-rvsLxq.js} +1 -1
- package/platform-ui/dist/assets/TeamSection-CBFmNEEo.js +1 -0
- package/platform-ui/dist/assets/index-Bxp0TVaf.css +1 -0
- package/platform-ui/dist/assets/index-DPpOdAtC.js +57 -0
- package/platform-ui/dist/index.html +2 -2
- package/dist/accept-orchestration-UQLM7PTQ.js +0 -189
- package/dist/add-FZRKEGH4.js +0 -81
- package/dist/agent-WERIO2XV.js +0 -523
- package/dist/agent-loader-TFIANSF4.js +0 -44
- package/dist/agent-state-S5DAWPTF.js +0 -24
- package/dist/agents-suggest-DNSYJ6IA.js +0 -83
- package/dist/aggregate-H57K7PNV.js +0 -88
- package/dist/assess-4WVXZLZQ.js +0 -68
- package/dist/auto-QFS5NHQU.js +0 -504
- package/dist/beacon-KXZXYQHX.js +0 -251
- package/dist/calibration-V46G7JTY.js +0 -135
- package/dist/check-OWAIWV23.js +0 -175
- package/dist/chunk-2IO7JAG2.js +0 -148
- package/dist/chunk-2T6BTYBN.js +0 -712
- package/dist/chunk-36TKPM5Z.js +0 -400
- package/dist/chunk-45MUDW6E.js +0 -804
- package/dist/chunk-4BLYIB7J.js +0 -5701
- package/dist/chunk-4L3UTYQX.js +0 -677
- package/dist/chunk-4NCFWYGG.js +0 -110
- package/dist/chunk-54LTTQBH.js +0 -138
- package/dist/chunk-5EWAQHFY.js +0 -269
- package/dist/chunk-5JGJACDU.js +0 -37
- package/dist/chunk-5OUOLN6M.js +0 -659
- package/dist/chunk-5VKJBNJL.js +0 -444
- package/dist/chunk-6N3JTACN.js +0 -2260
- package/dist/chunk-6QC3YGB6.js +0 -114
- package/dist/chunk-7N7GSU6K.js +0 -34
- package/dist/chunk-ABVQGRF7.js +0 -268
- package/dist/chunk-CL7JSK52.js +0 -129
- package/dist/chunk-CSD7IHSN.js +0 -152
- package/dist/chunk-EDOAWN7J.js +0 -717
- package/dist/chunk-EKGMAM62.js +0 -525
- package/dist/chunk-EZ3GOCYC.js +0 -132
- package/dist/chunk-F3BCHPYT.js +0 -143
- package/dist/chunk-FKJUBQU3.js +0 -3081
- package/dist/chunk-GT5QGC2H.js +0 -253
- package/dist/chunk-GZDFVP2N.js +0 -540
- package/dist/chunk-IRKUEJVW.js +0 -405
- package/dist/chunk-J2JEQRT3.js +0 -164
- package/dist/chunk-JASGXLK3.js +0 -679
- package/dist/chunk-KVDYJLTC.js +0 -121
- package/dist/chunk-L27I3CPZ.js +0 -357
- package/dist/chunk-LHLIAYQ3.js +0 -185
- package/dist/chunk-MCMOGQMU.js +0 -145
- package/dist/chunk-NQKQG45G.js +0 -688
- package/dist/chunk-PBHIFAL4.js +0 -259
- package/dist/chunk-PDX44BCA.js +0 -11
- package/dist/chunk-PMXRGPRQ.js +0 -305
- package/dist/chunk-RAB5IKPR.js +0 -487
- package/dist/chunk-RJE5G7WO.js +0 -590
- package/dist/chunk-RTHA3XRE.js +0 -880
- package/dist/chunk-S2HO5MLR.js +0 -621
- package/dist/chunk-S3ORKP3V.js +0 -716
- package/dist/chunk-TAIJOFOE.js +0 -124
- package/dist/chunk-TXESEO7Y.js +0 -245
- package/dist/chunk-UPLDI7CN.js +0 -1334
- package/dist/chunk-VL67H5IC.js +0 -506
- package/dist/chunk-VPPK3SY4.js +0 -1136
- package/dist/chunk-YMDLDELF.js +0 -314
- package/dist/chunk-YO6DVTL7.js +0 -99
- package/dist/chunk-YRZ5RPEB.js +0 -1561
- package/dist/chunk-ZDHLG5VP.js +0 -5676
- package/dist/chunk-ZGUAAVMA.js +0 -756
- package/dist/chunk-ZSYVKSY6.js +0 -2602
- package/dist/claude-FRRWJSTJ.js +0 -362
- package/dist/claude-cli-XJLK2X4L.js +0 -276
- package/dist/claude-code-HTBA4XRB.js +0 -126
- package/dist/claude-code-teams-T4SP24MD.js +0 -199
- package/dist/commands-5N4ILTPH.js +0 -5859
- package/dist/conductor-CQVGTEQN.js +0 -161
- package/dist/config-schema-EA4XALGG.js +0 -154
- package/dist/constellation-A26CCGQS.js +0 -225
- package/dist/context-audit-RLO3ETRP.js +0 -682
- package/dist/cost-BGM32XJU.js +0 -93
- package/dist/cost-VI46A4XL.js +0 -174
- package/dist/cursor-cli-JVEZGHWQ.js +0 -269
- package/dist/cursorrules-HLIKJJZT.js +0 -84
- package/dist/decision-loader-WWCLIQPJ.js +0 -20
- package/dist/delete-KBRPQLPC.js +0 -56
- package/dist/diff-D4X53HAC.js +0 -126
- package/dist/discipline-FA4OZXIS.js +0 -24
- package/dist/dist-34NA5RS5.js +0 -74
- package/dist/dist-5QE2BB2B-5S3T6Y3T.js +0 -6919
- package/dist/dist-77JDTVAY.js +0 -62
- package/dist/dist-OGTSAZ55.js +0 -1358
- package/dist/dist-QK4SQAK7.js +0 -64
- package/dist/dist-TA6LSC2Q.js +0 -20
- package/dist/docs-PBZB7LYP.js +0 -89
- package/dist/docs-QIYKO3BR.js +0 -155
- package/dist/doctor-ULBOHEIC.js +0 -11
- package/dist/drift-R5NRKFHI.js +0 -251
- package/dist/echo-O2LY7CC2.js +0 -248
- package/dist/edit-R2HNLMOG.js +0 -63
- package/dist/event-25OJKDCE.js +0 -31
- package/dist/export-IWVL7XLF.js +0 -38
- package/dist/flow-CRRVV3O3.js +0 -185
- package/dist/global-3NG5JXUB.js +0 -136
- package/dist/graduate-USAWGBJM.js +0 -160
- package/dist/graph-VHUMAAS6.js +0 -12
- package/dist/graph-server-YL22VBBN.js +0 -116
- package/dist/habits-OL5NGPXO.js +0 -1405
- package/dist/history-WOWC573W.js +0 -277
- package/dist/hooks-HFWSCGPV.js +0 -12
- package/dist/integrity-IHO4FZTS.js +0 -194
- package/dist/integrity-checker-PSKJA5SB.js +0 -12
- package/dist/journal-loader-5EYSBFFY.js +0 -18
- package/dist/lint-K6CJGGPH.js +0 -456
- package/dist/list-4YK7QKFF.js +0 -57
- package/dist/list-ENR7Q4CR.js +0 -56
- package/dist/lore-loader-7NO6N6FT.js +0 -26
- package/dist/lore-server-UNJY5KC3.js +0 -118
- package/dist/manual-G6FISID5.js +0 -204
- package/dist/migrate-LS45DNEV.js +0 -889
- package/dist/migrate-assessments-RGH4O6IX.js +0 -97
- package/dist/model-discovery-D2H3VBGC.js +0 -8
- package/dist/nomination-engine-RV5CNO5B.js +0 -42
- package/dist/notebook-YWIYGEHV.js +0 -155
- package/dist/orchestrate-JLILBBJE.js +0 -324
- package/dist/peers-DEOUIZM6.js +0 -82
- package/dist/persona-UHAHIVST.js +0 -390
- package/dist/pipeline-L4HCSBGN.js +0 -263
- package/dist/platform-server-H5YO3DQD.js +0 -1475
- package/dist/plugin-update-checker-KRRSGXMV.js +0 -12
- package/dist/portal-check-NPYGII2D.js +0 -42
- package/dist/portal-compliance-J7DGAPFX.js +0 -18
- package/dist/probe-MHL5HQZ2.js +0 -167
- package/dist/promote-F6ZYZZAL.js +0 -182
- package/dist/providers-GK7PB2OL.js +0 -104
- package/dist/quiz-M66SC7F7.js +0 -99
- package/dist/record-RA4WR2BO.js +0 -49
- package/dist/reindex-5LTD53ZC.js +0 -16
- package/dist/remember-HBWJ655S.js +0 -77
- package/dist/retag-3OLCVDEQ.js +0 -62
- package/dist/review-27ATYTD2.js +0 -33
- package/dist/review-57QMURZV.js +0 -334
- package/dist/ripple-JPBXP5I3.js +0 -215
- package/dist/sentinel-4XIG4STA.js +0 -63
- package/dist/sentinel-bridge-MDUXTQRL.js +0 -109
- package/dist/serve-CAH3PHE7.js +0 -33
- package/dist/serve-INL7SNBK.js +0 -36
- package/dist/serve-KBSE36PL.js +0 -49
- package/dist/server-54SKYFFY.js +0 -1647
- package/dist/server-XUOIO7E6.js +0 -338
- package/dist/session-tracker-C4BMD5WG.js +0 -13
- package/dist/session-work-log-MZ47OAPB.js +0 -20
- package/dist/setup-EDS27WUR.js +0 -25
- package/dist/setup-KO5AFC4K.js +0 -296
- package/dist/shift-D2JOHHBF.js +0 -668
- package/dist/show-5PV5KFJE.js +0 -176
- package/dist/show-NQKYX6WQ.js +0 -82
- package/dist/snapshot-BK4RBPCG.js +0 -62
- package/dist/spawn-RCHNXDHE.js +0 -196
- package/dist/status-WGIAQODY.js +0 -71
- package/dist/summary-NIRABMF5.js +0 -140
- package/dist/sweep-QMHNSIY5.js +0 -934
- package/dist/switch-6EJPZDIA.js +0 -232
- package/dist/symphony-4OCY36AI.js +0 -791
- package/dist/symphony-B75X2MME.js +0 -326
- package/dist/symphony-loader-UZGON56V.js +0 -90
- package/dist/symphony-peers-2ZQYLRNI.js +0 -34
- package/dist/symphony-peers-OL7F6M5S.js +0 -121
- package/dist/symphony-relay-UJYUXN65.js +0 -710
- package/dist/sync-VEHUH4OA.js +0 -11
- package/dist/sync-llms-YHCFIE6X.js +0 -166
- package/dist/task-loader-LDYWQSLM.js +0 -20
- package/dist/team-O5MIIFMA.js +0 -34
- package/dist/test-566CP5KC.js +0 -1017
- package/dist/thread-N754I4D5.js +0 -274
- package/dist/timeline-M3CICQFE.js +0 -112
- package/dist/triage-HHYGT3HY.js +0 -671
- package/dist/tutorial-KD22SUNO.js +0 -666
- package/dist/upgrade-H5PF32BW.js +0 -551
- package/dist/validate-CNKEKO6A.js +0 -134
- package/dist/validate-MB5ULIHS.js +0 -39
- package/dist/validate-QH3LADM6.js +0 -64
- package/dist/watch-2TKP5PVL.js +0 -199
- package/dist/watch-ZF4ML6CD.js +0 -111
- package/dist/wisdom-AATMGNFA.js +0 -319
- package/dist/work-log-loader-5L45XNYZ.js +0 -14
- package/dist/workspace-6E6OSRNU.js +0 -21
- package/platform-ui/dist/assets/AmbientSection-WtHfNedO.js +0 -1
- package/platform-ui/dist/assets/LoreSection-C3EixkjW.css +0 -1
- package/platform-ui/dist/assets/LoreSection-CwDDHrz9.js +0 -1
- package/platform-ui/dist/assets/SentinelSection-Cl7e5oZ6.js +0 -1
- package/platform-ui/dist/assets/TeamSection-CqSIMrKz.js +0 -1
- package/platform-ui/dist/assets/index-CfpZFjea.css +0 -1
- package/platform-ui/dist/assets/index-F0KL9xrN.js +0 -57
package/dist/lint-K6CJGGPH.js
DELETED
|
@@ -1,456 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
findPurposeFiles,
|
|
4
|
-
parsePurposeFileDetailed,
|
|
5
|
-
serializePurposeFile,
|
|
6
|
-
validatePurposeFile
|
|
7
|
-
} from "./chunk-EDOAWN7J.js";
|
|
8
|
-
import {
|
|
9
|
-
log
|
|
10
|
-
} from "./chunk-4NCFWYGG.js";
|
|
11
|
-
import "./chunk-PDX44BCA.js";
|
|
12
|
-
|
|
13
|
-
// src/commands/lint.ts
|
|
14
|
-
import * as fs from "fs";
|
|
15
|
-
import * as path from "path";
|
|
16
|
-
import chalk from "chalk";
|
|
17
|
-
import ora from "ora";
|
|
18
|
-
function getSuggestion(error) {
|
|
19
|
-
const msg = error.message.toLowerCase();
|
|
20
|
-
if (msg.includes("expected object, received array") && error.path?.includes("features")) {
|
|
21
|
-
return 'Convert to object format: features: { feature-name: { description: "..." } }';
|
|
22
|
-
}
|
|
23
|
-
if (msg.includes("expected object, received array") && error.path?.includes("components")) {
|
|
24
|
-
return 'Convert to object format: components: { component-name: { description: "..." } }';
|
|
25
|
-
}
|
|
26
|
-
if (msg.includes("has no description")) {
|
|
27
|
-
return "Add a description field to help AI understand this item";
|
|
28
|
-
}
|
|
29
|
-
if (msg.includes("should use alphanumeric")) {
|
|
30
|
-
return "Use kebab-case: my-feature-name (lowercase, hyphens)";
|
|
31
|
-
}
|
|
32
|
-
if (msg.includes("references unknown")) {
|
|
33
|
-
return "Define the symbol in a .purpose file or remove the reference";
|
|
34
|
-
}
|
|
35
|
-
if (msg.includes("yaml syntax") || msg.includes("bad indentation")) {
|
|
36
|
-
return "Check indentation (use 2 spaces) and YAML syntax";
|
|
37
|
-
}
|
|
38
|
-
return void 0;
|
|
39
|
-
}
|
|
40
|
-
function isMarkdownFormat(content) {
|
|
41
|
-
const lines = content.trim().split("\n");
|
|
42
|
-
const hasMarkdownHeader = lines.some((l) => /^#+\s/.test(l));
|
|
43
|
-
const hasNoYamlStructure = !content.includes(":") || lines[0].startsWith("#") || lines[0].startsWith("@");
|
|
44
|
-
return hasMarkdownHeader || hasNoYamlStructure && !content.trim().startsWith("---");
|
|
45
|
-
}
|
|
46
|
-
function convertMarkdownToYaml(content, filePath) {
|
|
47
|
-
const lines = content.trim().split("\n");
|
|
48
|
-
const dirName = path.basename(path.dirname(filePath));
|
|
49
|
-
let description = "";
|
|
50
|
-
for (const line of lines) {
|
|
51
|
-
if (!line.startsWith("#") && !line.startsWith("@") && line.trim()) {
|
|
52
|
-
description = line.trim();
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
if (line.startsWith("#")) {
|
|
56
|
-
description = line.replace(/^#+\s*/, "").trim();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return `# Auto-converted from markdown format
|
|
60
|
-
description: "${description || `Purpose file for ${dirName}`}"
|
|
61
|
-
|
|
62
|
-
# TODO: Add features and components
|
|
63
|
-
# features:
|
|
64
|
-
# feature-name:
|
|
65
|
-
# description: "What this feature does"
|
|
66
|
-
|
|
67
|
-
# components:
|
|
68
|
-
# component-name:
|
|
69
|
-
# description: "What this component does"
|
|
70
|
-
`;
|
|
71
|
-
}
|
|
72
|
-
function autoQuoteSpecialChars(content) {
|
|
73
|
-
return content.replace(
|
|
74
|
-
/\[\s*([^\]]+)\s*\]/g,
|
|
75
|
-
(_match, arrayContent) => {
|
|
76
|
-
const items = arrayContent.split(",").map((item) => {
|
|
77
|
-
const trimmed = item.trim();
|
|
78
|
-
if (/^[#@$^!%]/.test(trimmed) && !trimmed.startsWith('"') && !trimmed.startsWith("'")) {
|
|
79
|
-
return `"${trimmed}"`;
|
|
80
|
-
}
|
|
81
|
-
return trimmed;
|
|
82
|
-
});
|
|
83
|
-
return `[${items.join(", ")}]`;
|
|
84
|
-
}
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
function attemptFix(filePath, errors) {
|
|
88
|
-
try {
|
|
89
|
-
let content = fs.readFileSync(filePath, "utf8");
|
|
90
|
-
let modified = false;
|
|
91
|
-
if (isMarkdownFormat(content)) {
|
|
92
|
-
content = convertMarkdownToYaml(content, filePath);
|
|
93
|
-
modified = true;
|
|
94
|
-
}
|
|
95
|
-
const hasUnquotedSymbols = errors.some(
|
|
96
|
-
(e) => e.message.includes("tag suffix") || e.message.includes("flow indicator") || e.message.includes("missed comma")
|
|
97
|
-
);
|
|
98
|
-
if (hasUnquotedSymbols || content.match(/\[[^\]]*[#@$^!%][^\]"']*\]/)) {
|
|
99
|
-
const quoted = autoQuoteSpecialChars(content);
|
|
100
|
-
if (quoted !== content) {
|
|
101
|
-
content = quoted;
|
|
102
|
-
modified = true;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
if (modified) {
|
|
106
|
-
const tempPath = filePath + ".tmp";
|
|
107
|
-
fs.writeFileSync(tempPath, content);
|
|
108
|
-
const result2 = parsePurposeFileDetailed(tempPath);
|
|
109
|
-
fs.unlinkSync(tempPath);
|
|
110
|
-
if (result2.isYamlValid && result2.data) {
|
|
111
|
-
return serializePurposeFile(result2.data);
|
|
112
|
-
}
|
|
113
|
-
return content;
|
|
114
|
-
}
|
|
115
|
-
const result = parsePurposeFileDetailed(filePath);
|
|
116
|
-
if (result.isYamlValid && result.data) {
|
|
117
|
-
const fixed = serializePurposeFile(result.data);
|
|
118
|
-
if (fixed.trim() !== content.trim()) {
|
|
119
|
-
return fixed;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return null;
|
|
123
|
-
} catch {
|
|
124
|
-
return null;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
function lintFile(filePath, rootDir, options) {
|
|
128
|
-
const relativePath = path.relative(rootDir, filePath);
|
|
129
|
-
const errors = [];
|
|
130
|
-
const warnings = [];
|
|
131
|
-
let fixed = false;
|
|
132
|
-
const parseResult = parsePurposeFileDetailed(filePath);
|
|
133
|
-
for (const error of parseResult.detailedErrors || []) {
|
|
134
|
-
const issue = {
|
|
135
|
-
message: error.message,
|
|
136
|
-
line: error.line,
|
|
137
|
-
path: error.path,
|
|
138
|
-
type: error.type === "yaml" || error.type === "file" ? "error" : "error",
|
|
139
|
-
suggestion: getSuggestion(error),
|
|
140
|
-
fixable: error.type === "schema"
|
|
141
|
-
// Schema errors might be fixable
|
|
142
|
-
};
|
|
143
|
-
errors.push(issue);
|
|
144
|
-
}
|
|
145
|
-
if (parseResult.data) {
|
|
146
|
-
const validationResult = validatePurposeFile(parseResult.data, relativePath);
|
|
147
|
-
for (const issue of validationResult.issues) {
|
|
148
|
-
const lintIssue = {
|
|
149
|
-
message: issue.message,
|
|
150
|
-
path: issue.path,
|
|
151
|
-
type: issue.type,
|
|
152
|
-
suggestion: getSuggestion(issue),
|
|
153
|
-
fixable: false
|
|
154
|
-
};
|
|
155
|
-
if (issue.type === "error") {
|
|
156
|
-
errors.push(lintIssue);
|
|
157
|
-
} else {
|
|
158
|
-
warnings.push(lintIssue);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
if (options.fix && errors.length > 0) {
|
|
163
|
-
const fixedContent = attemptFix(filePath, errors);
|
|
164
|
-
if (fixedContent) {
|
|
165
|
-
fs.writeFileSync(filePath, fixedContent);
|
|
166
|
-
fixed = true;
|
|
167
|
-
const reparse = parsePurposeFileDetailed(filePath);
|
|
168
|
-
if (reparse.detailedErrors && reparse.detailedErrors.length < errors.length) {
|
|
169
|
-
errors.length = 0;
|
|
170
|
-
warnings.length = 0;
|
|
171
|
-
for (const error of reparse.detailedErrors || []) {
|
|
172
|
-
errors.push({
|
|
173
|
-
message: error.message,
|
|
174
|
-
line: error.line,
|
|
175
|
-
path: error.path,
|
|
176
|
-
type: "error",
|
|
177
|
-
suggestion: getSuggestion(error)
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
const valid = errors.length === 0 && (!options.strict || warnings.length === 0);
|
|
184
|
-
return {
|
|
185
|
-
path: filePath,
|
|
186
|
-
relativePath,
|
|
187
|
-
valid,
|
|
188
|
-
errors,
|
|
189
|
-
warnings,
|
|
190
|
-
fixed
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
function formatIssue(issue, indent = " ") {
|
|
194
|
-
const lines = [];
|
|
195
|
-
const icon = issue.type === "error" ? chalk.red("\u2717") : chalk.yellow("\u26A0");
|
|
196
|
-
const lineInfo = issue.line ? chalk.gray(` (line ${issue.line})`) : "";
|
|
197
|
-
const pathInfo = issue.path ? chalk.gray(` at ${issue.path}`) : "";
|
|
198
|
-
lines.push(`${indent}${icon} ${issue.message}${lineInfo}${pathInfo}`);
|
|
199
|
-
if (issue.suggestion) {
|
|
200
|
-
lines.push(`${indent} ${chalk.cyan("\u2192")} ${chalk.gray(issue.suggestion)}`);
|
|
201
|
-
}
|
|
202
|
-
return lines;
|
|
203
|
-
}
|
|
204
|
-
var SOURCE_DIR_PATTERNS = [
|
|
205
|
-
"src",
|
|
206
|
-
"lib",
|
|
207
|
-
"features",
|
|
208
|
-
"components",
|
|
209
|
-
"services",
|
|
210
|
-
"utils",
|
|
211
|
-
"routes",
|
|
212
|
-
"api",
|
|
213
|
-
"commands",
|
|
214
|
-
"core",
|
|
215
|
-
"middleware",
|
|
216
|
-
"models",
|
|
217
|
-
"handlers",
|
|
218
|
-
"hooks",
|
|
219
|
-
"stores",
|
|
220
|
-
"config",
|
|
221
|
-
"plugins"
|
|
222
|
-
];
|
|
223
|
-
var SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
224
|
-
"node_modules",
|
|
225
|
-
"dist",
|
|
226
|
-
"build",
|
|
227
|
-
".git",
|
|
228
|
-
".paradigm",
|
|
229
|
-
"coverage",
|
|
230
|
-
"__pycache__",
|
|
231
|
-
".next",
|
|
232
|
-
".nuxt",
|
|
233
|
-
"vendor",
|
|
234
|
-
"target"
|
|
235
|
-
]);
|
|
236
|
-
function findUndocumentedDirs(rootDir, existingPurposeFiles) {
|
|
237
|
-
const coveredDirs = new Set(existingPurposeFiles.map((f) => path.dirname(f)));
|
|
238
|
-
const suggestions = [];
|
|
239
|
-
function scanDir(dir, depth) {
|
|
240
|
-
if (depth > 4) return;
|
|
241
|
-
if (coveredDirs.has(dir)) return;
|
|
242
|
-
let entries;
|
|
243
|
-
try {
|
|
244
|
-
entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
245
|
-
} catch {
|
|
246
|
-
return;
|
|
247
|
-
}
|
|
248
|
-
const dirName = path.basename(dir);
|
|
249
|
-
if (SKIP_DIRS.has(dirName)) return;
|
|
250
|
-
const isSourceDir = SOURCE_DIR_PATTERNS.includes(dirName) || entries.some((e) => !e.isDirectory() && /\.(ts|tsx|js|jsx|rs|py|go)$/.test(e.name));
|
|
251
|
-
if (isSourceDir && !entries.some((e) => e.name === ".purpose")) {
|
|
252
|
-
const sourceFiles = entries.filter((e) => !e.isDirectory() && /\.(ts|tsx|js|jsx|rs|py|go)$/.test(e.name)).filter((e) => !e.name.endsWith(".test.ts") && !e.name.endsWith(".spec.ts") && e.name !== "index.ts").map((e) => e.name.replace(/\.[^.]+$/, ""));
|
|
253
|
-
const components = sourceFiles.slice(0, 10).map(
|
|
254
|
-
(f) => f.replace(/([A-Z])/g, (_, c, i) => (i > 0 ? "-" : "") + c.toLowerCase())
|
|
255
|
-
);
|
|
256
|
-
if (components.length > 0) {
|
|
257
|
-
const purposePath = path.join(dir, ".purpose");
|
|
258
|
-
const relDir = path.relative(rootDir, dir);
|
|
259
|
-
const content = generatePurposeDraft(dirName, components);
|
|
260
|
-
suggestions.push({
|
|
261
|
-
dir,
|
|
262
|
-
relativeDir: relDir,
|
|
263
|
-
purposePath,
|
|
264
|
-
relativePurposePath: path.relative(rootDir, purposePath),
|
|
265
|
-
components,
|
|
266
|
-
content
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
for (const entry of entries) {
|
|
271
|
-
if (entry.isDirectory() && !SKIP_DIRS.has(entry.name)) {
|
|
272
|
-
scanDir(path.join(dir, entry.name), depth + 1);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
scanDir(rootDir, 0);
|
|
277
|
-
return suggestions;
|
|
278
|
-
}
|
|
279
|
-
function generatePurposeDraft(dirName, components) {
|
|
280
|
-
const lines = [
|
|
281
|
-
`description: "Components in ${dirName}"`,
|
|
282
|
-
"",
|
|
283
|
-
"components:"
|
|
284
|
-
];
|
|
285
|
-
for (const comp of components) {
|
|
286
|
-
lines.push(` ${comp}:`);
|
|
287
|
-
lines.push(` description: "TODO: describe #${comp}"`);
|
|
288
|
-
}
|
|
289
|
-
lines.push("");
|
|
290
|
-
return lines.join("\n");
|
|
291
|
-
}
|
|
292
|
-
async function lintCommand(targetPath, options) {
|
|
293
|
-
const rootDir = targetPath ? path.resolve(targetPath) : process.cwd();
|
|
294
|
-
const spinner = ora();
|
|
295
|
-
if (!options.quiet && !options.json) {
|
|
296
|
-
console.log(chalk.blue("\n\u{1F50D} Paradigm Lint\n"));
|
|
297
|
-
}
|
|
298
|
-
const tracker = log.command("lint").start("Linting purpose files", { fix: !!options.fix });
|
|
299
|
-
spinner.start("Finding .purpose files...");
|
|
300
|
-
const files = await findPurposeFiles(rootDir);
|
|
301
|
-
spinner.stop();
|
|
302
|
-
log.operation("find-files").debug("Purpose files found", { count: files.length });
|
|
303
|
-
if (options.autoPopulate) {
|
|
304
|
-
spinner.start("Scanning for undocumented source directories...");
|
|
305
|
-
const suggestions = findUndocumentedDirs(rootDir, files);
|
|
306
|
-
spinner.stop();
|
|
307
|
-
if (suggestions.length === 0) {
|
|
308
|
-
if (!options.quiet && !options.json) {
|
|
309
|
-
console.log(chalk.green("All source directories have .purpose coverage.\n"));
|
|
310
|
-
}
|
|
311
|
-
if (options.json) {
|
|
312
|
-
console.log(JSON.stringify({ suggestions: [], populated: 0 }));
|
|
313
|
-
}
|
|
314
|
-
return;
|
|
315
|
-
}
|
|
316
|
-
if (options.json) {
|
|
317
|
-
const populated = options.fix ? suggestions.length : 0;
|
|
318
|
-
if (options.fix) {
|
|
319
|
-
for (const s of suggestions) {
|
|
320
|
-
fs.writeFileSync(s.purposePath, s.content, "utf8");
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
console.log(JSON.stringify({
|
|
324
|
-
suggestions: suggestions.map((s) => ({
|
|
325
|
-
dir: s.relativeDir,
|
|
326
|
-
purposePath: s.relativePurposePath,
|
|
327
|
-
components: s.components
|
|
328
|
-
})),
|
|
329
|
-
populated
|
|
330
|
-
}));
|
|
331
|
-
return;
|
|
332
|
-
}
|
|
333
|
-
console.log(chalk.yellow(`Found ${suggestions.length} source director${suggestions.length > 1 ? "ies" : "y"} without .purpose files:
|
|
334
|
-
`));
|
|
335
|
-
for (const s of suggestions) {
|
|
336
|
-
console.log(` ${chalk.cyan(s.relativeDir)}/`);
|
|
337
|
-
for (const comp of s.components) {
|
|
338
|
-
console.log(chalk.gray(` #${comp}`));
|
|
339
|
-
}
|
|
340
|
-
if (options.fix) {
|
|
341
|
-
fs.writeFileSync(s.purposePath, s.content, "utf8");
|
|
342
|
-
console.log(chalk.green(` \u2192 Created ${s.relativePurposePath}`));
|
|
343
|
-
}
|
|
344
|
-
console.log("");
|
|
345
|
-
}
|
|
346
|
-
if (!options.fix) {
|
|
347
|
-
console.log(chalk.gray(`Run ${chalk.cyan("paradigm lint --auto-populate --fix")} to create these .purpose files.
|
|
348
|
-
`));
|
|
349
|
-
} else {
|
|
350
|
-
console.log(chalk.green(`Created ${suggestions.length} .purpose file${suggestions.length > 1 ? "s" : ""}.
|
|
351
|
-
`));
|
|
352
|
-
}
|
|
353
|
-
return;
|
|
354
|
-
}
|
|
355
|
-
if (files.length === 0) {
|
|
356
|
-
if (options.json) {
|
|
357
|
-
console.log(JSON.stringify({ files: [], summary: { totalFiles: 0 } }));
|
|
358
|
-
} else if (!options.quiet) {
|
|
359
|
-
console.log(chalk.yellow("No .purpose files found.\n"));
|
|
360
|
-
console.log(chalk.gray("Run `paradigm init` to create your first .purpose file.\n"));
|
|
361
|
-
}
|
|
362
|
-
return;
|
|
363
|
-
}
|
|
364
|
-
if (!options.quiet && !options.json) {
|
|
365
|
-
console.log(chalk.gray(`Checking ${files.length} .purpose file${files.length > 1 ? "s" : ""}...
|
|
366
|
-
`));
|
|
367
|
-
}
|
|
368
|
-
const results = [];
|
|
369
|
-
for (const file of files) {
|
|
370
|
-
const result = lintFile(file, rootDir, options);
|
|
371
|
-
results.push(result);
|
|
372
|
-
if (!options.quiet && !options.json) {
|
|
373
|
-
if (!result.valid || result.errors.length > 0 || result.warnings.length > 0) {
|
|
374
|
-
const icon = result.errors.length > 0 ? chalk.red("\u2717") : result.warnings.length > 0 ? chalk.yellow("\u26A0") : chalk.green("\u2713");
|
|
375
|
-
const fixedBadge = result.fixed ? chalk.cyan(" [fixed]") : "";
|
|
376
|
-
console.log(`${icon} ${result.relativePath}${fixedBadge}`);
|
|
377
|
-
for (const error of result.errors) {
|
|
378
|
-
for (const line of formatIssue(error)) {
|
|
379
|
-
console.log(line);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
for (const warning of result.warnings) {
|
|
383
|
-
for (const line of formatIssue(warning)) {
|
|
384
|
-
console.log(line);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
console.log("");
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
const summary = {
|
|
392
|
-
totalFiles: results.length,
|
|
393
|
-
validFiles: results.filter((r) => r.valid).length,
|
|
394
|
-
filesWithErrors: results.filter((r) => r.errors.length > 0).length,
|
|
395
|
-
filesWithWarnings: results.filter((r) => r.warnings.length > 0).length,
|
|
396
|
-
totalErrors: results.reduce((sum, r) => sum + r.errors.length, 0),
|
|
397
|
-
totalWarnings: results.reduce((sum, r) => sum + r.warnings.length, 0),
|
|
398
|
-
fixedFiles: results.filter((r) => r.fixed).length
|
|
399
|
-
};
|
|
400
|
-
if (options.json) {
|
|
401
|
-
const output = {
|
|
402
|
-
files: results.map((r) => ({
|
|
403
|
-
path: r.relativePath,
|
|
404
|
-
valid: r.valid,
|
|
405
|
-
errors: r.errors,
|
|
406
|
-
warnings: r.warnings,
|
|
407
|
-
fixed: r.fixed
|
|
408
|
-
})),
|
|
409
|
-
summary
|
|
410
|
-
};
|
|
411
|
-
console.log(JSON.stringify(output, null, 2));
|
|
412
|
-
process.exit(summary.filesWithErrors > 0 ? 1 : 0);
|
|
413
|
-
return;
|
|
414
|
-
}
|
|
415
|
-
if (!options.quiet) {
|
|
416
|
-
console.log(chalk.gray("\u2500".repeat(40)));
|
|
417
|
-
if (summary.totalErrors === 0 && summary.totalWarnings === 0) {
|
|
418
|
-
console.log(chalk.green(`
|
|
419
|
-
\u2713 All ${summary.totalFiles} file${summary.totalFiles > 1 ? "s" : ""} valid
|
|
420
|
-
`));
|
|
421
|
-
tracker.success("All files valid", { files: summary.totalFiles });
|
|
422
|
-
} else {
|
|
423
|
-
tracker.error("Files have issues", {
|
|
424
|
-
errors: summary.totalErrors,
|
|
425
|
-
warnings: summary.totalWarnings,
|
|
426
|
-
fixed: summary.fixedFiles
|
|
427
|
-
});
|
|
428
|
-
console.log("");
|
|
429
|
-
if (summary.validFiles > 0) {
|
|
430
|
-
console.log(chalk.green(`\u2713 ${summary.validFiles} file${summary.validFiles > 1 ? "s" : ""} valid`));
|
|
431
|
-
}
|
|
432
|
-
if (summary.filesWithErrors > 0) {
|
|
433
|
-
console.log(chalk.red(`\u2717 ${summary.filesWithErrors} file${summary.filesWithErrors > 1 ? "s" : ""} with errors (${summary.totalErrors} total)`));
|
|
434
|
-
}
|
|
435
|
-
if (summary.filesWithWarnings > 0) {
|
|
436
|
-
console.log(chalk.yellow(`\u26A0 ${summary.filesWithWarnings} file${summary.filesWithWarnings > 1 ? "s" : ""} with warnings (${summary.totalWarnings} total)`));
|
|
437
|
-
}
|
|
438
|
-
if (summary.fixedFiles > 0) {
|
|
439
|
-
console.log(chalk.cyan(`\u21BB ${summary.fixedFiles} file${summary.fixedFiles > 1 ? "s" : ""} auto-fixed`));
|
|
440
|
-
}
|
|
441
|
-
console.log("");
|
|
442
|
-
if (summary.totalErrors > 0 && !options.fix) {
|
|
443
|
-
console.log(chalk.gray("Run `paradigm lint --fix` to auto-fix where possible.\n"));
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
if (summary.filesWithErrors > 0) {
|
|
448
|
-
process.exit(1);
|
|
449
|
-
}
|
|
450
|
-
if (options.strict && summary.filesWithWarnings > 0) {
|
|
451
|
-
process.exit(1);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
export {
|
|
455
|
-
lintCommand
|
|
456
|
-
};
|
package/dist/list-4YK7QKFF.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
loadUniversityIndex,
|
|
4
|
-
searchContent
|
|
5
|
-
} from "./chunk-GT5QGC2H.js";
|
|
6
|
-
import "./chunk-PDX44BCA.js";
|
|
7
|
-
|
|
8
|
-
// src/commands/university/list.ts
|
|
9
|
-
import chalk from "chalk";
|
|
10
|
-
async function universityListCommand(options) {
|
|
11
|
-
const rootDir = process.cwd();
|
|
12
|
-
const index = loadUniversityIndex(rootDir);
|
|
13
|
-
if (!index || index.totalContent === 0) {
|
|
14
|
-
console.log(chalk.yellow("\n No university content found."));
|
|
15
|
-
console.log(chalk.gray(' Create content with: paradigm university add note --title "My Note"\n'));
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
const results = searchContent(rootDir, {
|
|
19
|
-
type: options.type,
|
|
20
|
-
tag: options.tag,
|
|
21
|
-
difficulty: options.difficulty,
|
|
22
|
-
symbol: options.symbol,
|
|
23
|
-
limit: options.limit ? parseInt(options.limit, 10) : 20
|
|
24
|
-
});
|
|
25
|
-
if (options.json) {
|
|
26
|
-
console.log(JSON.stringify(results, null, 2));
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
console.log(chalk.blue(`
|
|
30
|
-
University Content (${results.length} of ${index.totalContent})
|
|
31
|
-
`));
|
|
32
|
-
const typeIcons = {
|
|
33
|
-
note: "N",
|
|
34
|
-
policy: "P",
|
|
35
|
-
guide: "N",
|
|
36
|
-
runbook: "N",
|
|
37
|
-
quiz: "Q",
|
|
38
|
-
path: "LP"
|
|
39
|
-
};
|
|
40
|
-
for (const entry of results) {
|
|
41
|
-
const icon = typeIcons[entry.type] || "?";
|
|
42
|
-
const diffColor = entry.difficulty === "advanced" ? chalk.red : entry.difficulty === "intermediate" ? chalk.yellow : chalk.green;
|
|
43
|
-
const tags = entry.tags.length > 0 ? chalk.gray(` [${entry.tags.join(", ")}]`) : "";
|
|
44
|
-
console.log(` ${chalk.cyan(icon)} ${chalk.white(entry.id)} \u2014 ${entry.title}${tags}`);
|
|
45
|
-
if (entry.difficulty) {
|
|
46
|
-
console.log(` ${diffColor(entry.difficulty)} \xB7 ${entry.author} \xB7 ${entry.updated || entry.created}`);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
if (index.diplomaCount > 0) {
|
|
50
|
-
console.log(chalk.gray(`
|
|
51
|
-
${index.diplomaCount} diploma${index.diplomaCount > 1 ? "s" : ""} earned`));
|
|
52
|
-
}
|
|
53
|
-
console.log();
|
|
54
|
-
}
|
|
55
|
-
export {
|
|
56
|
-
universityListCommand
|
|
57
|
-
};
|
package/dist/list-ENR7Q4CR.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
loadLoreEntries
|
|
4
|
-
} from "./chunk-EKGMAM62.js";
|
|
5
|
-
import "./chunk-PDX44BCA.js";
|
|
6
|
-
|
|
7
|
-
// src/commands/lore/list.ts
|
|
8
|
-
import chalk from "chalk";
|
|
9
|
-
async function loreListCommand(options) {
|
|
10
|
-
const rootDir = process.cwd();
|
|
11
|
-
const filter = {};
|
|
12
|
-
if (options.author) filter.author = options.author;
|
|
13
|
-
if (options.type) filter.type = options.type;
|
|
14
|
-
if (options.symbol) filter.symbol = options.symbol;
|
|
15
|
-
if (options.tags) filter.tags = options.tags.split(",");
|
|
16
|
-
if (options.from) filter.dateFrom = options.from;
|
|
17
|
-
if (options.to) filter.dateTo = options.to;
|
|
18
|
-
filter.limit = parseInt(options.limit || "20", 10);
|
|
19
|
-
const entries = await loadLoreEntries(rootDir, filter);
|
|
20
|
-
if (options.json) {
|
|
21
|
-
console.log(JSON.stringify(entries, null, 2));
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
if (entries.length === 0) {
|
|
25
|
-
console.log(chalk.gray("\nNo lore entries found.\n"));
|
|
26
|
-
console.log(chalk.gray("Record one with: paradigm lore record"));
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
console.log(chalk.cyan(`
|
|
30
|
-
Lore Entries (${entries.length})
|
|
31
|
-
`));
|
|
32
|
-
const typeColor = {
|
|
33
|
-
"agent-session": chalk.hex("#818cf8"),
|
|
34
|
-
"human-note": chalk.hex("#34d399"),
|
|
35
|
-
"decision": chalk.hex("#fbbf24"),
|
|
36
|
-
"review": chalk.hex("#c084fc"),
|
|
37
|
-
"incident": chalk.hex("#f87171"),
|
|
38
|
-
"milestone": chalk.hex("#60a5fa")
|
|
39
|
-
};
|
|
40
|
-
for (const entry of entries) {
|
|
41
|
-
const entryType = entry.type || "note";
|
|
42
|
-
const colorFn = typeColor[entryType] || chalk.white;
|
|
43
|
-
const date = new Date(entry.timestamp);
|
|
44
|
-
const dateStr = date.toLocaleDateString("en-US", { month: "short", day: "numeric" });
|
|
45
|
-
const timeStr = date.toLocaleTimeString("en-US", { hour: "2-digit", minute: "2-digit" });
|
|
46
|
-
const authorIcon = entry.agent ? "\u{1F916}" : "\u{1F464}";
|
|
47
|
-
const verifyIcon = entry.verification?.status === "pass" ? chalk.green("\u2713") : entry.verification?.status === "fail" ? chalk.red("\u2717") : entry.verification?.status === "partial" ? chalk.yellow("\u26A0") : chalk.gray("\xB7");
|
|
48
|
-
const reviewStr = entry.review ? chalk.yellow("\u2605".repeat(entry.review.quality) + "\u2606".repeat(5 - entry.review.quality)) : "";
|
|
49
|
-
console.log(` ${chalk.gray(entry.id)} ${colorFn(entryType.padEnd(14))} ${verifyIcon} ${chalk.white(entry.title)}`);
|
|
50
|
-
console.log(` ${chalk.gray(dateStr + " " + timeStr)} ${authorIcon} ${chalk.gray(entry.author)} ${(entry.symbols_touched || []).map((s) => chalk.cyan(s)).join(" ")} ${reviewStr}`);
|
|
51
|
-
console.log();
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export {
|
|
55
|
-
loreListCommand
|
|
56
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
addLoreAssessment,
|
|
4
|
-
addLoreReview,
|
|
5
|
-
deleteLoreEntry,
|
|
6
|
-
init_lore_loader,
|
|
7
|
-
loadLoreEntries,
|
|
8
|
-
loadLoreEntry,
|
|
9
|
-
loadLoreTimeline,
|
|
10
|
-
rebuildTimeline,
|
|
11
|
-
recordLoreEntry,
|
|
12
|
-
updateLoreEntry
|
|
13
|
-
} from "./chunk-5VKJBNJL.js";
|
|
14
|
-
import "./chunk-7N7GSU6K.js";
|
|
15
|
-
init_lore_loader();
|
|
16
|
-
export {
|
|
17
|
-
addLoreAssessment,
|
|
18
|
-
addLoreReview,
|
|
19
|
-
deleteLoreEntry,
|
|
20
|
-
loadLoreEntries,
|
|
21
|
-
loadLoreEntry,
|
|
22
|
-
loadLoreTimeline,
|
|
23
|
-
rebuildTimeline,
|
|
24
|
-
recordLoreEntry,
|
|
25
|
-
updateLoreEntry
|
|
26
|
-
};
|