@agimon-ai/po-core 0.0.0-alpha.125 → 0.0.0-alpha.127
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/apiContracts.cjs +34 -1
- package/dist/apiContracts.cjs.map +1 -1
- package/dist/apiContracts.d.mts +3 -3
- package/dist/apiContracts.mjs +34 -1
- package/dist/apiContracts.mjs.map +1 -1
- package/dist/headlessHub.d.mts +1 -1
- package/dist/headlessServer.cjs +153 -48
- package/dist/headlessServer.cjs.map +1 -1
- package/dist/headlessServer.d.mts +7 -2
- package/dist/headlessServer.d.mts.map +1 -1
- package/dist/headlessServer.mjs +153 -48
- package/dist/headlessServer.mjs.map +1 -1
- package/dist/headlessSessionHost.d.mts +4 -4
- package/dist/history.cjs +2 -0
- package/dist/history.d.mts +2 -1
- package/dist/history.mjs +2 -1
- package/dist/index.d.mts +1 -1
- package/dist/mcp.d.mts +2 -2
- package/dist/packageApi.d.mts +1 -1
- package/dist/packageApiServer.d.mts +1 -1
- package/dist/remoteRuntime.d.mts +1 -1
- package/dist/serverPlugin.d.mts +1 -1
- package/dist/src/schemas/httpApiContracts.cjs +34 -2
- package/dist/src/schemas/httpApiContracts.cjs.map +1 -1
- package/dist/src/schemas/httpApiContracts.mjs +34 -2
- package/dist/src/schemas/httpApiContracts.mjs.map +1 -1
- package/dist/src/schemas/mcp.cjs.map +1 -1
- package/dist/src/schemas/mcp.d.mts +16 -0
- package/dist/src/schemas/mcp.d.mts.map +1 -1
- package/dist/src/schemas/mcp.mjs.map +1 -1
- package/dist/src/schemas/workflow.cjs +2 -2
- package/dist/src/schemas/workflow.cjs.map +1 -1
- package/dist/src/schemas/workflow.d.mts +5 -5
- package/dist/src/schemas/workflow.mjs +2 -2
- package/dist/src/schemas/workflow.mjs.map +1 -1
- package/dist/src/server/conversationEvents.cjs +16 -2
- package/dist/src/server/conversationEvents.cjs.map +1 -1
- package/dist/src/server/conversationEvents.mjs +16 -2
- package/dist/src/server/conversationEvents.mjs.map +1 -1
- package/dist/src/server/directHarnessRuntime.cjs +32 -11
- package/dist/src/server/directHarnessRuntime.cjs.map +1 -1
- package/dist/src/server/directHarnessRuntime.mjs +32 -11
- package/dist/src/server/directHarnessRuntime.mjs.map +1 -1
- package/dist/src/server/mcpBundleLoader.d.mts +1 -1
- package/dist/src/services/hubFederation/index.d.mts +1 -1
- package/dist/src/services/modelGatewayContainer/type.d.mts +1 -1
- package/dist/src/services/sessionWorkspaceMove/index.cjs +81 -0
- package/dist/src/services/sessionWorkspaceMove/index.cjs.map +1 -0
- package/dist/src/services/sessionWorkspaceMove/index.d.mts +6 -0
- package/dist/src/services/sessionWorkspaceMove/index.d.mts.map +1 -0
- package/dist/src/services/sessionWorkspaceMove/index.mjs +81 -0
- package/dist/src/services/sessionWorkspaceMove/index.mjs.map +1 -0
- package/dist/src/services/sessionWorkspaceMove/type.d.mts +16 -0
- package/dist/src/services/sessionWorkspaceMove/type.d.mts.map +1 -0
- package/dist/src/systems/main/adapters/headlessSessionHost.d.mts +1 -1
- package/dist/src/web/types/nativeTemplate.d.mts +1 -1
- package/dist/src/web/types/nativeTemplate.d.mts.map +1 -1
- package/dist/src/web/types/template.d.mts +13 -0
- package/dist/src/web/types/template.d.mts.map +1 -1
- package/dist/src/web/types/webPlugin.d.mts +12 -0
- package/dist/src/web/types/webPlugin.d.mts.map +1 -1
- package/dist/web.d.mts +2 -2
- package/package.json +4 -4
package/dist/apiContracts.cjs
CHANGED
|
@@ -863,13 +863,46 @@ const headlessHttpContracts = [
|
|
|
863
863
|
sessionId: Text$3,
|
|
864
864
|
created: typebox.Type.Boolean()
|
|
865
865
|
}), {
|
|
866
|
-
body: body(typebox.Type.Object({
|
|
866
|
+
body: body(typebox.Type.Object({
|
|
867
|
+
workspaceId: Optional$2(typebox.Type.String({ minLength: 1 })),
|
|
868
|
+
profile: Optional$2(typebox.Type.String({
|
|
869
|
+
minLength: 1,
|
|
870
|
+
pattern: "\\S"
|
|
871
|
+
}))
|
|
872
|
+
}, { additionalProperties: false })),
|
|
873
|
+
responses: {
|
|
874
|
+
...jsonApiResponses(typebox.Type.Object({
|
|
875
|
+
sessionId: Text$3,
|
|
876
|
+
created: typebox.Type.Boolean()
|
|
877
|
+
})),
|
|
878
|
+
"422": {
|
|
879
|
+
description: "Profile required or invalid operation",
|
|
880
|
+
schema: typebox.Type.Union([typebox.Type.Object({
|
|
881
|
+
profileRequired: typebox.Type.Literal(true),
|
|
882
|
+
error: Text$3
|
|
883
|
+
}), ApiErrorSchema])
|
|
884
|
+
}
|
|
885
|
+
},
|
|
867
886
|
availability: "Host provides addCoordinator; otherwise 501"
|
|
868
887
|
}),
|
|
869
888
|
host("sessions.get", "/api/workspaces/{workspaceId}/sessions/{sessionId}", "GET", SessionSummarySchema),
|
|
870
889
|
host("sessions.delete", "/api/workspaces/{workspaceId}/sessions/{sessionId}", "DELETE", ApiOkSchema),
|
|
871
890
|
host("sessions.history", "/api/workspaces/{workspaceId}/sessions/{sessionId}/history", "GET", typebox.Type.Object({ sessions: typebox.Type.Array(SavedSession) }), { availability: "Host provides sessionHistory" }),
|
|
872
891
|
host("sessions.restart", "/api/workspaces/{workspaceId}/sessions/{sessionId}/restart", "POST", ApiOkSchema, { availability: "Host provides restartSession" }),
|
|
892
|
+
host("sessions.move", "/api/workspaces/{workspaceId}/sessions/{sessionId}/move", "POST", ApiOkSchema, {
|
|
893
|
+
body: body(typebox.Type.Object({ workspaceId: typebox.Type.String({
|
|
894
|
+
minLength: 1,
|
|
895
|
+
pattern: "\\S"
|
|
896
|
+
}) }, { additionalProperties: false })),
|
|
897
|
+
availability: "Host provides moveSession; otherwise 501",
|
|
898
|
+
responses: {
|
|
899
|
+
...jsonApiResponses(ApiOkSchema),
|
|
900
|
+
"501": {
|
|
901
|
+
description: "Host does not support session moves",
|
|
902
|
+
schema: ApiErrorSchema
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
}),
|
|
873
906
|
host("sessions.role", "/api/workspaces/{workspaceId}/sessions/{sessionId}/role", "POST", ApiOkSchema, {
|
|
874
907
|
body: body(typebox.Type.Object({ coordinator: typebox.Type.Boolean() }, { additionalProperties: false })),
|
|
875
908
|
availability: "Host provides setSessionRole"
|