@arcforge/types 2.0.129 → 2.0.131

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.129",
3
+ "version": "2.0.131",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./src/index.ts",
@@ -69,11 +69,20 @@ export type AxonRuntimeEvent =
69
69
  */
70
70
  "axon:install:not-found": { name: string; durationMs: number }
71
71
  }
72
+ /**
73
+ * `artifact` for the same reason install carries it: removing a module
74
+ * from an agent and removing an extension from the terminal are the same
75
+ * operation with different destinations, and the timeline has to be able
76
+ * to say WHICH — "removed @cody/vim" is ambiguous otherwise.
77
+ *
78
+ * Absent means module, matching install: every event written before
79
+ * extensions were uninstallable is one.
80
+ */
72
81
  & AxonSpan<
73
82
  "axon:uninstall",
74
- { name: string },
75
- { name: string },
76
- { name: string; error: AxonError }
83
+ { name: string; artifact?: ArtifactInstalled },
84
+ { name: string; artifact?: ArtifactInstalled },
85
+ { name: string; error: AxonError; artifact?: ArtifactInstalled }
77
86
  >
78
87
  // ── Model change (config edit, then a reload rides the hot-swap path) ───
79
88
  // The agent is the same agent; only the engine underneath it moved.