opencode-swarm 7.167.2 → 7.168.1
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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-jy9rad28.js → coder-settlement-54a3d97g.js} +12 -12
- package/dist/cli/{config-doctor-p66vnpy3.js → config-doctor-vzp6b3ng.js} +3 -3
- package/dist/cli/{core-tw0wtntz.js → core-yynse50x.js} +2 -2
- package/dist/cli/{curation-policy-ndp27v0c.js → curation-policy-mgwv8h2k.js} +5 -5
- package/dist/cli/{curator-5nzde80g.js → curator-agdhhzqt.js} +38 -38
- package/dist/cli/{curator-drift-gb651hcw.js → curator-drift-k0zrnm09.js} +5 -5
- package/dist/cli/curator-llm-factory-ygxd6hfx.js +71 -0
- package/dist/cli/{evidence-summary-service-bzpfaypy.js → evidence-summary-service-6mmcekr7.js} +17 -17
- package/dist/cli/{gate-evidence-wa8cj8h6.js → gate-evidence-xqvkqhrk.js} +7 -7
- package/dist/cli/guardrail-explain-vjtjhgzs.js +72 -0
- package/dist/cli/{guardrail-log-7dv73e0q.js → guardrail-log-5wa5c77w.js} +8 -8
- package/dist/cli/{guardrail-reset-1kng6y8x.js → guardrail-reset-dh78tbcf.js} +38 -38
- package/dist/cli/{hive-promoter-87kk2pg5.js → hive-promoter-3czsx7c6.js} +38 -38
- package/dist/cli/{index-18rfc7qv.js → index-2xbww1x0.js} +7 -7
- package/dist/cli/{index-3ws11dq0.js → index-3jmb4ppa.js} +2 -2
- package/dist/cli/{index-79234evf.js → index-4kv1ew3q.js} +1 -1
- package/dist/cli/{index-vgpedapd.js → index-4r5pmtvk.js} +2 -2
- package/dist/cli/{index-rrne6g2m.js → index-5g6rhkn7.js} +6 -2
- package/dist/cli/{index-m7cwnt9r.js → index-5zqakgp4.js} +2 -2
- package/dist/cli/{index-m3z83nhs.js → index-6df6wbvj.js} +8 -8
- package/dist/cli/{index-0q839sg6.js → index-8ybjqg51.js} +1 -1
- package/dist/cli/{index-wjet7x0a.js → index-91ww9hyr.js} +1 -1
- package/dist/cli/{index-pdcperq5.js → index-9b2105n0.js} +2 -2
- package/dist/cli/{index-z6we1abx.js → index-a8xbvsse.js} +2 -2
- package/dist/cli/{index-2b1hd1fx.js → index-apy1qfj0.js} +13 -4
- package/dist/cli/{index-gmjg65tm.js → index-bvqqwx84.js} +2 -2
- package/dist/cli/{index-ce8p9t28.js → index-bw9x8d8n.js} +5 -5
- package/dist/cli/{index-dme7wvwg.js → index-chebm5h5.js} +4 -4
- package/dist/cli/{index-mtepgqan.js → index-dfyv3xkd.js} +7 -7
- package/dist/cli/{index-sjkg2hc4.js → index-f1fps3w9.js} +6 -6
- package/dist/cli/index-gh9ybrrs.js +2008 -0
- package/dist/cli/{index-3r6k6qa7.js → index-gmpmgtzn.js} +4 -4
- package/dist/cli/{index-83r0v5tn.js → index-gp9yzr1v.js} +1 -1
- package/dist/cli/{index-962qme08.js → index-h439y187.js} +1 -1
- package/dist/cli/{index-5sjq3shs.js → index-j0bxxz9d.js} +8 -8
- package/dist/cli/{index-8vbahc4c.js → index-kear8gb7.js} +11 -6
- package/dist/cli/{index-y1sj2e1n.js → index-kkmezerc.js} +2094 -1686
- package/dist/cli/{index-syedr4e3.js → index-m35hybf0.js} +1 -1
- package/dist/cli/{index-f8cc92g7.js → index-nwwk3dej.js} +1 -1
- package/dist/cli/{index-g409c7ke.js → index-pyf517sz.js} +2 -2
- package/dist/cli/{index-ehq2vtkq.js → index-q8091q8b.js} +4 -4
- package/dist/cli/{index-k73ehxa1.js → index-qhey6vc3.js} +1 -1
- package/dist/cli/{index-09gv90d7.js → index-qkwtth00.js} +2 -2
- package/dist/cli/{index-shrf0wt3.js → index-qthc56c4.js} +4 -4
- package/dist/cli/{index-gs12223x.js → index-qwsh0h2g.js} +2 -2
- package/dist/cli/{index-n4fzmqz8.js → index-rdm3px0g.js} +4 -2
- package/dist/cli/{index-g5m43paw.js → index-sxt7fgcw.js} +1 -0
- package/dist/cli/{index-x7pm61wk.js → index-v3xc4sde.js} +9 -8
- package/dist/cli/{index-arqv4psy.js → index-w1dfkp1q.js} +57 -101
- package/dist/cli/{index-25xeyjfx.js → index-w3x1dmrf.js} +38 -38
- package/dist/cli/{index-hhkm64wh.js → index-wst6n478.js} +103 -3
- package/dist/cli/{index-f91fhch0.js → index-xhb4gryr.js} +4 -4
- package/dist/cli/{index-s7a9dqtb.js → index-xkf3672y.js} +4 -3
- package/dist/cli/{index-jhd3pmd1.js → index-y85aptep.js} +7 -7
- package/dist/cli/{index-65s0vgb1.js → index-yt9n9zt3.js} +40 -40
- package/dist/cli/{index-tcj8v6my.js → index-z6qreakh.js} +6 -6
- package/dist/cli/index.js +38 -38
- package/dist/cli/{knowledge-escalator-5e4zxan5.js → knowledge-escalator-135dz4eh.js} +13 -13
- package/dist/cli/{knowledge-events-abzm5vfh.js → knowledge-events-27gwv47q.js} +11 -11
- package/dist/cli/{knowledge-link-9ga6hyd5.js → knowledge-link-dr3xnwyd.js} +4 -4
- package/dist/cli/{knowledge-store-q4a92eq7.js → knowledge-store-80m44bfw.js} +5 -5
- package/dist/cli/{knowledge-validator-pn3m5r41.js → knowledge-validator-crsfb2cc.js} +7 -7
- package/dist/cli/{model-preflight-mw895vgt.js → model-preflight-1ycat9jz.js} +1 -1
- package/dist/cli/{pending-delegations-3z0xjppd.js → pending-delegations-gwgjzzkz.js} +12 -12
- package/dist/cli/{pr-subscriptions-h7mwnp62.js → pr-subscriptions-g633nhz4.js} +12 -12
- package/dist/cli/{pr-workflow-gate-fec04fa0.js → pr-workflow-gate-4dc5nt2e.js} +38 -38
- package/dist/cli/{runner-d9833azt.js → runner-k0ycgv8x.js} +5 -5
- package/dist/cli/{scan-cursor-ymfvzdkz.js → scan-cursor-avxjsm4w.js} +6 -6
- package/dist/cli/{schema-chc4aez6.js → schema-3ja77k4y.js} +4 -2
- package/dist/cli/{scope-persistence-3xnr59y8.js → scope-persistence-f540tc50.js} +16 -16
- package/dist/cli/{skill-generator-3mvaghxk.js → skill-generator-kcqqpg1g.js} +15 -15
- package/dist/cli/{snapshot-coordination-init-arnc77r9.js → snapshot-coordination-init-e4s8bn4p.js} +38 -38
- package/dist/cli/{sqlite-loader-xrnf6bq8.js → sqlite-loader-amp9z7ty.js} +1 -1
- package/dist/cli/{telemetry-g9pppt9e.js → telemetry-2wzapf11.js} +1 -1
- package/dist/cli/{workspace-snapshot-hvsjtepd.js → workspace-snapshot-rkgxhj9b.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-vj8anvb7.js → worktree-collision-ownership-rk9gz638.js} +13 -13
- package/dist/cli/{worktree-isolation-mt7z75hz.js → worktree-isolation-1bdzfgky.js} +38 -38
- package/dist/commands/reset.d.ts +10 -0
- package/dist/commands/rollback.d.ts +9 -0
- package/dist/config/schema.d.ts +29 -0
- package/dist/db/project-db.d.ts +8 -0
- package/dist/db/sqlite-loader.d.ts +2 -1
- package/dist/dispatch/spawn-circuit.d.ts +121 -0
- package/dist/dispatch/token-bucket.d.ts +46 -0
- package/dist/hooks/delegation-gate/dead-lane-reclaim.d.ts +61 -0
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +22 -0
- package/dist/hooks/issue-trace.d.ts +3 -0
- package/dist/hooks/utils.d.ts +1 -1
- package/dist/index.js +657 -572
- package/dist/plan/ledger-sqlite.d.ts +226 -0
- package/dist/plan/ledger.d.ts +24 -0
- package/dist/plan/manager.d.ts +19 -0
- package/dist/retention/sweep.d.ts +2 -0
- package/dist/services/spec-drift-recovery.d.ts +2 -1
- package/dist/utils/ephemeral-session-teardown.d.ts +55 -2
- package/opencode-swarm.schema.json +41 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-xy96x5x8.js +0 -71
- package/dist/cli/guardrail-explain-1ef5he6j.js +0 -72
- package/dist/cli/index-z7z3g5wt.js +0 -1017
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadDatabaseCtor
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-rdm3px0g.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalExistingFilesystemPath
|
|
7
7
|
} from "./index-ry16d01s.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWriteSwarmFileSync
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-v3xc4sde.js";
|
|
11
11
|
import {
|
|
12
12
|
canonicalRootKeyFresh,
|
|
13
13
|
lexicalRootAliasKey
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
// src/db/project-db.ts
|
|
17
17
|
import { existsSync, mkdirSync, unlinkSync } from "fs";
|
|
18
18
|
import { join, resolve } from "path";
|
|
19
|
+
import { pathToFileURL } from "url";
|
|
19
20
|
|
|
20
21
|
// src/db/db-errors.ts
|
|
21
22
|
class ProjectDbError extends Error {
|
|
@@ -405,6 +406,82 @@ var MIGRATIONS = [
|
|
|
405
406
|
lines_seen INTEGER NOT NULL CHECK(lines_seen >= 0),
|
|
406
407
|
imported_at TEXT NOT NULL
|
|
407
408
|
)`
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
version: 33,
|
|
412
|
+
name: "create_plan_ledger_event",
|
|
413
|
+
sql: `CREATE TABLE IF NOT EXISTS plan_ledger_event (
|
|
414
|
+
seq INTEGER PRIMARY KEY CHECK(seq >= 1),
|
|
415
|
+
canonical_event BLOB NOT NULL CHECK(length(canonical_event) > 0),
|
|
416
|
+
event_hash TEXT NOT NULL UNIQUE,
|
|
417
|
+
root_event_hash TEXT,
|
|
418
|
+
plan_epoch TEXT,
|
|
419
|
+
timestamp TEXT NOT NULL,
|
|
420
|
+
plan_id TEXT NOT NULL,
|
|
421
|
+
event_type TEXT NOT NULL,
|
|
422
|
+
task_id TEXT,
|
|
423
|
+
phase_id INTEGER,
|
|
424
|
+
from_status TEXT,
|
|
425
|
+
to_status TEXT,
|
|
426
|
+
source TEXT NOT NULL,
|
|
427
|
+
plan_hash_before TEXT NOT NULL,
|
|
428
|
+
plan_hash_after TEXT NOT NULL,
|
|
429
|
+
schema_version TEXT NOT NULL,
|
|
430
|
+
payload_hash TEXT,
|
|
431
|
+
payload_json TEXT,
|
|
432
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
433
|
+
)`
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
version: 34,
|
|
437
|
+
name: "create_plan_ledger_state",
|
|
438
|
+
sql: `CREATE TABLE IF NOT EXISTS plan_ledger_state (
|
|
439
|
+
id INTEGER PRIMARY KEY CHECK(id = 1),
|
|
440
|
+
authority_mode TEXT NOT NULL CHECK(authority_mode IN ('file_shadow', 'sqlite')),
|
|
441
|
+
shadow_started_version TEXT,
|
|
442
|
+
parity_status TEXT NOT NULL CHECK(parity_status IN ('pending', 'clean', 'diverged', 'failed')),
|
|
443
|
+
file_replay_hash TEXT,
|
|
444
|
+
sqlite_replay_hash TEXT,
|
|
445
|
+
terminal_projection_hash TEXT NOT NULL DEFAULT '',
|
|
446
|
+
last_seq INTEGER NOT NULL DEFAULT 0 CHECK(last_seq >= 0),
|
|
447
|
+
last_event_hash TEXT,
|
|
448
|
+
root_event_hash TEXT,
|
|
449
|
+
plan_id TEXT,
|
|
450
|
+
plan_epoch TEXT,
|
|
451
|
+
terminal_plan_hash TEXT,
|
|
452
|
+
terminal_projection BLOB,
|
|
453
|
+
terminal_projection_json TEXT,
|
|
454
|
+
terminal_metadata TEXT,
|
|
455
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
456
|
+
)`
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
version: 35,
|
|
460
|
+
name: "create_plan_ledger_import",
|
|
461
|
+
sql: `CREATE TABLE IF NOT EXISTS plan_ledger_import (
|
|
462
|
+
source TEXT PRIMARY KEY,
|
|
463
|
+
source_hash TEXT NOT NULL,
|
|
464
|
+
archive_path TEXT,
|
|
465
|
+
archive_hash TEXT,
|
|
466
|
+
archive_size INTEGER,
|
|
467
|
+
archive_created_at TEXT,
|
|
468
|
+
mode TEXT NOT NULL,
|
|
469
|
+
version TEXT,
|
|
470
|
+
row_count INTEGER NOT NULL DEFAULT 0 CHECK(row_count >= 0),
|
|
471
|
+
imported_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
472
|
+
)`
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
version: 36,
|
|
476
|
+
name: "create_plan_ledger_event_indexes",
|
|
477
|
+
sql: `CREATE INDEX IF NOT EXISTS idx_plan_ledger_event_plan
|
|
478
|
+
ON plan_ledger_event(plan_id, seq)`
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
version: 37,
|
|
482
|
+
name: "create_plan_ledger_import_hash_index",
|
|
483
|
+
sql: `CREATE INDEX IF NOT EXISTS idx_plan_ledger_import_hash
|
|
484
|
+
ON plan_ledger_import(source_hash)`
|
|
408
485
|
}
|
|
409
486
|
];
|
|
410
487
|
var _projectDbs = new Map;
|
|
@@ -555,6 +632,26 @@ function projectDbPath(directory) {
|
|
|
555
632
|
function projectDbExists(directory) {
|
|
556
633
|
return existsSync(projectDbPath(directory));
|
|
557
634
|
}
|
|
635
|
+
function withProjectDbReadOnly(directory, read) {
|
|
636
|
+
const cached = _projectDbs.get(canonicalRootKeyFresh(directory));
|
|
637
|
+
if (cached)
|
|
638
|
+
return read(cached.db);
|
|
639
|
+
const dbFile = projectDbPath(directory);
|
|
640
|
+
if (!existsSync(dbFile))
|
|
641
|
+
return null;
|
|
642
|
+
const Db = loadDatabaseCtor();
|
|
643
|
+
const walPresent = existsSync(`${dbFile}-wal`);
|
|
644
|
+
const db = walPresent ? new Db(dbFile, { readonly: true }) : (() => {
|
|
645
|
+
const immutableUrl = pathToFileURL(dbFile);
|
|
646
|
+
immutableUrl.searchParams.set("immutable", "1");
|
|
647
|
+
return new Db(immutableUrl.href, 1 | 64);
|
|
648
|
+
})();
|
|
649
|
+
try {
|
|
650
|
+
return read(db);
|
|
651
|
+
} finally {
|
|
652
|
+
db.close();
|
|
653
|
+
}
|
|
654
|
+
}
|
|
558
655
|
function checkpointWalBestEffort(db) {
|
|
559
656
|
try {
|
|
560
657
|
const row = db.query("PRAGMA wal_checkpoint(TRUNCATE)").get();
|
|
@@ -677,6 +774,9 @@ var DURABILITY_CLASSES = {
|
|
|
677
774
|
coordination_state: "full",
|
|
678
775
|
coordination_lease: "full",
|
|
679
776
|
coordination_import: "full",
|
|
777
|
+
plan_ledger_event: "full",
|
|
778
|
+
plan_ledger_state: "full",
|
|
779
|
+
plan_ledger_import: "full",
|
|
680
780
|
insight_candidate: "normal",
|
|
681
781
|
phase_report: "normal",
|
|
682
782
|
project_constraints: "normal",
|
|
@@ -746,4 +846,4 @@ function withImmediateTransaction(db, cls, fn, hooks = {}) {
|
|
|
746
846
|
}
|
|
747
847
|
}
|
|
748
848
|
|
|
749
|
-
export { DURABILITY_CLASSES, batchDurabilityClass, applySynchronousForClass, withDurabilityClass, withImmediateTransaction, DbWriteError, classifyDbWriteError, projectDbPath, projectDbExists, getProjectDb, closeProjectDb, closeAllProjectDbs };
|
|
849
|
+
export { DURABILITY_CLASSES, batchDurabilityClass, applySynchronousForClass, withDurabilityClass, withImmediateTransaction, DbWriteError, classifyDbWriteError, projectDbPath, projectDbExists, withProjectDbReadOnly, getProjectDb, closeProjectDb, closeAllProjectDbs };
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-6df6wbvj.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-qthc56c4.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-2xbww1x0.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
atomicWriteFileAnyRoot,
|
|
26
26
|
atomicWriteSwarmFile
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-v3xc4sde.js";
|
|
28
28
|
import {
|
|
29
29
|
canonicalRootKeyFresh
|
|
30
30
|
} from "./index-1xnse449.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-91ww9hyr.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-apy1qfj0.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-sxt7fgcw.js";
|
|
13
13
|
|
|
14
14
|
// src/config/index.ts
|
|
15
15
|
init_constants();
|
|
@@ -31,6 +31,7 @@ function resolveWorktreeIsolationConfig(config) {
|
|
|
31
31
|
merge_strategy: lean.merge_strategy ?? "merge",
|
|
32
32
|
worktree_dir: lean.worktree_dir,
|
|
33
33
|
deps_strategy: lean.deps_strategy ?? "skip",
|
|
34
|
+
session_create_timeout_ms: DEFAULT_WORKTREE_ISOLATION_CONFIG.session_create_timeout_ms,
|
|
34
35
|
runtime_isolation: lean.runtime_isolation ?? DEFAULT_WORKTREE_ISOLATION_CONFIG.runtime_isolation
|
|
35
36
|
};
|
|
36
37
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-gh9ybrrs.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-a8xbvsse.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteCoordinationState,
|
|
10
10
|
derivePlanId,
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
transitionCoordinationState,
|
|
14
14
|
transitionCoordinationStateWithinTransaction,
|
|
15
15
|
withCoordinationTransaction
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-h439y187.js";
|
|
17
17
|
import {
|
|
18
18
|
getProjectDb
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-wst6n478.js";
|
|
20
20
|
import {
|
|
21
21
|
canonicalExistingFilesystemPath,
|
|
22
22
|
legacyCanonicalExistingFilesystemPath
|
|
23
23
|
} from "./index-ry16d01s.js";
|
|
24
24
|
import {
|
|
25
25
|
assertProjectRoot
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-4r5pmtvk.js";
|
|
27
27
|
import {
|
|
28
28
|
require_proper_lockfile
|
|
29
29
|
} from "./index-7g4c7s5r.js";
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteSwarmFile,
|
|
32
32
|
atomicWriteSwarmFileSync
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-v3xc4sde.js";
|
|
34
34
|
import {
|
|
35
35
|
PlanSchema
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-91ww9hyr.js";
|
|
37
37
|
import {
|
|
38
38
|
init_path_identity,
|
|
39
39
|
unsafePathTextReason
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-3jmb4ppa.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-4kv1ew3q.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,71 +94,71 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
97
|
+
} from "./index-kkmezerc.js";
|
|
98
98
|
import"./index-d5qf7hvh.js";
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
99
|
+
import"./index-qhey6vc3.js";
|
|
100
|
+
import"./index-chebm5h5.js";
|
|
101
|
+
import"./index-nwwk3dej.js";
|
|
102
|
+
import"./index-5g6rhkn7.js";
|
|
103
|
+
import"./index-w1dfkp1q.js";
|
|
104
|
+
import"./index-gp9yzr1v.js";
|
|
105
105
|
import"./index-txdagbh7.js";
|
|
106
106
|
import"./index-9br68j86.js";
|
|
107
107
|
import"./index-cw912re7.js";
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
110
|
-
import"./index-
|
|
108
|
+
import"./index-xhb4gryr.js";
|
|
109
|
+
import"./index-bw9x8d8n.js";
|
|
110
|
+
import"./index-9b2105n0.js";
|
|
111
111
|
import"./index-fyfbpz4f.js";
|
|
112
|
-
import"./index-
|
|
112
|
+
import"./index-dfyv3xkd.js";
|
|
113
113
|
import"./index-zsrtt42s.js";
|
|
114
|
-
import"./index-
|
|
115
|
-
import"./index-
|
|
116
|
-
import"./index-
|
|
114
|
+
import"./index-j0bxxz9d.js";
|
|
115
|
+
import"./index-5zqakgp4.js";
|
|
116
|
+
import"./index-bvqqwx84.js";
|
|
117
117
|
import"./index-b43rt5ph.js";
|
|
118
118
|
import"./index-q7sjgr1y.js";
|
|
119
|
-
import"./index-
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
123
|
-
import"./index-
|
|
119
|
+
import"./index-gmpmgtzn.js";
|
|
120
|
+
import"./index-qkwtth00.js";
|
|
121
|
+
import"./index-f1fps3w9.js";
|
|
122
|
+
import"./index-6df6wbvj.js";
|
|
123
|
+
import"./index-kear8gb7.js";
|
|
124
124
|
import"./index-p612v1mv.js";
|
|
125
|
-
import"./index-
|
|
126
|
-
import"./index-
|
|
125
|
+
import"./index-qthc56c4.js";
|
|
126
|
+
import"./index-m35hybf0.js";
|
|
127
127
|
import"./index-rtry5xyf.js";
|
|
128
|
-
import"./index-
|
|
128
|
+
import"./index-xkf3672y.js";
|
|
129
129
|
import"./index-3qf1vxtb.js";
|
|
130
130
|
import"./index-n832052r.js";
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
134
|
-
import"./index-
|
|
135
|
-
import"./index-
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-
|
|
131
|
+
import"./index-y85aptep.js";
|
|
132
|
+
import"./index-gh9ybrrs.js";
|
|
133
|
+
import"./index-a8xbvsse.js";
|
|
134
|
+
import"./index-pyf517sz.js";
|
|
135
|
+
import"./index-h439y187.js";
|
|
136
|
+
import"./index-wst6n478.js";
|
|
137
|
+
import"./index-rdm3px0g.js";
|
|
138
138
|
import"./index-ry16d01s.js";
|
|
139
|
-
import"./index-
|
|
140
|
-
import"./index-
|
|
139
|
+
import"./index-qwsh0h2g.js";
|
|
140
|
+
import"./index-2xbww1x0.js";
|
|
141
141
|
import"./index-vzm6zre7.js";
|
|
142
142
|
import"./index-ae75rja9.js";
|
|
143
|
-
import"./index-
|
|
144
|
-
import"./index-
|
|
143
|
+
import"./index-8ybjqg51.js";
|
|
144
|
+
import"./index-4r5pmtvk.js";
|
|
145
145
|
import"./index-7g4c7s5r.js";
|
|
146
|
-
import"./index-
|
|
147
|
-
import"./index-
|
|
146
|
+
import"./index-v3xc4sde.js";
|
|
147
|
+
import"./index-z6qreakh.js";
|
|
148
148
|
import"./index-1xnse449.js";
|
|
149
149
|
import"./index-ee6ydtfe.js";
|
|
150
|
-
import"./index-
|
|
150
|
+
import"./index-91ww9hyr.js";
|
|
151
151
|
import"./index-0mhftbpp.js";
|
|
152
152
|
import"./index-a1w58b47.js";
|
|
153
153
|
import {
|
|
154
154
|
init_schema,
|
|
155
155
|
stripKnownSwarmPrefix
|
|
156
|
-
} from "./index-
|
|
156
|
+
} from "./index-apy1qfj0.js";
|
|
157
157
|
import {
|
|
158
158
|
AGENT_TOOL_MAP,
|
|
159
159
|
ORCHESTRATOR_NAME,
|
|
160
160
|
init_constants
|
|
161
|
-
} from "./index-
|
|
161
|
+
} from "./index-sxt7fgcw.js";
|
|
162
162
|
import"./index-bk5tah7q.js";
|
|
163
163
|
import"./index-bpmtbmy9.js";
|
|
164
164
|
import"./index-zpsr8rpc.js";
|
|
@@ -223,7 +223,7 @@ var CATALOG_SOURCE = [
|
|
|
223
223
|
category: "delegation",
|
|
224
224
|
severity: "info",
|
|
225
225
|
privacyClass: "pseudonymous",
|
|
226
|
-
producer: "src/index.ts:
|
|
226
|
+
producer: "src/index.ts:780",
|
|
227
227
|
consumers: CONSUMER_COST_CORRECTION,
|
|
228
228
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
229
229
|
requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
|
|
@@ -236,7 +236,7 @@ var CATALOG_SOURCE = [
|
|
|
236
236
|
category: "delegation",
|
|
237
237
|
severity: "info",
|
|
238
238
|
privacyClass: "pseudonymous",
|
|
239
|
-
producer: "src/index.ts:
|
|
239
|
+
producer: "src/index.ts:1767",
|
|
240
240
|
consumers: NO_CONSUMERS,
|
|
241
241
|
futureOwnerIssue: ISSUE_SINK,
|
|
242
242
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
@@ -250,7 +250,7 @@ var CATALOG_SOURCE = [
|
|
|
250
250
|
category: "delegation",
|
|
251
251
|
severity: "notice",
|
|
252
252
|
privacyClass: "pseudonymous",
|
|
253
|
-
producer: "src/index.ts:
|
|
253
|
+
producer: "src/index.ts:1787",
|
|
254
254
|
consumers: CONSUMER_COST_JOIN,
|
|
255
255
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
256
256
|
requiredWorkflowIds: REQUIRE_SESSION,
|
|
@@ -696,7 +696,7 @@ var CATALOG_SOURCE = [
|
|
|
696
696
|
category: "plan",
|
|
697
697
|
severity: "notice",
|
|
698
698
|
privacyClass: "operational",
|
|
699
|
-
producer: "src/plan/manager.ts:
|
|
699
|
+
producer: "src/plan/manager.ts:348",
|
|
700
700
|
consumers: NO_CONSUMERS,
|
|
701
701
|
futureOwnerIssue: ISSUE_SINK,
|
|
702
702
|
retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
|
|
@@ -709,7 +709,7 @@ var CATALOG_SOURCE = [
|
|
|
709
709
|
category: "plan",
|
|
710
710
|
severity: "warning",
|
|
711
711
|
privacyClass: "sensitive",
|
|
712
|
-
producer: "src/plan/manager.ts:
|
|
712
|
+
producer: "src/plan/manager.ts:1783",
|
|
713
713
|
consumers: NO_CONSUMERS,
|
|
714
714
|
futureOwnerIssue: ISSUE_SINK,
|
|
715
715
|
retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
|
|
@@ -722,7 +722,7 @@ var CATALOG_SOURCE = [
|
|
|
722
722
|
category: "plan",
|
|
723
723
|
severity: "error",
|
|
724
724
|
privacyClass: "sensitive",
|
|
725
|
-
producer: "src/plan/ledger.ts:
|
|
725
|
+
producer: "src/plan/ledger.ts:1587",
|
|
726
726
|
consumers: NO_CONSUMERS,
|
|
727
727
|
futureOwnerIssue: ISSUE_SINK,
|
|
728
728
|
retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
|
package/dist/cli/index.js
CHANGED
|
@@ -13,70 +13,70 @@ import {
|
|
|
13
13
|
readCachePackageVersion,
|
|
14
14
|
resolveCommand,
|
|
15
15
|
safeRealpathSync
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-kkmezerc.js";
|
|
17
17
|
import"./index-d5qf7hvh.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
18
|
+
import"./index-qhey6vc3.js";
|
|
19
|
+
import"./index-chebm5h5.js";
|
|
20
|
+
import"./index-nwwk3dej.js";
|
|
21
|
+
import"./index-5g6rhkn7.js";
|
|
22
|
+
import"./index-w1dfkp1q.js";
|
|
23
|
+
import"./index-gp9yzr1v.js";
|
|
24
24
|
import"./index-txdagbh7.js";
|
|
25
25
|
import"./index-9br68j86.js";
|
|
26
26
|
import"./index-cw912re7.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
27
|
+
import"./index-xhb4gryr.js";
|
|
28
|
+
import"./index-bw9x8d8n.js";
|
|
29
|
+
import"./index-9b2105n0.js";
|
|
30
30
|
import"./index-fyfbpz4f.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-dfyv3xkd.js";
|
|
32
32
|
import"./index-zsrtt42s.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-j0bxxz9d.js";
|
|
34
|
+
import"./index-5zqakgp4.js";
|
|
35
|
+
import"./index-bvqqwx84.js";
|
|
36
36
|
import"./index-b43rt5ph.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
38
|
+
import"./index-gmpmgtzn.js";
|
|
39
|
+
import"./index-qkwtth00.js";
|
|
40
|
+
import"./index-f1fps3w9.js";
|
|
41
|
+
import"./index-6df6wbvj.js";
|
|
42
|
+
import"./index-kear8gb7.js";
|
|
43
43
|
import"./index-p612v1mv.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
import"./index-qthc56c4.js";
|
|
45
|
+
import"./index-m35hybf0.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-xkf3672y.js";
|
|
48
48
|
import"./index-3qf1vxtb.js";
|
|
49
49
|
import"./index-n832052r.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
50
|
+
import"./index-y85aptep.js";
|
|
51
|
+
import"./index-gh9ybrrs.js";
|
|
52
|
+
import"./index-a8xbvsse.js";
|
|
53
|
+
import"./index-pyf517sz.js";
|
|
54
|
+
import"./index-h439y187.js";
|
|
55
|
+
import"./index-wst6n478.js";
|
|
56
|
+
import"./index-rdm3px0g.js";
|
|
57
57
|
import"./index-ry16d01s.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-qwsh0h2g.js";
|
|
59
|
+
import"./index-2xbww1x0.js";
|
|
60
60
|
import"./index-vzm6zre7.js";
|
|
61
61
|
import"./index-ae75rja9.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
62
|
+
import"./index-8ybjqg51.js";
|
|
63
|
+
import"./index-4r5pmtvk.js";
|
|
64
64
|
import"./index-7g4c7s5r.js";
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
65
|
+
import"./index-v3xc4sde.js";
|
|
66
|
+
import"./index-z6qreakh.js";
|
|
67
67
|
import"./index-1xnse449.js";
|
|
68
68
|
import"./index-ee6ydtfe.js";
|
|
69
|
-
import"./index-
|
|
69
|
+
import"./index-91ww9hyr.js";
|
|
70
70
|
import"./index-0mhftbpp.js";
|
|
71
71
|
import"./index-a1w58b47.js";
|
|
72
72
|
import {
|
|
73
73
|
init_package,
|
|
74
74
|
package_default
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-apy1qfj0.js";
|
|
76
76
|
import {
|
|
77
77
|
DEFAULT_AGENT_CONFIGS,
|
|
78
78
|
init_constants
|
|
79
|
-
} from "./index-
|
|
79
|
+
} from "./index-sxt7fgcw.js";
|
|
80
80
|
import"./index-bk5tah7q.js";
|
|
81
81
|
import"./index-bpmtbmy9.js";
|
|
82
82
|
import"./index-zpsr8rpc.js";
|
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-bw9x8d8n.js";
|
|
13
|
+
import"./index-6df6wbvj.js";
|
|
14
|
+
import"./index-kear8gb7.js";
|
|
15
15
|
import"./index-p612v1mv.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-xkf3672y.js";
|
|
17
17
|
import"./index-3qf1vxtb.js";
|
|
18
18
|
import"./index-n832052r.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-qwsh0h2g.js";
|
|
20
|
+
import"./index-2xbww1x0.js";
|
|
21
21
|
import"./index-vzm6zre7.js";
|
|
22
22
|
import"./index-ae75rja9.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-8ybjqg51.js";
|
|
24
|
+
import"./index-4r5pmtvk.js";
|
|
25
25
|
import"./index-7g4c7s5r.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-v3xc4sde.js";
|
|
27
|
+
import"./index-z6qreakh.js";
|
|
28
28
|
import"./index-1xnse449.js";
|
|
29
29
|
import"./index-ee6ydtfe.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-91ww9hyr.js";
|
|
31
31
|
import"./index-0mhftbpp.js";
|
|
32
32
|
import"./index-a1w58b47.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-apy1qfj0.js";
|
|
34
|
+
import"./index-sxt7fgcw.js";
|
|
35
35
|
import"./index-bk5tah7q.js";
|
|
36
36
|
import"./index-bpmtbmy9.js";
|
|
37
37
|
import"./index-zpsr8rpc.js";
|
|
@@ -29,26 +29,26 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-6df6wbvj.js";
|
|
33
|
+
import"./index-kear8gb7.js";
|
|
34
34
|
import"./index-p612v1mv.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-xkf3672y.js";
|
|
36
36
|
import"./index-3qf1vxtb.js";
|
|
37
37
|
import"./index-n832052r.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-qwsh0h2g.js";
|
|
39
39
|
import"./index-ae75rja9.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-8ybjqg51.js";
|
|
41
|
+
import"./index-4r5pmtvk.js";
|
|
42
42
|
import"./index-7g4c7s5r.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-v3xc4sde.js";
|
|
44
|
+
import"./index-z6qreakh.js";
|
|
45
45
|
import"./index-1xnse449.js";
|
|
46
46
|
import"./index-ee6ydtfe.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-91ww9hyr.js";
|
|
48
48
|
import"./index-0mhftbpp.js";
|
|
49
49
|
import"./index-a1w58b47.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
50
|
+
import"./index-apy1qfj0.js";
|
|
51
|
+
import"./index-sxt7fgcw.js";
|
|
52
52
|
import"./index-bk5tah7q.js";
|
|
53
53
|
import"./index-bpmtbmy9.js";
|
|
54
54
|
import"./index-zpsr8rpc.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-8ybjqg51.js";
|
|
16
|
+
import"./index-4r5pmtvk.js";
|
|
17
17
|
import"./index-7g4c7s5r.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-v3xc4sde.js";
|
|
19
|
+
import"./index-z6qreakh.js";
|
|
20
20
|
import"./index-1xnse449.js";
|
|
21
21
|
import"./index-ee6ydtfe.js";
|
|
22
22
|
import"./index-bpmtbmy9.js";
|
|
@@ -43,16 +43,16 @@ import {
|
|
|
43
43
|
transactKnowledge,
|
|
44
44
|
transactKnowledgeWithCas,
|
|
45
45
|
wordBigrams
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-2xbww1x0.js";
|
|
47
47
|
import"./index-vzm6zre7.js";
|
|
48
48
|
import {
|
|
49
49
|
resolveHiveDataDir
|
|
50
50
|
} from "./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-8ybjqg51.js";
|
|
52
|
+
import"./index-4r5pmtvk.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-v3xc4sde.js";
|
|
55
|
+
import"./index-z6qreakh.js";
|
|
56
56
|
import"./index-1xnse449.js";
|
|
57
57
|
import"./index-ee6ydtfe.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|