@nexum-hub/agent 0.0.3-next.10 → 0.0.3-next.12

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/README.md CHANGED
@@ -33,13 +33,13 @@ Nexum 的独立、公开 TypeScript Agent 项目。它是运行在用户本地
33
33
 
34
34
  统一使用 GitHub Actions 的 `.github/workflows/npm-next.yml` 发行 `@nexum-hub/sdk`、`@nexum-hub/agent`、`@nexum-hub/browser`,三包同版,依次构建、检查、发布,并回读 npm Registry。只有发布者推送 `vX.Y.Z` Tag 才会触发正式版;手动运行该工作流(选择 `main`)只会发布 `next` 测试版。**普通推送 `main` 不自动发布 npm 包。**
35
35
 
36
- - **正式版**:在已提交并推送到 `main` 的代码上执行 `git tag v0.0.2 && git push origin v0.0.2`,CI 从 Tag 解析 `0.0.2`,发布三个 `0.0.2` 包并将 dist-tag 设为 `latest`;非 `vX.Y.Z` 格式或不属于 `main` 历史的 Tag 不发布。
36
+ - **正式版**:在已提交并推送到 `main` 的代码上执行 `git tag v0.0.3 && git push origin v0.0.3`(下一版示例),CI 从 Tag 解析 `0.0.3`,发布三个 `0.0.3` 包并将 dist-tag 设为 `latest`;非 `vX.Y.Z` 格式或不属于 `main` 历史的 Tag 不发布。
37
37
  - **测试版**:在 GitHub Actions 手动运行 `Publish npm`(或 `gh workflow run npm-next.yml --ref main`)。如尚无正式 Tag,默认以 `0.0.1` 为基线,自动生成 `0.0.1-next.<run_number>`;如果已有正式 Tag(例如 `v0.0.2`),则自动生成下一补丁测试版 `0.0.3-next.<run_number>`。`run_number` 是 GitHub Workflow 的唯一运行序号,不必人为维护版本。
38
- - **已发布版本不可覆盖**:在 Registry 中检查同版本实际 tarball 校验值;内容不一致时停止,而不是重发。如果内容完全一致,可复用不可变制品并按需要更新 dist-tag。已发布的三个 `0.0.1` 与历史 `@nexum-hub/sdk@0.0.1-next.0` 都保留;首次新的正式发布建议使用尚未占用的 `v0.0.2`。
38
+ - **已发布版本不可覆盖**:在 Registry 中检查同版本实际 tarball 校验值;内容不一致时停止,而不是重发。如果内容完全一致,可复用不可变制品并按需要更新 dist-tag。已发布的 `0.0.1`、`0.0.2` 与历史测试版均保留;下一次正式版使用未占用的版本号。
39
39
 
40
- 三个包继续保持 `UNLICENSED`,公开可安装不代表开源再分发授权。当前工作流仍接受 GitHub Secret `NPM_PUBLISH_TOKEN`;要取消它,应先为三个包配置与 `npm-next.yml` 匹配的 Trusted Publisher,分别允许 `npm publish` 和 `npm dist-tag`,完成 OIDC 验收后再撤销 Token。Token、OTP 和私有配置不能进入仓库或 CI 日志。
40
+ 三个包继续保持 `UNLICENSED`,公开可安装不代表开源再分发授权。发布工作流通过 GitHub Actions OIDC 可信发布,不再要求或注入长期 npm Token;Token、OTP 和私有配置不能进入仓库或 CI 日志。
41
41
 
42
- ### Trusted Publishing / OIDC 迁移
42
+ ### Trusted Publishing / OIDC(已验证)
43
43
 
44
44
  在 npmjs.com 分别进入 `@nexum-hub/sdk`、`@nexum-hub/agent`、`@nexum-hub/browser` 的 **Settings → Trusted Publishing**,添加 GitHub Actions Publisher,每个包填写相同配置:
45
45
 
@@ -51,7 +51,7 @@ Nexum 的独立、公开 TypeScript Agent 项目。它是运行在用户本地
51
51
  | Environment | 留空 |
52
52
  | Allowed actions | 同时允许 `npm publish` 和 `npm dist-tag` |
53
53
 
