Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dumb-bot #5

Merged
merged 6 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ files:
openai:
- changed-files:
- any-glob-to-any-file: openai/**
dumb-bot:
- changed-files:
- any-glob-to-any-file: dumb-bot/**
reasoner:
- changed-files:
- any-glob-to-any-file: reasoner/**
4 changes: 3 additions & 1 deletion .github/workflows/title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ jobs:
revert
# This should be kept up-to-date with the current packages list
scopes: |
openai(/unstable)?
files(/unstable)?
openai(/unstable)?
dumb-bot(/unstable)?
reasoner(/unstable)?
636 changes: 615 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ for Artifact, the infrastructure of the
The following list contains links to the Artifact Standard Library's packages
and documentation:

| Package | Latest version |
| ----------------------------------------- | --------------------------------------------------------------------------------- |
| [files](https://jsr.io/@artifact/files) | [![JSR](https://jsr.io/badges/@artifact/files)](https://jsr.io/@artifact/files) |
| [openai](https://jsr.io/@artifact/openai) | [![JSR](https://jsr.io/badges/@artifact/openai)](https://jsr.io/@artifact/openai) |
| Package | Latest version |
| --------------------------------------------- | ------------------------------------------------------------------------------------- |
| [files](https://jsr.io/@artifact/files) | [![JSR](https://jsr.io/badges/@artifact/files)](https://jsr.io/@artifact/files) |
| [openai](https://jsr.io/@artifact/openai) | [![JSR](https://jsr.io/badges/@artifact/openai)](https://jsr.io/@artifact/openai) |
| [dumb-bot](https://jsr.io/@artifact/dumb-bot) | [![JSR](https://jsr.io/badges/@artifact/dumb-bot)](https://jsr.io/@artifact/dumb-bot) |
| [reasoner](https://jsr.io/@artifact/reasoner) | [![JSR](https://jsr.io/badges/@artifact/reasoner)](https://jsr.io/@artifact/reasoner) |

## Architecture

Expand Down
8 changes: 0 additions & 8 deletions _import-HAL/agents/dumb-bot.md

This file was deleted.

6 changes: 5 additions & 1 deletion _tools/check_circular_package_dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@ type Dep = {
};
type Mod =
| "files"
| "openai";
| "openai"
| "dumb-bot"
| "reasoner";

const ENTRYPOINTS: Record<Mod, string[]> = {
files: ["mod.ts"],
openai: ["mod.ts"],
"dumb-bot": ["mod.ts"],
reasoner: ["mod.ts"],
};

const root = new URL("../", import.meta.url).href;
Expand Down
6 changes: 4 additions & 2 deletions _tools/check_docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ type DocNodeWithJsDoc<T = DocNodeBase> = T & {
};

const ENTRY_POINTS = [
"../files/files.ts",
"../openai/completions.ts",
"../files/mod.ts",
"../openai/mod.ts",
"../dumb-bot/mod.ts",
"../reasoner/mod.ts",
] as const;

const TS_SNIPPET = /```ts[\s\S]*?```/g;
Expand Down
49 changes: 0 additions & 49 deletions _tools/release/01_bump_version.ts

This file was deleted.

54 changes: 0 additions & 54 deletions _tools/release/02_create_pr.ts

This file was deleted.

45 changes: 0 additions & 45 deletions _tools/release/03_release.ts

This file was deleted.

4 changes: 0 additions & 4 deletions _tools/release/deps.ts

This file was deleted.

45 changes: 0 additions & 45 deletions _tools/release/repo.ts

This file was deleted.

4 changes: 3 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
}
},
"workspace": [
"./files",
"./openai",
"./files"
"./dumb-bot",
"./reasoner"
]
}
13 changes: 13 additions & 0 deletions dumb-bot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# dumb-bot

> [!NOTE]
> The system prompt for this agent: [instructions.md](instructions.md)

`dumb-bot` is special in that one day, it will replace all other agents. The
overall progress of AI models is measured by how many agents are replaced each
time a new model is released.

Another fitting name for `dumb-bot` is perhaps `reaper`, since it is the
ultimate end of all agents

![](https://upload.wikimedia.org/wikipedia/commons/6/62/Paul_Gustave_Dore_Raven1.jpg)
7 changes: 7 additions & 0 deletions dumb-bot/deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "@artifact/dumb-bot",
"version": "0.0.7",
"exports": {
".": "./mod.ts"
}
}
1 change: 1 addition & 0 deletions dumb-bot/instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
You are a helpful assistant.
Empty file added dumb-bot/mod.ts
Empty file.
21 changes: 21 additions & 0 deletions dumb-bot/napp.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@artifact/dumb-bot",
"version": "0.0.1",
"napp-format": "v1",
"description": "The bot that will one day end all the other bots",
"runtime": "deno",
"branding": "./avatar.jpg",
"agent": {
"napp": "@artifact/openai"
},
"tools": {
"read": {
"napp": "@artifact/files",
"tool": "read"
},
"write": {
"napp": "@artifact/files",
"tool": "write"
}
}
}
2 changes: 1 addition & 1 deletion files/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "@artifact/files",
"version": "0.0.1",
"exports": {
".": "./files.ts"
".": "./mod.ts"
}
}
2 changes: 2 additions & 0 deletions files/mod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./files.ts";
export * from "./napp.ts";
Loading