@darkhunt-security/endpoint-codex 0.9.4 → 0.9.5
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/bin/backfill.mjs
CHANGED
|
@@ -18371,7 +18371,7 @@ var SessionEmitter = class {
|
|
|
18371
18371
|
const root = this.ensureTrace(record.ts);
|
|
18372
18372
|
const parentTrace = record.parentUuid ? this.owners.get(record.parentUuid) : void 0;
|
|
18373
18373
|
let owner = parentTrace ?? root;
|
|
18374
|
-
if (record.isSidechain && owner === root) {
|
|
18374
|
+
if (record.isSidechain && owner === root && this.options.agentId === void 0) {
|
|
18375
18375
|
owner = this.seeded(["subagent", record.uuid], () => this.client.trace({
|
|
18376
18376
|
name: "subagent",
|
|
18377
18377
|
sessionId: this.options.sessionId,
|
package/dist/bin/forwarder.mjs
CHANGED
|
@@ -18371,7 +18371,7 @@ var SessionEmitter = class {
|
|
|
18371
18371
|
const root = this.ensureTrace(record.ts);
|
|
18372
18372
|
const parentTrace = record.parentUuid ? this.owners.get(record.parentUuid) : void 0;
|
|
18373
18373
|
let owner = parentTrace ?? root;
|
|
18374
|
-
if (record.isSidechain && owner === root) {
|
|
18374
|
+
if (record.isSidechain && owner === root && this.options.agentId === void 0) {
|
|
18375
18375
|
owner = this.seeded(["subagent", record.uuid], () => this.client.trace({
|
|
18376
18376
|
name: "subagent",
|
|
18377
18377
|
sessionId: this.options.sessionId,
|
package/package.json
CHANGED