@aionis/manifest 0.1.1
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 +26 -0
- package/LICENSE +178 -0
- package/README.md +170 -0
- package/dist/ast/types.d.ts +34 -0
- package/dist/ast/types.js +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +122 -0
- package/dist/compile.d.ts +14 -0
- package/dist/compile.js +219 -0
- package/dist/contracts.d.ts +12610 -0
- package/dist/contracts.js +401 -0
- package/dist/diagnostics/types.d.ts +17 -0
- package/dist/diagnostics/types.js +1 -0
- package/dist/execute/localRuntime.d.ts +5 -0
- package/dist/execute/localRuntime.js +165 -0
- package/dist/execute/moduleRuntime.d.ts +25 -0
- package/dist/execute/moduleRuntime.js +352 -0
- package/dist/execute/types.d.ts +113 -0
- package/dist/execute/types.js +1 -0
- package/dist/execute-cli.d.ts +2 -0
- package/dist/execute-cli.js +112 -0
- package/dist/execute.d.ts +6 -0
- package/dist/execute.js +46 -0
- package/dist/graph/buildExecutionGraph.d.ts +8 -0
- package/dist/graph/buildExecutionGraph.js +69 -0
- package/dist/graph/types.d.ts +24 -0
- package/dist/graph/types.js +1 -0
- package/dist/handoff-store-cli.d.ts +2 -0
- package/dist/handoff-store-cli.js +139 -0
- package/dist/handoff-store.d.ts +103 -0
- package/dist/handoff-store.js +78 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +21 -0
- package/dist/ir/types.d.ts +92 -0
- package/dist/ir/types.js +1 -0
- package/dist/parser/parseAst.d.ts +3 -0
- package/dist/parser/parseAst.js +207 -0
- package/dist/parser/payload.d.ts +6 -0
- package/dist/parser/payload.js +211 -0
- package/dist/plan/buildExecutionPlan.d.ts +9 -0
- package/dist/plan/buildExecutionPlan.js +98 -0
- package/dist/plan/types.d.ts +44 -0
- package/dist/plan/types.js +1 -0
- package/dist/publish-cli.d.ts +2 -0
- package/dist/publish-cli.js +249 -0
- package/dist/publish.d.ts +148 -0
- package/dist/publish.js +190 -0
- package/dist/recover-cli.d.ts +2 -0
- package/dist/recover-cli.js +258 -0
- package/dist/recover.d.ts +489 -0
- package/dist/recover.js +290 -0
- package/dist/refs/resolveRefs.d.ts +13 -0
- package/dist/refs/resolveRefs.js +104 -0
- package/dist/registry/loadModuleRegistry.d.ts +28 -0
- package/dist/registry/loadModuleRegistry.js +97 -0
- package/dist/registry/types.d.ts +20 -0
- package/dist/registry/types.js +2 -0
- package/dist/resume-cli.d.ts +2 -0
- package/dist/resume-cli.js +379 -0
- package/dist/resume.d.ts +2076 -0
- package/dist/resume.js +452 -0
- package/dist/run-cli.d.ts +2 -0
- package/dist/run-cli.js +119 -0
- package/dist/run.d.ts +9 -0
- package/dist/run.js +43 -0
- package/dist/runtime-handoff-cli.d.ts +2 -0
- package/dist/runtime-handoff-cli.js +179 -0
- package/dist/runtime-handoff.d.ts +914 -0
- package/dist/runtime-handoff.js +383 -0
- package/dist/scanner/scanSource.d.ts +9 -0
- package/dist/scanner/scanSource.js +43 -0
- package/dist/schema/validateIrSchemas.d.ts +3 -0
- package/dist/schema/validateIrSchemas.js +64 -0
- package/dist/validate-module-cli.d.ts +2 -0
- package/dist/validate-module-cli.js +93 -0
- package/dist/validate-registry-cli.d.ts +2 -0
- package/dist/validate-registry-cli.js +82 -0
- package/dist/validate.d.ts +52 -0
- package/dist/validate.js +91 -0
- package/fixtures/duplicate-doc.aionis.md +19 -0
- package/fixtures/fenced-example.aionis.md +27 -0
- package/fixtures/malformed-payload.aionis.md +9 -0
- package/fixtures/npm-installed-module-registry.json +17 -0
- package/fixtures/standalone-module-registry.json +13 -0
- package/fixtures/standalone-runner-plan.json +51 -0
- package/fixtures/standalone-runner.aionis.md +29 -0
- package/fixtures/unresolved-ref.aionis.md +14 -0
- package/fixtures/valid-minimal.aionis.md +24 -0
- package/fixtures/valid-workflow.aionis.md +29 -0
- package/official-modules/copy-summary/CHANGELOG.md +6 -0
- package/official-modules/copy-summary/README.md +43 -0
- package/official-modules/copy-summary/index.mjs +41 -0
- package/official-modules/copy-summary/package.json +31 -0
- package/official-modules/json-transform/CHANGELOG.md +6 -0
- package/official-modules/json-transform/README.md +51 -0
- package/official-modules/json-transform/index.mjs +53 -0
- package/official-modules/json-transform/package.json +31 -0
- package/official-modules/research-claims/CHANGELOG.md +6 -0
- package/official-modules/research-claims/README.md +47 -0
- package/official-modules/research-claims/index.mjs +44 -0
- package/official-modules/research-claims/package.json +31 -0
- package/package.json +74 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# @aionis/manifest-module-research-claims
|
|
2
|
+
|
|
3
|
+
Official AionisManifest module that produces deterministic claim arrays for workflow examples and tests.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm i @aionis/manifest-module-research-claims@0.1.0
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Input
|
|
12
|
+
|
|
13
|
+
```json
|
|
14
|
+
{
|
|
15
|
+
"product": "AionisManifest",
|
|
16
|
+
"objective": "Explain direct execution"
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Output
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"claims": [
|
|
25
|
+
"AionisManifest 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/manifest-module-research-claims"
|
|
46
|
+
}
|
|
47
|
+
```
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aionis/manifest-module-research-claims",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Official AionisManifest 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-manifest",
|
|
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
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aionis/manifest",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Portable executable manifest runtime for agent and workflow systems.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/ostinatocc/AionisManifest.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/ostinatocc/AionisManifest#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/ostinatocc/AionisManifest/issues"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "dist/index.js",
|
|
15
|
+
"types": "dist/index.d.ts",
|
|
16
|
+
"bin": {
|
|
17
|
+
"compile-aionis-manifest": "dist/cli.js",
|
|
18
|
+
"run-aionis-manifest": "dist/run-cli.js",
|
|
19
|
+
"validate-aionis-manifest-registry": "dist/validate-registry-cli.js",
|
|
20
|
+
"validate-aionis-manifest-module": "dist/validate-module-cli.js",
|
|
21
|
+
"execute-aionis-manifest": "dist/execute-cli.js",
|
|
22
|
+
"build-aionis-manifest-runtime-handoff": "dist/runtime-handoff-cli.js",
|
|
23
|
+
"build-aionis-manifest-handoff-store-request": "dist/handoff-store-cli.js",
|
|
24
|
+
"publish-aionis-manifest-handoff": "dist/publish-cli.js",
|
|
25
|
+
"recover-aionis-manifest-handoff": "dist/recover-cli.js",
|
|
26
|
+
"resume-aionis-manifest-runtime": "dist/resume-cli.js"
|
|
27
|
+
},
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"fixtures/*.json",
|
|
37
|
+
"fixtures/*.md",
|
|
38
|
+
"official-modules",
|
|
39
|
+
"README.md",
|
|
40
|
+
"CHANGELOG.md"
|
|
41
|
+
],
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=18.0.0"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "tsc -p tsconfig.build.json",
|
|
50
|
+
"clean": "rm -rf dist",
|
|
51
|
+
"test": "tsx --test test/*.test.ts",
|
|
52
|
+
"verify": "npm run -s build && npm run -s test",
|
|
53
|
+
"prepare": "npm run -s build",
|
|
54
|
+
"pack:dry-run": "npm pack --dry-run --cache /tmp/aionis-npm-cache"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"zod": "^3.23.8"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@types/node": "^22.10.2",
|
|
61
|
+
"tsx": "^4.22.4",
|
|
62
|
+
"typescript": "^5.6.3"
|
|
63
|
+
},
|
|
64
|
+
"keywords": [
|
|
65
|
+
"aionis",
|
|
66
|
+
"manifest",
|
|
67
|
+
"workflow",
|
|
68
|
+
"runtime",
|
|
69
|
+
"compiler",
|
|
70
|
+
"typescript"
|
|
71
|
+
],
|
|
72
|
+
"author": "Aionis Core",
|
|
73
|
+
"license": "Apache-2.0"
|
|
74
|
+
}
|