oh-my-copilot 5.18.0 → 5.18.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +3 -3
- package/bridge/__pycache__/gyoshu_bridge.cpython-314.pyc +0 -0
- package/bridge/claude-md-coordinator.cjs +2 -2
- package/bridge/cli.cjs +17691 -14571
- package/bridge/mcp-server.cjs +4624 -1922
- package/bridge/runtime-cli.cjs +2735 -757
- package/bridge/team-bridge.cjs +357 -139
- package/bridge/team-mcp.cjs +922 -645
- package/bridge/team.js +2851 -874
- package/dist/__tests__/delegation-enforcer.test.js +1 -1
- package/dist/__tests__/delegation-enforcer.test.js.map +1 -1
- package/dist/__tests__/hud/cli-diagnostic.test.js +1 -1
- package/dist/__tests__/hud/cli-diagnostic.test.js.map +1 -1
- package/dist/__tests__/pre-tool-enforcer.test.js +3 -0
- package/dist/__tests__/pre-tool-enforcer.test.js.map +1 -1
- package/dist/__tests__/session-start-script-context.test.js +1 -1
- package/dist/__tests__/session-start-script-context.test.js.map +1 -1
- package/dist/__tests__/skills.test.js +9 -0
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/cli/commands/__tests__/smoke-cassette.test.d.ts +2 -0
- package/dist/cli/commands/__tests__/smoke-cassette.test.d.ts.map +1 -0
- package/dist/cli/commands/__tests__/smoke-cassette.test.js +135 -0
- package/dist/cli/commands/__tests__/smoke-cassette.test.js.map +1 -0
- package/dist/cli/commands/smoke.d.ts +41 -2
- package/dist/cli/commands/smoke.d.ts.map +1 -1
- package/dist/cli/commands/smoke.js +103 -6
- package/dist/cli/commands/smoke.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +30 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/copilot-run/__tests__/job.test.js +347 -2
- package/dist/copilot-run/__tests__/job.test.js.map +1 -1
- package/dist/copilot-run/__tests__/sandbox-session.test.d.ts +2 -0
- package/dist/copilot-run/__tests__/sandbox-session.test.d.ts.map +1 -0
- package/dist/copilot-run/__tests__/sandbox-session.test.js +181 -0
- package/dist/copilot-run/__tests__/sandbox-session.test.js.map +1 -0
- package/dist/copilot-run/__tests__/sandbox.test.js +128 -4
- package/dist/copilot-run/__tests__/sandbox.test.js.map +1 -1
- package/dist/copilot-run/job.d.ts +87 -13
- package/dist/copilot-run/job.d.ts.map +1 -1
- package/dist/copilot-run/job.js +517 -177
- package/dist/copilot-run/job.js.map +1 -1
- package/dist/copilot-run/sandbox-session.d.ts +71 -0
- package/dist/copilot-run/sandbox-session.d.ts.map +1 -0
- package/dist/copilot-run/sandbox-session.js +156 -0
- package/dist/copilot-run/sandbox-session.js.map +1 -0
- package/dist/copilot-run/sandbox.d.ts +17 -0
- package/dist/copilot-run/sandbox.d.ts.map +1 -1
- package/dist/copilot-run/sandbox.js +108 -4
- package/dist/copilot-run/sandbox.js.map +1 -1
- package/dist/copilot-run/timeout.d.ts +4 -0
- package/dist/copilot-run/timeout.d.ts.map +1 -0
- package/dist/copilot-run/timeout.js +10 -0
- package/dist/copilot-run/timeout.js.map +1 -0
- package/dist/factory/check/__tests__/cli-ado.test.d.ts +2 -0
- package/dist/factory/check/__tests__/cli-ado.test.d.ts.map +1 -0
- package/dist/factory/check/__tests__/cli-ado.test.js +95 -0
- package/dist/factory/check/__tests__/cli-ado.test.js.map +1 -0
- package/dist/factory/check/__tests__/cli.test.js +2 -1
- package/dist/factory/check/__tests__/cli.test.js.map +1 -1
- package/dist/factory/check/cli.d.ts +17 -1
- package/dist/factory/check/cli.d.ts.map +1 -1
- package/dist/factory/check/cli.js +20 -2
- package/dist/factory/check/cli.js.map +1 -1
- package/dist/factory/heal/__tests__/logs-ado.test.d.ts +2 -0
- package/dist/factory/heal/__tests__/logs-ado.test.d.ts.map +1 -0
- package/dist/factory/heal/__tests__/logs-ado.test.js +39 -0
- package/dist/factory/heal/__tests__/logs-ado.test.js.map +1 -0
- package/dist/factory/heal/classify.d.ts +3 -1
- package/dist/factory/heal/classify.d.ts.map +1 -1
- package/dist/factory/heal/classify.js +4 -2
- package/dist/factory/heal/classify.js.map +1 -1
- package/dist/factory/heal/cli.d.ts +8 -2
- package/dist/factory/heal/cli.d.ts.map +1 -1
- package/dist/factory/heal/cli.js +11 -9
- package/dist/factory/heal/cli.js.map +1 -1
- package/dist/factory/heal/debug-lane.js +1 -1
- package/dist/factory/heal/debug-lane.js.map +1 -1
- package/dist/factory/heal/heal-evidence.d.ts +4 -2
- package/dist/factory/heal/heal-evidence.d.ts.map +1 -1
- package/dist/factory/heal/heal-evidence.js +8 -6
- package/dist/factory/heal/heal-evidence.js.map +1 -1
- package/dist/factory/heal/logs.d.ts +1 -1
- package/dist/factory/heal/logs.d.ts.map +1 -1
- package/dist/factory/heal/logs.js +4 -3
- package/dist/factory/heal/logs.js.map +1 -1
- package/dist/factory/heal/run.d.ts +3 -0
- package/dist/factory/heal/run.d.ts.map +1 -1
- package/dist/factory/heal/run.js +1 -1
- package/dist/factory/heal/run.js.map +1 -1
- package/dist/factory/run/__tests__/engine.sandbox.test.js +30 -2
- package/dist/factory/run/__tests__/engine.sandbox.test.js.map +1 -1
- package/dist/factory/run/__tests__/engine.test.js +31 -1
- package/dist/factory/run/__tests__/engine.test.js.map +1 -1
- package/dist/factory/run/__tests__/fake-lanes.d.ts +2 -0
- package/dist/factory/run/__tests__/fake-lanes.d.ts.map +1 -1
- package/dist/factory/run/__tests__/fake-lanes.js +1 -1
- package/dist/factory/run/__tests__/fake-lanes.js.map +1 -1
- package/dist/factory/run/__tests__/merge-policy.test.d.ts +2 -0
- package/dist/factory/run/__tests__/merge-policy.test.d.ts.map +1 -0
- package/dist/factory/run/__tests__/merge-policy.test.js +40 -0
- package/dist/factory/run/__tests__/merge-policy.test.js.map +1 -0
- package/dist/factory/run/__tests__/prepare-gates.test.js +22 -0
- package/dist/factory/run/__tests__/prepare-gates.test.js.map +1 -1
- package/dist/factory/run/__tests__/units.test.js +12 -1
- package/dist/factory/run/__tests__/units.test.js.map +1 -1
- package/dist/factory/run/engine.d.ts.map +1 -1
- package/dist/factory/run/engine.js +32 -6
- package/dist/factory/run/engine.js.map +1 -1
- package/dist/factory/run/lane-commit.d.ts +10 -1
- package/dist/factory/run/lane-commit.d.ts.map +1 -1
- package/dist/factory/run/lane-commit.js +21 -4
- package/dist/factory/run/lane-commit.js.map +1 -1
- package/dist/factory/run/merge-policy.d.ts +3 -1
- package/dist/factory/run/merge-policy.d.ts.map +1 -1
- package/dist/factory/run/merge-policy.js +8 -2
- package/dist/factory/run/merge-policy.js.map +1 -1
- package/dist/factory/run/review-guard.d.ts +2 -0
- package/dist/factory/run/review-guard.d.ts.map +1 -1
- package/dist/factory/run/review-guard.js +1 -1
- package/dist/factory/run/review-guard.js.map +1 -1
- package/dist/factory/run/state.d.ts +13 -0
- package/dist/factory/run/state.d.ts.map +1 -1
- package/dist/factory/run/state.js +20 -5
- package/dist/factory/run/state.js.map +1 -1
- package/dist/features/builtin-skills/skills.js +1 -1
- package/dist/features/builtin-skills/skills.js.map +1 -1
- package/dist/features/delegation-enforcer.d.ts.map +1 -1
- package/dist/features/delegation-enforcer.js +2 -6
- package/dist/features/delegation-enforcer.js.map +1 -1
- package/dist/forge/__tests__/gh-argv-baseline.heal.test.js +52 -2
- package/dist/forge/__tests__/gh-argv-baseline.heal.test.js.map +1 -1
- package/dist/forge/ado/__tests__/acceptance-scripts.test.d.ts +8 -0
- package/dist/forge/ado/__tests__/acceptance-scripts.test.d.ts.map +1 -0
- package/dist/forge/ado/__tests__/acceptance-scripts.test.js +567 -0
- package/dist/forge/ado/__tests__/acceptance-scripts.test.js.map +1 -0
- package/dist/forge/ado/__tests__/az-binary.test.js +4 -0
- package/dist/forge/ado/__tests__/az-binary.test.js.map +1 -1
- package/dist/forge/ado/__tests__/failed-jobs.test.d.ts +2 -0
- package/dist/forge/ado/__tests__/failed-jobs.test.d.ts.map +1 -0
- package/dist/forge/ado/__tests__/failed-jobs.test.js +96 -0
- package/dist/forge/ado/__tests__/failed-jobs.test.js.map +1 -0
- package/dist/forge/ado/az-binary.d.ts +2 -1
- package/dist/forge/ado/az-binary.d.ts.map +1 -1
- package/dist/forge/ado/az-binary.js +3 -2
- package/dist/forge/ado/az-binary.js.map +1 -1
- package/dist/forge/ado/checks.d.ts.map +1 -1
- package/dist/forge/ado/checks.js +30 -0
- package/dist/forge/ado/checks.js.map +1 -1
- package/dist/forge/github/ci.d.ts +2 -0
- package/dist/forge/github/ci.d.ts.map +1 -1
- package/dist/forge/github/ci.js +3 -0
- package/dist/forge/github/ci.js.map +1 -1
- package/dist/forge/types.d.ts +2 -0
- package/dist/forge/types.d.ts.map +1 -1
- package/dist/hooks/autopilot/__tests__/pipeline.test.js +1 -1
- package/dist/hooks/autopilot/__tests__/pipeline.test.js.map +1 -1
- package/dist/hooks/autopilot/adapters/execution-adapter.js +3 -3
- package/dist/hooks/autopilot/adapters/execution-adapter.js.map +1 -1
- package/dist/hooks/keyword-detector/__tests__/index.test.js +4 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.js.map +1 -1
- package/dist/hooks/keyword-detector/__tests__/jev-shadow.test.js +7 -0
- package/dist/hooks/keyword-detector/__tests__/jev-shadow.test.js.map +1 -1
- package/dist/hooks/keyword-detector/index.d.ts +1 -1
- package/dist/hooks/keyword-detector/index.js +4 -4
- package/dist/hooks/keyword-detector/index.js.map +1 -1
- package/dist/hooks/keyword-detector/jev-shadow.js +1 -1
- package/dist/hooks/keyword-detector/jev-shadow.js.map +1 -1
- package/dist/hud/index.js +1 -1
- package/dist/hud/index.js.map +1 -1
- package/dist/mcp/__tests__/host-smoke-tool.test.js +14 -0
- package/dist/mcp/__tests__/host-smoke-tool.test.js.map +1 -1
- package/dist/ship/gates.d.ts +9 -3
- package/dist/ship/gates.d.ts.map +1 -1
- package/dist/ship/gates.js +24 -7
- package/dist/ship/gates.js.map +1 -1
- package/dist/smoke/__tests__/copilot-sdk-driver.test.js +129 -4
- package/dist/smoke/__tests__/copilot-sdk-driver.test.js.map +1 -1
- package/dist/smoke/__tests__/copilot-session-env.test.d.ts +2 -0
- package/dist/smoke/__tests__/copilot-session-env.test.d.ts.map +1 -0
- package/dist/smoke/__tests__/copilot-session-env.test.js +29 -0
- package/dist/smoke/__tests__/copilot-session-env.test.js.map +1 -0
- package/dist/smoke/__tests__/copilot-team-scenario.test.js +3 -0
- package/dist/smoke/__tests__/copilot-team-scenario.test.js.map +1 -1
- package/dist/smoke/copilot-sdk-driver.d.ts +37 -1
- package/dist/smoke/copilot-sdk-driver.d.ts.map +1 -1
- package/dist/smoke/copilot-sdk-driver.js +114 -10
- package/dist/smoke/copilot-sdk-driver.js.map +1 -1
- package/dist/smoke/copilot-sdk-scenarios.d.ts +27 -0
- package/dist/smoke/copilot-sdk-scenarios.d.ts.map +1 -1
- package/dist/smoke/copilot-sdk-scenarios.js +31 -0
- package/dist/smoke/copilot-sdk-scenarios.js.map +1 -1
- package/dist/smoke/copilot-session-env.d.ts +38 -1
- package/dist/smoke/copilot-session-env.d.ts.map +1 -1
- package/dist/smoke/copilot-session-env.js +82 -1
- package/dist/smoke/copilot-session-env.js.map +1 -1
- package/dist/smoke/copilot-smoke.d.ts +21 -1
- package/dist/smoke/copilot-smoke.d.ts.map +1 -1
- package/dist/smoke/copilot-smoke.js +86 -6
- package/dist/smoke/copilot-smoke.js.map +1 -1
- package/dist/smoke/copilot-team-scenario.d.ts +4 -2
- package/dist/smoke/copilot-team-scenario.d.ts.map +1 -1
- package/dist/smoke/copilot-team-scenario.js +5 -4
- package/dist/smoke/copilot-team-scenario.js.map +1 -1
- package/dist/smoke/replay/__tests__/cassette.test.d.ts +2 -0
- package/dist/smoke/replay/__tests__/cassette.test.d.ts.map +1 -0
- package/dist/smoke/replay/__tests__/cassette.test.js +387 -0
- package/dist/smoke/replay/__tests__/cassette.test.js.map +1 -0
- package/dist/smoke/replay/__tests__/handler.test.d.ts +2 -0
- package/dist/smoke/replay/__tests__/handler.test.d.ts.map +1 -0
- package/dist/smoke/replay/__tests__/handler.test.js +367 -0
- package/dist/smoke/replay/__tests__/handler.test.js.map +1 -0
- package/dist/smoke/replay/__tests__/matcher.test.d.ts +2 -0
- package/dist/smoke/replay/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/smoke/replay/__tests__/matcher.test.js +318 -0
- package/dist/smoke/replay/__tests__/matcher.test.js.map +1 -0
- package/dist/smoke/replay/__tests__/normalize.test.d.ts +2 -0
- package/dist/smoke/replay/__tests__/normalize.test.d.ts.map +1 -0
- package/dist/smoke/replay/__tests__/normalize.test.js +53 -0
- package/dist/smoke/replay/__tests__/normalize.test.js.map +1 -0
- package/dist/smoke/replay/__tests__/redact.test.d.ts +2 -0
- package/dist/smoke/replay/__tests__/redact.test.d.ts.map +1 -0
- package/dist/smoke/replay/__tests__/redact.test.js +453 -0
- package/dist/smoke/replay/__tests__/redact.test.js.map +1 -0
- package/dist/smoke/replay/__tests__/run.test.d.ts +2 -0
- package/dist/smoke/replay/__tests__/run.test.d.ts.map +1 -0
- package/dist/smoke/replay/__tests__/run.test.js +311 -0
- package/dist/smoke/replay/__tests__/run.test.js.map +1 -0
- package/dist/smoke/replay/cassette.d.ts +210 -0
- package/dist/smoke/replay/cassette.d.ts.map +1 -0
- package/dist/smoke/replay/cassette.js +580 -0
- package/dist/smoke/replay/cassette.js.map +1 -0
- package/dist/smoke/replay/handler.d.ts +221 -0
- package/dist/smoke/replay/handler.d.ts.map +1 -0
- package/dist/smoke/replay/handler.js +702 -0
- package/dist/smoke/replay/handler.js.map +1 -0
- package/dist/smoke/replay/matcher.d.ts +194 -0
- package/dist/smoke/replay/matcher.d.ts.map +1 -0
- package/dist/smoke/replay/matcher.js +344 -0
- package/dist/smoke/replay/matcher.js.map +1 -0
- package/dist/smoke/replay/normalize.d.ts +35 -0
- package/dist/smoke/replay/normalize.d.ts.map +1 -0
- package/dist/smoke/replay/normalize.js +64 -0
- package/dist/smoke/replay/normalize.js.map +1 -0
- package/dist/smoke/replay/redact.d.ts +151 -0
- package/dist/smoke/replay/redact.d.ts.map +1 -0
- package/dist/smoke/replay/redact.js +577 -0
- package/dist/smoke/replay/redact.js.map +1 -0
- package/dist/smoke/replay/run.d.ts +119 -0
- package/dist/smoke/replay/run.d.ts.map +1 -0
- package/dist/smoke/replay/run.js +302 -0
- package/dist/smoke/replay/run.js.map +1 -0
- package/dist/team/__tests__/sdk-transport.test.js +334 -6
- package/dist/team/__tests__/sdk-transport.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.pane-env.test.js +13 -13
- package/dist/team/__tests__/tmux-session.pane-env.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.spawn.test.js +12 -0
- package/dist/team/__tests__/tmux-session.spawn.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.split-pane-env.test.js +2 -2
- package/dist/team/__tests__/tmux-session.split-pane-env.test.js.map +1 -1
- package/dist/team/__tests__/worker-launch-ack.test.js +173 -9
- package/dist/team/__tests__/worker-launch-ack.test.js.map +1 -1
- package/dist/team/git-worktree.d.ts.map +1 -1
- package/dist/team/git-worktree.js +2 -1
- package/dist/team/git-worktree.js.map +1 -1
- package/dist/team/model-contract.d.ts.map +1 -1
- package/dist/team/model-contract.js +3 -2
- package/dist/team/model-contract.js.map +1 -1
- package/dist/team/sdk-host.d.ts +44 -0
- package/dist/team/sdk-host.d.ts.map +1 -1
- package/dist/team/sdk-host.js +147 -5
- package/dist/team/sdk-host.js.map +1 -1
- package/dist/team/sdk-policy.d.ts +17 -0
- package/dist/team/sdk-policy.d.ts.map +1 -1
- package/dist/team/sdk-policy.js +79 -1
- package/dist/team/sdk-policy.js.map +1 -1
- package/dist/team/sdk-transport.d.ts +15 -0
- package/dist/team/sdk-transport.d.ts.map +1 -1
- package/dist/team/sdk-transport.js +54 -9
- package/dist/team/sdk-transport.js.map +1 -1
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +5 -0
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/worker-launch-ack.d.ts +3 -1
- package/dist/team/worker-launch-ack.d.ts.map +1 -1
- package/dist/team/worker-launch-ack.js +73 -8
- package/dist/team/worker-launch-ack.js.map +1 -1
- package/dist/tools/host-smoke-tool.d.ts +5 -1
- package/dist/tools/host-smoke-tool.d.ts.map +1 -1
- package/dist/tools/host-smoke-tool.js +26 -3
- package/dist/tools/host-smoke-tool.js.map +1 -1
- package/dist/workflow/__tests__/alias-resolver.test.js +2 -0
- package/dist/workflow/__tests__/alias-resolver.test.js.map +1 -1
- package/dist/workflow/alias-resolver.js +2 -2
- package/dist/workflow/alias-resolver.js.map +1 -1
- package/docs/CLAUDE.md +3 -2
- package/docs/REFERENCE.md +69 -4
- package/docs/copilot-instructions.md +6 -5
- package/package.json +2 -2
- package/plugin.json +1 -1
- package/scripts/ado-acceptance.mjs +611 -0
- package/scripts/ado-capture.mjs +320 -0
- package/scripts/ado-fixture-import.mjs +293 -0
- package/scripts/keyword-detector.mjs +2 -2
- package/scripts/lib/backlog-to-workitems.mjs +115 -0
- package/scripts/persistent-mode.cjs +1 -1
- package/scripts/persistent-mode.mjs +1 -1
- package/scripts/pre-tool-enforcer.mjs +1 -1
- package/scripts/session-start.mjs +3 -3
- package/scripts/setup-copilot-instructions.sh +1 -1
- package/scripts/spikes/request-handler-probe.mjs +186 -0
- package/skills/autopilot/SKILL.md +3 -3
- package/skills/cancel/SKILL.md +1 -1
- package/skills/ship/SKILL.md +2 -2
- package/skills/team/SKILL.md +3 -3
- package/templates/hooks/keyword-detector.mjs +1 -1
- package/templates/hooks/pre-tool-use.mjs +1 -1
- package/bridge/__pycache__/gyoshu_bridge.cpython-312.pyc +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request normalization for cassette digests (design:
|
|
3
|
+
* .omc/plans/2026-10-29-copilot-replay-design.md, section 4). The recorder and
|
|
4
|
+
* the replay matcher both digest `normalize(text)`, so run-specific noise
|
|
5
|
+
* (dirs, ids, clocks, pids, durations) never makes two equivalent requests differ.
|
|
6
|
+
*
|
|
7
|
+
* Changing any rule here changes digests: bump {@link NORMALIZER_VERSION} and
|
|
8
|
+
* the cassette version together.
|
|
9
|
+
*/
|
|
10
|
+
import { type PlaceholderDirs, type Redactor } from './redact.js';
|
|
11
|
+
export declare const NORMALIZER_VERSION = 1;
|
|
12
|
+
/** The stored `delta` is cut at this many UTF-8 bytes. */
|
|
13
|
+
export declare const DELTA_MAX_BYTES = 4096;
|
|
14
|
+
export interface NormalizeOptions {
|
|
15
|
+
/** This machine's dirs, substituted with `${NAME}` placeholders first (section 5, rule 6). */
|
|
16
|
+
dirs?: PlaceholderDirs;
|
|
17
|
+
}
|
|
18
|
+
/** Normalize text for digesting: placeholders, LF line ends, no trailing whitespace, run-specific tokens masked. */
|
|
19
|
+
export declare function normalize(text: string, options?: NormalizeOptions): string;
|
|
20
|
+
/** `sha256:<hex>` of a string. */
|
|
21
|
+
export declare function digest(text: string): string;
|
|
22
|
+
/** Digest of the normalized text. */
|
|
23
|
+
export declare function normalizedDigest(text: string, options?: NormalizeOptions): string;
|
|
24
|
+
/**
|
|
25
|
+
* Cut `text` to at most `maxBytes` UTF-8 bytes without splitting a character,
|
|
26
|
+
* marking the cut. Text that fits is returned unchanged.
|
|
27
|
+
*/
|
|
28
|
+
export declare function truncateUtf8(text: string, maxBytes?: number): string;
|
|
29
|
+
/**
|
|
30
|
+
* The stored `delta` of a request: redact, then normalize, then truncate.
|
|
31
|
+
* Redacting first means the cut can never leave part of a token below the
|
|
32
|
+
* length its pattern needs.
|
|
33
|
+
*/
|
|
34
|
+
export declare function diskDelta(text: string, redactor: Redactor, maxBytes?: number): string;
|
|
35
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../src/smoke/replay/normalize.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAmB,KAAK,eAAe,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEnF,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,0DAA0D;AAC1D,eAAO,MAAM,eAAe,OAAO,CAAC;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,8FAA8F;IAC9F,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;AAaD,oHAAoH;AACpH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB,GAAG,MAAM,CAK9E;AAED,kCAAkC;AAClC,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3C;AAED,qCAAqC;AACrC,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB,GAAG,MAAM,CAErF;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAwB,GAAG,MAAM,CAQrF;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,GAAE,MAAwB,GAAG,MAAM,CAEtG"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request normalization for cassette digests (design:
|
|
3
|
+
* .omc/plans/2026-10-29-copilot-replay-design.md, section 4). The recorder and
|
|
4
|
+
* the replay matcher both digest `normalize(text)`, so run-specific noise
|
|
5
|
+
* (dirs, ids, clocks, pids, durations) never makes two equivalent requests differ.
|
|
6
|
+
*
|
|
7
|
+
* Changing any rule here changes digests: bump {@link NORMALIZER_VERSION} and
|
|
8
|
+
* the cassette version together.
|
|
9
|
+
*/
|
|
10
|
+
import { createHash } from 'crypto';
|
|
11
|
+
import { substitutePaths } from './redact.js';
|
|
12
|
+
export const NORMALIZER_VERSION = 1;
|
|
13
|
+
/** The stored `delta` is cut at this many UTF-8 bytes. */
|
|
14
|
+
export const DELTA_MAX_BYTES = 4096;
|
|
15
|
+
// Order matters: UUIDs before hex runs (a UUID's last group is 12 hex digits),
|
|
16
|
+
// ISO timestamps before epoch-ms (both hold digit runs).
|
|
17
|
+
const RULES = [
|
|
18
|
+
[/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi, '<uuid>'],
|
|
19
|
+
[/\b\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?(?:Z|[+-]\d{2}:?\d{2})?\b/g, '<ts>'],
|
|
20
|
+
[/\b1\d{12}\b/g, '<ts>'],
|
|
21
|
+
[/\b[0-9a-f]{12,}\b/gi, '<hex>'],
|
|
22
|
+
[/\bpid \d+/gi, 'pid <n>'],
|
|
23
|
+
[/\b\d+(?:\.\d+)? ?ms\b/g, '<ms>'],
|
|
24
|
+
];
|
|
25
|
+
/** Normalize text for digesting: placeholders, LF line ends, no trailing whitespace, run-specific tokens masked. */
|
|
26
|
+
export function normalize(text, options = {}) {
|
|
27
|
+
let out = options.dirs ? substitutePaths(text, options.dirs) : text;
|
|
28
|
+
out = out.replace(/\r\n?/g, '\n').replace(/[ \t]+$/gm, '');
|
|
29
|
+
for (const [pattern, replacement] of RULES)
|
|
30
|
+
out = out.replace(pattern, replacement);
|
|
31
|
+
return out.replace(/\s+$/, '');
|
|
32
|
+
}
|
|
33
|
+
/** `sha256:<hex>` of a string. */
|
|
34
|
+
export function digest(text) {
|
|
35
|
+
return `sha256:${createHash('sha256').update(text, 'utf8').digest('hex')}`;
|
|
36
|
+
}
|
|
37
|
+
/** Digest of the normalized text. */
|
|
38
|
+
export function normalizedDigest(text, options = {}) {
|
|
39
|
+
return digest(normalize(text, options));
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Cut `text` to at most `maxBytes` UTF-8 bytes without splitting a character,
|
|
43
|
+
* marking the cut. Text that fits is returned unchanged.
|
|
44
|
+
*/
|
|
45
|
+
export function truncateUtf8(text, maxBytes = DELTA_MAX_BYTES) {
|
|
46
|
+
const bytes = Buffer.from(text, 'utf8');
|
|
47
|
+
if (bytes.length <= maxBytes)
|
|
48
|
+
return text;
|
|
49
|
+
const marker = '…[truncated]';
|
|
50
|
+
let end = Math.max(0, maxBytes - Buffer.byteLength(marker, 'utf8'));
|
|
51
|
+
// Back off continuation bytes (10xxxxxx) so the cut lands on a character boundary.
|
|
52
|
+
while (end > 0 && (bytes[end] & 0xc0) === 0x80)
|
|
53
|
+
end--;
|
|
54
|
+
return bytes.subarray(0, end).toString('utf8') + marker;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The stored `delta` of a request: redact, then normalize, then truncate.
|
|
58
|
+
* Redacting first means the cut can never leave part of a token below the
|
|
59
|
+
* length its pattern needs.
|
|
60
|
+
*/
|
|
61
|
+
export function diskDelta(text, redactor, maxBytes = DELTA_MAX_BYTES) {
|
|
62
|
+
return truncateUtf8(normalize(redactor.redact(text)), maxBytes);
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=normalize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.js","sourceRoot":"","sources":["../../../src/smoke/replay/normalize.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,eAAe,EAAuC,MAAM,aAAa,CAAC;AAEnF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC;AACpC,0DAA0D;AAC1D,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC;AAOpC,+EAA+E;AAC/E,yDAAyD;AACzD,MAAM,KAAK,GAA6C;IACtD,CAAC,oEAAoE,EAAE,QAAQ,CAAC;IAChF,CAAC,mFAAmF,EAAE,MAAM,CAAC;IAC7F,CAAC,cAAc,EAAE,MAAM,CAAC;IACxB,CAAC,qBAAqB,EAAE,OA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IAC9B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,mFAAmF;IACnF,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,KAAK,IAAI;QAAE,GAAG,EAAE,CAAC;IACtD,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAC1D,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAC,IAAY,EAAE,QAAkB,EAAE,WAAmB,eAAe;IAC5F,OAAO,YAAY,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cassette redaction (design: .omc/plans/2026-10-29-copilot-replay-design.md,
|
|
3
|
+
* section 5). Two entry points over the same rule set:
|
|
4
|
+
*
|
|
5
|
+
* - {@link Redactor.redact}: the recording side. Rewrites a string before any
|
|
6
|
+
* byte of it is buffered for disk and counts hits per rule.
|
|
7
|
+
* - {@link scanForSecrets}: the gate. Detect-only: rules 3 to 5 plus the
|
|
8
|
+
* user-home path fallback, and every deny-set literal when one is known.
|
|
9
|
+
* Any hit fails the gate; callers never write or import a cassette that has one.
|
|
10
|
+
*
|
|
11
|
+
* Strings may hold JSON (a body, an SSE `data:` payload) and JSON inside JSON
|
|
12
|
+
* (tool-call `arguments`), so literals and paths are matched in their plain,
|
|
13
|
+
* once- and twice-JSON-escaped spellings.
|
|
14
|
+
*/
|
|
15
|
+
import type { CassetteResponse } from './cassette.js';
|
|
16
|
+
/** Bumped whenever a rule changes what is redacted (recorded as `manifest.redaction.rules`). */
|
|
17
|
+
export declare const REDACTION_RULES_VERSION = 1;
|
|
18
|
+
/** Rule 1: request headers kept on disk (lower case). Everything else, `authorization` first, is dropped. */
|
|
19
|
+
export declare const REQUEST_HEADER_ALLOW: readonly ["content-type", "accept", "x-initiator", "openai-intent", "x-interaction-type", "copilot-vision-request"];
|
|
20
|
+
/** Rule 2: response headers kept on disk (lower case), plus every `x-ratelimit-*`. */
|
|
21
|
+
export declare const RESPONSE_HEADER_ALLOW: readonly ["content-type"];
|
|
22
|
+
/** Replaces each deny-set literal (rule 3). */
|
|
23
|
+
export declare const SECRET_PLACEHOLDER = "<secret>";
|
|
24
|
+
/** Rule 5 replacement for every email outside the reserved example domains. */
|
|
25
|
+
export declare const EMAIL_PLACEHOLDER = "user@example.invalid";
|
|
26
|
+
/** Minimum length of an env value that joins the deny set (shorter values would shred ordinary text). */
|
|
27
|
+
export declare const MIN_DENY_LITERAL_LENGTH = 8;
|
|
28
|
+
/** Rule 6 placeholder names, in the order the design lists them. */
|
|
29
|
+
export declare const PATH_PLACEHOLDERS: readonly ["PROJECT", "HOME", "ROOT", "REMOTE", "TMP", "USERHOME"];
|
|
30
|
+
export type PathPlaceholder = typeof PATH_PLACEHOLDERS[number];
|
|
31
|
+
/** The machine's directories behind each placeholder (record side: the smoke's dirs; replay side: the replay sandbox's). */
|
|
32
|
+
export type PlaceholderDirs = Partial<Record<PathPlaceholder, string>>;
|
|
33
|
+
export interface RedactionIdentity {
|
|
34
|
+
/** `os.userInfo().username`. */
|
|
35
|
+
user?: string;
|
|
36
|
+
/** `os.hostname()`. */
|
|
37
|
+
host?: string;
|
|
38
|
+
/** The Copilot login (`lastLoggedInUser.login`). */
|
|
39
|
+
login?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface RedactorOptions {
|
|
42
|
+
/** Rule 3: known secret literals (memory only, never written). Build with {@link buildDenySet}. */
|
|
43
|
+
denyLiterals?: Iterable<string>;
|
|
44
|
+
/** Rule 6: directories to turn into `${NAME}` placeholders. */
|
|
45
|
+
dirs?: PlaceholderDirs;
|
|
46
|
+
/** Rule 5: identity strings. */
|
|
47
|
+
identity?: RedactionIdentity;
|
|
48
|
+
}
|
|
49
|
+
export interface SecretHit {
|
|
50
|
+
rule: string;
|
|
51
|
+
/** Offset of the match in the scanned text. */
|
|
52
|
+
index: number;
|
|
53
|
+
/** The match, masked for printing; the raw value is never returned. */
|
|
54
|
+
masked: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Rule 3's deny set: the bearer part of every Authorization value the handler
|
|
58
|
+
* saw, every credential-named env value of at least
|
|
59
|
+
* {@link MIN_DENY_LITERAL_LENGTH} characters (a git config value only when its
|
|
60
|
+
* key is credential-bearing), and the sdk host's stdin credentials. Memory only.
|
|
61
|
+
*/
|
|
62
|
+
export declare function buildDenySet(sources: {
|
|
63
|
+
env?: NodeJS.ProcessEnv;
|
|
64
|
+
authorizations?: Iterable<string>;
|
|
65
|
+
credentials?: Iterable<string>;
|
|
66
|
+
}): Set<string>;
|
|
67
|
+
/** Rule 1: keep only allowlisted request headers, lower-cased. */
|
|
68
|
+
export declare function filterRequestHeaders(headers: Record<string, string>): Record<string, string>;
|
|
69
|
+
export declare function isAllowedResponseHeader(key: string): boolean;
|
|
70
|
+
/** Rule 2: keep only allowlisted response headers, lower-cased. */
|
|
71
|
+
export declare function filterResponseHeaders(headers: Record<string, string>): Record<string, string>;
|
|
72
|
+
/** The event blocks of an SSE stream, without the blank line ending each. Pass the chunks joined: a chunk boundary may fall anywhere. */
|
|
73
|
+
export declare function sseBlocks(text: string): string[];
|
|
74
|
+
/** The raw `data:` payload of one SSE block (its `data:` lines joined). */
|
|
75
|
+
export declare function sseDataText(block: string): string;
|
|
76
|
+
/** The parsed `data:` payload of one SSE block (undefined when it is not JSON, e.g. `[DONE]`). */
|
|
77
|
+
export declare function sseData(block: string): unknown;
|
|
78
|
+
/**
|
|
79
|
+
* The joined text of every streamed field split over two or more deltas. The
|
|
80
|
+
* gate scans these: a secret split across SSE chunks or WebSocket messages
|
|
81
|
+
* only shows once its deltas are joined.
|
|
82
|
+
*/
|
|
83
|
+
export declare function reassembledDeltas(events: readonly unknown[]): string[];
|
|
84
|
+
/** Each WebSocket message's parsed JSON (undefined when it is not JSON). */
|
|
85
|
+
export declare function wsData(messages: readonly {
|
|
86
|
+
data: string;
|
|
87
|
+
}[]): unknown[];
|
|
88
|
+
/**
|
|
89
|
+
* Turn the machine's dirs into `${NAME}` placeholders (rule 6). Used by the
|
|
90
|
+
* recorder through {@link Redactor} and by the replay side before digesting a
|
|
91
|
+
* live request, so both sides normalize to the same text.
|
|
92
|
+
*/
|
|
93
|
+
export declare function substitutePaths(text: string, dirs: PlaceholderDirs, onHit?: (rule: string) => void): string;
|
|
94
|
+
export interface RestoreOptions {
|
|
95
|
+
/**
|
|
96
|
+
* How many JSON string levels the placeholders sit inside (0: plain text,
|
|
97
|
+
* 1: a JSON body or SSE payload, 2: a tool call's `arguments` string inside
|
|
98
|
+
* one). Default 0. Only matters for dirs that contain `\` or `"`.
|
|
99
|
+
*/
|
|
100
|
+
jsonDepth?: number;
|
|
101
|
+
/** `/` (default) writes Windows dirs with forward slashes, which needs no escaping; `native` keeps the dir's own separator. */
|
|
102
|
+
separator?: '/' | 'native';
|
|
103
|
+
}
|
|
104
|
+
/** Substitute `${NAME}` placeholders back with this machine's dirs (the replay side of rule 6). */
|
|
105
|
+
export declare function restorePlaceholders(text: string, dirs: PlaceholderDirs, options?: RestoreOptions): string;
|
|
106
|
+
/**
|
|
107
|
+
* The recording-side redactor. One instance per recording: it holds the deny
|
|
108
|
+
* set and the dirs, and accumulates `hits` for the manifest.
|
|
109
|
+
*/
|
|
110
|
+
export declare class Redactor {
|
|
111
|
+
readonly hits: Record<string, number>;
|
|
112
|
+
private readonly literals;
|
|
113
|
+
private readonly dirs;
|
|
114
|
+
private readonly identity;
|
|
115
|
+
constructor(options?: RedactorOptions);
|
|
116
|
+
private count;
|
|
117
|
+
redact(text: string): string;
|
|
118
|
+
/**
|
|
119
|
+
* Redact one response for disk: rule 2 on the headers, then the body. A
|
|
120
|
+
* streamed text field split over several SSE events or WebSocket messages
|
|
121
|
+
* is redacted as its joined text; when that changes it, the whole redacted
|
|
122
|
+
* text goes into the field's first delta and its later deltas become empty,
|
|
123
|
+
* so every event stays valid and the stream still joins to the redacted
|
|
124
|
+
* text. SSE chunks are re-cut one per event (a recorded chunk boundary can
|
|
125
|
+
* fall inside an event); replay serves the one stored response either way.
|
|
126
|
+
*/
|
|
127
|
+
redactResponse(res: CassetteResponse): CassetteResponse;
|
|
128
|
+
/**
|
|
129
|
+
* Redact a stream's SDK session events for disk (`events/<stream>.jsonl`).
|
|
130
|
+
* Delta events (`assistant.message_delta`, `assistant.tool_call_delta`, ...)
|
|
131
|
+
* are redacted per message as their joined text, as {@link redactResponse} does.
|
|
132
|
+
*/
|
|
133
|
+
redactEvents<T>(events: readonly T[]): T[];
|
|
134
|
+
/** Redact each split streamed field as its joined text, in place; returns the numbers of the events it rewrote. */
|
|
135
|
+
private redactDeltas;
|
|
136
|
+
/** Redact every string (values and keys) in a JSON-shaped value. */
|
|
137
|
+
redactValue<T>(value: T): T;
|
|
138
|
+
}
|
|
139
|
+
export interface ScanOptions {
|
|
140
|
+
/** Deny-set literals to look for (record time). */
|
|
141
|
+
denyLiterals?: Iterable<string>;
|
|
142
|
+
/** Identity strings to look for (record time). */
|
|
143
|
+
identity?: RedactionIdentity;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The gate's detect-only pass over one text: rule 3 (deny set), rule 4
|
|
147
|
+
* (token patterns), rule 5 (emails, identity) and user-home paths. Returns
|
|
148
|
+
* every hit with its value masked; an empty list is the only passing result.
|
|
149
|
+
*/
|
|
150
|
+
export declare function scanForSecrets(text: string, options?: ScanOptions): SecretHit[];
|
|
151
|
+
//# sourceMappingURL=redact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redact.d.ts","sourceRoot":"","sources":["../../../src/smoke/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