Skip to content

Commit 9414776

Browse files
committed
misc
1 parent 684b766 commit 9414776

26 files changed

+393
-533
lines changed

.github/workflows/publish.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Python
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: '3.x'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install poetry
20+
- name: Build and publish
21+
env:
22+
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
23+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24+
run: |
25+
poetry config pypi-token.pypi $PYPI_PASSWORD
26+
poetry build
27+
poetry publish

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) [2024] [Will Beebe]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

data/tools.yaml

Lines changed: 0 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,3 @@
1-
- name: generate_video_title
2-
description: Generate a title for a YouTube video
3-
parameter_schema:
4-
type: object
5-
properties:
6-
topic:
7-
type: string
8-
description: The main topic or subject of the video
9-
keywords:
10-
type: array
11-
items:
12-
type: string
13-
description: Related keywords for the video
14-
required:
15-
- topic
16-
- keywords
17-
18-
- name: orc_ask_agent
19-
description: Asks other agents for answwers
20-
parameter_schema:
21-
type: object
22-
properties:
23-
prompt:
24-
type: string
25-
description: The prompt to ask the other agent.
26-
agent_type:
27-
type: string
28-
description: The agents types available to help. They can help with news queries, questions about stock prices, and questions about the current weather. These enums are the only ones you can return.
29-
enum:
30-
- news
31-
- stocks
32-
- weather
33-
required:
34-
- prompt
35-
- agent
36-
371
- name: send_email
382
description: Help drafting email and send the email
393
parameter_schema:
@@ -166,21 +130,6 @@
166130
properties: {}
167131
required: []
168132

169-
# - name: update_file
170-
# description: "Takes file contents and path as an argument and can update a file with them."
171-
# parameter_schema:
172-
# type: object
173-
# properties:
174-
# path:
175-
# type: string
176-
# description: The full path of the file to update, including the project directory.
177-
# content:
178-
# type: string
179-
# description: The contents of the file to update
180-
# required:
181-
# - path
182-
# - content
183-
184133
- name: file_write
185134
description: Writes a file to disk.
186135
parameter_schema:
@@ -308,18 +257,6 @@
308257
required:
309258
- directory
310259

311-
# eventually
312-
# - name: install_npm_package
313-
# description: Install an npm package
314-
# parameter_schema:
315-
# type: object
316-
# properties:
317-
# directory:
318-
# type: string
319-
# description: The name of the directory to create
320-
# required:
321-
# - directory
322-
323260
- name: run_npx_command
324261
description: Run a npx command in a given directory.
325262
parameter_schema:
@@ -427,63 +364,3 @@
427364
description: Artifact data, usually the file contents.
428365
required:
429366
- data
430-
- name: web_browse
431-
description: >
432-
Retrieves the content of a specified web page as raw text. This tool is useful for
433-
gathering detailed information from a known URL. It can be used to:
434-
- Read articles or blog posts
435-
- Analyze the content of specific web pages
436-
- Extract information from documentation or reference pages
437-
- Verify information claimed to be on a particular webpage
438-
Note: This tool does not render JavaScript or handle dynamic content. It returns
439-
the static HTML content of the page, converted to plain text. Be aware that some
440-
websites may block automated access, potentially resulting in incomplete or
441-
error responses.
442-
parameter_schema:
443-
type: object
444-
properties:
445-
url:
446-
type: string
447-
description: The full URL of the web page to visit, including the protocol (e.g., "https://www.example.com").
448-
required:
449-
- url
450-
451-
- name: web_search
452-
description: >
453-
Performs a web search using the provided query and returns relevant results. This tool
454-
is designed to find information across the internet based on keywords or questions.
455-
It's particularly useful for:
456-
- Gathering general information on a topic
457-
- Finding recent news or updates
458-
- Discovering multiple perspectives on a subject
459-
- Locating specific facts or answers to questions
460-
The search results typically include titles, snippets, and URLs of relevant web pages.
461-
Use this tool when you need broad information or don't have a specific URL in mind.
462-
For focused research, consider using the results to identify specific URLs, then use
463-
the web_browse tool to gather more detailed content from those pages.
464-
parameter_schema:
465-
type: object
466-
properties:
467-
query:
468-
type: string
469-
description: The search query string. This can be keywords, phrases, or questions. More specific queries tend to yield more relevant results.
470-
num_results:
471-
type: integer
472-
description: The number of search results to return. Higher values provide more comprehensive results but may increase processing time. Values typically range from 1 to 50.
473-
default: 5
474-
language:
475-
type: string
476-
description: The language code for the search results (e.g., "en" for English, "es" for Spanish). This affects both the language of the search results and potentially the regional focus of the search.
477-
default: "en"
478-
safe_search:
479-
type: boolean
480-
description: When true, excludes explicit or adult content from the search results. Set to false only when searching for content that may include adult themes.
481-
default: true
482-
site_restrict:
483-
type: string
484-
description: Limits the search to a specific website or domain. Use this to focus your search on a particular source. Format should be a domain name, e.g., "wikipedia.org" or "nytimes.com".
485-
time_range:
486-
type: string
487-
description: Filters results to a specific time period. Options typically include "past_day", "past_week", "past_month", "past_year". Leave empty for no time restriction. Useful for finding recent information or historical context.
488-
required:
489-
- query
File renamed without changes.

0 commit comments

Comments
 (0)