@dharma-ai-labs/agent-fabric 0.2.72 → 0.2.73
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.test.js +2 -2
- package/dist/repositoryPackage.d.ts +1 -0
- package/dist/repositoryPackage.d.ts.map +1 -1
- package/dist/repositoryPackage.js +31 -0
- package/dist/repositoryPackage.js.map +1 -1
- package/dist/repositoryPackage.test.js +24 -1
- package/dist/repositoryPackage.test.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { contentHash, getActiveSkillBundleAuthorization, getExpiredSkillBundleAu
|
|
|
17
17
|
import { executeTask, FileActionExecutionJournal, FileTaskReceiptStore, providerInstructionsForTask, } from '@dharma-ai-labs/agent-fabric-task-runner';
|
|
18
18
|
import { CLI_USAGE } from './usage.js';
|
|
19
19
|
import { initializeRepositoryKnowledge, readRepositoryKnowledgeSource } from './repositoryKnowledge.js';
|
|
20
|
-
import { inventoryRepositoryPackage,
|
|
20
|
+
import { inventoryRepositoryPackage, readRepositorySourceBaselineSnapshot, writeRepositoryPackageSnapshot } from './repositoryPackage.js';
|
|
21
21
|
import { validateRepositorySourceAuthorization } from './repositorySourceAuthorization.js';
|
|
22
22
|
import { fetchRepositorySourceAuthorization, RepositorySourceWatcher, scanRepositorySourceChanges } from './repositorySourceSync.js';
|
|
23
23
|
import { assertRepositoryInstallerOwnership, writeRepositoryInstallerFile } from './repositoryInstallerFiles.js';
|
|
@@ -33,7 +33,7 @@ import { askRepositoryRoleQuestion, readRepositoryRoleReply } from './repository
|
|
|
33
33
|
import { deriveRepositoryRole } from './repositoryRoleDerivation.js';
|
|
34
34
|
import { withOnboardingStage } from './onboardingStage.js';
|
|
35
35
|
import { waitForRepositoryReadiness } from './repositoryReadinessWait.js';
|
|
36
|
-
const VERSION = '0.2.
|
|
36
|
+
const VERSION = '0.2.73';
|
|
37
37
|
const USAGE = CLI_USAGE;
|
|
38
38
|
const execFileAsync = promisify(execFile);
|
|
39
39
|
const LOCAL_PROVIDER_IDS = ['codex', 'claude', 'agy', 'hermes'];
|
|
@@ -5055,7 +5055,7 @@ async function relayStart(flags) {
|
|
|
5055
5055
|
let repositorySourceBaselineAvailable = true;
|
|
5056
5056
|
if (canonicalWorkspace.repositoryPackage?.snapshotHash) {
|
|
5057
5057
|
try {
|
|
5058
|
-
const prior = await
|
|
5058
|
+
const prior = await readRepositorySourceBaselineSnapshot(canonicalWorkspace.path, canonicalWorkspace.repositoryPackage.snapshotHash);
|
|
5059
5059
|
if (!prior.manifest.sourceFingerprint)
|
|
5060
5060
|
throw new Error('Repository source baseline is incomplete.');
|
|
5061
5061
|
repositorySourceWatcher.seed(prior.manifest.sourceFingerprint);
|