@ycodium-ai/agent-codex 0.2.2147 → 0.2.2163
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.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1119,7 +1119,7 @@ var YCODIUM_THREAD_TOOL_INSTRUCTIONS = `
|
|
|
1119
1119
|
|
|
1120
1120
|
The \`ycodium\` MCP server can start child threads on this environment. When \`start_thread\` is listed, use it to hand a self-contained piece of work to another thread \u2014 optionally on a different provider instance or model \u2014 instead of doing everything inline or spawning your own background processes.
|
|
1121
1121
|
|
|
1122
|
-
Call \`list_providers\` and \`list_models\` first when you want a specific provider, model,
|
|
1122
|
+
Call \`list_providers\` and \`list_models\` first when you want a specific provider, model, effort level, or another model option such as a service tier (pass those as \`options\`, with the ids and values \`list_models\` gives); a value a model does not offer is rejected rather than ignored. Pass \`isolate: true\` when the child must not share your working tree.
|
|
1123
1123
|
|
|
1124
1124
|
\`start_thread\` returns as soon as the child is running. You do not need to poll: a message arrives in this thread when the child finishes, fails, stops, or needs an approval, and it names the child thread id. Use \`get_thread_activity\` to read the full transcript behind a truncated summary, \`send_message\` to follow up, \`respond_to_permission\` to answer its approval requests, and \`stop_thread\` to end it. You can only steer child threads you started yourself.
|
|
1125
1125
|
`;
|
|
@@ -2976,6 +2976,7 @@ var CodexSessionRuntime = class {
|
|
|
2976
2976
|
const config = this.#threadConfig();
|
|
2977
2977
|
const developerInstructions = this.developerInstructions(input);
|
|
2978
2978
|
const requestedModel = modelIdFromSelection(input.modelSelection) ?? this.model;
|
|
2979
|
+
const serviceTier = modelSelectionStringOption(input.modelSelection, "serviceTier");
|
|
2979
2980
|
const params = {
|
|
2980
2981
|
threadId: this.nativeThreadId,
|
|
2981
2982
|
input: this.turnInput(input),
|
|
@@ -2983,6 +2984,7 @@ var CodexSessionRuntime = class {
|
|
|
2983
2984
|
approvalsReviewer: config.approvalsReviewer,
|
|
2984
2985
|
sandboxPolicy,
|
|
2985
2986
|
...requestedModel ? { model: requestedModel } : {},
|
|
2987
|
+
...serviceTier ? { serviceTier } : {},
|
|
2986
2988
|
...developerInstructions ? { developerInstructions } : {}
|
|
2987
2989
|
};
|
|
2988
2990
|
const interactionMode = typeof input.interactionMode === "string" ? input.interactionMode : void 0;
|