@dharma-ai-labs/agent-fabric 0.2.39 → 0.2.40

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 CHANGED
@@ -16,7 +16,7 @@ import { AgentFabricClient as AgentFabricApiClient } from '@dharma-ai-labs/agent
16
16
  import { getActiveSkillBundleAuthorization, getExpiredSkillBundleAuthorizationForReplacement, getLegacySkillBundleIdForUpgrade, installSkillBundle, rollbackUnconfirmedSkillBundle, verifySkillBundle } from '@dharma-ai-labs/agent-fabric-skill-manager';
17
17
  import { executeTask, FileActionExecutionJournal, FileTaskReceiptStore, providerInstructionsForTask, } from '@dharma-ai-labs/agent-fabric-task-runner';
18
18
  import { CLI_USAGE } from './usage.js';
19
- const VERSION = '0.2.39';
19
+ const VERSION = '0.2.40';
20
20
  const USAGE = CLI_USAGE;
21
21
  const execFileAsync = promisify(execFile);
22
22
  const LOCAL_PROVIDER_IDS = ['codex', 'claude', 'agy', 'hermes'];
@@ -55,7 +55,7 @@ test('bootstrap waits for both relay process state and signed session acknowledg
55
55
  connected: true,
56
56
  organizationId: 'org_test',
57
57
  deviceId: 'device_test',
58
- relayVersion: '0.2.39',
58
+ relayVersion: '0.2.40',
59
59
  };
60
60
  },
61
61
  attempts: 4,
@@ -113,9 +113,9 @@ test('bootstrap provider detection uses host signals without changing the portal
113
113
  assert.equal(providerHintFromEnvironment({}), null);
114
114
  });
115
115
  test('repository launchers stay version-pinned without depending on the npm-exec cache path', () => {
116
- const launcher = stableRepositoryLauncherContents('0.2.39');
117
- assert.equal(launcher.shell, '#!/bin/sh\nexec npm exec --yes --package=@dharma-ai-labs/agent-fabric@0.2.39 -- dharma "$@"\n');
118
- assert.equal(launcher.windows, '@echo off\r\nnpm exec --yes --package=@dharma-ai-labs/agent-fabric@0.2.39 -- dharma %*\r\n');
116
+ const launcher = stableRepositoryLauncherContents('0.2.40');
117
+ assert.equal(launcher.shell, '#!/bin/sh\nexec npm exec --yes --package=@dharma-ai-labs/agent-fabric@0.2.40 -- dharma "$@"\n');
118
+ assert.equal(launcher.windows, '@echo off\r\nnpm exec --yes --package=@dharma-ai-labs/agent-fabric@0.2.40 -- dharma %*\r\n');
119
119
  assert.equal(launcher.shell.includes('/_npx/'), false);
120
120
  assert.equal(launcher.windows.includes('node_modules'), false);
121
121
  });
@@ -1343,13 +1343,13 @@ test('relay probe opens an authenticated session without polling or leasing work
1343
1343
  },
1344
1344
  openSession: async (version) => {
1345
1345
  sessions += 1;
1346
- assert.equal(version, '0.2.39');
1346
+ assert.equal(version, '0.2.40');
1347
1347
  return { ok: true };
1348
1348
  },
1349
1349
  }));
1350
1350
  assert.equal(sessions, 1);
1351
1351
  assert.deepEqual(result, {
1352
- ok: true, connected: true, organizationId: 'org_test', deviceId: 'device_test', relayVersion: '0.2.39',
1352
+ ok: true, connected: true, organizationId: 'org_test', deviceId: 'device_test', relayVersion: '0.2.40',
1353
1353
  });
1354
1354
  });
1355
1355
  test('relay probe fails closed when the server does not acknowledge the session', async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dharma-ai-labs/agent-fabric",
3
- "version": "0.2.39",
3
+ "version": "0.2.40",
4
4
  "description": "Local-first CLI for connecting coding agents to Dharma evaluation, orchestration, and signed Skill delivery",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/dharma-ai-labs/dharma-agent-fabric/tree/main/packages/cli#readme",
@@ -38,7 +38,7 @@
38
38
  "@dharma-ai-labs/agent-fabric-local-vault": "0.1.14",
39
39
  "@dharma-ai-labs/agent-fabric-policy": "0.1.4",
40
40
  "@dharma-ai-labs/agent-fabric-provider-adapters": "0.1.16",
41
- "@dharma-ai-labs/agent-fabric-relay-client": "0.2.15",
41
+ "@dharma-ai-labs/agent-fabric-relay-client": "0.2.16",
42
42
  "@dharma-ai-labs/agent-fabric-sdk": "0.1.9",
43
43
  "@dharma-ai-labs/agent-fabric-skill-manager": "0.2.8",
44
44
  "@dharma-ai-labs/agent-fabric-task-runner": "0.1.17"