sneakoscope 9.2.1 → 9.2.2
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/README.md +1 -1
- package/crates/sks-core/Cargo.lock +1 -1
- package/crates/sks-core/Cargo.toml +1 -1
- package/dist/config/skills-manifest.json +1 -1
- package/dist/core/codex-lb/desktop-controller-v3/catalog.js +5 -1
- package/dist/core/codex-lb/desktop-controller-v3/lifecycle-commands.js +4 -1
- package/dist/core/codex-lb/desktop-service.js +10 -1
- package/dist/core/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Proof-first orchestration for Codex CLI, ChatGPT Desktop, AI coding agents, mult
|
|
|
22
22
|
Sneakoscope Codex (`sks`) is an open-source trust layer for Codex CLI and ChatGPT Desktop. It coordinates bounded AI coding agents, records machine-verifiable evidence, preserves project memory, and blocks release claims that are not supported by current tests or artifacts. Search visibility outcomes are measured separately; SKS does not promise rankings or traffic.
|
|
23
23
|
<!-- END SKS SEARCH VISIBILITY MARKETING -->
|
|
24
24
|
|
|
25
|
-
This README documents package **SKS 9.2.
|
|
25
|
+
This README documents package **SKS 9.2.2** — its own identity, read from `package.json` and subject to release-gate verification, not advice about what to install.
|
|
26
26
|
|
|
27
27
|
Use the official latest stable SKS and Codex CLI releases. The Codex compatibility SSOT is always the **current latest stable** host; capability probes measure what that host can actually do. Product docs do not crown a fixed `0.x.y` string as SSOT (release pins and schema directories are measured artifacts for the current package, not a permanent product version claim). Menu Bar / Center induce updates to the latest stable build. Run `sks update-check` for what is installed and read the capability report for what is supported. Install SSOT is npm `sneakoscope@latest`; PATH `sks` and Menu Bar stamped generation must match that version or gates fail. It resolves managed SKS skills from the authoritative global install, preserves a runnable Naruto child slot when `max_threads=2`, and keeps Menu Bar repair transactional so stamped generations remain verifiable. Naruto uses stable opt-in multi-agent V2 when the host exposes it (Codex official multi-agent wrap-only; SKS does not reimplement a parallel runtime). Local code search is mode-separated (`sks search files|text|structure|symbol|context`); `context` is answered by the compiled TriWiki Context Graph (`context-graph.json` is exhaustive authority; `context-pack.json` and managed `AGENTS.md` are bounded projections) — see [docs/architecture/context-graph.md](https://github.com/mandarange/Sneakoscope-Codex/blob/main/docs/architecture/context-graph.md) and [docs/PRODUCT-CONTRACT.md](https://github.com/mandarange/Sneakoscope-Codex/blob/main/docs/PRODUCT-CONTRACT.md). See [CHANGELOG.md](https://github.com/mandarange/Sneakoscope-Codex/blob/main/CHANGELOG.md).
|
|
28
28
|
|
|
@@ -77,7 +77,11 @@ export async function syncCatalogInternal(options) {
|
|
|
77
77
|
: historicalDefault && readyProviders.includes(historicalDefault) ? historicalDefault
|
|
78
78
|
: readyProviders.length === 1 ? readyProviders[0] || null : null;
|
|
79
79
|
const persistedSettings = await readDesktopBridgeServiceSettings(desktopBridgeServicePaths(paths.home).settings_path).catch(() => null);
|
|
80
|
-
const officialModelsMode = await resolveEffectiveOfficialModelsMode(persistedSettings?.official_passthrough, {
|
|
80
|
+
const officialModelsMode = await resolveEffectiveOfficialModelsMode(persistedSettings?.official_passthrough, {
|
|
81
|
+
home: paths.home,
|
|
82
|
+
authPath: paths.authPath,
|
|
83
|
+
codexLbRegistered: registry.profiles['codex-lb'].enabled && registry.profiles['codex-lb'].state === 'ready',
|
|
84
|
+
});
|
|
81
85
|
const policy = applyOfficialModelPassthrough(buildBridgeRoutingPolicy({
|
|
82
86
|
route_index: build.route_index,
|
|
83
87
|
catalog_generation: build.catalog.generation,
|
|
@@ -83,7 +83,10 @@ export async function setOfficialModelsMode(mode, options) {
|
|
|
83
83
|
models: mode,
|
|
84
84
|
};
|
|
85
85
|
const effective = mode === 'auto'
|
|
86
|
-
? await resolveEffectiveOfficialModelsMode(nextOfficial, {
|
|
86
|
+
? await resolveEffectiveOfficialModelsMode(nextOfficial, {
|
|
87
|
+
home: core.paths.home,
|
|
88
|
+
codexLbRegistered: core.registry.profiles['codex-lb'].enabled && core.registry.profiles['codex-lb'].state === 'ready',
|
|
89
|
+
})
|
|
87
90
|
: mode;
|
|
88
91
|
const policy = effective === 'passthrough'
|
|
89
92
|
? applyOfficialModelPassthrough(core.policy, { mode: 'passthrough', changedAt: nowIso(options) })
|
|
@@ -459,7 +459,10 @@ async function readSkewRestartMarker(file) {
|
|
|
459
459
|
}
|
|
460
460
|
async function autoApplyOfficialModelsAtServe(runtime, home, options) {
|
|
461
461
|
const settings = runtime.settings;
|
|
462
|
-
const mode = await resolveEffectiveOfficialModelsMode(settings.official_passthrough, {
|
|
462
|
+
const mode = await resolveEffectiveOfficialModelsMode(settings.official_passthrough, {
|
|
463
|
+
home,
|
|
464
|
+
codexLbRegistered: desktopBridgeCodexLbRegistered(settings.provider_registry.providers),
|
|
465
|
+
});
|
|
463
466
|
if (mode !== 'passthrough')
|
|
464
467
|
return;
|
|
465
468
|
const flipped = applyOfficialModelPassthrough(settings.route_policy, { mode: 'passthrough' });
|
|
@@ -583,12 +586,18 @@ export async function resolveEffectiveOfficialModelsMode(official, input) {
|
|
|
583
586
|
const models = official?.models || 'auto';
|
|
584
587
|
if (models === 'passthrough' || models === 'gateway')
|
|
585
588
|
return models;
|
|
589
|
+
if (input.codexLbRegistered === true)
|
|
590
|
+
return 'gateway';
|
|
586
591
|
const snapshot = await captureCodexAuthSnapshot({
|
|
587
592
|
home: input.home,
|
|
588
593
|
...(input.authPath ? { authPath: input.authPath } : {}),
|
|
589
594
|
}).catch(() => null);
|
|
590
595
|
return snapshot && (snapshot.mode === 'chatgpt_oauth' || snapshot.mode === 'mixed') ? 'passthrough' : 'gateway';
|
|
591
596
|
}
|
|
597
|
+
export function desktopBridgeCodexLbRegistered(providers) {
|
|
598
|
+
const profile = providers?.['codex-lb'];
|
|
599
|
+
return profile?.enabled === true && profile?.credential_state === 'ready';
|
|
600
|
+
}
|
|
592
601
|
function validateProviderSessionPins(value) {
|
|
593
602
|
const pins = Array.isArray(value) ? value : [];
|
|
594
603
|
if (pins.length > 10_000)
|
package/dist/core/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '9.2.
|
|
1
|
+
export const PACKAGE_VERSION = '9.2.2';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sneakoscope",
|
|
3
3
|
"displayName": "ㅅㅋㅅ",
|
|
4
|
-
"version": "9.2.
|
|
4
|
+
"version": "9.2.2",
|
|
5
5
|
"description": "Sneakoscope Codex (`sks`) is an open-source trust layer for Codex CLI and ChatGPT Desktop. It coordinates bounded AI coding agents, records machine-verifiable evidence, preserves project memory, and blocks release claims that are not supported by current tests or artifacts. Search visibility outcomes are measured separately; SKS does not promise rankings or traffic.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://github.com/mandarange/Sneakoscope-Codex#readme",
|