@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
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
getPluginUpdateNotice,
|
|
4
|
-
runPluginUpdateCheck,
|
|
5
|
-
schedulePluginUpdateCheck
|
|
6
|
-
} from "./chunk-5EWAQHFY.js";
|
|
7
|
-
import "./chunk-7N7GSU6K.js";
|
|
8
|
-
export {
|
|
9
|
-
getPluginUpdateNotice,
|
|
10
|
-
runPluginUpdateCheck,
|
|
11
|
-
schedulePluginUpdateCheck
|
|
12
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
checkPortalCompliance,
|
|
4
|
-
formatComplianceReport
|
|
5
|
-
} from "./chunk-YMDLDELF.js";
|
|
6
|
-
import "./chunk-PDX44BCA.js";
|
|
7
|
-
|
|
8
|
-
// src/commands/portal-check.ts
|
|
9
|
-
import chalk from "chalk";
|
|
10
|
-
async function portalCheckCommand(options) {
|
|
11
|
-
const rootDir = process.cwd();
|
|
12
|
-
const report = await checkPortalCompliance(rootDir);
|
|
13
|
-
if (options.json) {
|
|
14
|
-
console.log(JSON.stringify({
|
|
15
|
-
status: report.status,
|
|
16
|
-
declaredButUnusedCount: report.declaredButUnused.length,
|
|
17
|
-
usedButUndeclaredCount: report.usedButUndeclared.length,
|
|
18
|
-
properlyDeclaredCount: report.properlyDeclared.length,
|
|
19
|
-
declaredButUnused: report.declaredButUnused,
|
|
20
|
-
usedButUndeclared: report.usedButUndeclared,
|
|
21
|
-
properlyDeclared: report.properlyDeclared
|
|
22
|
-
}));
|
|
23
|
-
} else {
|
|
24
|
-
const formatted = formatComplianceReport(report);
|
|
25
|
-
if (report.status === "compliant") {
|
|
26
|
-
console.log(chalk.green(`
|
|
27
|
-
${formatted}
|
|
28
|
-
`));
|
|
29
|
-
} else if (report.status === "warnings") {
|
|
30
|
-
console.log(chalk.yellow(`
|
|
31
|
-
${formatted}
|
|
32
|
-
`));
|
|
33
|
-
} else {
|
|
34
|
-
console.log(chalk.red(`
|
|
35
|
-
${formatted}
|
|
36
|
-
`));
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
portalCheckCommand
|
|
42
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
checkPortalCompliance,
|
|
4
|
-
extractDeclaredGates,
|
|
5
|
-
findGateReferences,
|
|
6
|
-
formatComplianceReport,
|
|
7
|
-
getComplianceSummary,
|
|
8
|
-
loadPortalConfig
|
|
9
|
-
} from "./chunk-YMDLDELF.js";
|
|
10
|
-
import "./chunk-PDX44BCA.js";
|
|
11
|
-
export {
|
|
12
|
-
checkPortalCompliance,
|
|
13
|
-
extractDeclaredGates,
|
|
14
|
-
findGateReferences,
|
|
15
|
-
formatComplianceReport,
|
|
16
|
-
getComplianceSummary,
|
|
17
|
-
loadPortalConfig
|
|
18
|
-
};
|
package/dist/probe-MHL5HQZ2.js
DELETED
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
generateFlowIndex,
|
|
4
|
-
generateNavigator
|
|
5
|
-
} from "./chunk-VL67H5IC.js";
|
|
6
|
-
import {
|
|
7
|
-
generateScanIndex,
|
|
8
|
-
serializeScanIndex
|
|
9
|
-
} from "./chunk-36TKPM5Z.js";
|
|
10
|
-
import {
|
|
11
|
-
aggregateFromDirectory
|
|
12
|
-
} from "./chunk-ZGUAAVMA.js";
|
|
13
|
-
import "./chunk-EDOAWN7J.js";
|
|
14
|
-
import "./chunk-IRKUEJVW.js";
|
|
15
|
-
import "./chunk-J2JEQRT3.js";
|
|
16
|
-
import {
|
|
17
|
-
parseParadigmConfig
|
|
18
|
-
} from "./chunk-YO6DVTL7.js";
|
|
19
|
-
import "./chunk-PDX44BCA.js";
|
|
20
|
-
|
|
21
|
-
// src/commands/probe/index.ts
|
|
22
|
-
import * as fs from "fs";
|
|
23
|
-
import * as path from "path";
|
|
24
|
-
import chalk from "chalk";
|
|
25
|
-
import ora from "ora";
|
|
26
|
-
async function indexCommand(targetPath, options) {
|
|
27
|
-
const rootDir = targetPath ? path.resolve(targetPath) : process.cwd();
|
|
28
|
-
const projectName = path.basename(rootDir);
|
|
29
|
-
const spinner = ora();
|
|
30
|
-
const paradigmPath = path.join(rootDir, ".paradigm");
|
|
31
|
-
const paradigmIsFile = fs.existsSync(paradigmPath) && fs.statSync(paradigmPath).isFile();
|
|
32
|
-
let outputPath;
|
|
33
|
-
if (options.output) {
|
|
34
|
-
outputPath = path.resolve(options.output);
|
|
35
|
-
} else if (paradigmIsFile) {
|
|
36
|
-
outputPath = path.join(rootDir, ".paradigm-scan-index.json");
|
|
37
|
-
} else {
|
|
38
|
-
outputPath = path.join(rootDir, ".paradigm", "scan-index.json");
|
|
39
|
-
if (!fs.existsSync(path.dirname(outputPath))) {
|
|
40
|
-
fs.mkdirSync(path.dirname(outputPath), { recursive: true });
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
if (!options.quiet) {
|
|
44
|
-
console.log(chalk.blue("\n\u{1F52D} Generating Paradigm Scan Index\n"));
|
|
45
|
-
}
|
|
46
|
-
let scanConfig;
|
|
47
|
-
const configPaths = [
|
|
48
|
-
path.join(rootDir, ".paradigm"),
|
|
49
|
-
path.join(rootDir, ".paradigm", "config.yaml")
|
|
50
|
-
];
|
|
51
|
-
for (const configPath of configPaths) {
|
|
52
|
-
if (fs.existsSync(configPath) && fs.statSync(configPath).isFile()) {
|
|
53
|
-
try {
|
|
54
|
-
const content = fs.readFileSync(configPath, "utf8");
|
|
55
|
-
const config = parseParadigmConfig(content);
|
|
56
|
-
scanConfig = config.scan;
|
|
57
|
-
break;
|
|
58
|
-
} catch {
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
spinner.start("Aggregating symbols from purpose and gate files...");
|
|
63
|
-
let aggregation;
|
|
64
|
-
try {
|
|
65
|
-
aggregation = await aggregateFromDirectory(rootDir);
|
|
66
|
-
} catch (err) {
|
|
67
|
-
spinner.fail(chalk.red("Failed to aggregate symbols"));
|
|
68
|
-
console.error(chalk.gray(err.message));
|
|
69
|
-
process.exit(1);
|
|
70
|
-
}
|
|
71
|
-
spinner.succeed(`Found ${aggregation.symbols.length} symbols`);
|
|
72
|
-
if (!options.quiet) {
|
|
73
|
-
const breakdown = {
|
|
74
|
-
components: aggregation.symbols.filter((s) => s.type === "component").length,
|
|
75
|
-
flows: aggregation.symbols.filter((s) => s.type === "flow").length,
|
|
76
|
-
gates: aggregation.symbols.filter((s) => s.type === "gate").length,
|
|
77
|
-
signals: aggregation.symbols.filter((s) => s.type === "signal").length,
|
|
78
|
-
aspects: aggregation.symbols.filter((s) => s.type === "aspect").length
|
|
79
|
-
};
|
|
80
|
-
console.log(chalk.gray(" Breakdown:"));
|
|
81
|
-
for (const [type, count] of Object.entries(breakdown)) {
|
|
82
|
-
if (count > 0) {
|
|
83
|
-
console.log(chalk.gray(` ${type}: ${count}`));
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
console.log();
|
|
87
|
-
}
|
|
88
|
-
spinner.start("Generating scan index...");
|
|
89
|
-
const index = generateScanIndex(
|
|
90
|
-
{
|
|
91
|
-
symbols: aggregation.symbols,
|
|
92
|
-
purposeFiles: aggregation.purposeFiles,
|
|
93
|
-
portalFiles: aggregation.portalFiles
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
projectName,
|
|
97
|
-
visualTagMappings: scanConfig?.visualTagMappings,
|
|
98
|
-
screenDefinitions: scanConfig?.screens
|
|
99
|
-
}
|
|
100
|
-
);
|
|
101
|
-
try {
|
|
102
|
-
fs.writeFileSync(outputPath, serializeScanIndex(index), "utf8");
|
|
103
|
-
spinner.succeed(chalk.green("Scan index generated"));
|
|
104
|
-
} catch (err) {
|
|
105
|
-
spinner.fail(chalk.red("Failed to write scan index"));
|
|
106
|
-
console.error(chalk.gray(err.message));
|
|
107
|
-
process.exit(1);
|
|
108
|
-
}
|
|
109
|
-
await generateNavigator(rootDir, aggregation, { quiet: options.quiet });
|
|
110
|
-
const flowIndex = await generateFlowIndex(rootDir, aggregation.purposeFiles, { quiet: options.quiet });
|
|
111
|
-
if (flowIndex && Object.keys(flowIndex.flows).length > 0) {
|
|
112
|
-
const flowIndexPath = path.join(rootDir, ".paradigm", "flow-index.json");
|
|
113
|
-
fs.writeFileSync(flowIndexPath, JSON.stringify(flowIndex, null, 2), "utf8");
|
|
114
|
-
if (!options.quiet) {
|
|
115
|
-
const symbolCount = Object.keys(flowIndex.symbolToFlows).length;
|
|
116
|
-
spinner.succeed(chalk.green(`Flow index generated (${Object.keys(flowIndex.flows).length} flows, ${symbolCount} symbol mappings)`));
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
if (!options.quiet) {
|
|
120
|
-
console.log(chalk.gray(`
|
|
121
|
-
Output: ${outputPath}`));
|
|
122
|
-
console.log(chalk.gray(` Components: ${Object.keys(index.components).length}`));
|
|
123
|
-
console.log(chalk.gray(` Features: ${Object.keys(index.features).length}`));
|
|
124
|
-
console.log(chalk.gray(` Flows: ${Object.keys(index.flows).length}`));
|
|
125
|
-
console.log(chalk.gray(` State: ${Object.keys(index.state).length}`));
|
|
126
|
-
console.log(chalk.gray(` Gates: ${Object.keys(index.gates).length}`));
|
|
127
|
-
console.log(chalk.gray(` Signals: ${Object.keys(index.signals).length}`));
|
|
128
|
-
console.log(chalk.gray(` Aspects: ${Object.keys(index.aspects).length}`));
|
|
129
|
-
console.log();
|
|
130
|
-
console.log(chalk.blue('\u2728 Scan index ready for "paradigm scan" queries'));
|
|
131
|
-
console.log(chalk.gray(' Attach an image and say "paradigm scan" to map UI to code\n'));
|
|
132
|
-
}
|
|
133
|
-
return index;
|
|
134
|
-
}
|
|
135
|
-
function getScanIndexPath(rootDir) {
|
|
136
|
-
const paradigmPath = path.join(rootDir, ".paradigm");
|
|
137
|
-
const paradigmIsFile = fs.existsSync(paradigmPath) && fs.statSync(paradigmPath).isFile();
|
|
138
|
-
return paradigmIsFile ? path.join(rootDir, ".paradigm-scan-index.json") : path.join(rootDir, ".paradigm", "scan-index.json");
|
|
139
|
-
}
|
|
140
|
-
function scanIndexExists(rootDir) {
|
|
141
|
-
return fs.existsSync(path.join(rootDir, ".paradigm", "scan-index.json")) || fs.existsSync(path.join(rootDir, ".paradigm-scan-index.json"));
|
|
142
|
-
}
|
|
143
|
-
function getScanIndexAge(rootDir) {
|
|
144
|
-
const paths = [
|
|
145
|
-
path.join(rootDir, ".paradigm", "scan-index.json"),
|
|
146
|
-
path.join(rootDir, ".paradigm-scan-index.json")
|
|
147
|
-
];
|
|
148
|
-
for (const indexPath of paths) {
|
|
149
|
-
if (fs.existsSync(indexPath)) {
|
|
150
|
-
try {
|
|
151
|
-
const content = fs.readFileSync(indexPath, "utf8");
|
|
152
|
-
const index = JSON.parse(content);
|
|
153
|
-
const generatedAt = new Date(index.$meta.generatedAt).getTime();
|
|
154
|
-
return Date.now() - generatedAt;
|
|
155
|
-
} catch {
|
|
156
|
-
continue;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
return null;
|
|
161
|
-
}
|
|
162
|
-
export {
|
|
163
|
-
getScanIndexAge,
|
|
164
|
-
getScanIndexPath,
|
|
165
|
-
indexCommand,
|
|
166
|
-
scanIndexExists
|
|
167
|
-
};
|
package/dist/promote-F6ZYZZAL.js
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import "./chunk-PDX44BCA.js";
|
|
3
|
-
|
|
4
|
-
// src/commands/promote.ts
|
|
5
|
-
import * as fs from "fs";
|
|
6
|
-
import * as path from "path";
|
|
7
|
-
import * as os from "os";
|
|
8
|
-
import { execSync } from "child_process";
|
|
9
|
-
import chalk from "chalk";
|
|
10
|
-
import ora from "ora";
|
|
11
|
-
var PARADIGM_CLI_DIR = path.join(os.homedir(), ".paradigm-cli");
|
|
12
|
-
var PACKAGES_TO_COPY = [
|
|
13
|
-
"packages/paradigm/dist",
|
|
14
|
-
"packages/paradigm/lore-ui/dist",
|
|
15
|
-
"packages/paradigm-mcp/dist",
|
|
16
|
-
"packages/premise/core/dist",
|
|
17
|
-
"packages/portal/core/dist",
|
|
18
|
-
"packages/purpose/core/dist",
|
|
19
|
-
"packages/sentinel/dist"
|
|
20
|
-
];
|
|
21
|
-
function findSourceRoot() {
|
|
22
|
-
let dir = process.cwd();
|
|
23
|
-
for (let i = 0; i < 5; i++) {
|
|
24
|
-
if (fs.existsSync(path.join(dir, "packages", "paradigm", "package.json")) && fs.existsSync(path.join(dir, "packages", "paradigm-mcp", "package.json"))) {
|
|
25
|
-
return dir;
|
|
26
|
-
}
|
|
27
|
-
const parent = path.dirname(dir);
|
|
28
|
-
if (parent === dir) break;
|
|
29
|
-
dir = parent;
|
|
30
|
-
}
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
function copyDirRecursive(src, dest) {
|
|
34
|
-
let files = 0;
|
|
35
|
-
const errors = [];
|
|
36
|
-
if (!fs.existsSync(src)) {
|
|
37
|
-
errors.push(`Source not found: ${src}`);
|
|
38
|
-
return { files, errors };
|
|
39
|
-
}
|
|
40
|
-
fs.mkdirSync(dest, { recursive: true });
|
|
41
|
-
const entries = fs.readdirSync(src, { withFileTypes: true });
|
|
42
|
-
for (const entry of entries) {
|
|
43
|
-
const srcPath = path.join(src, entry.name);
|
|
44
|
-
const destPath = path.join(dest, entry.name);
|
|
45
|
-
try {
|
|
46
|
-
if (entry.isDirectory()) {
|
|
47
|
-
const sub = copyDirRecursive(srcPath, destPath);
|
|
48
|
-
files += sub.files;
|
|
49
|
-
errors.push(...sub.errors);
|
|
50
|
-
} else {
|
|
51
|
-
fs.copyFileSync(srcPath, destPath);
|
|
52
|
-
files++;
|
|
53
|
-
}
|
|
54
|
-
} catch (err) {
|
|
55
|
-
errors.push(`Failed to copy ${srcPath}: ${err instanceof Error ? err.message : String(err)}`);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return { files, errors };
|
|
59
|
-
}
|
|
60
|
-
async function promoteCommand(options) {
|
|
61
|
-
const spinner = ora();
|
|
62
|
-
const sourceRoot = findSourceRoot();
|
|
63
|
-
if (!sourceRoot) {
|
|
64
|
-
if (options.json) {
|
|
65
|
-
console.log(JSON.stringify({ error: "Not in paradigm source repo" }));
|
|
66
|
-
} else {
|
|
67
|
-
console.log(chalk.red("\nNot in the paradigm source repository."));
|
|
68
|
-
console.log(chalk.gray("Run this command from the a-paradigm directory.\n"));
|
|
69
|
-
}
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
if (!fs.existsSync(PARADIGM_CLI_DIR)) {
|
|
73
|
-
if (!options.force) {
|
|
74
|
-
if (options.json) {
|
|
75
|
-
console.log(JSON.stringify({ error: "Production directory not found", path: PARADIGM_CLI_DIR }));
|
|
76
|
-
} else {
|
|
77
|
-
console.log(chalk.red(`
|
|
78
|
-
Production directory not found: ${PARADIGM_CLI_DIR}`));
|
|
79
|
-
console.log(chalk.gray("Paradigm CLI may not be globally installed."));
|
|
80
|
-
console.log(chalk.gray("Install with: curl -fsSL https://a-company.org/install | bash\n"));
|
|
81
|
-
}
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
fs.mkdirSync(PARADIGM_CLI_DIR, { recursive: true });
|
|
85
|
-
}
|
|
86
|
-
if (!options.json) {
|
|
87
|
-
console.log(chalk.blue("\n\u{1F4E6} Promoting local build to production\n"));
|
|
88
|
-
console.log(chalk.gray(` Source: ${sourceRoot}`));
|
|
89
|
-
console.log(chalk.gray(` Target: ${PARADIGM_CLI_DIR}
|
|
90
|
-
`));
|
|
91
|
-
}
|
|
92
|
-
if (!options.skipBuild) {
|
|
93
|
-
spinner.start("Building packages...");
|
|
94
|
-
try {
|
|
95
|
-
execSync("npm run build", {
|
|
96
|
-
cwd: sourceRoot,
|
|
97
|
-
stdio: "pipe",
|
|
98
|
-
timeout: 12e4
|
|
99
|
-
});
|
|
100
|
-
spinner.succeed("Build complete");
|
|
101
|
-
} catch (err) {
|
|
102
|
-
spinner.fail("Build failed");
|
|
103
|
-
if (options.json) {
|
|
104
|
-
console.log(JSON.stringify({
|
|
105
|
-
error: "Build failed",
|
|
106
|
-
details: err instanceof Error ? err.message : String(err)
|
|
107
|
-
}));
|
|
108
|
-
} else {
|
|
109
|
-
console.log(chalk.red(`
|
|
110
|
-
${err instanceof Error ? err.message : err}
|
|
111
|
-
`));
|
|
112
|
-
console.log(chalk.gray("Fix build errors and try again, or use --skip-build.\n"));
|
|
113
|
-
}
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
spinner.start("Copying dist/ to production...");
|
|
118
|
-
let totalFiles = 0;
|
|
119
|
-
const allErrors = [];
|
|
120
|
-
const copiedPackages = [];
|
|
121
|
-
for (const pkg of PACKAGES_TO_COPY) {
|
|
122
|
-
const srcDir = path.join(sourceRoot, pkg);
|
|
123
|
-
const destDir = path.join(PARADIGM_CLI_DIR, pkg);
|
|
124
|
-
if (!fs.existsSync(srcDir)) {
|
|
125
|
-
continue;
|
|
126
|
-
}
|
|
127
|
-
const { files, errors } = copyDirRecursive(srcDir, destDir);
|
|
128
|
-
totalFiles += files;
|
|
129
|
-
allErrors.push(...errors);
|
|
130
|
-
if (errors.length === 0 && files > 0) {
|
|
131
|
-
copiedPackages.push(pkg);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
if (allErrors.length > 0) {
|
|
135
|
-
spinner.warn(`Copied with ${allErrors.length} error(s)`);
|
|
136
|
-
} else {
|
|
137
|
-
spinner.succeed(`Copied ${totalFiles} files`);
|
|
138
|
-
}
|
|
139
|
-
spinner.start("Switching MCP configs to PROD...");
|
|
140
|
-
try {
|
|
141
|
-
const { mcpUseProdCommand } = await import("./switch-6EJPZDIA.js");
|
|
142
|
-
await mcpUseProdCommand({ json: true });
|
|
143
|
-
spinner.succeed("MCP configs switched to PROD");
|
|
144
|
-
} catch {
|
|
145
|
-
spinner.info("MCP config switch skipped (no configs found)");
|
|
146
|
-
}
|
|
147
|
-
let version = "unknown";
|
|
148
|
-
try {
|
|
149
|
-
version = execSync("paradigm --version", { encoding: "utf-8", timeout: 5e3 }).trim();
|
|
150
|
-
} catch {
|
|
151
|
-
}
|
|
152
|
-
if (options.json) {
|
|
153
|
-
console.log(JSON.stringify({
|
|
154
|
-
success: allErrors.length === 0,
|
|
155
|
-
source: sourceRoot,
|
|
156
|
-
target: PARADIGM_CLI_DIR,
|
|
157
|
-
packages: copiedPackages,
|
|
158
|
-
totalFiles,
|
|
159
|
-
errors: allErrors,
|
|
160
|
-
version
|
|
161
|
-
}, null, 2));
|
|
162
|
-
} else {
|
|
163
|
-
console.log();
|
|
164
|
-
if (allErrors.length === 0) {
|
|
165
|
-
console.log(chalk.green("\u2713 Promotion complete!\n"));
|
|
166
|
-
} else {
|
|
167
|
-
console.log(chalk.yellow(`\u26A0 Promotion completed with ${allErrors.length} error(s)
|
|
168
|
-
`));
|
|
169
|
-
for (const err of allErrors.slice(0, 5)) {
|
|
170
|
-
console.log(chalk.red(` ${err}`));
|
|
171
|
-
}
|
|
172
|
-
console.log();
|
|
173
|
-
}
|
|
174
|
-
console.log(chalk.gray(` Packages: ${copiedPackages.length}`));
|
|
175
|
-
console.log(chalk.gray(` Files: ${totalFiles}`));
|
|
176
|
-
console.log(chalk.gray(` Version: ${version}`));
|
|
177
|
-
console.log();
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
export {
|
|
181
|
-
promoteCommand
|
|
182
|
-
};
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
getAvailableProviders,
|
|
4
|
-
getBestProvider,
|
|
5
|
-
getConfiguredProvider,
|
|
6
|
-
setConfiguredProvider
|
|
7
|
-
} from "./chunk-TXESEO7Y.js";
|
|
8
|
-
import "./chunk-PDX44BCA.js";
|
|
9
|
-
|
|
10
|
-
// src/commands/team/providers.ts
|
|
11
|
-
import * as path from "path";
|
|
12
|
-
import chalk from "chalk";
|
|
13
|
-
async function teamProvidersCommand(targetPath, options) {
|
|
14
|
-
const rootDir = targetPath ? path.resolve(targetPath) : process.cwd();
|
|
15
|
-
if (options.set) {
|
|
16
|
-
try {
|
|
17
|
-
await setConfiguredProvider(options.set, rootDir);
|
|
18
|
-
if (options.json) {
|
|
19
|
-
console.log(JSON.stringify({ success: true, provider: options.set }));
|
|
20
|
-
} else {
|
|
21
|
-
console.log(chalk.green(`
|
|
22
|
-
\u2713 Provider set to: ${options.set}
|
|
23
|
-
`));
|
|
24
|
-
if (options.set === "auto") {
|
|
25
|
-
console.log(chalk.gray("Will auto-detect best available provider.\n"));
|
|
26
|
-
} else {
|
|
27
|
-
console.log(chalk.gray(`Will use ${options.set} if available, otherwise fall back.
|
|
28
|
-
`));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
} catch (error) {
|
|
32
|
-
if (options.json) {
|
|
33
|
-
console.log(JSON.stringify({ error: error instanceof Error ? error.message : String(error) }));
|
|
34
|
-
} else {
|
|
35
|
-
console.log(chalk.red(`
|
|
36
|
-
Error: ${error instanceof Error ? error.message : error}
|
|
37
|
-
`));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
const providers = await getAvailableProviders(rootDir);
|
|
43
|
-
const configured = getConfiguredProvider(rootDir);
|
|
44
|
-
const best = await getBestProvider(rootDir);
|
|
45
|
-
if (options.json) {
|
|
46
|
-
console.log(JSON.stringify({
|
|
47
|
-
configured,
|
|
48
|
-
selected: best.name,
|
|
49
|
-
reason: best.reason,
|
|
50
|
-
providers
|
|
51
|
-
}, null, 2));
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
console.log();
|
|
55
|
-
console.log(chalk.blue("\u2501".repeat(60)));
|
|
56
|
-
console.log(chalk.blue(" Agent Providers"));
|
|
57
|
-
console.log(chalk.blue("\u2501".repeat(60)));
|
|
58
|
-
console.log();
|
|
59
|
-
console.log(chalk.cyan(" Configuration:"));
|
|
60
|
-
if (configured === "auto") {
|
|
61
|
-
console.log(chalk.gray(" agent-provider: auto (auto-detect)"));
|
|
62
|
-
} else {
|
|
63
|
-
console.log(chalk.white(` agent-provider: ${configured}`));
|
|
64
|
-
}
|
|
65
|
-
console.log(chalk.gray(" Set via: PARADIGM_AGENT_PROVIDER env or .paradigm/config.yaml"));
|
|
66
|
-
console.log();
|
|
67
|
-
console.log(chalk.cyan(" Available Providers:"));
|
|
68
|
-
console.log();
|
|
69
|
-
for (const provider of providers) {
|
|
70
|
-
const status = provider.available ? chalk.green("\u2713") : chalk.gray("\u2717");
|
|
71
|
-
const selected = provider.name === best.name ? chalk.yellow(" \u2190 active") : "";
|
|
72
|
-
const isConfigured = provider.name === configured ? chalk.cyan(" (configured)") : "";
|
|
73
|
-
console.log(` ${status} ${chalk.white(provider.name.padEnd(12))}${selected}${isConfigured}`);
|
|
74
|
-
console.log(chalk.gray(` ${provider.reason}`));
|
|
75
|
-
const features = [];
|
|
76
|
-
if (provider.features.parallel) features.push("parallel");
|
|
77
|
-
if (provider.features.mcp) features.push("MCP");
|
|
78
|
-
features.push(
|
|
79
|
-
provider.features.billing === "api" ? "API billing" : provider.features.billing === "subscription" ? "Max/subscription" : "free"
|
|
80
|
-
);
|
|
81
|
-
console.log(chalk.gray(` ${features.join(" \xB7 ")}`));
|
|
82
|
-
console.log();
|
|
83
|
-
}
|
|
84
|
-
console.log(chalk.gray("\u2500".repeat(60)));
|
|
85
|
-
console.log();
|
|
86
|
-
console.log(chalk.cyan(" Active Provider:"));
|
|
87
|
-
console.log(chalk.white(` ${best.name}`));
|
|
88
|
-
console.log(chalk.gray(` ${best.reason}`));
|
|
89
|
-
console.log();
|
|
90
|
-
console.log(chalk.gray("\u2500".repeat(60)));
|
|
91
|
-
console.log();
|
|
92
|
-
console.log(chalk.cyan(" Set Provider Preference:"));
|
|
93
|
-
console.log(chalk.gray(" paradigm team providers --set auto # Auto-detect (default)"));
|
|
94
|
-
console.log(chalk.gray(" paradigm team providers --set claude # Always use API"));
|
|
95
|
-
console.log(chalk.gray(" paradigm team providers --set claude-code # Use Max subscription"));
|
|
96
|
-
console.log(chalk.gray(" paradigm team providers --set manual # Manual handoffs only"));
|
|
97
|
-
console.log();
|
|
98
|
-
console.log(chalk.gray(" Or set environment variable:"));
|
|
99
|
-
console.log(chalk.gray(" export PARADIGM_AGENT_PROVIDER=claude-code"));
|
|
100
|
-
console.log();
|
|
101
|
-
}
|
|
102
|
-
export {
|
|
103
|
-
teamProvidersCommand
|
|
104
|
-
};
|
package/dist/quiz-M66SC7F7.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
loadQuiz,
|
|
4
|
-
saveDiploma
|
|
5
|
-
} from "./chunk-GT5QGC2H.js";
|
|
6
|
-
import "./chunk-PDX44BCA.js";
|
|
7
|
-
|
|
8
|
-
// src/commands/university/quiz.ts
|
|
9
|
-
import chalk from "chalk";
|
|
10
|
-
import * as readline from "readline";
|
|
11
|
-
import { execSync } from "child_process";
|
|
12
|
-
import * as os from "os";
|
|
13
|
-
function resolveStudent() {
|
|
14
|
-
try {
|
|
15
|
-
return execSync("git config user.name", { encoding: "utf-8", timeout: 3e3 }).trim().toLowerCase().replace(/[^a-z0-9-]/g, "-").replace(/-+/g, "-").slice(0, 20) || "unknown";
|
|
16
|
-
} catch {
|
|
17
|
-
try {
|
|
18
|
-
return os.userInfo().username;
|
|
19
|
-
} catch {
|
|
20
|
-
return "unknown";
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function ask(rl, question) {
|
|
25
|
-
return new Promise((resolve) => rl.question(question, resolve));
|
|
26
|
-
}
|
|
27
|
-
async function universityQuizCommand(id) {
|
|
28
|
-
const rootDir = process.cwd();
|
|
29
|
-
const quiz = loadQuiz(rootDir, id);
|
|
30
|
-
if (!quiz) {
|
|
31
|
-
console.error(chalk.red(`
|
|
32
|
-
Quiz "${id}" not found
|
|
33
|
-
`));
|
|
34
|
-
process.exit(1);
|
|
35
|
-
}
|
|
36
|
-
if (quiz.questions.length === 0) {
|
|
37
|
-
console.log(chalk.yellow(`
|
|
38
|
-
Quiz "${id}" has no questions.
|
|
39
|
-
`));
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
|
43
|
-
console.log(chalk.blue(`
|
|
44
|
-
${quiz.title}`));
|
|
45
|
-
if (quiz.description) console.log(chalk.gray(` ${quiz.description}`));
|
|
46
|
-
console.log(chalk.gray(` ${quiz.questions.length} questions \xB7 Pass: ${quiz.passThreshold * 100}%
|
|
47
|
-
`));
|
|
48
|
-
let correct = 0;
|
|
49
|
-
for (let i = 0; i < quiz.questions.length; i++) {
|
|
50
|
-
const q = quiz.questions[i];
|
|
51
|
-
console.log(chalk.white(` ${i + 1}. ${q.question}`));
|
|
52
|
-
const choiceKeys = Object.keys(q.choices).sort();
|
|
53
|
-
for (const key of choiceKeys) {
|
|
54
|
-
console.log(` ${chalk.cyan(key)}: ${q.choices[key]}`);
|
|
55
|
-
}
|
|
56
|
-
let answer = "";
|
|
57
|
-
while (!choiceKeys.includes(answer.toUpperCase())) {
|
|
58
|
-
answer = await ask(rl, chalk.gray(` Your answer (${choiceKeys.join("/")}): `));
|
|
59
|
-
answer = answer.trim().toUpperCase();
|
|
60
|
-
}
|
|
61
|
-
if (answer === q.correct) {
|
|
62
|
-
correct++;
|
|
63
|
-
console.log(chalk.green(" Correct!"));
|
|
64
|
-
} else {
|
|
65
|
-
console.log(chalk.red(` Wrong \u2014 correct answer: ${q.correct}`));
|
|
66
|
-
}
|
|
67
|
-
if (q.explanation) console.log(chalk.gray(` \u2192 ${q.explanation}`));
|
|
68
|
-
console.log();
|
|
69
|
-
}
|
|
70
|
-
rl.close();
|
|
71
|
-
const total = quiz.questions.length;
|
|
72
|
-
const percentage = Math.round(correct / total * 1e4) / 100;
|
|
73
|
-
const passed = percentage / 100 >= quiz.passThreshold;
|
|
74
|
-
const student = resolveStudent();
|
|
75
|
-
console.log(chalk.blue(" \u2500\u2500\u2500 Results \u2500\u2500\u2500"));
|
|
76
|
-
console.log(` Score: ${correct}/${total} (${percentage}%)`);
|
|
77
|
-
console.log(` Pass threshold: ${quiz.passThreshold * 100}%`);
|
|
78
|
-
console.log(passed ? chalk.green(" PASSED") : chalk.red(" FAILED"));
|
|
79
|
-
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
80
|
-
const diplomaId = `D-${today}-${student}-${id.replace(/^Q-/, "")}`;
|
|
81
|
-
const diploma = {
|
|
82
|
-
id: diplomaId,
|
|
83
|
-
type: "quiz",
|
|
84
|
-
student,
|
|
85
|
-
earnedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
86
|
-
source: id,
|
|
87
|
-
score: correct,
|
|
88
|
-
total,
|
|
89
|
-
percentage,
|
|
90
|
-
passed
|
|
91
|
-
};
|
|
92
|
-
saveDiploma(rootDir, diploma);
|
|
93
|
-
console.log(chalk.gray(`
|
|
94
|
-
Diploma saved: ${diplomaId}
|
|
95
|
-
`));
|
|
96
|
-
}
|
|
97
|
-
export {
|
|
98
|
-
universityQuizCommand
|
|
99
|
-
};
|
package/dist/record-RA4WR2BO.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
recordLore,
|
|
4
|
-
resolveAuthor
|
|
5
|
-
} from "./chunk-EKGMAM62.js";
|
|
6
|
-
import "./chunk-PDX44BCA.js";
|
|
7
|
-
|
|
8
|
-
// src/commands/lore/record.ts
|
|
9
|
-
import chalk from "chalk";
|
|
10
|
-
async function loreRecordCommand(options) {
|
|
11
|
-
const rootDir = process.cwd();
|
|
12
|
-
let confidence;
|
|
13
|
-
if (options.confidence != null) {
|
|
14
|
-
confidence = parseFloat(options.confidence);
|
|
15
|
-
if (isNaN(confidence) || confidence < 0 || confidence > 1) {
|
|
16
|
-
console.error(chalk.red("\n Error: --confidence must be a number between 0.0 and 1.0\n"));
|
|
17
|
-
process.exit(1);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
const entry = {
|
|
21
|
-
id: "",
|
|
22
|
-
// auto-generated
|
|
23
|
-
type: options.type || "human-note",
|
|
24
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
25
|
-
duration_minutes: options.duration ? parseInt(options.duration, 10) : void 0,
|
|
26
|
-
author: options.author || resolveAuthor(),
|
|
27
|
-
title: options.title || "Untitled",
|
|
28
|
-
summary: options.summary || "",
|
|
29
|
-
symbols_touched: options.symbols ? options.symbols.split(",").map((s) => s.trim()) : [],
|
|
30
|
-
files_modified: options.filesModified ? options.filesModified.split(",").map((f) => f.trim()) : void 0,
|
|
31
|
-
files_created: options.filesCreated ? options.filesCreated.split(",").map((f) => f.trim()) : void 0,
|
|
32
|
-
commit: options.commit || void 0,
|
|
33
|
-
learnings: options.learnings ? options.learnings.split(",").map((l) => l.trim()) : void 0,
|
|
34
|
-
tags: options.tags ? options.tags.split(",").map((t) => t.trim()) : void 0,
|
|
35
|
-
meta: options.meta ? JSON.parse(options.meta) : void 0,
|
|
36
|
-
body: options.body || void 0,
|
|
37
|
-
linked_lore: options.linkLore ? options.linkLore.split(",").map((l) => l.trim()) : void 0,
|
|
38
|
-
linked_commits: options.linkCommits ? options.linkCommits.split(",").map((c) => c.trim()) : void 0,
|
|
39
|
-
confidence
|
|
40
|
-
// git_context is auto-captured by recordLore
|
|
41
|
-
};
|
|
42
|
-
await recordLore(rootDir, entry);
|
|
43
|
-
console.log(chalk.green(`
|
|
44
|
-
Lore entry recorded: ${entry.id}
|
|
45
|
-
`));
|
|
46
|
-
}
|
|
47
|
-
export {
|
|
48
|
-
loreRecordCommand
|
|
49
|
-
};
|
package/dist/reindex-5LTD53ZC.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
getReindexToolsList,
|
|
4
|
-
handleReindexTool,
|
|
5
|
-
rebuildStaticFiles
|
|
6
|
-
} from "./chunk-4BLYIB7J.js";
|
|
7
|
-
import "./chunk-L27I3CPZ.js";
|
|
8
|
-
import "./chunk-5VKJBNJL.js";
|
|
9
|
-
import "./chunk-4L3UTYQX.js";
|
|
10
|
-
import "./chunk-CL7JSK52.js";
|
|
11
|
-
import "./chunk-7N7GSU6K.js";
|
|
12
|
-
export {
|
|
13
|
-
getReindexToolsList,
|
|
14
|
-
handleReindexTool,
|
|
15
|
-
rebuildStaticFiles
|
|
16
|
-
};
|