@adhdev/daemon-core 0.5.37 → 0.5.38
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 +3 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/providers/_builtin/cli/claude-cli/provider.json +1 -1
- package/providers/_builtin/extension/codex/scripts/1.0/explore_dom.js +8 -2
- package/providers/_builtin/extension/codex/scripts/1.0/list_modes.js +138 -0
- package/providers/_builtin/extension/codex/scripts/1.0/read_chat.js +183 -34
- package/providers/_builtin/extension/codex/scripts/1.0/resolve_action.js +55 -15
- package/providers/_builtin/extension/codex/scripts/1.0/send_message.js +5 -25
- package/providers/_builtin/extension/codex/scripts/1.0/set_mode.js +165 -0
- package/src/agent-stream/provider-adapter.ts +1 -0
- package/src/agent-stream/types.ts +1 -0
- package/src/providers/extension-provider-instance.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -1458,6 +1458,7 @@ interface AgentStreamState {
|
|
|
1458
1458
|
messages: AgentChatMessage[];
|
|
1459
1459
|
inputContent: string;
|
|
1460
1460
|
model?: string;
|
|
1461
|
+
mode?: string;
|
|
1461
1462
|
activeModal?: {
|
|
1462
1463
|
message: string;
|
|
1463
1464
|
buttons: string[];
|
|
@@ -1783,6 +1784,8 @@ declare class ExtensionProviderInstance implements ProviderInstance {
|
|
|
1783
1784
|
private agentStreams;
|
|
1784
1785
|
private messages;
|
|
1785
1786
|
private activeModal;
|
|
1787
|
+
private currentModel;
|
|
1788
|
+
private currentMode;
|
|
1786
1789
|
private lastAgentStatus;
|
|
1787
1790
|
private generatingStartedAt;
|
|
1788
1791
|
private monitor;
|
package/dist/index.js
CHANGED
|
@@ -2160,6 +2160,8 @@ var ExtensionProviderInstance = class {
|
|
|
2160
2160
|
agentStreams = [];
|
|
2161
2161
|
messages = [];
|
|
2162
2162
|
activeModal = null;
|
|
2163
|
+
currentModel = "";
|
|
2164
|
+
currentMode = "";
|
|
2163
2165
|
lastAgentStatus = "idle";
|
|
2164
2166
|
generatingStartedAt = 0;
|
|
2165
2167
|
monitor;
|
|
@@ -2199,6 +2201,8 @@ var ExtensionProviderInstance = class {
|
|
|
2199
2201
|
activeModal: this.activeModal,
|
|
2200
2202
|
inputContent: ""
|
|
2201
2203
|
} : null,
|
|
2204
|
+
currentModel: this.currentModel || void 0,
|
|
2205
|
+
currentPlan: this.currentMode || void 0,
|
|
2202
2206
|
agentStreams: this.agentStreams,
|
|
2203
2207
|
instanceId: this.instanceId,
|
|
2204
2208
|
lastUpdated: Date.now(),
|
|
@@ -2211,6 +2215,8 @@ var ExtensionProviderInstance = class {
|
|
|
2211
2215
|
if (data?.streams) this.agentStreams = data.streams;
|
|
2212
2216
|
if (data?.messages) this.messages = data.messages;
|
|
2213
2217
|
if (data?.activeModal !== void 0) this.activeModal = data.activeModal;
|
|
2218
|
+
if (data?.model) this.currentModel = data.model;
|
|
2219
|
+
if (data?.mode) this.currentMode = data.mode;
|
|
2214
2220
|
if (data?.status) {
|
|
2215
2221
|
const newStatus = data.status;
|
|
2216
2222
|
this.detectTransition(newStatus, data);
|
|
@@ -8900,6 +8906,7 @@ var ProviderStreamAdapter = class {
|
|
|
8900
8906
|
messages: data.messages || [],
|
|
8901
8907
|
inputContent: data.inputContent || "",
|
|
8902
8908
|
model: data.model,
|
|
8909
|
+
mode: data.mode,
|
|
8903
8910
|
activeModal: data.activeModal
|
|
8904
8911
|
};
|
|
8905
8912
|
if (state.messages.length > 0) {
|