@squidcloud/backend 1.0.478 → 1.0.481

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.
@@ -23,6 +23,12 @@ export interface AiFunctionCallContext<FunctionContextType = unknown, AgentConte
23
23
  functionContext: FunctionContextType;
24
24
  /** The session associated with this AI function call. */
25
25
  sessionContext: AiSessionContext;
26
+ /**
27
+ * Instructions of the calling AI agent, when the function runs an AI sub-agent that should
28
+ * honor them (e.g. formatting rules or domain conventions). For integration-connected functions
29
+ * this carries the integration's instructions instead (see AiConnectedIntegrationMetadata).
30
+ */
31
+ instructions?: string;
26
32
  }
27
33
  /** AiFunctionContext for the connected integration function. Contains predefined integration data. */
28
34
  export interface AiFunctionCallContextWithIntegration<AiConnectedIntegrationOptionsType = unknown, FunctionContextType = unknown, AgentContextType = unknown> extends AiFunctionCallContext<FunctionContextType, AgentContextType>, AiConnectedIntegrationMetadata<AiConnectedIntegrationOptionsType> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/backend",
3
- "version": "1.0.478",
3
+ "version": "1.0.481",
4
4
  "description": "Squid Cloud's backend SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -35,7 +35,7 @@
35
35
  "typedoc-plugin-markdown": "^4.8.1"
36
36
  },
37
37
  "peerDependencies": {
38
- "@squidcloud/client": "^1.0.478"
38
+ "@squidcloud/client": "^1.0.481"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=20.0.0"