agentbnb 3.1.0 → 3.1.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,6 +1,6 @@
1
1
  import {
2
2
  CapabilityCardV2Schema
3
- } from "./chunk-TQMI73LL.js";
3
+ } from "./chunk-XA63SD4T.js";
4
4
 
5
5
  // src/conductor/card.ts
6
6
  var CONDUCTOR_OWNER = "agentbnb-conductor";
@@ -6,10 +6,10 @@ import {
6
6
  holdEscrow,
7
7
  releaseEscrow,
8
8
  settleEscrow
9
- } from "./chunk-ZJCIBK6O.js";
9
+ } from "./chunk-QVV2P3FN.js";
10
10
  import {
11
11
  AgentBnBError
12
- } from "./chunk-TQMI73LL.js";
12
+ } from "./chunk-XA63SD4T.js";
13
13
 
14
14
  // src/autonomy/tiers.ts
15
15
  import { randomUUID } from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  requestCapability,
4
4
  scorePeers,
5
5
  searchCards
6
- } from "./chunk-QVIGMCHA.js";
6
+ } from "./chunk-KTHJ5F3X.js";
7
7
 
8
8
  // src/conductor/task-decomposer.ts
9
9
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AgentBnBError
3
- } from "./chunk-TQMI73LL.js";
3
+ } from "./chunk-XA63SD4T.js";
4
4
 
5
5
  // src/credit/escrow.ts
6
6
  import { randomUUID } from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  getCard,
3
3
  insertRequestLog,
4
4
  updateReputation
5
- } from "./chunk-2LLXUKMY.js";
5
+ } from "./chunk-UOGDK2S2.js";
6
6
  import {
7
7
  confirmEscrowDebit,
8
8
  getBalance,
@@ -10,10 +10,10 @@ import {
10
10
  recordEarning,
11
11
  releaseEscrow,
12
12
  settleEscrow
13
- } from "./chunk-ZJCIBK6O.js";
13
+ } from "./chunk-QVV2P3FN.js";
14
14
  import {
15
15
  AgentBnBError
16
- } from "./chunk-TQMI73LL.js";
16
+ } from "./chunk-XA63SD4T.js";
17
17
 
18
18
  // src/gateway/execute.ts
19
19
  import { randomUUID } from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AgentBnBError,
3
3
  CapabilityCardSchema
4
- } from "./chunk-TQMI73LL.js";
4
+ } from "./chunk-XA63SD4T.js";
5
5
 
6
6
  // src/registry/request-log.ts
7
7
  var SINCE_MS = {
@@ -39,6 +39,8 @@ var CapabilityCardSchema = z.object({
39
39
  * never transmitted beyond the local store.
40
40
  */
41
41
  _internal: z.record(z.unknown()).optional(),
42
+ /** Public gateway URL where this agent accepts requests. Populated on remote publish. */
43
+ gateway_url: z.string().url().optional(),
42
44
  metadata: z.object({
43
45
  apis_used: z.array(z.string()).optional(),
44
46
  avg_latency_ms: z.number().nonnegative().optional(),
@@ -103,6 +105,8 @@ var CapabilityCardV2Schema = z.object({
103
105
  * never transmitted beyond the local store.
104
106
  */
105
107
  _internal: z.record(z.unknown()).optional(),
108
+ /** Public gateway URL where this agent accepts requests. Populated on remote publish. */
109
+ gateway_url: z.string().url().optional(),
106
110
  created_at: z.string().datetime().optional(),
107
111
  updated_at: z.string().datetime().optional()
108
112
  });
@@ -121,5 +125,6 @@ var AgentBnBError = class extends Error {
121
125
  export {
122
126
  CapabilityCardSchema,
123
127
  CapabilityCardV2Schema,
128
+ AnyCardSchema,
124
129
  AgentBnBError
125
130
  };