stigmergy 1.0.68 → 1.0.70
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/README.en.md +306 -300
- package/README.md +469 -301
- package/package.json +97 -81
- package/scripts/publish.js +268 -0
- package/scripts/simple-publish.js +59 -0
- package/src/index.js +12 -0
- package/test/enhanced-main-alignment.test.js +298 -0
- package/test/hook-system-integration-test.js +307 -0
- package/test/natural-language-skills-test.js +320 -0
- package/test/nl-integration-test.js +179 -0
- package/test/parameter-parsing-test.js +143 -0
- package/test/real-test.js +435 -0
- package/test/system-compatibility-test.js +447 -0
- package/test/tdd-fixes-test.js +211 -0
- package/test/third-party-skills-test.js +321 -0
- package/test/tool-selection-integration-test.js +157 -0
- package/test/unit/cli-scanner.test.js +291 -0
- package/test/unit/cross-cli-executor.test.js +399 -0
- package/src/adapters/claude/__init__.py +0 -13
- package/src/adapters/claude/claude_skills_integration.py +0 -609
- package/src/adapters/claude/hook_adapter.py +0 -663
- package/src/adapters/claude/install_claude_integration.py +0 -265
- package/src/adapters/claude/skills_hook_adapter.py +0 -841
- package/src/adapters/claude/standalone_claude_adapter.py +0 -384
- package/src/adapters/cline/__init__.py +0 -20
- package/src/adapters/cline/config.py +0 -108
- package/src/adapters/cline/install_cline_integration.py +0 -617
- package/src/adapters/cline/mcp_server.py +0 -713
- package/src/adapters/cline/standalone_cline_adapter.py +0 -459
- package/src/adapters/codebuddy/__init__.py +0 -13
- package/src/adapters/codebuddy/buddy_adapter.py +0 -1125
- package/src/adapters/codebuddy/install_codebuddy_integration.py +0 -279
- package/src/adapters/codebuddy/skills_hook_adapter.py +0 -672
- package/src/adapters/codebuddy/skills_integration.py +0 -395
- package/src/adapters/codebuddy/standalone_codebuddy_adapter.py +0 -403
- package/src/adapters/codex/__init__.py +0 -11
- package/src/adapters/codex/base.py +0 -46
- package/src/adapters/codex/install_codex_integration.py +0 -311
- package/src/adapters/codex/mcp_server.py +0 -493
- package/src/adapters/codex/natural_language_parser.py +0 -82
- package/src/adapters/codex/slash_command_adapter.py +0 -326
- package/src/adapters/codex/standalone_codex_adapter.py +0 -362
- package/src/adapters/copilot/__init__.py +0 -13
- package/src/adapters/copilot/install_copilot_integration.py +0 -564
- package/src/adapters/copilot/mcp_adapter.py +0 -772
- package/src/adapters/copilot/mcp_server.py +0 -168
- package/src/adapters/copilot/standalone_copilot_adapter.py +0 -114
- package/src/adapters/gemini/__init__.py +0 -13
- package/src/adapters/gemini/extension_adapter.py +0 -690
- package/src/adapters/gemini/install_gemini_integration.py +0 -257
- package/src/adapters/gemini/standalone_gemini_adapter.py +0 -366
- package/src/adapters/iflow/__init__.py +0 -7
- package/src/adapters/iflow/hook_adapter.py +0 -1038
- package/src/adapters/iflow/hook_installer.py +0 -536
- package/src/adapters/iflow/install_iflow_integration.py +0 -271
- package/src/adapters/iflow/official_hook_adapter.py +0 -1272
- package/src/adapters/iflow/standalone_iflow_adapter.py +0 -48
- package/src/adapters/iflow/workflow_adapter.py +0 -793
- package/src/adapters/qoder/hook_installer.py +0 -732
- package/src/adapters/qoder/install_qoder_integration.py +0 -265
- package/src/adapters/qoder/notification_hook_adapter.py +0 -863
- package/src/adapters/qoder/standalone_qoder_adapter.py +0 -48
- package/src/adapters/qwen/__init__.py +0 -17
- package/src/adapters/qwencode/__init__.py +0 -13
- package/src/adapters/qwencode/inheritance_adapter.py +0 -818
- package/src/adapters/qwencode/install_qwencode_integration.py +0 -276
- package/src/adapters/qwencode/standalone_qwencode_adapter.py +0 -399
- package/src/atomic_collaboration_handler.py +0 -461
- package/src/cli_collaboration_agent.py +0 -697
- package/src/collaboration/hooks.py +0 -315
- package/src/core/__init__.py +0 -21
- package/src/core/ai_environment_scanner.py +0 -331
- package/src/core/base_adapter.py +0 -220
- package/src/core/cli_hook_integration.py +0 -406
- package/src/core/cross_cli_executor.py +0 -713
- package/src/core/cross_cli_mapping.py +0 -1165
- package/src/core/cross_platform_encoding.py +0 -365
- package/src/core/cross_platform_safe_cli.py +0 -894
- package/src/core/direct_cli_executor.py +0 -805
- package/src/core/direct_cli_hook_system.py +0 -958
- package/src/core/enhanced_init_processor.py +0 -467
- package/src/core/graceful_cli_executor.py +0 -912
- package/src/core/md_enhancer.py +0 -342
- package/src/core/md_generator.py +0 -619
- package/src/core/models.py +0 -218
- package/src/core/parser.py +0 -108
- package/src/core/real_cli_hook_system.py +0 -852
- package/src/core/real_cross_cli_system.py +0 -925
- package/src/core/verified_cross_cli_system.py +0 -961
- package/src/deploy.js +0 -737
- package/src/enhanced-main.js +0 -626
- package/src/enhanced_deploy.js +0 -303
- package/src/enhanced_universal_cli_setup.py +0 -930
- package/src/kimi_wrapper.py +0 -104
- package/src/main.js +0 -1309
- package/src/shell_integration.py +0 -398
- package/src/simple-main.js +0 -315
- package/src/smart_router_creator.py +0 -323
- package/src/universal_cli_setup.py +0 -1289
- package/src/utils/__init__.py +0 -12
- package/src/utils/cli_detector.py +0 -445
- package/src/utils/file_utils.py +0 -246
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
独立 Qoder CLI 适配器 - 完全无抽象层
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
import os
|
|
6
|
-
import logging
|
|
7
|
-
import asyncio
|
|
8
|
-
from typing import Dict, Any, Optional
|
|
9
|
-
from datetime import datetime
|
|
10
|
-
|
|
11
|
-
logger = logging.getLogger(__name__)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class StandaloneQoderAdapter:
|
|
15
|
-
"""独立的 Qoder CLI 适配器"""
|
|
16
|
-
|
|
17
|
-
def __init__(self):
|
|
18
|
-
self.cli_name = "qoder"
|
|
19
|
-
self.version = "1.0.0"
|
|
20
|
-
self.execution_count = 0
|
|
21
|
-
self.error_count = 0
|
|
22
|
-
self.last_execution: Optional[datetime] = None
|
|
23
|
-
logger.info("独立 Qoder CLI 适配器初始化完成")
|
|
24
|
-
|
|
25
|
-
def is_available(self) -> bool:
|
|
26
|
-
return True
|
|
27
|
-
|
|
28
|
-
async def execute_task(self, task: str, context: Dict[str, Any] = None) -> str:
|
|
29
|
-
"""执行任务 - 纯实现,无抽象层"""
|
|
30
|
-
try:
|
|
31
|
-
self.execution_count += 1
|
|
32
|
-
self.last_execution = datetime.now()
|
|
33
|
-
return f"[Qoder CLI 本地处理] {task}"
|
|
34
|
-
except Exception as e:
|
|
35
|
-
self.error_count += 1
|
|
36
|
-
return f"[错误] {task} 执行失败: {str(e)}"
|
|
37
|
-
|
|
38
|
-
def get_statistics(self) -> Dict[str, Any]:
|
|
39
|
-
return {
|
|
40
|
-
'cli_name': self.cli_name,
|
|
41
|
-
'version': self.version,
|
|
42
|
-
'design': 'standalone_notification_native',
|
|
43
|
-
'no_abstraction': True
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
def get_standalone_qoder_adapter() -> StandaloneQoderAdapter:
|
|
48
|
-
return StandaloneQoderAdapter()
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Qwen CLI 适配器包
|
|
3
|
-
|
|
4
|
-
基于 Qwen CLI 官方 Class Inheritance 系统的原生集成
|
|
5
|
-
完全无抽象层设计
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
import sys
|
|
9
|
-
import os
|
|
10
|
-
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
|
11
|
-
|
|
12
|
-
from qwencode.standalone_qwencode_adapter import get_standalone_qwencode_adapter, StandaloneQwenCodeAdapter
|
|
13
|
-
|
|
14
|
-
# 向后兼容的别名
|
|
15
|
-
QwenCodeInheritanceAdapter = StandaloneQwenCodeAdapter
|
|
16
|
-
|
|
17
|
-
__all__ = ['StandaloneQwenCodeAdapter', 'get_standalone_qwencode_adapter', 'QwenCodeInheritanceAdapter']
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
QwenCode CLI 适配器包
|
|
3
|
-
|
|
4
|
-
基于 QwenCode CLI 官方 Class Inheritance 系统的原生集成
|
|
5
|
-
完全无抽象层设计
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
from .standalone_qwencode_adapter import get_standalone_qwencode_adapter, StandaloneQwenCodeAdapter
|
|
9
|
-
|
|
10
|
-
# 向后兼容的别名
|
|
11
|
-
QwenCodeInheritanceAdapter = StandaloneQwenCodeAdapter
|
|
12
|
-
|
|
13
|
-
__all__ = ['StandaloneQwenCodeAdapter', 'get_standalone_qwencode_adapter', 'QwenCodeInheritanceAdapter']
|