@yandu/types 0.0.1 → 0.0.2

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.
@@ -1,9 +1,13 @@
1
1
  import type { CapabilityRegistry } from './capabilities/CapabilityRegistry.js';
2
+ export interface PluginConfig {
3
+ get<T>(key: string): T | undefined;
4
+ }
2
5
  export interface KernelSystem {
3
6
  registry: unknown;
4
7
  acpRegistry: unknown;
5
8
  loop: unknown;
6
9
  capabilities: CapabilityRegistry;
10
+ config: PluginConfig;
7
11
  createContext(workingDirectory?: string): unknown;
8
12
  }
9
13
  //# sourceMappingURL=KernelSystem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KernelSystem.d.ts","sourceRoot":"","sources":["../src/KernelSystem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,kBAAkB,CAAC;IACjC,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACnD"}
1
+ {"version":3,"file":"KernelSystem.d.ts","sourceRoot":"","sources":["../src/KernelSystem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,kBAAkB,CAAC;IACjC,MAAM,EAAE,YAAY,CAAC;IACrB,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACnD"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export type { Plugin } from './Plugin.js';
2
- export type { KernelSystem } from './KernelSystem.js';
2
+ export type { KernelSystem, PluginConfig } from './KernelSystem.js';
3
3
  export type { CapabilityType, CapabilityDescriptor, CapabilityRegistry, } from './capabilities/CapabilityRegistry.js';
4
4
  export type { TranslationAdapter, AdapterTranslateOptions } from './capabilities/TranslationAdapter.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACpE,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yandu/types",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Yandu plugin types and capability interfaces",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",