eve-hub 0.16.265 → 0.16.266
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.md +1 -1
- package/hub/functions/.well-known/workflow/v1/flow.func/hub/hub.mjs +120 -58
- package/hub/functions/api/index.func/api/index.mjs +120 -58
- package/hub-shared/functions/.well-known/workflow/v1/flow.func/hub/hub.mjs +120 -58
- package/hub-shared/functions/api/index.func/api/index.mjs +120 -58
- package/kit-modules.json +1 -0
- package/package.json +1 -1
- package/stubs.mjs +2 -1
- package/tools/update_agent.d.ts +24 -0
- package/tools/update_agent.js +24 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ The bot-side code every hub agent shares (milestone M3 in [`docs/architecture`](
|
|
|
5
5
|
| Module | What it is | Bots use it as |
|
|
6
6
|
|---|---|---|
|
|
7
7
|
| `tools/update_thread.ts`, `list_threads.ts`, `read_thread.ts`, `react.ts`, `show.ts`, `browser.ts` | Registry and workspace tools (`defineTool`) | `agent/tools/<same name>.ts` |
|
|
8
|
-
| `tools/create_thread.ts`, `post_message.ts`, `archive_thread.ts`, `unarchive_thread.ts`, `list_agents.ts`, `create_agent.ts`, `remove_agent.ts`, `restart_agent.ts`, `tag_threads.ts`, `apply_tags.ts` | The orchestrator's tools | `main`'s `agent/tools/<same name>.ts` |
|
|
8
|
+
| `tools/create_thread.ts`, `post_message.ts`, `archive_thread.ts`, `unarchive_thread.ts`, `list_agents.ts`, `create_agent.ts`, `remove_agent.ts`, `update_agent.ts`, `restart_agent.ts`, `tag_threads.ts`, `apply_tags.ts` | The orchestrator's tools | `main`'s `agent/tools/<same name>.ts` |
|
|
9
9
|
| `hooks/sandbox.ts` | Migrates legacy Docker sessions to the host sandbox (`defineHook`) | `agent/hooks/sandbox.ts` |
|
|
10
10
|
| `instructions/main.ts`, `main-instructions.mjs` | main's instructions (`defineInstructions`), rendered at build time from the kit's `templates/main-instructions.md` (identity, role) between the shared templates, each in its own tag, so no workspace carries a copy | `main`'s `agent/instructions.ts`; workspace-only additions in `agent/role/*.md` (inside `<role>`) |
|
|
11
11
|
| `instructions.ts` (`botInstructions`) | Every other bot's whole prompt, in order: its identity (`You are **name**. <role>`, from its `hub.workspace.json` entry), the shared sections (`templates/team.md`, `execution.md`, `delegation.md` only when the entry declares `subagents`, `engineering.md`, `deliveries.md`, `reaching-others.md`, `writing.md`, each in its tag) and its `role.md` in `<role>` (left out when empty) | every other bot's `agent/instructions.ts` and `agent/role.md`, which holds only how the bot works. `instructions/protocol.ts` (the shared sections alone, appended after the bot's own `instructions.md`) is the older layout, kept for a workspace that hasn't moved |
|