@tickernelz/paperclip-pro-server 2026.925.1 → 2026.925.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.
- package/dist/build-info.json +1 -1
- package/dist/redaction.js +1 -1
- package/dist/redaction.js.map +1 -1
- package/dist/routes/access.d.ts.map +1 -1
- package/dist/routes/access.js +37 -13
- package/dist/routes/access.js.map +1 -1
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/agents.js +48 -16
- package/dist/routes/agents.js.map +1 -1
- package/dist/routes/approvals.d.ts.map +1 -1
- package/dist/routes/approvals.js +28 -10
- package/dist/routes/approvals.js.map +1 -1
- package/dist/routes/costs.d.ts.map +1 -1
- package/dist/routes/costs.js +6 -2
- package/dist/routes/costs.js.map +1 -1
- package/dist/services/heartbeat.d.ts.map +1 -1
- package/dist/services/heartbeat.js +105 -5
- package/dist/services/heartbeat.js.map +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/node/package.json +2 -2
- package/package.json +20 -20
- package/ui-dist/assets/{Agents.production-CSsrqqG3.js → Agents.production-C9UfcX_l.js} +2 -2
- package/ui-dist/assets/{CompanyActivity.production-C3D5uiX9.js → CompanyActivity.production-BrGxzr9C.js} +1 -1
- package/ui-dist/assets/{CompanyExport-CrTwKkGN.js → CompanyExport-D-L3aIBA.js} +1 -1
- package/ui-dist/assets/{CompanySkills.production-22PSRfdH.js → CompanySkills.production-i-yIgrn5.js} +1 -1
- package/ui-dist/assets/{Costs.production-hPGllSho.js → Costs.production-Bds9QYE3.js} +1 -1
- package/ui-dist/assets/{OrgChart.production-yz5AfR-F.js → OrgChart.production-Cgr0byQj.js} +1 -1
- package/ui-dist/assets/{RoutineDetail.production-BJLGGgbv.js → RoutineDetail.production-BbeeGNoZ.js} +1 -1
- package/ui-dist/assets/{Routines.production-BLDTlRLI.js → Routines.production-Cx0jBxDn.js} +1 -1
- package/ui-dist/assets/{definition-P7Pcik2r.js → definition-C9sWnmbO.js} +1 -1
- package/ui-dist/assets/{index-CsQMjEpO.js → index-CuZyHEwK.js} +4 -4
- package/ui-dist/index.html +1 -1
- package/ui-dist/sw.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AA4EvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAiEhF,OAAO,EACL,wBAAwB,EAWxB,KAAK,sBAAsB,EAE3B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAK5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EACV,cAAc,EAUf,MAAM,kCAAkC,CAAC;AA2P1C,wBAAgB,WAAW,CACzB,EAAE,EAAE,EAAE,EACN,OAAO,GAAE;IACP,cAAc,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,2BAA2B,GAAG,2BAA2B,CAAC,CAAC;IACrG,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,6EAA6E;IAC7E,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;IACtC;;;;;OAKG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACvE;;;;;;;;OAQG;IACH,eAAe,CAAC,EAAE;QAChB,OAAO,EAAE,6BAA6B,CAAC;QACvC,MAAM,EAAE,sBAAsB,CAAC;QAC/B,yEAAyE;QACzE,KAAK,CAAC,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P"}
|
package/dist/routes/agents.js
CHANGED
|
@@ -3602,10 +3602,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
3602
3602
|
? req.body.taskKey.trim()
|
|
3603
3603
|
: null;
|
|
3604
3604
|
const state = await heartbeat.resetRuntimeSession(id, { taskKey });
|
|
3605
|
+
const actor = getActorInfo(req);
|
|
3605
3606
|
await logActivity(db, {
|
|
3606
3607
|
companyId: agent.companyId,
|
|
3607
|
-
actorType:
|
|
3608
|
-
actorId:
|
|
3608
|
+
actorType: actor.actorType,
|
|
3609
|
+
actorId: actor.actorId,
|
|
3610
|
+
agentId: actor.agentId,
|
|
3611
|
+
runId: actor.runId,
|
|
3612
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
3609
3613
|
action: "agent.runtime_session_reset",
|
|
3610
3614
|
entityType: "agent",
|
|
3611
3615
|
entityId: id,
|
|
@@ -4408,10 +4412,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
4408
4412
|
return;
|
|
4409
4413
|
}
|
|
4410
4414
|
await heartbeat.cancelActiveForAgent(id);
|
|
4415
|
+
const actor = getActorInfo(req);
|
|
4411
4416
|
await logActivity(db, {
|
|
4412
4417
|
companyId: agent.companyId,
|
|
4413
|
-
actorType:
|
|
4414
|
-
actorId:
|
|
4418
|
+
actorType: actor.actorType,
|
|
4419
|
+
actorId: actor.actorId,
|
|
4420
|
+
agentId: actor.agentId,
|
|
4421
|
+
runId: actor.runId,
|
|
4422
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
4415
4423
|
action: "agent.paused",
|
|
4416
4424
|
entityType: "agent",
|
|
4417
4425
|
entityId: agent.id,
|
|
@@ -4468,10 +4476,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
4468
4476
|
res.status(404).json({ error: "Agent not found" });
|
|
4469
4477
|
return;
|
|
4470
4478
|
}
|
|
4479
|
+
const actor = getActorInfo(req);
|
|
4471
4480
|
await logActivity(db, {
|
|
4472
4481
|
companyId: agent.companyId,
|
|
4473
|
-
actorType:
|
|
4474
|
-
actorId:
|
|
4482
|
+
actorType: actor.actorType,
|
|
4483
|
+
actorId: actor.actorId,
|
|
4484
|
+
agentId: actor.agentId,
|
|
4485
|
+
runId: actor.runId,
|
|
4486
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
4475
4487
|
action: "agent.error_cleared",
|
|
4476
4488
|
entityType: "agent",
|
|
4477
4489
|
entityId: agent.id,
|
|
@@ -4516,10 +4528,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
4516
4528
|
res.status(404).json({ error: "Agent not found" });
|
|
4517
4529
|
return;
|
|
4518
4530
|
}
|
|
4531
|
+
const actor = getActorInfo(req);
|
|
4519
4532
|
await logActivity(db, {
|
|
4520
4533
|
companyId: agent.companyId,
|
|
4521
|
-
actorType:
|
|
4522
|
-
actorId:
|
|
4534
|
+
actorType: actor.actorType,
|
|
4535
|
+
actorId: actor.actorId,
|
|
4536
|
+
agentId: actor.agentId,
|
|
4537
|
+
runId: actor.runId,
|
|
4538
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
4523
4539
|
action: "agent.approved",
|
|
4524
4540
|
entityType: "agent",
|
|
4525
4541
|
entityId: agent.id,
|
|
@@ -4603,10 +4619,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
4603
4619
|
res.status(404).json({ error: "Agent not found" });
|
|
4604
4620
|
return;
|
|
4605
4621
|
}
|
|
4622
|
+
const actor = getActorInfo(req);
|
|
4606
4623
|
await logActivity(db, {
|
|
4607
4624
|
companyId: agent.companyId,
|
|
4608
|
-
actorType:
|
|
4609
|
-
actorId:
|
|
4625
|
+
actorType: actor.actorType,
|
|
4626
|
+
actorId: actor.actorId,
|
|
4627
|
+
agentId: actor.agentId,
|
|
4628
|
+
runId: actor.runId,
|
|
4629
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
4610
4630
|
action: "agent.deleted",
|
|
4611
4631
|
entityType: "agent",
|
|
4612
4632
|
entityId: agent.id,
|
|
@@ -5639,10 +5659,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
5639
5659
|
},
|
|
5640
5660
|
});
|
|
5641
5661
|
if (run) {
|
|
5662
|
+
const actor = getActorInfo(req);
|
|
5642
5663
|
await logActivity(db, {
|
|
5643
5664
|
companyId: run.companyId,
|
|
5644
|
-
actorType:
|
|
5645
|
-
actorId:
|
|
5665
|
+
actorType: actor.actorType,
|
|
5666
|
+
actorId: actor.actorId,
|
|
5667
|
+
agentId: actor.agentId,
|
|
5668
|
+
runId: actor.runId,
|
|
5669
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
5646
5670
|
action: "heartbeat.cancelled",
|
|
5647
5671
|
entityType: "heartbeat_run",
|
|
5648
5672
|
entityId: run.id,
|
|
@@ -5787,10 +5811,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
5787
5811
|
resolution,
|
|
5788
5812
|
});
|
|
5789
5813
|
}
|
|
5814
|
+
const actor = getActorInfo(req);
|
|
5790
5815
|
await logActivity(db, {
|
|
5791
5816
|
companyId: existing.companyId,
|
|
5792
|
-
actorType:
|
|
5793
|
-
actorId:
|
|
5817
|
+
actorType: actor.actorType,
|
|
5818
|
+
actorId: actor.actorId,
|
|
5819
|
+
agentId: actor.agentId,
|
|
5820
|
+
runId: actor.runId,
|
|
5821
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
5794
5822
|
action: "heartbeat.runtime_request_resolution_queued",
|
|
5795
5823
|
entityType: "heartbeat_run",
|
|
5796
5824
|
entityId: existing.id,
|
|
@@ -5904,10 +5932,14 @@ export function agentRoutes(db, options = {}) {
|
|
|
5904
5932
|
agentId: run.agentId,
|
|
5905
5933
|
projection: projectCodexWorkspaceDiffsFromTrace(entries),
|
|
5906
5934
|
});
|
|
5935
|
+
const actor = getActorInfo(req);
|
|
5907
5936
|
await logActivity(db, {
|
|
5908
5937
|
companyId: run.companyId,
|
|
5909
|
-
actorType:
|
|
5910
|
-
actorId:
|
|
5938
|
+
actorType: actor.actorType,
|
|
5939
|
+
actorId: actor.actorId,
|
|
5940
|
+
agentId: actor.agentId,
|
|
5941
|
+
runId: actor.runId,
|
|
5942
|
+
agentApiKeyId: actor.agentApiKeyId,
|
|
5911
5943
|
action: "provider_trace.workspace_diffs_reprojected",
|
|
5912
5944
|
entityType: "heartbeat_run",
|
|
5913
5945
|
entityId: run.id,
|