@teamvibe/poller 0.8.2-rc.1 → 0.8.3-rc.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/dist/classify-failed-iteration.d.ts +7 -0
- package/dist/classify-failed-iteration.js +8 -0
- package/dist/claude-quota.d.ts +15 -0
- package/dist/claude-quota.js +188 -0
- package/dist/claude-rate-limit.d.ts +19 -0
- package/dist/claude-rate-limit.js +44 -0
- package/dist/claude-spawner.d.ts +15 -0
- package/dist/claude-spawner.js +307 -26
- package/dist/config-client.d.ts +2 -0
- package/dist/config-client.js +3 -0
- package/dist/config.d.ts +4 -0
- package/dist/config.js +1 -0
- package/dist/inbox-manager.d.ts +22 -1
- package/dist/inbox-manager.js +57 -3
- package/dist/inbox-watcher.d.ts +1 -1
- package/dist/inbox-watcher.js +42 -20
- package/dist/poller.js +262 -51
- package/dist/pool-defer.d.ts +13 -0
- package/dist/pool-defer.js +81 -0
- package/dist/pool-telemetry.d.ts +44 -0
- package/dist/pool-telemetry.js +107 -0
- package/dist/quota-pause.d.ts +16 -0
- package/dist/quota-pause.js +96 -0
- package/dist/session-store.d.ts +2 -2
- package/dist/session-store.js +6 -3
- package/dist/slack-client.d.ts +4 -1
- package/dist/slack-client.js +100 -11
- package/dist/subscription-pool-client.d.ts +32 -0
- package/dist/subscription-pool-client.js +139 -0
- package/dist/subscription-pool.d.ts +18 -0
- package/dist/subscription-pool.js +24 -0
- package/dist/subscription-runtime.d.ts +53 -0
- package/dist/subscription-runtime.js +74 -0
- package/dist/subscription-selection.d.ts +75 -0
- package/dist/subscription-selection.js +142 -0
- package/dist/subscription-usage-probe.d.ts +16 -0
- package/dist/subscription-usage-probe.js +106 -0
- package/dist/subscription-usage-store.d.ts +47 -0
- package/dist/subscription-usage-store.js +206 -0
- package/dist/types.d.ts +25 -9
- package/dist/worktree-manager.js +4 -0
- package/npm-shrinkwrap.json +78 -77
- package/package.json +1 -1
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { createHash, randomUUID } from 'node:crypto';
|
|
2
|
+
import { mkdir, readFile, rename, rm, writeFile } from 'node:fs/promises';
|
|
3
|
+
import { join, resolve } from 'node:path';
|
|
4
|
+
import { parseClaudeRateLimitInfo } from './claude-rate-limit.js';
|
|
5
|
+
import { normalizePassiveUsage, record, reactiveEligibleAt, PASSIVE_USAGE_TTL_MS } from './subscription-selection.js';
|
|
6
|
+
export function usageStateForSelection(state, now) {
|
|
7
|
+
const passive = state.passive ? normalizePassiveUsage(state.passive.rateLimitInfo, state.passive.observedAt) : undefined;
|
|
8
|
+
// Passive is primary while fresh; a completed optional probe may supplement a stale/missing snapshot.
|
|
9
|
+
const fresh = passive && passive.observedAt <= now && now < passive.observedAt + PASSIVE_USAGE_TTL_MS;
|
|
10
|
+
return { usage: fresh ? passive : state.probe?.status === 'ok' ? state.probe.usage : passive, reactive: state.reactive };
|
|
11
|
+
}
|
|
12
|
+
export class SubscriptionUsageStoreError extends Error {
|
|
13
|
+
constructor() { super('Subscription usage store unavailable'); this.name = 'SubscriptionUsageStoreError'; }
|
|
14
|
+
}
|
|
15
|
+
// Serialize atomic read/modify/write operations across instances in this process.
|
|
16
|
+
const writes = new Map();
|
|
17
|
+
async function serial(path, work) {
|
|
18
|
+
const previous = writes.get(path) ?? Promise.resolve();
|
|
19
|
+
const next = previous.catch(() => { }).then(work);
|
|
20
|
+
writes.set(path, next);
|
|
21
|
+
try {
|
|
22
|
+
return await next;
|
|
23
|
+
}
|
|
24
|
+
finally {
|
|
25
|
+
if (writes.get(path) === next)
|
|
26
|
+
writes.delete(path);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function validTime(now) {
|
|
30
|
+
if (typeof now !== 'number' || !Number.isFinite(now) || now <= 0 || now > 253402300799000)
|
|
31
|
+
throw new SubscriptionUsageStoreError();
|
|
32
|
+
}
|
|
33
|
+
export function safeRateLimitInfo(info) {
|
|
34
|
+
const parsed = parseClaudeRateLimitInfo(info) ?? {};
|
|
35
|
+
// Never persist arbitrary status strings or incidental stream fields.
|
|
36
|
+
if (parsed.status !== 'allowed' && parsed.status !== 'allowed_warning')
|
|
37
|
+
delete parsed.status;
|
|
38
|
+
if (parsed.rateLimitType && !/^(five_hour|seven_day)(?:_(sonnet|opus|haiku))?$/.test(parsed.rateLimitType))
|
|
39
|
+
parsed.rateLimitType = 'uncertain';
|
|
40
|
+
delete parsed.overageStatus;
|
|
41
|
+
delete parsed.overageDisabledReason;
|
|
42
|
+
return parsed;
|
|
43
|
+
}
|
|
44
|
+
export function safeQuota(quota) {
|
|
45
|
+
const scope = typeof quota.modelScope === 'string' ? quota.modelScope.toLowerCase().match(/^(?:claude-)?(sonnet|opus|haiku)(?:-\d[\w.-]*)?$/)?.[1] : undefined;
|
|
46
|
+
const reset = typeof quota.resetAt === 'string' ? Date.parse(quota.resetAt) : NaN;
|
|
47
|
+
return {
|
|
48
|
+
reason: ['usage_limit', 'weekly_limit', 'session_limit', 'extra_usage'].includes(quota.reason) ? quota.reason : 'usage_limit',
|
|
49
|
+
...(quota.window === 'five_hour' || quota.window === 'seven_day' ? { window: quota.window } : {}),
|
|
50
|
+
...(quota.modelScope ? { modelScope: scope ?? 'uncertain' } : {}),
|
|
51
|
+
...(Number.isFinite(reset) && reset > 0 ? { resetAt: new Date(reset).toISOString() } : {}),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function safeProbe(value) {
|
|
55
|
+
const obj = record(value);
|
|
56
|
+
const status = obj['status'];
|
|
57
|
+
if (typeof status !== 'string' || !['attempted', 'ok', 'unsupported', 'unauthorized', 'unavailable', 'cancelled'].includes(status))
|
|
58
|
+
throw new SubscriptionUsageStoreError();
|
|
59
|
+
const observedAt = obj['observedAt'];
|
|
60
|
+
if (typeof observedAt !== 'number')
|
|
61
|
+
throw new SubscriptionUsageStoreError();
|
|
62
|
+
validTime(observedAt);
|
|
63
|
+
const result = { status: status, observedAt };
|
|
64
|
+
if (status === 'ok' && obj['usage']) {
|
|
65
|
+
const usage = record(obj['usage']);
|
|
66
|
+
if (typeof usage['observedAt'] !== 'number' || !Array.isArray(usage['windows']))
|
|
67
|
+
throw new SubscriptionUsageStoreError();
|
|
68
|
+
validTime(usage['observedAt']);
|
|
69
|
+
const windows = usage['windows'].slice(0, 133).map(raw => {
|
|
70
|
+
const w = record(raw);
|
|
71
|
+
const window = w['window'] === 'five_hour' ? 'five_hour' : 'seven_day';
|
|
72
|
+
const scope = typeof w['scope'] === 'string' && ['global', 'sonnet', 'opus', 'haiku'].includes(w['scope']) ? w['scope'] : 'uncertain';
|
|
73
|
+
const percent = typeof w['percent'] === 'number' && Number.isFinite(w['percent']) && w['percent'] >= 0 && w['percent'] <= 100 ? w['percent'] : undefined;
|
|
74
|
+
const resetAt = typeof w['resetAt'] === 'number' && Number.isFinite(w['resetAt']) && w['resetAt'] > 0 && w['resetAt'] <= 253402300799000 ? w['resetAt'] : undefined;
|
|
75
|
+
return { window, scope, percent, resetAt };
|
|
76
|
+
});
|
|
77
|
+
if (usage['windows'].length > 133)
|
|
78
|
+
windows.push({ window: 'seven_day', scope: 'uncertain' });
|
|
79
|
+
result.usage = { source: 'probe', observedAt: usage['observedAt'], windows };
|
|
80
|
+
}
|
|
81
|
+
return result;
|
|
82
|
+
}
|
|
83
|
+
function safeVersion(value) {
|
|
84
|
+
const state = {};
|
|
85
|
+
if (value.passive) {
|
|
86
|
+
validTime(value.passive.observedAt);
|
|
87
|
+
state.passive = { observedAt: value.passive.observedAt, rateLimitInfo: safeRateLimitInfo(value.passive.rateLimitInfo) };
|
|
88
|
+
}
|
|
89
|
+
if (value.probe)
|
|
90
|
+
state.probe = safeProbe(value.probe);
|
|
91
|
+
return state;
|
|
92
|
+
}
|
|
93
|
+
function safeReactive(value) {
|
|
94
|
+
if (!Array.isArray(value) || value.length > 64)
|
|
95
|
+
throw new SubscriptionUsageStoreError();
|
|
96
|
+
return value.map(raw => {
|
|
97
|
+
const obj = record(raw);
|
|
98
|
+
if (typeof obj['observedAt'] !== 'number' || !obj['quota'] || typeof obj['quota'] !== 'object')
|
|
99
|
+
throw new SubscriptionUsageStoreError();
|
|
100
|
+
validTime(obj['observedAt']);
|
|
101
|
+
return { observedAt: obj['observedAt'], quota: safeQuota(obj['quota']) };
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/** One file per version + one reactive file per workspace/account. No credentials or raw provider bodies. */
|
|
105
|
+
export class FileSubscriptionUsageStore {
|
|
106
|
+
#directory;
|
|
107
|
+
constructor(directory) { this.#directory = resolve(directory); }
|
|
108
|
+
#path(key, version) {
|
|
109
|
+
const parts = version ? [key.workspaceId, key.accountId, key.credentialVersion] : [key.workspaceId, key.accountId];
|
|
110
|
+
if (parts.some(p => typeof p !== 'string' || !p))
|
|
111
|
+
throw new SubscriptionUsageStoreError();
|
|
112
|
+
return join(this.#directory, `${createHash('sha256').update(JSON.stringify(parts)).digest('hex')}.json`);
|
|
113
|
+
}
|
|
114
|
+
async #load(path, fallback) {
|
|
115
|
+
try {
|
|
116
|
+
const raw = await readFile(path, 'utf8');
|
|
117
|
+
if (raw.length > 1024 * 1024)
|
|
118
|
+
throw new SubscriptionUsageStoreError();
|
|
119
|
+
const value = JSON.parse(raw);
|
|
120
|
+
if (!value || typeof value !== 'object' || Array.isArray(value))
|
|
121
|
+
throw new SubscriptionUsageStoreError();
|
|
122
|
+
return value;
|
|
123
|
+
}
|
|
124
|
+
catch (error) {
|
|
125
|
+
if (error.code === 'ENOENT')
|
|
126
|
+
return fallback;
|
|
127
|
+
throw new SubscriptionUsageStoreError();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
async #save(path, value) {
|
|
131
|
+
const temporary = `${path}.${randomUUID()}.tmp`;
|
|
132
|
+
try {
|
|
133
|
+
await mkdir(this.#directory, { recursive: true, mode: 0o700 });
|
|
134
|
+
await writeFile(temporary, JSON.stringify(value), { mode: 0o600, flag: 'wx' });
|
|
135
|
+
await rename(temporary, path);
|
|
136
|
+
}
|
|
137
|
+
catch {
|
|
138
|
+
throw new SubscriptionUsageStoreError();
|
|
139
|
+
}
|
|
140
|
+
finally {
|
|
141
|
+
await rm(temporary, { force: true }).catch(() => { });
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
async read(key) {
|
|
145
|
+
const [version, account] = await Promise.all([
|
|
146
|
+
this.#load(this.#path(key, true), {}),
|
|
147
|
+
this.#load(this.#path(key, false), { reactive: [] }),
|
|
148
|
+
]);
|
|
149
|
+
// Corrupt reactive data must never silently resurrect an exhausted account.
|
|
150
|
+
if (!Array.isArray(account.reactive) || account.reactive.some(r => !r || !Number.isFinite(r.observedAt) || !r.quota))
|
|
151
|
+
throw new SubscriptionUsageStoreError();
|
|
152
|
+
return { ...safeVersion(version), reactive: safeReactive(account.reactive) };
|
|
153
|
+
}
|
|
154
|
+
async recordPassive(key, rateLimitInfo, observedAt, options) {
|
|
155
|
+
validTime(observedAt);
|
|
156
|
+
const path = this.#path(key, true);
|
|
157
|
+
await serial(path, async () => {
|
|
158
|
+
const state = safeVersion(await this.#load(path, {}));
|
|
159
|
+
if (state.passive && state.passive.observedAt > observedAt && !options?.expireFutureObservations)
|
|
160
|
+
return;
|
|
161
|
+
state.passive = { rateLimitInfo: safeRateLimitInfo(rateLimitInfo), observedAt };
|
|
162
|
+
await this.#save(path, state);
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
async recordQuota(key, quota, observedAt, options) {
|
|
166
|
+
validTime(observedAt);
|
|
167
|
+
const path = this.#path(key, false);
|
|
168
|
+
await serial(path, async () => {
|
|
169
|
+
const state = await this.#load(path, { reactive: [] });
|
|
170
|
+
state.reactive = safeReactive(state.reactive).filter(r => !options?.expireFutureObservations || r.observedAt <= observedAt);
|
|
171
|
+
const next = { observedAt, quota: safeQuota(quota) };
|
|
172
|
+
const until = reactiveEligibleAt;
|
|
173
|
+
const sameScope = (r) => r.quota.modelScope === next.quota.modelScope && r.quota.window === next.quota.window;
|
|
174
|
+
const previous = state.reactive.find(sameScope);
|
|
175
|
+
const reactive = state.reactive.filter(r => !sameScope(r) && until(r) > observedAt);
|
|
176
|
+
const hasExplicitReset = (r) => r.quota.resetAt !== undefined && Date.parse(r.quota.resetAt) > r.observedAt;
|
|
177
|
+
// A recheck is not a reset. New matching quota evidence can replace that
|
|
178
|
+
// provisional deadline with its explicit reset, without clearing a known
|
|
179
|
+
// active reset or accepting an older observation as revalidation.
|
|
180
|
+
const revalidated = previous && next.observedAt >= previous.observedAt && !hasExplicitReset(previous) && hasExplicitReset(next);
|
|
181
|
+
reactive.push(previous && !revalidated && until(previous) > until(next) ? previous : next);
|
|
182
|
+
await this.#save(path, { reactive });
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
async beginProbe(key, observedAt) {
|
|
186
|
+
validTime(observedAt);
|
|
187
|
+
const path = this.#path(key, true);
|
|
188
|
+
return serial(path, async () => {
|
|
189
|
+
const state = safeVersion(await this.#load(path, {}));
|
|
190
|
+
if (state.probe)
|
|
191
|
+
return false;
|
|
192
|
+
state.probe = { status: 'attempted', observedAt };
|
|
193
|
+
await this.#save(path, state);
|
|
194
|
+
return true;
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
async finishProbe(key, observation) {
|
|
198
|
+
validTime(observation.observedAt);
|
|
199
|
+
const path = this.#path(key, true);
|
|
200
|
+
await serial(path, async () => {
|
|
201
|
+
const state = safeVersion(await this.#load(path, {}));
|
|
202
|
+
state.probe = safeProbe(observation);
|
|
203
|
+
await this.#save(path, state);
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
}
|
package/dist/types.d.ts
CHANGED
|
@@ -66,7 +66,20 @@ export interface TeamVibeQueueMessage {
|
|
|
66
66
|
emailHookPrompt?: string;
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
+
export interface SubscriptionPin {
|
|
70
|
+
inboxFilename?: string;
|
|
71
|
+
resumePending?: boolean;
|
|
72
|
+
effectiveCwd?: string;
|
|
73
|
+
claudeConfigDir?: string;
|
|
74
|
+
sawSendMessageCall?: boolean;
|
|
75
|
+
workspaceId: string;
|
|
76
|
+
accountId: string;
|
|
77
|
+
credentialVersion: string;
|
|
78
|
+
model?: string;
|
|
79
|
+
modelSource?: import('./claude-spawner.js').ModelSource;
|
|
80
|
+
}
|
|
69
81
|
export interface SessionRecord {
|
|
82
|
+
subscription_pin?: SubscriptionPin;
|
|
70
83
|
PK: string;
|
|
71
84
|
SK: string;
|
|
72
85
|
session_id: string;
|
|
@@ -81,13 +94,16 @@ export interface SessionRecord {
|
|
|
81
94
|
}
|
|
82
95
|
export type SessionStatus = 'processing' | 'idle' | 'waiting_for_input';
|
|
83
96
|
export interface SessionMetrics {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
97
|
+
/** Input occupancy of the last assistant message, independent of run totals. */
|
|
98
|
+
context_tokens?: number;
|
|
99
|
+
context_window?: number;
|
|
100
|
+
duration_ms?: number;
|
|
101
|
+
duration_api_ms?: number;
|
|
102
|
+
num_turns?: number;
|
|
103
|
+
total_cost_usd?: number;
|
|
104
|
+
input_tokens?: number;
|
|
105
|
+
output_tokens?: number;
|
|
106
|
+
cache_read_input_tokens?: number;
|
|
107
|
+
cache_creation_input_tokens?: number;
|
|
108
|
+
model?: string;
|
|
93
109
|
}
|
package/dist/worktree-manager.js
CHANGED
|
@@ -2,6 +2,7 @@ import { mkdir, readdir, stat, appendFile, readFile } from 'fs/promises';
|
|
|
2
2
|
import { join } from 'path';
|
|
3
3
|
import { execFile } from 'child_process';
|
|
4
4
|
import { promisify } from 'util';
|
|
5
|
+
import { readInboxRuntime } from './inbox-manager.js';
|
|
5
6
|
const execFileAsync = promisify(execFile);
|
|
6
7
|
const WORKTREES_SUBDIR = '.worktrees';
|
|
7
8
|
const EXCLUDE_ENTRY = `${WORKTREES_SUBDIR}/\n`;
|
|
@@ -94,6 +95,9 @@ export async function cleanupOrphanWorktrees(brainPath, maxAgeMs = 24 * 60 * 60
|
|
|
94
95
|
const cutoffMs = Date.now() - maxAgeMs;
|
|
95
96
|
for (const entry of entries) {
|
|
96
97
|
const path = join(worktreesDir, entry);
|
|
98
|
+
const pending = readInboxRuntime(brainPath, entry);
|
|
99
|
+
if (pending?.pin.resumePending && pending.pin.effectiveCwd === path)
|
|
100
|
+
continue;
|
|
97
101
|
try {
|
|
98
102
|
const s = await stat(path);
|
|
99
103
|
if (s.mtimeMs < cutoffMs) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamvibe/poller",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3-rc.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@teamvibe/poller",
|
|
9
|
-
"version": "0.8.
|
|
9
|
+
"version": "0.8.3-rc.2",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@aws-sdk/client-dynamodb": "3.1108.0",
|
|
12
12
|
"@aws-sdk/client-sqs": "3.1108.0",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"node_modules/@aws-sdk/core": {
|
|
72
|
-
"version": "3.978.
|
|
73
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.978.
|
|
74
|
-
"integrity": "sha512-
|
|
72
|
+
"version": "3.978.3",
|
|
73
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.978.3.tgz",
|
|
74
|
+
"integrity": "sha512-nslpzUCTI9b2IQMWSd6mSAXldBexPc8rr0d3dXUutXYFLFaTdsHa2GD7sJdsn3PhyjK0O5K8ypd6zi+RXXPVlg==",
|
|
75
75
|
"license": "Apache-2.0",
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@aws-sdk/types": "^3.974.6",
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"node_modules/@aws-sdk/credential-provider-env": {
|
|
91
|
-
"version": "3.972.
|
|
92
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.
|
|
93
|
-
"integrity": "sha512-
|
|
91
|
+
"version": "3.972.74",
|
|
92
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.74.tgz",
|
|
93
|
+
"integrity": "sha512-rsRJcW2iFUhCgclyD6OSbMEaPl8Eu0qSeRZb2uuCK1ViZ66hl5wOe/p6Vr6MO3b+ydyKgFeqza2p6tZThvILlw==",
|
|
94
94
|
"license": "Apache-2.0",
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@aws-sdk/core": "^3.978.
|
|
96
|
+
"@aws-sdk/core": "^3.978.3",
|
|
97
97
|
"@aws-sdk/types": "^3.974.6",
|
|
98
98
|
"@smithy/core": "^3.35.2",
|
|
99
99
|
"@smithy/types": "^4.19.0",
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"node_modules/@aws-sdk/credential-provider-http": {
|
|
107
|
-
"version": "3.972.
|
|
108
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.
|
|
109
|
-
"integrity": "sha512-
|
|
107
|
+
"version": "3.972.76",
|
|
108
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.76.tgz",
|
|
109
|
+
"integrity": "sha512-pnKdh0Br7OJPj+7qKjzgTfDTFW0RhEMKXNDR2jv9CAM4oHuG/4z3hRh8KtutLfpmItuRtDbKBmwWkDqHwwAWXw==",
|
|
110
110
|
"license": "Apache-2.0",
|
|
111
111
|
"dependencies": {
|
|
112
|
-
"@aws-sdk/core": "^3.978.
|
|
112
|
+
"@aws-sdk/core": "^3.978.3",
|
|
113
113
|
"@aws-sdk/types": "^3.974.6",
|
|
114
114
|
"@smithy/core": "^3.35.2",
|
|
115
115
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
@@ -122,19 +122,19 @@
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"node_modules/@aws-sdk/credential-provider-ini": {
|
|
125
|
-
"version": "3.973.
|
|
126
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.
|
|
127
|
-
"integrity": "sha512-
|
|
125
|
+
"version": "3.973.19",
|
|
126
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.19.tgz",
|
|
127
|
+
"integrity": "sha512-kcjvAxqQEV8yuwkX58RelNn3ne65o7JgRWf3Z/gVvbi7Xuw1qSDLJlatrLD76+40cmRxmNkLxBoyp/vAQChQ5g==",
|
|
128
128
|
"license": "Apache-2.0",
|
|
129
129
|
"dependencies": {
|
|
130
|
-
"@aws-sdk/core": "^3.978.
|
|
131
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
132
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
133
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
134
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
135
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
136
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
137
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
130
|
+
"@aws-sdk/core": "^3.978.3",
|
|
131
|
+
"@aws-sdk/credential-provider-env": "^3.972.74",
|
|
132
|
+
"@aws-sdk/credential-provider-http": "^3.972.76",
|
|
133
|
+
"@aws-sdk/credential-provider-login": "^3.972.81",
|
|
134
|
+
"@aws-sdk/credential-provider-process": "^3.972.74",
|
|
135
|
+
"@aws-sdk/credential-provider-sso": "^3.973.18",
|
|
136
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.80",
|
|
137
|
+
"@aws-sdk/nested-clients": "^3.997.48",
|
|
138
138
|
"@aws-sdk/types": "^3.974.6",
|
|
139
139
|
"@smithy/core": "^3.35.2",
|
|
140
140
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
@@ -146,13 +146,13 @@
|
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
"node_modules/@aws-sdk/credential-provider-login": {
|
|
149
|
-
"version": "3.972.
|
|
150
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.
|
|
151
|
-
"integrity": "sha512-
|
|
149
|
+
"version": "3.972.81",
|
|
150
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.81.tgz",
|
|
151
|
+
"integrity": "sha512-CeQHSbE2CnVdaHIJ/NayRaCecIER+Pm9faUPkmRATO54rCoMTEPSbVieGHzEwvm1dZM2HIs6qQZCznhayNTWJQ==",
|
|
152
152
|
"license": "Apache-2.0",
|
|
153
153
|
"dependencies": {
|
|
154
|
-
"@aws-sdk/core": "^3.978.
|
|
155
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
154
|
+
"@aws-sdk/core": "^3.978.3",
|
|
155
|
+
"@aws-sdk/nested-clients": "^3.997.48",
|
|
156
156
|
"@aws-sdk/types": "^3.974.6",
|
|
157
157
|
"@smithy/core": "^3.35.2",
|
|
158
158
|
"@smithy/types": "^4.19.0",
|
|
@@ -163,17 +163,17 @@
|
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
"node_modules/@aws-sdk/credential-provider-node": {
|
|
166
|
-
"version": "3.972.
|
|
167
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.
|
|
168
|
-
"integrity": "sha512-
|
|
166
|
+
"version": "3.972.86",
|
|
167
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.86.tgz",
|
|
168
|
+
"integrity": "sha512-WNttSyr6e8innPtBSty//CdnqJcgZN6eAbtw3v/CR2IObz6MYZEo8eusdtuCHJ2ujwFqC2bSPHVyhXGHx8HruQ==",
|
|
169
169
|
"license": "Apache-2.0",
|
|
170
170
|
"dependencies": {
|
|
171
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
172
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
173
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
174
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
175
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
176
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
171
|
+
"@aws-sdk/credential-provider-env": "^3.972.74",
|
|
172
|
+
"@aws-sdk/credential-provider-http": "^3.972.76",
|
|
173
|
+
"@aws-sdk/credential-provider-ini": "^3.973.19",
|
|
174
|
+
"@aws-sdk/credential-provider-process": "^3.972.74",
|
|
175
|
+
"@aws-sdk/credential-provider-sso": "^3.973.18",
|
|
176
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.80",
|
|
177
177
|
"@aws-sdk/types": "^3.974.6",
|
|
178
178
|
"@smithy/core": "^3.35.2",
|
|
179
179
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
@@ -185,12 +185,12 @@
|
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
"node_modules/@aws-sdk/credential-provider-process": {
|
|
188
|
-
"version": "3.972.
|
|
189
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.
|
|
190
|
-
"integrity": "sha512-
|
|
188
|
+
"version": "3.972.74",
|
|
189
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.74.tgz",
|
|
190
|
+
"integrity": "sha512-Yj6kZFJQdbR+PygTkqdVLPHHpdDpOS9GCYVcDCuweCRRig9LF24ELQBMfyUw1vspvrZJUfnOGVyMjhaL094ahw==",
|
|
191
191
|
"license": "Apache-2.0",
|
|
192
192
|
"dependencies": {
|
|
193
|
-
"@aws-sdk/core": "^3.978.
|
|
193
|
+
"@aws-sdk/core": "^3.978.3",
|
|
194
194
|
"@aws-sdk/types": "^3.974.6",
|
|
195
195
|
"@smithy/core": "^3.35.2",
|
|
196
196
|
"@smithy/types": "^4.19.0",
|
|
@@ -201,14 +201,14 @@
|
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
"node_modules/@aws-sdk/credential-provider-sso": {
|
|
204
|
-
"version": "3.973.
|
|
205
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.
|
|
206
|
-
"integrity": "sha512-
|
|
204
|
+
"version": "3.973.18",
|
|
205
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.18.tgz",
|
|
206
|
+
"integrity": "sha512-FnpPhdY4qUGtX/8X6eKxh+uD+9Y19i9FYibgk4SBe0M935s9vocHkHzaxaMNk+YkHmvzgdu8cHA5SCoeU+kkew==",
|
|
207
207
|
"license": "Apache-2.0",
|
|
208
208
|
"dependencies": {
|
|
209
|
-
"@aws-sdk/core": "^3.978.
|
|
210
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
211
|
-
"@aws-sdk/token-providers": "3.
|
|
209
|
+
"@aws-sdk/core": "^3.978.3",
|
|
210
|
+
"@aws-sdk/nested-clients": "^3.997.48",
|
|
211
|
+
"@aws-sdk/token-providers": "3.1150.0",
|
|
212
212
|
"@aws-sdk/types": "^3.974.6",
|
|
213
213
|
"@smithy/core": "^3.35.2",
|
|
214
214
|
"@smithy/types": "^4.19.0",
|
|
@@ -219,13 +219,13 @@
|
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
221
|
"node_modules/@aws-sdk/credential-provider-web-identity": {
|
|
222
|
-
"version": "3.972.
|
|
223
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.
|
|
224
|
-
"integrity": "sha512
|
|
222
|
+
"version": "3.972.80",
|
|
223
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.80.tgz",
|
|
224
|
+
"integrity": "sha512-TJF25Ndwy2HxcVj6oxMgp8qVlJAawlExHYBXqhuC6Zt2m+A7WpdkjBD6QglNbiArlteYljZHEY3R7KKmno6ISA==",
|
|
225
225
|
"license": "Apache-2.0",
|
|
226
226
|
"dependencies": {
|
|
227
|
-
"@aws-sdk/core": "^3.978.
|
|
228
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
227
|
+
"@aws-sdk/core": "^3.978.3",
|
|
228
|
+
"@aws-sdk/nested-clients": "^3.997.48",
|
|
229
229
|
"@aws-sdk/types": "^3.974.6",
|
|
230
230
|
"@smithy/core": "^3.35.2",
|
|
231
231
|
"@smithy/types": "^4.19.0",
|
|
@@ -236,12 +236,12 @@
|
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
"node_modules/@aws-sdk/dynamodb-codec": {
|
|
239
|
-
"version": "3.973.
|
|
240
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/dynamodb-codec/-/dynamodb-codec-3.973.
|
|
241
|
-
"integrity": "sha512-
|
|
239
|
+
"version": "3.973.48",
|
|
240
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/dynamodb-codec/-/dynamodb-codec-3.973.48.tgz",
|
|
241
|
+
"integrity": "sha512-LlTEc0u7gs2Qhr09vnRbdI8pY8O6/hP7wcsnlwrWQGEEheLEm3SB5Aqv9z7LiTXXEb2elBdSUyQ5OPuprELD6A==",
|
|
242
242
|
"license": "Apache-2.0",
|
|
243
243
|
"dependencies": {
|
|
244
|
-
"@aws-sdk/core": "^3.978.
|
|
244
|
+
"@aws-sdk/core": "^3.978.3",
|
|
245
245
|
"@smithy/core": "^3.35.2",
|
|
246
246
|
"@smithy/types": "^4.19.0",
|
|
247
247
|
"tslib": "^2.6.2"
|
|
@@ -314,12 +314,12 @@
|
|
|
314
314
|
}
|
|
315
315
|
},
|
|
316
316
|
"node_modules/@aws-sdk/nested-clients": {
|
|
317
|
-
"version": "3.997.
|
|
318
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.
|
|
319
|
-
"integrity": "sha512-
|
|
317
|
+
"version": "3.997.48",
|
|
318
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.48.tgz",
|
|
319
|
+
"integrity": "sha512-B01jdXJtAW/XOiUzGdI2mz67WyEHbGEc9X6Euzw3bjLAa+txTqdZDER4X2FsIEcXzV2ABqudVZ5thali8tCCzQ==",
|
|
320
320
|
"license": "Apache-2.0",
|
|
321
321
|
"dependencies": {
|
|
322
|
-
"@aws-sdk/core": "^3.978.
|
|
322
|
+
"@aws-sdk/core": "^3.978.3",
|
|
323
323
|
"@aws-sdk/signature-v4-multi-region": "^3.996.48",
|
|
324
324
|
"@aws-sdk/types": "^3.974.6",
|
|
325
325
|
"@smithy/core": "^3.35.2",
|
|
@@ -348,13 +348,13 @@
|
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
"node_modules/@aws-sdk/token-providers": {
|
|
351
|
-
"version": "3.
|
|
352
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.
|
|
353
|
-
"integrity": "sha512-
|
|
351
|
+
"version": "3.1150.0",
|
|
352
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1150.0.tgz",
|
|
353
|
+
"integrity": "sha512-wDU36ofhabZYu+d2KSriyDbwzxNoaOp+4dG0p3qkabk7HeALR5nIWyQbjoyJZLn3iqWkv/xNdyUfbfevDVDzzg==",
|
|
354
354
|
"license": "Apache-2.0",
|
|
355
355
|
"dependencies": {
|
|
356
|
-
"@aws-sdk/core": "^3.978.
|
|
357
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
356
|
+
"@aws-sdk/core": "^3.978.3",
|
|
357
|
+
"@aws-sdk/nested-clients": "^3.997.48",
|
|
358
358
|
"@aws-sdk/types": "^3.974.6",
|
|
359
359
|
"@smithy/core": "^3.35.2",
|
|
360
360
|
"@smithy/types": "^4.19.0",
|
|
@@ -904,9 +904,9 @@
|
|
|
904
904
|
}
|
|
905
905
|
},
|
|
906
906
|
"node_modules/@smithy/core": {
|
|
907
|
-
"version": "3.
|
|
908
|
-
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.
|
|
909
|
-
"integrity": "sha512-
|
|
907
|
+
"version": "3.36.0",
|
|
908
|
+
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.36.0.tgz",
|
|
909
|
+
"integrity": "sha512-3hJiwG1F5t1SoXqp/yOCmYXziyx7ZVqF63S5W6YU201e/qwVaHPex+E/3vvyY9a3ORq/b+BydeNZpP2saQ9X2g==",
|
|
910
910
|
"license": "Apache-2.0",
|
|
911
911
|
"dependencies": {
|
|
912
912
|
"@smithy/types": "^4.19.0",
|
|
@@ -985,13 +985,13 @@
|
|
|
985
985
|
}
|
|
986
986
|
},
|
|
987
987
|
"node_modules/@types/bun": {
|
|
988
|
-
"version": "1.4.
|
|
989
|
-
"resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.4.
|
|
990
|
-
"integrity": "sha512-
|
|
988
|
+
"version": "1.4.3",
|
|
989
|
+
"resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.4.3.tgz",
|
|
990
|
+
"integrity": "sha512-N67Pqy8JXbAY/j0tNraS3V5mubGvc6rrrNDmDCtZLlFzccbUJPDb0tvgUBC5q4m8ybkP93Jcn1QB+RYQ6PvBhw==",
|
|
991
991
|
"dev": true,
|
|
992
992
|
"license": "MIT",
|
|
993
993
|
"dependencies": {
|
|
994
|
-
"bun-types": "1.4.
|
|
994
|
+
"bun-types": "1.4.3"
|
|
995
995
|
}
|
|
996
996
|
},
|
|
997
997
|
"node_modules/@types/node": {
|
|
@@ -1046,13 +1046,14 @@
|
|
|
1046
1046
|
"license": "MIT"
|
|
1047
1047
|
},
|
|
1048
1048
|
"node_modules/bun-types": {
|
|
1049
|
-
"version": "1.4.
|
|
1050
|
-
"resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.4.
|
|
1051
|
-
"integrity": "sha512-
|
|
1049
|
+
"version": "1.4.3",
|
|
1050
|
+
"resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.4.3.tgz",
|
|
1051
|
+
"integrity": "sha512-tinRJNGOmUN+tEAsn2y2e942n9JHRHR42iUYzDH75NmhJqVBokGSQkkfSFdNWwsANIdrK6ACH9t01M452YyTwg==",
|
|
1052
1052
|
"dev": true,
|
|
1053
1053
|
"license": "MIT",
|
|
1054
1054
|
"dependencies": {
|
|
1055
|
-
"@types/node": "*"
|
|
1055
|
+
"@types/node": "*",
|
|
1056
|
+
"undici-types": "*"
|
|
1056
1057
|
}
|
|
1057
1058
|
},
|
|
1058
1059
|
"node_modules/call-bind-apply-helpers": {
|