eve-hub 0.6.2 → 0.6.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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# eve-hub
|
|
2
2
|
|
|
3
|
+
## 0.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- A hosted bot's execution-context prompt says memory is built into each deployment: an entry takes effect when the deployment that contains it is live, not on the next turn, and with no repository it cannot last. Hosted main's page says how to add one (commit the file to the workspace repo, or write nothing and tell the human to link one). The "Changing it" line says `git` and `gh` are already signed in and sign as the owner, and not to set an author, only when the build has a `GITHUB_TOKEN`; otherwise it says the shell cannot push.
|
|
8
|
+
|
|
3
9
|
## 0.6.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/execution-context.mjs
CHANGED
|
@@ -33,6 +33,7 @@ export function deploymentFacts(env = process.env) {
|
|
|
33
33
|
repo,
|
|
34
34
|
branch: env.VERCEL_GIT_COMMIT_REF,
|
|
35
35
|
sha: env.VERCEL_GIT_COMMIT_SHA,
|
|
36
|
+
githubToken: Boolean(env.GITHUB_TOKEN),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
|
|
@@ -57,8 +58,9 @@ export function hostedContext({ bot, roster, kit, removed, deployment: d }, opti
|
|
|
57
58
|
].filter(Boolean).join(", ") || "no Vercel facts were available to this build"}. Each bot is its own service at \`/eve/<name>\` in that one project.`,
|
|
58
59
|
`- **Source:** ${d.repo ? `built from \`${d.repo}\`${d.branch ? ` on \`${d.branch}\`` : ""}${d.sha ? ` at commit \`${d.sha}\`` : ""}` : "no git repository: the hub uploaded these files"}. You are made of files in it: \`agents/${bot}/\`, \`memory/\` and \`hub.workspace.json\`.`,
|
|
59
60
|
d.repo
|
|
60
|
-
?
|
|
61
|
+
? `- **Changing it:** commit to that repository; Vercel builds and deploys the commit. ${d.githubToken ? "`git` and `gh` in your shell are already signed in and set to sign commits as the owner; do not set your own author or identity, or GitHub rejects the push." : "No GitHub credential is set up in your shell, so you cannot push."}`
|
|
61
62
|
: "- **Changing it:** there is no repository to commit to. The hub replaces these files on its next deploy, so an edit made only in this deployment does not last.",
|
|
63
|
+
"- **Memory:** the standing decisions you recall are the `memory/` and `agents/<bot>/memory/` files, built into each deployment. An entry takes effect when the deployment that contains it is live, not on your next turn; with no repository it cannot last.",
|
|
62
64
|
"- **Limits:** there is no `hub` CLI, you cannot restart yourself or any bot, and there are no host paths: your shell is a Vercel Sandbox with its own filesystem, not the owner's machine.",
|
|
63
65
|
`- **Kit tools this build removed:** ${removed.length ? list(removed) : "none"}. They need the hub's machine, or change the roster, which a deployment does by commit.`,
|
|
64
66
|
`- **Logs:** ${dashboard ? `[runtime logs](${dashboard}/logs)${d.deployment ? ` and [this deployment](${dashboard}/${d.deployment.replace(/^dpl_/, "")})` : ""} in the Vercel dashboard` : "the Vercel project's runtime logs in the dashboard"}.`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eve-hub",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Bot-side code shared by every hub agent: registry tools, the roster hook, the eve channel, the host sandbox and browser, and model helpers.",
|
|
6
6
|
"type": "module",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
- **Team.** There is no `create_agent` or `remove_agent`: the roster is `hub.workspace.json`, and a deployment changes it by commit. If nobody on the team covers the work well, ask the human before going on.
|
|
2
2
|
- **Restarts.** There is no `restart_agent` or `restart_hub`: you cannot restart a bot or the hub. A new deployment replaces the running bots.
|
|
3
|
-
- **Memory.**
|
|
3
|
+
- **Memory.** Add an entry as your Memory section says, by committing the file to the workspace repository (see Changing it above). With no repository, write nothing and tell the human to link one first.
|
|
4
4
|
- **Schedules.** The build removes the kit's schedules (`dash`, `compact`, `prune`), so no classifier runs, no tick posts, and nothing rewrites track summaries. What you write with `set_summary` and `dash_update` stands until you change it.
|