eve-hub 0.16.35 → 0.16.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eve-hub",
3
- "version": "0.16.35",
3
+ "version": "0.16.36",
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",
@@ -131,7 +131,7 @@ function decode(path) {
131
131
  }
132
132
  export const artifactInput = z.object({
133
133
  kind: z.enum(["walkthrough", "sitrep", "plan", "review", "pr", "decision", "doc"]).describe("What the artifact is."),
134
- title: z.string().min(1).max(80).describe("Names the thing, at most 80 characters, e.g. 'First-sync walk-through'. The same kind and title replaces the older one."),
134
+ title: z.string().min(1).max(80).describe("Names the thing, at most 80 characters, e.g. 'First-sync walk-through'. A newer post under the same kind and title is marked as the latest version; older versions stay listed."),
135
135
  });
136
136
  /** An artifact's link: the one given (a sandbox path uploaded), else the post's first link, else its PR. */
137
137
  export async function artifactUrl(given, text, pr, open) {
@@ -176,7 +176,7 @@ export default defineTool({
176
176
  artifact: artifactInput
177
177
  .extend({ url: z.string().optional().describe("What a tap opens: a sandbox path (uploaded), hub://upload link or https URL. Default: the post's first link, else metadata.pr.") })
178
178
  .optional()
179
- .describe("Tags this post as one of the thread's artifacts, shown in the thread's artifacts drawer: a walk-through, sitrep, plan, review, PR, decision or doc. The drawer keeps the newest per kind and title, so post a new version under the same title to replace the old one."),
179
+ .describe("Tags this post as one of the thread's artifacts, shown in the thread's Artifacts pane: a walk-through, sitrep, plan, review, PR, decision or doc. The pane lists every version and marks the newest per kind and title as latest, so post a new version under the same title to supersede the old one."),
180
180
  }),
181
181
  async execute({ threadId, agent, text, images, policy, status, metadata, verdict, decisions, tested, artifact }, ctx) {
182
182
  const bad = textError(text);
@@ -3,7 +3,7 @@
3
3
  // registry keeps the rename history and posts an inline "<bot> renamed this
4
4
  // thread: old → new" marker; tags go on thread.tags (lib/tags.mjs) and the
5
5
  // summary is the one `set_summary` writes (lib/paths.mjs setSummary). `artifacts`
6
- // adds drawer artifacts with no post: the hub writes one silent event row each.
6
+ // adds Artifacts pane entries with no post: the hub writes one silent event row each.
7
7
  import { defineTool } from "eve/tools";
8
8
  import { z } from "zod";
9
9
  import { registryFetch } from "../registry-fetch.mjs";
@@ -25,7 +25,7 @@ export default defineTool({
25
25
  .min(1)
26
26
  .max(10)
27
27
  .optional()
28
- .describe("Adds artifacts to the thread's artifacts drawer without posting a message; each shows as a silent line in the thread that wakes nobody. When the artifact comes with a post, use post_message's `artifact` instead."),
28
+ .describe("Adds artifacts to the thread's Artifacts pane without posting a message; each shows as a silent line in the thread that wakes nobody. When the artifact comes with a post, use post_message's `artifact` instead."),
29
29
  }),
30
30
  async execute({ threadId, artifacts, ...fields }, ctx) {
31
31
  let sandbox;