@cortexkit/opencode-antigravity-auth 3.0.38 → 3.0.39
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/dist/cli.js +602 -320
- package/dist/cli.js.map +4 -4
- package/dist/cli.meta.json +100 -32
- package/dist/index.js +807 -384
- package/dist/index.js.map +4 -4
- package/dist/index.meta.json +115 -39
- package/dist/server.js +828 -398
- package/dist/server.js.map +4 -4
- package/dist/server.meta.json +1 -1
- package/dist/src/common-auth-embedded/claustrum/availability.d.ts +7 -1
- package/dist/src/common-auth-embedded/claustrum/availability.js +9 -1
- package/dist/src/common-auth-embedded/claustrum/custody.d.ts +11 -2
- package/dist/src/common-auth-embedded/claustrum/custody.js +89 -31
- package/dist/src/common-auth-embedded/claustrum/enrollment.d.ts +4 -0
- package/dist/src/common-auth-embedded/claustrum/enrollment.js +33 -2
- package/dist/src/common-auth-embedded/claustrum/host.js +11 -7
- package/dist/src/common-auth-embedded/claustrum/index.d.ts +1 -1
- package/dist/src/common-auth-embedded/claustrum/index.js +1 -1
- package/dist/src/common-auth-embedded/fs/lock-record.js +55 -0
- package/dist/src/common-auth-embedded/fs/refresh-file-lock.js +148 -92
- package/dist/src/common-auth-embedded/fs/with-lock.js +19 -13
- package/dist/src/common-auth-embedded/quota-sidebar/index.d.ts +2 -36
- package/dist/src/common-auth-embedded/quota-sidebar/index.tsx +49 -607
- package/dist/src/common-auth-embedded/routing-accessor/cache-policy.d.ts +3 -0
- package/dist/src/common-auth-embedded/routing-accessor/cache-policy.js +11 -0
- package/dist/src/common-auth-embedded/routing-accessor/index.d.ts +48 -5
- package/dist/src/common-auth-embedded/routing-accessor/index.js +136 -5
- package/dist/src/common-auth-embedded/setup/enroll.js +2 -1
- package/dist/src/common-auth-embedded/setup/types.d.ts +1 -0
- package/dist/src/common-auth-embedded/source-output.json +72 -64
- package/dist/src/ga/tui/host-ga.d.ts +20 -3
- package/dist/src/ga/tui/host-ga.d.ts.map +1 -1
- package/dist/src/ga/tui/host-ga.js +102 -25
- package/dist/src/ga/tui/host-ga.js.map +1 -1
- package/dist/src/plugin/__fixtures__/release-model-ids.d.ts.map +1 -1
- package/dist/src/plugin/__fixtures__/release-model-ids.js +1 -0
- package/dist/src/plugin/__fixtures__/release-model-ids.js.map +1 -1
- package/dist/src/plugin/__fixtures__/verified-store.js +2 -2
- package/dist/src/plugin/ga-location-services.d.ts +1 -0
- package/dist/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/src/plugin/ga-location-services.js +6 -0
- package/dist/src/plugin/ga-location-services.js.map +1 -1
- package/dist/src/plugin/request.d.ts.map +1 -1
- package/dist/src/plugin/request.js +3 -1
- package/dist/src/plugin/request.js.map +1 -1
- package/dist/src/setup.d.ts.map +1 -1
- package/dist/src/setup.js +2 -0
- package/dist/src/setup.js.map +1 -1
- package/dist/tui-build-map.json +19 -5
- package/dist/tui-ga-build-map.json +23 -9
- package/dist/types/src/common-auth-embedded/claustrum/availability.d.ts +7 -1
- package/dist/types/src/common-auth-embedded/claustrum/custody.d.ts +11 -2
- package/dist/types/src/common-auth-embedded/claustrum/enrollment.d.ts +4 -0
- package/dist/types/src/common-auth-embedded/claustrum/index.d.ts +1 -1
- package/dist/types/src/common-auth-embedded/routing-accessor/cache-policy.d.ts +3 -0
- package/dist/types/src/common-auth-embedded/routing-accessor/index.d.ts +48 -5
- package/dist/types/src/common-auth-embedded/setup/types.d.ts +1 -0
- package/dist/types/src/plugin/ga-location-services.d.ts +1 -0
- package/dist/types/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/types/src/plugin/request.d.ts.map +1 -1
- package/dist/types/src/setup.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/common-auth-embedded/claustrum/availability.d.ts +7 -1
- package/src/common-auth-embedded/claustrum/availability.js +9 -1
- package/src/common-auth-embedded/claustrum/custody.d.ts +11 -2
- package/src/common-auth-embedded/claustrum/custody.js +89 -31
- package/src/common-auth-embedded/claustrum/enrollment.d.ts +4 -0
- package/src/common-auth-embedded/claustrum/enrollment.js +33 -2
- package/src/common-auth-embedded/claustrum/host.js +11 -7
- package/src/common-auth-embedded/claustrum/index.d.ts +1 -1
- package/src/common-auth-embedded/claustrum/index.js +1 -1
- package/src/common-auth-embedded/fs/lock-record.js +55 -0
- package/src/common-auth-embedded/fs/refresh-file-lock.js +148 -92
- package/src/common-auth-embedded/fs/with-lock.js +19 -13
- package/src/common-auth-embedded/quota-sidebar/index.d.ts +2 -36
- package/src/common-auth-embedded/quota-sidebar/index.tsx +49 -607
- package/src/common-auth-embedded/routing-accessor/cache-policy.d.ts +3 -0
- package/src/common-auth-embedded/routing-accessor/cache-policy.js +11 -0
- package/src/common-auth-embedded/routing-accessor/index.d.ts +48 -5
- package/src/common-auth-embedded/routing-accessor/index.js +136 -5
- package/src/common-auth-embedded/setup/enroll.js +2 -1
- package/src/common-auth-embedded/setup/types.d.ts +1 -0
- package/src/common-auth-embedded/source-output.json +72 -64
- package/src/tui-compiled/common-auth-embedded/quota-sidebar/index.js +36 -674
- package/src/tui-compiled/shared/a75d0d866c227b3f-index.js +678 -0
- package/src/tui-ga-compiled/host-ga.js +86 -26
- package/src/tui-ga-compiled/shared/a75d0d866c227b3f-index.js +678 -0
- package/src/tui-ga-compiled/shared/e4ec36f367492969-index.js +36 -674
- package/src/tui-ga-raw/host-ga.tsx +122 -25
- package/src/tui-ga-raw/shared/a75d0d866c227b3f-index.tsx +681 -0
- package/src/tui-ga-raw/shared/e4ec36f367492969-index.tsx +49 -607
- package/src/tui-raw/common-auth-embedded/quota-sidebar/index.tsx +49 -607
- package/src/tui-raw/shared/a75d0d866c227b3f-index.tsx +681 -0
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* shaping. Account ids are vault account ids, not local pool rows. Nothing is
|
|
4
4
|
* persisted here; plugins on routes the runner does not serve get no turn notes.
|
|
5
5
|
*/
|
|
6
|
+
import { type CacheWarmStopReason } from './cache-policy.js';
|
|
6
7
|
export type { CacheTouchInput, CacheWarmStoppedInput, CacheWarmStopReason, SessionCacheHours, SessionCachePolicy, SessionCacheTtl, SessionKeepWarmMode, SessionToolWait, } from './cache-policy.js';
|
|
7
|
-
export { reportCacheTouch, reportCacheWarmStopped, sessionCachePolicy, sessionToolWait, } from './cache-policy.js';
|
|
8
|
+
export { CACHE_WARM_STOP_REASONS, isCacheWarmStopReason, reportCacheTouch, reportCacheWarmStopped, sessionCachePolicy, sessionToolWait, } from './cache-policy.js';
|
|
8
9
|
/** An eligible vault route, not a local pool row. */
|
|
9
10
|
export interface RoutingCandidate {
|
|
10
11
|
/** Vault account id, not the plugin's route id. */
|
|
@@ -42,6 +43,19 @@ interface RoutingReportIdentity {
|
|
|
42
43
|
accountId: string;
|
|
43
44
|
credentialId?: string;
|
|
44
45
|
}
|
|
46
|
+
export type BillingRequestKind = 'primary' | 'title' | 'compaction' | 'generate' | 'keep_warm' | 'prime';
|
|
47
|
+
export type BillingOutcome = 'completed' | 'cut' | 'failed';
|
|
48
|
+
/** Omit unread counts; zero represents a measured count, not a default. */
|
|
49
|
+
export interface BillingUsage {
|
|
50
|
+
input?: number;
|
|
51
|
+
output?: number;
|
|
52
|
+
cacheRead?: number;
|
|
53
|
+
cacheWrite?: number;
|
|
54
|
+
cacheWrite5m?: number;
|
|
55
|
+
cacheWrite1h?: number;
|
|
56
|
+
reasoning?: number;
|
|
57
|
+
reasoningIncludedInOutput?: boolean;
|
|
58
|
+
}
|
|
45
59
|
export type ReportRoutingInput = (RoutingReportIdentity & ({
|
|
46
60
|
outcome: 'served';
|
|
47
61
|
/**
|
|
@@ -73,6 +87,35 @@ export type ReportRoutingInput = (RoutingReportIdentity & ({
|
|
|
73
87
|
kind: 'turn_note_skipped';
|
|
74
88
|
after_tool_use_id: string;
|
|
75
89
|
reason: 'anchor_missing' | 'before_user_message' | 'unsupported_model' | 'not_oauth';
|
|
90
|
+
} | {
|
|
91
|
+
sessionId: string;
|
|
92
|
+
kind: 'billing';
|
|
93
|
+
attemptId: string;
|
|
94
|
+
requestKind: BillingRequestKind;
|
|
95
|
+
credentialId: string;
|
|
96
|
+
accountId?: string;
|
|
97
|
+
provider: string;
|
|
98
|
+
model: string;
|
|
99
|
+
outcome: BillingOutcome;
|
|
100
|
+
providerRequestId?: string;
|
|
101
|
+
providerResponseId?: string;
|
|
102
|
+
userMessageId?: string;
|
|
103
|
+
status?: number;
|
|
104
|
+
attempt?: number;
|
|
105
|
+
chargeBasis?: 'subscription_included' | 'metered_api';
|
|
106
|
+
usage?: BillingUsage;
|
|
107
|
+
usageByModel?: readonly {
|
|
108
|
+
modelUsed: string;
|
|
109
|
+
usage: BillingUsage;
|
|
110
|
+
}[];
|
|
111
|
+
cache?: {
|
|
112
|
+
ttlMs?: number;
|
|
113
|
+
implicit?: true;
|
|
114
|
+
warming?: {
|
|
115
|
+
on: boolean;
|
|
116
|
+
stopReason?: CacheWarmStopReason;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
76
119
|
};
|
|
77
120
|
/**
|
|
78
121
|
* Read advisory input for request shaping, in landing order, without persisting
|
|
@@ -90,9 +133,9 @@ export declare function turnNotes(sessionId: string): readonly {
|
|
|
90
133
|
*/
|
|
91
134
|
export declare function askRouting<Candidate extends RoutingCandidate>(input: AskRoutingInput<Candidate>): Promise<RoutingSelection<Candidate> | undefined>;
|
|
92
135
|
/**
|
|
93
|
-
* Report a vault request or turn-note event without waiting for
|
|
94
|
-
* contract fields are sent, and all accessor failures are ignored.
|
|
95
|
-
* already be limited to rate-limit headers by the caller; values
|
|
96
|
-
* or redacted here.
|
|
136
|
+
* Report a vault request, billing result or turn-note event without waiting for
|
|
137
|
+
* routing. Only contract fields are sent, and all accessor failures are ignored.
|
|
138
|
+
* Headers must already be limited to rate-limit headers by the caller; values
|
|
139
|
+
* are not filtered or redacted here.
|
|
97
140
|
*/
|
|
98
141
|
export declare function reportRouting(input: ReportRoutingInput): void;
|
|
@@ -3,11 +3,68 @@
|
|
|
3
3
|
* shaping. Account ids are vault account ids, not local pool rows. Nothing is
|
|
4
4
|
* persisted here; plugins on routes the runner does not serve get no turn notes.
|
|
5
5
|
*/
|
|
6
|
+
import { isCacheWarmStopReason, } from './cache-policy.js';
|
|
6
7
|
import { routingHandle } from './handle.js';
|
|
7
|
-
export { reportCacheTouch, reportCacheWarmStopped, sessionCachePolicy, sessionToolWait, } from './cache-policy.js';
|
|
8
|
+
export { CACHE_WARM_STOP_REASONS, isCacheWarmStopReason, reportCacheTouch, reportCacheWarmStopped, sessionCachePolicy, sessionToolWait, } from './cache-policy.js';
|
|
8
9
|
function isObject(value) {
|
|
9
10
|
return typeof value === 'object' && value !== null;
|
|
10
11
|
}
|
|
12
|
+
function isNonEmptyString(value) {
|
|
13
|
+
return typeof value === 'string' && value.length > 0;
|
|
14
|
+
}
|
|
15
|
+
function billingCache(value) {
|
|
16
|
+
if (!isObject(value) || Array.isArray(value))
|
|
17
|
+
return;
|
|
18
|
+
const { ttlMs, implicit, warming } = value;
|
|
19
|
+
const cache = {};
|
|
20
|
+
// Conflicting lifetime claims cannot prove what the request cached.
|
|
21
|
+
if (!(ttlMs !== undefined && implicit !== undefined)) {
|
|
22
|
+
if (typeof ttlMs === 'number' && Number.isSafeInteger(ttlMs) && ttlMs > 0) {
|
|
23
|
+
cache.ttl_ms = ttlMs;
|
|
24
|
+
}
|
|
25
|
+
else if (implicit === true) {
|
|
26
|
+
cache.implicit = true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (isObject(warming) && !Array.isArray(warming)) {
|
|
30
|
+
const { on, stopReason } = warming;
|
|
31
|
+
if (typeof on === 'boolean') {
|
|
32
|
+
cache.warming = {
|
|
33
|
+
on,
|
|
34
|
+
...(!on && isCacheWarmStopReason(stopReason)
|
|
35
|
+
? { stop_reason: stopReason }
|
|
36
|
+
: {}),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return Object.keys(cache).length > 0 ? cache : undefined;
|
|
41
|
+
}
|
|
42
|
+
function billingUsage(value) {
|
|
43
|
+
if (!isObject(value) || Array.isArray(value))
|
|
44
|
+
return;
|
|
45
|
+
const usage = {};
|
|
46
|
+
for (const [inputKey, payloadKey] of [
|
|
47
|
+
['input', 'input'],
|
|
48
|
+
['output', 'output'],
|
|
49
|
+
['cacheRead', 'cache_read'],
|
|
50
|
+
['cacheWrite', 'cache_write'],
|
|
51
|
+
['cacheWrite5m', 'cache_write_5m'],
|
|
52
|
+
['cacheWrite1h', 'cache_write_1h'],
|
|
53
|
+
['reasoning', 'reasoning'],
|
|
54
|
+
]) {
|
|
55
|
+
const count = value[inputKey];
|
|
56
|
+
if (typeof count === 'number' &&
|
|
57
|
+
Number.isSafeInteger(count) &&
|
|
58
|
+
count >= 0) {
|
|
59
|
+
usage[payloadKey] = count;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
const reasoningIncludedInOutput = value.reasoningIncludedInOutput;
|
|
63
|
+
if (typeof reasoningIncludedInOutput === 'boolean') {
|
|
64
|
+
usage.reasoning_included_in_output = reasoningIncludedInOutput;
|
|
65
|
+
}
|
|
66
|
+
return Object.keys(usage).length > 0 ? usage : undefined;
|
|
67
|
+
}
|
|
11
68
|
/**
|
|
12
69
|
* Read advisory input for request shaping, in landing order, without persisting
|
|
13
70
|
* it. If no routing handle is available or the runner does not serve the route,
|
|
@@ -124,10 +181,10 @@ export async function askRouting(input) {
|
|
|
124
181
|
}
|
|
125
182
|
}
|
|
126
183
|
/**
|
|
127
|
-
* Report a vault request or turn-note event without waiting for
|
|
128
|
-
* contract fields are sent, and all accessor failures are ignored.
|
|
129
|
-
* already be limited to rate-limit headers by the caller; values
|
|
130
|
-
* or redacted here.
|
|
184
|
+
* Report a vault request, billing result or turn-note event without waiting for
|
|
185
|
+
* routing. Only contract fields are sent, and all accessor failures are ignored.
|
|
186
|
+
* Headers must already be limited to rate-limit headers by the caller; values
|
|
187
|
+
* are not filtered or redacted here.
|
|
131
188
|
*/
|
|
132
189
|
export function reportRouting(input) {
|
|
133
190
|
try {
|
|
@@ -140,6 +197,80 @@ export function reportRouting(input) {
|
|
|
140
197
|
let payload;
|
|
141
198
|
if ('kind' in input) {
|
|
142
199
|
switch (input.kind) {
|
|
200
|
+
case 'billing': {
|
|
201
|
+
const { attemptId, requestKind, credentialId, provider, model, outcome, accountId, providerRequestId, providerResponseId, userMessageId, status, attempt, chargeBasis, usage: inputUsage, usageByModel: inputUsageByModel, cache: inputCache, } = input;
|
|
202
|
+
if (!isNonEmptyString(attemptId) ||
|
|
203
|
+
!isNonEmptyString(credentialId) ||
|
|
204
|
+
!isNonEmptyString(provider) ||
|
|
205
|
+
!isNonEmptyString(model) ||
|
|
206
|
+
(requestKind !== 'primary' &&
|
|
207
|
+
requestKind !== 'title' &&
|
|
208
|
+
requestKind !== 'compaction' &&
|
|
209
|
+
requestKind !== 'generate' &&
|
|
210
|
+
requestKind !== 'keep_warm' &&
|
|
211
|
+
requestKind !== 'prime') ||
|
|
212
|
+
(outcome !== 'completed' &&
|
|
213
|
+
outcome !== 'cut' &&
|
|
214
|
+
outcome !== 'failed'))
|
|
215
|
+
return;
|
|
216
|
+
const usage = billingUsage(inputUsage);
|
|
217
|
+
const cache = billingCache(inputCache);
|
|
218
|
+
const usageByModel = [];
|
|
219
|
+
if (Array.isArray(inputUsageByModel)) {
|
|
220
|
+
for (const entry of inputUsageByModel) {
|
|
221
|
+
if (!isObject(entry) || Array.isArray(entry))
|
|
222
|
+
continue;
|
|
223
|
+
const modelUsed = entry.modelUsed;
|
|
224
|
+
if (!isNonEmptyString(modelUsed))
|
|
225
|
+
continue;
|
|
226
|
+
const modelUsage = billingUsage(entry.usage);
|
|
227
|
+
// Thalamus rejects the whole report when an entry has no usage
|
|
228
|
+
// object, so an entry without a valid reading is dropped.
|
|
229
|
+
if (!modelUsage)
|
|
230
|
+
continue;
|
|
231
|
+
usageByModel.push({ model_used: modelUsed, usage: modelUsage });
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
payload = {
|
|
235
|
+
kind: 'billing',
|
|
236
|
+
attempt_id: attemptId,
|
|
237
|
+
request_kind: requestKind,
|
|
238
|
+
credential_id: credentialId,
|
|
239
|
+
provider,
|
|
240
|
+
model,
|
|
241
|
+
outcome,
|
|
242
|
+
...(isNonEmptyString(accountId) ? { account_id: accountId } : {}),
|
|
243
|
+
...(isNonEmptyString(providerRequestId)
|
|
244
|
+
? { provider_request_id: providerRequestId }
|
|
245
|
+
: {}),
|
|
246
|
+
...(isNonEmptyString(providerResponseId)
|
|
247
|
+
? { provider_response_id: providerResponseId }
|
|
248
|
+
: {}),
|
|
249
|
+
...(isNonEmptyString(userMessageId)
|
|
250
|
+
? { user_message_id: userMessageId }
|
|
251
|
+
: {}),
|
|
252
|
+
...(typeof status === 'number' &&
|
|
253
|
+
Number.isInteger(status) &&
|
|
254
|
+
status >= 0
|
|
255
|
+
? { status }
|
|
256
|
+
: {}),
|
|
257
|
+
...(typeof attempt === 'number' &&
|
|
258
|
+
Number.isInteger(attempt) &&
|
|
259
|
+
attempt >= 1
|
|
260
|
+
? { attempt }
|
|
261
|
+
: {}),
|
|
262
|
+
...(chargeBasis === 'subscription_included' ||
|
|
263
|
+
chargeBasis === 'metered_api'
|
|
264
|
+
? { charge_basis: chargeBasis }
|
|
265
|
+
: {}),
|
|
266
|
+
...(usage ? { usage } : {}),
|
|
267
|
+
...(usageByModel.length > 0
|
|
268
|
+
? { usage_by_model: usageByModel }
|
|
269
|
+
: {}),
|
|
270
|
+
...(cache ? { cache } : {}),
|
|
271
|
+
};
|
|
272
|
+
break;
|
|
273
|
+
}
|
|
143
274
|
case 'turn_notes_supported': {
|
|
144
275
|
const { model, supported } = input;
|
|
145
276
|
if (typeof model !== 'string' ||
|
|
@@ -54,7 +54,7 @@ function approveCommand(requestId, name) {
|
|
|
54
54
|
export async function connectSetupHost(plugin, host, io, terminal, fence) {
|
|
55
55
|
if (hasVaultHost())
|
|
56
56
|
throw new Error(VAULT_HOST_CONNECT_REFUSAL);
|
|
57
|
-
const { name, paths: input } = plugin.vault.hosts[host];
|
|
57
|
+
const { name, displayName, paths: input } = plugin.vault.hosts[host];
|
|
58
58
|
const paths = hostEnrollmentPaths(input);
|
|
59
59
|
await fence();
|
|
60
60
|
const client = await (io.connect ?? connectClaustrumEnrollmentClient)({
|
|
@@ -68,6 +68,7 @@ export async function connectSetupHost(plugin, host, io, terminal, fence) {
|
|
|
68
68
|
try {
|
|
69
69
|
const manager = new ClaustrumEnrollmentManager({
|
|
70
70
|
proposedName: name,
|
|
71
|
+
displayName,
|
|
71
72
|
paths,
|
|
72
73
|
// Each tick of the wait below checks the fence once, just before
|
|
73
74
|
// reconcile proposes or polls. Checking again inside every vault call
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"package": "@cortexkit/common-auth",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.43.0",
|
|
5
5
|
"artifactStatus": "published",
|
|
6
6
|
"publicRoots": {
|
|
7
7
|
"./rpc": {
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"import": "./src/quota-sidebar/index.tsx"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.
|
|
73
|
-
"tarballSha256": "
|
|
74
|
-
"sri": "sha512-
|
|
75
|
-
"canonicalFiles":
|
|
76
|
-
"canonicalBytes":
|
|
72
|
+
"input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.43.0.tgz",
|
|
73
|
+
"tarballSha256": "f2c384c880b08859ac3f0cca3575cedfcdcd47e6e96dd8f72dc78af1fe6a7620",
|
|
74
|
+
"sri": "sha512-J0vA1VHliTdDhBghn/G5oR6oRcm5sA0ScL/6ghwqMEsQjlSZ5K8q40vYVbW15gZcw69hcmVuA6Gbq1/26yKR4A==",
|
|
75
|
+
"canonicalFiles": 221,
|
|
76
|
+
"canonicalBytes": 1376844,
|
|
77
77
|
"generator": {
|
|
78
78
|
"path": "packages/opencode/scripts/embed-common-auth.ts",
|
|
79
79
|
"version": 4,
|
|
80
|
-
"sha256": "
|
|
80
|
+
"sha256": "aeda85685b8cd9c84862f722acdd650e0526db6cd56c539ef3c17f19fd0bf5c6"
|
|
81
81
|
},
|
|
82
82
|
"files": [
|
|
83
83
|
{
|
|
@@ -243,17 +243,17 @@
|
|
|
243
243
|
{
|
|
244
244
|
"source": "package/dist/claustrum/availability.d.ts",
|
|
245
245
|
"output": "claustrum/availability.d.ts",
|
|
246
|
-
"bytes":
|
|
247
|
-
"sourceSha256": "
|
|
248
|
-
"outputSha256": "
|
|
246
|
+
"bytes": 3781,
|
|
247
|
+
"sourceSha256": "3f87160823d131bf6e60e0bfd2398f10f3799ce45912c5480b327b59892b7157",
|
|
248
|
+
"outputSha256": "3f87160823d131bf6e60e0bfd2398f10f3799ce45912c5480b327b59892b7157",
|
|
249
249
|
"transform": "verbatim"
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"source": "package/dist/claustrum/availability.js",
|
|
253
253
|
"output": "claustrum/availability.js",
|
|
254
|
-
"bytes":
|
|
255
|
-
"sourceSha256": "
|
|
256
|
-
"outputSha256": "
|
|
254
|
+
"bytes": 4615,
|
|
255
|
+
"sourceSha256": "11eaa35ab38ab433f249b4b11b9e284fac5ab7e785c965fe070aef8cde593089",
|
|
256
|
+
"outputSha256": "11eaa35ab38ab433f249b4b11b9e284fac5ab7e785c965fe070aef8cde593089",
|
|
257
257
|
"transform": "verbatim"
|
|
258
258
|
},
|
|
259
259
|
{
|
|
@@ -275,33 +275,33 @@
|
|
|
275
275
|
{
|
|
276
276
|
"source": "package/dist/claustrum/custody.d.ts",
|
|
277
277
|
"output": "claustrum/custody.d.ts",
|
|
278
|
-
"bytes":
|
|
279
|
-
"sourceSha256": "
|
|
280
|
-
"outputSha256": "
|
|
278
|
+
"bytes": 17862,
|
|
279
|
+
"sourceSha256": "ea33c127942652259ddf467d377da872cabfab1407339cc774c0e79ca5f83742",
|
|
280
|
+
"outputSha256": "ea33c127942652259ddf467d377da872cabfab1407339cc774c0e79ca5f83742",
|
|
281
281
|
"transform": "verbatim"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"source": "package/dist/claustrum/custody.js",
|
|
285
285
|
"output": "claustrum/custody.js",
|
|
286
|
-
"bytes":
|
|
287
|
-
"sourceSha256": "
|
|
288
|
-
"outputSha256": "
|
|
286
|
+
"bytes": 37468,
|
|
287
|
+
"sourceSha256": "e73ca575f9a97a20723e3371ff63be99a8cfea95bbe54ab694c298bebc30e853",
|
|
288
|
+
"outputSha256": "e73ca575f9a97a20723e3371ff63be99a8cfea95bbe54ab694c298bebc30e853",
|
|
289
289
|
"transform": "verbatim"
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
292
|
"source": "package/dist/claustrum/enrollment.d.ts",
|
|
293
293
|
"output": "claustrum/enrollment.d.ts",
|
|
294
|
-
"bytes":
|
|
295
|
-
"sourceSha256": "
|
|
296
|
-
"outputSha256": "
|
|
294
|
+
"bytes": 8990,
|
|
295
|
+
"sourceSha256": "395691b7c46020b5ab8850e1effdab1ce378312cf9f71b9b2ab613d4331a1669",
|
|
296
|
+
"outputSha256": "395691b7c46020b5ab8850e1effdab1ce378312cf9f71b9b2ab613d4331a1669",
|
|
297
297
|
"transform": "verbatim"
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
300
|
"source": "package/dist/claustrum/enrollment.js",
|
|
301
301
|
"output": "claustrum/enrollment.js",
|
|
302
|
-
"bytes":
|
|
303
|
-
"sourceSha256": "
|
|
304
|
-
"outputSha256": "
|
|
302
|
+
"bytes": 38799,
|
|
303
|
+
"sourceSha256": "3cb9bf3fae4b90b64b743a618b142047cad3a99b81b52932d0f9afc8540adad7",
|
|
304
|
+
"outputSha256": "3cb9bf3fae4b90b64b743a618b142047cad3a99b81b52932d0f9afc8540adad7",
|
|
305
305
|
"transform": "verbatim"
|
|
306
306
|
},
|
|
307
307
|
{
|
|
@@ -347,9 +347,9 @@
|
|
|
347
347
|
{
|
|
348
348
|
"source": "package/dist/claustrum/host.js",
|
|
349
349
|
"output": "claustrum/host.js",
|
|
350
|
-
"bytes":
|
|
351
|
-
"sourceSha256": "
|
|
352
|
-
"outputSha256": "
|
|
350
|
+
"bytes": 4610,
|
|
351
|
+
"sourceSha256": "c2eba15f35b996993ba7f0ec849ce84312d5f08e9b15e8f6458c6d8a0e03ae7b",
|
|
352
|
+
"outputSha256": "c2eba15f35b996993ba7f0ec849ce84312d5f08e9b15e8f6458c6d8a0e03ae7b",
|
|
353
353
|
"transform": "verbatim"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
@@ -371,17 +371,17 @@
|
|
|
371
371
|
{
|
|
372
372
|
"source": "package/dist/claustrum/index.d.ts",
|
|
373
373
|
"output": "claustrum/index.d.ts",
|
|
374
|
-
"bytes":
|
|
375
|
-
"sourceSha256": "
|
|
376
|
-
"outputSha256": "
|
|
374
|
+
"bytes": 4965,
|
|
375
|
+
"sourceSha256": "6b95f03d2135a664e8960d3ba5d3fc294e4dea0cb7ca32ac183c3a3312f88a5d",
|
|
376
|
+
"outputSha256": "6b95f03d2135a664e8960d3ba5d3fc294e4dea0cb7ca32ac183c3a3312f88a5d",
|
|
377
377
|
"transform": "verbatim"
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
"source": "package/dist/claustrum/index.js",
|
|
381
381
|
"output": "claustrum/index.js",
|
|
382
|
-
"bytes":
|
|
383
|
-
"sourceSha256": "
|
|
384
|
-
"outputSha256": "
|
|
382
|
+
"bytes": 4090,
|
|
383
|
+
"sourceSha256": "57a6e23ad884e39989da2ffd8eadb1b62f744402a9d6c33bb68b25d6c329e4f0",
|
|
384
|
+
"outputSha256": "57a6e23ad884e39989da2ffd8eadb1b62f744402a9d6c33bb68b25d6c329e4f0",
|
|
385
385
|
"transform": "verbatim"
|
|
386
386
|
},
|
|
387
387
|
{
|
|
@@ -640,6 +640,14 @@
|
|
|
640
640
|
"outputSha256": "cd60090325fa8c4c17dddfc216a4ed326f2a6e48525e724a4dd260bf88041231",
|
|
641
641
|
"transform": "verbatim"
|
|
642
642
|
},
|
|
643
|
+
{
|
|
644
|
+
"source": "package/dist/fs/lock-record.js",
|
|
645
|
+
"output": "fs/lock-record.js",
|
|
646
|
+
"bytes": 2253,
|
|
647
|
+
"sourceSha256": "18468ed6c58d8a989164b566c3653dbeea0d46b3031b49bc8f23bc4028ae5ff3",
|
|
648
|
+
"outputSha256": "18468ed6c58d8a989164b566c3653dbeea0d46b3031b49bc8f23bc4028ae5ff3",
|
|
649
|
+
"transform": "verbatim"
|
|
650
|
+
},
|
|
643
651
|
{
|
|
644
652
|
"source": "package/dist/fs/private-files.d.ts",
|
|
645
653
|
"output": "fs/private-files.d.ts",
|
|
@@ -667,9 +675,9 @@
|
|
|
667
675
|
{
|
|
668
676
|
"source": "package/dist/fs/refresh-file-lock.js",
|
|
669
677
|
"output": "fs/refresh-file-lock.js",
|
|
670
|
-
"bytes":
|
|
671
|
-
"sourceSha256": "
|
|
672
|
-
"outputSha256": "
|
|
678
|
+
"bytes": 46870,
|
|
679
|
+
"sourceSha256": "fb2d2c236e468a1c38b28d2d628f5b01e246e6d34165d844b1ba8faf2f692b37",
|
|
680
|
+
"outputSha256": "fb2d2c236e468a1c38b28d2d628f5b01e246e6d34165d844b1ba8faf2f692b37",
|
|
673
681
|
"transform": "verbatim"
|
|
674
682
|
},
|
|
675
683
|
{
|
|
@@ -683,9 +691,9 @@
|
|
|
683
691
|
{
|
|
684
692
|
"source": "package/dist/fs/with-lock.js",
|
|
685
693
|
"output": "fs/with-lock.js",
|
|
686
|
-
"bytes":
|
|
687
|
-
"sourceSha256": "
|
|
688
|
-
"outputSha256": "
|
|
694
|
+
"bytes": 3278,
|
|
695
|
+
"sourceSha256": "3036b3e1cf9d80d33feebced3bdc14bbfd841ce69a8e784957be984d3c94a461",
|
|
696
|
+
"outputSha256": "3036b3e1cf9d80d33feebced3bdc14bbfd841ce69a8e784957be984d3c94a461",
|
|
689
697
|
"transform": "verbatim"
|
|
690
698
|
},
|
|
691
699
|
{
|
|
@@ -1363,9 +1371,9 @@
|
|
|
1363
1371
|
{
|
|
1364
1372
|
"source": "package/dist/setup/enroll.js",
|
|
1365
1373
|
"output": "setup/enroll.js",
|
|
1366
|
-
"bytes":
|
|
1367
|
-
"sourceSha256": "
|
|
1368
|
-
"outputSha256": "
|
|
1374
|
+
"bytes": 9004,
|
|
1375
|
+
"sourceSha256": "e94fc4b0238f24911a5486d9480da42948b72d89d8d2d5df53e8d9c84c5b3a64",
|
|
1376
|
+
"outputSha256": "e94fc4b0238f24911a5486d9480da42948b72d89d8d2d5df53e8d9c84c5b3a64",
|
|
1369
1377
|
"transform": "verbatim"
|
|
1370
1378
|
},
|
|
1371
1379
|
{
|
|
@@ -1451,9 +1459,9 @@
|
|
|
1451
1459
|
{
|
|
1452
1460
|
"source": "package/dist/setup/types.d.ts",
|
|
1453
1461
|
"output": "setup/types.d.ts",
|
|
1454
|
-
"bytes":
|
|
1455
|
-
"sourceSha256": "
|
|
1456
|
-
"outputSha256": "
|
|
1462
|
+
"bytes": 6072,
|
|
1463
|
+
"sourceSha256": "b14118ed7b204bb57b62e785558db22bcc9e32bb99748883be4289fca746fa7a",
|
|
1464
|
+
"outputSha256": "b14118ed7b204bb57b62e785558db22bcc9e32bb99748883be4289fca746fa7a",
|
|
1457
1465
|
"transform": "verbatim"
|
|
1458
1466
|
},
|
|
1459
1467
|
{
|
|
@@ -1787,33 +1795,33 @@
|
|
|
1787
1795
|
{
|
|
1788
1796
|
"source": "package/dist/quota-sidebar/index.d.ts",
|
|
1789
1797
|
"output": "quota-sidebar/index.d.ts",
|
|
1790
|
-
"bytes":
|
|
1791
|
-
"sourceSha256": "
|
|
1792
|
-
"outputSha256": "
|
|
1798
|
+
"bytes": 1672,
|
|
1799
|
+
"sourceSha256": "238637fa4ae89e0ce90d78a1151850020d8949c7fabba93788abccfa6d9c6010",
|
|
1800
|
+
"outputSha256": "238637fa4ae89e0ce90d78a1151850020d8949c7fabba93788abccfa6d9c6010",
|
|
1793
1801
|
"transform": "verbatim"
|
|
1794
1802
|
},
|
|
1795
1803
|
{
|
|
1796
1804
|
"source": "package/src/quota-sidebar/index.tsx",
|
|
1797
1805
|
"output": "quota-sidebar/index.tsx",
|
|
1798
|
-
"bytes":
|
|
1799
|
-
"sourceSha256": "
|
|
1800
|
-
"outputSha256": "
|
|
1806
|
+
"bytes": 2802,
|
|
1807
|
+
"sourceSha256": "6fb50d1f7c050aeaac1fbf24d032de3a49461ef186489580b8b779f6a98ef480",
|
|
1808
|
+
"outputSha256": "6fb50d1f7c050aeaac1fbf24d032de3a49461ef186489580b8b779f6a98ef480",
|
|
1801
1809
|
"transform": "verbatim"
|
|
1802
1810
|
},
|
|
1803
1811
|
{
|
|
1804
1812
|
"source": "package/dist/routing-accessor/cache-policy.d.ts",
|
|
1805
1813
|
"output": "routing-accessor/cache-policy.d.ts",
|
|
1806
|
-
"bytes":
|
|
1807
|
-
"sourceSha256": "
|
|
1808
|
-
"outputSha256": "
|
|
1814
|
+
"bytes": 2499,
|
|
1815
|
+
"sourceSha256": "941d59d7758fe9958c7ad50f744d8d127419f71d0cc44c043af49750089d5dbc",
|
|
1816
|
+
"outputSha256": "941d59d7758fe9958c7ad50f744d8d127419f71d0cc44c043af49750089d5dbc",
|
|
1809
1817
|
"transform": "verbatim"
|
|
1810
1818
|
},
|
|
1811
1819
|
{
|
|
1812
1820
|
"source": "package/dist/routing-accessor/cache-policy.js",
|
|
1813
1821
|
"output": "routing-accessor/cache-policy.js",
|
|
1814
|
-
"bytes":
|
|
1815
|
-
"sourceSha256": "
|
|
1816
|
-
"outputSha256": "
|
|
1822
|
+
"bytes": 7035,
|
|
1823
|
+
"sourceSha256": "3dd1190a495f02c9a35638065c22f34372b7aaf37817ceb31920eead004abcf2",
|
|
1824
|
+
"outputSha256": "3dd1190a495f02c9a35638065c22f34372b7aaf37817ceb31920eead004abcf2",
|
|
1817
1825
|
"transform": "verbatim"
|
|
1818
1826
|
},
|
|
1819
1827
|
{
|
|
@@ -1827,17 +1835,17 @@
|
|
|
1827
1835
|
{
|
|
1828
1836
|
"source": "package/dist/routing-accessor/index.d.ts",
|
|
1829
1837
|
"output": "routing-accessor/index.d.ts",
|
|
1830
|
-
"bytes":
|
|
1831
|
-
"sourceSha256": "
|
|
1832
|
-
"outputSha256": "
|
|
1838
|
+
"bytes": 5573,
|
|
1839
|
+
"sourceSha256": "2175d74fc07473fa02ddd401fc069938a89fdf6d22706afcd9d3ae5225f49708",
|
|
1840
|
+
"outputSha256": "2175d74fc07473fa02ddd401fc069938a89fdf6d22706afcd9d3ae5225f49708",
|
|
1833
1841
|
"transform": "verbatim"
|
|
1834
1842
|
},
|
|
1835
1843
|
{
|
|
1836
1844
|
"source": "package/dist/routing-accessor/index.js",
|
|
1837
1845
|
"output": "routing-accessor/index.js",
|
|
1838
|
-
"bytes":
|
|
1839
|
-
"sourceSha256": "
|
|
1840
|
-
"outputSha256": "
|
|
1846
|
+
"bytes": 14506,
|
|
1847
|
+
"sourceSha256": "f3adc02d9b528c4ea8345d61e4cc04d1ab43899056931cc57eae67ddcb601b80",
|
|
1848
|
+
"outputSha256": "f3adc02d9b528c4ea8345d61e4cc04d1ab43899056931cc57eae67ddcb601b80",
|
|
1841
1849
|
"transform": "verbatim"
|
|
1842
1850
|
}
|
|
1843
1851
|
],
|
|
@@ -45,7 +45,7 @@ import { type FrameColor, type FrameTheme } from '../../tui/sidebar-frame.js';
|
|
|
45
45
|
export declare const GA_TUI_ID: "cortexkit.antigravity-auth";
|
|
46
46
|
export declare const GA_RPC_ID: "antigravity-auth";
|
|
47
47
|
export declare const GA_RPC_VERSION: 1;
|
|
48
|
-
/** How often the TUI pulls state and notifications
|
|
48
|
+
/** How often the TUI pulls state and notifications for the visible route. */
|
|
49
49
|
export declare const GA_SIDEBAR_PULL_MS = 1000;
|
|
50
50
|
export interface GaLocationRef {
|
|
51
51
|
readonly directory: string;
|
|
@@ -94,6 +94,13 @@ export interface GaTuiContext {
|
|
|
94
94
|
readonly storage?: GaStorage;
|
|
95
95
|
readonly location: GaLocationRef | undefined;
|
|
96
96
|
readonly client: {
|
|
97
|
+
readonly session: {
|
|
98
|
+
get(input: {
|
|
99
|
+
readonly sessionID: string;
|
|
100
|
+
}): Promise<{
|
|
101
|
+
readonly location: GaLocationRef;
|
|
102
|
+
}>;
|
|
103
|
+
};
|
|
97
104
|
readonly rpc: {
|
|
98
105
|
call(input: GaRpcCallInput): Promise<unknown>;
|
|
99
106
|
};
|
|
@@ -261,6 +268,16 @@ export declare function createGaLocationClient(options: {
|
|
|
261
268
|
readonly location: GaLocationRef | undefined;
|
|
262
269
|
readonly logger?: GaLogger;
|
|
263
270
|
}): GaLocationClient;
|
|
271
|
+
/** Keep the home client, but retain at most one other visible location. */
|
|
272
|
+
export declare function createGaLocationClients(options: {
|
|
273
|
+
readonly call: (input: GaRpcCallInput) => Promise<unknown>;
|
|
274
|
+
readonly location: GaLocationRef | undefined;
|
|
275
|
+
readonly logger?: GaLogger;
|
|
276
|
+
}): {
|
|
277
|
+
current: () => GaLocationClient;
|
|
278
|
+
select(location: GaLocationRef | undefined): GaLocationClient;
|
|
279
|
+
dispose(): void;
|
|
280
|
+
};
|
|
264
281
|
export declare function buildGaMenu(snapshot: GaSnapshot, now: number): MenuModel;
|
|
265
282
|
/** A displayed choice is no longer present in the server-issued menu. */
|
|
266
283
|
export declare class GaMenuChoiceError extends Error {
|
|
@@ -354,8 +371,8 @@ export interface GaSetupOptions {
|
|
|
354
371
|
export declare function setupGaTui(context: GaTuiContext, options?: GaSetupOptions): () => Promise<void>;
|
|
355
372
|
/**
|
|
356
373
|
* The GA TUI plugin definition (`{ id, setup }`, the 2.0.22 TUI plugin
|
|
357
|
-
* shape). Importing this module starts nothing; `setup`
|
|
358
|
-
*
|
|
374
|
+
* shape). Importing this module starts nothing; `setup` follows the current
|
|
375
|
+
* session's location and returns the cleanup that stops everything it
|
|
359
376
|
* started. The host calls `setup(context)`; the package's `./tui` entry
|
|
360
377
|
* passes the plugin version as the second argument. This module's graph
|
|
361
378
|
* may use no Node built-in (the build refuses one), so it cannot read
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-ga.d.ts","sourceRoot":"","sources":["../../../../src/ga/tui/host-ga.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AAEtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EAAgB,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EAGtB,MAAM,0BAA0B,CAAA;AAKjC,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,eAAe,EAEpB,KAAK,MAAM,EAIZ,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAGL,KAAK,UAAU,EAEf,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAA;AAEhC,eAAO,MAAM,SAAS,EAAG,4BAAqC,CAAA;AAC9D,eAAO,MAAM,SAAS,EAAG,kBAA2B,CAAA;AACpD,eAAO,MAAM,cAAc,EAAG,CAAU,CAAA;AAExC,
|
|
1
|
+
{"version":3,"file":"host-ga.d.ts","sourceRoot":"","sources":["../../../../src/ga/tui/host-ga.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AAEtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EAAgB,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EAGtB,MAAM,0BAA0B,CAAA;AAKjC,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAA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