@nuvin/nuvin-cli 0.1.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/LICENSE +202 -0
- package/README.md +111 -0
- package/dist/README.md +111 -0
- package/dist/VERSION +4 -0
- package/dist/chunk-36SOPILP.js +1 -0
- package/dist/chunk-RBZTWJAP.js +1 -0
- package/dist/cli.js +2 -0
- package/dist/clipboard-ZREGZN7K.js +1 -0
- package/dist/demo-mode-MFWB4EGW.js +1 -0
- package/dist/messageProcessor-ACCG5YCI.js +1 -0
- package/package.json +110 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
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 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 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 those 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
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2025 Marsch Huynh
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# @nuvin/cli
|
|
2
|
+
|
|
3
|
+
Interactive AI coding assistant CLI powered by Nuvin core. Transform your natural language requests into automated coding tasks with intelligent AI agent workflows.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **🤖 Multi-Provider AI Support** - GitHub Models, OpenRouter, ZAI, Anthropic, and Echo providers
|
|
8
|
+
- **👥 Multi-Agent System** - Delegate tasks to specialist agents (code reviewer, tester, architect, etc.)
|
|
9
|
+
- **🛠️ Rich Toolset** - File operations, web search, bash execution, and MCP integration
|
|
10
|
+
- **💬 Memory Management** - Conversation history persistence and in-memory context
|
|
11
|
+
- **🔧 Configuration Management** - Layered config system with CLI overrides (global, local, explicit, env, direct)
|
|
12
|
+
- **🎯 Tool Approval** - Optional manual approval before executing tools (sudo mode)
|
|
13
|
+
- **📝 Built-in Commands** - Session management, auth, history, agents, and more
|
|
14
|
+
- **🎨 Theme System** - Customizable terminal themes
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Install globally
|
|
20
|
+
npm install --global @nuvin/nuvin-cli
|
|
21
|
+
|
|
22
|
+
# Or use with npx
|
|
23
|
+
npx @nuvin/nuvin-cli
|
|
24
|
+
|
|
25
|
+
# Or install in project
|
|
26
|
+
pnpm add @nuvin/nuvin-cli
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Quick Start
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Start with default provider
|
|
33
|
+
nuvin
|
|
34
|
+
|
|
35
|
+
# Use OpenRouter
|
|
36
|
+
nuvin --provider openrouter --model minimax/minimax-m2:free
|
|
37
|
+
|
|
38
|
+
# Use Anthropic Claude
|
|
39
|
+
nuvin --provider anthropic --model claude-sonnet-4-5
|
|
40
|
+
|
|
41
|
+
# Use GitHub Models
|
|
42
|
+
nuvin --provider github --model claude-sonnet-4.5
|
|
43
|
+
|
|
44
|
+
# Use configuration file
|
|
45
|
+
nuvin --config ./my-config.yaml
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## CLI Usage
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Start with default provider
|
|
52
|
+
nuvin
|
|
53
|
+
|
|
54
|
+
# Use OpenRouter with specific model
|
|
55
|
+
nuvin --provider openrouter --model openai/gpt-4o
|
|
56
|
+
|
|
57
|
+
# Use Anthropic Claude
|
|
58
|
+
nuvin --provider anthropic --model claude-sonnet-4-5
|
|
59
|
+
|
|
60
|
+
# Use GitHub Models
|
|
61
|
+
nuvin --provider github --model claude-sonnet-4.5
|
|
62
|
+
|
|
63
|
+
# Enable conversation persistence
|
|
64
|
+
nuvin --mem-persist
|
|
65
|
+
|
|
66
|
+
# Use configuration file
|
|
67
|
+
nuvin --config ./my-config.yaml
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Environment Variables
|
|
71
|
+
|
|
72
|
+
Set up authentication via environment variables:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
# AI Provider Authentication
|
|
76
|
+
export OPENROUTER_API_KEY=sk-or-xxxxxxxx
|
|
77
|
+
export ANTHROPIC_API_KEY=sk-ant-xxxxxxxx
|
|
78
|
+
export GITHUB_ACCESS_TOKEN=ghp_xxxxxxxxxxxx
|
|
79
|
+
|
|
80
|
+
# Optional Tool Configuration
|
|
81
|
+
export GOOGLE_CSE_KEY=your_google_cse_key
|
|
82
|
+
export GOOGLE_CSE_CX=your_search_engine_id
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## What You Can Do
|
|
86
|
+
|
|
87
|
+
### Development & Code Analysis
|
|
88
|
+
- "Analyze my project structure and provide optimization recommendations"
|
|
89
|
+
- "Review the recent git commits and summarize changes"
|
|
90
|
+
- "Find all TODO comments in my codebase"
|
|
91
|
+
- "Set up automated testing for my codebase"
|
|
92
|
+
- "Refactor this function to follow SOLID principles"
|
|
93
|
+
|
|
94
|
+
### Multi-Agent Delegation
|
|
95
|
+
- "Delegate code review to the specialist agent"
|
|
96
|
+
- "Create a comprehensive test suite for this module"
|
|
97
|
+
- "Research documentation for this API and create usage examples"
|
|
98
|
+
- "Organize my git changes into conventional commits"
|
|
99
|
+
- "Have the architect review this design and suggest improvements"
|
|
100
|
+
|
|
101
|
+
## Documentation
|
|
102
|
+
|
|
103
|
+
- **[Configuration Guide](docs/configuration.md)** - Detailed configuration system documentation
|
|
104
|
+
- **[Commands Reference](docs/commands.md)** - Built-in commands and usage examples
|
|
105
|
+
- **[MCP Integration](docs/mcp-integration.md)** - Model Context Protocol setup and usage
|
|
106
|
+
- **[Specialist Agents](docs/agents.md)** - Multi-agent system and delegation guide
|
|
107
|
+
- **[Development Guide](docs/development.md)** - Contributing and development workflow
|
|
108
|
+
|
|
109
|
+
## License
|
|
110
|
+
|
|
111
|
+
MIT © Marsch Huynh
|
package/dist/README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# @nuvin/cli
|
|
2
|
+
|
|
3
|
+
Interactive AI coding assistant CLI powered by Nuvin core. Transform your natural language requests into automated coding tasks with intelligent AI agent workflows.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **🤖 Multi-Provider AI Support** - GitHub Models, OpenRouter, ZAI, Anthropic, and Echo providers
|
|
8
|
+
- **👥 Multi-Agent System** - Delegate tasks to specialist agents (code reviewer, tester, architect, etc.)
|
|
9
|
+
- **🛠️ Rich Toolset** - File operations, web search, bash execution, and MCP integration
|
|
10
|
+
- **💬 Memory Management** - Conversation history persistence and in-memory context
|
|
11
|
+
- **🔧 Configuration Management** - Layered config system with CLI overrides (global, local, explicit, env, direct)
|
|
12
|
+
- **🎯 Tool Approval** - Optional manual approval before executing tools (sudo mode)
|
|
13
|
+
- **📝 Built-in Commands** - Session management, auth, history, agents, and more
|
|
14
|
+
- **🎨 Theme System** - Customizable terminal themes
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Install globally
|
|
20
|
+
npm install --global @nuvin/nuvin-cli
|
|
21
|
+
|
|
22
|
+
# Or use with npx
|
|
23
|
+
npx @nuvin/nuvin-cli
|
|
24
|
+
|
|
25
|
+
# Or install in project
|
|
26
|
+
pnpm add @nuvin/nuvin-cli
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Quick Start
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Start with default provider
|
|
33
|
+
nuvin
|
|
34
|
+
|
|
35
|
+
# Use OpenRouter
|
|
36
|
+
nuvin --provider openrouter --model minimax/minimax-m2:free
|
|
37
|
+
|
|
38
|
+
# Use Anthropic Claude
|
|
39
|
+
nuvin --provider anthropic --model claude-sonnet-4-5
|
|
40
|
+
|
|
41
|
+
# Use GitHub Models
|
|
42
|
+
nuvin --provider github --model claude-sonnet-4.5
|
|
43
|
+
|
|
44
|
+
# Use configuration file
|
|
45
|
+
nuvin --config ./my-config.yaml
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## CLI Usage
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Start with default provider
|
|
52
|
+
nuvin
|
|
53
|
+
|
|
54
|
+
# Use OpenRouter with specific model
|
|
55
|
+
nuvin --provider openrouter --model openai/gpt-4o
|
|
56
|
+
|
|
57
|
+
# Use Anthropic Claude
|
|
58
|
+
nuvin --provider anthropic --model claude-sonnet-4-5
|
|
59
|
+
|
|
60
|
+
# Use GitHub Models
|
|
61
|
+
nuvin --provider github --model claude-sonnet-4.5
|
|
62
|
+
|
|
63
|
+
# Enable conversation persistence
|
|
64
|
+
nuvin --mem-persist
|
|
65
|
+
|
|
66
|
+
# Use configuration file
|
|
67
|
+
nuvin --config ./my-config.yaml
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Environment Variables
|
|
71
|
+
|
|
72
|
+
Set up authentication via environment variables:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
# AI Provider Authentication
|
|
76
|
+
export OPENROUTER_API_KEY=sk-or-xxxxxxxx
|
|
77
|
+
export ANTHROPIC_API_KEY=sk-ant-xxxxxxxx
|
|
78
|
+
export GITHUB_ACCESS_TOKEN=ghp_xxxxxxxxxxxx
|
|
79
|
+
|
|
80
|
+
# Optional Tool Configuration
|
|
81
|
+
export GOOGLE_CSE_KEY=your_google_cse_key
|
|
82
|
+
export GOOGLE_CSE_CX=your_search_engine_id
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## What You Can Do
|
|
86
|
+
|
|
87
|
+
### Development & Code Analysis
|
|
88
|
+
- "Analyze my project structure and provide optimization recommendations"
|
|
89
|
+
- "Review the recent git commits and summarize changes"
|
|
90
|
+
- "Find all TODO comments in my codebase"
|
|
91
|
+
- "Set up automated testing for my codebase"
|
|
92
|
+
- "Refactor this function to follow SOLID principles"
|
|
93
|
+
|
|
94
|
+
### Multi-Agent Delegation
|
|
95
|
+
- "Delegate code review to the specialist agent"
|
|
96
|
+
- "Create a comprehensive test suite for this module"
|
|
97
|
+
- "Research documentation for this API and create usage examples"
|
|
98
|
+
- "Organize my git changes into conventional commits"
|
|
99
|
+
- "Have the architect review this design and suggest improvements"
|
|
100
|
+
|
|
101
|
+
## Documentation
|
|
102
|
+
|
|
103
|
+
- **[Configuration Guide](docs/configuration.md)** - Detailed configuration system documentation
|
|
104
|
+
- **[Commands Reference](docs/commands.md)** - Built-in commands and usage examples
|
|
105
|
+
- **[MCP Integration](docs/mcp-integration.md)** - Model Context Protocol setup and usage
|
|
106
|
+
- **[Specialist Agents](docs/agents.md)** - Multi-agent system and delegation guide
|
|
107
|
+
- **[Development Guide](docs/development.md)** - Contributing and development workflow
|
|
108
|
+
|
|
109
|
+
## License
|
|
110
|
+
|
|
111
|
+
MIT © Marsch Huynh
|
package/dist/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x423a39,_0x288862){const _0x104e8d={_0x1f98a1:0x49,_0x4b9f36:0x2d,_0x170d1c:0x28,_0x5b6e46:0x3e,_0x1daa3d:0x17f,_0x341268:0x16c,_0x1d86b2:0x37,_0x451169:0x1b4,_0x514636:0x19a,_0x1f061b:0x29,_0x5a2d81:0x16,_0x20bd29:0x38,_0x177986:0x2,_0x2fe852:0xe,_0x93e814:0xb,_0x44a3b2:0x185,_0x1ffdf5:0x187,_0x681c8c:0x18f,_0x6c04f1:0x167},_0x256072={_0x3e84e8:0x2c0},_0x1df624={_0x4b0045:0x121};function _0x2a1dc9(_0x89510a,_0x452f15,_0x5df589,_0x1ac9e9){return _0x276c(_0x1ac9e9- -_0x1df624._0x4b0045,_0x452f15);}const _0xec7061=_0x423a39();function _0x479093(_0x265991,_0x2997fd,_0x5be050,_0x3a65cc){return _0x276c(_0x2997fd- -_0x256072._0x3e84e8,_0x265991);}while(!![]){try{const _0x38b031=parseInt(_0x2a1dc9(0x19,_0x104e8d._0x1f98a1,0x1f,0x34))/0x1+parseInt(_0x2a1dc9(_0x104e8d._0x4b9f36,0x1b,_0x104e8d._0x170d1c,_0x104e8d._0x5b6e46))/0x2*(parseInt(_0x479093(-_0x104e8d._0x1daa3d,-_0x104e8d._0x341268,-0x149,-0x15d))/0x3)+parseInt(_0x2a1dc9(0x1b,0x3f,_0x104e8d._0x1d86b2,0x3b))/0x4+-parseInt(_0x479093(-_0x104e8d._0x451169,-0x197,-_0x104e8d._0x514636,-0x1ad))/0x5+-parseInt(_0x2a1dc9(0x3e,_0x104e8d._0x1f061b,_0x104e8d._0x5a2d81,_0x104e8d._0x20bd29))/0x6+-parseInt(_0x2a1dc9(-_0x104e8d._0x177986,_0x104e8d._0x2fe852,_0x104e8d._0x93e814,0xf))/0x7*(parseInt(_0x479093(-_0x104e8d._0x44a3b2,-_0x104e8d._0x1ffdf5,-_0x104e8d._0x681c8c,-_0x104e8d._0x6c04f1))/0x8)+parseInt(_0x479093(-0x18c,-0x178,-0x19b,-0x154))/0x9;if(_0x38b031===_0x288862)break;else _0xec7061['push'](_0xec7061['shift']());}catch(_0x28509b){_0xec7061['push'](_0xec7061['shift']());}}}(_0x1df1,0x5f562));import*as _0x4373d0 from'crypto';function f(_0x2b37df){const _0x120901={_0x4ba2bc:0x1f5,_0x3739c9:0x216,_0x3edeec:0x1fb,_0x3f3d30:0x1f4};function _0x34c140(_0x22952a,_0x99c13c,_0x4df578,_0x25ae86){return _0x276c(_0x22952a- -0x316,_0x99c13c);}function _0x5048aa(_0x34b064,_0x173699,_0x2b1651,_0x317133){return _0x276c(_0x317133-0x2f3,_0x34b064);}return _0x2b37df?typeof _0x2b37df==_0x34c140(-0x1cb,-0x1dd,-0x1b3,-0x1bd)?_0x2b37df:_0x2b37df instanceof Error?l({'name':_0x2b37df[_0x34c140(-_0x120901._0x4ba2bc,-0x1d8,-0x1f5,-_0x120901._0x3739c9)],'message':_0x2b37df[_0x34c140(-0x1f7,-0x1f2,-_0x120901._0x3edeec,-_0x120901._0x3f3d30)],'stack':_0x2b37df['stack']}):typeof _0x2b37df=='object'&&_0x2b37df?l(_0x2b37df):String(_0x2b37df):'unknown\x20error';}function l(_0x58882f){const _0x192afb={_0x56e5fc:0xf2,_0x2a1258:0xe6,_0x361924:0x10d,_0x14a48d:0x108,_0x28a160:0xf1,_0x36f825:0x118,_0x113226:0x11c,_0x6bd6c6:0x1e,_0x1c3632:0x31,_0x4c1ce3:0xf6,_0x55c50f:0xf,_0x10af6b:0x7,_0x3fa7b0:0x15,_0x144bf3:0xb,_0x1f28cb:0x37},_0x44f78f={_0x429013:0x141};function _0x5f480d(_0x407da8,_0x8faf05,_0x341619,_0x4bfbe7){return _0x276c(_0x4bfbe7- -0x24d,_0x341619);}let _0x1a546d=[];for(let [_0xf18d0c,_0x5d711f]of Object[_0x5f480d(-0xda,-_0x192afb._0x56e5fc,-0xcc,-_0x192afb._0x2a1258)](_0x58882f)){if(_0x5d711f==null)continue;let _0x302be3;typeof _0x5d711f==_0x278cdf(0xb,0xa,-0xf,-0x2)?_0x302be3='\x22'+_0x5d711f[_0x5f480d(-0x125,-0xff,-0xed,-_0x192afb._0x361924)](/"/g,'\x5c\x22')+'\x22':typeof _0x5d711f==_0x5f480d(-_0x192afb._0x14a48d,-_0x192afb._0x28a160,-0x130,-_0x192afb._0x36f825)||typeof _0x5d711f==_0x5f480d(-0x142,-0x141,-0x101,-_0x192afb._0x113226)?_0x302be3=String(_0x5d711f):Array[_0x278cdf(-0xe,-_0x192afb._0x6bd6c6,-0x2f,-_0x192afb._0x1c3632)](_0x5d711f)?_0x302be3='['+_0x5d711f['map'](_0x284c75=>typeof _0x284c75==_0x278cdf(-0x1c,0xa,-0x7,-0x17)?'\x22'+_0x284c75+'\x22':String(_0x284c75))[_0x5f480d(-0xde,-0xfd,-0x10e,-_0x192afb._0x4c1ce3)](',')+']':typeof _0x5d711f==_0x278cdf(-0xa,-_0x192afb._0x55c50f,_0x192afb._0x10af6b,-_0x192afb._0x3fa7b0)&&_0x5d711f&&!Array['isArray'](_0x5d711f)?_0x302be3='{'+l(_0x5d711f)+'}':_0x302be3=String(_0x5d711f),_0x1a546d[_0x278cdf(_0x192afb._0x144bf3,0x2c,0x1d,0xa)](_0xf18d0c+':'+_0x302be3);}function _0x278cdf(_0x114ee8,_0x36f5ce,_0xec33ea,_0x3cc748){return _0x276c(_0x36f5ce- -_0x44f78f._0x429013,_0xec33ea);}return _0x1a546d[_0x278cdf(0x10,0x16,_0x192afb._0x1f28cb,0x1)]('|');}function p(_0x3bccb7){const _0x3b4a67={_0x3537eb:0xc2,_0x47c7ff:0xbd,_0x5abcd4:0xbe,_0xdade7c:0x1c0,_0x43e709:0xc7,_0x1c7918:0x93,_0x1572f8:0xb4},_0x3c571a={_0x240a9c:0x2db};function _0x22d338(_0x138723,_0x21e7cd,_0x3c0dab,_0x36b289){return _0x276c(_0x36b289- -_0x3c571a._0x240a9c,_0x21e7cd);}function _0x5eb15d(_0x41c67a,_0xc35faf,_0x5906ec,_0x3476b6){return _0x276c(_0x41c67a- -0x208,_0x5906ec);}return _0x3bccb7[_0x5eb15d(-_0x3b4a67._0x3537eb,-_0x3b4a67._0x47c7ff,-0xa5,-_0x3b4a67._0x5abcd4)]('-')[_0x22d338(-0x1c0,-0x1bd,-_0x3b4a67._0xdade7c,-0x1af)](_0x3985de=>_0x3985de['charAt'](0x0)[_0x5eb15d(-0xa5,-0x9d,-0x9a,-0xc4)]()+_0x3985de[_0x5eb15d(-0xdb,-0xb4,-0xf7,-0xc4)](0x1))[_0x5eb15d(-0xb1,-_0x3b4a67._0x43e709,-_0x3b4a67._0x1c7918,-_0x3b4a67._0x1572f8)]('\x20');}function _0x276c(_0x38e7bb,_0x24c050){const _0x1df127=_0x1df1();return _0x276c=function(_0x276cf0,_0x4212ec){_0x276cf0=_0x276cf0-0x11f;let _0x57af00=_0x1df127[_0x276cf0];if(_0x276c['rkTVyQ']===undefined){var _0xc1fb4a=function(_0x4373d0){const _0x2b37df='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x58882f='',_0x1a546d='';for(let _0xf18d0c=0x0,_0x5d711f,_0x302be3,_0x284c75=0x0;_0x302be3=_0x4373d0['charAt'](_0x284c75++);~_0x302be3&&(_0x5d711f=_0xf18d0c%0x4?_0x5d711f*0x40+_0x302be3:_0x302be3,_0xf18d0c++%0x4)?_0x58882f+=String['fromCharCode'](0xff&_0x5d711f>>(-0x2*_0xf18d0c&0x6)):0x0){_0x302be3=_0x2b37df['indexOf'](_0x302be3);}for(let _0x3bccb7=0x0,_0x3985de=_0x58882f['length'];_0x3bccb7<_0x3985de;_0x3bccb7++){_0x1a546d+='%'+('00'+_0x58882f['charCodeAt'](_0x3bccb7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a546d);};_0x276c['wddWzG']=_0xc1fb4a,_0x38e7bb=arguments,_0x276c['rkTVyQ']=!![];}const _0x39a7f1=_0x1df127[0x0],_0x3ebfdc=_0x276cf0+_0x39a7f1,_0x29f9a8=_0x38e7bb[_0x3ebfdc];return!_0x29f9a8?(_0x57af00=_0x276c['wddWzG'](_0x57af00),_0x38e7bb[_0x3ebfdc]=_0x57af00):_0x57af00=_0x29f9a8,_0x57af00;},_0x276c(_0x38e7bb,_0x24c050);}function d(_0x5dce23){const _0x522812={_0x3461bc:0x3e9,_0x4db301:0x177,_0x4431d4:0x182,_0x1cea44:0x17b,_0x3889d0:0x3df,_0x43f060:0x3c8,_0x1b3940:0x3d4,_0x362393:0x3d3,_0x33ab3b:0x16e,_0x21e5d6:0x15e,_0x348085:0x3e6,_0x2aaa92:0x14b,_0x39dae8:0x16e,_0x3dfafb:0x183,_0x34abb4:0x168,_0x465f16:0x185,_0x2b2d3b:0x18b,_0x445798:0x39c,_0xe333da:0x395,_0x3fcb1e:0x19d,_0x414567:0x172,_0x3e9f84:0x3f0,_0x30e712:0x1a9,_0xaf9367:0x3ae,_0x3d954b:0x3b1,_0x39106c:0x15b,_0x28c64f:0x175,_0xd9f35d:0x3ed,_0x4278ac:0x3ff,_0x3c5319:0x3db,_0x5b634c:0x15a,_0x5d9448:0x139,_0x5a9c89:0x40e,_0x3dd78a:0x3be,_0x2a8715:0x3e4,_0x1fbd7c:0x3dc,_0x442274:0x3e0,_0x28361f:0x402,_0x4d7d8f:0x3e8,_0x53abbc:0x16a,_0x20f0ce:0x15c,_0x277d16:0x15d,_0x14950e:0x198,_0x36d1c6:0x1af,_0x256289:0x3d2,_0x3828ab:0x3e8,_0x3eb313:0x19b,_0x1901a0:0x1b7,_0x47f491:0x1b1,_0xc4e5d7:0x16d,_0x567beb:0x16c,_0x501760:0x193,_0x2cf24e:0x180,_0x2d448a:0x1a0,_0x35988d:0x3ba,_0xeb82e5:0x3d1,_0x4e128b:0x16a,_0x55beb6:0x166,_0x21ae15:0x160,_0x431a2a:0x18e,_0x32828e:0x17f,_0x1c6dc5:0x3e3,_0x39735e:0x3af,_0x5c75cb:0x171,_0x545be4:0x184,_0x651cb6:0x172,_0x2016fa:0x182,_0x316d5b:0x172,_0xe9c6e:0x15e,_0x14ceff:0x158,_0x204915:0x3c9,_0x2b3157:0x3bb,_0x2a039f:0x3b9,_0x219951:0x162,_0x40893d:0x164,_0x593266:0x16c,_0x31fb99:0x18b,_0x366899:0x15f,_0x132004:0x18e,_0x44171f:0x189,_0x378605:0x172,_0x426087:0x152,_0xd66bb1:0x159,_0x35ee78:0x17d,_0x543e71:0x155,_0x1f0d3c:0x18f,_0x397a6e:0x16a,_0x211ae0:0x18f,_0x339e5f:0x174,_0x2bceb4:0x18c,_0x182312:0x3a5,_0x428cfc:0x3bf},_0x3103ad={_0x7ed011:0x37},_0x3e3c19={_0x4b01c7:0x284};function _0x15bf0f(_0x42a6e8,_0x1f8b06,_0x585bb8,_0x47e98c){return _0x276c(_0x42a6e8-_0x3e3c19._0x4b01c7,_0x1f8b06);}let _0x49b655='';function _0x14d333(_0xf3b63f,_0x49b0fe,_0x20ed8d,_0x315bb9){return _0x276c(_0xf3b63f-_0x3103ad._0x7ed011,_0x49b0fe);}try{let _0x4641d9=typeof _0x5dce23[_0x15bf0f(0x3d0,0x3db,_0x522812._0x3461bc,0x3ad)][_0x14d333(0x16e,0x169,_0x522812._0x4db301,0x191)]==_0x14d333(_0x522812._0x4431d4,_0x522812._0x1cea44,0x16a,0x171)?JSON[_0x15bf0f(_0x522812._0x3889d0,0x3e4,0x3f0,_0x522812._0x43f060)](_0x5dce23[_0x15bf0f(0x3d0,_0x522812._0x1b3940,0x3ae,_0x522812._0x362393)][_0x14d333(_0x522812._0x33ab3b,0x179,_0x522812._0x21e5d6,0x177)]):_0x5dce23[_0x15bf0f(0x3d0,_0x522812._0x348085,0x3ec,0x3c8)][_0x14d333(0x16e,_0x522812._0x2aaa92,0x14b,_0x522812._0x39dae8)];if(_0x5dce23[_0x14d333(_0x522812._0x3dfafb,_0x522812._0x34abb4,_0x522812._0x465f16,_0x522812._0x2b2d3b)][_0x15bf0f(0x3a5,_0x522812._0x445798,_0x522812._0xe333da,0x3bf)]===_0x14d333(0x195,_0x522812._0x3fcb1e,0x176,_0x522812._0x414567))return _0x4641d9[_0x15bf0f(_0x522812._0x3e9f84,0x3d1,0x416,0x3d7)]?'['+p(_0x4641d9[_0x14d333(0x1a3,_0x522812._0x30e712,0x1b3,0x185)])+']':_0x15bf0f(_0x522812._0xaf9367,0x3a4,0x392,0x3d2);switch(_0x5dce23[_0x15bf0f(0x3d0,0x3ac,0x3f0,_0x522812._0x3d954b)][_0x14d333(0x158,_0x522812._0x39106c,_0x522812._0x28c64f,0x152)]){case'todo_write':if(_0x4641d9[_0x15bf0f(_0x522812._0xd9f35d,0x3e5,_0x522812._0x4278ac,_0x522812._0x3c5319)]&&Array[_0x14d333(_0x522812._0x5b634c,0x152,0x181,_0x522812._0x5d9448)](_0x4641d9[_0x15bf0f(_0x522812._0xd9f35d,0x3f1,0x3f2,0x3e8)])){let _0x28e41e=_0x4641d9[_0x15bf0f(_0x522812._0xd9f35d,0x3d9,_0x522812._0x5a9c89,0x3fe)][_0x15bf0f(0x3a8,_0x522812._0x3dd78a,0x394,0x3c8)];_0x49b655='('+_0x28e41e+'\x20'+(_0x28e41e===0x1?_0x15bf0f(_0x522812._0x2a8715,0x3c3,0x3be,0x3c8):'items')+')';}else _0x49b655=_0x15bf0f(_0x522812._0x1fbd7c,_0x522812._0x442274,_0x522812._0x28361f,_0x522812._0x4d7d8f);break;case'file_read':case _0x14d333(0x179,_0x522812._0x53abbc,_0x522812._0x20f0ce,_0x522812._0x277d16):case'file_new':case'dir_ls':case _0x14d333(_0x522812._0x14950e,_0x522812._0x36d1c6,0x1af,0x19e):_0x4641d9['path']?_0x49b655='('+_0x4641d9[_0x15bf0f(_0x522812._0x256289,_0x522812._0x3828ab,0x3af,0x3db)]+')':_0x4641d9[_0x14d333(0x19b,_0x522812._0x3fcb1e,0x182,0x1ac)]?_0x49b655='('+_0x4641d9[_0x14d333(_0x522812._0x3eb313,_0x522812._0x14950e,_0x522812._0x1901a0,_0x522812._0x47f491)]+')':_0x4641d9['url']?_0x49b655='('+_0x4641d9[_0x14d333(0x178,_0x522812._0xc4e5d7,0x165,_0x522812._0x567beb)]+')':_0x49b655=_0x14d333(0x18f,_0x522812._0x501760,0x1ad,_0x522812._0x3fcb1e);break;case _0x14d333(_0x522812._0x2cf24e,_0x522812._0x2d448a,_0x522812._0x14950e,0x1a0):if(_0x4641d9['cmd'])_0x49b655='('+_0x4641d9[_0x15bf0f(0x3aa,_0x522812._0x35988d,0x3d1,_0x522812._0xeb82e5)]+')';else{if(_0x4641d9[_0x14d333(0x184,0x160,_0x522812._0x53abbc,_0x522812._0x4e128b)]){let _0x308960=_0x4641d9['args']?'\x20'+(Array['isArray'](_0x4641d9[_0x14d333(0x166,0x170,0x145,0x176)])?_0x4641d9[_0x14d333(_0x522812._0x55beb6,_0x522812._0x21ae15,0x16f,0x143)][_0x14d333(_0x522812._0x431a2a,0x16b,0x1af,0x16b)]('\x20'):_0x4641d9['args']):'';_0x49b655='('+_0x4641d9[_0x14d333(0x184,0x182,_0x522812._0x32828e,0x1a0)]+_0x308960+')';}else _0x4641d9[_0x15bf0f(0x3cb,_0x522812._0x1c6dc5,_0x522812._0x39735e,0x3a9)]?_0x49b655='('+_0x4641d9[_0x14d333(0x17e,_0x522812._0x5c75cb,_0x522812._0x545be4,0x181)]+(_0x4641d9[_0x14d333(_0x522812._0x651cb6,_0x522812._0x2016fa,0x180,0x191)]?':'+_0x4641d9[_0x14d333(_0x522812._0x316d5b,_0x522812._0xe9c6e,_0x522812._0x14ceff,_0x522812._0xc4e5d7)]:'')+')':_0x49b655='(...)';}break;case _0x15bf0f(0x3a6,0x39d,_0x522812._0x204915,_0x522812._0x35988d):_0x4641d9[_0x15bf0f(0x3af,_0x522812._0x2b3157,0x394,_0x522812._0x2a039f)]?_0x49b655='('+_0x4641d9[_0x14d333(_0x522812._0x219951,0x151,0x172,0x169)]['split']('\x20')[_0x14d333(_0x522812._0x40893d,_0x522812._0x593266,_0x522812._0x31fb99,_0x522812._0x366899)](0x0,0x3)[_0x14d333(_0x522812._0x132004,0x17f,_0x522812._0x44171f,_0x522812._0x378605)]('\x20')+(_0x4641d9[_0x14d333(0x162,_0x522812._0x4e128b,_0x522812._0x426087,_0x522812._0xd66bb1)][_0x14d333(_0x522812._0x35ee78,_0x522812._0x39106c,_0x522812._0x543e71,0x16e)]('\x20')['length']>0x3?'...':'')+')':_0x49b655=_0x14d333(_0x522812._0x1f0d3c,_0x522812._0x397a6e,0x17c,_0x522812._0x47f491);break;default:_0x49b655=_0x4641d9?'('+l(_0x4641d9)+')':_0x14d333(_0x522812._0x211ae0,0x178,0x169,0x1a8);break;}}catch{_0x49b655='(...)';}return''+_0x5dce23[_0x14d333(0x183,0x1a8,_0x522812._0x339e5f,_0x522812._0x2bceb4)][_0x15bf0f(_0x522812._0x182312,0x3a5,0x391,_0x522812._0x428cfc)]+_0x49b655;}function y(_0x567efa){const _0x139c02={_0x45f377:0x2b9,_0x417b54:0x2c9,_0x33176e:0x2bf,_0x41fc12:0x2a8,_0xdb5d75:0x2df,_0x202f7b:0x2ce,_0x480d6e:0x28d,_0x4dad36:0x248,_0x296905:0x241,_0x2edfdb:0x231,_0x4dc250:0x2e2,_0x1f2ec0:0x2d7,_0x1c3ee0:0x27a,_0x43b6d5:0x2a7,_0x551ba2:0x28c,_0x315719:0x2c3,_0x171f32:0x284,_0x4507b8:0x2e6,_0x18b55d:0x2f0,_0x34a235:0x29f,_0x17b611:0x29f,_0x1a039f:0x265,_0x1feb15:0x276,_0x2d8da0:0x250,_0x35698c:0x274,_0x135973:0x273,_0x43b1b1:0x268,_0x455efa:0x260,_0x29162b:0x295,_0x2fa0be:0x2ba,_0x29a41e:0x2a6,_0x531a79:0x27d,_0x472304:0x2bc,_0x4a6002:0x29a,_0x4f6396:0x2c4,_0x11b323:0x240,_0x3ae883:0x2b3,_0x35aa0a:0x298,_0x4f06bb:0x27b,_0x32371f:0x286,_0x4a2c44:0x24b,_0x547b31:0x2a2,_0x5f2284:0x2ca,_0x356da1:0x281,_0x580b78:0x2c1,_0x23e2f3:0x2eb,_0x3c5bcb:0x308,_0x3402c0:0x2aa,_0x265ec2:0x2a3,_0x31b7ca:0x2df,_0x423436:0x306,_0x2f8d0c:0x2df,_0x51685b:0x28d,_0x1e57bc:0x2c2,_0x6e5dbe:0x2d2,_0x440415:0x2ad,_0x53d22e:0x2bf,_0x359343:0x2c3,_0x1187df:0x2e4,_0x5ae6f3:0x2d4,_0x407d1f:0x27c,_0x36f01b:0x26a,_0x5b4537:0x269,_0x1cf6fb:0x2e1,_0x337363:0x2cf,_0x3ecc4f:0x28f,_0x44f96d:0x292,_0x43316f:0x299,_0xabda99:0x2ab,_0x292ce0:0x289,_0x2c49f5:0x278,_0x4cfc54:0x275,_0x12439b:0x296,_0x4f7a2e:0x297,_0x502c42:0x290,_0x1df015:0x2ac,_0x4d25bc:0x2b1,_0x376667:0x28a,_0xf3748e:0x28e,_0x1887f6:0x277,_0x2788a2:0x2cc,_0x5aa90c:0x259,_0x15279a:0x29a,_0x49fbc9:0x26b,_0x5b979d:0x2bd,_0x101650:0x279,_0x4a3c93:0x252,_0x2a8012:0x25e,_0x2249b3:0x293,_0x369231:0x2a5,_0x1099a5:0x2bd,_0x300035:0x28b,_0x305110:0x26f,_0x1ed955:0x265,_0x42fc12:0x260,_0x2fbb62:0x26d,_0x324d78:0x27f,_0x1f5d51:0x2b0,_0x254316:0x2c4,_0x3a8dd7:0x2bb,_0x89a530:0x2c9,_0x2c19fa:0x2c4,_0x39208e:0x273,_0x3e843f:0x2ee},_0x5b8fc8={_0x41a16e:0x3c6};let _0x22d0aa=[],_0x52093f=_0x3d5a68=>_0x3d5a68?typeof _0x3d5a68==_0x3f45f2(0x2d0,0x2b1,0x2b2,0x2eb)?_0x3d5a68['replace'](/^\n+/,''):typeof _0x3d5a68=='object'&&_0x3d5a68[_0x51e047(-0x298,-0x292,-0x293,-0x2a6)]===_0x51e047(-0x282,-0x246,-0x25c,-0x281)?_0x3d5a68[_0x51e047(-0x261,-0x26a,-0x25c,-0x265)]['map'](_0x505246=>typeof _0x505246==_0x3f45f2(0x2d0,0x2e6,0x2f0,0x2d0)?_0x505246:_0x505246?.[_0x51e047(-0x29d,-0x292,-0x293,-0x274)]===_0x51e047(-0x262,-0x296,-0x283,-0x264)&&_0x505246?.[_0x3f45f2(0x2c8,0x2ed,0x2ac,0x2f0)]?_0x505246['text']:'')[_0x3f45f2(0x2ad,0x2ce,0x2cc,0x287)](Boolean)[_0x51e047(-0x27c,-0x292,-0x26f,-0x27b)]('\x20')[_0x3f45f2(0x2c5,0x2d9,0x2a8,0x2e3)](/^\n+/,''):'':'';if(_0x567efa[_0x3f45f2(_0x139c02._0x45f377,_0x139c02._0x417b54,0x2be,0x2a4)]===_0x3f45f2(_0x139c02._0x33176e,_0x139c02._0x41fc12,_0x139c02._0xdb5d75,_0x139c02._0x202f7b)){let _0xed8eb3=_0x52093f(_0x567efa[_0x51e047(-0x261,-_0x139c02._0x480d6e,-0x26c,-_0x139c02._0x4dad36)]);_0xed8eb3&&_0x22d0aa[_0x51e047(-_0x139c02._0x296905,-0x24e,-0x259,-_0x139c02._0x2edfdb)]({'id':_0x4373d0[_0x3f45f2(_0x139c02._0x4dc250,0x2ba,_0x139c02._0x1f2ec0,0x2f1)](),'type':_0x51e047(-_0x139c02._0x1c3ee0,-_0x139c02._0x43b6d5,-_0x139c02._0x551ba2,-0x2ac),'content':_0xed8eb3,'metadata':{'timestamp':_0x567efa['timestamp']||new Date()[_0x51e047(-_0x139c02._0x315719,-0x2be,-0x2a6,-_0x139c02._0x171f32)]()},'color':_0x3f45f2(0x2db,_0x139c02._0x4507b8,_0x139c02._0x18b55d,_0x139c02._0x202f7b)});}else{if(_0x567efa[_0x3f45f2(0x2b9,_0x139c02._0x34a235,_0x139c02._0x17b611,0x2d2)]===_0x51e047(-0x266,-_0x139c02._0x1a039f,-_0x139c02._0x1feb15,-0x278)){let _0x14ba1d=_0x52093f(_0x567efa['content']);_0x14ba1d?.[_0x51e047(-0x299,-_0x139c02._0x2d8da0,-_0x139c02._0x35698c,-_0x139c02._0x135973)]()&&_0x22d0aa[_0x51e047(-_0x139c02._0x43b1b1,-0x239,-0x259,-0x250)]({'id':_0x4373d0[_0x3f45f2(_0x139c02._0x4dc250,0x2c0,0x2fd,0x2bc)](),'type':'assistant','content':_0x14ba1d,'metadata':{'timestamp':_0x567efa[_0x51e047(-0x263,-0x23f,-_0x139c02._0x455efa,-0x242)]||new Date()[_0x51e047(-_0x139c02._0x29162b,-_0x139c02._0x2fa0be,-_0x139c02._0x29a41e,-0x2ba)]()}}),_0x567efa[_0x51e047(-0x2c3,-_0x139c02._0x531a79,-_0x139c02._0x17b611,-_0x139c02._0x472304)]&&_0x567efa[_0x51e047(-0x2c5,-0x2ac,-0x29f,-_0x139c02._0x4a6002)][_0x3f45f2(0x2a9,_0x139c02._0x4f6396,0x29b,0x2a6)]>0x0&&_0x22d0aa[_0x51e047(-0x235,-0x263,-0x259,-_0x139c02._0x11b323)]({'id':_0x4373d0['randomUUID'](),'type':_0x51e047(-0x2ac,-_0x139c02._0x3ae883,-_0x139c02._0x35aa0a,-0x2a5),'content':''+_0x567efa[_0x51e047(-0x289,-_0x139c02._0x4f06bb,-0x29f,-0x282)]['map'](d)[_0x51e047(-0x255,-_0x139c02._0x32371f,-0x26f,-_0x139c02._0x4a2c44)](',\x20'),'metadata':{'toolCallCount':_0x567efa['tool_calls'][_0x51e047(-0x283,-0x2c3,-_0x139c02._0x547b31,-_0x139c02._0x171f32)],'timestamp':_0x567efa[_0x3f45f2(0x2eb,0x2f0,_0x139c02._0x5f2284,0x2dd)]||new Date()[_0x3f45f2(0x2a5,0x2b7,0x2c6,0x29f)](),'toolCalls':_0x567efa[_0x51e047(-0x2b9,-0x27e,-0x29f,-_0x139c02._0x356da1)]},'color':_0x3f45f2(0x2e7,_0x139c02._0x580b78,_0x139c02._0x23e2f3,_0x139c02._0x3c5bcb)});}else{if(_0x567efa[_0x3f45f2(0x2b9,0x2ae,0x2a3,0x2c0)]===_0x3f45f2(_0x139c02._0x3ae883,0x299,_0x139c02._0x3402c0,_0x139c02._0x265ec2)){let _0x329d3d=_0x52093f(_0x567efa[_0x3f45f2(_0x139c02._0x31b7ca,_0x139c02._0x423436,_0x139c02._0x2f8d0c,0x302)]),_0x4ebd4d=_0x567efa['name']||_0x567efa[_0x51e047(-0x2a4,-_0x139c02._0x51685b,-0x289,-_0x139c02._0x41fc12)]||'unknown',_0x15cdd2={'id':_0x567efa[_0x3f45f2(_0x139c02._0x1e57bc,_0x139c02._0x6e5dbe,0x2c0,_0x139c02._0x440415)]||_0x3f45f2(0x2d8,0x2c6,0x2c6,0x2b9),'name':_0x4ebd4d,'status':_0x3f45f2(0x2c9,_0x139c02._0x53d22e,0x2cf,0x2b8),'type':'text','result':_0x329d3d||'','durationMs':void 0x0};if(_0x329d3d){let _0x10b9cb=_0x329d3d[_0x3f45f2(_0x139c02._0x359343,_0x139c02._0x1187df,0x2d1,_0x139c02._0x5ae6f3)]();(_0x10b9cb[_0x3f45f2(0x2f0,0x2fc,0x2f2,0x307)]('error:')||_0x10b9cb['includes'](_0x51e047(-_0x139c02._0x407d1f,-_0x139c02._0x36f01b,-_0x139c02._0x356da1,-_0x139c02._0x5b4537))||_0x10b9cb[_0x3f45f2(0x2d6,0x2f9,_0x139c02._0x1cf6fb,_0x139c02._0x337363)](_0x51e047(-_0x139c02._0x3ecc4f,-_0x139c02._0x44f96d,-0x28e,-_0x139c02._0x43316f))||_0x10b9cb['includes']('exception:'))&&(_0x15cdd2[_0x3f45f2(0x2c4,_0x139c02._0xabda99,0x2ab,_0x139c02._0x43b6d5)]=_0x3f45f2(0x2aa,0x285,0x289,_0x139c02._0x292ce0));}let _0x27e495=_0x15cdd2[_0x51e047(-_0x139c02._0x32371f,-_0x139c02._0x2c49f5,-0x287,-0x273)]===_0x51e047(-_0x139c02._0x4cfc54,-_0x139c02._0x12439b,-0x282,-0x26b)?_0x51e047(-_0x139c02._0x4f7a2e,-0x284,-_0x139c02._0x502c42,-_0x139c02._0x1df015):'[!]',_0x8fc027=typeof _0x15cdd2['durationMs']=='number'&&Number[_0x51e047(-_0x139c02._0x4d25bc,-_0x139c02._0x12439b,-_0x139c02._0x376667,-_0x139c02._0xf3748e)](_0x15cdd2[_0x51e047(-0x259,-0x28d,-_0x139c02._0x1887f6,-0x291)])?'\x20('+_0x15cdd2[_0x3f45f2(0x2d4,0x2f3,0x2d2,_0x139c02._0x2788a2)]+'ms)':'';_0x22d0aa[_0x51e047(-0x264,-0x25e,-_0x139c02._0x5aa90c,-0x270)]({'id':_0x4373d0[_0x3f45f2(0x2e2,0x305,0x2da,0x2d4)](),'type':'tool_result','content':_0x15cdd2[_0x51e047(-0x287,-_0x139c02._0x36f01b,-0x287,-_0x139c02._0x15279a)]===_0x51e047(-_0x139c02._0x4cfc54,-_0x139c02._0x49fbc9,-0x282,-0x285)?_0x15cdd2[_0x3f45f2(0x2a6,_0x139c02._0x472304,0x2a8,_0x139c02._0x5b979d)]+':\x20'+_0x27e495+'\x20'+_0x15cdd2['status']+_0x8fc027:_0x51e047(-_0x139c02._0x101650,-_0x139c02._0x4a3c93,-_0x139c02._0x2a8012,-0x24f)+f(_0x15cdd2)[_0x3f45f2(0x2b2,0x297,0x2b5,0x2ac)](0x0,0x3e8),'metadata':{'toolName':_0x15cdd2[_0x51e047(-0x29d,-_0x139c02._0x2249b3,-_0x139c02._0x369231,-_0x139c02._0x1099a5)],'status':_0x15cdd2[_0x51e047(-_0x139c02._0x300035,-0x2a5,-0x287,-0x28a)],'duration':_0x15cdd2['durationMs'],'timestamp':_0x567efa[_0x51e047(-_0x139c02._0x305110,-_0x139c02._0x1ed955,-_0x139c02._0x42fc12,-_0x139c02._0x2fbb62)]||new Date()[_0x51e047(-_0x139c02._0x324d78,-_0x139c02._0x1f5d51,-_0x139c02._0x29a41e,-_0x139c02._0x547b31)](),'toolResult':_0x15cdd2},'color':_0x15cdd2[_0x3f45f2(_0x139c02._0x254316,_0x139c02._0x3a8dd7,0x2e7,0x2d2)]===_0x3f45f2(_0x139c02._0x89a530,_0x139c02._0x2c19fa,0x2ec,0x2ac)?_0x51e047(-0x24b,-_0x139c02._0x39208e,-0x261,-0x274):_0x3f45f2(0x2cf,0x2d6,0x2ad,_0x139c02._0x3e843f)});}}}function _0x51e047(_0x5cc35d,_0xe7c7b8,_0x1bfca8,_0x2456d5){return _0x276c(_0x1bfca8- -_0x5b8fc8._0x41a16e,_0xe7c7b8);}function _0x3f45f2(_0x47d4dd,_0x4194a3,_0x20a24f,_0x1e1389){return _0x276c(_0x47d4dd-0x185,_0x1e1389);}return _0x22d0aa;}export{f as a,l as b,d as c,y as d};function _0x1df1(){const _0x2eebdf=['Aw5JBhvKzxm','ywDLBNq','ChvZAa','BwvZC2fNzq','Dg9ju09tDhjPBMC','BMfTzq','D2vIx3nLyxjJAa','AxnbCNjHEq','BgvUz3rO','zxjYB3i','y21K','Dg9VBf9JywXSCW','zMLSDgvY','mJyZotKXmeffwNjpsW','w1n1yI1bz2vUDf0','CxvLCNK','BwfW','C2XPy2u','Dg9VBa','yxjNCW','mJu0nJKZnNzqvLvgCW','BNvTyMvY','B2jQzwn0','DhLWzq','CM9Szq','yM9VBgvHBG','wYTD','yxjNDw1LBNrZ','zxjYB3iG','mtzHyK1yzKK','DxnLCG','C2vZC2LVBKLK','AxngAw5PDgu','Dg9VBf9JywXSx2LK','Dg9mB3DLCKnHC2u','C3rHDhvZ','CMvWBgfJzq','DxjS','zMLSzv9LzgL0','Dgv4Da','C3vJy2vZCW','zMfPBgvKoG','C3bSAxq','ywn0Aw9U','nJC1mdmYneLQqNHLyq','yMfZAf90B29S','CMvK','C3rYAw5N','zNvUy3rPB24','ChjVz3jHBq','Cgf0Aa','zhvYyxrPB25nCW','yxnZAxn0yw50','C3rHCNrZv2L0Aa','DhjPBq','Dw5RBM93BG','mtqXrwnuA3nq','nJm3mtGXwKLxufD5','y3LHBG','AM9PBG','kc4UlIK','mZe1otC2ohftD1rKqW','y29UDgvUDa','CgfYC2u','mJm2ndu5mKzWrKndrq','CMfUzg9Tvvvjra','yxnZAwDUx3rHC2S','odi3ngfmvgjlzG','AxrLBq','D2vIx2zLDgnO','yMX1zq','Dg9vChbLCKnHC2u','zMLSzv9WyxrO','z3jLzw4','DgLTzxn0yw1W','zw50CMLLCW','zxjYB3i6ia','Dg9KB3m','CgfYDhm'];_0x1df1=function(){return _0x2eebdf;};return _0x1df1();}
|