@proteos/sdk 0.90.0 → 0.92.0
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.cjs +214 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +671 -24
- package/dist/index.d.ts +671 -24
- package/dist/index.js +214 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/agent/index.ts +3 -0
- package/src/agent/model-types.ts +2 -0
- package/src/agent/session-types.ts +88 -8
- package/src/agent/sessions.ts +51 -0
- package/src/agent/types.ts +14 -0
- package/src/auth/platform-entities.ts +8 -0
- package/src/connector/index.ts +2 -0
- package/src/conversation/index.ts +86 -0
- package/src/conversation/types.ts +194 -0
- package/src/discovery/index.ts +183 -0
- package/src/discovery/types.ts +264 -0
- package/src/functions/actions.ts +5 -1
- package/src/index.ts +51 -1
- package/src/knowledge/index.ts +13 -1
- package/src/knowledge/types.ts +47 -3
- package/src/knowledge/whiteboard-templates.ts +85 -0
- package/src/types/options.ts +11 -0
package/src/types/options.ts
CHANGED
|
@@ -68,6 +68,17 @@ export const DEFAULT_OPTIONS = {
|
|
|
68
68
|
headers: {},
|
|
69
69
|
} as const
|
|
70
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Request timeout for invoking an action or connector method. Function-service
|
|
73
|
+
* lets one invocation run for 60s and connector-service waits 70s for it, so
|
|
74
|
+
* the caller waits longer than both: the invocation's result, or its own
|
|
75
|
+
* timeout error, reaches the caller instead of a client-side abort.
|
|
76
|
+
*/
|
|
77
|
+
export const INVOKE_TIMEOUT_MS = 75_000
|
|
78
|
+
|
|
79
|
+
/** Request timeout for a batch action invocation (5 min server budget). */
|
|
80
|
+
export const BATCH_INVOKE_TIMEOUT_MS = 315_000
|
|
81
|
+
|
|
71
82
|
/**
|
|
72
83
|
* Resolves client options by applying defaults.
|
|
73
84
|
*/
|