54
- 在 npm 完成三包配置后,手动运行 `Publish npm` 工作流,分支选 `main`、`publish_auth` 选 `oidc`。CI 会以新的 `next` 版本完成三包发布,OIDC 步骤**不注入 `NODE_AUTH_TOKEN`**。必须以 GitHub CI 成功、三包 Registry 精确版本、`next` 标签和实际下载为验收依据。确认 OIDC 三包全部成功后,才能从工作流移除 token 分支,再删除 GitHub Secret `NPM_PUBLISH_TOKEN` 并在 npm 网站撤销原始 Token。迁移期间正式 Tag 仍沿用现有 Token,避免尚未验收的 OIDC 中断正式发布。新建的 Trusted Publisher 需要在规定期限内完成首次成功发布,否则会失效。
54
+ 2026-11-16 在 GitHub Actions [Run 43813668730](https://github.com/bYiyLi/NexumAgent/actions/runs/43813668730) 真实验证:旧 Token 发布步骤跳过、无 Token 门禁通过、三个包由 npm OIDC 发布 `0.0.3-next.11` 成功。Registry 回读三包 `next=0.0.3-next.11` 且 `latest=0.0.2`,三个公开 tarball 均已下载并核对 SHA-1。后续正式 Tag 与 `main` 手动发布统一直接使用 OIDC,工作流不再有 token 回退分支。GitHub Secret `NPM_PUBLISH_TOKEN` 已删除并回读确认不存在;npm 账户中原始访问 Token 尚未撤销,仍需 npm 包所有者在 npm 网站操作。
55
55
 
56
56
  Agent 的 `nexum-agent` CLI 命令名称保留;npm 分发不意味着已注册系统用户服务或完成三平台安装验收。是否真正发布以 npm Registry 的版本和 dist-tag 回读为准。
57
57
 
@@ -25,8 +25,7 @@
25
25
  "budgets": {
26
26
  "imageBytes": 10485760
27
27
  },
28
- "revision": "policy_1",
29
- "expiresAt": "2026-11-14T00:00:00.000Z"
28
+ "revision": "policy_1"
30
29
  },
31
30
  "connection": {
32
31
  "agentId": "agent_a",
@@ -80,8 +79,7 @@
80
79
  "budgets": {
81
80
  "imageBytes": 10485760
82
81
  },
83
- "revision": "policy_1",
84
- "expiresAt": "2026-11-14T00:00:00.000Z"
82
+ "revision": "policy_1"
85
83
  },
86
84
  "connection": {
87
85
  "agentId": "agent_a",
@@ -136,8 +134,7 @@
136
134
  "budgets": {
137
135
  "imageBytes": 10485760
138
136
  },
139
- "revision": "policy_1",
140
- "expiresAt": "2026-11-14T00:00:00.000Z"
137
+ "revision": "policy_1"
141
138
  },
142
139
  "connection": {
143
140
  "agentId": "agent_a",
@@ -191,8 +188,7 @@
191
188
  "budgets": {
192
189
  "imageBytes": 10485760
193
190
  },
194
- "revision": "policy_1",
195
- "expiresAt": "2026-11-14T00:00:00.000Z"
191
+ "revision": "policy_1"
196
192
  },
197
193
  "connection": {
198
194
  "agentId": "agent_a",
@@ -246,8 +242,7 @@
246
242
  "budgets": {
247
243
  "imageBytes": 10485760
248
244
  },
249
- "revision": "policy_1",
250
- "expiresAt": "2026-11-14T00:00:00.000Z"
245
+ "revision": "policy_1"
251
246
  },
252
247
  "connection": {
253
248
  "agentId": "agent_a",
@@ -303,8 +298,7 @@
303
298
  "imageBytes": 10485760,
304
299
  "unbounded": 10
305
300
  },
306
- "revision": "policy_1",
307
- "expiresAt": "2026-11-14T00:00:00.000Z"
301
+ "revision": "policy_1"
308
302
  },
309
303
  "connection": {
310
304
  "agentId": "agent_a",
@@ -354,8 +348,7 @@
354
348
  "budgets": {
355
349
  "imageBytes": 10485760
356
350
  },
357
- "revision": "policy_1",
358
- "expiresAt": "2026-11-14T00:00:00.000Z"
351
+ "revision": "policy_1"
359
352
  },
360
353
  "connection": {
361
354
  "agentId": "agent_a",
@@ -410,8 +403,7 @@
410
403
  "budgets": {
411
404
  "imageBytes": 10485760
412
405
  },
413
- "revision": "policy_1",
414
- "expiresAt": "2026-11-14T00:00:00.000Z"
406
+ "revision": "policy_1"
415
407
  },
