@rynx-ai/server 0.1.11-beta.22 → 0.1.11-beta.23
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/control-api.d.ts +2 -2
- package/dist/control-api.js +2 -1
- package/dist/control-web/assets/{highlighted-body-OFNGDK62-WjfT1ceR.js → highlighted-body-OFNGDK62-DV5jYwcf.js} +1 -1
- package/dist/control-web/assets/{index-BQFR9W8k.js → index-D-5t2eCT.js} +91 -91
- package/dist/control-web/assets/{mermaid-GHXKKRXX-CJPtDfFU.js → mermaid-GHXKKRXX-DPZO2Q9W.js} +3 -3
- package/dist/control-web/index.html +1 -1
- package/dist/machine-session-service.d.ts +2 -3
- package/dist/machine-session-service.js +6 -60
- package/dist/remote-runtime-session-projection.js +1 -0
- package/dist/server.d.ts +2 -2
- package/dist/server.js +9 -1
- package/dist/session-runtime-index.d.ts +0 -6
- package/dist/session-runtime-index.js +8 -26
- package/package.json +7 -7
package/dist/control-api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Router from "@koa/router";
|
|
2
|
-
import { type ConversationRuntime, type
|
|
2
|
+
import { type ConversationRuntime, type InjectResult, type MachineSessionRecord, type ResolvedExecutionSnapshot, type SessionWorkspaceSnapshot, type SessionBus, type SessionLogStore, type SkillInstallRecipe } from "@rynx-ai/core";
|
|
3
3
|
import type { ControlAgentSummary, ControlAgentRuntimeOption, ControlLocalSkillCandidate, ControlLocalSkillImportResult, SkillSummary, SkillDetail, ProviderCliId } from "@rynx-ai/protocol/control";
|
|
4
4
|
import type { SessionInteractionResolution } from "@rynx-ai/protocol";
|
|
5
5
|
import { type RemoteRuntimeRpcParams, type RemoteRuntimeRpcResultFor } from "@rynx-ai/protocol/remote-runtime-rpc";
|
|
@@ -193,7 +193,7 @@ export declare function createControlRouter(opts: {
|
|
|
193
193
|
code: string;
|
|
194
194
|
statusCode: number;
|
|
195
195
|
} | undefined;
|
|
196
|
-
injectMessage?(localThreadId: string, text: string): Promise<
|
|
196
|
+
injectMessage?(localThreadId: string, text: string): Promise<InjectResult>;
|
|
197
197
|
resolveInteraction?(localThreadId: string, interactionId: string, resolution: SessionInteractionResolution): Promise<{
|
|
198
198
|
disposition: "applied" | "already_resolved" | "not_found" | "invalid";
|
|
199
199
|
}>;
|
package/dist/control-api.js
CHANGED
|
@@ -3296,7 +3296,8 @@ export function createControlRouter(opts) {
|
|
|
3296
3296
|
};
|
|
3297
3297
|
return;
|
|
3298
3298
|
}
|
|
3299
|
-
const
|
|
3299
|
+
const result = await runnerManager.injectMessage(id, message);
|
|
3300
|
+
const outcome = result.outcome;
|
|
3300
3301
|
if (outcome === "injected" || outcome === "steered") {
|
|
3301
3302
|
ctx.body = { ok: true, injected: true };
|
|
3302
3303
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as x,L as d,A as f}from"./mermaid-GHXKKRXX-
|
|
1
|
+
import{R as x,L as d,A as f}from"./mermaid-GHXKKRXX-DPZO2Q9W.js";import{r,j as p}from"./index-D-5t2eCT.js";var R=({code:i,language:e,raw:a,className:u,startLine:m,lineNumbers:n,...g})=>{let{shikiTheme:l}=r.useContext(x),s=d(),[h,t]=r.useState(a);return r.useEffect(()=>{if(!s){t(a);return}let o=s.highlight({code:i,language:e,themes:l},c=>{t(c)});o&&t(o)},[i,e,l,s,a]),p.jsx(f,{className:u,language:e,lineNumbers:n,result:h,startLine:m,...g})};export{R as HighlightedCodeBlockBody};
|