eve-hub 0.6.15 → 0.6.17
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 +12 -0
- package/memory.mjs +1 -1
- package/package.json +1 -1
- package/world.mjs +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# eve-hub
|
|
2
2
|
|
|
3
|
+
## 0.6.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- A hosted workspace's "Bots updated" line now carries the Vercel page of the deployment that made the move, so the app links to that deployment.
|
|
8
|
+
|
|
9
|
+
## 0.6.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d307c89: Memory entries accept the hosted hub's uppercase thread and message ids as evidence, so a workspace that cites them deploys.
|
|
14
|
+
|
|
3
15
|
## 0.6.15
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/memory.mjs
CHANGED
|
@@ -35,7 +35,7 @@ import { isWorkspace, readWorkspaceFile } from "./workspace.mjs";
|
|
|
35
35
|
export const MEMORY_DIR = "memory";
|
|
36
36
|
export const MAX_RULE_LINES = 3;
|
|
37
37
|
export const ID = /^[a-z][a-z0-9-]{1,60}$/;
|
|
38
|
-
const EVIDENCE = /^(thr_[0-
|
|
38
|
+
const EVIDENCE = /^(thr_[0-9A-Za-z]+\/)?msg_[0-9A-Za-z]+$/;
|
|
39
39
|
const DATE = /^\d{4}-\d{2}-\d{2}$/;
|
|
40
40
|
const STATUSES = new Set(["active", "superseded"]);
|
|
41
41
|
const KEYS = new Set(["id", "status", "since", "evidence", "superseded_by"]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eve-hub",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.17",
|
|
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",
|
package/world.mjs
CHANGED
|
@@ -26783,6 +26783,8 @@ var HostedUpdate = object2({
|
|
|
26783
26783
|
at: maybe(string5()),
|
|
26784
26784
|
/** `updated`: the commit the hub pushed (or redeployed) to move the bots; absent for an upload or a move the hub did not make. */
|
|
26785
26785
|
commit: maybe(string5()),
|
|
26786
|
+
/** `updated`: the Vercel page of the deployment that made the move; absent for a move recorded before it was kept. */
|
|
26787
|
+
deployment: maybe(string5()),
|
|
26786
26788
|
/** `kind`: sign-in (the owner signs in again) | build (`url` is the failed build) | other. */
|
|
26787
26789
|
error: maybe(object2({ kind: string5(), message: string5(), url: maybe(string5()) }))
|
|
26788
26790
|
}).meta({ id: "HostedUpdate" });
|
|
@@ -26933,7 +26935,7 @@ var StoredHosted = HostedWorkspace.omit({ eveHub: true, commits: true, update: t
|
|
|
26933
26935
|
workspace: DeployedWorkspace.nullable().default(null),
|
|
26934
26936
|
attempt: Attempt.nullable().default(null),
|
|
26935
26937
|
upgrade: Upgrade.nullable().default(null),
|
|
26936
|
-
updated: external_exports.object({ to: external_exports.string(), at: external_exports.string(), commit: external_exports.string().nullable().default(null) }).nullable().default(null)
|
|
26938
|
+
updated: external_exports.object({ to: external_exports.string(), at: external_exports.string(), commit: external_exports.string().nullable().default(null), deployment: external_exports.string().nullable().default(null) }).nullable().default(null)
|
|
26937
26939
|
});
|
|
26938
26940
|
var REPO_READ = s("SELECT metadata FROM workspace_repo WHERE id = 1");
|
|
26939
26941
|
|