@pellux/goodvibes-sdk 0.33.34 → 0.33.35
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.
|
@@ -162,6 +162,7 @@ function isDefaultExtensionContaminatedSource(source) {
|
|
|
162
162
|
].join(' ');
|
|
163
163
|
return hasLegacyDefaultAgentWikiMarker(text)
|
|
164
164
|
|| hasDefaultGoodVibesProductNavigationMarker(text)
|
|
165
|
+
|| hasDefaultSemanticRepairGithubChromeMarker(source, text)
|
|
165
166
|
|| hasExtensionOnlyKnowledgeMarker(text);
|
|
166
167
|
}
|
|
167
168
|
function isDefaultExtensionContaminatedNode(node, lookup) {
|
|
@@ -171,6 +172,8 @@ function isDefaultExtensionContaminatedNode(node, lookup) {
|
|
|
171
172
|
return true;
|
|
172
173
|
if (/^ha[_:-]/i.test(node.kind))
|
|
173
174
|
return true;
|
|
175
|
+
if (isDefaultNavigationChromeNode(node))
|
|
176
|
+
return true;
|
|
174
177
|
if (nodeReferencesDefaultExtensionSource(node, lookup))
|
|
175
178
|
return true;
|
|
176
179
|
if (nodeReferencesExtensionObject(node, lookup))
|
|
@@ -380,7 +383,43 @@ function hasDefaultGoodVibesProductNavigationMarker(value) {
|
|
|
380
383
|
|| /\bmgd34msu\/goodvibes(?:\b|[-_][a-z0-9._-]+\b)/.test(lower);
|
|
381
384
|
if (!isGoodVibesRepo)
|
|
382
385
|
return false;
|
|
386
|
+
return hasGithubNavigationChromeMarker(lower);
|
|
387
|
+
}
|
|
388
|
+
function hasDefaultSemanticRepairGithubChromeMarker(source, value) {
|
|
389
|
+
const lower = value.toLowerCase();
|
|
390
|
+
const sourceDiscovery = typeof source.metadata.sourceDiscovery === 'object' && source.metadata.sourceDiscovery !== null
|
|
391
|
+
? source.metadata.sourceDiscovery
|
|
392
|
+
: {};
|
|
393
|
+
const isSemanticRepairSource = source.connectorId === 'semantic-gap-repair'
|
|
394
|
+
|| source.tags.some((tag) => tag.toLowerCase() === 'semantic-gap-repair' || tag.toLowerCase() === 'gap-repair')
|
|
395
|
+
|| readString(sourceDiscovery.purpose) === 'semantic-gap-repair';
|
|
396
|
+
if (!isSemanticRepairSource)
|
|
397
|
+
return false;
|
|
398
|
+
if (!/\bgithub\.com\//.test(lower))
|
|
399
|
+
return false;
|
|
400
|
+
return hasGithubNavigationChromeMarker(lower);
|
|
401
|
+
}
|
|
402
|
+
function isDefaultNavigationChromeNode(node) {
|
|
403
|
+
if (node.title.trim().toLowerCase() !== 'navigation menu')
|
|
404
|
+
return false;
|
|
405
|
+
if (node.kind === 'memory')
|
|
406
|
+
return true;
|
|
407
|
+
const text = [
|
|
408
|
+
node.summary,
|
|
409
|
+
node.slug,
|
|
410
|
+
metadataSearchText(node.metadata),
|
|
411
|
+
].join(' ').toLowerCase();
|
|
412
|
+
return hasGithubNavigationChromeMarker(text)
|
|
413
|
+
|| /\bgithub\.com\//.test(text)
|
|
414
|
+
|| /\bgithub\b/.test(text)
|
|
415
|
+
|| /\brepository files navigation\b/.test(text);
|
|
416
|
+
}
|
|
417
|
+
function hasGithubNavigationChromeMarker(lower) {
|
|
383
418
|
return /\bnavigation\s+menu\b/.test(lower)
|
|
384
419
|
|| /\bskip\s+to\s+content\b/.test(lower)
|
|
385
|
-
|| /\bgithub\s+navigation\b/.test(lower)
|
|
420
|
+
|| /\bgithub\s+navigation\b/.test(lower)
|
|
421
|
+
|| /\brepository\s+files\s+navigation\b/.test(lower)
|
|
422
|
+
|| /\bsearch\s+code,\s*repositories,\s*users,\s*issues,\s*pull\s+requests\b/.test(lower)
|
|
423
|
+
|| /\bsaved\s+searches\b/.test(lower)
|
|
424
|
+
|| /\bwe\s+read\s+every\s+piece\s+of\s+feedback\b/.test(lower);
|
|
386
425
|
}
|
package/dist/platform/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { readFileSync } from 'node:fs';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
|
-
let version = '0.33.
|
|
3
|
+
let version = '0.33.35';
|
|
4
4
|
try {
|
|
5
5
|
const pkg = JSON.parse(readFileSync(join(import.meta.dir, '..', '..', 'package.json'), 'utf-8'));
|
|
6
6
|
version = pkg.version ?? version;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pellux/goodvibes-sdk",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.35",
|
|
4
4
|
"description": "TypeScript SDK for building GoodVibes operator, peer, web, mobile, and daemon-connected apps with typed contracts, auth, realtime events, and transport layers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goodvibes",
|
|
@@ -453,14 +453,14 @@
|
|
|
453
453
|
"sideEffects": false,
|
|
454
454
|
"type": "module",
|
|
455
455
|
"dependencies": {
|
|
456
|
-
"@pellux/goodvibes-contracts": "0.33.
|
|
457
|
-
"@pellux/goodvibes-daemon-sdk": "0.33.
|
|
458
|
-
"@pellux/goodvibes-errors": "0.33.
|
|
459
|
-
"@pellux/goodvibes-operator-sdk": "0.33.
|
|
460
|
-
"@pellux/goodvibes-peer-sdk": "0.33.
|
|
461
|
-
"@pellux/goodvibes-transport-core": "0.33.
|
|
462
|
-
"@pellux/goodvibes-transport-http": "0.33.
|
|
463
|
-
"@pellux/goodvibes-transport-realtime": "0.33.
|
|
456
|
+
"@pellux/goodvibes-contracts": "0.33.35",
|
|
457
|
+
"@pellux/goodvibes-daemon-sdk": "0.33.35",
|
|
458
|
+
"@pellux/goodvibes-errors": "0.33.35",
|
|
459
|
+
"@pellux/goodvibes-operator-sdk": "0.33.35",
|
|
460
|
+
"@pellux/goodvibes-peer-sdk": "0.33.35",
|
|
461
|
+
"@pellux/goodvibes-transport-core": "0.33.35",
|
|
462
|
+
"@pellux/goodvibes-transport-http": "0.33.35",
|
|
463
|
+
"@pellux/goodvibes-transport-realtime": "0.33.35"
|
|
464
464
|
},
|
|
465
465
|
"optionalDependencies": {
|
|
466
466
|
"@agentclientprotocol/sdk": "^0.21.0",
|