@probelabs/probe-chat 0.6.0-rc200 → 0.6.0-rc202
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/index.js +3 -0
- package/package.json +1 -1
- package/probeChat.js +2 -1
package/index.js
CHANGED
|
@@ -79,6 +79,7 @@ export function main() {
|
|
|
79
79
|
.option('--trace-remote [endpoint]', 'Enable tracing to remote endpoint (default: http://localhost:4318/v1/traces)')
|
|
80
80
|
.option('--trace-console', 'Enable tracing to console (for debugging)')
|
|
81
81
|
.option('--completion-prompt <prompt>', 'Custom prompt to run after attempt_completion for validation/review (can be a string or path to a file)')
|
|
82
|
+
.option('--architecture-file <name>', 'Architecture context filename to embed from repo root (defaults to AGENTS.md with CLAUDE.md fallback; ARCHITECTURE.md is always included when present)')
|
|
82
83
|
.argument('[path]', 'Path to the codebase to search (overrides ALLOWED_FOLDERS)')
|
|
83
84
|
.parse(process.argv);
|
|
84
85
|
|
|
@@ -427,6 +428,7 @@ export function main() {
|
|
|
427
428
|
customPrompt: customPrompt,
|
|
428
429
|
promptType: options.prompt && ['architect', 'code-review', 'code-review-template', 'support', 'engineer'].includes(options.prompt) ? options.prompt : null,
|
|
429
430
|
allowEdit: options.allowEdit,
|
|
431
|
+
architectureFileName: options.architectureFile,
|
|
430
432
|
enableBash: options.enableBash,
|
|
431
433
|
bashConfig: bashConfig,
|
|
432
434
|
completionPrompt: completionPrompt
|
|
@@ -540,6 +542,7 @@ export function main() {
|
|
|
540
542
|
customPrompt: customPrompt,
|
|
541
543
|
promptType: options.prompt && ['architect', 'code-review', 'code-review-template', 'support', 'engineer'].includes(options.prompt) ? options.prompt : null,
|
|
542
544
|
allowEdit: options.allowEdit,
|
|
545
|
+
architectureFileName: options.architectureFile,
|
|
543
546
|
enableBash: options.enableBash,
|
|
544
547
|
bashConfig: bashConfig,
|
|
545
548
|
completionPrompt: completionPrompt
|
package/package.json
CHANGED
package/probeChat.js
CHANGED
|
@@ -254,6 +254,7 @@ export class ProbeChat {
|
|
|
254
254
|
* @param {string} [options.customPrompt] - Custom prompt to replace the default system message
|
|
255
255
|
* @param {string} [options.promptType] - Predefined prompt type (architect, code-review, support)
|
|
256
256
|
* @param {boolean} [options.allowEdit=false] - Allow the use of the 'implement' tool
|
|
257
|
+
* @param {string} [options.architectureFileName] - Architecture context filename to embed from repo root (defaults to AGENTS.md with CLAUDE.md fallback; ARCHITECTURE.md is always included when present)
|
|
257
258
|
* @param {string} [options.provider] - Force specific AI provider
|
|
258
259
|
* @param {string} [options.model] - Override model name
|
|
259
260
|
* @param {boolean} [options.debug] - Enable debug mode
|
|
@@ -557,4 +558,4 @@ export const chat = new ProbeChat({
|
|
|
557
558
|
debug: process.env.DEBUG_CHAT === '1'
|
|
558
559
|
});
|
|
559
560
|
|
|
560
|
-
export default chat;
|
|
561
|
+
export default chat;
|