@lucascouts/claude-agent-acp-plus 0.12.0 → 0.14.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/accounts.d.ts +143 -0
- package/dist/accounts.d.ts.map +1 -0
- package/dist/accounts.js +196 -0
- package/dist/acp-agent.d.ts +81 -3
- package/dist/acp-agent.d.ts.map +1 -1
- package/dist/acp-agent.js +426 -67
- package/dist/context-compaction-meta.d.ts +73 -0
- package/dist/context-compaction-meta.d.ts.map +1 -0
- package/dist/context-compaction-meta.js +53 -0
- package/dist/context-compaction.d.ts +160 -0
- package/dist/context-compaction.d.ts.map +1 -0
- package/dist/context-compaction.js +275 -0
- package/dist/usage-markdown.d.ts +92 -0
- package/dist/usage-markdown.d.ts.map +1 -0
- package/dist/usage-markdown.js +373 -0
- package/package.json +1 -1
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The account selector (story 009 R6, from story 005's preserved D1/D2/D4/D8):
|
|
3
|
+
* the declared-account list, the `select` config option built from it, and the
|
|
4
|
+
* one environment overlay a selection resolves to.
|
|
5
|
+
*
|
|
6
|
+
* Kept self-contained — nothing here imports `acp-agent.ts`; what the module
|
|
7
|
+
* needs from the adapter (the resolved settings object, a logger) is injected
|
|
8
|
+
* instead, which also leaves the logic unit-testable in isolation. Same reason
|
|
9
|
+
* as `thinking-option.ts` and `account-usage.ts`: `acp-agent.ts` is a ~9,900
|
|
10
|
+
* line file that changes upstream almost daily, so every coupling to it is paid
|
|
11
|
+
* again at each sync. `acp-agent.ts` wires these helpers into
|
|
12
|
+
* `buildConfigOptions`, `applyConfigOptionValue` and query creation.
|
|
13
|
+
*
|
|
14
|
+
* Two notions this module never conflates (D3):
|
|
15
|
+
* - the ADAPTER's configuration home is `acp-agent.ts`'s module-level
|
|
16
|
+
* `CLAUDE_CONFIG_DIR`, computed once from the process environment. A switch
|
|
17
|
+
* does NOT move it — if it did, the adapter would begin reading its own
|
|
18
|
+
* `settings.json` out of the switched account's directory, silently and
|
|
19
|
+
* only for the readers that ran after the switch;
|
|
20
|
+
* - the SESSION's account home is the overlay {@link envForAccount} builds,
|
|
21
|
+
* handed to the SDK per session (`Options.env`, `sdk.d.ts:1525`) and to
|
|
22
|
+
* nothing else. No Zed patch is involved: the client already renders any
|
|
23
|
+
* config option the adapter advertises.
|
|
24
|
+
*
|
|
25
|
+
* NO FILE IS OPENED HERE, and no directory is scanned. Accounts are DECLARED,
|
|
26
|
+
* never discovered (D4): this reads a list someone wrote down. What it puts on
|
|
27
|
+
* the wire is display names — the configuration directory is what points at the
|
|
28
|
+
* credentials, so it stays on this side of the protocol (R6.4).
|
|
29
|
+
*/
|
|
30
|
+
import type { SessionConfigOption } from "@agentclientprotocol/sdk";
|
|
31
|
+
/** Stable id for the account session config option (D1). */
|
|
32
|
+
export declare const ACCOUNT_CONFIG_ID = "account";
|
|
33
|
+
/**
|
|
34
|
+
* Minimal logging surface this module needs — structurally compatible with
|
|
35
|
+
* acp-agent's `Logger`, declared locally so the module stays free of
|
|
36
|
+
* `acp-agent.ts` imports.
|
|
37
|
+
*/
|
|
38
|
+
export interface AccountLogger {
|
|
39
|
+
error: (...args: unknown[]) => void;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* One declared account: a display name, and the configuration directory whose
|
|
43
|
+
* credentials it stands for (D4).
|
|
44
|
+
*
|
|
45
|
+
* `configDir` never leaves the adapter. It is the input to
|
|
46
|
+
* {@link envForAccount} and to the profile half of an identity, and nothing
|
|
47
|
+
* else — the selector transports {@link AccountSelectorEntry.value}, which is
|
|
48
|
+
* a name.
|
|
49
|
+
*/
|
|
50
|
+
export type DeclaredAccount = {
|
|
51
|
+
name: string;
|
|
52
|
+
configDir: string;
|
|
53
|
+
};
|
|
54
|
+
/** One selectable row: the declared account, and the identifier the client
|
|
55
|
+
* names it by. */
|
|
56
|
+
export type AccountSelectorEntry = {
|
|
57
|
+
account: DeclaredAccount;
|
|
58
|
+
/** What `session/set_config_option` carries for this account. A display
|
|
59
|
+
* string, never a path and never anything that authenticates (R6.4). */
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* What {@link buildConfigOptions} needs to decide whether to advertise the
|
|
64
|
+
* selector, and with which row selected.
|
|
65
|
+
*
|
|
66
|
+
* Carried alongside the resolved settings rather than inside them because
|
|
67
|
+
* `accounts` is a declared list (settings) while `currentAccount` is the
|
|
68
|
+
* session's own selection — the two arrive together and are read together.
|
|
69
|
+
*/
|
|
70
|
+
export type AccountOptionState = {
|
|
71
|
+
/** The declared accounts, already validated by {@link readDeclaredAccounts}. */
|
|
72
|
+
accounts?: readonly DeclaredAccount[];
|
|
73
|
+
/** The selector value in force for this session, if any. */
|
|
74
|
+
currentAccount?: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The accounts declared in the resolved settings (D4), in declaration order.
|
|
78
|
+
*
|
|
79
|
+
* Read as `unknown` and validated here because it arrives from a settings file
|
|
80
|
+
* a user edits: the SDK's `Settings` carries an index signature, so the key is
|
|
81
|
+
* typed as nothing in particular and anything at all can be under it. A
|
|
82
|
+
* malformed entry costs that entry and is reported — silently dropping it would
|
|
83
|
+
* leave a selector missing a row with nothing to explain why.
|
|
84
|
+
*
|
|
85
|
+
* @param settings The resolved settings object (pass `settingsManager.getSettings()`).
|
|
86
|
+
* @param logger Sink for the malformed-entry errors.
|
|
87
|
+
*/
|
|
88
|
+
export declare function readDeclaredAccounts(settings: {
|
|
89
|
+
readonly [key: string]: unknown;
|
|
90
|
+
} | null | undefined, logger?: AccountLogger): DeclaredAccount[];
|
|
91
|
+
/**
|
|
92
|
+
* One selectable entry per declared account, in declaration order.
|
|
93
|
+
*
|
|
94
|
+
* The value is the declared display name. A name declared twice denotes two
|
|
95
|
+
* DIFFERENT credential homes, and a selector that merged them into one row
|
|
96
|
+
* would hand a user the account they did not pick — so a duplicated name is
|
|
97
|
+
* numbered, in the order the accounts were declared.
|
|
98
|
+
*
|
|
99
|
+
* Numbered rather than told apart by the directory, deliberately. The profile
|
|
100
|
+
* name (`accountIdentity`) would read better — and it is what story 002 already
|
|
101
|
+
* shows for the account IN FORCE — but here it would put a fragment of a
|
|
102
|
+
* credential home on the wire for accounts the user is merely being offered.
|
|
103
|
+
* R6.4 asks that the selection be routed by an identifier the client can name;
|
|
104
|
+
* a declaration position is exactly that, and it reveals nothing the user did
|
|
105
|
+
* not already write down (D4).
|
|
106
|
+
*/
|
|
107
|
+
export declare function accountSelectorEntries(accounts: readonly DeclaredAccount[]): AccountSelectorEntry[];
|
|
108
|
+
/**
|
|
109
|
+
* The account a session runs under: the selection when it names a declared
|
|
110
|
+
* account, else the first declared one — declaration order is the contract
|
|
111
|
+
* (D4), and a selector must report a value that is really in force. `undefined`
|
|
112
|
+
* when nothing is declared, in which case no overlay is applied and the
|
|
113
|
+
* process's own configuration home stands, exactly as before this option
|
|
114
|
+
* existed.
|
|
115
|
+
*/
|
|
116
|
+
export declare function accountInForce(accounts: readonly DeclaredAccount[], selected: string | undefined): AccountSelectorEntry | undefined;
|
|
117
|
+
/** The declared account a selector value denotes, or `undefined` when the value
|
|
118
|
+
* was never declared — which is what makes an undeclared account refusable
|
|
119
|
+
* rather than silently applied (R6.3). */
|
|
120
|
+
export declare function accountForValue(accounts: readonly DeclaredAccount[], value: string): DeclaredAccount | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* The per-session environment overlay an account contributes: its configuration
|
|
123
|
+
* directory, and nothing else (D2).
|
|
124
|
+
*
|
|
125
|
+
* One variable, because one is enough — credentials live under that directory,
|
|
126
|
+
* so this is a reuse of what the CLI already does rather than an invention. It
|
|
127
|
+
* is merged into the SDK's per-session `env` at query creation and is never
|
|
128
|
+
* written back into `process.env`: that constant is read once into the
|
|
129
|
+
* adapter's own configuration home (D3).
|
|
130
|
+
*/
|
|
131
|
+
export declare function envForAccount(account: DeclaredAccount): Record<string, string>;
|
|
132
|
+
/**
|
|
133
|
+
* The account selector, or `undefined` when fewer than two accounts are
|
|
134
|
+
* declared (D8, R6.2 — genuinely absent, not an empty row).
|
|
135
|
+
*
|
|
136
|
+
* @param accounts The declared accounts, in declaration order.
|
|
137
|
+
* @param currentAccount The selector value in force; an unrecognized one (or
|
|
138
|
+
* none) falls back to the first declared account, which is what
|
|
139
|
+
* {@link accountInForce} applies, so the displayed row and the environment
|
|
140
|
+
* the session was started with agree.
|
|
141
|
+
*/
|
|
142
|
+
export declare function createAccountConfigOption(accounts: readonly DeclaredAccount[], currentAccount: string | undefined): SessionConfigOption | undefined;
|
|
143
|
+
//# sourceMappingURL=accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../src/accounts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,4DAA4D;AAC5D,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAoB3C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;CACrC;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;mBACmB;AACnB,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,eAAe,CAAC;IACzB;6EACyE;IACzE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,gFAAgF;IAChF,QAAQ,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;IACtC,4DAA4D;IAC5D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAuBF;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE;IAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,EAChE,MAAM,CAAC,EAAE,aAAa,GACrB,eAAe,EAAE,CAuBnB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,SAAS,eAAe,EAAE,GACnC,oBAAoB,EAAE,CAsBxB;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,SAAS,eAAe,EAAE,EACpC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAC3B,oBAAoB,GAAG,SAAS,CAGlC;AAED;;2CAE2C;AAC3C,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,SAAS,eAAe,EAAE,EACpC,KAAK,EAAE,MAAM,GACZ,eAAe,GAAG,SAAS,CAE7B;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAE9E;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,SAAS,eAAe,EAAE,EACpC,cAAc,EAAE,MAAM,GAAG,SAAS,GACjC,mBAAmB,GAAG,SAAS,CAkBjC"}
|
package/dist/accounts.js
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The account selector (story 009 R6, from story 005's preserved D1/D2/D4/D8):
|
|
3
|
+
* the declared-account list, the `select` config option built from it, and the
|
|
4
|
+
* one environment overlay a selection resolves to.
|
|
5
|
+
*
|
|
6
|
+
* Kept self-contained — nothing here imports `acp-agent.ts`; what the module
|
|
7
|
+
* needs from the adapter (the resolved settings object, a logger) is injected
|
|
8
|
+
* instead, which also leaves the logic unit-testable in isolation. Same reason
|
|
9
|
+
* as `thinking-option.ts` and `account-usage.ts`: `acp-agent.ts` is a ~9,900
|
|
10
|
+
* line file that changes upstream almost daily, so every coupling to it is paid
|
|
11
|
+
* again at each sync. `acp-agent.ts` wires these helpers into
|
|
12
|
+
* `buildConfigOptions`, `applyConfigOptionValue` and query creation.
|
|
13
|
+
*
|
|
14
|
+
* Two notions this module never conflates (D3):
|
|
15
|
+
* - the ADAPTER's configuration home is `acp-agent.ts`'s module-level
|
|
16
|
+
* `CLAUDE_CONFIG_DIR`, computed once from the process environment. A switch
|
|
17
|
+
* does NOT move it — if it did, the adapter would begin reading its own
|
|
18
|
+
* `settings.json` out of the switched account's directory, silently and
|
|
19
|
+
* only for the readers that ran after the switch;
|
|
20
|
+
* - the SESSION's account home is the overlay {@link envForAccount} builds,
|
|
21
|
+
* handed to the SDK per session (`Options.env`, `sdk.d.ts:1525`) and to
|
|
22
|
+
* nothing else. No Zed patch is involved: the client already renders any
|
|
23
|
+
* config option the adapter advertises.
|
|
24
|
+
*
|
|
25
|
+
* NO FILE IS OPENED HERE, and no directory is scanned. Accounts are DECLARED,
|
|
26
|
+
* never discovered (D4): this reads a list someone wrote down. What it puts on
|
|
27
|
+
* the wire is display names — the configuration directory is what points at the
|
|
28
|
+
* credentials, so it stays on this side of the protocol (R6.4).
|
|
29
|
+
*/
|
|
30
|
+
/** Stable id for the account session config option (D1). */
|
|
31
|
+
export const ACCOUNT_CONFIG_ID = "account";
|
|
32
|
+
/** Below this many declared accounts the option is not offered at all (D8,
|
|
33
|
+
* R6.2): an empty or single-entry selector occupies a menu row to say
|
|
34
|
+
* nothing. */
|
|
35
|
+
const MINIMUM_SELECTABLE_ACCOUNTS = 2;
|
|
36
|
+
/** The variable that points the CLI at an account's configuration directory.
|
|
37
|
+
* Credentials live under that directory, so pointing the CLI at another one
|
|
38
|
+
* *is* pointing it at another account (D2) — nothing new is invented to make
|
|
39
|
+
* that true. */
|
|
40
|
+
const ACCOUNT_CONFIG_DIR_ENV = "CLAUDE_CONFIG_DIR";
|
|
41
|
+
/** What the option is called, and D7 in one line: the selection governs the
|
|
42
|
+
* next thread, never the one on screen. A session id belongs to one account's
|
|
43
|
+
* local history, so a live thread cannot be carried across a switch. */
|
|
44
|
+
const ACCOUNT_OPTION_NAME = "Account";
|
|
45
|
+
const ACCOUNT_OPTION_DESCRIPTION = "Account new threads start under — the current thread keeps the one it began with";
|
|
46
|
+
/** Whether an entry declares both halves of an account. Anything else is a
|
|
47
|
+
* configuration error, not an account: it would put a row in the menu that
|
|
48
|
+
* selects nothing, or point the CLI at no directory at all. */
|
|
49
|
+
function toDeclaredAccount(entry) {
|
|
50
|
+
if (typeof entry !== "object" || entry === null) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
const { name, configDir } = entry;
|
|
54
|
+
if (typeof name !== "string" || typeof configDir !== "string") {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
// The name is a LABEL, so surrounding whitespace is noise and is trimmed.
|
|
58
|
+
// The directory is a PATH the CLI opens, so it is NOT trimmed — a trailing
|
|
59
|
+
// space is legal in one — but a blank one names nothing and is refused.
|
|
60
|
+
const label = name.trim();
|
|
61
|
+
if (label.length === 0 || configDir.trim().length === 0) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
return { name: label, configDir };
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The accounts declared in the resolved settings (D4), in declaration order.
|
|
68
|
+
*
|
|
69
|
+
* Read as `unknown` and validated here because it arrives from a settings file
|
|
70
|
+
* a user edits: the SDK's `Settings` carries an index signature, so the key is
|
|
71
|
+
* typed as nothing in particular and anything at all can be under it. A
|
|
72
|
+
* malformed entry costs that entry and is reported — silently dropping it would
|
|
73
|
+
* leave a selector missing a row with nothing to explain why.
|
|
74
|
+
*
|
|
75
|
+
* @param settings The resolved settings object (pass `settingsManager.getSettings()`).
|
|
76
|
+
* @param logger Sink for the malformed-entry errors.
|
|
77
|
+
*/
|
|
78
|
+
export function readDeclaredAccounts(settings, logger) {
|
|
79
|
+
const declared = settings?.accounts;
|
|
80
|
+
if (declared === undefined || declared === null) {
|
|
81
|
+
return [];
|
|
82
|
+
}
|
|
83
|
+
if (!Array.isArray(declared)) {
|
|
84
|
+
logger?.error(`Ignoring "accounts" in settings: expected an array of { name, configDir }, got ${typeof declared}.`);
|
|
85
|
+
return [];
|
|
86
|
+
}
|
|
87
|
+
const accounts = [];
|
|
88
|
+
declared.forEach((entry, index) => {
|
|
89
|
+
const account = toDeclaredAccount(entry);
|
|
90
|
+
if (account === undefined) {
|
|
91
|
+
logger?.error(`Ignoring accounts[${index}] in settings: expected { name, configDir } with two non-empty strings.`);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
accounts.push(account);
|
|
95
|
+
});
|
|
96
|
+
return accounts;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* One selectable entry per declared account, in declaration order.
|
|
100
|
+
*
|
|
101
|
+
* The value is the declared display name. A name declared twice denotes two
|
|
102
|
+
* DIFFERENT credential homes, and a selector that merged them into one row
|
|
103
|
+
* would hand a user the account they did not pick — so a duplicated name is
|
|
104
|
+
* numbered, in the order the accounts were declared.
|
|
105
|
+
*
|
|
106
|
+
* Numbered rather than told apart by the directory, deliberately. The profile
|
|
107
|
+
* name (`accountIdentity`) would read better — and it is what story 002 already
|
|
108
|
+
* shows for the account IN FORCE — but here it would put a fragment of a
|
|
109
|
+
* credential home on the wire for accounts the user is merely being offered.
|
|
110
|
+
* R6.4 asks that the selection be routed by an identifier the client can name;
|
|
111
|
+
* a declaration position is exactly that, and it reveals nothing the user did
|
|
112
|
+
* not already write down (D4).
|
|
113
|
+
*/
|
|
114
|
+
export function accountSelectorEntries(accounts) {
|
|
115
|
+
const nameCounts = new Map();
|
|
116
|
+
for (const account of accounts) {
|
|
117
|
+
nameCounts.set(account.name, (nameCounts.get(account.name) ?? 0) + 1);
|
|
118
|
+
}
|
|
119
|
+
const numbered = new Map();
|
|
120
|
+
const taken = new Set();
|
|
121
|
+
return accounts.map((account, index) => {
|
|
122
|
+
const ordinal = (numbered.get(account.name) ?? 0) + 1;
|
|
123
|
+
numbered.set(account.name, ordinal);
|
|
124
|
+
const duplicated = (nameCounts.get(account.name) ?? 0) > 1;
|
|
125
|
+
let value = duplicated ? `${account.name} (${ordinal})` : account.name;
|
|
126
|
+
// Last resort, for a list that already spells its own numbering (a "work"
|
|
127
|
+
// twice over beside one literally declared as "work (1)"). The 1-based
|
|
128
|
+
// declaration position is unique by construction and the string grows on
|
|
129
|
+
// every pass, so this terminates and stays deterministic.
|
|
130
|
+
while (taken.has(value)) {
|
|
131
|
+
value = `${value} (${index + 1})`;
|
|
132
|
+
}
|
|
133
|
+
taken.add(value);
|
|
134
|
+
return { account, value };
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The account a session runs under: the selection when it names a declared
|
|
139
|
+
* account, else the first declared one — declaration order is the contract
|
|
140
|
+
* (D4), and a selector must report a value that is really in force. `undefined`
|
|
141
|
+
* when nothing is declared, in which case no overlay is applied and the
|
|
142
|
+
* process's own configuration home stands, exactly as before this option
|
|
143
|
+
* existed.
|
|
144
|
+
*/
|
|
145
|
+
export function accountInForce(accounts, selected) {
|
|
146
|
+
const entries = accountSelectorEntries(accounts);
|
|
147
|
+
return entries.find((entry) => entry.value === selected) ?? entries[0];
|
|
148
|
+
}
|
|
149
|
+
/** The declared account a selector value denotes, or `undefined` when the value
|
|
150
|
+
* was never declared — which is what makes an undeclared account refusable
|
|
151
|
+
* rather than silently applied (R6.3). */
|
|
152
|
+
export function accountForValue(accounts, value) {
|
|
153
|
+
return accountSelectorEntries(accounts).find((entry) => entry.value === value)?.account;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The per-session environment overlay an account contributes: its configuration
|
|
157
|
+
* directory, and nothing else (D2).
|
|
158
|
+
*
|
|
159
|
+
* One variable, because one is enough — credentials live under that directory,
|
|
160
|
+
* so this is a reuse of what the CLI already does rather than an invention. It
|
|
161
|
+
* is merged into the SDK's per-session `env` at query creation and is never
|
|
162
|
+
* written back into `process.env`: that constant is read once into the
|
|
163
|
+
* adapter's own configuration home (D3).
|
|
164
|
+
*/
|
|
165
|
+
export function envForAccount(account) {
|
|
166
|
+
return { [ACCOUNT_CONFIG_DIR_ENV]: account.configDir };
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* The account selector, or `undefined` when fewer than two accounts are
|
|
170
|
+
* declared (D8, R6.2 — genuinely absent, not an empty row).
|
|
171
|
+
*
|
|
172
|
+
* @param accounts The declared accounts, in declaration order.
|
|
173
|
+
* @param currentAccount The selector value in force; an unrecognized one (or
|
|
174
|
+
* none) falls back to the first declared account, which is what
|
|
175
|
+
* {@link accountInForce} applies, so the displayed row and the environment
|
|
176
|
+
* the session was started with agree.
|
|
177
|
+
*/
|
|
178
|
+
export function createAccountConfigOption(accounts, currentAccount) {
|
|
179
|
+
const entries = accountSelectorEntries(accounts);
|
|
180
|
+
if (entries.length < MINIMUM_SELECTABLE_ACCOUNTS) {
|
|
181
|
+
return undefined;
|
|
182
|
+
}
|
|
183
|
+
const current = entries.find((entry) => entry.value === currentAccount) ?? entries[0];
|
|
184
|
+
return {
|
|
185
|
+
id: ACCOUNT_CONFIG_ID,
|
|
186
|
+
name: ACCOUNT_OPTION_NAME,
|
|
187
|
+
description: ACCOUNT_OPTION_DESCRIPTION,
|
|
188
|
+
type: "select",
|
|
189
|
+
currentValue: current.value,
|
|
190
|
+
// Names only. No `configDir`, and no per-account usage: the account in
|
|
191
|
+
// force is the only one whose quota is reported (R6.4, D5), because a menu
|
|
192
|
+
// showing every account's headroom side by side argues for spreading work
|
|
193
|
+
// across them.
|
|
194
|
+
options: entries.map((entry) => ({ value: entry.value, name: entry.value })),
|
|
195
|
+
};
|
|
196
|
+
}
|
package/dist/acp-agent.d.ts
CHANGED
|
@@ -5,12 +5,14 @@ import { SessionTitles } from "./session-titles.js";
|
|
|
5
5
|
import { ContentBlockParam } from "@anthropic-ai/sdk/resources";
|
|
6
6
|
import { BetaContentBlock, BetaRawContentBlockDelta } from "@anthropic-ai/sdk/resources/beta.mjs";
|
|
7
7
|
import { SettingsManager } from "./settings.js";
|
|
8
|
+
import { ContextCompactionMetadata } from "./context-compaction-meta.js";
|
|
8
9
|
import { UltracodeOptionState } from "./ultracode.js";
|
|
9
10
|
import { type SessionFailureState } from "./session-failure-extension.js";
|
|
10
11
|
import { type FileChangeAuditSupport, type FileChangeAuditTurnState } from "./file-change-audit.js";
|
|
11
12
|
import { TaskState } from "./tools.js";
|
|
12
13
|
import { Pushable } from "./utils.js";
|
|
13
14
|
import { AccountUsageTracker } from "./account-usage.js";
|
|
15
|
+
import { type AccountOptionState, type DeclaredAccount } from "./accounts.js";
|
|
14
16
|
export { DEFAULT_AGENT_ID, EFFORT_CONFIG_ID } from "./session-config-ids.js";
|
|
15
17
|
import { MODE_CONFIG_ID } from "./session-mode.js";
|
|
16
18
|
export declare const CLAUDE_CONFIG_DIR: string;
|
|
@@ -80,6 +82,26 @@ type Turn = {
|
|
|
80
82
|
* so the consumer can't promote them via the replay; it falls back to
|
|
81
83
|
* promoting the queue head when the result arrives. */
|
|
82
84
|
isLocalOnlyCommand: boolean;
|
|
85
|
+
/** Set when this turn's prompt is exactly `/usage` (story 011, R2.3). The
|
|
86
|
+
* command still runs through the normal SDK turn — ordering, cancellation,
|
|
87
|
+
* persistence and replay are untouched — and the structured render is only
|
|
88
|
+
* an overlay on the output it produces. */
|
|
89
|
+
isUsageCommand?: boolean;
|
|
90
|
+
/** The in-flight structured render for this turn, started once and awaited by
|
|
91
|
+
* whichever message shape carries the command's output. Resolves to null on
|
|
92
|
+
* each of R2.4's three ways out, which means "forward Claude Code's own
|
|
93
|
+
* text, unchanged". */
|
|
94
|
+
usageMarkdown?: Promise<string | null>;
|
|
95
|
+
/** Abandons {@link usageMarkdown} when the turn ends. Half of the bound D5
|
|
96
|
+
* asks for: the timeout covers a request that is never serviced, this covers
|
|
97
|
+
* a request whose turn is already over. */
|
|
98
|
+
usageMarkdownAbort?: AbortController;
|
|
99
|
+
/** Set once the render has been published, so the SAME output arriving again
|
|
100
|
+
* through a second message shape is not rendered twice. */
|
|
101
|
+
usageMarkdownDelivered?: boolean;
|
|
102
|
+
/** The original text the published render replaced — how a duplicate mirror
|
|
103
|
+
* of that frame is told from a later, genuinely different one. */
|
|
104
|
+
usageOriginalOutput?: string;
|
|
83
105
|
/** Optional hidden, model-authored file-change audit requested by the ACP
|
|
84
106
|
* client for this turn. The state is turn-owned so a late tool call can
|
|
85
107
|
* never be rebound to a newer prompt. */
|
|
@@ -184,6 +206,11 @@ type Turn = {
|
|
|
184
206
|
/** Settles after the ACP prompt request completes, regardless of outcome. */
|
|
185
207
|
completion?: Promise<void>;
|
|
186
208
|
};
|
|
209
|
+
/** Resolve the poll interval from the environment, clamped. An unparseable or
|
|
210
|
+
* negative value falls back to the default rather than disabling the refresh:
|
|
211
|
+
* a typo should not silently return the bars to the stale behaviour this
|
|
212
|
+
* exists to fix. Exactly `0` disables, because that is the only way to ask. */
|
|
213
|
+
export declare function quotaPollIntervalMs(raw?: string | undefined): number;
|
|
187
214
|
export type Session = {
|
|
188
215
|
query: Query;
|
|
189
216
|
input: Pushable<SDKUserMessage>;
|
|
@@ -317,6 +344,25 @@ export type Session = {
|
|
|
317
344
|
* resolved when the session is created, and re-reading them on a hot path
|
|
318
345
|
* would imply they can change under it. */
|
|
319
346
|
workflowsDisabled: boolean;
|
|
347
|
+
/** The accounts declared in this session's resolved settings (D4), read once
|
|
348
|
+
* at initialize and held for the same reason `workflowsDisabled` is. Empty
|
|
349
|
+
* when none are declared, in which case no selector is advertised and the
|
|
350
|
+
* process's own configuration home stands. Optional because a Session
|
|
351
|
+
* assembled without it (a fixture, a future construction site) has declared
|
|
352
|
+
* no accounts, which is exactly what absent means here. */
|
|
353
|
+
declaredAccounts?: DeclaredAccount[];
|
|
354
|
+
/** The account selector's value in force for this session, or `undefined`
|
|
355
|
+
* when nothing is declared. Rebuilt into the option on every
|
|
356
|
+
* `buildConfigOptions` pass so the row survives a model switch. */
|
|
357
|
+
currentAccount?: string;
|
|
358
|
+
/** The environment overlay the account in force resolves to — one variable,
|
|
359
|
+
* `CLAUDE_CONFIG_DIR` (D2). Set when the session is created, and again when
|
|
360
|
+
* the selector changes, where it records what a session created FROM NOW ON
|
|
361
|
+
* will be started with. It is NOT applied to the query already running: the
|
|
362
|
+
* live query's env is baked into `queryOptions`, which a lazy recreate
|
|
363
|
+
* rebuilds from, so a selection cannot move the thread on screen onto
|
|
364
|
+
* another account's history (D7). */
|
|
365
|
+
accountEnv?: Record<string, string>;
|
|
320
366
|
/** Why the SDK currently can't serve Fast mode, when the reason is one worth
|
|
321
367
|
* telling the user about (see {@link FAST_MODE_UNAVAILABLE_EXPLANATIONS} —
|
|
322
368
|
* routine states like the SDK's own opt-in requirement normalize to
|
|
@@ -367,6 +413,14 @@ export type Session = {
|
|
|
367
413
|
* active turn settles normally so the backstop never fires after a clean
|
|
368
414
|
* cancel. */
|
|
369
415
|
forceCancelTimer?: ReturnType<typeof setTimeout>;
|
|
416
|
+
/** Repeating timer that refreshes the account quota windows while this session
|
|
417
|
+
* is idle. Armed at the end of the first turn rather than at session
|
|
418
|
+
* establishment: before then a control request is not serviced at all
|
|
419
|
+
* (issues #886/#880), so an earlier timer would only log failures. Cleared in
|
|
420
|
+
* `closeQueryStream` — the one point every teardown path passes through --
|
|
421
|
+
* so it cannot outlive the stream it queries. Undefined while polling is
|
|
422
|
+
* disabled or before the first turn settles. */
|
|
423
|
+
accountUsageTimer?: ReturnType<typeof setInterval>;
|
|
370
424
|
emitRawSDKMessages: boolean | SDKMessageFilter[];
|
|
371
425
|
/** Whether nested subagent text/thinking is forwarded to the ACP client.
|
|
372
426
|
* Enabled by either the ACP capability or the pre-existing SDK option. */
|
|
@@ -671,6 +725,7 @@ type ProviderConfig = {
|
|
|
671
725
|
* Extra metadata that the agent provides for each tool_call / tool_update update.
|
|
672
726
|
*/
|
|
673
727
|
export type ToolUpdateMeta = {
|
|
728
|
+
contextCompaction?: ContextCompactionMetadata;
|
|
674
729
|
claudeCode?: {
|
|
675
730
|
toolName: string;
|
|
676
731
|
title?: string;
|
|
@@ -787,6 +842,14 @@ export declare class ClaudeAcpAgent {
|
|
|
787
842
|
* return "cancelled". See {@link DEFAULT_FORCE_CANCEL_GRACE_MS}. Mutable so
|
|
788
843
|
* tests can shrink it. */
|
|
789
844
|
forceCancelGraceMs: number;
|
|
845
|
+
/** The account selector's last choice, as a selector value (see
|
|
846
|
+
* `accounts.ts`). Held on the AGENT, not on a session, because that is what
|
|
847
|
+
* it governs: the account applies to sessions created after it is set, and
|
|
848
|
+
* the thread that was on screen when the user chose keeps the account it
|
|
849
|
+
* started under (D7 — a session id belongs to one account's local history,
|
|
850
|
+
* so a live thread cannot be carried across a switch). `undefined` until a
|
|
851
|
+
* selection is made, in which case the first declared account stands. */
|
|
852
|
+
private selectedAccount?;
|
|
790
853
|
constructor(client: AcpClient, logger?: Logger);
|
|
791
854
|
initialize(request: InitializeRequest): Promise<InitializeResponse>;
|
|
792
855
|
newSession(params: NewSessionRequest): Promise<NewSessionResponse>;
|
|
@@ -837,6 +900,17 @@ export declare class ClaudeAcpAgent {
|
|
|
837
900
|
* are left standing, because nothing was sent.
|
|
838
901
|
*/
|
|
839
902
|
private publishAccountUsage;
|
|
903
|
+
/** Start the idle refresh of the account quota windows for this session.
|
|
904
|
+
*
|
|
905
|
+
* Idempotent, and deliberately called at the end of every turn rather than
|
|
906
|
+
* once: the first call arms, the rest return immediately, so no caller has to
|
|
907
|
+
* know whether this is turn one.
|
|
908
|
+
*
|
|
909
|
+
* The tick does nothing while a turn is in flight. That turn's own end
|
|
910
|
+
* already refreshes the windows, and a second control request would buy the
|
|
911
|
+
* same answer twice — the same reasoning that excludes autonomous cycles at
|
|
912
|
+
* the end-of-turn call site. */
|
|
913
|
+
private armAccountUsagePolling;
|
|
840
914
|
private publishGoalFromPrompt;
|
|
841
915
|
private publishRuntimeGoal;
|
|
842
916
|
/** Steer the session per the ACP steering wire protocol: inject a follow-up
|
|
@@ -1151,9 +1225,13 @@ thinkingEnabled?: boolean,
|
|
|
1151
1225
|
* direct callers/tests, in which case availability is derived from
|
|
1152
1226
|
* `settings` and the entry renders unselected. */
|
|
1153
1227
|
ultracode?: UltracodeOptionState,
|
|
1154
|
-
/** Resolved session settings, read
|
|
1155
|
-
*
|
|
1156
|
-
|
|
1228
|
+
/** Resolved session settings, read for `disableWorkflows` — the half of the
|
|
1229
|
+
* Ultracode gate that is not a model capability — and, alongside them, the
|
|
1230
|
+
* declared accounts plus the one in force, which decide whether an account
|
|
1231
|
+
* selector is advertised at all (R6.1/R6.2). `accounts` is not a field of
|
|
1232
|
+
* the SDK's `Settings`, so it is carried beside them rather than picked
|
|
1233
|
+
* from them. */
|
|
1234
|
+
settings?: Pick<Settings, "disableWorkflows"> & AccountOptionState): SessionConfigOption[];
|
|
1157
1235
|
export declare function resolveModelPreference(models: ModelInfo[], preference: string): ModelInfo | null;
|
|
1158
1236
|
/** Map the live model reported by a resumed session onto the picker's model
|
|
1159
1237
|
* list. The CLI restores a resumed session's model from the transcript's
|
package/dist/acp-agent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acp-agent.d.ts","sourceRoot":"","sources":["../src/acp-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,EAGnB,kBAAkB,EAClB,kBAAkB,EAClB,+BAA+B,EAC/B,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EAGb,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,cAAc,EAEd,mBAAmB,EACnB,oBAAoB,EAEpB,kBAAkB,EAClB,mBAAmB,EACnB,wB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