@asyra/ai-agent-runtime 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +43 -9
  2. package/package.json +9 -4
package/README.md CHANGED
@@ -1,17 +1,51 @@
1
1
  # `@asyra/ai-agent-runtime`
2
2
 
3
- Optional AI action-plan orchestration for Asyra applications. The app owns the
4
- model provider, permissions, confirmation, registered public action executors,
5
- and enclosing transaction.
3
+ Optional orchestration for turning natural-language intent into registered, app-approved actions.
4
+
5
+ ## Requirements
6
+
7
+ - Node.js 24.x
8
+ - Yarn 4.3.1 for this repository's maintained workflows
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ npm install @asyra/ai-agent-runtime
14
+ ```
6
15
 
7
16
  ```ts
8
- import { createAIAgentRuntime } from '@asyra/ai-agent-runtime'
17
+ import { createAiAgentRuntime } from '@asyra/ai-agent-runtime'
9
18
  ```
10
19
 
11
- Importing this package creates no provider, secret access, model request,
12
- network traffic, timer, listener, or canonical mutation.
20
+ Use only the package root and the explicitly documented public subpaths.
21
+
22
+ ## Owns
23
+
24
+ - provider requests and bounded action-batch validation
25
+ - permission, optional confirmation, ordered execution, progress, audit, and cleanup
26
+ - one app-supplied transaction-runner call around accepted executors
27
+
28
+ ## Does not own
29
+
30
+ - model vendors, credentials, app-domain actions, canonical state, Feature sessions, or transaction implementation
31
+
32
+ ## Start here
33
+
34
+ Compose it only when an App has explicit action schemas, permissions, provider policy, and canonical action executors.
35
+
36
+ ## Lifecycle and composition
37
+
38
+ Import and construction are inert. A run obtains bounded context, resolves registered actions, checks permission, optionally confirms, and executes through the App transaction runner. Invalid, denied, cancelled, aborted, or failed work applies no hidden canonical prefix.
39
+
40
+ ## Learn more
41
+
42
+ - [Complete package guide](https://github.com/karote00/asyra/blob/main/docs/public/reference/packages/ai-agent-runtime.md)
43
+ - [Framework release support](https://github.com/karote00/asyra/blob/main/docs/ai/framework/RELEASE_SUPPORT.md)
13
44
 
14
- ## Release support
45
+ ## Support and policy
15
46
 
16
- The `0.2.5` ESM artifact supports Node.js 24.x. Use only package-root exports.
17
- See the [Framework release support contract](../../docs/ai/framework/RELEASE_SUPPORT.md).
47
+ This repository does not accept external issues or contributions. You may use,
48
+ inspect, and fork the package under the [MIT License](https://github.com/karote00/asyra/blob/main/LICENSE).
49
+ Follow the [security policy](https://github.com/karote00/asyra/blob/main/SECURITY.md) for
50
+ security-sensitive reports and the [root policy](https://github.com/karote00/asyra) for the
51
+ current support boundary.
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@asyra/ai-agent-runtime",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Optional provider-replaceable AI agent orchestration runtime for Asyra",
5
5
  "author": "Asa Tsai",
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/karote00/asyra.git",
10
+ "directory": "packages/ai-agent-runtime"
11
+ },
12
+ "homepage": "https://asyra-framework.vercel.app",
7
13
  "type": "module",
8
14
  "engines": {
9
15
  "node": "24.x"
@@ -29,14 +35,13 @@
29
35
  "dev": "tsc --watch --preserveWatchOutput",
30
36
  "clean": "rm -rf dist",
31
37
  "build:ai-agent-runtime": "tsc",
32
- "example:ai-agent-runtime": "vitest run src/__tests__/documentation-example.test.js",
33
38
  "test": "vitest",
34
39
  "test:local": "vitest run",
35
40
  "test:ci": "vitest run --coverage --reporter=default --reporter=junit"
36
41
  },
37
42
  "devDependencies": {
38
- "@vitest/coverage-v8": "^2.1.8",
43
+ "@vitest/coverage-v8": "^3.2.6",
39
44
  "typescript": "^5.7.2",
40
- "vitest": "^2.1.8"
45
+ "vitest": "^3.2.6"
41
46
  }
42
47
  }