416
408
  "connection": {
417
409
  "agentId": "agent_a",
@@ -464,8 +456,7 @@
464
456
  "budgets": {
465
457
  "imageBytes": 10485760
466
458
  },
467
- "revision": "policy_1",
468
- "expiresAt": "2026-11-14T00:00:00.000Z"
459
+ "revision": "policy_1"
469
460
  },
470
461
  "connection": {
471
462
  "agentId": "agent_a",
@@ -520,8 +511,7 @@
520
511
  "budgets": {
521
512
  "imageBytes": 10485760
522
513
  },
523
- "revision": "policy_1",
524
- "expiresAt": "2026-11-14T00:00:00.000Z"
514
+ "revision": "policy_1"
525
515
  },
526
516
  "connection": {
527
517
  "agentId": "agent_a",
@@ -576,8 +566,7 @@
576
566
  "budgets": {
577
567
  "imageBytes": 10485760
578
568
  },
579
- "revision": "policy_1",
580
- "expiresAt": "2026-11-14T00:00:00.000Z"
569
+ "revision": "policy_1"
581
570
  },
582
571
  "connection": {
583
572
  "agentId": "agent_a",
@@ -633,8 +622,7 @@
633
622
  "budgets": {
634
623
  "imageBytes": 10485760
635
624
  },
636
- "revision": "policy_1",
637
- "expiresAt": "2026-11-14T00:00:00.000Z"
625
+ "revision": "policy_1"
638
626
  },
639
627
  "connection": {
640
628
  "agentId": "agent_a",
@@ -1234,36 +1222,6 @@
1234
1222
  }
1235
1223
  }
1236
1224
  },
1237
- {
1238
- "name": "policy revocation is an event not a fake run stop",
1239
- "contract": "wire",
1240
- "valid": true,
1241
- "value": {
1242
- "type": "event",
1243
- "name": "agent.authorization.changed",
1244
- "connection": {
1245
- "agentId": "agent_a",
1246
- "profile": "development",
1247
- "bootId": "boot_a",
1248
- "cloudEnvironment": "development",
1249
- "connectionId": "conn_a"
1250
- },
1251
- "data": {
1252
- "caller": {
1253
- "principalId": "user_a",
1254
- "clientId": "client_a",
1255
- "grantId": "grant_a",
1256
- "hostRef": "host_a",
1257
- "hostCapabilities": {
1258
- "sampling": true,
1259
- "elicitation": false,
1260
- "roots": true
1261
- }
1262
- },
1263
- "authorization": null
1264
- }
1265
- }
1266
- },
1267
1225
  {
1268
1226
  "name": "catalog sync authenticated machine event",
1269
1227
  "contract": "wire",
@@ -1430,8 +1388,7 @@
1430
1388
  "budgets": {
1431
1389
  "imageBytes": 10485760
1432
1390
  },
1433
- "revision": "policy_1",
1434
- "expiresAt": "2026-11-14T00:00:00.000Z"
1391
+ "revision": "policy_1"
1435
1392
  },
1436
1393
  "connection": {
1437
1394
  "agentId": "agent_a",
@@ -1486,8 +1443,7 @@
1486
1443
  "budgets": {
1487
1444
  "imageBytes": 10485760
1488
1445
  },
1489
- "revision": "policy_1",
1490
- "expiresAt": "2026-11-14T00:00:00.000Z"
1446
+ "revision": "policy_1"
1491
1447
  },
1492
1448
  "connection": {
1493
1449
  "agentId": "agent_a",
@@ -1529,8 +1485,7 @@
1529
1485
  "budgets": {
1530
1486
  "imageBytes": 10485760
1531
1487
  },
1532
- "revision": "policy_1",
1533
- "expiresAt": "2026-11-14T00:00:00.000Z"
1488
+ "revision": "policy_1"
1534
1489
  },
1535
1490
  "connection": {
1536
1491
  "agentId": "agent_a",
@@ -1584,8 +1539,7 @@
1584
1539
  "budgets": {
1585
1540
  "imageBytes": 10485760
1586
1541
  },
1587
- "revision": "policy_1",
1588
- "expiresAt": "2026-11-14T00:00:00.000Z"
1542
+ "revision": "policy_1"
1589
1543
  },
