agent-contracts 0.30.2 → 0.30.4
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/LICENSE +1 -1
- package/README.md +7 -3
- package/cli-contract.yaml +2 -2
- package/dist/cli.js +139 -28
- package/dist/cli.js.map +1 -1
- package/dist/index.js +139 -28
- package/dist/index.js.map +1 -1
- package/dsl_base/agents/dsl-designer.yaml +4 -0
- package/package.json +6 -6
|
@@ -395,6 +395,10 @@ dsl-designer:
|
|
|
395
395
|
| `notEmpty` | `{{#if (notEmpty obj)}}` | Check if object is non-empty |
|
|
396
396
|
| `inc` | `{{inc @index}}` | 1-based index |
|
|
397
397
|
| `yamlBlock` | `{{{yamlBlock obj}}}` | Render as YAML |
|
|
398
|
+
| `jsonBlock` | `{{{jsonBlock obj}}}` | Render as pretty JSON |
|
|
399
|
+
| `yamlFrontmatter` | `{{{yamlFrontmatter obj}}}` | Render as YAML frontmatter |
|
|
400
|
+
| `handoffPayload` | `(handoffPayload handoffType)` | Resolve handoff payload object |
|
|
401
|
+
| `handoffEnvelope` | `(handoffEnvelope handoffType id=@key)` | Build handoff envelope object |
|
|
398
402
|
| `lookupPayloadFields` | `{{#each (lookupPayloadFields schema)}}` | Extract schema fields (resolves allOf) |
|
|
399
403
|
| `join` | `{{join arr ", "}}` | Join array |
|
|
400
404
|
| `contains` | `{{#if (contains arr "x")}}` | Array inclusion check |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-contracts",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.4",
|
|
4
4
|
"description": "Declarative YAML DSL toolkit for defining, validating, and rendering multi-agent development workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"typescript",
|
|
50
50
|
"ai-development"
|
|
51
51
|
],
|
|
52
|
-
"author": "foo-
|
|
52
|
+
"author": "foo-log-inc",
|
|
53
53
|
"license": "MIT",
|
|
54
54
|
"repository": {
|
|
55
55
|
"type": "git",
|
|
56
|
-
"url": "git+https://github.com/foo-
|
|
56
|
+
"url": "git+https://github.com/foo-log-inc/agent-contracts.git"
|
|
57
57
|
},
|
|
58
|
-
"homepage": "https://github.com/foo-
|
|
58
|
+
"homepage": "https://github.com/foo-log-inc/agent-contracts#readme",
|
|
59
59
|
"bugs": {
|
|
60
|
-
"url": "https://github.com/foo-
|
|
60
|
+
"url": "https://github.com/foo-log-inc/agent-contracts/issues"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@stoplight/spectral-core": "^1.22.0",
|
|
@@ -100,4 +100,4 @@
|
|
|
100
100
|
"engines": {
|
|
101
101
|
"node": ">=20.0.0"
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
}
|