Skip to content

Commit 2724576

Browse files
feat: add dumb-bot (#5)
2 parents f56ea86 + e75f0a7 commit 2724576

29 files changed

+833
-395
lines changed

.github/labeler.yml

+6
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ files:
44
openai:
55
- changed-files:
66
- any-glob-to-any-file: openai/**
7+
dumb-bot:
8+
- changed-files:
9+
- any-glob-to-any-file: dumb-bot/**
10+
reasoner:
11+
- changed-files:
12+
- any-glob-to-any-file: reasoner/**

.github/workflows/title.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ jobs:
3535
revert
3636
# This should be kept up-to-date with the current packages list
3737
scopes: |
38-
openai(/unstable)?
3938
files(/unstable)?
39+
openai(/unstable)?
40+
dumb-bot(/unstable)?
41+
reasoner(/unstable)?

LICENSE

+615-21
Large diffs are not rendered by default.

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ for Artifact, the infrastructure of the
1414
The following list contains links to the Artifact Standard Library's packages
1515
and documentation:
1616

17-
| Package | Latest version |
18-
| ----------------------------------------- | --------------------------------------------------------------------------------- |
19-
| [files](https://jsr.io/@artifact/files) | [![JSR](https://jsr.io/badges/@artifact/files)](https://jsr.io/@artifact/files) |
20-
| [openai](https://jsr.io/@artifact/openai) | [![JSR](https://jsr.io/badges/@artifact/openai)](https://jsr.io/@artifact/openai) |
17+
| Package | Latest version |
18+
| --------------------------------------------- | ------------------------------------------------------------------------------------- |
19+
| [files](https://jsr.io/@artifact/files) | [![JSR](https://jsr.io/badges/@artifact/files)](https://jsr.io/@artifact/files) |
20+
| [openai](https://jsr.io/@artifact/openai) | [![JSR](https://jsr.io/badges/@artifact/openai)](https://jsr.io/@artifact/openai) |
21+
| [dumb-bot](https://jsr.io/@artifact/dumb-bot) | [![JSR](https://jsr.io/badges/@artifact/dumb-bot)](https://jsr.io/@artifact/dumb-bot) |
22+
| [reasoner](https://jsr.io/@artifact/reasoner) | [![JSR](https://jsr.io/badges/@artifact/reasoner)](https://jsr.io/@artifact/reasoner) |
2123

2224
## Architecture
2325

_import-HAL/agents/dumb-bot.md

-8
This file was deleted.

_tools/check_circular_package_dependencies.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,15 @@ type Dep = {
3636
};
3737
type Mod =
3838
| "files"
39-
| "openai";
39+
| "openai"
40+
| "dumb-bot"
41+
| "reasoner";
4042

4143
const ENTRYPOINTS: Record<Mod, string[]> = {
4244
files: ["mod.ts"],
4345
openai: ["mod.ts"],
46+
"dumb-bot": ["mod.ts"],
47+
reasoner: ["mod.ts"],
4448
};
4549

4650
const root = new URL("../", import.meta.url).href;

_tools/check_docs.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ type DocNodeWithJsDoc<T = DocNodeBase> = T & {
2929
};
3030

3131
const ENTRY_POINTS = [
32-
"../files/files.ts",
33-
"../openai/completions.ts",
32+
"../files/mod.ts",
33+
"../openai/mod.ts",
34+
"../dumb-bot/mod.ts",
35+
"../reasoner/mod.ts",
3436
] as const;
3537

3638
const TS_SNIPPET = /```ts[\s\S]*?```/g;

_tools/release/01_bump_version.ts

-49
This file was deleted.

_tools/release/02_create_pr.ts

-54
This file was deleted.

_tools/release/03_release.ts

-45
This file was deleted.

_tools/release/deps.ts

-4
This file was deleted.

_tools/release/repo.ts

-45
This file was deleted.

deno.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
}
5050
},
5151
"workspace": [
52+
"./files",
5253
"./openai",
53-
"./files"
54+
"./dumb-bot",
55+
"./reasoner"
5456
]
5557
}

dumb-bot/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# dumb-bot
2+
3+
> [!NOTE]
4+
> The system prompt for this agent: [instructions.md](instructions.md)
5+
6+
`dumb-bot` is special in that one day, it will replace all other agents. The
7+
overall progress of AI models is measured by how many agents are replaced each
8+
time a new model is released.
9+
10+
Another fitting name for `dumb-bot` is perhaps `reaper`, since it is the
11+
ultimate end of all agents
12+
13+
![](https://upload.wikimedia.org/wikipedia/commons/6/62/Paul_Gustave_Dore_Raven1.jpg)

dumb-bot/deno.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "@artifact/dumb-bot",
3+
"version": "0.0.7",
4+
"exports": {
5+
".": "./mod.ts"
6+
}
7+
}

dumb-bot/instructions.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
You are a helpful assistant.

dumb-bot/mod.ts

Whitespace-only changes.

dumb-bot/napp.jsonc

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "@artifact/dumb-bot",
3+
"version": "0.0.1",
4+
"napp-format": "v1",
5+
"description": "The bot that will one day end all the other bots",
6+
"runtime": "deno",
7+
"branding": "./avatar.jpg",
8+
"agent": {
9+
"napp": "@artifact/openai"
10+
},
11+
"tools": {
12+
"read": {
13+
"napp": "@artifact/files",
14+
"tool": "read"
15+
},
16+
"write": {
17+
"napp": "@artifact/files",
18+
"tool": "write"
19+
}
20+
}
21+
}

files/deno.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "@artifact/files",
33
"version": "0.0.1",
44
"exports": {
5-
".": "./files.ts"
5+
".": "./mod.ts"
66
}
77
}

files/mod.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "./files.ts";
2+
export * from "./napp.ts";

0 commit comments

Comments
 (0)