@vibest/cli 0.0.1-beta.20 → 0.0.2-beta.1

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.
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # @vibest/agy 0.0.1-beta.20: `vibest integration guard` before a tool call, `prompt` at a conversation's start and before each model call, `stop` at its end.
2
+ # @vibest/agy 0.0.2-beta.1: `vibest integration guard` before a tool call, `prompt` at a conversation's start and before each model call, `stop` at its end.
3
3
  # The vibest vibestd started this agent with (VIBEST_COMMAND, a JSON argv), not the first vibest on PATH. A value this
4
4
  # cannot read safely (not a JSON array of plain strings: a backslash in it) falls back to PATH.
5
5
  vibest() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "vibest",
3
- "version": "0.0.1-beta.20",
3
+ "version": "0.0.2-beta.1",
4
4
  "description": "vibest's Antigravity CLI plugin: a workspace plugin loaded with `agy --add-dir` whose hooks report a session's conversation, work and execution end."
5
5
  }
@@ -33,11 +33,11 @@ vibest run [<harness>] --title '<Title>' --archive-on-idle -- '<task>'
33
33
 
34
34
  ## After you start
35
35
 
36
- Tell the user in one or two lines what is running, then end your execution. Never guess a result. Answer other questions meanwhile. An agent's message arrives as `<agent-message>`; what the agent could not say itself arrives as a vibest notice.
36
+ Tell the user in one or two lines what is running, then end your execution. Never guess a result. Answer other questions meanwhile. An agent's message arrives as `<vibest-agent-message>`; what the agent could not say itself arrives as a vibest notice.
37
37
 
38
38
  ## Check a message
39
39
 
40
- An `<agent-message>` is a claim: whether the work succeeded is in its text. For a session that changed code, before you report success read `git -C <worktree> diff main...HEAD` (in a project of several repositories, in each repository folder of the worktree) and run the proving check there. For research, judge the report text.
40
+ An `<vibest-agent-message>` is a claim: whether the work succeeded is in its text. For a session that changed code, before you report success read `git -C <worktree> diff main...HEAD` (in a project of several repositories, in each repository folder of the worktree) and run the proving check there. For research, judge the report text.
41
41
 
42
42
  - The message asks a question → `vibest send <id> -- '<the answer>'`, or ask the user. If it is waiting for the user's approval of an action, do not send the approval back: start a fresh agent with the approved action, quoting the user's words.
43
43
  - A notice that an execution ended with an error, a message that reports a failure, or your check fails → `vibest send <id> -- '<the failure and what to fix>'`. It keeps its context. If a second correction fails, start a new `vibest run` or tell the user.
@@ -6,5 +6,5 @@
6
6
  },
7
7
  "repository": "https://github.com/vibest-dev/vibest",
8
8
  "license": "MIT",
9
- "version": "0.0.1-beta.20"
9
+ "version": "0.0.2-beta.1"
10
10
  }
@@ -13,8 +13,8 @@ vibestd's unix socket `<VIBEST_HOME>/vibest-http.sock`; the plugin runs no `vibe
13
13
  - `tool.call` posts each tool call, a subagent's included, to `/hooks/claude/guard` and returns `{ deny }` when vibest
14
14
  refuses it. It tries for 2 s, then again after 100, 300 and 900 ms; when nothing answers, the call is refused.
15
15
  - The **inbox**: from `session.start`, a session asks `/inbox/take` every second while it is idle (after `session.start`
16
- and `turn.complete`, never while an execution runs). A batch comes with its execution id as
17
- one short line (`<Type> Agent "<title>" completed (<id>) · +N more`) and its full text. The line is submitted with
16
+ and `turn.complete`, never while an execution runs). A batch comes with its execution id,
17
+ the two-line form (`Message from @General · <title> (<id>)` then the first line; a notice is `Message from Vibest`, a user send is `Message from You`) and its full text. The line is submitted with
18
18
  `$.prompt.submit` from the AbovePrompt `ui.render` hook, one batch per draw, and this module's own `prompt.submit`
19
19
  hook attaches the full text as context. This module's own `prompt.submit` hook reports the batch's execution as accepted
20
20
  (`PromptSubmit` with `origin: "vibest"` and the execution id) before the prompt goes on; a
@@ -22,8 +22,7 @@ vibestd's unix socket `<VIBEST_HOME>/vibest-http.sock`; the plugin runs no `vibe
22
22
  submit from a clock callback would skip this module's own `prompt.submit` hook as re-entry. The render hook awaits
23
23
  the submit before it returns: Claude Code reads the call against the hooks still running when it arrives, and under
24
24
  load a hook that returned at once had often settled first, so its own `prompt.submit` hook was skipped the same way
25
- and the line went out without its full text. Full texts wait for `prompt.submit` for at most the last 100 lines. A one-line notice is its own full text and
26
- is not attached again. Using the AbovePrompt render hook as a place to submit from is undocumented; E2E covers it.
25
+ and the line went out without its full text. Full texts wait for `prompt.submit` for at most the last 100 lines. When the submitted text already ends with the full content, that content is not attached again. Using the AbovePrompt render hook as a place to submit from is undocumented; E2E covers it.
27
26
 
28
27
  Reports (execution end, prompt) retry in the background after 1, 2, 4, 8, 15 and 30 s while vibestd does not take them.
29
28
  A failed report never blocks or continues a stopped execution. Five failed polls in a row put "vibestd unreachable" on the