@agent-native/core 0.7.66 → 0.7.68
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/cli/workspacify.d.ts.map +1 -1
- package/dist/cli/workspacify.js +26 -4
- package/dist/cli/workspacify.js.map +1 -1
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +3 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/route-chunk-recovery.d.ts +15 -0
- package/dist/client/route-chunk-recovery.d.ts.map +1 -0
- package/dist/client/route-chunk-recovery.js +180 -0
- package/dist/client/route-chunk-recovery.js.map +1 -0
- package/dist/integrations/a2a-continuations-store.d.ts.map +1 -1
- package/dist/integrations/a2a-continuations-store.js +22 -5
- package/dist/integrations/a2a-continuations-store.js.map +1 -1
- package/dist/scripts/call-agent.d.ts.map +1 -1
- package/dist/scripts/call-agent.js +2 -1
- package/dist/scripts/call-agent.js.map +1 -1
- package/dist/server/agent-discovery.d.ts +3 -0
- package/dist/server/agent-discovery.d.ts.map +1 -1
- package/dist/server/agent-discovery.js +12 -3
- package/dist/server/agent-discovery.js.map +1 -1
- package/dist/server/onboarding-html.js +2 -2
- package/dist/server/onboarding-html.js.map +1 -1
- package/dist/templates/workspace-core/src/server/index.ts +12 -2
- package/package.json +1 -1
- package/src/templates/workspace-core/src/server/index.ts +12 -2
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
// Export workspace-wide server plugin overrides here when you need them.
|
|
2
2
|
// Starter apps inherit these exports, so provide explicit framework defaults
|
|
3
3
|
// to keep generated workspaces warning-free until a workspace customizes them.
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import {
|
|
5
|
+
createAgentChatPlugin,
|
|
6
6
|
defaultAuthPlugin,
|
|
7
|
+
type AgentChatPluginOptions,
|
|
7
8
|
} from "@agent-native/core/server";
|
|
9
|
+
|
|
10
|
+
export function createWorkspaceAgentChatPlugin(
|
|
11
|
+
options?: AgentChatPluginOptions,
|
|
12
|
+
) {
|
|
13
|
+
return createAgentChatPlugin(options);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const defaultAgentChatPlugin = createWorkspaceAgentChatPlugin();
|
|
17
|
+
export { defaultAuthPlugin };
|
package/package.json
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
// Export workspace-wide server plugin overrides here when you need them.
|
|
2
2
|
// Starter apps inherit these exports, so provide explicit framework defaults
|
|
3
3
|
// to keep generated workspaces warning-free until a workspace customizes them.
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import {
|
|
5
|
+
createAgentChatPlugin,
|
|
6
6
|
defaultAuthPlugin,
|
|
7
|
+
type AgentChatPluginOptions,
|
|
7
8
|
} from "@agent-native/core/server";
|
|
9
|
+
|
|
10
|
+
export function createWorkspaceAgentChatPlugin(
|
|
11
|
+
options?: AgentChatPluginOptions,
|
|
12
|
+
) {
|
|
13
|
+
return createAgentChatPlugin(options);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const defaultAgentChatPlugin = createWorkspaceAgentChatPlugin();
|
|
17
|
+
export { defaultAuthPlugin };
|