openchatci 0.20.2__tar.gz
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.
- openchatci-0.20.2/LICENSE.md +191 -0
- openchatci-0.20.2/PKG-INFO +96 -0
- openchatci-0.20.2/README.md +73 -0
- openchatci-0.20.2/pyproject.toml +40 -0
- openchatci-0.20.2/setup.cfg +4 -0
- openchatci-0.20.2/src/app/__init__.py +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/_basePickBy-JIWxhhbg.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/_baseUniq-BQW6vVC-.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/arc-C_iBhHI0.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/architectureDiagram-2XIMDMQ5-Cp2UjGzy.js +36 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/blockDiagram-WCTKOSBZ-DUFEtMpt.js +132 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/c4Diagram-IC4MRINW-Chs9nydC.js +10 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/channel-CjJsahtQ.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-4BX2VUAB-C2BBIC34.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-55IACEB6-BqfE5Jue.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-FMBD7UC4-W07NqktH.js +15 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-JSJVCQXG-mWtv-UhY.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-KX2RTZJC-ry4yNpQo.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-NQ4KR5QH-BYVAkh6l.js +220 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-QZHKN3VN-BeZCmns5.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/chunk-WL4C6EOR-CSLm_FA6.js +189 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/classDiagram-VBA2DB6C-DSEGY2Lv.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/classDiagram-v2-RAHNMMFH-DSEGY2Lv.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/clone-CNU1ThhK.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/cose-bilkent-S5V4N54A-Czk5ooX1.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/cytoscape.esm-BQaXIfA_.js +331 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/dagre-KLK3FWXG-BGwEzO9P.js +4 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/defaultLocale-DX6XiGOO.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/diagram-E7M64L7V-BW-FnAhR.js +24 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/diagram-IFDJBPK2-DmRG1oMz.js +43 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/diagram-P4PSJMXO-BXCmKHRf.js +24 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/erDiagram-INFDFZHY-0bPeJbU7.js +70 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/flowDiagram-PKNHOUZH-AhpI7sy6.js +162 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/ganttDiagram-A5KZAMGK-DJ7VCbxj.js +292 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/gitGraphDiagram-K3NZZRJ6-C91IlP6G.js +65 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/graph-CzWNuEdt.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/index-BB1wSIWz.css +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/index-D9ofBqvq.js +896 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/infoDiagram-LFFYTUFH-Cf_xudkW.js +2 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/init-Gi6I4Gst.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/ishikawaDiagram-PHBUUO56-lozXIWC6.js +70 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/journeyDiagram-4ABVD52K-BcR3bHTc.js +139 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/kanban-definition-K7BYSVSG-QBMEkpd_.js +89 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/layout-CezLtAer.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/linear-D-50oacx.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/mindmap-definition-YRQLILUH-Di6Ou3d7.js +68 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/ordinal-Cboi1Yqb.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/pieDiagram-SKSYHLDU-Bh9C2f0d.js +30 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/quadrantDiagram-337W2JSQ-BSb-dkHw.js +7 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/requirementDiagram-Z7DCOOCP-Cfh4lcq5.js +73 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/sankeyDiagram-WA2Y5GQK-7uUwBrrl.js +10 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/sequenceDiagram-2WXFIKYE-BcPLToWG.js +145 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/stateDiagram-RAJIS63D-BQUEEtnk.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/stateDiagram-v2-FVOUBMTO-uPMB2Qpr.js +1 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/timeline-definition-YZTLITO2-CT3ATdCQ.js +61 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/treemap-KZPCXAKY-DqlkOeOB.js +162 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/vennDiagram-LZ73GAT5-CKAfclo0.js +34 -0
- openchatci-0.20.2/src/app/_frontend_dist/assets/xychartDiagram-JWTSCODW-BsvKhKXg.js +7 -0
- openchatci-0.20.2/src/app/_frontend_dist/favicon.svg +5 -0
- openchatci-0.20.2/src/app/_frontend_dist/index.html +14 -0
- openchatci-0.20.2/src/app/agui/__init__.py +0 -0
- openchatci-0.20.2/src/app/agui/agent_factory.py +129 -0
- openchatci-0.20.2/src/app/agui/endpoint.py +335 -0
- openchatci-0.20.2/src/app/cli.py +160 -0
- openchatci-0.20.2/src/app/coding/__init__.py +0 -0
- openchatci-0.20.2/src/app/coding/security.py +22 -0
- openchatci-0.20.2/src/app/coding/tools.py +244 -0
- openchatci-0.20.2/src/app/core/__init__.py +0 -0
- openchatci-0.20.2/src/app/core/config.py +48 -0
- openchatci-0.20.2/src/app/devui/__init__.py +0 -0
- openchatci-0.20.2/src/app/devui/launcher.py +58 -0
- openchatci-0.20.2/src/app/main.py +129 -0
- openchatci-0.20.2/src/app/session/__init__.py +0 -0
- openchatci-0.20.2/src/app/session/provider.py +163 -0
- openchatci-0.20.2/src/app/session/router.py +485 -0
- openchatci-0.20.2/src/app/stt/__init__.py +0 -0
- openchatci-0.20.2/src/app/stt/provider.py +24 -0
- openchatci-0.20.2/src/app/stt/router.py +40 -0
- openchatci-0.20.2/src/app/stt/whisper.py +43 -0
- openchatci-0.20.2/src/app/templates/.env.template +51 -0
- openchatci-0.20.2/src/app/upload/__init__.py +0 -0
- openchatci-0.20.2/src/app/upload/router.py +85 -0
- openchatci-0.20.2/src/app/weather/__init__.py +0 -0
- openchatci-0.20.2/src/app/weather/models.py +21 -0
- openchatci-0.20.2/src/app/weather/tools.py +214 -0
- openchatci-0.20.2/src/openchatci.egg-info/PKG-INFO +96 -0
- openchatci-0.20.2/src/openchatci.egg-info/SOURCES.txt +148 -0
- openchatci-0.20.2/src/openchatci.egg-info/dependency_links.txt +1 -0
- openchatci-0.20.2/src/openchatci.egg-info/entry_points.txt +2 -0
- openchatci-0.20.2/src/openchatci.egg-info/requires.txt +9 -0
- openchatci-0.20.2/src/openchatci.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2026 OpenChatCi Contributors
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: openchatci
|
|
3
|
+
Version: 0.20.2
|
|
4
|
+
Summary: Hawaii-built localhost-first AI agent platform powered by Microsoft Agent Framework.
|
|
5
|
+
Author: Jingun Jung
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/motojinc25/openchatci
|
|
8
|
+
Project-URL: Repository, https://github.com/motojinc25/openchatci
|
|
9
|
+
Project-URL: Issues, https://github.com/motojinc25/openchatci/issues
|
|
10
|
+
Requires-Python: >=3.12
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE.md
|
|
13
|
+
Requires-Dist: fastapi>=0.115.0
|
|
14
|
+
Requires-Dist: uvicorn[standard]>=0.34.0
|
|
15
|
+
Requires-Dist: pydantic-settings>=2.9.0
|
|
16
|
+
Requires-Dist: python-dotenv>=1.1.0
|
|
17
|
+
Requires-Dist: agent-framework>=1.0.0rc2
|
|
18
|
+
Requires-Dist: agent-framework-ag-ui>=1.0.0b0
|
|
19
|
+
Requires-Dist: agent-framework-devui>=1.0.0b0
|
|
20
|
+
Requires-Dist: azure-identity>=1.23.0
|
|
21
|
+
Requires-Dist: httpx>=0.28.0
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
|
|
24
|
+
# OpenChatCi
|
|
25
|
+
|
|
26
|
+
Hawaii-built localhost-first AI agent platform powered by Microsoft Agent Framework.
|
|
27
|
+
|
|
28
|
+
## Install
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install openchatci
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Quick Start
|
|
35
|
+
|
|
36
|
+
### Linux / macOS
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Generate .env configuration
|
|
40
|
+
openchatci init
|
|
41
|
+
|
|
42
|
+
# Edit .env and set AZURE_OPENAI_ENDPOINT
|
|
43
|
+
nano .env
|
|
44
|
+
|
|
45
|
+
# Login to Azure CLI
|
|
46
|
+
az login
|
|
47
|
+
|
|
48
|
+
# Start the server
|
|
49
|
+
openchatci
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Windows (PowerShell)
|
|
53
|
+
|
|
54
|
+
```powershell
|
|
55
|
+
# Generate .env configuration
|
|
56
|
+
openchatci init
|
|
57
|
+
|
|
58
|
+
# Edit .env and set AZURE_OPENAI_ENDPOINT
|
|
59
|
+
notepad .env
|
|
60
|
+
|
|
61
|
+
# Login to Azure CLI
|
|
62
|
+
az login
|
|
63
|
+
|
|
64
|
+
# Start the server
|
|
65
|
+
openchatci
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Open http://localhost:8000/chat
|
|
69
|
+
|
|
70
|
+
## CLI Usage
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
openchatci Start the server
|
|
74
|
+
openchatci init Generate .env from template
|
|
75
|
+
openchatci init --force Overwrite existing .env
|
|
76
|
+
openchatci --host 0.0.0.0 Bind to all interfaces
|
|
77
|
+
openchatci --port 9000 Use custom port
|
|
78
|
+
openchatci --skip-auth-check Skip Azure CLI login check
|
|
79
|
+
openchatci --version Show version
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Requirements
|
|
83
|
+
|
|
84
|
+
- Python 3.12+
|
|
85
|
+
- Azure OpenAI resource with a deployed model
|
|
86
|
+
- Azure CLI (`az login`)
|
|
87
|
+
|
|
88
|
+
## Supported Platforms
|
|
89
|
+
|
|
90
|
+
- Windows 10/11
|
|
91
|
+
- macOS (Intel / Apple Silicon)
|
|
92
|
+
- Linux (Ubuntu, Debian, etc.)
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
Apache-2.0
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# OpenChatCi
|
|
2
|
+
|
|
3
|
+
Hawaii-built localhost-first AI agent platform powered by Microsoft Agent Framework.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install openchatci
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
### Linux / macOS
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Generate .env configuration
|
|
17
|
+
openchatci init
|
|
18
|
+
|
|
19
|
+
# Edit .env and set AZURE_OPENAI_ENDPOINT
|
|
20
|
+
nano .env
|
|
21
|
+
|
|
22
|
+
# Login to Azure CLI
|
|
23
|
+
az login
|
|
24
|
+
|
|
25
|
+
# Start the server
|
|
26
|
+
openchatci
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Windows (PowerShell)
|
|
30
|
+
|
|
31
|
+
```powershell
|
|
32
|
+
# Generate .env configuration
|
|
33
|
+
openchatci init
|
|
34
|
+
|
|
35
|
+
# Edit .env and set AZURE_OPENAI_ENDPOINT
|
|
36
|
+
notepad .env
|
|
37
|
+
|
|
38
|
+
# Login to Azure CLI
|
|
39
|
+
az login
|
|
40
|
+
|
|
41
|
+
# Start the server
|
|
42
|
+
openchatci
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Open http://localhost:8000/chat
|
|
46
|
+
|
|
47
|
+
## CLI Usage
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
openchatci Start the server
|
|
51
|
+
openchatci init Generate .env from template
|
|
52
|
+
openchatci init --force Overwrite existing .env
|
|
53
|
+
openchatci --host 0.0.0.0 Bind to all interfaces
|
|
54
|
+
openchatci --port 9000 Use custom port
|
|
55
|
+
openchatci --skip-auth-check Skip Azure CLI login check
|
|
56
|
+
openchatci --version Show version
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Requirements
|
|
60
|
+
|
|
61
|
+
- Python 3.12+
|
|
62
|
+
- Azure OpenAI resource with a deployed model
|
|
63
|
+
- Azure CLI (`az login`)
|
|
64
|
+
|
|
65
|
+
## Supported Platforms
|
|
66
|
+
|
|
67
|
+
- Windows 10/11
|
|
68
|
+
- macOS (Intel / Apple Silicon)
|
|
69
|
+
- Linux (Ubuntu, Debian, etc.)
|
|
70
|
+
|
|
71
|
+
## License
|
|
72
|
+
|
|
73
|
+
Apache-2.0
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "openchatci"
|
|
3
|
+
version = "0.20.2"
|
|
4
|
+
description = "Hawaii-built localhost-first AI agent platform powered by Microsoft Agent Framework."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
authors = [{ name = "Jingun Jung" }]
|
|
8
|
+
requires-python = ">=3.12"
|
|
9
|
+
dependencies = [
|
|
10
|
+
"fastapi>=0.115.0",
|
|
11
|
+
"uvicorn[standard]>=0.34.0",
|
|
12
|
+
"pydantic-settings>=2.9.0",
|
|
13
|
+
"python-dotenv>=1.1.0",
|
|
14
|
+
"agent-framework>=1.0.0rc2",
|
|
15
|
+
"agent-framework-ag-ui>=1.0.0b0",
|
|
16
|
+
"agent-framework-devui>=1.0.0b0",
|
|
17
|
+
"azure-identity>=1.23.0",
|
|
18
|
+
"httpx>=0.28.0",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[project.urls]
|
|
22
|
+
Homepage = "https://github.com/motojinc25/openchatci"
|
|
23
|
+
Repository = "https://github.com/motojinc25/openchatci"
|
|
24
|
+
Issues = "https://github.com/motojinc25/openchatci/issues"
|
|
25
|
+
|
|
26
|
+
[project.scripts]
|
|
27
|
+
openchatci = "app.cli:main"
|
|
28
|
+
|
|
29
|
+
[build-system]
|
|
30
|
+
requires = ["setuptools>=75.0"]
|
|
31
|
+
build-backend = "setuptools.build_meta"
|
|
32
|
+
|
|
33
|
+
[tool.setuptools.packages.find]
|
|
34
|
+
where = ["src"]
|
|
35
|
+
|
|
36
|
+
[tool.setuptools.package-data]
|
|
37
|
+
app = ["_frontend_dist/**/*", "_frontend_dist/*", "templates/.env.template"]
|
|
38
|
+
|
|
39
|
+
[dependency-groups]
|
|
40
|
+
dev = ["ruff>=0.15.5", "pytest>=8.3.0", "pytest-asyncio>=1.0.0"]
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as x,c as O,g as m,k as P,h as p,j as w,l as c,m as A,n as I,t as N,o as _}from"./_baseUniq-BQW6vVC-.js";import{aU as g,aC as $,aV as E,aW as F,aX as M,aY as l,aZ as B,a_ as T,a$ as y,b0 as S}from"./index-D9ofBqvq.js";var C=/\s/;function G(n){for(var r=n.length;r--&&C.test(n.charAt(r)););return r}var H=/^\s+/;function L(n){return n&&n.slice(0,G(n)+1).replace(H,"")}var o=NaN,R=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,X=/^0o[0-7]+$/i,Y=parseInt;function q(n){if(typeof n=="number")return n;if(x(n))return o;if(g(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=g(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=L(n);var t=W.test(n);return t||X.test(n)?Y(n.slice(2),t?2:8):R.test(n)?o:+n}var v=1/0,z=17976931348623157e292;function K(n){if(!n)return n===0?n:0;if(n=q(n),n===v||n===-v){var r=n<0?-1:1;return r*z}return n===n?n:0}function U(n){var r=K(n),t=r%1;return r===r?t?r-t:r:0}function fn(n){var r=n==null?0:n.length;return r?O(n):[]}var b=Object.prototype,Z=b.hasOwnProperty,dn=$(function(n,r){n=Object(n);var t=-1,i=r.length,a=i>2?r[2]:void 0;for(a&&E(r[0],r[1],a)&&(i=1);++t<i;)for(var f=r[t],e=F(f),s=-1,d=e.length;++s<d;){var u=e[s],h=n[u];(h===void 0||M(h,b[u])&&!Z.call(n,u))&&(n[u]=f[u])}return n});function un(n){var r=n==null?0:n.length;return r?n[r-1]:void 0}function D(n){return function(r,t,i){var a=Object(r);if(!l(r)){var f=m(t);r=P(r),t=function(s){return f(a[s],s,a)}}var e=n(r,t,i);return e>-1?a[f?r[e]:e]:void 0}}var J=Math.max;function Q(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:U(t);return a<0&&(a=J(i+a,0)),p(n,m(r),a)}var hn=D(Q);function V(n,r){var t=-1,i=l(n)?Array(n.length):[];return w(n,function(a,f,e){i[++t]=r(a,f,e)}),i}function gn(n,r){var t=B(n)?c:V;return t(n,m(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function mn(n,r){return n!=null&&A(n,r,nn)}function rn(n,r){return n<r}function tn(n,r,t){for(var i=-1,a=n.length;++i<a;){var f=n[i],e=r(f);if(e!=null&&(s===void 0?e===e&&!x(e):t(e,s)))var s=e,d=f}return d}function on(n){return n&&n.length?tn(n,T,rn):void 0}function an(n,r,t,i){if(!g(n))return n;r=I(r,n);for(var a=-1,f=r.length,e=f-1,s=n;s!=null&&++a<f;){var d=N(r[a]),u=t;if(d==="__proto__"||d==="constructor"||d==="prototype")return n;if(a!=e){var h=s[d];u=void 0,u===void 0&&(u=g(h)?h:y(r[a+1])?[]:{})}S(s,d,u),s=s[d]}return n}function vn(n,r,t){for(var i=-1,a=r.length,f={};++i<a;){var e=r[i],s=_(n,e);t(s,e)&&an(f,I(e,n),s)}return f}export{rn as a,tn as b,V as c,vn as d,on as e,fn as f,hn as g,mn as h,dn as i,U as j,un as l,gn as m,K as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bh as S,bi as Rn,aZ as T,bj as w,aY as sn,bk as xn,bl as mn,bm as Cn,bn as un,bo as x,aW as U,bp as Mn,bq as on,br as Fn,bs as E,bf as gn,bt as R,aU as ln,bu as Dn,bv as D,bw as Gn,bx as Un,by as _,b0 as Bn,bz as Nn,aX as Kn,bA as X,bB as jn,bC as Hn,a$ as qn,a_ as cn,bd as Yn,bD as C}from"./index-D9ofBqvq.js";var Zn="[object Symbol]";function B(n){return typeof n=="symbol"||S(n)&&Rn(n)==Zn}function bn(n,r){for(var e=-1,t=n==null?0:n.length,f=Array(t);++e<t;)f[e]=r(n[e],e,n);return f}var J=w?w.prototype:void 0,Q=J?J.toString:void 0;function dn(n){if(typeof n=="string")return n;if(T(n))return bn(n,dn)+"";if(B(n))return Q?Q.call(n):"";var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function Xn(){}function pn(n,r){for(var e=-1,t=n==null?0:n.length;++e<t&&r(n[e],e,n)!==!1;);return n}function Jn(n,r,e,t){for(var f=n.length,i=e+-1;++i<f;)if(r(n[i],i,n))return i;return-1}function Qn(n){return n!==n}function Wn(n,r,e){for(var t=e-1,f=n.length;++t<f;)if(n[t]===r)return t;return-1}function zn(n,r,e){return r===r?Wn(n,r,e):Jn(n,Qn,e)}function Vn(n,r){var e=n==null?0:n.length;return!!e&&zn(n,r,0)>-1}function $(n){return sn(n)?xn(n):mn(n)}var kn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nr=/^\w*$/;function N(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||B(n)?!0:nr.test(n)||!kn.test(n)||r!=null&&n in Object(r)}var rr=500;function er(n){var r=Cn(n,function(t){return e.size===rr&&e.clear(),t}),e=r.cache;return r}var tr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ir=/\\(\\)?/g,fr=er(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(tr,function(e,t,f,i){r.push(f?i.replace(ir,"$1"):t||e)}),r});function ar(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:N(n,r)?[n]:fr(ar(n))}function m(n){if(typeof n=="string"||B(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&e<t;)n=n[m(r[e++])];return e&&e==t?n:void 0}function sr(n,r,e){var t=n==null?void 0:yn(n,r);return t===void 0?e:t}function K(n,r){for(var e=-1,t=r.length,f=n.length;++e<t;)n[f+e]=r[e];return n}var W=w?w.isConcatSpreadable:void 0;function ur(n){return T(n)||un(n)||!!(W&&n&&n[W])}function Ot(n,r,e,t,f){var i=-1,a=n.length;for(e||(e=ur),f||(f=[]);++i<a;){var s=n[i];e(s)?K(f,s):t||(f[f.length]=s)}return f}function or(n,r,e,t){var f=-1,i=n==null?0:n.length;for(t&&i&&(e=n[++f]);++f<i;)e=r(e,n[f],f,n);return e}function gr(n,r){return n&&x(r,$(r),n)}function lr(n,r){return n&&x(r,U(r),n)}function Tn(n,r){for(var e=-1,t=n==null?0:n.length,f=0,i=[];++e<t;){var a=n[e];r(a,e,n)&&(i[f++]=a)}return i}function hn(){return[]}var cr=Object.prototype,br=cr.propertyIsEnumerable,z=Object.getOwnPropertySymbols,j=z?function(n){return n==null?[]:(n=Object(n),Tn(z(n),function(r){return br.call(n,r)}))}:hn;function dr(n,r){return x(n,j(n),r)}var pr=Object.getOwnPropertySymbols,wn=pr?function(n){for(var r=[];n;)K(r,j(n)),n=Mn(n);return r}:hn;function Ar(n,r){return x(n,wn(n),r)}function On(n,r,e){var t=r(n);return T(n)?t:K(t,e(n))}function G(n){return On(n,$,j)}function yr(n){return On(n,U,wn)}var Tr=Object.prototype,hr=Tr.hasOwnProperty;function wr(n){var r=n.length,e=new n.constructor(r);return r&&typeof n[0]=="string"&&hr.call(n,"index")&&(e.index=n.index,e.input=n.input),e}function Or(n,r){var e=r?on(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.byteLength)}var $r=/\w*$/;function _r(n){var r=new n.constructor(n.source,$r.exec(n));return r.lastIndex=n.lastIndex,r}var V=w?w.prototype:void 0,k=V?V.valueOf:void 0;function Sr(n){return k?Object(k.call(n)):{}}var Er="[object Boolean]",Ir="[object Date]",Pr="[object Map]",vr="[object Number]",Lr="[object RegExp]",Rr="[object Set]",xr="[object String]",mr="[object Symbol]",Cr="[object ArrayBuffer]",Mr="[object DataView]",Fr="[object Float32Array]",Dr="[object Float64Array]",Gr="[object Int8Array]",Ur="[object Int16Array]",Br="[object Int32Array]",Nr="[object Uint8Array]",Kr="[object Uint8ClampedArray]",jr="[object Uint16Array]",Hr="[object Uint32Array]";function qr(n,r,e){var t=n.constructor;switch(r){case Cr:return on(n);case Er:case Ir:return new t(+n);case Mr:return Or(n,e);case Fr:case Dr:case Gr:case Ur:case Br:case Nr:case Kr:case jr:case Hr:return Fn(n,e);case Pr:return new t;case vr:case xr:return new t(n);case Lr:return _r(n);case Rr:return new t;case mr:return Sr(n)}}var Yr="[object Map]";function Zr(n){return S(n)&&E(n)==Yr}var nn=R&&R.isMap,Xr=nn?gn(nn):Zr,Jr="[object Set]";function Qr(n){return S(n)&&E(n)==Jr}var rn=R&&R.isSet,Wr=rn?gn(rn):Qr,zr=1,Vr=2,kr=4,$n="[object Arguments]",ne="[object Array]",re="[object Boolean]",ee="[object Date]",te="[object Error]",_n="[object Function]",ie="[object GeneratorFunction]",fe="[object Map]",ae="[object Number]",Sn="[object Object]",se="[object RegExp]",ue="[object Set]",oe="[object String]",ge="[object Symbol]",le="[object WeakMap]",ce="[object ArrayBuffer]",be="[object DataView]",de="[object Float32Array]",pe="[object Float64Array]",Ae="[object Int8Array]",ye="[object Int16Array]",Te="[object Int32Array]",he="[object Uint8Array]",we="[object Uint8ClampedArray]",Oe="[object Uint16Array]",$e="[object Uint32Array]",g={};g[$n]=g[ne]=g[ce]=g[be]=g[re]=g[ee]=g[de]=g[pe]=g[Ae]=g[ye]=g[Te]=g[fe]=g[ae]=g[Sn]=g[se]=g[ue]=g[oe]=g[ge]=g[he]=g[we]=g[Oe]=g[$e]=!0;g[te]=g[_n]=g[le]=!1;function M(n,r,e,t,f,i){var a,s=r&zr,u=r&Vr,b=r&kr;if(a!==void 0)return a;if(!ln(n))return n;var l=T(n);if(l){if(a=wr(n),!s)return Dn(n,a)}else{var o=E(n),c=o==_n||o==ie;if(D(n))return Gn(n,s);if(o==Sn||o==$n||c&&!f){if(a=u||c?{}:Un(n),!s)return u?Ar(n,lr(a,n)):dr(n,gr(a,n))}else{if(!g[o])return f?n:{};a=qr(n,o,s)}}i||(i=new _);var h=i.get(n);if(h)return h;i.set(n,a),Wr(n)?n.forEach(function(d){a.add(M(d,r,e,d,n,i))}):Xr(n)&&n.forEach(function(d,p){a.set(p,M(d,r,e,p,n,i))});var A=b?u?yr:G:u?U:$,y=l?void 0:A(n);return pn(y||n,function(d,p){y&&(p=d,d=n[p]),Bn(a,p,M(d,r,e,p,n,i))}),a}var _e="__lodash_hash_undefined__";function Se(n){return this.__data__.set(n,_e),this}function Ee(n){return this.__data__.has(n)}function I(n){var r=-1,e=n==null?0:n.length;for(this.__data__=new Nn;++r<e;)this.add(n[r])}I.prototype.add=I.prototype.push=Se;I.prototype.has=Ee;function Ie(n,r){for(var e=-1,t=n==null?0:n.length;++e<t;)if(r(n[e],e,n))return!0;return!1}function En(n,r){return n.has(r)}var Pe=1,ve=2;function In(n,r,e,t,f,i){var a=e&Pe,s=n.length,u=r.length;if(s!=u&&!(a&&u>s))return!1;var b=i.get(n),l=i.get(r);if(b&&l)return b==r&&l==n;var o=-1,c=!0,h=e&ve?new I:void 0;for(i.set(n,r),i.set(r,n);++o<s;){var A=n[o],y=r[o];if(t)var d=a?t(y,A,o,r,n,i):t(A,y,o,n,r,i);if(d!==void 0){if(d)continue;c=!1;break}if(h){if(!Ie(r,function(p,O){if(!En(h,O)&&(A===p||f(A,p,e,t,i)))return h.push(O)})){c=!1;break}}else if(!(A===y||f(A,y,e,t,i))){c=!1;break}}return i.delete(n),i.delete(r),c}function Le(n){var r=-1,e=Array(n.size);return n.forEach(function(t,f){e[++r]=[f,t]}),e}function H(n){var r=-1,e=Array(n.size);return n.forEach(function(t){e[++r]=t}),e}var Re=1,xe=2,me="[object Boolean]",Ce="[object Date]",Me="[object Error]",Fe="[object Map]",De="[object Number]",Ge="[object RegExp]",Ue="[object Set]",Be="[object String]",Ne="[object Symbol]",Ke="[object ArrayBuffer]",je="[object DataView]",en=w?w.prototype:void 0,F=en?en.valueOf:void 0;function He(n,r,e,t,f,i,a){switch(e){case je:if(n.byteLength!=r.byteLength||n.byteOffset!=r.byteOffset)return!1;n=n.buffer,r=r.buffer;case Ke:return!(n.byteLength!=r.byteLength||!i(new X(n),new X(r)));case me:case Ce:case De:return Kn(+n,+r);case Me:return n.name==r.name&&n.message==r.message;case Ge:case Be:return n==r+"";case Fe:var s=Le;case Ue:var u=tℜif(s||(s=H),n.size!=r.size&&!u)return!1;var b=a.get(n);if(b)return b==r;t|=xe,a.set(n,r);var l=In(s(n),s(r),t,f,i,a);return a.delete(n),l;case Ne:if(F)return F.call(n)==F.call(r)}return!1}var qe=1,Ye=Object.prototype,Ze=Ye.hasOwnProperty;function Xe(n,r,e,t,f,i){var a=e&qe,s=G(n),u=s.length,b=G(r),l=b.length;if(u!=l&&!a)return!1;for(var o=u;o--;){var c=s[o];if(!(a?c in r:Ze.call(r,c)))return!1}var h=i.get(n),A=i.get(r);if(h&&A)return h==r&&A==n;var y=!0;i.set(n,r),i.set(r,n);for(var d=a;++o<u;){c=s[o];var p=n[c],O=r[c];if(t)var Z=a?t(O,p,c,r,n,i):t(p,O,c,n,r,i);if(!(Z===void 0?p===O||f(p,O,e,t,i):Z)){y=!1;break}d||(d=c=="constructor")}if(y&&!d){var P=n.constructor,v=r.constructor;P!=v&&"constructor"in n&&"constructor"in r&&!(typeof P=="function"&&P instanceof P&&typeof v=="function"&&v instanceof v)&&(y=!1)}return i.delete(n),i.delete(r),y}var Je=1,tn="[object Arguments]",fn="[object Array]",L="[object Object]",Qe=Object.prototype,an=Qe.hasOwnProperty;function We(n,r,e,t,f,i){var a=T(n),s=T(r),u=a?fn:E(n),b=s?fn:E(r);u=u==tn?L:u,b=b==tn?L:b;var l=u==L,o=b==L,c=u==b;if(c&&D(n)){if(!D(r))return!1;a=!0,l=!1}if(c&&!l)return i||(i=new _),a||jn(n)?In(n,r,e,t,f,i):He(n,r,u,e,t,f,i);if(!(e&Je)){var h=l&&an.call(n,"__wrapped__"),A=o&&an.call(r,"__wrapped__");if(h||A){var y=h?n.value():n,d=A?r.value():r;return i||(i=new _),f(y,d,e,t,i)}}return c?(i||(i=new _),Xe(n,r,e,t,f,i)):!1}function q(n,r,e,t,f){return n===r?!0:n==null||r==null||!S(n)&&!S(r)?n!==n&&r!==r:We(n,r,e,t,q,f)}var ze=1,Ve=2;function ke(n,r,e,t){var f=e.length,i=f;if(n==null)return!i;for(n=Object(n);f--;){var a=e[f];if(a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++f<i;){a=e[f];var s=a[0],u=n[s],b=a[1];if(a[2]){if(u===void 0&&!(s in n))return!1}else{var l=new _,o;if(!(o===void 0?q(b,u,ze|Ve,t,l):o))return!1}}return!0}function Pn(n){return n===n&&!ln(n)}function nt(n){for(var r=$(n),e=r.length;e--;){var t=r[e],f=n[t];r[e]=[t,f,Pn(f)]}return r}function vn(n,r){return function(e){return e==null?!1:e[n]===r&&(r!==void 0||n in Object(e))}}function rt(n){var r=nt(n);return r.length==1&&r[0][2]?vn(r[0][0],r[0][1]):function(e){return e===n||ke(e,n,r)}}function et(n,r){return n!=null&&r in Object(n)}function tt(n,r,e){r=An(r,n);for(var t=-1,f=r.length,i=!1;++t<f;){var a=m(r[t]);if(!(i=n!=null&&e(n,a)))break;n=n[a]}return i||++t!=f?i:(f=n==null?0:n.length,!!f&&Hn(f)&&qn(a,f)&&(T(n)||un(n)))}function it(n,r){return n!=null&&tt(n,r,et)}var ft=1,at=2;function st(n,r){return N(n)&&Pn(r)?vn(m(n),r):function(e){var t=sr(e,n);return t===void 0&&t===r?it(e,n):q(r,t,ft|at)}}function ut(n){return function(r){return r==null?void 0:r[n]}}function ot(n){return function(r){return yn(r,n)}}function gt(n){return N(n)?ut(m(n)):ot(n)}function Ln(n){return typeof n=="function"?n:n==null?cn:typeof n=="object"?T(n)?st(n[0],n[1]):rt(n):gt(n)}function lt(n,r){return n&&Yn(n,r,$)}function ct(n,r){return function(e,t){if(e==null)return e;if(!sn(e))return n(e,t);for(var f=e.length,i=-1,a=Object(e);++i<f&&t(a[i],i,a)!==!1;);return e}}var Y=ct(lt);function bt(n){return typeof n=="function"?n:cn}function $t(n,r){var e=T(n)?pn:Y;return e(n,bt(r))}function dt(n,r){var e=[];return Y(n,function(t,f,i){r(t,f,i)&&e.push(t)}),e}function _t(n,r){var e=T(n)?Tn:dt;return e(n,Ln(r))}function pt(n,r){return bn(r,function(e){return n[e]})}function St(n){return n==null?[]:pt(n,$(n))}function Et(n){return n===void 0}function At(n,r,e,t,f){return f(n,function(i,a,s){e=t?(t=!1,i):r(e,i,a,s)}),e}function It(n,r,e){var t=T(n)?or:At,f=arguments.length<3;return t(n,Ln(r),e,f,Y)}var yt=1/0,Tt=C&&1/H(new C([,-0]))[1]==yt?function(n){return new C(n)}:Xn,ht=200;function Pt(n,r,e){var t=-1,f=Vn,i=n.length,a=!0,s=[],u=s;if(i>=ht){var b=r?null:Tt(n);if(b)return H(b);a=!1,f=En,u=new I}else u=r?[]:s;n:for(;++t<i;){var l=n[t],o=r?r(l):l;if(l=l!==0?l:0,a&&o===o){for(var c=u.length;c--;)if(u[c]===o)continue n;r&&u.push(o),s.push(l)}else f(u,o,e)||(u!==s&&u.push(o),s.push(l))}return s}export{Tn as A,dt as B,Ie as C,Xn as D,I as S,Pt as a,M as b,Ot as c,$t as d,B as e,_t as f,Ln as g,Jn as h,Et as i,Y as j,$ as k,bn as l,tt as m,An as n,yn as o,bt as p,lt as q,It as r,it as s,m as t,ar as u,St as v,Vn as w,En as x,zn as y,yr as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a0 as ln,a1 as an,a2 as y,a3 as tn,a4 as H,a5 as q,a6 as _,a7 as un,a8 as rn,a9 as L,aa as o,ab as B,ac as sn,ad as on,ae as fn}from"./index-D9ofBqvq.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,I,D,v,A,C,a){var O=I-l,i=D-h,n=C-v,d=a-A,u=d*O-n*i;if(!(u*u<y))return u=(n*(h-A)-d*(l-v))/u,[l+u*O,h+u*i]}function W(l,h,I,D,v,A,C){var a=l-I,O=h-D,i=(C?A:-A)/L(a*a+O*O),n=i*O,d=-i*a,u=l+n,s=h+d,f=I+n,c=D+d,F=(u+f)/2,t=(s+c)/2,m=f-u,g=c-s,R=m*m+g*g,T=v-A,P=u*c-f*s,S=(g<0?-1:1)*L(fn(0,T*T*R-P*P)),j=(P*g-m*S)/R,z=(-P*m-g*S)/R,w=(P*g+m*S)/R,p=(-P*m+g*S)/R,x=j-F,e=z-t,r=w-F,G=p-t;return x*x+e*e>r*r+G*G&&(j=w,z=p),{cx:j,cy:z,x01:-n,y01:-d,x11:j*(v/T-1),y11:z*(v/T-1)}}function hn(){var l=cn,h=yn,I=B(0),D=null,v=gn,A=dn,C=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,F=un(c-f),t=c>f;if(a||(a=n=O()),s<u&&(d=s,s=u,u=d),!(s>y))a.moveTo(0,0);else if(F>tn-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*H(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=F,S=F,j=C.apply(this,arguments)/2,z=j>y&&(D?+D.apply(this,arguments):L(u*u+s*s)),w=_(un(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(z>y){var G=sn(z/u*q(j)),M=sn(z/s*q(j));(P-=G*2)>y?(G*=t?1:-1,R+=G,T-=G):(P=0,R=T=(f+c)/2),(S-=M*2)>y?(M*=t?1:-1,m+=M,g-=M):(S=0,m=g=(f+c)/2)}var J=s*H(m),K=s*q(m),N=u*H(T),Q=u*q(T);if(w>y){var U=s*H(g),V=s*q(g),X=u*H(R),Y=u*q(R),E;if(F<rn)if(E=pn(J,K,X,Y,U,V,N,Q)){var Z=J-E[0],$=K-E[1],b=U-E[0],k=V-E[1],nn=1/q(on((Z*b+$*k)/(L(Z*Z+$*$)*L(b*b+k*k)))/2),en=L(E[0]*E[0]+E[1]*E[1]);p=_(w,(u-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}S>y?x>y?(e=W(X,Y,J,K,s,x,t),r=W(U,V,N,Q,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),a.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(a.moveTo(J,K),a.arc(0,0,s,m,g,!t)):a.moveTo(J,K),!(u>y)||!(P>y)?a.lineTo(N,Q):p>y?(e=W(N,Q,U,V,u,-p,t),r=W(J,K,X,Y,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,u,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),a.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):a.arc(0,0,u,T,R,t)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-rn/2;return[H(d)*n,q(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:B(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:B(+n),i):h},i.cornerRadius=function(n){return arguments.length?(I=typeof n=="function"?n:B(+n),i):I},i.padRadius=function(n){return arguments.length?(D=n==null?null:typeof n=="function"?n:B(+n),i):D},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:B(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:B(+n),i):A},i.padAngle=function(n){return arguments.length?(C=typeof n=="function"?n:B(+n),i):C},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{hn as d};
|