1590
1544
  "connection": {
1591
1545
  "agentId": "agent_a",
@@ -1867,44 +1821,6 @@
1867
1821
  "agentConfirmed": false
1868
1822
  }
1869
1823
  },
1870
- {
1871
- "name": "policy event cannot cross Agent binding",
1872
- "contract": "wire",
1873
- "valid": false,
1874
- "value": {
1875
- "type": "event",
1876
- "name": "agent.authorization.changed",
1877
- "connection": {
1878
- "agentId": "agent_a",
1879
- "profile": "development",
1880
- "bootId": "boot_a",
1881
- "cloudEnvironment": "development",
1882
- "connectionId": "conn_a"
1883
- },
1884
- "data": {
1885
- "caller": {
1886
- "principalId": "user_a",
1887
- "clientId": "client_a",
1888
- "grantId": "grant_a",
1889
- "hostRef": "host_a",
1890
- "hostCapabilities": {
1891
- "sampling": true,
1892
- "elicitation": false,
1893
- "roots": true
1894
- }
1895
- },
1896
- "authorization": {
1897
- "agentId": "other",
1898
- "allowedRoots": ["/tmp/work"],
1899
- "budgets": {
1900
- "imageBytes": 10485760
1901
- },
1902
- "revision": "policy_1",
1903
- "expiresAt": "2026-11-14T00:00:00.000Z"
1904
- }
1905
- }
1906
- }
1907
- },
1908
1824
  {
1909
1825
  "name": "draft current config remains opaque business JSON",
1910
1826
  "contract": "wire.body:MaintenanceDraftRead",
@@ -2678,146 +2594,6 @@
2678
2594
  ]
2679
2595
  }
2680
2596
  },
2681
- {
2682
- "name": "lease refresh runId",
2683
- "contract": "wire.input:authorization.refresh",
2684
- "valid": true,
2685
- "value": {
2686
- "originInvocationId": "rpc_original",
2687
- "runId": "run_original"
2688
- }
2689
- },
2690
- {
2691
- "name": "lease refresh maintenanceRequestId",
2692
- "contract": "wire.input:authorization.refresh",
2693
- "valid": true,
2694
- "value": {
2695
- "originInvocationId": "rpc_original",
2696
- "maintenanceRequestId": "maint_req_original"
2697
- }
2698
- },
2699
- {
2700
- "name": "lease refresh transferId",
2701
- "contract": "wire.input:authorization.refresh",
2702
- "valid": true,
2703
- "value": {
2704
- "originInvocationId": "rpc_original",
2705
- "transferId": "tr_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
2706
- }
2707
- },
2708
- {
2709
- "name": "lease refresh streamId",
2710
- "contract": "wire.input:authorization.refresh",
2711
- "valid": true,
2712
- "value": {
2713
- "originInvocationId": "rpc_original",
2714
- "streamId": "stream_original"
2715
- }
2716
- },
2717
- {
2718
- "name": "lease refresh rejects mixed runId maintenanceRequestId",
2719
- "contract": "wire.input:authorization.refresh",
2720
- "valid": false,
2721
- "value": {
2722
- "originInvocationId": "rpc_original",
2723
- "runId": "run_original",
2724
- "maintenanceRequestId": "maint_req_original"
2725
- }
2726
- },
2727
- {
2728
- "name": "lease refresh rejects mixed runId transferId",
2729
- "contract": "wire.input:authorization.refresh",
2730
- "valid": false,
2731
- "value": {
2732
- "originInvocationId": "rpc_original",
2733
- "runId": "run_original",
2734
- "transferId": "tr_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
2735
- }
2736
- },
2737
- {
2738
- "name": "lease refresh rejects mixed runId streamId",
2739
- "contract": "wire.input:authorization.refresh",
2740
- "valid": false,
2741
- "value": {
2742
- "originInvocationId": "rpc_original",
2743
- "runId": "run_original",
2744
- "streamId": "stream_original"
2745
- }
2746
- },
2747
- {
2748
- "name": "lease refresh rejects mixed maintenanceRequestId transferId",
2749
- "contract": "wire.input:authorization.refresh",
2750
- "valid": false,
2751
- "value": {
2752
- "originInvocationId": "rpc_original",
2753
- "maintenanceRequestId": "maint_req_original",
2754
- "transferId": "tr_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
2755
- }
2756
- },
2757
- {
2758
- "name": "lease refresh rejects mixed maintenanceRequestId streamId",
2759
- "contract": "wire.input:authorization.refresh",
2760
- "valid": false,
2761
- "value": {
2762
- "originInvocationId": "rpc_original",
2763
- "maintenanceRequestId": "maint_req_original",
2764
- "streamId": "stream_original"
2765
- }
2766
- },
2767
- {
2768
- "name": "lease refresh rejects mixed transferId streamId",
2769
- "contract": "wire.input:authorization.refresh",
2770
- "valid": false,
2771
- "value": {
2772
- "originInvocationId": "rpc_original",
2773
- "transferId": "tr_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
2774
- "streamId": "stream_original"
2775
- }
2776
- },
2777
- {
2778
- "name": "lease refresh rejects missing source",
2779
- "contract": "wire.input:authorization.refresh",
2780
- "valid": false,
2781
- "value": {
2782
- "originInvocationId": "rpc_original"
2783
- }
2784
- },
2785
- {
2786
- "name": "lease refresh requires original invocation",
2787
- "contract": "wire.input:authorization.refresh",
2788
- "valid": false,
2789
- "value": {
2790
- "maintenanceRequestId": "maint_req_original"
2791
- }
2792
- },
2793
- {
2794
- "name": "lease refresh rejects malformed maintenance identity",
2795
- "contract": "wire.input:authorization.refresh",
2796
- "valid": false,
2797
- "value": {
2798
- "originInvocationId": "rpc_original",
2799
- "maintenanceRequestId": "run_fake"
2800
- }
2801
- },
2802
- {
2803
- "name": "lease refresh rejects nonregistered transfer syntax",
2804
- "contract": "wire.input:authorization.refresh",
2805
- "valid": false,
2806
- "value": {
2807
- "originInvocationId": "rpc_original",
2808
- "transferId": "tr_not-a-live-id"
2809
- }
2810
- },
2811
- {
2812
- "name": "lease refresh rejects caller identity in arguments",
2813
- "contract": "wire.input:authorization.refresh",
2814
- "valid": false,
2815
- "value": {
2816
- "originInvocationId": "rpc_original",
2817
- "runId": "run_original",
2818
- "userId": "injected"
2819
- }
2820
- },
2821
2597
  {
2822
2598
  "name": "resource read independent complete body",
2823
2599
  "contract": "wire.output:agent.resources.read",
@@ -3372,8 +3148,7 @@
3372
3148
  "budgets": {
3373
3149
  "imageBytes": 10485760
3374
3150
  },
3375
- "revision": "policy_1",
3376
- "expiresAt": "2026-11-14T00:00:00.000Z"
3151
+ "revision": "policy_1"
3377
3152
  },
