opencode-acp 1.14.13 → 1.14.14-dev.1
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 +11 -1
- package/README.zh-CN.md +11 -1
- package/dist/index.js +166 -53
- package/dist/index.js.map +1 -1
- package/dist/lib/compress/hide-consumed.d.ts +12 -0
- package/dist/lib/compress/hide-consumed.d.ts.map +1 -1
- package/dist/lib/compress/pipeline.d.ts +77 -1
- package/dist/lib/compress/pipeline.d.ts.map +1 -1
- package/dist/lib/compress/range-utils.d.ts +3 -1
- package/dist/lib/compress/range-utils.d.ts.map +1 -1
- package/dist/lib/compress/range.d.ts.map +1 -1
- package/dist/lib/compress/search.d.ts +3 -1
- package/dist/lib/compress/search.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
import type { SessionState, WithParts } from "../state";
|
|
2
|
+
/**
|
|
3
|
+
* Hide compress tool calls whose blocks have all been consumed by a higher-tier
|
|
4
|
+
* distillation, and for batched calls where only some sibling blocks are
|
|
5
|
+
* consumed, rewrite the surviving tool part to carry only the still-live
|
|
6
|
+
* entries' summaries.
|
|
7
|
+
*
|
|
8
|
+
* Decided per-block, not per-callID: a single batched `compress` call (multiple
|
|
9
|
+
* `content[]` entries) creates multiple blocks sharing one `compressCallId`.
|
|
10
|
+
* Keying on the callId (1:N) lets one live sibling rescue consumed batch-mates,
|
|
11
|
+
* permanently leaking their summary text — unreclaimable because `compress` is
|
|
12
|
+
* in the default protected-tools list. See upstream issue #288.
|
|
13
|
+
*/
|
|
2
14
|
export declare function hideConsumedCompressCalls(state: SessionState, messages: WithParts[]): number;
|
|
3
15
|
//# sourceMappingURL=hide-consumed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hide-consumed.d.ts","sourceRoot":"","sources":["../../../lib/compress/hide-consumed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hide-consumed.d.ts","sourceRoot":"","sources":["../../../lib/compress/hide-consumed.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAoB,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAgDzE;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,MAAM,CAqE5F"}
|
|
@@ -36,11 +36,87 @@ export declare function finalizeSession(ctx: ToolContext, toolCtx: RunContext, r
|
|
|
36
36
|
* Returns null if no visible message exists.
|
|
37
37
|
*/
|
|
38
38
|
export declare function getLastVisibleMessageId(rawMessages: WithParts[], state: SessionState): string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Per-phantom diagnostics used in error / skip-notice messages (issue #290).
|
|
41
|
+
*/
|
|
42
|
+
export interface PhantomPlanDetail {
|
|
43
|
+
/** 0-based index in the input plans array. */
|
|
44
|
+
index: number;
|
|
45
|
+
/** Sample of message IDs in the effective set that are already compressed. */
|
|
46
|
+
consumedMessageIds: string[];
|
|
47
|
+
/** Block IDs owning those messages (sorted ascending). */
|
|
48
|
+
owningBlockIds: number[];
|
|
49
|
+
}
|
|
50
|
+
export interface PhantomIdentification {
|
|
51
|
+
/** Indices of plans that are phantom (no new messages to compress). */
|
|
52
|
+
phantomIndices: number[];
|
|
53
|
+
/** Per-phantom diagnostics for error / skip-notice messages. */
|
|
54
|
+
details: PhantomPlanDetail[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Identify which plans in a batch are phantom (would produce 0 new compressed
|
|
58
|
+
* messages). Stateless pre-check mirroring applyCompressionState's
|
|
59
|
+
* newlyCompressedMessageIds computation: a message is "new" iff it has no
|
|
60
|
+
* byMessageId entry OR its activeBlockIds is empty.
|
|
61
|
+
*
|
|
62
|
+
* Returns per-plan diagnostics so callers can implement partial-failure
|
|
63
|
+
* batches (issue #290 fix A): skip phantom entries, compress the valid ones,
|
|
64
|
+
* and report which entries / IDs / blocks conflicted (fix C).
|
|
65
|
+
*
|
|
66
|
+
* Multi-consumed single-tier carve-out: a higher-tier distillation that merges
|
|
67
|
+
* sibling blocks of the SAME tier is allowed even when every message is
|
|
68
|
+
* already active under those siblings (the merge itself is the value).
|
|
69
|
+
* Matches the historical exception in checkPhantomBlock.
|
|
70
|
+
*
|
|
71
|
+
* Fix for issue #93/#290: empty compression blocks waste context (summary
|
|
72
|
+
* overhead with no token savings) and cause compression loops.
|
|
73
|
+
*/
|
|
74
|
+
export declare function identifyPhantomPlans(state: SessionState, plans: Array<{
|
|
75
|
+
messageIds: string[];
|
|
76
|
+
consumedBlockIds: number[];
|
|
77
|
+
}>): PhantomIdentification;
|
|
78
|
+
export declare function buildPhantomErrorMessage(details: PhantomPlanDetail[]): string;
|
|
79
|
+
/**
|
|
80
|
+
* Outcome of classifying a batch against its phantom identification (issue #290).
|
|
81
|
+
* - `clean`: no phantom entries — compress everything.
|
|
82
|
+
* - `all-phantom`: every entry is phantom — caller throws via {@link buildPhantomErrorMessage}.
|
|
83
|
+
* - `partial`: some entries are phantom — caller drops `dropIndices`, compresses the rest,
|
|
84
|
+
* and surfaces `notice` in the success return.
|
|
85
|
+
*/
|
|
86
|
+
export type PhantomPartition = {
|
|
87
|
+
kind: "clean";
|
|
88
|
+
} | {
|
|
89
|
+
kind: "all-phantom";
|
|
90
|
+
details: PhantomPlanDetail[];
|
|
91
|
+
} | {
|
|
92
|
+
kind: "partial";
|
|
93
|
+
dropIndices: number[];
|
|
94
|
+
details: PhantomPlanDetail[];
|
|
95
|
+
notice: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Partition a batch of plans based on its phantom identification. Pure helper
|
|
99
|
+
* extracted so the all-vs-some-vs-clean decision and skip-notice construction
|
|
100
|
+
* are independently unit-testable (issue #290 review concern C1).
|
|
101
|
+
*
|
|
102
|
+
* @param identification Result of {@link identifyPhantomPlans}.
|
|
103
|
+
* @param totalPlans Count of plans in the batch (before any filtering).
|
|
104
|
+
*/
|
|
105
|
+
export declare function partitionPhantomPlans(identification: PhantomIdentification, totalPlans: number): PhantomPartition;
|
|
106
|
+
/**
|
|
107
|
+
* Build the concise skip-notice shown when a partial batch drops phantom entries
|
|
108
|
+
* (issue #290 fix A — model-facing success return).
|
|
109
|
+
*/
|
|
110
|
+
export declare function buildPhantomSkipNotice(identification: PhantomIdentification): string;
|
|
39
111
|
/**
|
|
40
112
|
* Stateless check: reject compression plans that would produce phantom blocks
|
|
41
113
|
* (0 new direct messages, 0 compressed tokens). A phantom block occurs when
|
|
42
114
|
* every message in the effective range is already active under an existing
|
|
43
|
-
* compression block. Returns an Error
|
|
115
|
+
* compression block. Returns an Error for the FIRST phantom plan, or null.
|
|
116
|
+
*
|
|
117
|
+
* Legacy single-error API — kept for backward compatibility. Batch-aware
|
|
118
|
+
* callers should use {@link identifyPhantomPlans} + {@link buildPhantomErrorMessage}
|
|
119
|
+
* to implement partial-failure batches (issue #290 fix A).
|
|
44
120
|
*
|
|
45
121
|
* Fix for issue #93: empty compression blocks waste context (summary overhead
|
|
46
122
|
* with no token savings) and cause compression loops — the model sees 0 tokens
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../lib/compress/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAOzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAI5C,MAAM,WAAW,mBAAmB;IAChC,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,KAAK,EAAE,YAAY,CAAA;CACtB;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,YAAY,GAAG,mBAAmB,CAKjF;AAED,wBAAgB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","source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iBAAiB,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9F;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,qBAAqB,EACrC,UAAU,EAAE,MAAM,GACnB,gBAAgB,CAalB;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,qBAAqB,GAAG,MAAM,CAOpF;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAC7B,KAAK,EAAE,YAAY,EACnB,KAAK,EAAE,KAAK,CAAC;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GACnE,KAAK,GAAG,IAAI,CAUd;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAClC,WAAW,EAAE,SAAS,EAAE,EACxB,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,OAAO,WAAW,EAAE,cAAc,GAC7C,GAAG,CAAC,MAAM,CAAC,CAuCb;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAC/B,GAAG,EAAE,WAAW,EAChB,iBAAiB,EAAE,MAAM,EAAE,EAAE,EAC7B,WAAW,EAAE,SAAS,EAAE,EACxB,SAAS,EAAE,OAAO,GACnB,KAAK,GAAG,IAAI,CA6Bd"}
|
|
@@ -2,7 +2,9 @@ import type { Logger } from "../logger";
|
|
|
2
2
|
import type { CompressionBlock, SessionState } from "../state";
|
|
3
3
|
import type { BoundaryReference, CompressRangeToolArgs, InjectedSummaryResult, ParsedBlockPlaceholder, ResolvedRangeCompression, SearchContext } from "./types";
|
|
4
4
|
export declare function validateArgs(args: CompressRangeToolArgs): void;
|
|
5
|
-
export declare function resolveRanges(args: CompressRangeToolArgs, searchContext: SearchContext, state: SessionState
|
|
5
|
+
export declare function resolveRanges(args: CompressRangeToolArgs, searchContext: SearchContext, state: SessionState, logger?: {
|
|
6
|
+
warn(message: string, data?: any): void;
|
|
7
|
+
}): ResolvedRangeCompression[];
|
|
6
8
|
export declare function validateNonOverlapping(plans: ResolvedRangeCompression[]): void;
|
|
7
9
|
export declare function parseBlockPlaceholders(summary: string): ParsedBlockPlaceholder[];
|
|
8
10
|
export declare function validateSummaryPlaceholders(placeholders: ParsedBlockPlaceholder[], requiredBlockIds: number[], startReference: BoundaryReference, endReference: BoundaryReference, summaryByBlockId: Map<number, CompressionBlock>, logger: Logger): number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-utils.d.ts","sourceRoot":"","sources":["../../../lib/compress/range-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE9D,OAAO,KAAK,EACR,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EAChB,MAAM,SAAS,CAAA;AAIhB,wBAAgB,YAAY,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"range-utils.d.ts","sourceRoot":"","sources":["../../../lib/compress/range-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE9D,OAAO,KAAK,EACR,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EAChB,MAAM,SAAS,CAAA;AAIhB,wBAAgB,YAAY,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI,CA8B9D;AAED,wBAAgB,aAAa,CACzB,IAAI,EAAE,qBAAqB,EAC3B,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,YAAY,EACnB,MAAM,CAAC,EAAE;IAAE,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;CAAE,GACrD,wBAAwB,EAAE,CA4B5B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,GAAG,IAAI,CA+B9E;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB,EAAE,CAsBhF;AAED,wBAAgB,2BAA2B,CACvC,YAAY,EAAE,sBAAsB,EAAE,EACtC,gBAAgB,EAAE,MAAM,EAAE,EAC1B,cAAc,EAAE,iBAAiB,EACjC,YAAY,EAAE,iBAAiB,EAC/B,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAC/C,MAAM,EAAE,MAAM,GACf,MAAM,EAAE,CA8CV;AAED,wBAAgB,uBAAuB,CACnC,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,sBAAsB,EAAE,EACvC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAChD,eAAe,EAAE,iBAAiB,EAClC,aAAa,EAAE,iBAAiB,GACjC,qBAAqB,CAKvB;AAED,wBAAgB,2BAA2B,CACvC,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,EAAE,EAC1B,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAChD,gBAAgB,EAAE,MAAM,EAAE,GAC3B,qBAAqB,CAKvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../lib/compress/range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAAE,KAAK,kBAAkB,EAAsB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../lib/compress/range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAAE,KAAK,kBAAkB,EAAsB,MAAM,SAAS,CAAA;AAgGrE,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,kBAAkB,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAsT/F"}
|
|
@@ -3,7 +3,9 @@ import type { SessionState, WithParts } from "../state";
|
|
|
3
3
|
import { type BoundaryReference, type SearchContext, type SelectionResolution, type ToolFactoryContext } from "./types";
|
|
4
4
|
export declare function fetchSessionMessages(client: any, sessionId: string): Promise<WithParts[]>;
|
|
5
5
|
export declare function buildSearchContext(state: SessionState, rawMessages: WithParts[]): SearchContext;
|
|
6
|
-
export declare function resolveBoundaryIds(context: SearchContext, state: SessionState, startId: string, endId: string
|
|
6
|
+
export declare function resolveBoundaryIds(context: SearchContext, state: SessionState, startId: string, endId: string, logger?: {
|
|
7
|
+
warn(message: string, data?: any): void;
|
|
8
|
+
}): {
|
|
7
9
|
startReference: BoundaryReference;
|
|
8
10
|
endReference: BoundaryReference;
|
|
9
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../lib/compress/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAKvD,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAE1B,MAAM,SAAS,CAAA;AAEhB,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAM/F;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,aAAa,CA4B/F;AAED,wBAAgB,kBAAk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|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "opencode-acp",
|
|
4
|
-
"version": "1.14.
|
|
4
|
+
"version": "1.14.14-dev.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Active Context Pruning — model-driven context management for OpenCode (hardened fork of DCP with 35 bug fixes)",
|
|
7
7
|
"main": "./dist/index.js",
|