@khalilgharbaoui/opencode-claude-code-plugin 0.42.3 → 0.44.0
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 +17 -0
- package/dist/index.js +243 -50
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/claude-code-plugin/SKILL.md +14 -8
package/dist/index.d.ts
CHANGED
|
@@ -362,6 +362,12 @@ interface ClaudeCodeConfig {
|
|
|
362
362
|
interactiveAllowTools?: string[];
|
|
363
363
|
/** With interactive: append this plugin's own prompts via --append-system-prompt-file. Defaults to true. */
|
|
364
364
|
interactiveSystemPrompt?: boolean;
|
|
365
|
+
/**
|
|
366
|
+
* With the interactive transport: also append what the operator wrote that
|
|
367
|
+
* opencode forwarded (instruction files and the active agent's own prompt),
|
|
368
|
+
* verbatim and chosen by provenance. Off by default (h #g212).
|
|
369
|
+
*/
|
|
370
|
+
interactiveUserInstructions?: boolean;
|
|
365
371
|
cwd?: string;
|
|
366
372
|
account?: string;
|
|
367
373
|
configDir?: string;
|
|
@@ -481,6 +487,12 @@ interface ClaudeCodeProviderSettings {
|
|
|
481
487
|
interactiveAllowTools?: string[];
|
|
482
488
|
/** With interactive: append this plugin's own prompts via --append-system-prompt-file. Defaults to true. */
|
|
483
489
|
interactiveSystemPrompt?: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* With the interactive transport: also append what the operator wrote that
|
|
492
|
+
* opencode forwarded (instruction files and the active agent's own prompt),
|
|
493
|
+
* verbatim and chosen by provenance. Off by default (h #g212).
|
|
494
|
+
*/
|
|
495
|
+
interactiveUserInstructions?: boolean;
|
|
484
496
|
cwd?: string;
|
|
485
497
|
name?: string;
|
|
486
498
|
providerID?: string;
|
|
@@ -1370,6 +1382,11 @@ type AgentRecord = {
|
|
|
1370
1382
|
* refused. Same account throughout; see `src/model-fallback.ts`.
|
|
1371
1383
|
*/
|
|
1372
1384
|
fallbackModels?: string[];
|
|
1385
|
+
/**
|
|
1386
|
+
* The agent's own prompt as the operator wrote it: the markdown body, or
|
|
1387
|
+
* `prompt` in opencode.json. Read only by `interactiveUserInstructions`.
|
|
1388
|
+
*/
|
|
1389
|
+
prompt?: string;
|
|
1373
1390
|
};
|
|
1374
1391
|
declare function getAgentRegistry(): Record<string, AgentRecord>;
|
|
1375
1392
|
declare function getDefaultSubagentModel(): string | undefined;
|