3378
3153
  "connection": {
3379
3154
  "agentId": "agent_a",
@@ -3415,8 +3190,7 @@
3415
3190
  "budgets": {
3416
3191
  "imageBytes": 10485760
3417
3192
  },
3418
- "revision": "policy_1",
3419
- "expiresAt": "2026-11-14T00:00:00.000Z"
3193
+ "revision": "policy_1"
3420
3194
  },
3421
3195
  "connection": {
3422
3196
  "agentId": "agent_a",
@@ -3462,8 +3236,7 @@
3462
3236
  "budgets": {
3463
3237
  "imageBytes": 10485760
3464
3238
  },
3465
- "revision": "policy_1",
3466
- "expiresAt": "2026-11-14T00:00:00.000Z"
3239
+ "revision": "policy_1"
3467
3240
  },
3468
3241
  "connection": {
3469
3242
  "agentId": "agent_a",
@@ -3659,8 +3432,7 @@
3659
3432
  "budgets": {
3660
3433
  "imageBytes": 10485760
3661
3434
  },
3662
- "revision": "policy_1",
3663
- "expiresAt": "2026-11-14T00:00:00.000Z"
3435
+ "revision": "policy_1"
3664
3436
  },
3665
3437
  "connection": {
3666
3438
  "agentId": "agent_a",
@@ -4280,8 +4052,7 @@
4280
4052
  "budgets": {
4281
4053
  "imageBytes": 10485760
4282
4054
  },
4283
- "revision": "policy_1",
4284
- "expiresAt": "2026-11-14T00:00:00.000Z"
4055
+ "revision": "policy_1"
4285
4056
  },
