@tangle-network/agent-interface 0.49.0 → 0.50.0

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.
@@ -623,6 +623,19 @@ export interface AgentEnvironment {
623
623
  readonly id: string;
624
624
  readonly provider: string;
625
625
  readonly name?: string;
626
+ /**
627
+ * The capability document for THIS environment, and the document a caller
628
+ * reads to decide which operation to offer against it.
629
+ *
630
+ * A capability the connected deployment decides is environment-scoped: one
631
+ * provider reaches deployments of different ages, so
632
+ * {@link AgentEnvironmentProvider.capabilities} can only state what holds
633
+ * before an environment exists. A provider that measures a capability per
634
+ * environment publishes the measured answer here, and the operations this
635
+ * environment exposes match it exactly. Absent when the provider document
636
+ * already describes every environment it creates.
637
+ */
638
+ readonly capabilities?: AgentEnvironmentCapabilities;
626
639
  status(options?: {
627
640
  signal?: AbortSignal;
628
641
  }): Promise<AgentEnvironmentStatus>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "0.49.0",
3
+ "version": "0.50.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",