@tangle-network/agent-interface 0.24.0 → 0.26.0
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 +2 -2
- package/dist/agent-candidate-artifact-schema.d.ts +5 -5
- package/dist/agent-candidate-artifact-schema.js +3 -3
- package/dist/agent-candidate-code-schema.d.ts +3 -3
- package/dist/agent-candidate-execution-plan-schema.d.ts +203 -46
- package/dist/agent-candidate-execution-plan-schema.js +89 -10
- package/dist/agent-candidate-lineage-schema.d.ts +90 -3
- package/dist/agent-candidate-lineage-schema.js +17 -3
- package/dist/agent-candidate-outcome-schema.d.ts +259 -395
- package/dist/agent-candidate-outcome-schema.js +75 -64
- package/dist/agent-candidate-promotion-schema.d.ts +2708 -0
- package/dist/agent-candidate-promotion-schema.js +409 -0
- package/dist/agent-candidate-receipt-schema.d.ts +278 -1337
- package/dist/agent-candidate-receipt-schema.js +7 -116
- package/dist/agent-candidate-schema-common.d.ts +2 -0
- package/dist/agent-candidate-schema-common.js +8 -0
- package/dist/agent-candidate-schema.d.ts +94 -7
- package/dist/agent-candidate-schema.js +1 -1
- package/dist/agent-candidate.d.ts +257 -87
- package/dist/agent-candidate.test-fixture.d.ts +45 -11
- package/dist/agent-candidate.test-fixture.js +46 -12
- package/dist/agent-profile.js +5 -20
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +3 -2
package/dist/agent-profile.js
CHANGED
|
@@ -67,26 +67,11 @@ export function mergeAgentProfiles(base, overlay) {
|
|
|
67
67
|
? {
|
|
68
68
|
...(base?.resources ?? {}),
|
|
69
69
|
...(overlay?.resources ?? {}),
|
|
70
|
-
files:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
...(base?.resources?.tools ?? []),
|
|
76
|
-
...(overlay?.resources?.tools ?? []),
|
|
77
|
-
],
|
|
78
|
-
skills: [
|
|
79
|
-
...(base?.resources?.skills ?? []),
|
|
80
|
-
...(overlay?.resources?.skills ?? []),
|
|
81
|
-
],
|
|
82
|
-
agents: [
|
|
83
|
-
...(base?.resources?.agents ?? []),
|
|
84
|
-
...(overlay?.resources?.agents ?? []),
|
|
85
|
-
],
|
|
86
|
-
commands: [
|
|
87
|
-
...(base?.resources?.commands ?? []),
|
|
88
|
-
...(overlay?.resources?.commands ?? []),
|
|
89
|
-
],
|
|
70
|
+
files: mergeOptionalArrays(base?.resources?.files, overlay?.resources?.files),
|
|
71
|
+
tools: mergeOptionalArrays(base?.resources?.tools, overlay?.resources?.tools),
|
|
72
|
+
skills: mergeOptionalArrays(base?.resources?.skills, overlay?.resources?.skills),
|
|
73
|
+
agents: mergeOptionalArrays(base?.resources?.agents, overlay?.resources?.agents),
|
|
74
|
+
commands: mergeOptionalArrays(base?.resources?.commands, overlay?.resources?.commands),
|
|
90
75
|
instructions: overlay?.resources?.instructions ?? base?.resources?.instructions,
|
|
91
76
|
}
|
|
92
77
|
: undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -602,6 +602,7 @@ export interface SdkProviderAdapter {
|
|
|
602
602
|
export * from "./interaction.js";
|
|
603
603
|
export * from "./agent-candidate.js";
|
|
604
604
|
export * from "./agent-candidate-schema.js";
|
|
605
|
+
export * from "./agent-candidate-promotion-schema.js";
|
|
605
606
|
export * from "./agent-profile.js";
|
|
606
607
|
export * from "./profile-diff.js";
|
|
607
608
|
export * from "./harness.js";
|
package/dist/index.js
CHANGED
|
@@ -125,6 +125,7 @@ export function resolveNativeWebTools(tools) {
|
|
|
125
125
|
export * from "./interaction.js";
|
|
126
126
|
export * from "./agent-candidate.js";
|
|
127
127
|
export * from "./agent-candidate-schema.js";
|
|
128
|
+
export * from "./agent-candidate-promotion-schema.js";
|
|
128
129
|
export * from "./agent-profile.js";
|
|
129
130
|
export * from "./profile-diff.js";
|
|
130
131
|
export * from "./harness.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-interface",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"LICENSE"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
+
"@noble/hashes": "1.8.0",
|
|
35
36
|
"zod": "4.4.3"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"scripts": {
|
|
43
44
|
"build": "tsc -p tsconfig.json",
|
|
44
45
|
"check-types": "tsc --noEmit",
|
|
45
|
-
"clean": "rm -rf dist",
|
|
46
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
46
47
|
"test": "vitest run",
|
|
47
48
|
"test:watch": "vitest"
|
|
48
49
|
}
|