vibeostheog 0.22.17 → 0.22.21
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/package.json +6 -2
- package/src/lib/hooks/tests/footer.test.js +0 -185
- package/src/lib/tests/api-client.test.js +0 -220
- package/src/lib/tests/pricing.test.js +0 -745
- package/src/lib/tests/state.test.js +0 -686
- package/src/tests/index.test.js +0 -91
- package/src/vibeOS-lib/flow-rules.json +0 -39
- package/src/vibeOS-lib/tests/experiment-data-export.json +0 -12743
- package/src/vibeOS-lib/tests/experiment-scenarios-progressive.json +0 -115
- package/src/vibeOS-lib/tests/experiment-scenarios-token-latency.json +0 -57
- package/src/vibeOS-lib/tests/experiment-scenarios.json +0 -94
- package/src/vibeOS-lib/tests/reports/mode-benchmark-final-2026-05-23T07-01-58Z.json +0 -129
- package/src/vibeOS-lib/tests/reports/mode-calibration-2026-05-23T07-07-08Z.json +0 -440
- package/src/vibeOS-lib/tests/reports/mode-signal-analysis-2026-05-23T06-59-30Z.json +0 -89
package/src/tests/index.test.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { describe, it, before, after } from 'node:test';
|
|
2
|
-
import assert from 'node:assert/strict';
|
|
3
|
-
|
|
4
|
-
const mod = await import('../../src/index.js');
|
|
5
|
-
|
|
6
|
-
describe('vibeOS plugin module', () => {
|
|
7
|
-
it('exports id as "vibeOS"', () => {
|
|
8
|
-
assert.equal(mod.id, 'vibeOS');
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
it('exports server as a function', () => {
|
|
12
|
-
assert.equal(typeof mod.server, 'function');
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('exports default with correct shape', () => {
|
|
16
|
-
assert.equal(mod.default.id, 'vibeOS');
|
|
17
|
-
assert.equal(typeof mod.default.server, 'function');
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('exports applySlot as function', () => {
|
|
21
|
-
assert.equal(typeof mod.applySlot, 'function');
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
it('exports modelCostPerTurn as function', () => {
|
|
25
|
-
assert.equal(typeof mod.modelCostPerTurn, 'function');
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
it('exports isModelFree as function', () => {
|
|
29
|
-
assert.equal(typeof mod.isModelFree, 'function');
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
it('exports isDocsTarget as function', () => {
|
|
33
|
-
assert.equal(typeof mod.isDocsTarget, 'function');
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
it('exports closeMcpServer as function', () => {
|
|
37
|
-
assert.equal(typeof mod.closeMcpServer, 'function');
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
it('exports DelegationEnforcer as function', () => {
|
|
41
|
-
assert.equal(typeof mod.DelegationEnforcer, 'function');
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
it('exports buildTestReminder as function', () => {
|
|
45
|
-
assert.equal(typeof mod.buildTestReminder, 'function');
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
it('exports buildTestSkeleton as function', () => {
|
|
49
|
-
assert.equal(typeof mod.buildTestSkeleton, 'function');
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
it('exports classifyAndRankModels as function', () => {
|
|
53
|
-
assert.equal(typeof mod.classifyAndRankModels, 'function');
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
it('exports detectContext7 as function', () => {
|
|
57
|
-
assert.equal(typeof mod.detectContext7, 'function');
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
it('exports enforceTestFile as function', () => {
|
|
61
|
-
assert.equal(typeof mod.enforceTestFile, 'function');
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
it('exports extractExports as function', () => {
|
|
65
|
-
assert.equal(typeof mod.extractExports, 'function');
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it('exports getScratchpadHit as function', () => {
|
|
69
|
-
assert.equal(typeof mod.getScratchpadHit, 'function');
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
it('exports listReports as function', () => {
|
|
73
|
-
assert.equal(typeof mod.listReports, 'function');
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
it('exports modelToCcAlias as function', () => {
|
|
77
|
-
assert.equal(typeof mod.modelToCcAlias, 'function');
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
it('exports readReport as function', () => {
|
|
81
|
-
assert.equal(typeof mod.readReport, 'function');
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
it('exports researchAudit as function', () => {
|
|
85
|
-
assert.equal(typeof mod.researchAudit, 'function');
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
it('exports saveReport as function', () => {
|
|
89
|
-
assert.equal(typeof mod.saveReport, 'function');
|
|
90
|
-
});
|
|
91
|
-
});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": [
|
|
3
|
-
{
|
|
4
|
-
"id": "new-md-file",
|
|
5
|
-
"severity": "warn",
|
|
6
|
-
"trigger": "Write",
|
|
7
|
-
"pattern": "\\.md$",
|
|
8
|
-
"description": "New markdown file created without explicit user request"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"id": "new-file-outside-src",
|
|
12
|
-
"severity": "hint",
|
|
13
|
-
"trigger": "Write",
|
|
14
|
-
"pattern": "^(?!src/|\\.)",
|
|
15
|
-
"description": "New file created outside src/ or hidden file — verify intent"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"id": "compat-shim",
|
|
19
|
-
"severity": "warn",
|
|
20
|
-
"trigger": "Edit",
|
|
21
|
-
"pattern": "_old|_legacy|# removed",
|
|
22
|
-
"description": "Backwards-compat shim pattern detected"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"id": "todo-comment",
|
|
26
|
-
"severity": "hint",
|
|
27
|
-
"trigger": "Edit",
|
|
28
|
-
"pattern": "TODO|FIXME|HACK",
|
|
29
|
-
"description": "TODO/FIXME left in output"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"id": "detect-secrets",
|
|
33
|
-
"severity": "flag",
|
|
34
|
-
"trigger": "Edit",
|
|
35
|
-
"pattern": "(?<![a-zA-Z0-9])(sk-[a-zA-Z0-9_-]{10,}|gh[pousr]_[a-zA-Z0-9]{15,}|github_pat_[a-zA-Z0-9_]{15,}|xox[bpras]-[a-zA-Z0-9-]{10,}|-----BEGIN (?:RSA|EC|OPENSSH|ENCRYPTED) PRIVATE KEY-----)",
|
|
36
|
-
"description": "Potential secret/API key detected in content"
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
}
|