pi-beyin 0.1.12 → 0.1.13
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 +6 -0
- package/README.md +3 -1
- package/extensions/jev.ts +5 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.13
|
|
4
|
+
|
|
5
|
+
- No project-specific content in the package: the `/jev-test` self-test payload and the live-test mock
|
|
6
|
+
are neutral examples, temp fixtures use neutral names, and the vault query comes from
|
|
7
|
+
`BEYIN_TEST_QUERY` (checks are skipped when it is unset).
|
|
8
|
+
|
|
3
9
|
## 0.1.12
|
|
4
10
|
|
|
5
11
|
- README rewritten for the current layout (quick start, verification, scope, privacy, release).
|
package/README.md
CHANGED
|
@@ -144,7 +144,9 @@ bash test/run.sh ~/projects/example # + multi-turn Jev scenario in th
|
|
|
144
144
|
bun run test/test-jev-scenario.ts ~/projects/example 3
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
`test/run.sh` steps 1–3 need a live vault; the rest is self-contained.
|
|
147
|
+
`test/run.sh` steps 1–3 need a live vault; the rest is self-contained. Step 3 and the context
|
|
148
|
+
injection tests query your vault with `BEYIN_TEST_QUERY` — the package ships no project-specific phrase, so
|
|
149
|
+
without it those checks are skipped. Tests never write into the repo:
|
|
148
150
|
each run builds its own temporary directory and config files. Step 3b warns when the vault's
|
|
149
151
|
`.agents/skills` duplicates a package skill (a vault update can recreate those copies).
|
|
150
152
|
|
package/extensions/jev.ts
CHANGED
|
@@ -288,11 +288,14 @@ export default function beyinJev(pi: ExtensionAPI) {
|
|
|
288
288
|
ctx.ui.notify("Jev classifier bulunamadı", "error");
|
|
289
289
|
return;
|
|
290
290
|
}
|
|
291
|
-
const subject = args.trim() || "
|
|
291
|
+
const subject = args.trim() || "Bu projede önbellek katmanını Redis ile değiştirmeyi düşünüyoruz.";
|
|
292
292
|
const result = await ctx.modelRegistry.classify(
|
|
293
293
|
model,
|
|
294
294
|
{
|
|
295
|
-
state: {
|
|
295
|
+
state: {
|
|
296
|
+
text: subject,
|
|
297
|
+
candidates: [{ id: "a", title: "Önbellek notu", statement: "Redis'e geçiş değerlendirmesi" }],
|
|
298
|
+
},
|
|
296
299
|
questions: {
|
|
297
300
|
relevance: {
|
|
298
301
|
type: "score",
|