apcore-js 0.7.0 → 0.7.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/README.md CHANGED
@@ -15,6 +15,7 @@ apcore provides a unified task orchestration framework with schema validation, a
15
15
  - **Registry system** — File-based module discovery with metadata, dependencies, and topological ordering
16
16
  - **Binding loader** — YAML-based module registration for no-code integration
17
17
  - **Access control (ACL)** — Pattern-based rules with identity types, roles, and call-depth conditions
18
+ - **Approval system** — Pluggable approval gate in the executor pipeline with sync and async (polling) flows, built-in handlers, and tracing integration
18
19
  - **Middleware** — Onion-model middleware with before/after/onError hooks and error recovery
19
20
  - **Observability** — Tracing (spans + exporters), metrics (counters + histograms + Prometheus export), structured logging with redaction
20
21
  - **Schema export** — JSON/YAML schema export with strict and compact modes
@@ -63,6 +64,7 @@ src/
63
64
  context.ts # Execution context and identity
64
65
  config.ts # Dot-path configuration accessor
65
66
  acl.ts # Access control with pattern matching
67
+ approval.ts # Pluggable approval gate (handlers, request/result types)
66
68
  decorator.ts # FunctionModule class and helpers
67
69
  bindings.ts # YAML binding loader
68
70
  errors.ts # Error hierarchy (20+ typed errors)
package/dist/index.d.ts CHANGED
@@ -38,5 +38,5 @@ export { MetricsCollector, MetricsMiddleware } from './observability/metrics.js'
38
38
  export { ContextLogger, ObsLoggingMiddleware } from './observability/context-logger.js';
39
39
  export { TraceContext } from './trace-context.js';
40
40
  export type { TraceParent } from './trace-context.js';
41
- export declare const VERSION = "0.7.0";
41
+ export declare const VERSION = "0.7.1";
42
42
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -41,5 +41,5 @@ export { MetricsCollector, MetricsMiddleware } from './observability/metrics.js'
41
41
  export { ContextLogger, ObsLoggingMiddleware } from './observability/context-logger.js';
42
42
  // Trace Context
43
43
  export { TraceContext } from './trace-context.js';
44
- export const VERSION = '0.7.0';
44
+ export const VERSION = '0.7.1';
45
45
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apcore-js",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "AI-Perceivable Core — schema-driven module development framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -50,7 +50,7 @@
50
50
  "approval",
51
51
  "acl"
52
52
  ],
53
- "license": "MIT",
53
+ "license": "Apache-2.0",
54
54
  "dependencies": {
55
55
  "@sinclair/typebox": "^0.34.0",
56
56
  "js-yaml": "^4.1.0",