opencode-swarm 7.153.0 → 7.153.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/dist/background/pending-delegations.d.ts +7 -0
- package/dist/cli/{config-doctor-7s7xga6f.js → config-doctor-ze21qs6b.js} +2 -2
- package/dist/cli/{core-vkpy14vv.js → core-qdmhh1kx.js} +1 -1
- package/dist/cli/{curation-policy-xy7tm4ad.js → curation-policy-twa6agf8.js} +7 -7
- package/dist/cli/{curator-6freqnhf.js → curator-hxb3wsxr.js} +30 -30
- package/dist/cli/{curator-llm-factory-q5cjk7mt.js → curator-llm-factory-s8atmc2n.js} +30 -30
- package/dist/cli/{evidence-summary-service-engtgjww.js → evidence-summary-service-wzzym9r7.js} +13 -13
- package/dist/cli/{gate-evidence-6bzzz8kq.js → gate-evidence-f71dn9vv.js} +7 -7
- package/dist/cli/{guardrail-explain-vsck39dh.js → guardrail-explain-5kzeem4m.js} +31 -31
- package/dist/cli/{guardrail-log-0dn8m3k6.js → guardrail-log-38jnajpa.js} +5 -5
- package/dist/cli/{guardrail-reset-6e2vyfn9.js → guardrail-reset-wzvtmpn2.js} +30 -30
- package/dist/cli/{hive-promoter-021abs6z.js → hive-promoter-55qcqgfx.js} +30 -30
- package/dist/cli/{index-hw49515c.js → index-0tyc8kdg.js} +1 -1
- package/dist/cli/{index-9vdh4kdx.js → index-0tzv5zg2.js} +2 -2
- package/dist/cli/{index-e2hs0bh7.js → index-1akn19mp.js} +1 -1
- package/dist/cli/{index-5x67858f.js → index-1dtshrzg.js} +5 -5
- package/dist/cli/{index-9gjbe4e4.js → index-1gzdnjg9.js} +2 -2
- package/dist/cli/{index-dh1gk5c5.js → index-23rneydq.js} +32 -32
- package/dist/cli/{index-z4bg1hv8.js → index-2mqmvxac.js} +9 -2
- package/dist/cli/index-3cegckkq.js +239 -0
- package/dist/cli/{index-1yfpw7w0.js → index-3ttktt56.js} +1 -1
- package/dist/cli/{index-eajfs7v4.js → index-4g0g3dqz.js} +1 -1
- package/dist/cli/{index-x6zy6veh.js → index-4pjkdcgc.js} +1 -1
- package/dist/cli/{index-g0m6kypc.js → index-6vgb5fyb.js} +1 -1
- package/dist/cli/{index-95qra69h.js → index-6ybjrqf7.js} +4397 -2470
- package/dist/cli/{index-txbd25bc.js → index-891g7hbf.js} +1 -1
- package/dist/cli/{index-7q56f3se.js → index-8v9sj4aq.js} +2 -2
- package/dist/cli/{index-babtfqa0.js → index-9v8d3c0k.js} +450 -48
- package/dist/cli/{index-eqh3t8eh.js → index-af0cqe6n.js} +14 -14
- package/dist/cli/{index-hkmgzesw.js → index-ajkxx2k6.js} +2 -2
- package/dist/cli/{index-6v77adf7.js → index-gn26q90p.js} +2 -2
- package/dist/cli/{index-77xy577c.js → index-k10qtq71.js} +9 -9
- package/dist/cli/{index-80ekaf5b.js → index-mb7b1gye.js} +3 -3
- package/dist/cli/{index-0q2mjxp2.js → index-meg33yyv.js} +1 -1
- package/dist/cli/{index-3z2f1cy8.js → index-n5pxkera.js} +4 -4
- package/dist/cli/{index-3z5jtyan.js → index-n823qsae.js} +3 -2
- package/dist/cli/{index-6zkm4p7p.js → index-pk1gbqmq.js} +1 -1
- package/dist/cli/{index-4gn111h3.js → index-smqsp8hs.js} +5 -5
- package/dist/cli/{index-k2ydsqs7.js → index-td0jz8xe.js} +4 -4
- package/dist/cli/{index-xv881ahz.js → index-tdzbm974.js} +7 -7
- package/dist/cli/{index-5w915x8b.js → index-v689bmr2.js} +4 -4
- package/dist/cli/{index-qgfnd206.js → index-x3y6zhgj.js} +1 -1
- package/dist/cli/{index-aw492hpn.js → index-x8vw6ap1.js} +58 -41
- package/dist/cli/{index-hexhzq5j.js → index-xkjrg9k4.js} +3 -3
- package/dist/cli/{index-0n7nm9e8.js → index-zppxpc3y.js} +2 -2
- package/dist/cli/index.js +30 -30
- package/dist/cli/{knowledge-escalator-79zbhpz5.js → knowledge-escalator-w05ztgvk.js} +12 -12
- package/dist/cli/{knowledge-events-79cak7eb.js → knowledge-events-pwm9jc0m.js} +10 -10
- package/dist/cli/{knowledge-link-40zsr5ja.js → knowledge-link-ge0rddxw.js} +6 -6
- package/dist/cli/{knowledge-store-w29aw5w0.js → knowledge-store-4xv65tj2.js} +7 -7
- package/dist/cli/{knowledge-validator-qsecnt2d.js → knowledge-validator-0ttfsca7.js} +9 -9
- package/dist/cli/{pending-delegations-a2nmssr1.js → pending-delegations-nk78wx7h.js} +4 -4
- package/dist/cli/{pr-subscriptions-7879nq5k.js → pr-subscriptions-dq1f61ye.js} +4 -4
- package/dist/cli/{runner-fbgsxs74.js → runner-n50w1y4w.js} +7 -7
- package/dist/cli/{scan-cursor-1r3pcdqp.js → scan-cursor-b6n15w8d.js} +8 -8
- package/dist/cli/{schema-19qsv6fw.js → schema-jkbfwqr2.js} +1 -1
- package/dist/cli/{scope-persistence-ypcrvqtt.js → scope-persistence-5xt2m5ep.js} +9 -9
- package/dist/cli/{skill-generator-wpp9kpa0.js → skill-generator-3keadpf7.js} +14 -14
- package/dist/cli/{telemetry-52pw5xac.js → telemetry-hh1j99za.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-p31zm5k0.js → worktree-collision-ownership-4drcjymy.js} +15 -10
- package/dist/cli/{worktree-isolation-wcry8qnn.js → worktree-isolation-1ymaxn4h.js} +30 -30
- package/dist/commands/lanes.d.ts +25 -0
- package/dist/consensus/corpus.d.ts +16 -0
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +50 -3
- package/dist/hooks/delegation-gate/worktree-provisioning-owner.d.ts +40 -2
- package/dist/hooks/delegation-gate/worktree-recovery-authority.d.ts +201 -0
- package/dist/hooks/init-orphan-recovery.d.ts +5 -1
- package/dist/hooks/trajectory-logger.d.ts +22 -6
- package/dist/hooks/trajectory-step-state.d.ts +43 -2
- package/dist/index.js +556 -551
- package/dist/observability/catalog.d.ts +6 -4
- package/dist/prm/index.d.ts +3 -3
- package/dist/prm/replay.d.ts +29 -2
- package/dist/prm/trajectory-store.d.ts +210 -20
- package/dist/telemetry.d.ts +21 -1
- package/dist/utils/atomic-write.d.ts +2 -0
- package/dist/utils/canonical-root.d.ts +31 -0
- package/dist/workflow/coder-settlement.d.ts +2 -0
- package/dist/worktree/index.d.ts +2 -2
- package/dist/worktree/merge.d.ts +47 -0
- package/package.json +2 -1
- package/dist/cli/index-fxvgaeq4.js +0 -125
- package/dist/cli/worktree-provisioning-owner-cve95q4f.js +0 -22
- package/dist/cli/{curator-drift-2h1d2fnq.js → curator-drift-h57z6tm3.js} +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
loadDatabaseCtor
|
|
4
|
+
} from "./index-134d35c1.js";
|
|
2
5
|
import {
|
|
3
6
|
EvaluationRunV1Schema,
|
|
4
7
|
GateAuditResultV1Schema,
|
|
5
8
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
7
|
-
import {
|
|
8
|
-
loadDatabaseCtor
|
|
9
|
-
} from "./index-134d35c1.js";
|
|
9
|
+
} from "./index-1gzdnjg9.js";
|
|
10
10
|
import {
|
|
11
11
|
readEffectiveSpecSync
|
|
12
12
|
} from "./index-9ss2m4rs.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-9v8d3c0k.js";
|
|
27
27
|
import {
|
|
28
28
|
LedgerStaleWriterError,
|
|
29
29
|
appendLedgerEvent,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-mb7b1gye.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-pk1gbqmq.js";
|
|
50
50
|
import {
|
|
51
51
|
init_executor,
|
|
52
52
|
isUntrustedEnvKey,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
} from "./index-r3mvsbtq.js";
|
|
69
69
|
import {
|
|
70
70
|
PlanSchema
|
|
71
|
-
} from "./index-
|
|
71
|
+
} from "./index-1akn19mp.js";
|
|
72
72
|
import {
|
|
73
73
|
GIT_BINARY_ENV_VAR,
|
|
74
74
|
describeGitResolution,
|
|
@@ -79,18 +79,18 @@ import {
|
|
|
79
79
|
assertProjectRoot,
|
|
80
80
|
tryAcquireLock,
|
|
81
81
|
withEvidenceLock
|
|
82
|
-
} from "./index-
|
|
82
|
+
} from "./index-891g7hbf.js";
|
|
83
|
+
import {
|
|
84
|
+
invalidateCachedArtifact,
|
|
85
|
+
readCachedParsedFile
|
|
86
|
+
} from "./index-ed5ykebp.js";
|
|
83
87
|
import {
|
|
84
88
|
emit
|
|
85
|
-
} from "./index-
|
|
89
|
+
} from "./index-x8vw6ap1.js";
|
|
86
90
|
import {
|
|
87
91
|
ZodError,
|
|
88
92
|
init_zod
|
|
89
93
|
} from "./index-bpmtbmy9.js";
|
|
90
|
-
import {
|
|
91
|
-
invalidateCachedArtifact,
|
|
92
|
-
readCachedParsedFile
|
|
93
|
-
} from "./index-ed5ykebp.js";
|
|
94
94
|
import {
|
|
95
95
|
criticalWarn,
|
|
96
96
|
error,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-1akn19mp.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-n823qsae.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-n823qsae.js";
|
|
15
15
|
import {
|
|
16
16
|
init_constants
|
|
17
17
|
} from "./index-myt57pht.js";
|
|
18
18
|
import {
|
|
19
19
|
telemetry
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-x8vw6ap1.js";
|
|
21
21
|
import {
|
|
22
22
|
init_logger,
|
|
23
23
|
warn
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-x3y6zhgj.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-zppxpc3y.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
16
16
|
} from "./index-bk5tah7q.js";
|
|
17
|
-
import {
|
|
18
|
-
require_proper_lockfile
|
|
19
|
-
} from "./index-7g4c7s5r.js";
|
|
20
17
|
import {
|
|
21
18
|
readCachedParsedFile
|
|
22
19
|
} from "./index-ed5ykebp.js";
|
|
20
|
+
import {
|
|
21
|
+
require_proper_lockfile
|
|
22
|
+
} from "./index-7g4c7s5r.js";
|
|
23
23
|
import {
|
|
24
24
|
init_logger,
|
|
25
25
|
log
|
|
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
713
713
|
const {
|
|
714
714
|
readAuthoritativeKnowledgeCounterRollups,
|
|
715
715
|
effectiveRetrievalOutcomes
|
|
716
|
-
} = await import("./knowledge-events-
|
|
716
|
+
} = await import("./knowledge-events-pwm9jc0m.js");
|
|
717
717
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
718
718
|
const flagIds = new Set;
|
|
719
719
|
for (const e of atFloor) {
|
|
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
780
780
|
});
|
|
781
781
|
}
|
|
782
782
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
783
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
784
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
783
|
+
const { quarantineEntry } = await import("./knowledge-validator-0ttfsca7.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-jkbfwqr2.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-xkjrg9k4.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
PlanSchema,
|
|
5
5
|
TaskStatusSchema,
|
|
6
6
|
init_loader
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1akn19mp.js";
|
|
8
8
|
import {
|
|
9
9
|
assertProjectRoot,
|
|
10
10
|
withEvidenceLock
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-891g7hbf.js";
|
|
12
12
|
import {
|
|
13
13
|
emit
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-x8vw6ap1.js";
|
|
15
15
|
import {
|
|
16
16
|
criticalWarn,
|
|
17
17
|
init_logger,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-v689bmr2.js";
|
|
6
6
|
import {
|
|
7
7
|
withTimeoutSignal
|
|
8
8
|
} from "./index-q7sjgr1y.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveHiveKnowledgePath,
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-k10qtq71.js";
|
|
16
16
|
import {
|
|
17
17
|
effectiveRetrievalOutcomes,
|
|
18
18
|
readAuthoritativeKnowledgeCounterRollups
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-tdzbm974.js";
|
|
20
20
|
import {
|
|
21
21
|
advisoryWarn,
|
|
22
22
|
init_warning_buffer
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
atomicWriteFileAnyRoot,
|
|
30
30
|
atomicWriteSwarmFile
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-td0jz8xe.js";
|
|
32
32
|
import {
|
|
33
33
|
init_logger,
|
|
34
34
|
log,
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.153.
|
|
24
|
+
version: "7.153.1",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -132,6 +132,7 @@ var init_package = __esm(() => {
|
|
|
132
132
|
"check:retention": "bun run scripts/check-retention-registry.ts",
|
|
133
133
|
"check:core-events": "bun run scripts/check-core-events-usage.ts",
|
|
134
134
|
"check:shell-audit": "bun run scripts/check-shell-audit-usage.ts",
|
|
135
|
+
"check:trajectory-store": "bun run scripts/check-trajectory-store-usage.ts",
|
|
135
136
|
"check:test-file-cap": "bun run scripts/check-test-file-cap.ts",
|
|
136
137
|
"check:pending-fragment": "bun run scripts/check-pending-fragment.ts",
|
|
137
138
|
"check:gate-portability": "bun run scripts/check-gate-portability.ts",
|
|
@@ -1349,7 +1350,7 @@ var init_schema = __esm(() => {
|
|
|
1349
1350
|
stuck_on_test: 3,
|
|
1350
1351
|
context_thrash: 10
|
|
1351
1352
|
})),
|
|
1352
|
-
max_trajectory_lines: exports_external.number().min(10).default(1000),
|
|
1353
|
+
max_trajectory_lines: exports_external.number().min(10).max(1e4).default(1000),
|
|
1353
1354
|
escalation_enabled: exports_external.boolean().default(true),
|
|
1354
1355
|
detection_timeout_ms: exports_external.number().min(10).default(100)
|
|
1355
1356
|
});
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-k10qtq71.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-tdzbm974.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-0ttfsca7.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-jkbfwqr2.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-xkjrg9k4.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -123,9 +123,8 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
123
123
|
"src/tools/spec-write.ts:98",
|
|
124
124
|
"src/sdd/effective-spec.ts:1149",
|
|
125
125
|
"src/background/lane-output-store.ts:353",
|
|
126
|
-
"src/background/pending-delegations.ts:
|
|
126
|
+
"src/background/pending-delegations.ts:1012",
|
|
127
127
|
"src/background/delegation-health.ts:390",
|
|
128
|
-
"src/hooks/delegation-gate/worktree-provisioning-owner.ts:100",
|
|
129
128
|
"src/tools/submit-phase-council-verdicts.ts:458",
|
|
130
129
|
"src/summaries/store.ts:46 (pre-#2035)"
|
|
131
130
|
],
|
|
@@ -290,6 +289,7 @@ var WRITER_CLASSIFICATION = Object.freeze({
|
|
|
290
289
|
"src/services/skill-generator.ts": "migrated",
|
|
291
290
|
"src/services/skill-improver.ts": "migrated",
|
|
292
291
|
"src/summaries/store.ts": "migrated",
|
|
292
|
+
"src/prm/trajectory-store.ts": "migrated",
|
|
293
293
|
"src/background/delegation-health.ts": "registered-bespoke",
|
|
294
294
|
"src/background/lane-output-store.ts": "registered-bespoke",
|
|
295
295
|
"src/background/pending-delegations.ts": "registered-bespoke",
|
|
@@ -303,7 +303,7 @@ var WRITER_CLASSIFICATION = Object.freeze({
|
|
|
303
303
|
"src/evidence/manager.ts": "registered-bespoke",
|
|
304
304
|
"src/full-auto/state.ts": "registered-bespoke",
|
|
305
305
|
"src/hooks/delegation-gate/worktree-merge-status.ts": "registered-bespoke",
|
|
306
|
-
"src/hooks/delegation-gate/worktree-provisioning-owner.ts": "
|
|
306
|
+
"src/hooks/delegation-gate/worktree-provisioning-owner.ts": "migrated",
|
|
307
307
|
"src/hooks/issue-trace-state.ts": "registered-bespoke",
|
|
308
308
|
"src/hooks/knowledge-receipt-ledger-storage.ts": "registered-bespoke",
|
|
309
309
|
"src/hooks/pr-workflow-gate.ts": "registered-bespoke",
|
|
@@ -475,7 +475,7 @@ function writeAtomicSync(targetPath, content, options) {
|
|
|
475
475
|
const tempPath = `${resolvedTarget}.${_internals.randomSuffix()}.tmp`;
|
|
476
476
|
fs.mkdirSync(path.dirname(tempPath), { recursive: true });
|
|
477
477
|
try {
|
|
478
|
-
const fd = fs.openSync(tempPath, "wx");
|
|
478
|
+
const fd = fs.openSync(tempPath, "wx", options?.mode);
|
|
479
479
|
try {
|
|
480
480
|
let written = 0;
|
|
481
481
|
while (written < buffer.byteLength) {
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
} from "./index-4cgee5vh.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1akn19mp.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-n823qsae.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveKnowledgeStoreDir
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-x3y6zhgj.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-zppxpc3y.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-891g7hbf.js";
|
|
24
24
|
import {
|
|
25
25
|
emit
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-x8vw6ap1.js";
|
|
27
27
|
import {
|
|
28
28
|
require_proper_lockfile
|
|
29
29
|
} from "./index-7g4c7s5r.js";
|
|
@@ -2693,7 +2693,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
let bumps = 0;
|
|
2695
2695
|
if (deltas.length > 0) {
|
|
2696
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2696
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-4xv65tj2.js");
|
|
2697
2697
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2698
2698
|
}
|
|
2699
2699
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-3ttktt56.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-k10qtq71.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-x3y6zhgj.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-zppxpc3y.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|