4286
4057
  "connection": {
4287
4058
  "agentId": "agent_a",
@@ -4322,8 +4093,7 @@
4322
4093
  "budgets": {
4323
4094
  "imageBytes": 10485760
4324
4095
  },
4325
- "revision": "policy_1",
4326
- "expiresAt": "2026-11-14T00:00:00.000Z"
4096
+ "revision": "policy_1"
4327
4097
  },
4328
4098
  "connection": {
4329
4099
  "agentId": "agent_a",
@@ -4614,8 +4384,7 @@
4614
4384
  "budgets": {
4615
4385
  "imageBytes": 10485760
4616
4386
  },
4617
- "revision": "policy_1",
4618
- "expiresAt": "2026-11-14T00:00:00.000Z"
4387
+ "revision": "policy_1"
4619
4388
  },
4620
4389
  "connection": {
4621
4390
  "agentId": "agent_a",
@@ -4652,7 +4421,6 @@
4652
4421
  "imageBytes": 10485760
4653
4422
  },
4654
4423
  "revision": "policy_1",
4655
- "expiresAt": "2026-11-14T00:00:00.000Z",
4656
4424
  "projectId": "project_a",
4657
4425
  "projectRoot": "/tmp/work",
4658
4426
  "projectName": "Work"
@@ -4691,8 +4459,7 @@
4691
4459
  "budgets": {
4692
4460
  "imageBytes": 10485760
4693
4461
  },
4694
- "revision": "policy_1",
4695
- "expiresAt": "2026-11-14T00:00:00.000Z"
4462
+ "revision": "policy_1"
4696
4463
  },
4697
4464
  "connection": {
4698
4465
  "agentId": "agent_a",
@@ -4731,8 +4498,7 @@
4731
4498
  "budgets": {
4732
4499
  "imageBytes": 10485760
4733
4500
  },
4734
- "revision": "policy_1",
4735
- "expiresAt": "2026-11-14T00:00:00.000Z"
4501
+ "revision": "policy_1"
4736
4502
  },
4737
4503
  "connection": {
4738
4504
  "agentId": "agent_a",
@@ -4782,8 +4548,7 @@
4782
4548
  "budgets": {
4783
4549
  "imageBytes": 10485760
4784
4550
  },
4785
- "revision": "policy_1",
4786
- "expiresAt": "2026-11-14T00:00:00.000Z"
4551
+ "revision": "policy_1"
4787
4552
  },
4788
4553
  "connection": {
4789
4554
  "agentId": "agent_a",
@@ -4819,8 +4584,7 @@
4819
4584
  "budgets": {
4820
4585
  "imageBytes": 10485760
4821
4586
  },
4822
- "revision": "policy_1",
4823
- "expiresAt": "2026-11-14T00:00:00.000Z"
4587
+ "revision": "policy_1"
4824
4588
  },
4825
4589
  "connection": {
4826
4590
  "agentId": "agent_a",
@@ -4857,8 +4621,7 @@
4857
4621
  "budgets": {
4858
4622
  "imageBytes": 10485760
4859
4623
  },
4860
- "revision": "policy_1",
4861
- "expiresAt": "2026-11-14T00:00:00.000Z"
4624
+ "revision": "policy_1"
4862
4625
  },
4863
4626
  "connection": {
4864
4627
  "agentId": "agent_a",
@@ -5107,8 +4870,7 @@
5107
4870
  "budgets": {
5108
4871
  "imageBytes": 10485760
5109
4872
  },
5110
- "revision": "policy_1",
5111
- "expiresAt": "2026-11-14T00:00:00.000Z"
4873
+ "revision": "policy_1"
5112
4874
  },
5113
4875
  "connection": {
5114
4876
  "agentId": "agent_a",
@@ -5149,8 +4911,7 @@
5149
4911
  "budgets": {
5150
4912
  "imageBytes": 10485760
5151
4913
  },
5152
- "revision": "policy_1",
5153
- "expiresAt": "2026-11-14T00:00:00.000Z"
4914
+ "revision": "policy_1"
5154
4915
  },
5155
4916
  "connection": {
5156
4917
  "agentId": "agent_a",
@@ -5925,8 +5686,7 @@
5925
5686
  "budgets": {
5926
5687
  "imageBytes": 10485760
5927
5688
  },
5928
- "revision": "policy_1",
5929
- "expiresAt": "2026-11-14T00:00:00.000Z"
5689
+ "revision": "policy_1"
5930
5690
  },
