@wibeco/bridge 0.2.2 → 0.2.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.
|
@@ -295,8 +295,8 @@ async function shareProgressCommand(options, cwd = process.cwd()) {
|
|
|
295
295
|
}
|
|
296
296
|
const summary = options.summary?.trim() ?? "";
|
|
297
297
|
const wordCount = summary.split(/\s+/).filter(Boolean).length;
|
|
298
|
-
if (wordCount <
|
|
299
|
-
throw new Error("Progress summary must contain
|
|
298
|
+
if (wordCount < 20 || wordCount > 55 || summary.length > 500) {
|
|
299
|
+
throw new Error("Progress summary must contain 20\u201355 words.");
|
|
300
300
|
}
|
|
301
301
|
const title = options.title?.trim();
|
|
302
302
|
if (title && title.length > 120) {
|
package/dist/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
setupCommand,
|
|
7
7
|
shareProgressCommand,
|
|
8
8
|
statusCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QDJNDFHB.js";
|
|
10
10
|
import {
|
|
11
11
|
runPresenceHeartbeat
|
|
12
12
|
} from "./chunk-A7KGZ7NX.js";
|
|
@@ -21,7 +21,7 @@ Commands:
|
|
|
21
21
|
Use --reauthorize only to replace a rejected or revoked device token.
|
|
22
22
|
status
|
|
23
23
|
emit --adapter <name> --event <hook-name> (JSON payload on stdin)
|
|
24
|
-
share-progress --summary <
|
|
24
|
+
share-progress --summary <20-55 words> [--title <title>] [--phase <phase>] [--confidence <0-1>]
|
|
25
25
|
doctor [--repository <owner/repo>]`;
|
|
26
26
|
async function main() {
|
|
27
27
|
const [command, ...args] = process.argv.slice(2);
|
package/dist/codex-hook.js
CHANGED
package/package.json
CHANGED
|
@@ -7,6 +7,10 @@ The emit command always returns a valid empty JSON object to Cursor and fails op
|
|
|
7
7
|
delivery can never block an agent tool call.
|
|
8
8
|
Session hooks own a metadata-only heartbeat every 45 seconds and stop it at session end. Routine
|
|
9
9
|
prompt, tool, shell, and MCP lifecycle hooks are never reclassified as presence.
|
|
10
|
+
The always-applied activity rule normally publishes only a task plan and a richer completion
|
|
11
|
+
summary through Wibe MCP. Material blockers and major direction changes on longer tasks are the
|
|
12
|
+
only intermediate updates. `wibe share-progress` is the device-authenticated fallback when MCP is
|
|
13
|
+
unavailable.
|
|
10
14
|
|
|
11
15
|
Run `wibe setup` to authorize a revocable, project-scoped device token. Interactive credentials are
|
|
12
16
|
stored in the operating-system keychain; hooks do not require repository secrets. The mapper drops
|
|
@@ -6,9 +6,9 @@ alwaysApply: true
|
|
|
6
6
|
# Wibe activity
|
|
7
7
|
|
|
8
8
|
- This repository is connected to Wibe project `${WIBE_PROJECT_ID}`.
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
- Write one concrete
|
|
12
|
-
-
|
|
13
|
-
- Do not
|
|
9
|
+
- For most tasks, publish only two updates: the settled plan and the completed outcome.
|
|
10
|
+
- Share the plan with `wibe_share_plan` when available. Use `wibe_share_progress` at completion, or earlier only for a material blocker or a major direction change on work lasting over ten minutes.
|
|
11
|
+
- Write one or two concrete sentences totaling 20–55 words. Explain the user-facing goal, what changed, and validation or blockers when material.
|
|
12
|
+
- Use present progressive for active work and past tense for completed work. Never include prompts, source code, secrets, raw commands, routine tool calls, praise, hype, or speculation.
|
|
13
|
+
- Do not repeat information already shared or publish separate updates for editing, testing, committing, or pushing.
|
|
14
14
|
- If the Wibe MCP tools are unavailable, run `npx --yes --package @wibeco/bridge@latest wibe share-progress --summary "<summary>" --phase <planning|implementing|validating|blocked|shipped>`.
|