hcli-hai 3.4.1__tar.gz → 3.4.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.
- {hcli_hai-3.4.1/hcli_hai.egg-info → hcli_hai-3.4.2}/PKG-INFO +1 -1
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/ai/behavior.py +6 -5
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/runner.py +1 -1
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/service.py +4 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/package.py +1 -1
- {hcli_hai-3.4.1 → hcli_hai-3.4.2/hcli_hai.egg-info}/PKG-INFO +1 -1
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/LICENSE.txt +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/MANIFEST.in +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/README.rst +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/__init__.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/__main__.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/__init__.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/ai/ai.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/ai/context.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/ai/model.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/cli.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/config.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/jobqueue.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/logger.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/template.json +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/utils/formatting.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/utils/hutils.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/cli/utils/summary.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/config.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/data/hcli_hai.1 +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai/hutils.py +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai.egg-info/SOURCES.txt +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai.egg-info/dependency_links.txt +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai.egg-info/entry_points.txt +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai.egg-info/requires.txt +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/hcli_hai.egg-info/top_level.txt +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/pyproject.toml +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/requirements.txt +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/setup.cfg +0 -0
- {hcli_hai-3.4.1 → hcli_hai-3.4.2}/tests/test_hai.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hcli_hai
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.2
|
|
4
4
|
Summary: HCLI hai is a python package wrapper that contains an HCLI sample application (hai); hai is an HCLI for interacting with Anthropic's Claude or OpenAI's GPT AI models via terminal input and output streams.
|
|
5
5
|
Author-email: Jeff Michaud <cometaj2@proton.me>
|
|
6
6
|
License: MIT
|
|
@@ -15,7 +15,7 @@ Create a detailed plan for the given task. Your plan should:
|
|
|
15
15
|
- Do not come up with a new and different task nor a different sequence of steps. Stick to the original plan.
|
|
16
16
|
- Break down the task into clear, logical steps.
|
|
17
17
|
- Ensure the plan is detailed enough to allow a person to do the task.
|
|
18
|
-
- Include
|
|
18
|
+
- Include no more than one hcli integration call to help trigger external tool use.
|
|
19
19
|
- If an HCLI service can't be navigated or isn't running, move on, DO NOT try to start nor configure it.
|
|
20
20
|
- If your task is accomplished per your original plan, STOP by no longer outputting a plan.
|
|
21
21
|
- If a command doens't work as expected, ask for help.
|
|
@@ -46,7 +46,7 @@ Not encoded in XML tags, unconststrained otherwise, here is what you may output
|
|
|
46
46
|
1. Only output one task per plan
|
|
47
47
|
2. Only output one list per plan.
|
|
48
48
|
3. Only output steps in a list.
|
|
49
|
-
4.
|
|
49
|
+
4. Output at most one hcli XML tag per plan.
|
|
50
50
|
|
|
51
51
|
## Example
|
|
52
52
|
|
|
@@ -59,7 +59,7 @@ no text here.
|
|
|
59
59
|
<step>__SECOND_STEP__</step>
|
|
60
60
|
<step>__THIRD_STEP__</step>
|
|
61
61
|
<list>
|
|
62
|
-
<hcli>
|
|
62
|
+
<hcli>__HCLI_INTEGRATION_COMMANDS__</hcli>
|
|
63
63
|
</plan>
|
|
64
64
|
|
|
65
65
|
unconstrained text here.
|
|
@@ -72,7 +72,7 @@ unconstrained text here.
|
|
|
72
72
|
|
|
73
73
|
1. You should first look at the list of available hcli tools with "huckle cli ls".
|
|
74
74
|
2. If you need to manipulate hcli tools (e.g. remove, install, configure, etc.), you should use "huckle help"
|
|
75
|
-
3. If you try to execute an HCLI tool command line sequence and it doesn't work
|
|
75
|
+
3. If you try to execute an HCLI tool command line sequence and it doesn't work, ask for help by adding "help" at the end of the command sequence.
|
|
76
76
|
4. You will only output a plan if you haven't reached your goal.
|
|
77
77
|
5. Reaching your goal means completing each and every step in the original plan.
|
|
78
78
|
5. When you have reached your goal you must NOT output a plan and you must simply output an unconstrained response.
|
|
@@ -95,7 +95,7 @@ Format your response within the plan XML tags as follows:
|
|
|
95
95
|
|
|
96
96
|
1. Present the overarching task so that you may know what your target is.
|
|
97
97
|
2. Present your plan as a list of remaining numbered steps.
|
|
98
|
-
3. After the list of numbered steps, you will output
|
|
98
|
+
3. After the list of numbered steps, you will output an hcli XML Tags.
|
|
99
99
|
|
|
100
100
|
## Task
|
|
101
101
|
|
|
@@ -122,6 +122,7 @@ After the numbered list of steps, and per the next step to execute in the plan,
|
|
|
122
122
|
4. HCLI Command, sub-command, sub-sub-command, etc. help
|
|
123
123
|
4.1, Example 1: hcli_tool command help
|
|
124
124
|
4.2, Example 2: hcli_tool command sub-command help
|
|
125
|
+
4.2, Example 2: hcli_tool command option help
|
|
125
126
|
etc.
|
|
126
127
|
|
|
127
128
|
hcli_tool is expected to be a tool listed from huckle cli ls.
|
|
@@ -117,6 +117,10 @@ class Service:
|
|
|
117
117
|
with self.runner.lock:
|
|
118
118
|
while True:
|
|
119
119
|
|
|
120
|
+
if not self.runner.is_running and not self.runner.is_vibing():
|
|
121
|
+
self.ai.contextmgr.set_status("")
|
|
122
|
+
self.waiting_for_update = False
|
|
123
|
+
|
|
120
124
|
# First check if we're waiting for a previous command to finish
|
|
121
125
|
if self.waiting_for_update:
|
|
122
126
|
current_count = len(self.runner.ai.contextmgr.messages())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hcli_hai
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.2
|
|
4
4
|
Summary: HCLI hai is a python package wrapper that contains an HCLI sample application (hai); hai is an HCLI for interacting with Anthropic's Claude or OpenAI's GPT AI models via terminal input and output streams.
|
|
5
5
|
Author-email: Jeff Michaud <cometaj2@proton.me>
|
|
6
6
|
License: MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|