@dharma-ai-labs/agent-fabric 0.2.208 → 0.2.209
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/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/repositoryRelayPreludeDiagnostic.test.d.ts +2 -0
- package/dist/repositoryRelayPreludeDiagnostic.test.d.ts.map +1 -0
- package/dist/repositoryRelayPreludeDiagnostic.test.js +27 -0
- package/dist/repositoryRelayPreludeDiagnostic.test.js.map +1 -0
- package/dist/repositoryRelaySupervisor.d.ts +1 -1
- package/dist/repositoryRelaySupervisor.d.ts.map +1 -1
- package/dist/repositoryRelaySupervisor.js +1 -1
- package/dist/repositoryRelaySupervisor.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -107,7 +107,7 @@ import { assertCodexSetupExecutionLease } from './codexSetupAdmission.js';
|
|
|
107
107
|
import { parseLocalCodexSetupReadiness } from '@dharma-ai-labs/agent-fabric-local-vault/setup-readiness';
|
|
108
108
|
import { writeBootstrapHostJson, writeBootstrapHostText } from './bootstrapHostFiles.js';
|
|
109
109
|
export { openCooperativeInboxSession } from './cooperativeInboxSession.js';
|
|
110
|
-
const VERSION = '0.2.
|
|
110
|
+
const VERSION = '0.2.209';
|
|
111
111
|
const USAGE = CLI_USAGE;
|
|
112
112
|
const execFileAsync = promisify(execFile);
|
|
113
113
|
const LOCAL_PROVIDER_IDS = ['codex', 'claude', 'agy', 'hermes'];
|
|
@@ -8683,7 +8683,7 @@ async function relayWorkspaceLoop(flags, signal, serialized) {
|
|
|
8683
8683
|
let canonicalWorkspace = selectedWorkspace;
|
|
8684
8684
|
let policy = await withRepositoryRelayStage('policy_verification', () => loadVerifiedWorkspacePolicy(policyPath, canonicalWorkspace.workspaceId));
|
|
8685
8685
|
signal.throwIfAborted();
|
|
8686
|
-
const fabric = await client();
|
|
8686
|
+
const fabric = await withRepositoryRelayStage('session_open', () => client());
|
|
8687
8687
|
const leaseSeconds = Number(flags.get('lease-seconds') || 120);
|
|
8688
8688
|
const pollMs = Math.min(Math.max(Number(flags.get('poll-seconds') || 3), 1), 60) * 1_000;
|
|
8689
8689
|
let stopping = signal.aborted;
|
|
@@ -8752,10 +8752,10 @@ async function relayWorkspaceLoop(flags, signal, serialized) {
|
|
|
8752
8752
|
let repositorySourceState = 'not_scanned';
|
|
8753
8753
|
let sourceScanFlight = null;
|
|
8754
8754
|
let sourceScanReady = null;
|
|
8755
|
-
const vault = await openBootstrapVault({
|
|
8755
|
+
const vault = await withRepositoryRelayStage('vault_open', () => openBootstrapVault({
|
|
8756
8756
|
root: resolve(dharmaHome(), 'vault'),
|
|
8757
8757
|
rawLocalDays: rawLocalRetentionDays(policy),
|
|
8758
|
-
});
|
|
8758
|
+
}));
|
|
8759
8759
|
if (signal.aborted)
|
|
8760
8760
|
await vault.close();
|
|
8761
8761
|
signal.throwIfAborted();
|