@vibeiao/sdk 0.1.29 → 0.1.30
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 +14 -0
- package/dist/agentLoop.d.ts +84 -2
- package/dist/agentLoop.js +247 -4
- package/dist/chunk-2U6HLZEF.js +1430 -0
- package/dist/chunk-EBI7WT76.js +140 -0
- package/dist/chunk-JJNRDU7F.js +675 -0
- package/dist/chunk-PVCW4MAY.js +99 -0
- package/dist/chunk-RNPCT2MS.js +157 -0
- package/dist/compoundingMemory.d.ts +125 -0
- package/dist/compoundingMemory.js +24 -0
- package/dist/index.d.ts +5 -1130
- package/dist/index.js +193 -19
- package/dist/marketDiscovery.d.ts +1 -1
- package/dist/reflection.d.ts +1 -1
- package/dist/shared-djjMij1F.d.ts +129 -0
- package/dist/solana.d.ts +1 -1
- package/dist/solana.js +1 -1
- package/dist/survivalEscapeHatch.d.ts +53 -0
- package/dist/survivalEscapeHatch.js +8 -0
- package/dist/treasuryGuardian.d.ts +1287 -0
- package/dist/treasuryGuardian.js +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// src/durabilityProxy.ts
|
|
2
|
+
var withTimeout = async (fetcher, input, init, timeoutMs) => {
|
|
3
|
+
const controller = new AbortController();
|
|
4
|
+
const timer = setTimeout(() => controller.abort(), timeoutMs);
|
|
5
|
+
try {
|
|
6
|
+
return await fetcher(input, { ...init, signal: controller.signal });
|
|
7
|
+
} finally {
|
|
8
|
+
clearTimeout(timer);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var readJson = async (response) => {
|
|
12
|
+
const text = await response.text();
|
|
13
|
+
if (!text) return null;
|
|
14
|
+
try {
|
|
15
|
+
return JSON.parse(text);
|
|
16
|
+
} catch {
|
|
17
|
+
return { raw: text };
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
var createDurabilityProxyClient = (options) => {
|
|
21
|
+
const fetcher = options.fetcher || fetch;
|
|
22
|
+
const timeoutMs = Number.isFinite(Number(options.timeoutMs)) ? Math.max(500, Number(options.timeoutMs)) : 8e3;
|
|
23
|
+
const base = String(options.baseUrl || "").replace(/\/+$/, "");
|
|
24
|
+
const agentId = String(options.agentId || "").trim();
|
|
25
|
+
const agentToken = String(options.agentToken || "").trim();
|
|
26
|
+
if (!base) throw new Error("durability_proxy_base_missing");
|
|
27
|
+
if (!agentId) throw new Error("durability_proxy_agent_id_missing");
|
|
28
|
+
if (!agentToken) throw new Error("durability_proxy_agent_token_missing");
|
|
29
|
+
const headers = {
|
|
30
|
+
"content-type": "application/json",
|
|
31
|
+
"x-agent-id": agentId,
|
|
32
|
+
"x-agent-token": agentToken
|
|
33
|
+
};
|
|
34
|
+
return {
|
|
35
|
+
async writeCheckpoint(payloadJson, opts = {}) {
|
|
36
|
+
const response = await withTimeout(
|
|
37
|
+
fetcher,
|
|
38
|
+
`${base}/v1/checkpoints`,
|
|
39
|
+
{
|
|
40
|
+
method: "POST",
|
|
41
|
+
headers,
|
|
42
|
+
body: JSON.stringify({
|
|
43
|
+
payloadJson,
|
|
44
|
+
sha256: opts.sha256,
|
|
45
|
+
contentType: opts.contentType,
|
|
46
|
+
metadata: opts.metadata
|
|
47
|
+
})
|
|
48
|
+
},
|
|
49
|
+
timeoutMs
|
|
50
|
+
);
|
|
51
|
+
const body = await readJson(response);
|
|
52
|
+
if (!response.ok) {
|
|
53
|
+
const detail = body?.error || `http_${response.status}`;
|
|
54
|
+
throw new Error(`durability_checkpoint_write_failed:${detail}`);
|
|
55
|
+
}
|
|
56
|
+
return body;
|
|
57
|
+
},
|
|
58
|
+
async latestCheckpoint() {
|
|
59
|
+
const response = await withTimeout(
|
|
60
|
+
fetcher,
|
|
61
|
+
`${base}/v1/checkpoints/latest`,
|
|
62
|
+
{ method: "GET", headers: { "x-agent-id": agentId, "x-agent-token": agentToken } },
|
|
63
|
+
timeoutMs
|
|
64
|
+
);
|
|
65
|
+
const body = await readJson(response);
|
|
66
|
+
if (!response.ok) {
|
|
67
|
+
const detail = body?.error || `http_${response.status}`;
|
|
68
|
+
throw new Error(`durability_checkpoint_latest_failed:${detail}`);
|
|
69
|
+
}
|
|
70
|
+
return body;
|
|
71
|
+
},
|
|
72
|
+
async writeRestoreDrill(ok, opts = {}) {
|
|
73
|
+
const response = await withTimeout(
|
|
74
|
+
fetcher,
|
|
75
|
+
`${base}/v1/checkpoints/restore-drill`,
|
|
76
|
+
{
|
|
77
|
+
method: "POST",
|
|
78
|
+
headers,
|
|
79
|
+
body: JSON.stringify({
|
|
80
|
+
checkpointId: opts.checkpointId,
|
|
81
|
+
ok,
|
|
82
|
+
details: opts.details
|
|
83
|
+
})
|
|
84
|
+
},
|
|
85
|
+
timeoutMs
|
|
86
|
+
);
|
|
87
|
+
const body = await readJson(response);
|
|
88
|
+
if (!response.ok) {
|
|
89
|
+
const detail = body?.error || `http_${response.status}`;
|
|
90
|
+
throw new Error(`durability_restore_drill_write_failed:${detail}`);
|
|
91
|
+
}
|
|
92
|
+
return body;
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export {
|
|
98
|
+
createDurabilityProxyClient
|
|
99
|
+
};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
// src/treasuryGuardian.ts
|
|
2
|
+
var createTreasuryPolicy = (partial) => {
|
|
3
|
+
const base = {
|
|
4
|
+
version: 1,
|
|
5
|
+
budgets: {
|
|
6
|
+
dailyUsd: 20,
|
|
7
|
+
monthlyUsd: 300,
|
|
8
|
+
perTopupUsd: 5,
|
|
9
|
+
maxTopupsPerDay: 3
|
|
10
|
+
},
|
|
11
|
+
providers: {
|
|
12
|
+
allow: ["openrouter"],
|
|
13
|
+
modelsAllow: []
|
|
14
|
+
},
|
|
15
|
+
thresholds: {
|
|
16
|
+
warnCredits: { openrouter: 5 },
|
|
17
|
+
minCredits: { openrouter: 1 }
|
|
18
|
+
},
|
|
19
|
+
automation: {
|
|
20
|
+
autoApproveUnderUsd: 3,
|
|
21
|
+
cooldownMinutes: 30,
|
|
22
|
+
requireHumanAboveUsd: 3
|
|
23
|
+
},
|
|
24
|
+
safety: {
|
|
25
|
+
maxErrorRate5m: 0.35,
|
|
26
|
+
maxSpendSpikeMultiplier: 3,
|
|
27
|
+
onViolation: "safe_mode"
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
return {
|
|
31
|
+
...base,
|
|
32
|
+
...partial,
|
|
33
|
+
budgets: { ...base.budgets, ...partial?.budgets || {} },
|
|
34
|
+
providers: { ...base.providers, ...partial?.providers || {} },
|
|
35
|
+
thresholds: { ...base.thresholds, ...partial?.thresholds || {} },
|
|
36
|
+
automation: { ...base.automation, ...partial?.automation || {} },
|
|
37
|
+
safety: { ...base.safety, ...partial?.safety || {} }
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
var isFiniteNumber = (n) => typeof n === "number" && Number.isFinite(n);
|
|
41
|
+
var validateTreasuryPolicy = (policy) => {
|
|
42
|
+
const errors = [];
|
|
43
|
+
if (!policy || policy.version !== 1) errors.push("policy_version_invalid");
|
|
44
|
+
const b = policy?.budgets;
|
|
45
|
+
if (!b) errors.push("budgets_missing");
|
|
46
|
+
if (!isFiniteNumber(b?.dailyUsd) || (b?.dailyUsd ?? 0) <= 0) errors.push("budget_daily_invalid");
|
|
47
|
+
if (b?.monthlyUsd !== void 0 && (!isFiniteNumber(b.monthlyUsd) || b.monthlyUsd <= 0)) errors.push("budget_monthly_invalid");
|
|
48
|
+
if (!isFiniteNumber(b?.perTopupUsd) || (b?.perTopupUsd ?? 0) <= 0) errors.push("budget_per_topup_invalid");
|
|
49
|
+
if (!Number.isInteger(b?.maxTopupsPerDay) || (b?.maxTopupsPerDay ?? 0) < 0) errors.push("budget_max_topups_invalid");
|
|
50
|
+
const allow = policy?.providers?.allow;
|
|
51
|
+
if (!Array.isArray(allow) || allow.length === 0) errors.push("providers_allow_missing");
|
|
52
|
+
const warn = policy?.thresholds?.warnCredits;
|
|
53
|
+
const min = policy?.thresholds?.minCredits;
|
|
54
|
+
if (!warn || typeof warn !== "object") errors.push("thresholds_warn_missing");
|
|
55
|
+
if (!min || typeof min !== "object") errors.push("thresholds_min_missing");
|
|
56
|
+
const a = policy?.automation;
|
|
57
|
+
if (!isFiniteNumber(a?.autoApproveUnderUsd) || (a?.autoApproveUnderUsd ?? 0) < 0) errors.push("automation_auto_approve_invalid");
|
|
58
|
+
if (!isFiniteNumber(a?.requireHumanAboveUsd) || (a?.requireHumanAboveUsd ?? 0) < 0) errors.push("automation_human_threshold_invalid");
|
|
59
|
+
if (!Number.isInteger(a?.cooldownMinutes) || (a?.cooldownMinutes ?? 0) < 0) errors.push("automation_cooldown_invalid");
|
|
60
|
+
const s = policy?.safety;
|
|
61
|
+
if (!s || !["safe_mode", "pause", "stop"].includes(s.onViolation)) errors.push("safety_on_violation_invalid");
|
|
62
|
+
return { ok: errors.length === 0, errors };
|
|
63
|
+
};
|
|
64
|
+
var normalizeProvider = (value) => String(value || "").trim().toLowerCase();
|
|
65
|
+
var evaluateTopupRequest = (request, state, policy) => {
|
|
66
|
+
const reasonCodes = [];
|
|
67
|
+
const provider = normalizeProvider(request.provider);
|
|
68
|
+
const v = validateTreasuryPolicy(policy);
|
|
69
|
+
if (!v.ok) {
|
|
70
|
+
return { action: "deny", reasonCodes: ["policy_invalid", ...v.errors] };
|
|
71
|
+
}
|
|
72
|
+
if (!policy.providers.allow.map(normalizeProvider).includes(provider)) {
|
|
73
|
+
return { action: "deny", reasonCodes: ["provider_not_allowed"] };
|
|
74
|
+
}
|
|
75
|
+
if (!isFiniteNumber(request.amountUsd) || request.amountUsd <= 0) {
|
|
76
|
+
return { action: "deny", reasonCodes: ["amount_invalid"] };
|
|
77
|
+
}
|
|
78
|
+
const perTopup = policy.budgets.perTopupUsd;
|
|
79
|
+
if (request.amountUsd > perTopup) {
|
|
80
|
+
reasonCodes.push("amount_exceeds_per_topup_cap");
|
|
81
|
+
}
|
|
82
|
+
const now = request.requestedAt;
|
|
83
|
+
const cooldownSec = policy.automation.cooldownMinutes * 60;
|
|
84
|
+
if (state.lastTopupAt && cooldownSec > 0) {
|
|
85
|
+
const elapsed = Math.max(0, (now - state.lastTopupAt) / 1e3);
|
|
86
|
+
if (elapsed < cooldownSec) {
|
|
87
|
+
return {
|
|
88
|
+
action: "deny",
|
|
89
|
+
reasonCodes: ["cooldown_active"],
|
|
90
|
+
cooldownRemainingSec: Math.ceil(cooldownSec - elapsed)
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (state.topupsToday >= policy.budgets.maxTopupsPerDay) {
|
|
95
|
+
return { action: "deny", reasonCodes: ["daily_topup_cap_reached"] };
|
|
96
|
+
}
|
|
97
|
+
if (policy.safety.maxErrorRate5m !== void 0 && state.errorRate5m !== void 0) {
|
|
98
|
+
if (state.errorRate5m > policy.safety.maxErrorRate5m) {
|
|
99
|
+
return { action: "require_human", reasonCodes: ["high_error_rate_requires_human"] };
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (policy.safety.maxSpendSpikeMultiplier !== void 0 && state.spendSpikeMultiplier !== void 0) {
|
|
103
|
+
if (state.spendSpikeMultiplier > policy.safety.maxSpendSpikeMultiplier) {
|
|
104
|
+
return { action: "require_human", reasonCodes: ["spend_spike_requires_human"] };
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
const minCredits = policy.thresholds.minCredits[provider];
|
|
108
|
+
const warnCredits = policy.thresholds.warnCredits[provider];
|
|
109
|
+
const credits = state.providerCredits[provider];
|
|
110
|
+
if (typeof minCredits === "number" && typeof credits === "number" && credits > minCredits) {
|
|
111
|
+
reasonCodes.push("credits_above_min");
|
|
112
|
+
}
|
|
113
|
+
if (typeof warnCredits === "number" && typeof credits === "number" && credits > warnCredits) {
|
|
114
|
+
reasonCodes.push("credits_above_warn");
|
|
115
|
+
}
|
|
116
|
+
if (request.amountUsd > policy.automation.requireHumanAboveUsd) {
|
|
117
|
+
return { action: "require_human", reasonCodes: ["amount_above_human_threshold", ...reasonCodes] };
|
|
118
|
+
}
|
|
119
|
+
if (request.amountUsd <= policy.automation.autoApproveUnderUsd && request.amountUsd <= perTopup) {
|
|
120
|
+
return {
|
|
121
|
+
action: "approve",
|
|
122
|
+
reasonCodes: ["auto_approved", ...reasonCodes],
|
|
123
|
+
approvedAmountUsd: request.amountUsd
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
return { action: "require_human", reasonCodes: ["manual_zone", ...reasonCodes] };
|
|
127
|
+
};
|
|
128
|
+
var buildTreasuryLedgerEvent = (event) => ({
|
|
129
|
+
...event,
|
|
130
|
+
ts: Number.isFinite(event.ts) ? event.ts : Date.now()
|
|
131
|
+
});
|
|
132
|
+
var treasuryStateFromSnapshot = (snapshot) => {
|
|
133
|
+
const providerCredits = {};
|
|
134
|
+
const apiCredits = snapshot?.apiCredits;
|
|
135
|
+
if (apiCredits && typeof apiCredits === "object") {
|
|
136
|
+
for (const [key, value] of Object.entries(apiCredits)) {
|
|
137
|
+
const num = typeof value === "number" ? value : Number(value);
|
|
138
|
+
if (Number.isFinite(num)) providerCredits[normalizeProvider(key)] = num;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
if (snapshot?.openRouterCredits !== void 0) {
|
|
142
|
+
const num = Number(snapshot.openRouterCredits);
|
|
143
|
+
if (Number.isFinite(num)) providerCredits.openrouter = num;
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
providerCredits,
|
|
147
|
+
topupsToday: 0
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export {
|
|
152
|
+
createTreasuryPolicy,
|
|
153
|
+
validateTreasuryPolicy,
|
|
154
|
+
evaluateTopupRequest,
|
|
155
|
+
buildTreasuryLedgerEvent,
|
|
156
|
+
treasuryStateFromSnapshot
|
|
157
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
declare const COMPOUNDING_MEMORY_VERSION = 1;
|
|
2
|
+
type CompoundingMemoryOptions = {
|
|
3
|
+
/** Workspace root where top-level files are stored. */
|
|
4
|
+
root?: string;
|
|
5
|
+
/** Timezone used for YYYY-MM-DD daily ledgers. */
|
|
6
|
+
timeZone?: string;
|
|
7
|
+
/** Override current time (tests). */
|
|
8
|
+
now?: Date;
|
|
9
|
+
/** Whether to initialize memory/graph scaffold. Default true. */
|
|
10
|
+
includeGraph?: boolean;
|
|
11
|
+
/** Whether to initialize projects/ dossier scaffold. Default true. */
|
|
12
|
+
includeProjects?: boolean;
|
|
13
|
+
/** Append one upgrade marker to today's daily log. Default true. */
|
|
14
|
+
appendUpgradeNote?: boolean;
|
|
15
|
+
};
|
|
16
|
+
type CompoundingMemoryUpgradeResult = {
|
|
17
|
+
root: string;
|
|
18
|
+
memoryDir: string;
|
|
19
|
+
graphDir: string | null;
|
|
20
|
+
projectsDir: string | null;
|
|
21
|
+
dateKey: string;
|
|
22
|
+
dailyLedgerPath: string;
|
|
23
|
+
created: string[];
|
|
24
|
+
touched: string[];
|
|
25
|
+
existed: string[];
|
|
26
|
+
changed: boolean;
|
|
27
|
+
version: number;
|
|
28
|
+
};
|
|
29
|
+
declare const readCompoundingMemoryVersion: (root?: string) => Promise<number>;
|
|
30
|
+
declare const upgradeCompoundingMemorySystem: (options?: CompoundingMemoryOptions) => Promise<CompoundingMemoryUpgradeResult>;
|
|
31
|
+
type WorkingStateDisciplineOptions = {
|
|
32
|
+
root?: string;
|
|
33
|
+
timeZone?: string;
|
|
34
|
+
now?: Date;
|
|
35
|
+
maxLines?: number;
|
|
36
|
+
maxChars?: number;
|
|
37
|
+
/** Max overflow characters moved into ledger note. */
|
|
38
|
+
maxOverflowChars?: number;
|
|
39
|
+
};
|
|
40
|
+
type WorkingStateDisciplineResult = {
|
|
41
|
+
filePath: string;
|
|
42
|
+
ledgerPath: string;
|
|
43
|
+
lineCount: number;
|
|
44
|
+
charCount: number;
|
|
45
|
+
maxLines: number;
|
|
46
|
+
maxChars: number;
|
|
47
|
+
bounded: boolean;
|
|
48
|
+
trimmed: boolean;
|
|
49
|
+
movedChars: number;
|
|
50
|
+
};
|
|
51
|
+
type RecallSubstrateCheckOptions = {
|
|
52
|
+
root?: string;
|
|
53
|
+
};
|
|
54
|
+
type RecallSubstrateCheckResult = {
|
|
55
|
+
ok: boolean;
|
|
56
|
+
goldenQueryCount: number;
|
|
57
|
+
nodeCount: number;
|
|
58
|
+
edgeCount: number;
|
|
59
|
+
issues: string[];
|
|
60
|
+
};
|
|
61
|
+
type CompoundingMemoryBackupOptions = {
|
|
62
|
+
root?: string;
|
|
63
|
+
backupDir?: string;
|
|
64
|
+
retention?: number;
|
|
65
|
+
now?: Date;
|
|
66
|
+
};
|
|
67
|
+
type CompoundingMemoryBackupResult = {
|
|
68
|
+
backupPath: string;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
fileCount: number;
|
|
71
|
+
sizeBytes: number;
|
|
72
|
+
sha256: string;
|
|
73
|
+
};
|
|
74
|
+
type CompoundingMemoryRestoreDrillOptions = {
|
|
75
|
+
root?: string;
|
|
76
|
+
backupDir?: string;
|
|
77
|
+
retention?: number;
|
|
78
|
+
now?: Date;
|
|
79
|
+
/** Keep restored drill directory for inspection. Default false (auto-clean). */
|
|
80
|
+
keepRestoreRoot?: boolean;
|
|
81
|
+
};
|
|
82
|
+
type CompoundingMemoryRestoreDrillResult = {
|
|
83
|
+
ok: boolean;
|
|
84
|
+
backup: CompoundingMemoryBackupResult;
|
|
85
|
+
restoredFiles: number;
|
|
86
|
+
checkedFiles: string[];
|
|
87
|
+
restoreRoot: string;
|
|
88
|
+
};
|
|
89
|
+
type CompoundingMemoryRequiredSetOptions = {
|
|
90
|
+
root?: string;
|
|
91
|
+
timeZone?: string;
|
|
92
|
+
now?: Date;
|
|
93
|
+
workingStateMaxLines?: number;
|
|
94
|
+
workingStateMaxChars?: number;
|
|
95
|
+
runBackupRestoreDrill?: boolean;
|
|
96
|
+
backupDir?: string;
|
|
97
|
+
backupRetention?: number;
|
|
98
|
+
};
|
|
99
|
+
type CompoundingMemoryRequiredSetResult = {
|
|
100
|
+
ok: boolean;
|
|
101
|
+
root: string;
|
|
102
|
+
upgrade: CompoundingMemoryUpgradeResult;
|
|
103
|
+
workingState: WorkingStateDisciplineResult;
|
|
104
|
+
recall: RecallSubstrateCheckResult;
|
|
105
|
+
restoreDrill: CompoundingMemoryRestoreDrillResult | null;
|
|
106
|
+
checkedAt: string;
|
|
107
|
+
};
|
|
108
|
+
type CompoundingMemoryRequiredSetSchedulerOptions = CompoundingMemoryRequiredSetOptions & {
|
|
109
|
+
intervalMs?: number;
|
|
110
|
+
onSuccess?: (result: CompoundingMemoryRequiredSetResult) => void | Promise<void>;
|
|
111
|
+
onError?: (error: Error) => void | Promise<void>;
|
|
112
|
+
};
|
|
113
|
+
declare const enforceWorkingStateDiscipline: (options?: WorkingStateDisciplineOptions) => Promise<WorkingStateDisciplineResult>;
|
|
114
|
+
declare const checkRecallSubstrate: (options?: RecallSubstrateCheckOptions) => Promise<RecallSubstrateCheckResult>;
|
|
115
|
+
declare const createCompoundingMemoryBackup: (options?: CompoundingMemoryBackupOptions) => Promise<CompoundingMemoryBackupResult>;
|
|
116
|
+
declare const runCompoundingMemoryRestoreDrill: (options?: CompoundingMemoryRestoreDrillOptions) => Promise<CompoundingMemoryRestoreDrillResult>;
|
|
117
|
+
declare const runCompoundingMemoryRequiredSet: (options?: CompoundingMemoryRequiredSetOptions) => Promise<CompoundingMemoryRequiredSetResult>;
|
|
118
|
+
declare const createCompoundingMemoryRequiredSetScheduler: (options?: CompoundingMemoryRequiredSetSchedulerOptions) => {
|
|
119
|
+
start: () => Promise<void>;
|
|
120
|
+
stop: () => void;
|
|
121
|
+
runOnce: () => Promise<CompoundingMemoryRequiredSetResult>;
|
|
122
|
+
};
|
|
123
|
+
declare const ensureCompoundingMemorySystem: (options?: CompoundingMemoryOptions) => Promise<CompoundingMemoryUpgradeResult>;
|
|
124
|
+
|
|
125
|
+
export { COMPOUNDING_MEMORY_VERSION, type CompoundingMemoryBackupOptions, type CompoundingMemoryBackupResult, type CompoundingMemoryOptions, type CompoundingMemoryRequiredSetOptions, type CompoundingMemoryRequiredSetResult, type CompoundingMemoryRequiredSetSchedulerOptions, type CompoundingMemoryRestoreDrillOptions, type CompoundingMemoryRestoreDrillResult, type CompoundingMemoryUpgradeResult, type RecallSubstrateCheckOptions, type RecallSubstrateCheckResult, type WorkingStateDisciplineOptions, type WorkingStateDisciplineResult, checkRecallSubstrate, createCompoundingMemoryBackup, createCompoundingMemoryRequiredSetScheduler, enforceWorkingStateDiscipline, ensureCompoundingMemorySystem, readCompoundingMemoryVersion, runCompoundingMemoryRequiredSet, runCompoundingMemoryRestoreDrill, upgradeCompoundingMemorySystem };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
COMPOUNDING_MEMORY_VERSION,
|
|
3
|
+
checkRecallSubstrate,
|
|
4
|
+
createCompoundingMemoryBackup,
|
|
5
|
+
createCompoundingMemoryRequiredSetScheduler,
|
|
6
|
+
enforceWorkingStateDiscipline,
|
|
7
|
+
ensureCompoundingMemorySystem,
|
|
8
|
+
readCompoundingMemoryVersion,
|
|
9
|
+
runCompoundingMemoryRequiredSet,
|
|
10
|
+
runCompoundingMemoryRestoreDrill,
|
|
11
|
+
upgradeCompoundingMemorySystem
|
|
12
|
+
} from "./chunk-JJNRDU7F.js";
|
|
13
|
+
export {
|
|
14
|
+
COMPOUNDING_MEMORY_VERSION,
|
|
15
|
+
checkRecallSubstrate,
|
|
16
|
+
createCompoundingMemoryBackup,
|
|
17
|
+
createCompoundingMemoryRequiredSetScheduler,
|
|
18
|
+
enforceWorkingStateDiscipline,
|
|
19
|
+
ensureCompoundingMemorySystem,
|
|
20
|
+
readCompoundingMemoryVersion,
|
|
21
|
+
runCompoundingMemoryRequiredSet,
|
|
22
|
+
runCompoundingMemoryRestoreDrill,
|
|
23
|
+
upgradeCompoundingMemorySystem
|
|
24
|
+
};
|