sneakoscope 9.2.0 → 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-controller-v3/shared.js +2 -1
- package/dist/core/codex-lb/desktop-service.js +12 -2
- 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) })
|
|
@@ -150,7 +150,8 @@ export function serializedSettings(settings) {
|
|
|
150
150
|
client_capability_sha256: settings.client_capability_sha256,
|
|
151
151
|
allowed_origins: settings.allowed_origins,
|
|
152
152
|
connect_timeout_ms: settings.connect_timeout_ms,
|
|
153
|
-
idle_timeout_ms: settings.idle_timeout_ms
|
|
153
|
+
idle_timeout_ms: settings.idle_timeout_ms,
|
|
154
|
+
official_passthrough: settings.official_passthrough
|
|
154
155
|
}, null, 2)}\n`;
|
|
155
156
|
}
|
|
156
157
|
export async function bridgeBaseUrl(settings, options) {
|
|
@@ -113,7 +113,8 @@ export function defaultDesktopBridgeServiceSettings(input = {}) {
|
|
|
113
113
|
schema: DESKTOP_BRIDGE_SETTINGS_SCHEMA, listen_host: input.listen_host || DEFAULT_DESKTOP_BRIDGE_HOST,
|
|
114
114
|
listen_port: input.listen_port ?? DEFAULT_DESKTOP_BRIDGE_PORT, provider_registry: registry, route_policy: policy,
|
|
115
115
|
provider_session_pins: [...(input.provider_session_pins || [])], client_capability_sha256: input.client_capability_sha256 || '0'.repeat(64), allowed_origins: [...(input.allowed_origins || DEFAULT_ALLOWED_ORIGINS)],
|
|
116
|
-
connect_timeout_ms: input.connect_timeout_ms ?? 10_000, idle_timeout_ms: input.idle_timeout_ms ?? 300_000
|
|
116
|
+
connect_timeout_ms: input.connect_timeout_ms ?? 10_000, idle_timeout_ms: input.idle_timeout_ms ?? 300_000,
|
|
117
|
+
...(input.official_passthrough === undefined ? {} : { official_passthrough: input.official_passthrough })
|
|
117
118
|
});
|
|
118
119
|
}
|
|
119
120
|
export async function resolveDesktopBridgeActivationSettings(options = {}) {
|
|
@@ -458,7 +459,10 @@ async function readSkewRestartMarker(file) {
|
|
|
458
459
|
}
|
|
459
460
|
async function autoApplyOfficialModelsAtServe(runtime, home, options) {
|
|
460
461
|
const settings = runtime.settings;
|
|
461
|
-
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
|
+
});
|
|
462
466
|
if (mode !== 'passthrough')
|
|
463
467
|
return;
|
|
464
468
|
const flipped = applyOfficialModelPassthrough(settings.route_policy, { mode: 'passthrough' });
|
|
@@ -582,12 +586,18 @@ export async function resolveEffectiveOfficialModelsMode(official, input) {
|
|
|
582
586
|
const models = official?.models || 'auto';
|
|
583
587
|
if (models === 'passthrough' || models === 'gateway')
|
|
584
588
|
return models;
|
|
589
|
+
if (input.codexLbRegistered === true)
|
|
590
|
+
return 'gateway';
|
|
585
591
|
const snapshot = await captureCodexAuthSnapshot({
|
|
586
592
|
home: input.home,
|
|
587
593
|
...(input.authPath ? { authPath: input.authPath } : {}),
|
|
588
594
|
}).catch(() => null);
|
|
589
595
|
return snapshot && (snapshot.mode === 'chatgpt_oauth' || snapshot.mode === 'mixed') ? 'passthrough' : 'gateway';
|
|
590
596
|
}
|
|
597
|
+
export function desktopBridgeCodexLbRegistered(providers) {
|
|
598
|
+
const profile = providers?.['codex-lb'];
|
|
599
|
+
return profile?.enabled === true && profile?.credential_state === 'ready';
|
|
600
|
+
}
|
|
591
601
|
function validateProviderSessionPins(value) {
|
|
592
602
|
const pins = Array.isArray(value) ? value : [];
|
|
593
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",
|