kweaver-dolphin 0.2.0__py3-none-any.whl → 0.2.2__py3-none-any.whl
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.
- dolphin/cli/runner/runner.py +20 -0
- dolphin/cli/ui/console.py +29 -11
- dolphin/cli/utils/helpers.py +4 -4
- dolphin/core/agent/base_agent.py +2 -2
- dolphin/core/code_block/basic_code_block.py +140 -30
- dolphin/core/code_block/explore_block.py +353 -29
- dolphin/core/code_block/explore_block_v2.py +21 -17
- dolphin/core/code_block/explore_strategy.py +1 -0
- dolphin/core/code_block/judge_block.py +10 -1
- dolphin/core/code_block/skill_call_deduplicator.py +32 -10
- dolphin/core/code_block/tool_block.py +12 -3
- dolphin/core/common/constants.py +25 -1
- dolphin/core/config/global_config.py +35 -0
- dolphin/core/context/context.py +168 -5
- dolphin/core/context/cow_context.py +392 -0
- dolphin/core/flags/definitions.py +2 -2
- dolphin/core/runtime/runtime_instance.py +31 -0
- dolphin/core/skill/context_retention.py +3 -3
- dolphin/core/task_registry.py +404 -0
- dolphin/lib/__init__.py +0 -2
- dolphin/lib/skillkits/__init__.py +2 -2
- dolphin/lib/skillkits/plan_skillkit.py +756 -0
- dolphin/lib/skillkits/system_skillkit.py +103 -30
- dolphin/sdk/skill/global_skills.py +43 -3
- {kweaver_dolphin-0.2.0.dist-info → kweaver_dolphin-0.2.2.dist-info}/METADATA +1 -1
- {kweaver_dolphin-0.2.0.dist-info → kweaver_dolphin-0.2.2.dist-info}/RECORD +30 -28
- {kweaver_dolphin-0.2.0.dist-info → kweaver_dolphin-0.2.2.dist-info}/WHEEL +1 -1
- kweaver_dolphin-0.2.2.dist-info/entry_points.txt +15 -0
- dolphin/lib/skillkits/plan_act_skillkit.py +0 -452
- kweaver_dolphin-0.2.0.dist-info/entry_points.txt +0 -27
- {kweaver_dolphin-0.2.0.dist-info → kweaver_dolphin-0.2.2.dist-info}/licenses/LICENSE.txt +0 -0
- {kweaver_dolphin-0.2.0.dist-info → kweaver_dolphin-0.2.2.dist-info}/top_level.txt +0 -0
|
@@ -21,6 +21,7 @@ system_functions._grep -> _grep
|
|
|
21
21
|
system_functions._extract_code -> _extract_code
|
|
22
22
|
system_functions._write_jsonl -> _write_jsonl
|
|
23
23
|
system_functions._sleep -> _sleep
|
|
24
|
+
system_functions._get_cached_result_detail -> _get_cached_result_detail
|
|
24
25
|
|
|
25
26
|
Usage example:
|
|
26
27
|
skill:
|
|
@@ -416,61 +417,133 @@ class SystemFunctionsSkillKit(Skillkit):
|
|
|
416
417
|
|
|
417
418
|
return f"Slept for {actual_duration:.2f} seconds"
|
|
418
419
|
|
|
419
|
-
def
|
|
420
|
+
def _get_cached_result_detail(
|
|
420
421
|
self,
|
|
421
422
|
reference_id: str,
|
|
423
|
+
scope: str = "auto",
|
|
422
424
|
offset: int = 0,
|
|
423
425
|
limit: int = 2000,
|
|
426
|
+
format: str = "text",
|
|
427
|
+
include_meta: bool = False,
|
|
424
428
|
**kwargs,
|
|
425
429
|
) -> str:
|
|
426
|
-
"""Get
|
|
430
|
+
"""Get the full details of a cached result (task or skill).
|
|
427
431
|
|
|
428
|
-
|
|
429
|
-
|
|
432
|
+
Use this tool when the output of another tool has been truncated and you are
|
|
433
|
+
explicitly prompted to call this tool with a specific reference_id.
|
|
430
434
|
|
|
431
435
|
Args:
|
|
432
|
-
reference_id:
|
|
436
|
+
reference_id: The result reference ID (task_id or skill reference_id)
|
|
437
|
+
scope: "task" | "skill" | "auto" (default: "auto", tries task -> skill)
|
|
433
438
|
offset: Start position (character offset), default 0
|
|
434
|
-
limit: Maximum characters to return, default 2000
|
|
439
|
+
limit: Maximum number of characters to return, default 2000
|
|
440
|
+
format: Output format, V1 supports "text" only
|
|
441
|
+
include_meta: Whether to append a metadata footer
|
|
435
442
|
|
|
436
443
|
Returns:
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
Note:
|
|
440
|
-
This skill receives the context's skillkit_hook via the 'props' parameter
|
|
441
|
-
which is injected by the skill execution flow. The hook instance contains
|
|
442
|
-
the same cache backend where the original results are stored.
|
|
444
|
+
The detailed content within the specified range.
|
|
443
445
|
"""
|
|
444
|
-
|
|
445
|
-
|
|
446
|
+
if format != "text":
|
|
447
|
+
return "Error: INVALID_ARGUMENT (format must be 'text' in V1)."
|
|
448
|
+
|
|
449
|
+
if offset < 0 or limit <= 0:
|
|
450
|
+
return "Error: INVALID_ARGUMENT (offset must be >= 0, limit must be > 0)."
|
|
451
|
+
|
|
452
|
+
max_limit = 5000
|
|
453
|
+
clamped = False
|
|
454
|
+
if limit > max_limit:
|
|
455
|
+
limit = max_limit
|
|
456
|
+
clamped = True
|
|
457
|
+
|
|
458
|
+
# Get context from props (injected by skill execution flow)
|
|
446
459
|
props = kwargs.get("props", {})
|
|
447
460
|
context = props.get("gvp", None) # Note: context is passed as 'gvp' in skill_run()
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
461
|
+
if context is None:
|
|
462
|
+
return "Error: context not available. This tool must be called within a running session."
|
|
463
|
+
|
|
464
|
+
resolved_scope = scope or "auto"
|
|
465
|
+
content: str | None = None
|
|
466
|
+
error_text: str | None = None
|
|
467
|
+
|
|
468
|
+
def _try_task() -> tuple[str | None, str | None]:
|
|
469
|
+
if not hasattr(context, "is_plan_enabled") or not context.is_plan_enabled():
|
|
470
|
+
return None, "Error: scope 'task' requires plan mode. Please call _get_task_output or ensure plan is enabled."
|
|
471
|
+
registry = getattr(context, "task_registry", None)
|
|
472
|
+
if registry is None:
|
|
473
|
+
return None, "Error: scope 'task' requires plan mode. Please call _get_task_output or ensure plan is enabled."
|
|
474
|
+
|
|
475
|
+
task = registry.get_task(reference_id)
|
|
476
|
+
if not task:
|
|
477
|
+
return None, f"Error: task_id '{reference_id}' not found."
|
|
478
|
+
|
|
479
|
+
status = getattr(task, "status", None)
|
|
480
|
+
status_value = getattr(status, "value", str(status)) if status is not None else "unknown"
|
|
481
|
+
if status_value != "completed":
|
|
482
|
+
if status_value == "failed":
|
|
483
|
+
err = getattr(task, "error", None) or "Unknown error"
|
|
484
|
+
return None, f"Error: task '{reference_id}' failed: {err}"
|
|
485
|
+
return None, f"Error: task '{reference_id}' is not completed (status: {status_value})."
|
|
486
|
+
|
|
487
|
+
output = getattr(task, "output", None)
|
|
488
|
+
return str(output or "(no output)"), None
|
|
489
|
+
|
|
490
|
+
def _try_skill() -> tuple[str | None, str | None]:
|
|
491
|
+
hook = getattr(context, "skillkit_hook", None)
|
|
492
|
+
if hook is None:
|
|
493
|
+
return None, "Error: skillkit_hook not available in context."
|
|
494
|
+
|
|
495
|
+
raw = hook.get_raw_result(reference_id)
|
|
496
|
+
if raw is None:
|
|
497
|
+
return (
|
|
498
|
+
None,
|
|
499
|
+
f"Error: reference_id '{reference_id}' not found or expired. The result may have been cleaned up or the reference ID is incorrect.",
|
|
500
|
+
)
|
|
501
|
+
return str(raw), None
|
|
502
|
+
|
|
503
|
+
if resolved_scope == "task":
|
|
504
|
+
content, error_text = _try_task()
|
|
505
|
+
elif resolved_scope == "skill":
|
|
506
|
+
content, error_text = _try_skill()
|
|
507
|
+
elif resolved_scope == "auto":
|
|
508
|
+
# Deterministic: if a task with the same id exists, use task scope and do not fall back.
|
|
509
|
+
registry = getattr(context, "task_registry", None)
|
|
510
|
+
if getattr(context, "is_plan_enabled", lambda: False)() and registry and registry.get_task(reference_id):
|
|
511
|
+
resolved_scope = "task"
|
|
512
|
+
content, error_text = _try_task()
|
|
513
|
+
else:
|
|
514
|
+
resolved_scope = "skill"
|
|
515
|
+
content, error_text = _try_skill()
|
|
452
516
|
else:
|
|
453
|
-
|
|
454
|
-
# This may not find the result if cache is instance-based
|
|
455
|
-
from dolphin.lib.skill_results.skillkit_hook import SkillkitHook
|
|
456
|
-
hook = SkillkitHook()
|
|
457
|
-
|
|
458
|
-
raw_result = hook.get_raw_result(reference_id)
|
|
517
|
+
return "Error: INVALID_ARGUMENT (scope must be 'task', 'skill', or 'auto')."
|
|
459
518
|
|
|
460
|
-
if
|
|
461
|
-
return
|
|
519
|
+
if content is None:
|
|
520
|
+
return error_text or "Error: NOT_FOUND"
|
|
462
521
|
|
|
463
|
-
content = str(raw_result)
|
|
464
522
|
total_length = len(content)
|
|
465
523
|
|
|
466
524
|
# Get specified range
|
|
467
525
|
result = content[offset : offset + limit]
|
|
526
|
+
returned = len(result)
|
|
468
527
|
|
|
469
528
|
# Append meta info to help LLM understand position
|
|
470
|
-
if offset +
|
|
471
|
-
remaining = total_length - offset -
|
|
529
|
+
if offset + returned < total_length:
|
|
530
|
+
remaining = total_length - offset - returned
|
|
472
531
|
result += f"\n... ({remaining} chars remaining, total {total_length})"
|
|
473
532
|
|
|
533
|
+
if clamped:
|
|
534
|
+
result += f"\n... (limit clamped to {max_limit})"
|
|
535
|
+
|
|
536
|
+
if include_meta:
|
|
537
|
+
next_offset = offset + returned
|
|
538
|
+
next_offset_str = str(next_offset) if next_offset < total_length else "null"
|
|
539
|
+
result += "\n\n=== Cached Result Meta ==="
|
|
540
|
+
result += f"\nscope={resolved_scope}"
|
|
541
|
+
result += f"\nreference_id={reference_id}"
|
|
542
|
+
result += f"\noffset={offset}"
|
|
543
|
+
result += f"\nreturned={returned}"
|
|
544
|
+
result += f"\nnext_offset={next_offset_str}"
|
|
545
|
+
result += f"\ntotal={total_length}"
|
|
546
|
+
|
|
474
547
|
return result
|
|
475
548
|
|
|
476
549
|
def _createSkills(self) -> List[SkillFunction]:
|
|
@@ -483,7 +556,7 @@ class SystemFunctionsSkillKit(Skillkit):
|
|
|
483
556
|
SkillFunction(self._extract_code),
|
|
484
557
|
SkillFunction(self._grep),
|
|
485
558
|
SkillFunction(self._sleep),
|
|
486
|
-
SkillFunction(self.
|
|
559
|
+
SkillFunction(self._get_cached_result_detail),
|
|
487
560
|
]
|
|
488
561
|
|
|
489
562
|
# If no enable function is specified, return all skills (backward compatibility)
|
|
@@ -100,9 +100,7 @@ class GlobalSkills:
|
|
|
100
100
|
status.update(f"[bold blue]Loading skillkit:[/][white] {entry_point.name}[/]")
|
|
101
101
|
try:
|
|
102
102
|
# Check if this skill should be loaded based on config
|
|
103
|
-
if not self.globalConfig.skill_config.should_load_skill(
|
|
104
|
-
entry_point.name
|
|
105
|
-
):
|
|
103
|
+
if not self.globalConfig.skill_config.should_load_skill(entry_point.name):
|
|
106
104
|
logger.debug(f"Skipping disabled skillkit: {entry_point.name}")
|
|
107
105
|
continue
|
|
108
106
|
|
|
@@ -139,9 +137,11 @@ class GlobalSkills:
|
|
|
139
137
|
)
|
|
140
138
|
|
|
141
139
|
except Exception as e:
|
|
140
|
+
import traceback
|
|
142
141
|
logger.error(
|
|
143
142
|
f"Failed to load skillkit from entry point {entry_point.name}: {str(e)}"
|
|
144
143
|
)
|
|
144
|
+
logger.error(traceback.format_exc())
|
|
145
145
|
continue
|
|
146
146
|
|
|
147
147
|
logger.debug(
|
|
@@ -158,6 +158,9 @@ class GlobalSkills:
|
|
|
158
158
|
Load all skillkits from skill/installed directory (fallback method)
|
|
159
159
|
Reuses existing code from DolphinExecutor::set_installed_skills
|
|
160
160
|
"""
|
|
161
|
+
# Load built-in skillkits (fallback for development mode when entry points are not available)
|
|
162
|
+
self._loadBuiltinSkillkits()
|
|
163
|
+
|
|
161
164
|
# Get the path to skill/installed directory
|
|
162
165
|
current_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
163
166
|
installed_skills_dir = os.path.join(current_dir, "skill", "installed")
|
|
@@ -168,6 +171,43 @@ class GlobalSkills:
|
|
|
168
171
|
)
|
|
169
172
|
return
|
|
170
173
|
self._loadSkillkitsFromPath(installed_skills_dir, "installed")
|
|
174
|
+
|
|
175
|
+
def _loadBuiltinSkillkits(self):
|
|
176
|
+
"""
|
|
177
|
+
Load built-in skillkits from dolphin.lib.skillkits.
|
|
178
|
+
This serves as a fallback for development mode or non-installed environments.
|
|
179
|
+
"""
|
|
180
|
+
builtin_skillkits = {
|
|
181
|
+
"plan_skillkit": "dolphin.lib.skillkits.plan_skillkit.PlanSkillkit",
|
|
182
|
+
"cognitive": "dolphin.lib.skillkits.cognitive_skillkit.CognitiveSkillkit",
|
|
183
|
+
"env_skillkit": "dolphin.lib.skillkits.env_skillkit.EnvSkillkit",
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
for skillkit_name, class_path in builtin_skillkits.items():
|
|
187
|
+
# Check if this skillkit should be loaded
|
|
188
|
+
if not self.globalConfig.skill_config.should_load_skill(skillkit_name):
|
|
189
|
+
logger.debug(f"Skipping disabled skillkit: {skillkit_name}")
|
|
190
|
+
continue
|
|
191
|
+
|
|
192
|
+
try:
|
|
193
|
+
# Import the skillkit class
|
|
194
|
+
module_path, class_name = class_path.rsplit(".", 1)
|
|
195
|
+
module = importlib.import_module(module_path)
|
|
196
|
+
skillkit_class = getattr(module, class_name)
|
|
197
|
+
|
|
198
|
+
# Create instance
|
|
199
|
+
skillkit_instance = skillkit_class()
|
|
200
|
+
|
|
201
|
+
# Set global config if supported
|
|
202
|
+
if hasattr(skillkit_instance, "setGlobalConfig"):
|
|
203
|
+
skillkit_instance.setGlobalConfig(self.globalConfig)
|
|
204
|
+
|
|
205
|
+
# Add to installed skillset
|
|
206
|
+
self.installedSkillset.addSkillkit(skillkit_instance)
|
|
207
|
+
|
|
208
|
+
logger.debug(f"Loaded built-in skillkit: {skillkit_name}")
|
|
209
|
+
except Exception as e:
|
|
210
|
+
logger.error(f"Failed to load built-in skillkit {skillkit_name}: {str(e)}")
|
|
171
211
|
|
|
172
212
|
def _get_enabled_system_functions(self) -> Optional[list[str]]:
|
|
173
213
|
"""Extract system function configurations from skill_config.enabled_skills"""
|
|
@@ -15,33 +15,34 @@ dolphin/cli/multimodal/handler.py,sha256=GLH4CVpQ7tp7qzU6Azq6_5NEbb8SazDoUJwjLJ8
|
|
|
15
15
|
dolphin/cli/multimodal/image_processor.py,sha256=GyQogputtFb4HtRyC6rMgTB57mEHCVNkSUCi83D5Ob4,7305
|
|
16
16
|
dolphin/cli/multimodal/input_parser.py,sha256=gKbSnO2i_sNYamcYtVB638sLZnDCrp0ZJxHKxXqvQwc,5024
|
|
17
17
|
dolphin/cli/runner/__init__.py,sha256=wUBuFqq_wm5wi8KpJvF3QDEnCWBiqrgi0ihI1EDe6Nw,153
|
|
18
|
-
dolphin/cli/runner/runner.py,sha256=
|
|
18
|
+
dolphin/cli/runner/runner.py,sha256=xrP59__K15kMrOGiLH4044QQRAwv0ysQ_NUFSccyj48,37246
|
|
19
19
|
dolphin/cli/ui/__init__.py,sha256=w1xrgYJ66ehCcdgeHMZWiCBRP_C64j5Alt0HYB0dTxM,228
|
|
20
|
-
dolphin/cli/ui/console.py,sha256=
|
|
20
|
+
dolphin/cli/ui/console.py,sha256=Sh02aUKDsq9Q3rK8CrEA7l8ZqsYDG7FDPCtdVVwY5UQ,113473
|
|
21
21
|
dolphin/cli/ui/input.py,sha256=qEtyOdNdipWHLWe7aZI1eOtcX7S34vQ_bytXumrZ1S0,11199
|
|
22
22
|
dolphin/cli/ui/layout.py,sha256=Qhjp0a7ZvecYdifZDlO64PTHkSXb_amuWzCtYZYdods,14501
|
|
23
23
|
dolphin/cli/ui/stream_renderer.py,sha256=qo5mIDE_dUxf9otwr34kjCDx9Y9If2sLXZ4twojSKKw,11950
|
|
24
24
|
dolphin/cli/utils/__init__.py,sha256=aJBTjxRd-xC_Vp0a384A1lyNe2Woi4LWpV465d9UI1M,139
|
|
25
|
-
dolphin/cli/utils/helpers.py,sha256=
|
|
25
|
+
dolphin/cli/utils/helpers.py,sha256=8Yqaoeh7uob-0eFA3oq4_kAeodZAkI0i4NxxedKhKvc,3655
|
|
26
26
|
dolphin/cli/utils/version.py,sha256=UvGyYcsHklujXTvZaeVuJTRHFH9d4giWwqq7UmgDpIk,1282
|
|
27
27
|
dolphin/core/__init__.py,sha256=h41bEI_o9djjE4v00cUT8oTdtynsvtmus-mX1XT6TZg,2785
|
|
28
28
|
dolphin/core/interfaces.py,sha256=XvyVO9LB9YbBxRlJXSdcqt7-6lH0GVTYEDYxY_zqQmE,1161
|
|
29
|
+
dolphin/core/task_registry.py,sha256=VgW5DPglRd6NSkHbCFLLl4YsdrztyZrXx8ZAoQJyfMI,15061
|
|
29
30
|
dolphin/core/agent/__init__.py,sha256=mOligICB_byI5rZFqMvSJN0msodBvravbhSghpboDdU,221
|
|
30
31
|
dolphin/core/agent/agent_state.py,sha256=3YsFJdG21FqoIoHTDMBx01KEJJDRXFToW0vDrzUWMOU,1949
|
|
31
|
-
dolphin/core/agent/base_agent.py,sha256=
|
|
32
|
+
dolphin/core/agent/base_agent.py,sha256=MC4cY_oE9hPYtUjZMKOLxDimxVMwyPWIpnjvXRdShp4,46268
|
|
32
33
|
dolphin/core/code_block/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
34
|
dolphin/core/code_block/agent_init_block.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
35
|
dolphin/core/code_block/assign_block.py,sha256=xbPiQOkFAbrcRDnwkcNN2tfxy7OG8IXPPbjlCM1KJ9I,4124
|
|
35
|
-
dolphin/core/code_block/basic_code_block.py,sha256=
|
|
36
|
-
dolphin/core/code_block/explore_block.py,sha256=
|
|
37
|
-
dolphin/core/code_block/explore_block_v2.py,sha256=
|
|
38
|
-
dolphin/core/code_block/explore_strategy.py,sha256=
|
|
39
|
-
dolphin/core/code_block/judge_block.py,sha256=
|
|
36
|
+
dolphin/core/code_block/basic_code_block.py,sha256=a7F1z4k746lqxipzS3OGRYiO1aoM4oEAWG_UMD3feiw,82128
|
|
37
|
+
dolphin/core/code_block/explore_block.py,sha256=dlYJ4VQMNG6-iFbwzE4CCCcNE_fVQJatB9kVJNUHNp8,71609
|
|
38
|
+
dolphin/core/code_block/explore_block_v2.py,sha256=gKNxQRkTHnZb-HiJ467YOO-Ftoq4lBVtfobEPn1m03o,32614
|
|
39
|
+
dolphin/core/code_block/explore_strategy.py,sha256=m_HWs9dtTiLuyC37JrPUR4Hpcl4jseEoFIQtpPFTaZU,22882
|
|
40
|
+
dolphin/core/code_block/judge_block.py,sha256=PRjqtWqc5noxki2us8seDosai8mNFRkYhGuRREYXKO8,11048
|
|
40
41
|
dolphin/core/code_block/prompt_block.py,sha256=lFun43lOQP9rbZzoNw2sYhwQCHRenRBZzL6vuXKunvo,1131
|
|
41
|
-
dolphin/core/code_block/skill_call_deduplicator.py,sha256=
|
|
42
|
-
dolphin/core/code_block/tool_block.py,sha256=
|
|
42
|
+
dolphin/core/code_block/skill_call_deduplicator.py,sha256=n4N4sExdO0wuStZPM_ZBTNHh6nTmi2peyiT-i23d8AA,10782
|
|
43
|
+
dolphin/core/code_block/tool_block.py,sha256=Weqcl9C0YShFHCAgMrg9lhFjIhZ144ULpMHT5qZnoJY,7694
|
|
43
44
|
dolphin/core/common/__init__.py,sha256=WUsyhGJljLFzpW_YEnkMsNn_Iw3WdqkFyuHa-mMKhNc,455
|
|
44
|
-
dolphin/core/common/constants.py,sha256=
|
|
45
|
+
dolphin/core/common/constants.py,sha256=LqkfSG5uhDflM9_d2Yl-p1xAcK0ePZHsHCPZTq2dIRQ,8485
|
|
45
46
|
dolphin/core/common/enums.py,sha256=9QEzvCb7vbkQns1mtVlswsRZHKVwwvdRqrefSr-S68g,42282
|
|
46
47
|
dolphin/core/common/exceptions.py,sha256=tIwakGPqkTB0H23dPp_OdMvruIvOJNuevTXnrfOKoXo,3883
|
|
47
48
|
dolphin/core/common/multimodal.py,sha256=ocoOOXeYAHhh4pVQTazFE-ocOysfY-k1GdCva0eOz_Q,18548
|
|
@@ -49,11 +50,12 @@ dolphin/core/common/object_type.py,sha256=1cnFjVx0etDaby-0wfJgis0ZUNjAXRsIQWx-jI
|
|
|
49
50
|
dolphin/core/common/output_format.py,sha256=_xZoh39Oirh9DnRoRjK5_e9r0haek2WFcNuwIbzJDIo,14689
|
|
50
51
|
dolphin/core/common/types.py,sha256=rbFbW2Ox0_cDLlDmmbPhtnnX4Yu9H24zcDpNW0gzlbA,794
|
|
51
52
|
dolphin/core/config/__init__.py,sha256=7PJH0qB8mTc8Tjuvlum8Y-RdomyaKWZQoA4XVzEd0J0,336
|
|
52
|
-
dolphin/core/config/global_config.py,sha256=
|
|
53
|
+
dolphin/core/config/global_config.py,sha256=VU_zxLze86bnd5KTUX3Gl5J9hCMdrXgod7rBOjSu0Dc,47855
|
|
53
54
|
dolphin/core/config/ontology_config.py,sha256=sGMkbcfFp5EdNIFazrY7Z2MsahCt0vC7GH_5-VleGcA,3899
|
|
54
55
|
dolphin/core/context/__init__.py,sha256=2CKAzbIol_oZ611KSYLEk-Apyfez9tLXOYT9S6WMhW8,324
|
|
55
|
-
dolphin/core/context/context.py,sha256=
|
|
56
|
+
dolphin/core/context/context.py,sha256=rQ-c8418VHtLeXq2EIA0z_tp6pJ3tujttt06NclFB48,69459
|
|
56
57
|
dolphin/core/context/context_manager.py,sha256=3yo8sdWkfqq52cwhNIM0OlXPLZSLftTbFHuWBlqjOsE,6288
|
|
58
|
+
dolphin/core/context/cow_context.py,sha256=_e-ppxENLeMHppYDBF5aScfCeLbJkGFM0NYu6T_3q7M,15778
|
|
57
59
|
dolphin/core/context/var_output.py,sha256=1Xb_JYv5L0f3JhUy8ZxmwF4EQEtn_Czh44s5nXjo2PA,2830
|
|
58
60
|
dolphin/core/context/variable_pool.py,sha256=SgztIgALcIoNAMYf1VM7EzHeNNa2g61oLt5Ta32u81o,13212
|
|
59
61
|
dolphin/core/context_engineer/__init__.py,sha256=-YYco8XWHNafpx-TlA12-Adsm7a6q7SSYJt-iOVu-hU,1450
|
|
@@ -85,7 +87,7 @@ dolphin/core/executor/debug_controller.py,sha256=15N4sFPBiZYK_DiTsrA3f0FdRYrbLdX
|
|
|
85
87
|
dolphin/core/executor/dolphin_executor.py,sha256=Eci_MzdHv0r7TFF9chCBzHxblxazJ48JVlQtEoFBkjw,43369
|
|
86
88
|
dolphin/core/executor/executor.py,sha256=xoTf8tBVaWiuv-EmTXY94HW-Llgz2nWJDHtZ0yh5Fxo,25632
|
|
87
89
|
dolphin/core/flags/__init__.py,sha256=9rek6speJJyfzJfy6MqlM4pTrSAB-kmAfrwgu2wCoB0,498
|
|
88
|
-
dolphin/core/flags/definitions.py,sha256=
|
|
90
|
+
dolphin/core/flags/definitions.py,sha256=vrK5efMe7BgVFBa6G573G1ht_bDKsb5eolXsb2CNVjA,1363
|
|
89
91
|
dolphin/core/flags/manager.py,sha256=FiUeUJTz9Cq8VzL4n7GHXQeuZ1edFqKGKV2UNt3zdZ4,3711
|
|
90
92
|
dolphin/core/hook/__init__.py,sha256=PiFTayq_0GpGagWNF9yTQ5Bv6GegPu-dH2cvjRpn71U,2101
|
|
91
93
|
dolphin/core/hook/expression_evaluator.py,sha256=dqeuyE4Ryc2EwB2A0egHSjE6EzBSBklJOpLJilkIi_I,14821
|
|
@@ -105,9 +107,9 @@ dolphin/core/parser/__init__.py,sha256=mTbDPOibOeGy9cbEfwkE1at2FaRtkRvXXcLsXGJFw
|
|
|
105
107
|
dolphin/core/parser/parser.py,sha256=li6Gg5UUW8y_1zdFJf3E85KV14Wvt5GuqCu9zpSvlx8,14225
|
|
106
108
|
dolphin/core/runtime/__init__.py,sha256=PLAb9w4ZvFcalUjRummzcEmPzlnqqfkcl-IQBJd2L48,248
|
|
107
109
|
dolphin/core/runtime/runtime_graph.py,sha256=eCHFirL_kFLDddx-wQ1iwoNckJeL6JIRPnbUe5bSWZY,40168
|
|
108
|
-
dolphin/core/runtime/runtime_instance.py,sha256=
|
|
110
|
+
dolphin/core/runtime/runtime_instance.py,sha256=cxD3WOR099HJ8ZvbkazQgiZ8inmyqKDja2pynFLvQX4,15877
|
|
109
111
|
dolphin/core/skill/__init__.py,sha256=q25CjZRkxIUwKCITPFd7ERgqZY8UCZ6sMRB9PdBjFhc,363
|
|
110
|
-
dolphin/core/skill/context_retention.py,sha256=
|
|
112
|
+
dolphin/core/skill/context_retention.py,sha256=Z2QWyckenEmluED9XP0mITfEExV6utPJC9a4rkBSyS8,5913
|
|
111
113
|
dolphin/core/skill/skill_function.py,sha256=lJ1nbc926CpxSew-NGFGjK33yizZvSgTCkWJqAdMadw,26509
|
|
112
114
|
dolphin/core/skill/skill_matcher.py,sha256=GAHygNKG_K1F_xNuXzvLxTYREe08u7C9pImGrcF9jqg,9999
|
|
113
115
|
dolphin/core/skill/skillkit.py,sha256=mhzprfbe-lrXdwdeoUjhY8V7JYVMYJ2XHkyxxgeGIQQ,26491
|
|
@@ -118,7 +120,7 @@ dolphin/core/trajectory/trajectory.py,sha256=eEYmokzaskeWx0MfSBuMYWrfBouXpt4HwvC
|
|
|
118
120
|
dolphin/core/utils/__init__.py,sha256=8IhOF81ct7TYiVoc9SWbyO6YUWaSlcZH2dVcF0qy46Y,176
|
|
119
121
|
dolphin/core/utils/cache_kv.py,sha256=UnuUKE_1sL0glWJ3qq3TLN4MpKxNqzdw_72sxfUPXig,8968
|
|
120
122
|
dolphin/core/utils/tools.py,sha256=-Ezo7daUFII_VGsPY0WWvLt1SWdXUzir2nEL0UxWISA,9875
|
|
121
|
-
dolphin/lib/__init__.py,sha256=
|
|
123
|
+
dolphin/lib/__init__.py,sha256=oLdHmTG_IcWljkaIogbZFln3oZFtrGaa3gaM6l3PgDU,2484
|
|
122
124
|
dolphin/lib/debug/__init__.py,sha256=LXMTcUqnSnvEd_aCtSjaxs7PVUSf0pVJ0BiMozGESP0,154
|
|
123
125
|
dolphin/lib/debug/visualizer.py,sha256=zoweYgmbZW2KOoJe3Y63C6-G1uDZi23srUDpxngtWbQ,18024
|
|
124
126
|
dolphin/lib/memory/__init__.py,sha256=Tb1AoF37ryaOw6fhJmkengTif1zMHzcxU3F0P6NRwy4,782
|
|
@@ -149,7 +151,7 @@ dolphin/lib/skill_results/result_reference.py,sha256=I1MY7Bftt3QrrtswLfymNjnfXVQ
|
|
|
149
151
|
dolphin/lib/skill_results/skillkit_hook.py,sha256=tAVOvsja7rHOg8p5I0TQV2sC4ha7JQwia4tH1y5S_qw,12664
|
|
150
152
|
dolphin/lib/skill_results/strategies.py,sha256=mscBN3mRz690GFle-EjWdNeZWvPMABLIzdA4xxckTcQ,11305
|
|
151
153
|
dolphin/lib/skill_results/strategy_registry.py,sha256=lipa0FmmeBTVrwh_U_BDLr8ZP7mrJo0cukMCWUKKglg,5351
|
|
152
|
-
dolphin/lib/skillkits/__init__.py,sha256=
|
|
154
|
+
dolphin/lib/skillkits/__init__.py,sha256=RsIsJG02-0d-sbNwQVgo2n__09FNHUr4sQZbYixVGM0,2125
|
|
153
155
|
dolphin/lib/skillkits/agent_skillkit.py,sha256=WKEulR6867LAegXFhjD5zg73nPPuugsGD1A4nP27Ijk,4708
|
|
154
156
|
dolphin/lib/skillkits/cognitive_skillkit.py,sha256=pWUysXd3dPRptaEyy0KsXDsOPq8_OUpUCBSLSQyuwhU,3534
|
|
155
157
|
dolphin/lib/skillkits/env_skillkit.py,sha256=PBHJxNbmbAaDyclFSaJth9BzLfPX6E-ZLI-pozJeG8g,9315
|
|
@@ -158,11 +160,11 @@ dolphin/lib/skillkits/mcp_skillkit.py,sha256=aDraRkL934A84blNlDWQsGGNP5Nqjdw8Epp
|
|
|
158
160
|
dolphin/lib/skillkits/memory_skillkit.py,sha256=FlC-HflKdm5Z29wkyUF2I79022mXrBo5PHQFT68oaQc,24355
|
|
159
161
|
dolphin/lib/skillkits/noop_skillkit.py,sha256=BD5YFH_Dn50xR6cT-xpxiDGujnl75X0yx2frdBzJSlo,691
|
|
160
162
|
dolphin/lib/skillkits/ontology_skillkit.py,sha256=fpoZMQjoLFs_gr5ybSs5P_kJVe038xgFvqfJvQtmg3s,3098
|
|
161
|
-
dolphin/lib/skillkits/
|
|
163
|
+
dolphin/lib/skillkits/plan_skillkit.py,sha256=uB1Qf7Y0pWUk1Bt7ZrkoPFewS-LO_YU8gaxz3CR5twc,31924
|
|
162
164
|
dolphin/lib/skillkits/resource_skillkit.py,sha256=KGSAzLYUIHsZDS7KmpX-zaDOHwjZgOUBx76sfYN5JcA,351
|
|
163
165
|
dolphin/lib/skillkits/search_skillkit.py,sha256=8uJhZLp-50FIiRqjd3JEyeXBr69Dl_Zt9ggTogrjxgU,6054
|
|
164
166
|
dolphin/lib/skillkits/sql_skillkit.py,sha256=s-WDtM8lVGjGdH6NptyI6GDpq9FJPxx7XMr3J76VqhA,10040
|
|
165
|
-
dolphin/lib/skillkits/system_skillkit.py,sha256=
|
|
167
|
+
dolphin/lib/skillkits/system_skillkit.py,sha256=GLm_vvSzhI0ZF396ExmAOGCXq8zvw05pV3t3F-hDxLs,22920
|
|
166
168
|
dolphin/lib/skillkits/vm_skillkit.py,sha256=WKobRpx8JfdVTNh5xdqgSOzOJwSTK2YuZ9wxEzglex4,2154
|
|
167
169
|
dolphin/lib/skillkits/resource/__init__.py,sha256=kyHZCoNrEFMM6xhDZ10Up4ynMtBJIgjTMSUjVZhNYcU,1411
|
|
168
170
|
dolphin/lib/skillkits/resource/resource_skillkit.py,sha256=QpTUe1NuOmk2Ec7l40NuGd7ZO94pg4x2U4EGFmq52Ig,13745
|
|
@@ -189,11 +191,11 @@ dolphin/sdk/api/__init__.py,sha256=Unr4EQIm0hHeMAJzYzA9TsuyJ0TbL8CEzRSEGNFrn-w,7
|
|
|
189
191
|
dolphin/sdk/runtime/__init__.py,sha256=W90bnFZ_l6ukuZ3l1iBRWN0oPetdNisjj6dxBMk1NEM,130
|
|
190
192
|
dolphin/sdk/runtime/env.py,sha256=OU0CEZuVXgdQPeNsYq6BhFETcc-Q2vcAp6jLvOrEsbU,12337
|
|
191
193
|
dolphin/sdk/skill/__init__.py,sha256=zzfHgrxIWxUEFH1HMiwb08U1M1ukHcdNtFqKi3Sg1ug,246
|
|
192
|
-
dolphin/sdk/skill/global_skills.py,sha256=
|
|
194
|
+
dolphin/sdk/skill/global_skills.py,sha256=uYgzwSLKsdlb5Y5dhOxr00JSeuOx4fHF1aDgrHh7UGs,29466
|
|
193
195
|
dolphin/sdk/skill/traditional_toolkit.py,sha256=Yyejm1LCUDVfXb1MCiaiT2tyFsrW0bj0uvKa5VjA8FM,9355
|
|
194
|
-
kweaver_dolphin-0.2.
|
|
195
|
-
kweaver_dolphin-0.2.
|
|
196
|
-
kweaver_dolphin-0.2.
|
|
197
|
-
kweaver_dolphin-0.2.
|
|
198
|
-
kweaver_dolphin-0.2.
|
|
199
|
-
kweaver_dolphin-0.2.
|
|
196
|
+
kweaver_dolphin-0.2.2.dist-info/licenses/LICENSE.txt,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
197
|
+
kweaver_dolphin-0.2.2.dist-info/METADATA,sha256=UpzW65nkXBYURsD2IVFuyaHie8Sttc6oF--XoMnjzT4,15420
|
|
198
|
+
kweaver_dolphin-0.2.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
199
|
+
kweaver_dolphin-0.2.2.dist-info/entry_points.txt,sha256=iiLRmsPjhVBJvL4XZmoSdbr0-4cIjRQ1cFkJqSdEWE0,718
|
|
200
|
+
kweaver_dolphin-0.2.2.dist-info/top_level.txt,sha256=vwNhnr4e0NgKRTfM56xcCfo9t2ZebTbbPF38xpBYiq0,27
|
|
201
|
+
kweaver_dolphin-0.2.2.dist-info/RECORD,,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[console_scripts]
|
|
2
|
+
dolphin = dolphin.cli:main
|
|
3
|
+
|
|
4
|
+
[dolphin.skillkits]
|
|
5
|
+
cognitive = dolphin.lib.skillkits.cognitive_skillkit:CognitiveSkillkit
|
|
6
|
+
env = dolphin.lib.skillkits.env_skillkit:EnvSkillkit
|
|
7
|
+
mcp = dolphin.lib.skillkits.mcp_skillkit:MCPSkillkit
|
|
8
|
+
memory = dolphin.lib.skillkits.memory_skillkit:MemorySkillkit
|
|
9
|
+
noop = dolphin.lib.skillkits.noop_skillkit:NoopSkillkit
|
|
10
|
+
ontology = dolphin.lib.skillkits.ontology_skillkit:OntologySkillkit
|
|
11
|
+
plan = dolphin.lib.skillkits.plan_skillkit:PlanSkillkit
|
|
12
|
+
resource = dolphin.lib.skillkits.resource_skillkit:ResourceSkillkit
|
|
13
|
+
search = dolphin.lib.skillkits.search_skillkit:SearchSkillkit
|
|
14
|
+
sql = dolphin.lib.skillkits.sql_skillkit:SQLSkillkit
|
|
15
|
+
vm = dolphin.lib.skillkits.vm_skillkit:VMSkillkit
|