5931
5691
  "connection": {
5932
5692
  "agentId": "agent_a",
@@ -5965,8 +5725,7 @@
5965
5725
  "budgets": {
5966
5726
  "imageBytes": 10485760
5967
5727
  },
5968
- "revision": "policy_1",
5969
- "expiresAt": "2026-11-14T00:00:00.000Z"
5728
+ "revision": "policy_1"
5970
5729
  },
5971
5730
  "connection": {
5972
5731
  "agentId": "agent_a",
@@ -6000,8 +5759,7 @@
6000
5759
  "budgets": {
6001
5760
  "imageBytes": 10485760
6002
5761
  },
6003
- "revision": "policy_1",
6004
- "expiresAt": "2026-11-14T00:00:00.000Z"
5762
+ "revision": "policy_1"
6005
5763
  },
6006
5764
  "connection": {
6007
5765
  "agentId": "agent_a",
@@ -6042,8 +5800,7 @@
6042
5800
  "budgets": {
6043
5801
  "imageBytes": 10485760
6044
5802
  },
6045
- "revision": "policy_1",
6046
- "expiresAt": "2026-11-14T00:00:00.000Z"
5803
+ "revision": "policy_1"
6047
5804
  },
6048
5805
  "connection": {
6049
5806
  "agentId": "agent_a",
@@ -6079,8 +5836,7 @@
6079
5836
  "budgets": {
6080
5837
  "imageBytes": 10485760
6081
5838
  },
6082
- "revision": "policy_1",
6083
- "expiresAt": "2026-11-14T00:00:00.000Z"
5839
+ "revision": "policy_1"
6084
5840
  },
6085
5841
  "connection": {
6086
5842
  "agentId": "agent_a",
@@ -6121,8 +5877,7 @@
6121
5877
  "budgets": {
6122
5878
  "imageBytes": 10485760
6123
5879
  },
6124
- "revision": "policy_1",
6125
- "expiresAt": "2026-11-14T00:00:00.000Z"
5880
+ "revision": "policy_1"
6126
5881
  },
6127
5882
  "connection": {
6128
5883
  "agentId": "agent_a",
@@ -6159,7 +5914,6 @@
6159
5914
  "imageBytes": 10485760
6160
5915
  },
6161
5916
  "revision": "policy_1",
6162
- "expiresAt": "2026-11-14T00:00:00.000Z",
6163
5917
  "projectId": "project_a",
6164
5918
  "projectRoot": "/tmp/work",
6165
5919
  "projectName": "Work"
@@ -6276,7 +6030,6 @@
6276
6030
  "imageBytes": 10485760
6277
6031
  },
6278
6032
  "revision": "policy_1",
6279
- "expiresAt": "2026-11-14T00:00:00.000Z",
6280
6033
  "projectId": "project_a",
6281
6034
  "projectRoot": "/tmp/work",
6282
6035
  "projectName": "Work"
@@ -6321,7 +6074,6 @@
6321
6074
  "imageBytes": 10485760
6322
6075
  },
6323
6076
  "revision": "policy_1",
6324
- "expiresAt": "2026-11-14T00:00:00.000Z",
6325
6077
  "projectId": "project_a",
6326
6078
  "projectRoot": "/tmp/work",
6327
6079
  "projectName": "Work"
@@ -6360,8 +6112,7 @@
6360
6112
  "budgets": {
6361
6113
  "imageBytes": 10485760
6362
6114
  },
6363
- "revision": "policy_1",
6364
- "expiresAt": "2026-11-14T00:00:00.000Z"
6115
+ "revision": "policy_1"
6365
6116
  },
6366
6117
  "connection": {
6367
6118
  "agentId": "agent_a",
@@ -6398,7 +6149,6 @@
6398
6149
  "imageBytes": 10485760
6399
6150
  },
6400
6151
  "revision": "policy_1",
6401
- "expiresAt": "2026-11-14T00:00:00.000Z",
6402
6152
  "projectId": "project_a",
6403
6153
  "projectRoot": "/tmp/work",
6404
6154
  "projectName": "Work"
@@ -6438,7 +6188,6 @@
6438
6188
  "imageBytes": 10485760
6439
6189
  },
6440
6190
  "revision": "policy_1",
6441
- "expiresAt": "2026-11-14T00:00:00.000Z",
6442
6191
  "projectId": "project_a",
6443
6192
  "projectRoot": "/tmp/work",
6444
6193
  "projectName": "Work"