opencode-agentic-engine 0.2.1 → 0.2.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/index.d.ts.map +1 -1
- package/dist/index.js +8 -6
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAinG/D,eAAO,MAAM,aAAa,EAAE,MAAqB,CAAA;AAEjD,QAAA,MAAM,YAAY,EAAE,YAGnB,CAAA;AACD,eAAe,YAAY,CAAA;AAG3B,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAC5J,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// opencode-agentic-engine v0.2.
|
|
1
|
+
// opencode-agentic-engine v0.2.2
|
|
2
2
|
// Bundled for zero-install drop-in
|
|
3
3
|
|
|
4
4
|
// src/index.ts
|
|
@@ -6798,7 +6798,7 @@ Call the specific tool (agentic_nav, agentic_execute, etc.) directly.
|
|
|
6798
6798
|
await traceLogger.init();
|
|
6799
6799
|
} catch {
|
|
6800
6800
|
}
|
|
6801
|
-
autoUpdatePlugin("0.2.
|
|
6801
|
+
autoUpdatePlugin("0.2.2");
|
|
6802
6802
|
configLoader.onChange((newConfig) => {
|
|
6803
6803
|
vectorStore.setSearchWeights(newConfig.memory.search.keywordWeight, newConfig.memory.search.vectorWeight);
|
|
6804
6804
|
vectorStore.setStopWordsLanguages(newConfig.memory.stopWordsLanguages);
|
|
@@ -9510,16 +9510,18 @@ ${dataset.data.slice(0, 2e3)}${dataset.data.length > 2e3 ? "\n\u2026 (truncated)
|
|
|
9510
9510
|
}
|
|
9511
9511
|
let codebaseContext = "";
|
|
9512
9512
|
try {
|
|
9513
|
-
|
|
9513
|
+
const rootFiles = readdirSync2(projectDir).filter((f) => !f.startsWith(".") && !f.includes("lock"));
|
|
9514
|
+
const knownConfigNames = /* @__PURE__ */ new Set(["Makefile", "Dockerfile", "docker-compose.yml", "docker-compose.yaml", "go.mod", "Gemfile", "requirements.txt", "setup.py", "setup.cfg", "pom.xml", "build.gradle", "gradle.properties", "Podfile", "Cartfile", "Mixfile", "rebar.config", "opam", "stack.yaml", "cabal.project", "Cargo.lock", "Gemfile.lock", "composer.lock", "pnpm-lock.yaml", "yarn.lock", "bun.lock"]);
|
|
9515
|
+
const configExts = [".json", ".toml", ".yaml", ".yml", ".ini", ".cfg", ".conf"];
|
|
9516
|
+
const configFiles = rootFiles.filter((f) => knownConfigNames.has(f) || configExts.some((ext) => f.endsWith(ext))).slice(0, 5);
|
|
9517
|
+
for (const cfg of configFiles) {
|
|
9514
9518
|
const cfgPath = join6(projectDir, cfg);
|
|
9515
|
-
|
|
9516
|
-
codebaseContext += `
|
|
9519
|
+
codebaseContext += `
|
|
9517
9520
|
### ${cfg}
|
|
9518
9521
|
\`\`\`
|
|
9519
9522
|
${readFileSync6(cfgPath, "utf-8").slice(0, 1e3)}
|
|
9520
9523
|
\`\`\`
|
|
9521
9524
|
`;
|
|
9522
|
-
}
|
|
9523
9525
|
}
|
|
9524
9526
|
const srcDirs = ["src", "app", "lib", "server"].filter((d) => existsSync8(join6(projectDir, d)));
|
|
9525
9527
|
let filesRead = 0;
|