@cortex-agent/server 2026.10.27 → 2026.11.17
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/LICENSE +255 -21
- package/README.md +54 -7
- package/THIRD_PARTY_NOTICES.txt +1109 -278
- package/defaults/hooks/cortex-hook-api.mjs +2 -1
- package/defaults/plugins/cortex-system/skills/client-manage/SKILL.md +23 -15
- package/dist/agent-adapter/claude/remote-mcp-proxy.js +1 -1
- package/dist/chunks/{anthropic-messages-M3SMXACA.js → anthropic-messages-M732OMEE.js} +1 -1
- package/dist/chunks/{azure-openai-responses-76YWXHSB.js → azure-openai-responses-RAKTV6JY.js} +1 -1
- package/dist/chunks/bedrock-converse-stream-WNUGNZ27.js +62 -0
- package/dist/chunks/bowser-MLGGLXTZ.js +20 -0
- package/dist/chunks/child-runner-MO5RT6FH.js +4 -0
- package/dist/chunks/chunk-2ATTYCRJ.js +4 -0
- package/dist/chunks/{chunk-PXS5SHOV.js → chunk-2ROGTDM2.js} +1 -1
- package/dist/chunks/chunk-2VVRTJQN.js +4 -0
- package/dist/chunks/{chunk-OZGBWAT2.js → chunk-2YTYYG4K.js} +1 -1
- package/dist/chunks/chunk-3CPIMAYX.js +30 -0
- package/dist/chunks/{chunk-FXDIR3SQ.js → chunk-3CZPBLB3.js} +1 -1
- package/dist/chunks/chunk-3ORG56I5.js +8 -0
- package/dist/chunks/{chunk-LEUENXI2.js → chunk-4YLAGSDM.js} +1 -1
- package/dist/chunks/{chunk-HU6UIDEJ.js → chunk-53TQNK7Z.js} +1 -1
- package/dist/chunks/{chunk-4U7XXM4W.js → chunk-5A6CA5TM.js} +1 -1
- package/dist/chunks/{chunk-PBJ5MPPX.js → chunk-5DF5WJNM.js} +1 -1
- package/dist/chunks/chunk-5PAW3DEU.js +50 -0
- package/dist/chunks/{chunk-DXBSQXJL.js → chunk-7GAYFN52.js} +1 -1
- package/dist/chunks/chunk-7GEBDPTT.js +4 -0
- package/dist/chunks/{chunk-NR6U3WIZ.js → chunk-AFTBQRPN.js} +1 -1
- package/dist/chunks/chunk-AVXDF7AG.js +4 -0
- package/dist/chunks/chunk-BDLKI2NT.js +4 -0
- package/dist/chunks/{chunk-P52RMIYX.js → chunk-BJGYGEZO.js} +1 -1
- package/dist/chunks/chunk-BUZQBTV2.js +10 -0
- package/dist/chunks/chunk-BZDIAI5M.js +125 -0
- package/dist/chunks/{chunk-A34TDMIC.js → chunk-CEGSDGYQ.js} +1 -1
- package/dist/chunks/{chunk-Q7CE3UIE.js → chunk-CK3P345X.js} +69 -69
- package/dist/chunks/{chunk-YAEVYJAR.js → chunk-EE3WT25T.js} +1 -1
- package/dist/chunks/chunk-ETIBCA2S.js +4 -0
- package/dist/chunks/{chunk-REBNWCKI.js → chunk-FP7ML72L.js} +1 -1
- package/dist/chunks/{chunk-H2FP6DG4.js → chunk-H4QZ2P3Z.js} +1 -1
- package/dist/chunks/chunk-IA6IODY3.js +4 -0
- package/dist/chunks/{chunk-D3NXKK2L.js → chunk-IKLTEWA3.js} +1 -1
- package/dist/chunks/chunk-IYVZHGUQ.js +5 -0
- package/dist/chunks/chunk-JJDEQ6N2.js +4 -0
- package/dist/chunks/chunk-JKL3AK5D.js +106 -0
- package/dist/chunks/chunk-KDPY2YA3.js +129 -0
- package/dist/chunks/{chunk-SUFW24P4.js → chunk-KUDK7GPS.js} +1 -1
- package/dist/chunks/chunk-LAWOWPZX.js +363 -0
- package/dist/chunks/chunk-LEAV3FFG.js +4 -0
- package/dist/chunks/chunk-LP72AF56.js +45 -0
- package/dist/chunks/{chunk-KENCMLRE.js → chunk-LP7T32PW.js} +1 -1
- package/dist/chunks/chunk-LQTFDC67.js +4 -0
- package/dist/chunks/{chunk-HALUQ7ZF.js → chunk-MGYYSX7Y.js} +1 -1
- package/dist/chunks/chunk-NNBSSISP.js +4 -0
- package/dist/chunks/chunk-NNTQUHLO.js +877 -0
- package/dist/chunks/{chunk-PFMEUFJ7.js → chunk-NRD57ICT.js} +1 -1
- package/dist/chunks/{chunk-QWAQHHRS.js → chunk-NXZS5PEW.js} +1 -1
- package/dist/chunks/chunk-OFEPDNRB.js +4 -0
- package/dist/chunks/{chunk-6LZK4DDH.js → chunk-P7TVR4GY.js} +1 -1
- package/dist/chunks/chunk-QEL6CMLE.js +4 -0
- package/dist/chunks/chunk-QMSSIDRQ.js +70 -0
- package/dist/chunks/chunk-QUXPMNFQ.js +4 -0
- package/dist/chunks/chunk-R52AVUQB.js +5 -0
- package/dist/chunks/chunk-R6CGBSTC.js +22 -0
- package/dist/chunks/chunk-RA2BUYI3.js +6 -0
- package/dist/chunks/chunk-RDW6FRF5.js +4 -0
- package/dist/chunks/chunk-RF4JLYBX.js +6 -0
- package/dist/chunks/{chunk-YPK2CAIZ.js → chunk-ROVKOIHF.js} +1 -1
- package/dist/chunks/chunk-RYLSRII6.js +7 -0
- package/dist/chunks/{chunk-XNSSUVT6.js → chunk-S3MR37DL.js} +1 -1
- package/dist/chunks/chunk-SAJD4EKE.js +10 -0
- package/dist/chunks/chunk-SFX7V5O2.js +10 -0
- package/dist/chunks/chunk-STCNHXPJ.js +6 -0
- package/dist/chunks/{chunk-FOJQXLL2.js → chunk-SY2HV3V5.js} +1 -1
- package/dist/chunks/chunk-T73GHMFB.js +4 -0
- package/dist/chunks/chunk-TKFFQNAP.js +19 -0
- package/dist/chunks/chunk-TMV2ZDOI.js +18 -0
- package/dist/chunks/chunk-TX46YMGI.js +5 -0
- package/dist/chunks/chunk-U23S37TT.js +6 -0
- package/dist/chunks/chunk-UT6DGZDO.js +4 -0
- package/dist/chunks/{chunk-JERCOLY3.js → chunk-V35MFAUQ.js} +4 -6
- package/dist/chunks/chunk-V6X7Y62J.js +7 -0
- package/dist/chunks/chunk-V7K3KNDM.js +4 -0
- package/dist/chunks/{chunk-NAA7GF6Q.js → chunk-VBN2JSER.js} +1 -1
- package/dist/chunks/chunk-VIMHSW6J.js +4 -0
- package/dist/chunks/chunk-VK5J556O.js +4 -0
- package/dist/chunks/chunk-VPVSKJGX.js +6 -0
- package/dist/chunks/chunk-VTL3Z2OP.js +23 -0
- package/dist/chunks/{chunk-X2GYYRVM.js → chunk-VW7TLY3P.js} +1 -1
- package/dist/chunks/chunk-W34AK4SK.js +65 -0
- package/dist/chunks/chunk-W6AKCEYF.js +8 -0
- package/dist/chunks/chunk-WBSE3EF3.js +27 -0
- package/dist/chunks/chunk-WZYS2HAK.js +4 -0
- package/dist/chunks/{chunk-UNVEZI57.js → chunk-XEBEWR6Y.js} +1 -1
- package/dist/chunks/chunk-XPPZ6Y3X.js +8 -0
- package/dist/chunks/chunk-XYSXL3KX.js +4 -0
- package/dist/chunks/chunk-YAAKL3QS.js +80 -0
- package/dist/chunks/chunk-YB5LUJHS.js +65 -0
- package/dist/chunks/chunk-Z24SBRJK.js +4 -0
- package/dist/chunks/cloudflare-workers-ai-system-one-32JCFHI3.js +1 -1
- package/dist/chunks/context-GQKWKFRM.js +4 -0
- package/dist/chunks/cost-OOO32GLC.js +5 -0
- package/dist/chunks/dist-V5FRMUFH.js +4 -0
- package/dist/chunks/easter-egg-3d-CZH7AYZ7.js +4 -0
- package/dist/chunks/{event-streams-3JSFPOTZ.js → event-streams-AVE4MSS6.js} +1 -1
- package/dist/chunks/execution-repo-XXL4FXC6.js +4 -0
- package/dist/chunks/{executions-6ARGR3IO.js → executions-BN6OLLVM.js} +1 -1
- package/dist/chunks/file-H572PL2Z.js +4 -0
- package/dist/chunks/google-generative-ai-2G4ITOZL.js +4 -0
- package/dist/chunks/google-vertex-PACHCMRZ.js +4 -0
- package/dist/chunks/init-75F4V7SK.js +4 -0
- package/dist/chunks/{install-cli-4IZCSDFZ.js → install-cli-ABBD7DO5.js} +1 -1
- package/dist/chunks/{interaction-ask-G5T3H3CG.js → interaction-ask-EE2UPR3Q.js} +1 -1
- package/dist/chunks/{interaction-plan-E5V42MUP.js → interaction-plan-C446T2GZ.js} +1 -1
- package/dist/chunks/{llama-cpp-classify-OTXZWCMW.js → llama-cpp-classify-IA2F2H7A.js} +1 -1
- package/dist/chunks/local-client-stop-5YOLXGYT.js +4 -0
- package/dist/chunks/memory-cli-5SSF6YJM.js +11 -0
- package/dist/chunks/{mistral-conversations-34F66L3O.js → mistral-conversations-VHP63CDS.js} +1 -1
- package/dist/chunks/{model-resolver-N3DTAQ2S.js → model-resolver-FVJNZ6NA.js} +1 -1
- package/dist/chunks/{node-PTK2HCDV.js → node-DAO3SX7O.js} +1 -1
- package/dist/chunks/{openai-codex-2REL6UQU.js → openai-codex-JULCKICT.js} +1 -1
- package/dist/chunks/{openai-codex-responses-ZBVHREB3.js → openai-codex-responses-EHJ4AZBE.js} +1 -1
- package/dist/chunks/{openai-completions-VVIB26SH.js → openai-completions-CRAGQFCE.js} +1 -1
- package/dist/chunks/{openai-decisions-2N6ZRPZC.js → openai-decisions-P5UX7BWY.js} +1 -1
- package/dist/chunks/{openai-responses-735XA2ZX.js → openai-responses-IZ22NVQ7.js} +1 -1
- package/dist/chunks/{openrouter-images-3IKETHAC.js → openrouter-images-W2JAMSRH.js} +1 -1
- package/dist/chunks/{pi-messages-I3E4ZFHA.js → pi-messages-MJEEQU2R.js} +1 -1
- package/dist/chunks/{radius-HXRZVBDB.js → radius-ZM7ZRMXF.js} +1 -1
- package/dist/chunks/{remote-ops-BALZYKH6.js → remote-ops-O5CR4RGA.js} +1 -1
- package/dist/chunks/runner-S6R3US24.js +4 -0
- package/dist/chunks/schedule-cli-4T4YC5V5.js +4 -0
- package/dist/chunks/slack-2CGM4SMY.js +4 -0
- package/dist/chunks/start-ui-http-3D7QNHGB.js +43 -0
- package/dist/chunks/subagent-OZGUOV3J.js +4 -0
- package/dist/chunks/{time-KEHDQT6K.js → time-P6PE52WL.js} +1 -1
- package/dist/chunks/tool-shims-IA2WELXJ.js +4 -0
- package/dist/chunks/typesafe-system-one-6ULACYD4.js +1 -1
- package/dist/chunks/ui-board-H4INJD6C.js +5 -0
- package/dist/chunks/ui-decision-6HHNROIT.js +4 -0
- package/dist/chunks/{ui-file-GVH53O3X.js → ui-file-6PLXHSTB.js} +1 -1
- package/dist/chunks/ui-view-6MDU4GXY.js +4 -0
- package/dist/chunks/virtual-modules-OFI7QKYH.js +4 -0
- package/dist/chunks/waitpoint-W5M3BE55.js +5 -0
- package/dist/chunks/workers-GTFP75MS.js +4 -0
- package/dist/client-bundle/client.mjs +44 -31
- package/dist/client-bundle/manifest.json +2 -2
- package/dist/core/pi-sdk.js +1 -1
- package/dist/domain/auth/cc-auth-cli.js +1 -1
- package/dist/domain/mcp/bundled-server.js +1 -1
- package/dist/domain/mcp/feishu/client.js +4 -0
- package/dist/entry/app.js +201 -191
- package/dist/entry/browser-cli.js +10 -10
- package/dist/entry/cli.js +1 -1
- package/dist/entry/cortex-cli.js +1 -1
- package/dist/entry/daemon.js +4 -4
- package/dist/entry/hook-cli.js +2 -2
- package/dist/entry/production-app-bootstrap.js +1 -1
- package/dist/entry/production-evidence-export-cli.js +1 -1
- package/dist/entry/signal-cli.js +2 -2
- package/dist/tui/index.js +41 -41
- package/package.json +3 -3
- package/vendor/pi/dist/core/extensions/loader.js +1 -1
- package/vendor/pi/dist/extensions/codemode/execute.js +1 -1
- package/vendor/pi-ai/bedrock.js +1 -1
- package/vendor/pi-ai/oauth-load.js +1 -1
- package/web/dist/assets/{board-math-css-BmiXB1z5.js → board-math-css-BgIyUG-C.js} +1 -1
- package/web/dist/assets/index-9lyu2S6W.css +1 -0
- package/web/dist/assets/index-C-hpzey7.js +532 -0
- package/web/dist/assets/{index-XBRXpnC5.js → index-C2eMpcuI.js} +1 -1
- package/web/dist/assets/pdf-worker-DdZgk2mV.js +57 -0
- package/web/dist/assets/pdf.worker.min-Bz_KHX45.js +55 -0
- package/web/dist/index.html +2 -2
- package/web/dist/theme.css +22 -0
- package/dist/chunks/api-GM53PHIL-GFHEXXE6.js +0 -4
- package/dist/chunks/bedrock-converse-stream-5UPX4NTQ.js +0 -58
- package/dist/chunks/child-runner-3GHOWGZP.js +0 -4
- package/dist/chunks/chunk-2ZNLUY2U.js +0 -128
- package/dist/chunks/chunk-3F6WW7HR.js +0 -13
- package/dist/chunks/chunk-3OKHUVEM.js +0 -7
- package/dist/chunks/chunk-3THJYAEF.js +0 -4
- package/dist/chunks/chunk-3YHOCPQU.js +0 -10
- package/dist/chunks/chunk-4LLH5OWM.js +0 -10
- package/dist/chunks/chunk-52T37Y47.js +0 -8
- package/dist/chunks/chunk-7MU2AKNM.js +0 -4
- package/dist/chunks/chunk-AAA3UBIS.js +0 -4
- package/dist/chunks/chunk-ASYQHJVQ.js +0 -9
- package/dist/chunks/chunk-BGVHA2D4.js +0 -4
- package/dist/chunks/chunk-BKHDWCRT.js +0 -79
- package/dist/chunks/chunk-CQLH4UVX.js +0 -4
- package/dist/chunks/chunk-D6UA4BZC.js +0 -19
- package/dist/chunks/chunk-DGMNI4AO.js +0 -4
- package/dist/chunks/chunk-DHSA5ACV.js +0 -125
- package/dist/chunks/chunk-DPQPXBTP.js +0 -68
- package/dist/chunks/chunk-E7ZMYIY6.js +0 -30
- package/dist/chunks/chunk-EQITBTJC.js +0 -10
- package/dist/chunks/chunk-EXJA5RIX.js +0 -357
- package/dist/chunks/chunk-FH74NME3.js +0 -115
- package/dist/chunks/chunk-FOQ7VLIL.js +0 -17
- package/dist/chunks/chunk-J5DVLUKY.js +0 -6
- package/dist/chunks/chunk-JW2HFMTF.js +0 -4
- package/dist/chunks/chunk-KIGMAATV.js +0 -23
- package/dist/chunks/chunk-KIU5FAPY.js +0 -5
- package/dist/chunks/chunk-KIWMQPH7.js +0 -739
- package/dist/chunks/chunk-LMSQZ6TQ.js +0 -4
- package/dist/chunks/chunk-MEPASGPP.js +0 -6
- package/dist/chunks/chunk-MFAEUHMV.js +0 -28
- package/dist/chunks/chunk-NKDMKRSB.js +0 -68
- package/dist/chunks/chunk-NKXV32S6.js +0 -4
- package/dist/chunks/chunk-NVX5IPRN.js +0 -4
- package/dist/chunks/chunk-O3JW2F7D.js +0 -8
- package/dist/chunks/chunk-OISO5JXB.js +0 -4
- package/dist/chunks/chunk-OPYXNSMY.js +0 -4
- package/dist/chunks/chunk-PZMXHA6X.js +0 -9
- package/dist/chunks/chunk-QEOFEETJ.js +0 -4
- package/dist/chunks/chunk-REPYBMQS.js +0 -4
- package/dist/chunks/chunk-TAWLERZA.js +0 -4
- package/dist/chunks/chunk-TWAEABGG.js +0 -52
- package/dist/chunks/chunk-TZFLHVOQ.js +0 -7
- package/dist/chunks/chunk-UD3NMUHR.js +0 -12
- package/dist/chunks/chunk-W25TB3PU.js +0 -4
- package/dist/chunks/chunk-W5LGYSPZ.js +0 -4
- package/dist/chunks/chunk-XAJLZR7C.js +0 -28
- package/dist/chunks/chunk-XH6FMP3N.js +0 -71
- package/dist/chunks/chunk-XSRZHN63.js +0 -4
- package/dist/chunks/chunk-YG7OEPR2.js +0 -6
- package/dist/chunks/chunk-YHIWOGVL.js +0 -4
- package/dist/chunks/chunk-YZSHTWNM.js +0 -92
- package/dist/chunks/chunk-Z4H3VDHI.js +0 -4
- package/dist/chunks/client-XOGYH5UR.js +0 -4
- package/dist/chunks/config-DJSQI77S-335IXHSM.js +0 -4
- package/dist/chunks/context-VCQH5OB6.js +0 -4
- package/dist/chunks/cost-PGGFI7QJ.js +0 -5
- package/dist/chunks/dist-PUKMZ7GW.js +0 -4
- package/dist/chunks/easter-egg-3d-MO4MOEVF.js +0 -4
- package/dist/chunks/es5-VNTQPCKX.js +0 -4
- package/dist/chunks/execution-repo-ZLJTBWFC.js +0 -4
- package/dist/chunks/file-7BN7RCAY.js +0 -4
- package/dist/chunks/gateway-UCRPMR75.js +0 -36
- package/dist/chunks/google-generative-ai-2VXWLHWI.js +0 -4
- package/dist/chunks/google-vertex-UA36QP2U.js +0 -4
- package/dist/chunks/init-HA7FAQ73.js +0 -4
- package/dist/chunks/local-client-stop-SQRU7ZZM.js +0 -4
- package/dist/chunks/memory-cli-PYOILNN5.js +0 -11
- package/dist/chunks/models-L5VF4I5O-XXNJYQMQ.js +0 -4
- package/dist/chunks/runner-PLVZDGHB.js +0 -4
- package/dist/chunks/schedule-cli-OLASBBYJ.js +0 -4
- package/dist/chunks/slack-WAGSPZUX.js +0 -4
- package/dist/chunks/start-ui-http-QALT7C3P.js +0 -43
- package/dist/chunks/subagent-E3UC7ZHC.js +0 -4
- package/dist/chunks/tool-shims-Q6P6UXVC.js +0 -4
- package/dist/chunks/ui-board-4GYW6KKW.js +0 -5
- package/dist/chunks/ui-decision-U2FXSEC2.js +0 -4
- package/dist/chunks/ui-view-O7PLANT7.js +0 -4
- package/dist/chunks/virtual-modules-IDC5YKZJ.js +0 -4
- package/dist/chunks/waitpoint-2FGQBIAC.js +0 -5
- package/dist/chunks/workers-XN4PSTH6.js +0 -4
- package/vendor/aistatus/gateway-cli.js +0 -21
- package/web/dist/assets/index-DqWMdMkh.css +0 -1
- package/web/dist/assets/index-btKNdkvc.js +0 -525
- package/web/dist/assets/pdf-worker-Hp15W1QJ.js +0 -57
- package/web/dist/assets/pdf.worker.min-DnhTvCwe.js +0 -55
package/LICENSE
CHANGED
|
@@ -1,21 +1,255 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Cortex Non-Commercial License
|
|
2
|
+
|
|
3
|
+
Copyright 2026 fangxm233
|
|
4
|
+
|
|
5
|
+
Cortex (the "Software") is licensed under the Apache License, Version 2.0,
|
|
6
|
+
reproduced in full below, subject to the Non-Commercial Condition that
|
|
7
|
+
follows. Where the two conflict, the Non-Commercial Condition controls. These
|
|
8
|
+
combined terms are not the Apache License and are not endorsed by the Apache
|
|
9
|
+
Software Foundation.
|
|
10
|
+
|
|
11
|
+
NON-COMMERCIAL CONDITION
|
|
12
|
+
|
|
13
|
+
1. Permitted use. Anyone may download, use, copy, modify, and share the
|
|
14
|
+
Software free of charge for Non-Commercial Purposes. A "Non-Commercial
|
|
15
|
+
Purpose" is any purpose that is not a Commercial Purpose, including
|
|
16
|
+
personal study, education, and academic research.
|
|
17
|
+
|
|
18
|
+
2. Commercial use prohibited. Notwithstanding anything in the Apache License,
|
|
19
|
+
the rights granted under it do not include, and you are not granted, the
|
|
20
|
+
right to use, copy, modify, distribute, or sublicense the Software or any
|
|
21
|
+
Derivative Work of it for any Commercial Purpose. A "Commercial Purpose" is
|
|
22
|
+
any purpose intended for or directed toward commercial advantage or
|
|
23
|
+
monetary compensation, including without limitation:
|
|
24
|
+
|
|
25
|
+
(a) selling, licensing, renting, or otherwise charging for the Software or
|
|
26
|
+
a Derivative Work, or for hosting, support, warranty, or consulting
|
|
27
|
+
services related to it;
|
|
28
|
+
(b) offering the Software or its functionality as part of a paid product
|
|
29
|
+
or service, including hosted and software-as-a-service offerings;
|
|
30
|
+
(c) incorporating the Software into, or using it to develop, any
|
|
31
|
+
commercial product or service; and
|
|
32
|
+
(d) using the Software in the business operations of a for-profit entity
|
|
33
|
+
or in work performed for a fee.
|
|
34
|
+
|
|
35
|
+
3. Sharing. The Software and Derivative Works may be distributed only free of
|
|
36
|
+
charge and only under these same terms. Every copy must include this
|
|
37
|
+
Non-Commercial Condition together with the Apache License text below. You
|
|
38
|
+
may not remove this Condition or license the Software or any Derivative
|
|
39
|
+
Work under terms that permit Commercial Purposes.
|
|
40
|
+
|
|
41
|
+
4. Termination. Any use of the Software or a Derivative Work for a Commercial
|
|
42
|
+
Purpose automatically terminates all rights granted to you under these
|
|
43
|
+
terms.
|
|
44
|
+
|
|
45
|
+
5. Commercial licensing. Commercial use requires a separate written license
|
|
46
|
+
from the copyright holder. Requests can be made through
|
|
47
|
+
https://github.com/fangxm233/cortex-agent.
|
|
48
|
+
|
|
49
|
+
Capitalized terms not defined above have the meanings given in the Apache
|
|
50
|
+
License.
|
|
51
|
+
|
|
52
|
+
--------------------------------------------------------------------------------
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
Apache License
|
|
56
|
+
Version 2.0, January 2004
|
|
57
|
+
http://www.apache.org/licenses/
|
|
58
|
+
|
|
59
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
60
|
+
|
|
61
|
+
1. Definitions.
|
|
62
|
+
|
|
63
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
64
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
65
|
+
|
|
66
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
67
|
+
the copyright owner that is granting the License.
|
|
68
|
+
|
|
69
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
70
|
+
other entities that control, are controlled by, or are under common
|
|
71
|
+
control with that entity. For the purposes of this definition,
|
|
72
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
73
|
+
direction or management of such entity, whether by contract or
|
|
74
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
75
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
76
|
+
|
|
77
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
78
|
+
exercising permissions granted by this License.
|
|
79
|
+
|
|
80
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
81
|
+
including but not limited to software source code, documentation
|
|
82
|
+
source, and configuration files.
|
|
83
|
+
|
|
84
|
+
"Object" form shall mean any form resulting from mechanical
|
|
85
|
+
transformation or translation of a Source form, including but
|
|
86
|
+
not limited to compiled object code, generated documentation,
|
|
87
|
+
and conversions to other media types.
|
|
88
|
+
|
|
89
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
90
|
+
Object form, made available under the License, as indicated by a
|
|
91
|
+
copyright notice that is included in or attached to the work
|
|
92
|
+
(an example is provided in the Appendix below).
|
|
93
|
+
|
|
94
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
95
|
+
form, that is based on (or derived from) the Work and for which the
|
|
96
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
97
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
98
|
+
of this License, Derivative Works shall not include works that remain
|
|
99
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
100
|
+
the Work and Derivative Works thereof.
|
|
101
|
+
|
|
102
|
+
"Contribution" shall mean any work of authorship, including
|
|
103
|
+
the original version of the Work and any modifications or additions
|
|
104
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
105
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
106
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
107
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
108
|
+
means any form of electronic, verbal, or written communication sent
|
|
109
|
+
to the Licensor or its representatives, including but not limited to
|
|
110
|
+
communication on electronic mailing lists, source code control systems,
|
|
111
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
112
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
113
|
+
excluding communication that is conspicuously marked or otherwise
|
|
114
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
115
|
+
|
|
116
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
117
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
118
|
+
subsequently incorporated within the Work.
|
|
119
|
+
|
|
120
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
121
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
122
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
123
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
124
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
125
|
+
Work and such Derivative Works in Source or Object form.
|
|
126
|
+
|
|
127
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
128
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
129
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
130
|
+
(except as stated in this section) patent license to make, have made,
|
|
131
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
132
|
+
where such license applies only to those patent claims licensable
|
|
133
|
+
by such Contributor that are necessarily infringed by their
|
|
134
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
135
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
136
|
+
institute patent litigation against any entity (including a
|
|
137
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
138
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
139
|
+
or contributory patent infringement, then any patent licenses
|
|
140
|
+
granted to You under this License for that Work shall terminate
|
|
141
|
+
as of the date such litigation is filed.
|
|
142
|
+
|
|
143
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
144
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
145
|
+
modifications, and in Source or Object form, provided that You
|
|
146
|
+
meet the following conditions:
|
|
147
|
+
|
|
148
|
+
(a) You must give any other recipients of the Work or
|
|
149
|
+
Derivative Works a copy of this License; and
|
|
150
|
+
|
|
151
|
+
(b) You must cause any modified files to carry prominent notices
|
|
152
|
+
stating that You changed the files; and
|
|
153
|
+
|
|
154
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
155
|
+
that You distribute, all copyright, patent, trademark, and
|
|
156
|
+
attribution notices from the Source form of the Work,
|
|
157
|
+
excluding those notices that do not pertain to any part of
|
|
158
|
+
the Derivative Works; and
|
|
159
|
+
|
|
160
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
161
|
+
distribution, then any Derivative Works that You distribute must
|
|
162
|
+
include a readable copy of the attribution notices contained
|
|
163
|
+
within such NOTICE file, excluding those notices that do not
|
|
164
|
+
pertain to any part of the Derivative Works, in at least one
|
|
165
|
+
of the following places: within a NOTICE text file distributed
|
|
166
|
+
as part of the Derivative Works; within the Source form or
|
|
167
|
+
documentation, if provided along with the Derivative Works; or,
|
|
168
|
+
within a display generated by the Derivative Works, if and
|
|
169
|
+
wherever such third-party notices normally appear. The contents
|
|
170
|
+
of the NOTICE file are for informational purposes only and
|
|
171
|
+
do not modify the License. You may add Your own attribution
|
|
172
|
+
notices within Derivative Works that You distribute, alongside
|
|
173
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
174
|
+
that such additional attribution notices cannot be construed
|
|
175
|
+
as modifying the License.
|
|
176
|
+
|
|
177
|
+
You may add Your own copyright statement to Your modifications and
|
|
178
|
+
may provide additional or different license terms and conditions
|
|
179
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
180
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
181
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
182
|
+
the conditions stated in this License.
|
|
183
|
+
|
|
184
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
185
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
186
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
187
|
+
this License, without any additional terms or conditions.
|
|
188
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
189
|
+
the terms of any separate license agreement you may have executed
|
|
190
|
+
with Licensor regarding such Contributions.
|
|
191
|
+
|
|
192
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
193
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
194
|
+
except as required for reasonable and customary use in describing the
|
|
195
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
196
|
+
|
|
197
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
198
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
199
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
201
|
+
implied, including, without limitation, any warranties or conditions
|
|
202
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
203
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
204
|
+
appropriateness of using or redistributing the Work and assume any
|
|
205
|
+
risks associated with Your exercise of permissions under this License.
|
|
206
|
+
|
|
207
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
208
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
209
|
+
unless required by applicable law (such as deliberate and grossly
|
|
210
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
211
|
+
liable to You for damages, including any direct, indirect, special,
|
|
212
|
+
incidental, or consequential damages of any character arising as a
|
|
213
|
+
result of this License or out of the use or inability to use the
|
|
214
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
215
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
216
|
+
other commercial damages or losses), even if such Contributor
|
|
217
|
+
has been advised of the possibility of such damages.
|
|
218
|
+
|
|
219
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
220
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
221
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
222
|
+
or other liability obligations and/or rights consistent with this
|
|
223
|
+
License. However, in accepting such obligations, You may act only
|
|
224
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
225
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
226
|
+
defend, and hold each Contributor harmless for any liability
|
|
227
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
228
|
+
of your accepting any such warranty or additional liability.
|
|
229
|
+
|
|
230
|
+
END OF TERMS AND CONDITIONS
|
|
231
|
+
|
|
232
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
233
|
+
|
|
234
|
+
To apply the Apache License to your work, attach the following
|
|
235
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
236
|
+
replaced with your own identifying information. (Don't include
|
|
237
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
238
|
+
comment syntax for the file format. We also recommend that a
|
|
239
|
+
file or class name and description of purpose be included on the
|
|
240
|
+
same "printed page" as the copyright notice for easier
|
|
241
|
+
identification within third-party archives.
|
|
242
|
+
|
|
243
|
+
Copyright [yyyy] [name of copyright owner]
|
|
244
|
+
|
|
245
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
246
|
+
you may not use this file except in compliance with the License.
|
|
247
|
+
You may obtain a copy of the License at
|
|
248
|
+
|
|
249
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
250
|
+
|
|
251
|
+
Unless required by applicable law or agreed to in writing, software
|
|
252
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
253
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
254
|
+
See the License for the specific language governing permissions and
|
|
255
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ keeps every result in plain files that outlast any session, and asks you only wh
|
|
|
10
10
|
[](https://github.com/fangxm233/cortex-agent/releases)
|
|
11
11
|
[](https://www.npmjs.com/package/@cortex-agent/server)
|
|
12
12
|
[](https://fangxm233.github.io/cortex-agent/)
|
|
13
|
-
[](https://github.com/fangxm233/cortex-agent/blob/main/LICENSE)
|
|
14
14
|
|
|
15
15
|
[Download](#download) · [Docs](https://fangxm233.github.io/cortex-agent/) · [中文](https://github.com/fangxm233/cortex-agent/blob/main/docs/zh/README.md)
|
|
16
16
|
|
|
@@ -25,11 +25,11 @@ keeps every result in plain files that outlast any session, and asks you only wh
|
|
|
25
25
|
|
|
26
26
|
| Platform | Installer |
|
|
27
27
|
|---|---|
|
|
28
|
-
| macOS · Apple Silicon | [Cortex-2026.
|
|
29
|
-
| macOS · Intel | [Cortex-2026.
|
|
30
|
-
| Windows · x64 | [Cortex-2026.
|
|
31
|
-
| Linux · x86_64 | [AppImage](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.
|
|
32
|
-
| Android · arm64 | [Cortex-2026.
|
|
28
|
+
| macOS · Apple Silicon | [Cortex-2026.11.17-macOS-aarch64.dmg](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.11.17/Cortex-2026.11.17-macOS-aarch64.dmg) |
|
|
29
|
+
| macOS · Intel | [Cortex-2026.11.17-macOS-x86_64.dmg](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.11.17/Cortex-2026.11.17-macOS-x86_64.dmg) |
|
|
30
|
+
| Windows · x64 | [Cortex-2026.11.17-Windows-x86_64-setup.exe](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.11.17/Cortex-2026.11.17-Windows-x86_64-setup.exe) |
|
|
31
|
+
| Linux · x86_64 | [AppImage](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.11.17/Cortex-2026.11.17-Linux-x86_64.AppImage) · [deb](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.11.17/Cortex-2026.11.17-Linux-amd64.deb) · [rpm](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.11.17/Cortex-2026.11.17-Linux-x86_64.rpm) |
|
|
32
|
+
| Android · arm64 | [Cortex-2026.11.17-Android-arm64.apk](https://github.com/fangxm233/cortex-agent/releases/download/server-v2026.11.17/Cortex-2026.11.17-Android-arm64.apk) |
|
|
33
33
|
|
|
34
34
|
The desktop app installs and starts a Cortex server on the same computer in one click, with no
|
|
35
35
|
terminal and no Node.js to set up, or connects to a server you already run. The Android app connects
|
|
@@ -63,6 +63,24 @@ provider you already pay for) as a long-lived service with a workbench in front
|
|
|
63
63
|
agents can change, inside a safety boundary you write. Cortex itself is developed entirely inside
|
|
64
64
|
Cortex.
|
|
65
65
|
|
|
66
|
+
## How Cortex compares
|
|
67
|
+
|
|
68
|
+
Cortex does not replace Claude Code, Codex, or PI. It runs them as a long-lived service: work that
|
|
69
|
+
lasts for days, GPU servers across machines, and fewer tokens spent along the way. Claude Code and PI
|
|
70
|
+
are its backends and run on the subscriptions you already have, including a ChatGPT plan through PI.
|
|
71
|
+
|
|
72
|
+
| | Terminal coding agents<br>(Claude Code, Codex CLI, PI) | Chat assistants | Cortex |
|
|
73
|
+
|---|---|---|---|
|
|
74
|
+
| **Shape of work** | One session on one machine, sized for hour-scale tasks | One conversation; results stay in the chat | A long-lived service; one piece of work spans sessions and days |
|
|
75
|
+
| **GPUs and servers** | You SSH in, find a free GPU, and check on the run yourself | Usually no access to your machines | Connected servers report live GPU load; agents pick free GPUs, launch runs, and wake when they finish |
|
|
76
|
+
| **Tokens on long tasks** | Context piles up and is compacted again and again | A long task lives in one growing conversation | Subtasks start from a clean context, state lives on disk, and waits don't poll: about 20% fewer tokens on similar tasks |
|
|
77
|
+
| **Models** | Claude Code and Codex center on their vendor's models; PI is multi-provider | Set by the platform | Claude Code, or PI with dozens of providers, including DeepSeek, Qwen, Kimi, and GLM |
|
|
78
|
+
| **Multiple agents** | Mostly one agent; some add subagents | Mostly one agent | A lead runs up to 8 workers at once, plus one-shot subagents, with a live board |
|
|
79
|
+
| **What is kept** | The session transcript and a notes file such as `CLAUDE.md` or `AGENTS.md` | The chat history | Experiments, findings, and decisions as plain files in the project |
|
|
80
|
+
| **Where you use it** | Terminal or IDE | Web or app | Web, desktop, Android, Slack, Feishu, and terminal, all on one server |
|
|
81
|
+
|
|
82
|
+
The comparison reflects each product's public positioning; check their own docs for current details.
|
|
83
|
+
|
|
66
84
|
## A tour of the workbench
|
|
67
85
|
|
|
68
86
|
### Plans, tools, and questions in one conversation
|
|
@@ -152,6 +170,32 @@ signs in to dozens of providers, including subscriptions such as ChatGPT Plus/Pr
|
|
|
152
170
|
API key. Claude Code is optional and uses your own Claude login. Usage and cost are tracked per
|
|
153
171
|
session and per provider. [Backends →](https://fangxm233.github.io/cortex-agent/backends/)
|
|
154
172
|
|
|
173
|
+
### The pelican test
|
|
174
|
+
|
|
175
|
+
The classic prompt, "Generate an HTML of a pelican riding a bicycle", run with the same model and
|
|
176
|
+
effort in Cortex and in that model's own app.
|
|
177
|
+
|
|
178
|
+
<table>
|
|
179
|
+
<tr><th colspan="2">Claude Opus 5.5 · xhigh effort</th></tr>
|
|
180
|
+
<tr><td align="center">Cortex</td><td align="center">Claude app</td></tr>
|
|
181
|
+
<tr>
|
|
182
|
+
<td><img width="400" alt="Cortex with Claude Opus 5.5: a pelican with a red scarf riding a teal bicycle with a fish basket along a road, with speed, brake and bell controls below the scene" src="https://raw.githubusercontent.com/fangxm233/cortex-agent/main/docs/images/ui/pelican-opus-cortex.png"></td>
|
|
183
|
+
<td><img width="400" alt="The Claude app with Claude Opus 5.5: a pelican riding a red bicycle along a road under a sun and clouds" src="https://raw.githubusercontent.com/fangxm233/cortex-agent/main/docs/images/ui/pelican-opus-claude-app.png"></td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr><th colspan="2">GPT-6.1 Sol · xhigh effort</th></tr>
|
|
186
|
+
<tr><td align="center">Cortex</td><td align="center">Codex</td></tr>
|
|
187
|
+
<tr>
|
|
188
|
+
<td><img width="400" alt="Cortex with GPT-6.1 Sol: a 'Slow Coast Club' page headed 'A little coastin'.', a pelican in a green cap and red scarf riding an orange bicycle by the sea, with a lighthouse and a Pause ride button" src="https://raw.githubusercontent.com/fangxm233/cortex-agent/main/docs/images/ui/pelican-sol-cortex.png"></td>
|
|
189
|
+
<td><img width="400" alt="Codex with GPT-6.1 Sol: a page headed 'Taking the scenic route.', a pelican in a green scarf riding a green bicycle by the sea" src="https://raw.githubusercontent.com/fangxm233/cortex-agent/main/docs/images/ui/pelican-sol-codex.png"></td>
|
|
190
|
+
</tr>
|
|
191
|
+
<tr><th colspan="2">GPT-6 Astra · xhigh effort</th></tr>
|
|
192
|
+
<tr><td align="center">Cortex</td><td align="center">Codex</td></tr>
|
|
193
|
+
<tr>
|
|
194
|
+
<td><img width="400" alt="Cortex with GPT-6 Astra: an 'Off the Clock' page headed 'The scenic route.', a pelican in a red scarf riding a dark green bicycle in front of a large sun, with a Pause ride button" src="https://raw.githubusercontent.com/fangxm233/cortex-agent/main/docs/images/ui/pelican-astra-cortex.png"></td>
|
|
195
|
+
<td><img width="400" alt="Codex with GPT-6 Astra: a 'Pelican Pedal Club' card, a pelican in an orange scarf riding a teal bicycle by the sea, with a Pause ride button" src="https://raw.githubusercontent.com/fangxm233/cortex-agent/main/docs/images/ui/pelican-astra-codex.png"></td>
|
|
196
|
+
</tr>
|
|
197
|
+
</table>
|
|
198
|
+
|
|
155
199
|
## Get started
|
|
156
200
|
|
|
157
201
|
### Desktop app
|
|
@@ -272,4 +316,7 @@ a Rust toolchain. The server is organized in six layers, from core utilities to
|
|
|
272
316
|
|
|
273
317
|
## License
|
|
274
318
|
|
|
275
|
-
[
|
|
319
|
+
Cortex is released under the [Cortex Non-Commercial License](https://github.com/fangxm233/cortex-agent/blob/main/LICENSE): the Apache License 2.0 terms
|
|
320
|
+
with an added non-commercial condition. Anyone may download, modify, and share it and use it for
|
|
321
|
+
personal study, education, and academic research free of charge. Any commercial use, including use
|
|
322
|
+
inside a for-profit company, requires a separate license from the author.
|