@su-record/vibe 4.2.41 → 4.2.43
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.
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Your personal FDE in Claude and Codex. Understand the work, use the right tools, deliver and retain useful context. One entry: vibe.",
|
|
9
|
-
"version": "4.2.
|
|
9
|
+
"version": "4.2.43"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "vibe",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"description": "Your personal FDE in Claude and Codex. Understand the work, use the right tools, deliver and retain useful context. One entry: vibe.",
|
|
16
|
-
"version": "4.2.
|
|
16
|
+
"version": "4.2.43",
|
|
17
17
|
"category": "productivity"
|
|
18
18
|
}
|
|
19
19
|
]
|
package/card.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
You work inside vibe, the user's personal FDE.
|
|
1
|
+
You work inside vibe, the user's personal FDE. Enter through the vibe skill; a subagent does its task without it.
|
|
2
2
|
Antislop in writing and code: no filler, repetition or needless abstraction; keep facts, uncertainty and behavior. Build nothing unasked; reuse the codebase, standard library or installed packages first.
|
|
3
|
-
Understand the user's work and reuse relevant decisions before asking. Use existing tools; load internal guidance only for the current need. Work in the current checkout. No extra model review, worktree or approval ceremony by default. Honor user authority, host permissions and repository-required checks. Verify actual behavior and reuse unchanged execution evidence. Retain useful project and personal context. Report what changed, what was verified and what remains unknown. Assume a software beginner: explain outcomes, reasons, how things work and essential jargon in the user's language
|
|
3
|
+
Understand the user's work and reuse relevant decisions before asking. Use existing tools; load internal guidance only for the current need. Work in the current checkout. No extra model review, worktree or approval ceremony by default. Honor user authority, host permissions and repository-required checks. Verify actual behavior and reuse unchanged execution evidence. Retain useful project and personal context. Report what changed, what was verified and what remains unknown. Assume a software beginner: explain outcomes, reasons, how things work and essential jargon in the user's language. Preserve risks and uncertainty. Keep routine implementation work with the FDE. Stop never runs checks.
|
package/hooks/knowledge-auto.cjs
CHANGED
|
@@ -160,14 +160,28 @@ const continueWith = (text, client) => (client === 'claude'
|
|
|
160
160
|
? { hookSpecificOutput: { hookEventName: 'Stop', additionalContext: text } }
|
|
161
161
|
: { decision: 'block', reason: text });
|
|
162
162
|
const briefEntry = root => `knowledge-turn-${digest(root)}.txt`;
|
|
163
|
-
|
|
163
|
+
// Every tool call of the working model rereads the whole conversation, so the wiki work goes to a small, fast model in
|
|
164
|
+
// the background: the user does not wait and the large model pays only for the brief. Another client works inline.
|
|
165
|
+
const DELEGATES = {
|
|
166
|
+
claude: 'the Agent tool with model haiku, effort low and run_in_background',
|
|
167
|
+
codex: 'spawn_agent with the fast small model (a luna model) and reasoning_effort low',
|
|
168
|
+
};
|
|
169
|
+
const DELEGATE = client => (DELEGATES[client]
|
|
170
|
+
? [
|
|
171
|
+
`Hand this to a background subagent instead of doing it yourself: ${DELEGATES[client]}.`,
|
|
172
|
+
'It cannot see the conversation, so give it these instructions and a short brief of what was decided, learned and repeated;',
|
|
173
|
+
'do not wait for it, end the turn, and when it reports relay its one line.',
|
|
174
|
+
].join(' ')
|
|
175
|
+
: '');
|
|
176
|
+
const REASON = (places, skills, observed, from = 'the turns since the last knowledge turn', client = '') => [
|
|
164
177
|
'[vibe] Knowledge turn: the user turned on session knowledge; this is not a user message.',
|
|
165
178
|
`Follow \`vibe internal guide wiki\` (load it if absent): keep what is durable from ${from} ${places}${observed},`,
|
|
166
179
|
`record a better method when one showed, ${SKILLS[skills]},`,
|
|
167
180
|
'propose at most one improvement fitted to how the user works (a skill, rule, prompt, script or tool, check or hook)',
|
|
168
181
|
'when the record shows a repeat, and tell the user in one line what you recorded, added or propose.',
|
|
169
182
|
'If nothing qualifies, end the turn with no output.',
|
|
170
|
-
|
|
183
|
+
DELEGATE(client),
|
|
184
|
+
].filter(Boolean).join(' ');
|
|
171
185
|
|
|
172
186
|
/** Stop: after a changed turn, or `turns` conversation turns, log the fact and give the model one knowledge turn. */
|
|
173
187
|
function stop(payload, home = defaultHome()) {
|
|
@@ -192,7 +206,7 @@ function stop(payload, home = defaultHome()) {
|
|
|
192
206
|
// A wiki inside the project changes the files it was just compared with; look again so that is not seen as work.
|
|
193
207
|
const files = inside(now.root, dir) ? changeStamp(now.root) : now.files;
|
|
194
208
|
writePrivate(now.root, entry(now.root, now.id), JSON.stringify({ files, turns: 0 }), home);
|
|
195
|
-
writePrivate(now.root, briefEntry(now.root), REASON(PLACES(dir, now.root, name), skills, on ? observed(now, home) : '') + wiki, home);
|
|
209
|
+
writePrivate(now.root, briefEntry(now.root), REASON(PLACES(dir, now.root, name), skills, on ? observed(now, home) : '', undefined, journal.sourceOf(payload)) + wiki, home);
|
|
196
210
|
return continueWith(TURN, journal.clientOf(payload));
|
|
197
211
|
} catch { return {}; }
|
|
198
212
|
}
|
package/package.json
CHANGED