@aionis/doc-module-research-claims 0.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ # Changelog
2
+
3
+ ## [0.1.0] - 2026-03-18
4
+
5
+ - First public release of `@aionis/doc-module-research-claims`.
6
+ - Exposes `research.claims.v1` as an official deterministic Aionis Doc module package.
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # @aionis/doc-module-research-claims
2
+
3
+ Official Aionis Doc module that produces deterministic claim arrays for workflow examples and tests.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i @aionis/doc-module-research-claims@0.1.0
9
+ ```
10
+
11
+ ## Input
12
+
13
+ ```json
14
+ {
15
+ "product": "Aionis Doc",
16
+ "objective": "Explain direct execution"
17
+ }
18
+ ```
19
+
20
+ ## Output
21
+
22
+ ```json
23
+ {
24
+ "claims": [
25
+ "Aionis Doc turns documents into executable workflows.",
26
+ "Explain direct execution without depending on memory publish or recover."
27
+ ]
28
+ }
29
+ ```
30
+
31
+ ## Exports
32
+
33
+ 1. `manifest`
34
+ 2. `handler`
35
+
36
+ ## Module ID
37
+
38
+ `research.claims.v1`
39
+
40
+ ## Registry Entry
41
+
42
+ ```json
43
+ {
44
+ "module": "research.claims.v1",
45
+ "package": "@aionis/doc-module-research-claims"
46
+ }
47
+ ```
package/index.mjs ADDED
@@ -0,0 +1,44 @@
1
+ export const manifest = {
2
+ module: "research.claims.v1",
3
+ version: "1.0.0",
4
+ title: "Research Claims",
5
+ description: "Generate deterministic workflow claims from product and objective inputs.",
6
+ deterministic: true,
7
+ required_capabilities: ["direct_execution"],
8
+ input_contract: {
9
+ kind: "object",
10
+ properties: {
11
+ product: { kind: "string" },
12
+ objective: { kind: "string" }
13
+ },
14
+ required: ["objective"],
15
+ additional_properties: true
16
+ },
17
+ output_contract: {
18
+ kind: "object",
19
+ properties: {
20
+ claims: {
21
+ kind: "array",
22
+ items: { kind: "string" }
23
+ }
24
+ },
25
+ required: ["claims"],
26
+ additional_properties: false
27
+ }
28
+ };
29
+
30
+ export async function handler(input) {
31
+ const product = input && typeof input === "object" && typeof input.product === "string" ? input.product : "Aionis";
32
+ const objective =
33
+ input && typeof input === "object" && typeof input.objective === "string" ? input.objective : "Explain execution";
34
+
35
+ return {
36
+ kind: "module_result",
37
+ output: {
38
+ claims: [
39
+ `${product} turns documents into executable workflows.`,
40
+ `${objective} without depending on memory publish or recover.`
41
+ ]
42
+ }
43
+ };
44
+ }
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@aionis/doc-module-research-claims",
3
+ "version": "0.1.0",
4
+ "description": "Official Aionis Doc module for generating deterministic workflow claims.",
5
+ "type": "module",
6
+ "main": "index.mjs",
7
+ "exports": {
8
+ ".": "./index.mjs"
9
+ },
10
+ "files": [
11
+ "index.mjs",
12
+ "README.md",
13
+ "CHANGELOG.md"
14
+ ],
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "engines": {
19
+ "node": ">=18.0.0"
20
+ },
21
+ "keywords": [
22
+ "aionis-doc",
23
+ "module",
24
+ "research"
25
+ ],
26
+ "author": "Aionis Core",
27
+ "license": "Apache-2.0",
28
+ "scripts": {
29
+ "pack:dry-run": "npm pack --dry-run --cache /tmp/aionis-npm-cache"
30
+ }
31
+ }