eve-hub 0.5.2 → 0.5.3
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/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/artifacts/types/explainer-assets.gen.mjs +1 -1
- package/channels/eve-roster-user.d.ts +1 -1
- package/connections/vercel-kit.d.ts +1 -1
- package/hooks/mention-gate.d.ts +1 -1
- package/hooks/sandbox.d.ts +1 -1
- package/host-sandbox.d.ts +16 -4
- package/instructions/main.d.ts +3 -1
- package/instructions/protocol.d.ts +3 -1
- package/memory/bot.d.ts +16 -1
- package/memory/workspace.d.ts +16 -1
- package/package.json +2 -2
- package/schedules/classify.d.ts +4 -1
- package/schedules/compact.d.ts +4 -1
- package/schedules/dash.d.ts +4 -1
- package/schedules/hub.d.mts +26 -0
- package/schedules/hub.mjs +2 -2
- package/schedules/prune.d.ts +4 -1
- package/schedules/tracks.d.ts +4 -1
- package/tools/agent_send.d.ts +15 -1
- package/tools/apply_tags.d.ts +41 -1
- package/tools/archive_thread.d.ts +25 -1
- package/tools/artifact_list.d.ts +27 -1
- package/tools/artifact_publish.d.ts +17 -1
- package/tools/artifact_status.d.ts +25 -1
- package/tools/attach_image.d.ts +15 -1
- package/tools/bash.d.ts +16 -1
- package/tools/browser.d.ts +17 -1
- package/tools/create_agent.d.ts +25 -1
- package/tools/create_thread.d.ts +29 -1
- package/tools/dash_update.d.ts +29 -1
- package/tools/disabled.d.ts +1 -1
- package/tools/list_agents.d.ts +59 -1
- package/tools/list_threads.d.ts +23 -1
- package/tools/move_path.d.ts +9 -1
- package/tools/post_message.d.ts +33 -1
- package/tools/react.d.ts +13 -1
- package/tools/read_thread.d.ts +14 -2
- package/tools/remove_agent.d.ts +13 -1
- package/tools/rename_thread.d.ts +21 -1
- package/tools/restart_agent.d.ts +11 -1
- package/tools/restart_hub.d.ts +9 -1
- package/tools/set_summary.d.ts +9 -1
- package/tools/show.d.ts +17 -1
- package/tools/tag_threads.d.ts +45 -1
- package/tools/unarchive_thread.d.ts +15 -1
- package/tools/view_image.d.ts +42 -2
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -52,13 +52,13 @@ A bot's role is enforced by its files as well as its prose. `create_agent`'s `pr
|
|
|
52
52
|
3. The stubs use the specifiers the `exports` map serves (`eve-hub/tools/x`, `eve-hub/host-sandbox`, `eve-hub/roster-model`, …).
|
|
53
53
|
4. `eve` and `zod` are peer dependencies. eve's bundler resolves the kit to its realpath, so the kit's own `eve` imports come from hub's install. When the workspace's eve is linked to hub's, that's one eve (verified with eve 0.69).
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Add a changeset (`pnpm changeset`, pick `eve-hub`) when a tool's name, schema, or description, the hook's events, or the channel config changes; the release bumps `version` from it. Hub records each agent's kit version and accepts N and N−1 (D0/D12).
|
|
56
56
|
|
|
57
57
|
## Published package (deployed workspaces)
|
|
58
58
|
|
|
59
59
|
A deployed workspace (`node scripts/workspace-template.mjs <dir>`, lib/workspace-template.mjs) has no hub checkout to link, so it installs the kit from npm, published as [`eve-hub`](https://www.npmjs.com/package/eve-hub): `"eve-hub": "<version>"`. `node packages/agent-kit/scripts/pack.mjs <outDir>` builds the package: every `.ts` module compiled to `.js` + `.d.ts` in place (node won't strip types under `node_modules`), the `exports` map pointed at them, and `templates/` included.
|
|
60
60
|
|
|
61
|
-
`.github/workflows/
|
|
61
|
+
Releases go through Changesets, as in eve. A PR that changes the kit adds a changeset (`pnpm changeset`); when it merges, `.github/workflows/release.yml` bumps `version`, writes CHANGELOG.md, commits both to main and runs `changeset publish`: the kit's `prepack` stages the package into `dist/npm` (its `publishConfig.directory`), npm gets it, and the `eve-hub@<version>` GitHub release is created. npm auth is the repo's `NPM_TOKEN` secret (an npm automation token). The template pins the version this checkout carries.
|
|
62
62
|
|
|
63
63
|
The template's main gets a Vercel Sandbox and only the kit stubs that run without the hub's machine (lib/workspace-template.mjs `DEPLOYED_KIT_FILES`; eve's own bash replaces the kit's). The published tarball (`scripts/pack.mjs`) leaves out the kit__worker extension, which mounts only on the hub's machine. The hub reaches each bot's eve channel with `Authorization: Bearer $BOT_TOKEN` (`bot-token.mjs`); the kit's calls to the hub (`registry-fetch.mjs`, at `ROSTER_REGISTRY_URL`) carry `Authorization: Bearer $HUB_TOKEN` and, since the hosted hub keeps Vercel Authentication on, `x-vercel-protection-bypass: $HUB_PROTECTION_BYPASS` (the hub project's automation bypass secret), each when set.
|
|
64
64
|
|