@khalilgharbaoui/opencode-claude-code-plugin 0.47.0 → 0.49.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 +16 -0
- package/dist/index.js +264 -55
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/claude-code-plugin/SKILL.md +39 -10
package/dist/index.d.ts
CHANGED
|
@@ -382,6 +382,13 @@ interface ClaudeCodeConfig {
|
|
|
382
382
|
* `providerConfig`, not by the user.
|
|
383
383
|
*/
|
|
384
384
|
baseCliPath?: string;
|
|
385
|
+
/**
|
|
386
|
+
* This spawn applies the account itself rather than through a wrapper
|
|
387
|
+
* script: it exports `CLAUDE_CONFIG_DIR` and takes the `@<account>` marker
|
|
388
|
+
* off `--model`. Set by `ensureAccountRuntime` on Windows only, where the
|
|
389
|
+
* wrapper is a shape worth avoiding (h #g221). Not a user option.
|
|
390
|
+
*/
|
|
391
|
+
accountInProcess?: boolean;
|
|
385
392
|
accountFailover?: AccountFailoverMode;
|
|
386
393
|
providerID?: string;
|
|
387
394
|
skipPermissions?: boolean;
|
|
@@ -510,6 +517,11 @@ interface ClaudeCodeProviderSettings {
|
|
|
510
517
|
failoverAccounts?: string[];
|
|
511
518
|
/** The CLI path before the per-account wrapper substitution. */
|
|
512
519
|
baseCliPath?: string;
|
|
520
|
+
/**
|
|
521
|
+
* Written by the config hook on Windows, where there is no wrapper script
|
|
522
|
+
* and the spawn applies the account itself. Not a user option.
|
|
523
|
+
*/
|
|
524
|
+
accountInProcess?: boolean;
|
|
513
525
|
/**
|
|
514
526
|
* When this account is out of usage, show the operator a form listing the
|
|
515
527
|
* other configured accounts and continue the task on the pick, inside the
|
|
@@ -1051,6 +1063,10 @@ interface ClaudeStreamMessage {
|
|
|
1051
1063
|
display_name?: string;
|
|
1052
1064
|
agent_id?: string;
|
|
1053
1065
|
description?: string;
|
|
1066
|
+
/** `elicitation` only: the MCP server that asked for operator input. */
|
|
1067
|
+
mcp_server_name?: string;
|
|
1068
|
+
/** `elicitation` only: `form` or `url`. */
|
|
1069
|
+
mode?: string;
|
|
1054
1070
|
};
|
|
1055
1071
|
/**
|
|
1056
1072
|
* On an `assistant` message the CLI synthesised to report a failure: the
|