@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/show-5PV5KFJE.js
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
loadLoreEntry
|
|
4
|
-
} from "./chunk-EKGMAM62.js";
|
|
5
|
-
import "./chunk-PDX44BCA.js";
|
|
6
|
-
|
|
7
|
-
// src/commands/lore/show.ts
|
|
8
|
-
import chalk from "chalk";
|
|
9
|
-
async function loreShowCommand(id, options) {
|
|
10
|
-
const rootDir = process.cwd();
|
|
11
|
-
const entry = await loadLoreEntry(rootDir, id);
|
|
12
|
-
if (!entry) {
|
|
13
|
-
console.error(chalk.red(`
|
|
14
|
-
Entry not found: ${id}
|
|
15
|
-
`));
|
|
16
|
-
process.exit(1);
|
|
17
|
-
}
|
|
18
|
-
if (options.json) {
|
|
19
|
-
console.log(JSON.stringify(entry, null, 2));
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const typeColor = {
|
|
23
|
-
"agent-session": chalk.hex("#818cf8"),
|
|
24
|
-
"human-note": chalk.hex("#34d399"),
|
|
25
|
-
"decision": chalk.hex("#fbbf24"),
|
|
26
|
-
"review": chalk.hex("#c084fc"),
|
|
27
|
-
"incident": chalk.hex("#f87171"),
|
|
28
|
-
"milestone": chalk.hex("#60a5fa")
|
|
29
|
-
};
|
|
30
|
-
const typeColors = {
|
|
31
|
-
...typeColor,
|
|
32
|
-
"retro": chalk.hex("#fb923c"),
|
|
33
|
-
"insight": chalk.hex("#a78bfa")
|
|
34
|
-
};
|
|
35
|
-
const entryType = entry.type || "agent-session";
|
|
36
|
-
const colorFn = typeColors[entryType] || chalk.white;
|
|
37
|
-
console.log();
|
|
38
|
-
console.log(chalk.white.bold(` ${entry.title}`));
|
|
39
|
-
console.log(chalk.gray(` ${entry.id} \xB7 ${colorFn(entryType)} \xB7 ${entry.timestamp}`));
|
|
40
|
-
console.log();
|
|
41
|
-
console.log(` \u{1F464} ${chalk.white(entry.author)}`);
|
|
42
|
-
if (entry.agent) {
|
|
43
|
-
console.log(` \u{1F916} ${chalk.gray(entry.agent.model)}${entry.agent.provider ? chalk.gray(` (${entry.agent.provider})`) : ""}`);
|
|
44
|
-
}
|
|
45
|
-
if (entry.duration_minutes) {
|
|
46
|
-
console.log(` \u23F1 ${entry.duration_minutes} minutes`);
|
|
47
|
-
}
|
|
48
|
-
console.log();
|
|
49
|
-
console.log(chalk.gray(" Summary:"));
|
|
50
|
-
console.log(` ${entry.summary}`);
|
|
51
|
-
console.log();
|
|
52
|
-
if (entry.body) {
|
|
53
|
-
console.log(chalk.gray(" Body:"));
|
|
54
|
-
for (const line of entry.body.split("\n")) {
|
|
55
|
-
console.log(` ${line}`);
|
|
56
|
-
}
|
|
57
|
-
console.log();
|
|
58
|
-
}
|
|
59
|
-
if (entry.linked_lore && entry.linked_lore.length > 0) {
|
|
60
|
-
console.log(chalk.gray(" Linked lore:"));
|
|
61
|
-
for (const id2 of entry.linked_lore) {
|
|
62
|
-
console.log(` ${chalk.cyan(id2)}`);
|
|
63
|
-
}
|
|
64
|
-
console.log();
|
|
65
|
-
}
|
|
66
|
-
if (entry.linked_tasks && entry.linked_tasks.length > 0) {
|
|
67
|
-
console.log(chalk.gray(" Linked tasks:"));
|
|
68
|
-
for (const id2 of entry.linked_tasks) {
|
|
69
|
-
console.log(` ${chalk.yellow(id2)}`);
|
|
70
|
-
}
|
|
71
|
-
console.log();
|
|
72
|
-
}
|
|
73
|
-
if (entry.linked_commits && entry.linked_commits.length > 0) {
|
|
74
|
-
console.log(chalk.gray(" Linked commits:"));
|
|
75
|
-
for (const sha of entry.linked_commits) {
|
|
76
|
-
console.log(` ${chalk.gray(sha)}`);
|
|
77
|
-
}
|
|
78
|
-
console.log();
|
|
79
|
-
}
|
|
80
|
-
if (entry.symbols_touched?.length > 0) {
|
|
81
|
-
console.log(chalk.gray(" Symbols touched:"));
|
|
82
|
-
console.log(` ${entry.symbols_touched.map((s) => chalk.cyan(s)).join(" ")}`);
|
|
83
|
-
console.log();
|
|
84
|
-
}
|
|
85
|
-
if (entry.symbols_created && entry.symbols_created.length > 0) {
|
|
86
|
-
console.log(chalk.gray(" Symbols created:"));
|
|
87
|
-
console.log(` ${entry.symbols_created.map((s) => chalk.green(s)).join(" ")}`);
|
|
88
|
-
console.log();
|
|
89
|
-
}
|
|
90
|
-
if (entry.files_created && entry.files_created.length > 0) {
|
|
91
|
-
console.log(chalk.gray(` Files created (${entry.files_created.length}):`));
|
|
92
|
-
for (const f of entry.files_created.slice(0, 10)) {
|
|
93
|
-
console.log(` ${chalk.green("+")} ${f}`);
|
|
94
|
-
}
|
|
95
|
-
if (entry.files_created.length > 10) console.log(chalk.gray(` ... and ${entry.files_created.length - 10} more`));
|
|
96
|
-
console.log();
|
|
97
|
-
}
|
|
98
|
-
if (entry.files_modified && entry.files_modified.length > 0) {
|
|
99
|
-
console.log(chalk.gray(` Files modified (${entry.files_modified.length}):`));
|
|
100
|
-
for (const f of entry.files_modified.slice(0, 10)) {
|
|
101
|
-
console.log(` ${chalk.yellow("~")} ${f}`);
|
|
102
|
-
}
|
|
103
|
-
if (entry.files_modified.length > 10) console.log(chalk.gray(` ... and ${entry.files_modified.length - 10} more`));
|
|
104
|
-
console.log();
|
|
105
|
-
}
|
|
106
|
-
if (entry.lines_added || entry.lines_removed) {
|
|
107
|
-
console.log(` ${chalk.green(`+${entry.lines_added || 0}`)} ${chalk.red(`-${entry.lines_removed || 0}`)} lines`);
|
|
108
|
-
console.log();
|
|
109
|
-
}
|
|
110
|
-
if (entry.decisions && entry.decisions.length > 0) {
|
|
111
|
-
console.log(chalk.gray(" Decisions:"));
|
|
112
|
-
for (const d of entry.decisions) {
|
|
113
|
-
console.log(` ${chalk.yellow("\u25BA")} ${chalk.white(d.decision)}`);
|
|
114
|
-
console.log(` ${chalk.gray(d.rationale)}`);
|
|
115
|
-
}
|
|
116
|
-
console.log();
|
|
117
|
-
}
|
|
118
|
-
if (entry.errors_encountered && entry.errors_encountered.length > 0) {
|
|
119
|
-
console.log(chalk.gray(" Errors encountered:"));
|
|
120
|
-
for (const e of entry.errors_encountered) {
|
|
121
|
-
console.log(` ${chalk.red("\u2717")} ${e.description}`);
|
|
122
|
-
console.log(` ${chalk.green("\u2192")} ${e.resolution}${e.time_to_fix ? chalk.gray(` (${e.time_to_fix})`) : ""}`);
|
|
123
|
-
}
|
|
124
|
-
console.log();
|
|
125
|
-
}
|
|
126
|
-
if (entry.learnings && entry.learnings.length > 0) {
|
|
127
|
-
console.log(chalk.gray(" Learnings:"));
|
|
128
|
-
for (const l of entry.learnings) {
|
|
129
|
-
console.log(` ${chalk.blue("\u2022")} ${l}`);
|
|
130
|
-
}
|
|
131
|
-
console.log();
|
|
132
|
-
}
|
|
133
|
-
if (entry.verification) {
|
|
134
|
-
const statusIcon = entry.verification.status === "pass" ? chalk.green("\u2713 pass") : entry.verification.status === "fail" ? chalk.red("\u2717 fail") : entry.verification.status === "partial" ? chalk.yellow("\u26A0 partial") : chalk.gray("\xB7 untested");
|
|
135
|
-
console.log(` Verification: ${statusIcon}`);
|
|
136
|
-
if (entry.verification.details) {
|
|
137
|
-
for (const [k, v] of Object.entries(entry.verification.details)) {
|
|
138
|
-
const icon = v === "pass" ? chalk.green("\u2713") : chalk.red("\u2717");
|
|
139
|
-
console.log(` ${icon} ${k}`);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
console.log();
|
|
143
|
-
}
|
|
144
|
-
if (entry.review) {
|
|
145
|
-
const stars = (n) => chalk.yellow("\u2605".repeat(n) + "\u2606".repeat(5 - n));
|
|
146
|
-
console.log(chalk.gray(" Review:"));
|
|
147
|
-
console.log(` Reviewer: ${entry.review.reviewer}`);
|
|
148
|
-
console.log(` Completeness: ${stars(entry.review.completeness)}`);
|
|
149
|
-
console.log(` Quality: ${stars(entry.review.quality)}`);
|
|
150
|
-
if (entry.review.notes) console.log(` Notes: ${entry.review.notes}`);
|
|
151
|
-
console.log();
|
|
152
|
-
}
|
|
153
|
-
if (entry.commit) {
|
|
154
|
-
console.log(` Commit: ${chalk.gray(entry.commit)}`);
|
|
155
|
-
}
|
|
156
|
-
if (entry.git_context) {
|
|
157
|
-
const gc = entry.git_context;
|
|
158
|
-
console.log(chalk.gray(" Git context:"));
|
|
159
|
-
console.log(` ${chalk.gray(gc.ref.slice(0, 8))} on ${chalk.cyan(gc.branch)}${gc.dirty ? chalk.yellow(" (dirty)") : ""}`);
|
|
160
|
-
console.log();
|
|
161
|
-
}
|
|
162
|
-
if (entry.meta && Object.keys(entry.meta).length > 0) {
|
|
163
|
-
console.log(chalk.gray(" Metadata:"));
|
|
164
|
-
for (const [k, v] of Object.entries(entry.meta)) {
|
|
165
|
-
console.log(` ${chalk.white(k)}: ${chalk.gray(String(v))}`);
|
|
166
|
-
}
|
|
167
|
-
console.log();
|
|
168
|
-
}
|
|
169
|
-
if (entry.tags && entry.tags.length > 0) {
|
|
170
|
-
console.log(` Tags: ${entry.tags.map((t) => chalk.gray(`[${t}]`)).join(" ")}`);
|
|
171
|
-
}
|
|
172
|
-
console.log();
|
|
173
|
-
}
|
|
174
|
-
export {
|
|
175
|
-
loreShowCommand
|
|
176
|
-
};
|
package/dist/show-NQKYX6WQ.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
loadNote,
|
|
4
|
-
loadPath,
|
|
5
|
-
loadQuiz
|
|
6
|
-
} from "./chunk-GT5QGC2H.js";
|
|
7
|
-
import "./chunk-PDX44BCA.js";
|
|
8
|
-
|
|
9
|
-
// src/commands/university/show.ts
|
|
10
|
-
import chalk from "chalk";
|
|
11
|
-
async function universityShowCommand(id, options) {
|
|
12
|
-
const rootDir = process.cwd();
|
|
13
|
-
const note = loadNote(rootDir, id);
|
|
14
|
-
if (note) {
|
|
15
|
-
if (options.json) {
|
|
16
|
-
console.log(JSON.stringify({ ...note.frontmatter, body: note.body }, null, 2));
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
console.log(chalk.blue(`
|
|
20
|
-
${note.frontmatter.title}`));
|
|
21
|
-
console.log(chalk.gray(` ${note.frontmatter.type} \xB7 ${note.frontmatter.difficulty} \xB7 ${note.frontmatter.author}`));
|
|
22
|
-
if (note.frontmatter.tags.length > 0) {
|
|
23
|
-
console.log(chalk.gray(` Tags: ${note.frontmatter.tags.join(", ")}`));
|
|
24
|
-
}
|
|
25
|
-
if (note.frontmatter.symbols.length > 0) {
|
|
26
|
-
console.log(chalk.gray(` Symbols: ${note.frontmatter.symbols.join(", ")}`));
|
|
27
|
-
}
|
|
28
|
-
console.log();
|
|
29
|
-
console.log(note.body);
|
|
30
|
-
console.log();
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
const quiz = loadQuiz(rootDir, id);
|
|
34
|
-
if (quiz) {
|
|
35
|
-
if (options.json) {
|
|
36
|
-
console.log(JSON.stringify(quiz, null, 2));
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
console.log(chalk.blue(`
|
|
40
|
-
${quiz.title}`));
|
|
41
|
-
console.log(chalk.gray(` quiz \xB7 ${quiz.difficulty} \xB7 ${quiz.questions.length} questions \xB7 pass: ${quiz.passThreshold * 100}%`));
|
|
42
|
-
if (quiz.description) console.log(chalk.gray(` ${quiz.description}`));
|
|
43
|
-
console.log();
|
|
44
|
-
for (const q of quiz.questions) {
|
|
45
|
-
console.log(` ${chalk.cyan(q.id)}: ${q.question}`);
|
|
46
|
-
for (const [key, val] of Object.entries(q.choices)) {
|
|
47
|
-
const marker = key === q.correct ? chalk.green("*") : " ";
|
|
48
|
-
console.log(` ${marker} ${key}: ${val}`);
|
|
49
|
-
}
|
|
50
|
-
if (q.explanation) console.log(chalk.gray(` \u2192 ${q.explanation}`));
|
|
51
|
-
console.log();
|
|
52
|
-
}
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
const lp = loadPath(rootDir, id);
|
|
56
|
-
if (lp) {
|
|
57
|
-
if (options.json) {
|
|
58
|
-
console.log(JSON.stringify(lp, null, 2));
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
console.log(chalk.blue(`
|
|
62
|
-
${lp.title}`));
|
|
63
|
-
console.log(chalk.gray(` learning path \xB7 ${lp.steps.length} steps \xB7 ${lp.ordered ? "ordered" : "unordered"}`));
|
|
64
|
-
if (lp.description) console.log(chalk.gray(` ${lp.description}`));
|
|
65
|
-
console.log();
|
|
66
|
-
for (let i = 0; i < lp.steps.length; i++) {
|
|
67
|
-
const step = lp.steps[i];
|
|
68
|
-
const req = step.required ? chalk.red("required") : chalk.gray("optional");
|
|
69
|
-
console.log(` ${i + 1}. ${chalk.cyan(step.content)} (${req})`);
|
|
70
|
-
if (step.note) console.log(chalk.gray(` ${step.note}`));
|
|
71
|
-
}
|
|
72
|
-
console.log();
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
console.error(chalk.red(`
|
|
76
|
-
Content "${id}" not found
|
|
77
|
-
`));
|
|
78
|
-
process.exit(1);
|
|
79
|
-
}
|
|
80
|
-
export {
|
|
81
|
-
universityShowCommand
|
|
82
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
createSnapshot,
|
|
4
|
-
parsePremiseFile,
|
|
5
|
-
serializePremiseFile
|
|
6
|
-
} from "./chunk-ZGUAAVMA.js";
|
|
7
|
-
import "./chunk-EDOAWN7J.js";
|
|
8
|
-
import "./chunk-IRKUEJVW.js";
|
|
9
|
-
import "./chunk-PDX44BCA.js";
|
|
10
|
-
|
|
11
|
-
// src/commands/premise/snapshot.ts
|
|
12
|
-
import * as fs from "fs";
|
|
13
|
-
import * as path from "path";
|
|
14
|
-
import chalk from "chalk";
|
|
15
|
-
import ora from "ora";
|
|
16
|
-
async function premiseSnapshotCommand(name, description) {
|
|
17
|
-
const cwd = process.cwd();
|
|
18
|
-
const premisePath = path.join(cwd, ".premise");
|
|
19
|
-
console.log(chalk.blue("\n\u{1F4F8} Creating Snapshot...\n"));
|
|
20
|
-
const spinner = ora("Loading .premise file...").start();
|
|
21
|
-
try {
|
|
22
|
-
if (!fs.existsSync(premisePath)) {
|
|
23
|
-
spinner.fail(".premise file not found");
|
|
24
|
-
console.log(chalk.yellow('\nRun "paradigm init" first to create a .premise file\n'));
|
|
25
|
-
process.exit(1);
|
|
26
|
-
}
|
|
27
|
-
const { data, errors } = parsePremiseFile(premisePath);
|
|
28
|
-
if (errors.length > 0) {
|
|
29
|
-
spinner.warn("Warnings parsing .premise file");
|
|
30
|
-
for (const error of errors) {
|
|
31
|
-
console.log(chalk.yellow(` \u26A0 ${error}`));
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
if (!data) {
|
|
35
|
-
spinner.fail("Failed to parse .premise file");
|
|
36
|
-
process.exit(1);
|
|
37
|
-
}
|
|
38
|
-
spinner.text = "Creating snapshot...";
|
|
39
|
-
const updated = createSnapshot(data, name, description);
|
|
40
|
-
const snapshotCount = updated.snapshots?.length || 0;
|
|
41
|
-
fs.writeFileSync(premisePath, serializePremiseFile(updated));
|
|
42
|
-
spinner.succeed(`Created snapshot "${name}"`);
|
|
43
|
-
console.log(chalk.white("\nSnapshot Details"));
|
|
44
|
-
console.log(chalk.gray("\u2500".repeat(40)));
|
|
45
|
-
console.log(` Name: ${chalk.cyan(name)}`);
|
|
46
|
-
if (description) {
|
|
47
|
-
console.log(` Description: ${chalk.gray(description)}`);
|
|
48
|
-
}
|
|
49
|
-
console.log(` Nodes: ${chalk.cyan(data.nodes.length.toString())}`);
|
|
50
|
-
console.log(` Connections: ${chalk.cyan(data.connections.length.toString())}`);
|
|
51
|
-
console.log(` Total: ${chalk.cyan(snapshotCount.toString())} snapshot(s)`);
|
|
52
|
-
console.log("");
|
|
53
|
-
} catch (error) {
|
|
54
|
-
spinner.fail("Failed to create snapshot");
|
|
55
|
-
console.log(chalk.red(`Error: ${error.message}
|
|
56
|
-
`));
|
|
57
|
-
process.exit(1);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export {
|
|
61
|
-
premiseSnapshotCommand
|
|
62
|
-
};
|
package/dist/spawn-RCHNXDHE.js
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
AgentSpawner
|
|
4
|
-
} from "./chunk-45MUDW6E.js";
|
|
5
|
-
import {
|
|
6
|
-
loadAgentsManifest
|
|
7
|
-
} from "./chunk-PMXRGPRQ.js";
|
|
8
|
-
import "./chunk-PBHIFAL4.js";
|
|
9
|
-
import {
|
|
10
|
-
getBestProvider
|
|
11
|
-
} from "./chunk-TXESEO7Y.js";
|
|
12
|
-
import {
|
|
13
|
-
formatTokens
|
|
14
|
-
} from "./chunk-5JGJACDU.js";
|
|
15
|
-
import "./chunk-PDX44BCA.js";
|
|
16
|
-
|
|
17
|
-
// src/commands/team/spawn.ts
|
|
18
|
-
import * as path from "path";
|
|
19
|
-
import chalk from "chalk";
|
|
20
|
-
import ora from "ora";
|
|
21
|
-
async function teamSpawnCommand(agentName, targetPath, options) {
|
|
22
|
-
const rootDir = targetPath ? path.resolve(targetPath) : process.cwd();
|
|
23
|
-
if (!options.task) {
|
|
24
|
-
if (options.json) {
|
|
25
|
-
console.log(JSON.stringify({ error: 'Task is required. Use --task "..."' }));
|
|
26
|
-
} else {
|
|
27
|
-
console.log(chalk.red('\nTask is required. Use --task "..."'));
|
|
28
|
-
console.log(chalk.gray('Example: paradigm team spawn architect --task "Design the payment API"\n'));
|
|
29
|
-
}
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
const manifest = loadAgentsManifest(rootDir);
|
|
33
|
-
if (!manifest) {
|
|
34
|
-
if (options.json) {
|
|
35
|
-
console.log(JSON.stringify({ error: "Team not configured" }));
|
|
36
|
-
} else {
|
|
37
|
-
console.log(chalk.yellow("\nTeam not configured. Run `paradigm team init` first.\n"));
|
|
38
|
-
}
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
if (!manifest.agents[agentName]) {
|
|
42
|
-
if (options.json) {
|
|
43
|
-
console.log(JSON.stringify({
|
|
44
|
-
error: `Unknown agent: ${agentName}`,
|
|
45
|
-
available: Object.keys(manifest.agents)
|
|
46
|
-
}));
|
|
47
|
-
} else {
|
|
48
|
-
console.log(chalk.red(`
|
|
49
|
-
Unknown agent: ${agentName}`));
|
|
50
|
-
console.log(chalk.gray(`Available agents: ${Object.keys(manifest.agents).join(", ")}
|
|
51
|
-
`));
|
|
52
|
-
}
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
let budget;
|
|
56
|
-
if (options.budget) {
|
|
57
|
-
const parts = options.budget.split(",");
|
|
58
|
-
budget = {};
|
|
59
|
-
for (const part of parts) {
|
|
60
|
-
const [key, value] = part.split("=");
|
|
61
|
-
if (key === "tokens") budget.maxTokens = parseInt(value);
|
|
62
|
-
if (key === "cost") budget.maxCostUsd = parseFloat(value);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
const spinner = ora({
|
|
66
|
-
text: `Initializing ${agentName} agent...`,
|
|
67
|
-
isSilent: options.quiet || options.json
|
|
68
|
-
}).start();
|
|
69
|
-
const spawner = new AgentSpawner(rootDir);
|
|
70
|
-
try {
|
|
71
|
-
await spawner.initialize();
|
|
72
|
-
} catch (error) {
|
|
73
|
-
spinner.fail("Failed to initialize spawner");
|
|
74
|
-
if (options.json) {
|
|
75
|
-
console.log(JSON.stringify({
|
|
76
|
-
error: error instanceof Error ? error.message : String(error)
|
|
77
|
-
}));
|
|
78
|
-
} else {
|
|
79
|
-
console.log(chalk.red(`
|
|
80
|
-
Error: ${error instanceof Error ? error.message : error}
|
|
81
|
-
`));
|
|
82
|
-
}
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
let bestProvider;
|
|
86
|
-
try {
|
|
87
|
-
bestProvider = await getBestProvider(rootDir, options.provider);
|
|
88
|
-
} catch (error) {
|
|
89
|
-
spinner.fail("No agent provider available");
|
|
90
|
-
if (options.json) {
|
|
91
|
-
console.log(JSON.stringify({ error: "No agent provider available" }));
|
|
92
|
-
} else {
|
|
93
|
-
console.log(chalk.red("\nNo agent provider available."));
|
|
94
|
-
console.log(chalk.gray("Run `paradigm team providers` to see options.\n"));
|
|
95
|
-
}
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
if (!options.quiet && !options.json) {
|
|
99
|
-
spinner.text = `Using provider: ${bestProvider.name}`;
|
|
100
|
-
}
|
|
101
|
-
if (!options.quiet && !options.json) {
|
|
102
|
-
spinner.text = `Spawning ${chalk.cyan(agentName)} (${options.model || "default model"})...`;
|
|
103
|
-
}
|
|
104
|
-
const messages = [];
|
|
105
|
-
let outputText = "";
|
|
106
|
-
const onMessage = (message) => {
|
|
107
|
-
messages.push(message);
|
|
108
|
-
if (options.json) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
if (options.quiet) {
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
if (message.type === "text") {
|
|
115
|
-
if (spinner.isSpinning) {
|
|
116
|
-
spinner.stop();
|
|
117
|
-
}
|
|
118
|
-
process.stdout.write(message.content);
|
|
119
|
-
outputText += message.content;
|
|
120
|
-
} else if (message.type === "tool_use") {
|
|
121
|
-
if (!spinner.isSpinning) {
|
|
122
|
-
spinner.start();
|
|
123
|
-
}
|
|
124
|
-
spinner.text = `${agentName}: ${message.content}`;
|
|
125
|
-
} else if (message.type === "tool_result") {
|
|
126
|
-
const preview = typeof message.toolResult === "string" ? message.toolResult.slice(0, 100) : JSON.stringify(message.toolResult).slice(0, 100);
|
|
127
|
-
spinner.text = `${agentName}: Tool result (${preview}...)`;
|
|
128
|
-
} else if (message.type === "error") {
|
|
129
|
-
spinner.fail(message.content);
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
const onCheckpoint = async (description) => {
|
|
133
|
-
if (!options.checkpoint) return true;
|
|
134
|
-
console.log(chalk.yellow(`
|
|
135
|
-
\u26A0 Checkpoint: ${description}`));
|
|
136
|
-
console.log(chalk.gray("Press Enter to continue, or Ctrl+C to abort..."));
|
|
137
|
-
return new Promise((resolve2) => {
|
|
138
|
-
process.stdin.once("data", () => resolve2(true));
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
const result = await spawner.spawn(agentName, options.task, {
|
|
142
|
-
provider: options.provider,
|
|
143
|
-
// Pass explicit provider
|
|
144
|
-
model: options.model,
|
|
145
|
-
budget,
|
|
146
|
-
timeout: options.timeout ? parseInt(options.timeout) : void 0,
|
|
147
|
-
checkpoints: options.checkpoint ? { beforeActions: ["write", "delete", "execute"] } : void 0,
|
|
148
|
-
onMessage,
|
|
149
|
-
onCheckpoint
|
|
150
|
-
});
|
|
151
|
-
if (outputText && !outputText.endsWith("\n")) {
|
|
152
|
-
console.log();
|
|
153
|
-
}
|
|
154
|
-
if (options.json) {
|
|
155
|
-
console.log(JSON.stringify({
|
|
156
|
-
success: result.success,
|
|
157
|
-
sessionId: result.sessionId,
|
|
158
|
-
agent: agentName,
|
|
159
|
-
provider: bestProvider.name,
|
|
160
|
-
model: options.model || "default",
|
|
161
|
-
task: options.task,
|
|
162
|
-
relay: result.relay,
|
|
163
|
-
error: result.error
|
|
164
|
-
}, null, 2));
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
console.log();
|
|
168
|
-
console.log(chalk.gray("\u2500".repeat(50)));
|
|
169
|
-
console.log(chalk.gray(` Provider: ${bestProvider.name}`));
|
|
170
|
-
if (result.success) {
|
|
171
|
-
console.log(chalk.green(`\u2713 ${agentName} completed successfully`));
|
|
172
|
-
} else {
|
|
173
|
-
console.log(chalk.red(`\u2717 ${agentName} failed: ${result.error || "Unknown error"}`));
|
|
174
|
-
}
|
|
175
|
-
if (result.relay) {
|
|
176
|
-
const { metrics, outputs } = result.relay;
|
|
177
|
-
console.log(chalk.gray(` Tokens: ${formatTokens(metrics.tokens_used.total)}`));
|
|
178
|
-
console.log(chalk.gray(` Duration: ${(metrics.duration_ms / 1e3).toFixed(1)}s`));
|
|
179
|
-
console.log(chalk.gray(` Files read: ${metrics.files_read}, written: ${metrics.files_written}`));
|
|
180
|
-
if (outputs.symbols.length > 0) {
|
|
181
|
-
console.log(chalk.gray(` Symbols: ${outputs.symbols.join(", ")}`));
|
|
182
|
-
}
|
|
183
|
-
if (outputs.artifacts.length > 0) {
|
|
184
|
-
console.log(chalk.cyan("\n Artifacts:"));
|
|
185
|
-
for (const artifact of outputs.artifacts) {
|
|
186
|
-
const icon = artifact.action === "created" ? "+" : artifact.action === "deleted" ? "-" : "~";
|
|
187
|
-
console.log(chalk.gray(` ${icon} ${artifact.path}`));
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
console.log(chalk.gray(` Session: ${result.sessionId}`));
|
|
192
|
-
console.log();
|
|
193
|
-
}
|
|
194
|
-
export {
|
|
195
|
-
teamSpawnCommand
|
|
196
|
-
};
|
package/dist/status-WGIAQODY.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
loadDiplomas,
|
|
4
|
-
loadUniversityIndex
|
|
5
|
-
} from "./chunk-GT5QGC2H.js";
|
|
6
|
-
import "./chunk-PDX44BCA.js";
|
|
7
|
-
|
|
8
|
-
// src/commands/university/status.ts
|
|
9
|
-
import chalk from "chalk";
|
|
10
|
-
async function universityStatusCommand(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 diplomas = loadDiplomas(rootDir);
|
|
19
|
-
const typeCounts = {};
|
|
20
|
-
const tagCounts = {};
|
|
21
|
-
const difficultyCounts = {};
|
|
22
|
-
for (const entry of index.entries) {
|
|
23
|
-
typeCounts[entry.type] = (typeCounts[entry.type] || 0) + 1;
|
|
24
|
-
if (entry.difficulty) {
|
|
25
|
-
difficultyCounts[entry.difficulty] = (difficultyCounts[entry.difficulty] || 0) + 1;
|
|
26
|
-
}
|
|
27
|
-
for (const tag of entry.tags) {
|
|
28
|
-
tagCounts[tag] = (tagCounts[tag] || 0) + 1;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
if (options.json) {
|
|
32
|
-
console.log(JSON.stringify({ totalContent: index.totalContent, typeCounts, difficultyCounts, tagCounts, diplomaCount: diplomas.length }, null, 2));
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
console.log(chalk.blue("\n University Status\n"));
|
|
36
|
-
console.log(chalk.white(` Total content: ${index.totalContent}`));
|
|
37
|
-
for (const [type, count] of Object.entries(typeCounts).sort()) {
|
|
38
|
-
console.log(` ${chalk.cyan(type)}: ${count}`);
|
|
39
|
-
}
|
|
40
|
-
if (Object.keys(difficultyCounts).length > 0) {
|
|
41
|
-
console.log();
|
|
42
|
-
console.log(chalk.white(" By difficulty:"));
|
|
43
|
-
for (const [diff, count] of Object.entries(difficultyCounts)) {
|
|
44
|
-
const color = diff === "advanced" ? chalk.red : diff === "intermediate" ? chalk.yellow : chalk.green;
|
|
45
|
-
console.log(` ${color(diff)}: ${count}`);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
if (Object.keys(tagCounts).length > 0) {
|
|
49
|
-
console.log();
|
|
50
|
-
console.log(chalk.white(" Top tags:"));
|
|
51
|
-
const topTags = Object.entries(tagCounts).sort((a, b) => b[1] - a[1]).slice(0, 8);
|
|
52
|
-
for (const [tag, count] of topTags) {
|
|
53
|
-
console.log(` ${chalk.gray(tag)}: ${count}`);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
console.log();
|
|
57
|
-
console.log(chalk.white(` Diplomas earned: ${diplomas.length}`));
|
|
58
|
-
if (diplomas.length > 0) {
|
|
59
|
-
for (const d of diplomas.slice(0, 5)) {
|
|
60
|
-
const status = d.passed ? chalk.green("PASS") : chalk.red("FAIL");
|
|
61
|
-
console.log(` ${status} ${d.source} \u2014 ${d.student} (${d.percentage}%) ${chalk.gray(d.earnedAt.slice(0, 10))}`);
|
|
62
|
-
}
|
|
63
|
-
if (diplomas.length > 5) {
|
|
64
|
-
console.log(chalk.gray(` ... and ${diplomas.length - 5} more`));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
console.log();
|
|
68
|
-
}
|
|
69
|
-
export {
|
|
70
|
-
universityStatusCommand
|
|
71
|
-
};
|