@arcforge/types 2.0.99 → 2.0.101

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/types",
3
- "version": "2.0.99",
3
+ "version": "2.0.101",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./src/index.ts",
@@ -1,3 +1,3 @@
1
- export type { CognetConfig, CognetDefinition } from "./cognet"
1
+ export type { CognetConfig, CognetDefinition, CognetSchedule } from "./cognet"
2
2
  export type { CognetBlueprint } from "./blueprint"
3
3
  export type { CognetHooks, CognetHookName, CognetPlugin, CognetPluginContext } from "./hooks"
package/src/handle.ts CHANGED
@@ -54,6 +54,24 @@ export type CapsuleDelegate = {
54
54
  interrupt(): void
55
55
  }
56
56
 
57
+ /**
58
+ * The embedding host an agent can call back into — a TUI, a server, another
59
+ * agent. Absent when nothing is hosting this runtime.
60
+ *
61
+ * Lives here rather than beside the composition root because the KERNEL takes
62
+ * it as an injected collaborator: a type owned by Axon() would make ring 0
63
+ * import its own composition root, which becomes a circular package dependency
64
+ * the moment the kernel is extracted.
65
+ */
66
+ export type AxonHost = {
67
+ call(request: {
68
+ callerSessionId: string
69
+ method: string
70
+ input: unknown
71
+ signal: AbortSignal
72
+ }): Promise<unknown>
73
+ }
74
+
57
75
  export type EngineDelegate = {
58
76
  /** Tool execution target. Absent/undefined = no capsule attached; capsule RPCs reject loudly. */
59
77
  capsule?: () => CapsuleDelegate | undefined