@wrongstack/core 0.305.0 → 0.306.0
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/dist/chronicle/project-server.js +18 -48
- package/dist/coordination/agents/index.js +3 -2
- package/dist/coordination/agents/types.d.ts +1 -1
- package/dist/coordination/index.d.ts +1 -0
- package/dist/coordination/index.js +5 -2
- package/dist/coordination/mailbox-project-server.js +28 -57
- package/dist/core/index.d.ts +2 -1
- package/dist/core/index.js +2764 -2632
- package/dist/core/system-prompt-blocks.d.ts +1 -1
- package/dist/core/system-prompt-builder.d.ts +7 -1
- package/dist/core/system-prompt-glossary.d.ts +0 -23
- package/dist/defaults/index.js +3 -2
- package/dist/execution/index.js +3 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +898 -531
- package/dist/observability/index.js +7 -3
- package/dist/plugin/index.d.ts +4 -3
- package/dist/plugin/index.js +589 -143
- package/dist/plugins/auto-review-plugin.d.ts +14 -7
- package/dist/plugins/chimera-plugin.d.ts +15 -1
- package/dist/plugins/review-finding-integration.d.ts +15 -3
- package/dist/plugins/review-finding-parser.d.ts +36 -0
- package/dist/plugins/review-finding-types.d.ts +46 -0
- package/dist/plugins/review-finding-verification.d.ts +53 -0
- package/dist/plugins/review-report-integration.d.ts +1 -0
- package/dist/plugins/review-report-store.d.ts +7 -0
- package/dist/plugins/review-report-types.d.ts +14 -0
- package/dist/plugins/review-types.d.ts +74 -0
- package/dist/replay/replay-provider-runner.d.ts +5 -4
- package/dist/session-catalog/project-server.js +36 -65
- package/dist/tools/fallback-manage-tool-options.d.ts +9 -0
- package/dist/tools/index.js +91 -38
- package/dist/tools/one-shot-llm-tool.d.ts +6 -0
- package/dist/types/blocks.d.ts +10 -0
- package/dist/types/config/ui.d.ts +7 -4
- package/dist/types/index.js +21 -1
- package/dist/utils/index.js +8 -9
- package/instructions/agents/browser.md +1 -0
- package/instructions/agents/e2e.md +2 -0
- package/instructions/llm/chimera-review.md +52 -1
- package/instructions/system-lite.md +17 -6
- package/instructions/system-pro.md +25 -20
- package/instructions/system.md +25 -12
- package/package.json +3 -3
|
@@ -379,7 +379,10 @@ var SENSITIVE_FLAG_PATTERNS = [
|
|
|
379
379
|
// -t short flag (token): attached (-tVALUE), separated (-t VALUE), or -t=VALUE.
|
|
380
380
|
// The separator group is optional so the attached form (the common one) matches.
|
|
381
381
|
// (?<![-\w]) anchors to a token start so we don't match the `-t` inside `--token`.
|
|
382
|
-
|
|
382
|
+
// The value must be token-like (>= 8 chars) so ordinary combined flags such
|
|
383
|
+
// as `tar -tf` / `ssh -tt` are not eaten. Global flag: EVERY occurrence is
|
|
384
|
+
// redacted, not just the first. Synced with packages/tools _redact-command.ts.
|
|
385
|
+
/(?<![-\w])-t(?:[=\s]+)?[^\s,-]{8,}/g,
|
|
383
386
|
// -p|-password|-a (redis auth) short flags: attached + separated + =value.
|
|
384
387
|
// Same token-start anchor; over-redaction is an accepted tradeoff for a
|
|
385
388
|
// redaction function (false positive = cosmetic noise; false negative = leak).
|
|
@@ -387,8 +390,9 @@ var SENSITIVE_FLAG_PATTERNS = [
|
|
|
387
390
|
// env var–style secrets: TOKEN=x, API_KEY=y, etc.
|
|
388
391
|
/(?:TOKEN|API_KEY|API_SECRET|AUTH_TOKEN|GITHUB_TOKEN|GH_TOKEN|BEARER|JWT|OAUTH|CREDENTIAL|SECRET|PRIVATE_KEY|PASSWORD|PASSWD)\s*[=:]\s*[^\s,]+/gi,
|
|
389
392
|
// Generic high-entropy look: base64 strings >32 chars or hex strings >32 digits — but only
|
|
390
|
-
// when preceded by a flag name (e.g. --github-token=EyJ...).
|
|
391
|
-
|
|
393
|
+
// when preceded by a flag name (e.g. --github-token=EyJ...). Global flag so
|
|
394
|
+
// every such flag in the command line is redacted, not just the first.
|
|
395
|
+
/--\w*(?:token|key|secret|password|passwd|auth|credential)\w*[=\s,][A-Za-z0-9+/=]{32,}/g
|
|
392
396
|
];
|
|
393
397
|
function redactCommand(cmd) {
|
|
394
398
|
let result = cmd;
|
package/dist/plugin/index.d.ts
CHANGED
|
@@ -3,12 +3,13 @@ export { diffPluginConfig, type PluginConfigChange, type PluginConfigSource, typ
|
|
|
3
3
|
export { KERNEL_API_VERSION, loadPlugins, type LoadPluginsOptions, type PluginHostHandle, type PluginLoadFailure, unloadPlugins, } from './loader.js';
|
|
4
4
|
export type { PluginAPI } from '../types/plugin.js';
|
|
5
5
|
export { buildReviewerModelPool, createAutoReviewPlugin, parseReviewSeverity, type ReviewerModelAssignment, selectRoundRobinReviewerAssignment, } from '../plugins/auto-review-plugin.js';
|
|
6
|
-
export { type CascadeAgentKind, CHIMERA_REVIEW_PROMPT, createChimeraPlugin, type ChimeraCascadeNeededPayload, type ChimeraReviewCompletePayload, type ChimeraReviewNeededPayload, type ReviewContextBundle, } from '../plugins/chimera-plugin.js';
|
|
6
|
+
export { type CascadeAgentKind, type CascadeEvidenceCheckResult, type CascadeEvidenceStatus, CHIMERA_REVIEW_PROMPT, createChimeraPlugin, type ChimeraCascadeNeededPayload, type ChimeraReviewCompletePayload, type ChimeraReviewNeededPayload, type ReviewContextBundle, } from '../plugins/chimera-plugin.js';
|
|
7
7
|
export { createPromptsPlugin } from '../plugins/prompts-plugin.js';
|
|
8
8
|
export { emitReviewIfChanged, recordCompletedReview, recordStartedReview, } from '../plugins/review-claim-registry.js';
|
|
9
|
-
export { type FindingsIntegrationResult, integrateFindings, } from '../plugins/review-finding-integration.js';
|
|
9
|
+
export { type FindingsIntegrationResult, classifyChimeraReviewSource, integrateFindings, } from '../plugins/review-finding-integration.js';
|
|
10
10
|
export { type ParsedReviewReport, parseChimeraReviewReport, } from '../plugins/review-finding-parser.js';
|
|
11
|
-
export {
|
|
11
|
+
export { verifyFindingsAgainstDisk, type VerifyFindingsOptions, } from '../plugins/review-finding-verification.js';
|
|
12
|
+
export { persistReviewReport, type ReportIntegrationResult, updateReviewReportEvidence, } from '../plugins/review-report-integration.js';
|
|
12
13
|
export { maybeCompactReviewStores, type ReviewStoreMaintenanceResult, } from '../plugins/review-store-maintenance.js';
|
|
13
14
|
export { createSkillsPlugin } from '../plugins/skills-plugin.js';
|
|
14
15
|
export { createSyncPlugin } from '../plugins/sync-plugin.js';
|