@treeseed/sdk 0.13.0-rc.2 → 0.13.0-rc.3
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.
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export type { AgentKernelPolicy, AgentKernelProfile, ProjectAgentClass, ProjectAgentClassStatus } from '../../agent-capacity/contracts/projects/agents/project-agent-class.js';
|
|
2
2
|
export * from '../../agent-capacity/allocation.js';
|
|
3
3
|
export * from '../../agent-capacity/artifacts.js';
|
|
4
|
+
export { deriveAgentRuntimeStatus } from '../../agent-capacity/authoring/agent-definition-authoring.js';
|
|
4
5
|
export { compileDefaultChatActivityProfile } from '../../agent-capacity/authoring/chat-activity-profile.js';
|
|
6
|
+
export { validateGroupDefinition, validateGroupEdgeDefinition } from '../../agent-capacity/authoring/group-definition-authoring.js';
|
|
5
7
|
export * from '../../agent-capacity/authority/agent-authority-presets.js';
|
|
6
8
|
export * from '../../agent-capacity/authority/assignment-authority-probe.js';
|
|
7
9
|
export * from '../../agent-capacity/artifact-mutation-receipt.js';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "../../agent-capacity/allocation.js";
|
|
2
2
|
export * from "../../agent-capacity/artifacts.js";
|
|
3
|
+
import { deriveAgentRuntimeStatus } from "../../agent-capacity/authoring/agent-definition-authoring.js";
|
|
3
4
|
import { compileDefaultChatActivityProfile } from "../../agent-capacity/authoring/chat-activity-profile.js";
|
|
5
|
+
import { validateGroupDefinition, validateGroupEdgeDefinition } from "../../agent-capacity/authoring/group-definition-authoring.js";
|
|
4
6
|
export * from "../../agent-capacity/authority/agent-authority-presets.js";
|
|
5
7
|
export * from "../../agent-capacity/authority/assignment-authority-probe.js";
|
|
6
8
|
export * from "../../agent-capacity/artifact-mutation-receipt.js";
|
|
@@ -32,5 +34,8 @@ export * from "../../governance/groups/contracts.js";
|
|
|
32
34
|
export * from "../../governance/groups/membership.js";
|
|
33
35
|
export * from "../../governance/groups/signal-scope.js";
|
|
34
36
|
export {
|
|
35
|
-
compileDefaultChatActivityProfile
|
|
37
|
+
compileDefaultChatActivityProfile,
|
|
38
|
+
deriveAgentRuntimeStatus,
|
|
39
|
+
validateGroupDefinition,
|
|
40
|
+
validateGroupEdgeDefinition
|
|
36
41
|
};
|
|
@@ -28,8 +28,12 @@ try {
|
|
|
28
28
|
const observed = execFileSync('git', ['rev-parse', 'HEAD'], { cwd: worktree, encoding: 'utf8' }).trim();
|
|
29
29
|
if (observed !== sourceCommit)
|
|
30
30
|
throw new Error(`API consumer checkout resolved ${observed}, expected ${sourceCommit}.`);
|
|
31
|
-
execFileSync('npm', ['install', '--ignore-scripts', '--no-audit', '--no-fund', '--save
|
|
31
|
+
execFileSync('npm', ['install', '--ignore-scripts', '--no-audit', '--no-fund', '--no-save', tarball], { cwd: worktree, stdio: 'inherit' });
|
|
32
32
|
execFileSync('npm', ['run', 'build'], { cwd: worktree, stdio: 'inherit' });
|
|
33
|
+
// The complete API release gate imports every runtime module and executes the
|
|
34
|
+
// local HTTP acceptance campaign. Focused contract tests alone cannot prove
|
|
35
|
+
// that the packed SDK satisfies the consumer's full runtime boundary.
|
|
36
|
+
execFileSync('npm', ['run', 'verify:direct'], { cwd: worktree, stdio: 'inherit' });
|
|
33
37
|
const testResultPath = resolve(worktree, '.treeseed-sdk-consumer-results.json');
|
|
34
38
|
execFileSync('npx', [
|
|
35
39
|
'vitest', 'run', '--config', './vitest.config.js',
|
|
@@ -49,7 +53,7 @@ try {
|
|
|
49
53
|
.trim().split('\n').filter(Boolean).sort();
|
|
50
54
|
if (finalHead !== sourceCommit || consumerCommits !== 0)
|
|
51
55
|
throw new Error('API consumer verification created or adopted a source commit.');
|
|
52
|
-
if (
|
|
56
|
+
if (changedPaths.length !== 0) {
|
|
53
57
|
throw new Error(`API consumer verification changed unexpected tracked paths: ${changedPaths.join(', ')}.`);
|
|
54
58
|
}
|
|
55
59
|
execFileSync('git', ['diff', '--cached', '--quiet'], { cwd: worktree, stdio: 'ignore' });
|