devduck 1.1.6__tar.gz → 1.2.0__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.
Potentially problematic release.
This version of devduck might be problematic. Click here for more details.
- devduck-1.2.0/.github/workflows/auto-release.yml +85 -0
- {devduck-1.1.6 → devduck-1.2.0}/PKG-INFO +1 -1
- {devduck-1.1.6 → devduck-1.2.0}/devduck/__init__.py +2 -4
- {devduck-1.1.6 → devduck-1.2.0}/devduck/_version.py +3 -3
- devduck-1.2.0/devduck/tools/__init__.py +73 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck.egg-info/PKG-INFO +1 -1
- {devduck-1.1.6 → devduck-1.2.0}/devduck.egg-info/SOURCES.txt +1 -0
- devduck-1.1.6/devduck/tools/__init__.py +0 -47
- {devduck-1.1.6 → devduck-1.2.0}/.github/workflows/agent.yml +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/.gitignore +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/LICENSE +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/MANIFEST.in +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/README.md +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/action.yml +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/agent_runner.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/__main__.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/agentcore_handler.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/test_redduck.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/_ambient_input.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/_tray_app.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/agentcore_agents.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/agentcore_config.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/agentcore_invoke.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/agentcore_logs.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/ambient.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/create_subagent.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/fetch_github_tool.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/install_tools.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/ipc.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/mcp_server.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/scraper.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/speech_to_speech.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/state_manager.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/store_in_kb.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/system_prompt.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/tcp.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/tray.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/use_github.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck/tools/websocket.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck.egg-info/dependency_links.txt +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck.egg-info/entry_points.txt +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck.egg-info/requires.txt +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/devduck.egg-info/top_level.txt +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/docs/index.html +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/docs/mac-os-tray.jpg +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/pyproject.toml +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/requirements.txt +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/setup-aws-oidc.sh +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/setup.cfg +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/test.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/tools/__init__.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/tools/fetch_github_tool.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/tools/gist.py +0 -0
- {devduck-1.1.6 → devduck-1.2.0}/tools/github_tools.py +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
name: Auto Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*.*.*'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
packages: write
|
|
11
|
+
id-token: write
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
auto-release:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- name: Checkout code
|
|
19
|
+
uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
22
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
23
|
+
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v4
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.11"
|
|
28
|
+
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
run: |
|
|
31
|
+
python -m pip install --upgrade pip
|
|
32
|
+
pip install build twine
|
|
33
|
+
|
|
34
|
+
- name: Extract version from tag
|
|
35
|
+
id: get_version
|
|
36
|
+
run: |
|
|
37
|
+
VERSION=${GITHUB_REF#refs/tags/v}
|
|
38
|
+
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
39
|
+
echo "Version: $VERSION"
|
|
40
|
+
|
|
41
|
+
- name: Build package
|
|
42
|
+
run: |
|
|
43
|
+
python -m build
|
|
44
|
+
|
|
45
|
+
- name: Publish to PyPI
|
|
46
|
+
env:
|
|
47
|
+
TWINE_USERNAME: __token__
|
|
48
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
|
49
|
+
run: |
|
|
50
|
+
twine upload dist/*
|
|
51
|
+
|
|
52
|
+
- name: Create GitHub Release
|
|
53
|
+
uses: actions/create-release@v1
|
|
54
|
+
env:
|
|
55
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
56
|
+
with:
|
|
57
|
+
tag_name: ${{ github.ref }}
|
|
58
|
+
release_name: devduck v${{ steps.get_version.outputs.version }}
|
|
59
|
+
body: |
|
|
60
|
+
## 🦆 devduck v${{ steps.get_version.outputs.version }}
|
|
61
|
+
|
|
62
|
+
### 📦 Installation
|
|
63
|
+
```bash
|
|
64
|
+
pip install devduck==${{ steps.get_version.outputs.version }}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 🔄 Upgrade
|
|
68
|
+
```bash
|
|
69
|
+
pip install --upgrade devduck
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### 📋 Changes
|
|
73
|
+
This release includes the latest changes tagged as v${{ steps.get_version.outputs.version }}.
|
|
74
|
+
|
|
75
|
+
**Full Changelog**: https://github.com/cagataycali/devduck/releases
|
|
76
|
+
draft: false
|
|
77
|
+
prerelease: false
|
|
78
|
+
|
|
79
|
+
- name: Summary
|
|
80
|
+
run: |
|
|
81
|
+
echo "## 🎉 Release Summary" >> $GITHUB_STEP_SUMMARY
|
|
82
|
+
echo "" >> $GITHUB_STEP_SUMMARY
|
|
83
|
+
echo "- **Version:** v${{ steps.get_version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
|
84
|
+
echo "- **PyPI:** https://pypi.org/project/devduck/${{ steps.get_version.outputs.version }}/" >> $GITHUB_STEP_SUMMARY
|
|
85
|
+
echo "- **GitHub Release:** https://github.com/cagataycali/devduck/releases/tag/v${{ steps.get_version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
|
@@ -687,8 +687,6 @@ class DevDuck:
|
|
|
687
687
|
server_tools_needed = []
|
|
688
688
|
if servers.get("tcp", {}).get("enabled", False):
|
|
689
689
|
server_tools_needed.append("tcp")
|
|
690
|
-
if servers.get("ws", {}).get("enabled", True):
|
|
691
|
-
server_tools_needed.append("websocket")
|
|
692
690
|
if servers.get("mcp", {}).get("enabled", False):
|
|
693
691
|
server_tools_needed.append("mcp_server")
|
|
694
692
|
if servers.get("ipc", {}).get("enabled", False):
|
|
@@ -697,11 +695,11 @@ class DevDuck:
|
|
|
697
695
|
# Append to default tools if any server tools are needed
|
|
698
696
|
if server_tools_needed:
|
|
699
697
|
server_tools_str = ",".join(server_tools_needed)
|
|
700
|
-
default_tools = f"devduck.tools:system_prompt,fetch_github_tool,{server_tools_str};strands_tools:shell"
|
|
698
|
+
default_tools = f"devduck.tools:system_prompt,fetch_github_tool,websocket,{server_tools_str};strands_tools:shell"
|
|
701
699
|
logger.info(f"Auto-added server tools: {server_tools_str}")
|
|
702
700
|
else:
|
|
703
701
|
default_tools = (
|
|
704
|
-
"devduck.tools:system_prompt,fetch_github_tool;strands_tools:shell"
|
|
702
|
+
"devduck.tools:system_prompt,fetch_github_tool,websocket;strands_tools:shell"
|
|
705
703
|
)
|
|
706
704
|
|
|
707
705
|
tools_config = os.getenv("DEVDUCK_TOOLS", default_tools)
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.
|
|
32
|
-
__version_tuple__ = version_tuple = (1,
|
|
31
|
+
__version__ = version = '1.2.0'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 2, 0)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'gb45b2cfc7'
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""
|
|
2
|
+
DevDuck Tools Package
|
|
3
|
+
|
|
4
|
+
This module exports all available tools for devduck.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .agentcore_agents import agentcore_agents
|
|
8
|
+
from .agentcore_config import agentcore_config
|
|
9
|
+
from .agentcore_invoke import agentcore_invoke
|
|
10
|
+
from .agentcore_logs import agentcore_logs
|
|
11
|
+
from .ambient import ambient
|
|
12
|
+
from .create_subagent import create_subagent
|
|
13
|
+
from .fetch_github_tool import fetch_github_tool
|
|
14
|
+
from .install_tools import install_tools
|
|
15
|
+
from .ipc import ipc
|
|
16
|
+
from .mcp_server import mcp_server
|
|
17
|
+
from .scraper import scraper
|
|
18
|
+
from .state_manager import state_manager
|
|
19
|
+
from .store_in_kb import store_in_kb
|
|
20
|
+
from .system_prompt import system_prompt
|
|
21
|
+
from .tcp import tcp
|
|
22
|
+
from .tray import tray
|
|
23
|
+
from .use_github import use_github
|
|
24
|
+
from .websocket import websocket
|
|
25
|
+
|
|
26
|
+
# Optional Tools
|
|
27
|
+
try:
|
|
28
|
+
from .speech_to_speech import speech_to_speech
|
|
29
|
+
|
|
30
|
+
__all__ = [
|
|
31
|
+
"agentcore_agents",
|
|
32
|
+
"agentcore_config",
|
|
33
|
+
"agentcore_invoke",
|
|
34
|
+
"agentcore_logs",
|
|
35
|
+
"ambient",
|
|
36
|
+
"create_subagent",
|
|
37
|
+
"fetch_github_tool",
|
|
38
|
+
"install_tools",
|
|
39
|
+
"ipc",
|
|
40
|
+
"mcp_server",
|
|
41
|
+
"scraper",
|
|
42
|
+
"speech_to_speech",
|
|
43
|
+
"state_manager",
|
|
44
|
+
"store_in_kb",
|
|
45
|
+
"system_prompt",
|
|
46
|
+
"tcp",
|
|
47
|
+
"tray",
|
|
48
|
+
"use_github",
|
|
49
|
+
"websocket",
|
|
50
|
+
]
|
|
51
|
+
except ImportError:
|
|
52
|
+
__all__ = [
|
|
53
|
+
"agentcore_agents",
|
|
54
|
+
"agentcore_config",
|
|
55
|
+
"agentcore_invoke",
|
|
56
|
+
"agentcore_logs",
|
|
57
|
+
"ambient",
|
|
58
|
+
"create_subagent",
|
|
59
|
+
"fetch_github_tool",
|
|
60
|
+
"install_tools",
|
|
61
|
+
"ipc",
|
|
62
|
+
"mcp_server",
|
|
63
|
+
"scraper",
|
|
64
|
+
"state_manager",
|
|
65
|
+
"store_in_kb",
|
|
66
|
+
"system_prompt",
|
|
67
|
+
"tcp",
|
|
68
|
+
"tray",
|
|
69
|
+
"use_github",
|
|
70
|
+
"websocket",
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
DevDuck Tools Package
|
|
3
|
-
|
|
4
|
-
This module exports all available tools for devduck.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from .agentcore_agents import agentcore_agents
|
|
8
|
-
from .agentcore_config import agentcore_config
|
|
9
|
-
from .agentcore_invoke import agentcore_invoke
|
|
10
|
-
from .agentcore_logs import agentcore_logs
|
|
11
|
-
from .ambient import ambient
|
|
12
|
-
from .create_subagent import create_subagent
|
|
13
|
-
from .fetch_github_tool import fetch_github_tool
|
|
14
|
-
from .install_tools import install_tools
|
|
15
|
-
from .ipc import ipc
|
|
16
|
-
from .mcp_server import mcp_server
|
|
17
|
-
from .scraper import scraper
|
|
18
|
-
from .speech_to_speech import speech_to_speech
|
|
19
|
-
from .state_manager import state_manager
|
|
20
|
-
from .store_in_kb import store_in_kb
|
|
21
|
-
from .system_prompt import system_prompt
|
|
22
|
-
from .tcp import tcp
|
|
23
|
-
from .tray import tray
|
|
24
|
-
from .use_github import use_github
|
|
25
|
-
from .websocket import websocket
|
|
26
|
-
|
|
27
|
-
__all__ = [
|
|
28
|
-
"agentcore_agents",
|
|
29
|
-
"agentcore_config",
|
|
30
|
-
"agentcore_invoke",
|
|
31
|
-
"agentcore_logs",
|
|
32
|
-
"ambient",
|
|
33
|
-
"create_subagent",
|
|
34
|
-
"fetch_github_tool",
|
|
35
|
-
"install_tools",
|
|
36
|
-
"ipc",
|
|
37
|
-
"mcp_server",
|
|
38
|
-
"scraper",
|
|
39
|
-
"speech_to_speech",
|
|
40
|
-
"state_manager",
|
|
41
|
-
"store_in_kb",
|
|
42
|
-
"system_prompt",
|
|
43
|
-
"tcp",
|
|
44
|
-
"tray",
|
|
45
|
-
"use_github",
|
|
46
|
-
"websocket",
|
|
47
|
-
]
|
|
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
|
|
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
|