sneakoscope 8.6.4 → 8.6.5
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/commands/doctor.js +11 -4
- package/dist/config/skills-manifest.json +1 -1
- package/dist/core/codex-lb/desktop-bridge/http-forward.js +15 -2
- package/dist/core/doctor/doctor-readiness-matrix.js +3 -0
- 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 8.6.
|
|
25
|
+
This README documents package **SKS 8.6.5** — 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
|
|
package/dist/commands/doctor.js
CHANGED
|
@@ -1033,7 +1033,10 @@ async function runDoctor(args = [], root, doctorFix, deps = {}) {
|
|
|
1033
1033
|
rollback_evidence: 'combined_catalog_previous_generation_preserved'
|
|
1034
1034
|
};
|
|
1035
1035
|
try {
|
|
1036
|
-
const restarted = await restartStaleDesktopBridgeRuntime({
|
|
1036
|
+
const restarted = await restartStaleDesktopBridgeRuntime({
|
|
1037
|
+
home: path.resolve(process.env.HOME || os.homedir()),
|
|
1038
|
+
fix: doctorFix,
|
|
1039
|
+
});
|
|
1037
1040
|
const status = await desktopBridgeStatusV3({ home: root, env: process.env });
|
|
1038
1041
|
const blockers = (status?.readiness?.blockers || []).map(String);
|
|
1039
1042
|
const stale = blockers.filter((blocker) => blocker.endsWith('_catalog_stale'));
|
|
@@ -1050,9 +1053,13 @@ async function runDoctor(args = [], root, doctorFix, deps = {}) {
|
|
|
1050
1053
|
const synced = sync?.ok === true && sync?.execution?.ok === true;
|
|
1051
1054
|
return {
|
|
1052
1055
|
...base,
|
|
1053
|
-
ok: synced,
|
|
1054
|
-
repaired: synced,
|
|
1055
|
-
|
|
1056
|
+
ok: synced && restarted.blockers.length === 0,
|
|
1057
|
+
repaired: synced || restarted.restarted,
|
|
1058
|
+
warnings: restarted.warnings,
|
|
1059
|
+
blockers: [
|
|
1060
|
+
...(synced ? [] : (sync?.execution?.blockers || ['desktop_bridge_catalog_sync_failed']).map(String)),
|
|
1061
|
+
...restarted.blockers
|
|
1062
|
+
]
|
|
1056
1063
|
};
|
|
1057
1064
|
}
|
|
1058
1065
|
catch (error) {
|
|
@@ -3,6 +3,7 @@ import https from 'node:https';
|
|
|
3
3
|
import zlib from 'node:zlib';
|
|
4
4
|
import { pipeline } from 'node:stream/promises';
|
|
5
5
|
import { buildProviderUpstreamHeaders, rewriteResponseHeaders } from './header-policy.js';
|
|
6
|
+
import { createDesktopBridgeRejectionLogger } from './rejection-log.js';
|
|
6
7
|
import { resolveAndBindDesktopBridgeRouteContext, resolveCodexSessionIdentity, resolveDesktopBridgeTarget, safeBridgeErrorCode, singleBridgeHeader } from './security.js';
|
|
7
8
|
import { desktopBridgeListenOrigin } from './state.js';
|
|
8
9
|
import { DesktopBridgeError } from './types.js';
|
|
@@ -120,8 +121,20 @@ function connectTimeout(request, config) {
|
|
|
120
121
|
socket.once('close', () => clearTimeout(timer));
|
|
121
122
|
});
|
|
122
123
|
}
|
|
123
|
-
|
|
124
|
+
const logHttpRejection = createDesktopBridgeRejectionLogger();
|
|
125
|
+
function underlyingErrorCode(error) {
|
|
126
|
+
const code = error?.code;
|
|
127
|
+
return typeof code === 'string' && /^[A-Za-z0-9_]{1,64}$/.test(code) ? code : null;
|
|
128
|
+
}
|
|
129
|
+
function writeHttpBridgeError(res, error, req) {
|
|
124
130
|
const code = safeBridgeErrorCode(error);
|
|
131
|
+
const cause = code === 'bridge_upstream_unavailable' ? underlyingErrorCode(error) : null;
|
|
132
|
+
logHttpRejection({
|
|
133
|
+
code: cause ? `${code}:${cause}` : code,
|
|
134
|
+
transport: 'http',
|
|
135
|
+
...(req?.method === undefined ? {} : { method: req.method }),
|
|
136
|
+
...(req?.url === undefined ? {} : { url: req.url }),
|
|
137
|
+
});
|
|
125
138
|
if (res.headersSent) {
|
|
126
139
|
res.destroy(error instanceof Error ? error : undefined);
|
|
127
140
|
return;
|
|
@@ -215,6 +228,6 @@ export async function forwardHttp(req, res, config, prepared, authenticatedLocal
|
|
|
215
228
|
});
|
|
216
229
|
}
|
|
217
230
|
catch (error) {
|
|
218
|
-
writeHttpBridgeError(res, error);
|
|
231
|
+
writeHttpBridgeError(res, error, req);
|
|
219
232
|
}
|
|
220
233
|
}
|
|
@@ -373,6 +373,9 @@ function nextActionsForBlockers(blockers) {
|
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
375
|
function nextActionForRouteBlocker(scope, blocker) {
|
|
376
|
+
if (scope === 'route-image' && /real_output_unverified|not_verified|unverified/.test(blocker)) {
|
|
377
|
+
return `Image route needs manual readiness (${blocker}): invoke Codex App \`$imagegen\` with gpt-image-2 in a fresh task and record the selected raster output path. No \`sks doctor\` run can satisfy this on its own.`;
|
|
378
|
+
}
|
|
376
379
|
if (scope === 'route-image')
|
|
377
380
|
return `Repair image route capability (${blocker}): run \`sks doctor --fix --full --yes\`, then verify Codex App/image auth.`;
|
|
378
381
|
if (scope === 'route-computer-use')
|
package/dist/core/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '8.6.
|
|
1
|
+
export const PACKAGE_VERSION = '8.6.5';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sneakoscope",
|
|
3
3
|
"displayName": "ㅅㅋㅅ",
|
|
4
|
-
"version": "8.6.
|
|
4
|
+
"version": "8.6.5",
|
|
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",
|