@exulu/backend 5.7.0 → 5.7.1

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.
@@ -1723,7 +1723,7 @@ var ExuluTool = class _ExuluTool {
1723
1723
  if (!agent) {
1724
1724
  throw new Error("Agent not found.");
1725
1725
  }
1726
- const { convertExuluToolsToAiSdkTools: convertExuluToolsToAiSdkTools2 } = await import("./convert-exulu-tools-to-ai-sdk-tools-BPZSN22N.js");
1726
+ const { convertExuluToolsToAiSdkTools: convertExuluToolsToAiSdkTools2 } = await import("./convert-exulu-tools-to-ai-sdk-tools-XOL5J5ET.js");
1727
1727
  const tools = await convertExuluToolsToAiSdkTools2(
1728
1728
  [this],
1729
1729
  [],
@@ -14381,7 +14381,7 @@ Probe error: ${probe.reason ?? "(no detail)"}`
14381
14381
  destination: sessionDir
14382
14382
  });
14383
14383
  const writeFileTool = tool2({
14384
- description: 'Write content to a file in the sandbox. Creates parent directories if needed. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/foo.md") and leading-slash paths ("/skills/foo.md") work and reach the same file. When the path is under the session artifact tree, the file is also uploaded to S3 and a short-lived presigned URL is returned in the tool output.',
14384
+ description: 'Write content to a file in the sandbox. Creates parent directories if needed. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/<Skill name>/SKILL.md") and leading-slash paths ("/skills/<Skill name>/SKILL.md") work and reach the same file. When the path is under the session artifact tree, the file is also uploaded to S3 and a short-lived presigned URL is returned in the tool output.',
14385
14385
  inputSchema: z13.object({
14386
14386
  path: z13.string().describe("The path where the file should be written. Relative paths and leading-slash paths are both resolved against the session sandbox root."),
14387
14387
  content: z13.string().describe("The content to write to the file")
@@ -14402,7 +14402,7 @@ Probe error: ${probe.reason ?? "(no detail)"}`
14402
14402
  }
14403
14403
  });
14404
14404
  const readFileTool = tool2({
14405
- description: 'Read the contents of a file from the sandbox. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/foo.md") and leading-slash paths ("/skills/foo.md") work and reach the same file. If the file does not exist, the error message is surfaced verbatim.',
14405
+ description: 'Read the contents of a file from the sandbox. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/<Skill name>/SKILL.md") and leading-slash paths ("/skills/<Skill name>/SKILL.md") work and reach the same file. Skills live in a folder per skill: "skills/<Skill name>/SKILL.md", never "skills/<Skill name>.md". If the file does not exist, the error message is surfaced verbatim.',
14406
14406
  inputSchema: z13.object({
14407
14407
  path: z13.string().describe("The path of the file to read. Relative paths and leading-slash paths are both resolved against the session sandbox root.")
14408
14408
  }),
@@ -3,7 +3,7 @@ import {
3
3
  OUTPUT_OFFLOAD_EXEMPT_TOOL_IDS,
4
4
  convertExuluToolsToAiSdkTools,
5
5
  hydrateVariables
6
- } from "./chunk-TAXHJJ5R.js";
6
+ } from "./chunk-XNTGIQLC.js";
7
7
  import "./chunk-4PDWNVNT.js";
8
8
  export {
9
9
  OUTPUT_OFFLOAD_EXEMPT_TOOL_IDS,
package/dist/index.cjs CHANGED
@@ -12663,7 +12663,7 @@ Probe error: ${probe.reason ?? "(no detail)"}`
12663
12663
  destination: sessionDir
12664
12664
  });
12665
12665
  const writeFileTool = (0, import_ai2.tool)({
12666
- description: 'Write content to a file in the sandbox. Creates parent directories if needed. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/foo.md") and leading-slash paths ("/skills/foo.md") work and reach the same file. When the path is under the session artifact tree, the file is also uploaded to S3 and a short-lived presigned URL is returned in the tool output.',
12666
+ description: 'Write content to a file in the sandbox. Creates parent directories if needed. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/<Skill name>/SKILL.md") and leading-slash paths ("/skills/<Skill name>/SKILL.md") work and reach the same file. When the path is under the session artifact tree, the file is also uploaded to S3 and a short-lived presigned URL is returned in the tool output.',
12667
12667
  inputSchema: import_zod7.z.object({
12668
12668
  path: import_zod7.z.string().describe("The path where the file should be written. Relative paths and leading-slash paths are both resolved against the session sandbox root."),
12669
12669
  content: import_zod7.z.string().describe("The content to write to the file")
@@ -12684,7 +12684,7 @@ Probe error: ${probe.reason ?? "(no detail)"}`
12684
12684
  }
12685
12685
  });
12686
12686
  const readFileTool = (0, import_ai2.tool)({
12687
- description: 'Read the contents of a file from the sandbox. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/foo.md") and leading-slash paths ("/skills/foo.md") work and reach the same file. If the file does not exist, the error message is surfaced verbatim.',
12687
+ description: 'Read the contents of a file from the sandbox. Paths are always resolved against the session sandbox root \u2014 both relative paths ("skills/<Skill name>/SKILL.md") and leading-slash paths ("/skills/<Skill name>/SKILL.md") work and reach the same file. Skills live in a folder per skill: "skills/<Skill name>/SKILL.md", never "skills/<Skill name>.md". If the file does not exist, the error message is surfaced verbatim.',
12688
12688
  inputSchema: import_zod7.z.object({
12689
12689
  path: import_zod7.z.string().describe("The path of the file to read. Relative paths and leading-slash paths are both resolved against the session sandbox root.")
12690
12690
  }),
@@ -23284,7 +23284,7 @@ async function runGuardChain(opts) {
23284
23284
 
23285
23285
  // src/exulu/email-inbound/intake-warnings.ts
23286
23286
  init_cjs_shims();
23287
- var MENTIONS_ATTACHMENT = /\b(anbei|anliegend|beigef[üu]gt|im anhang|als anhang|anhang|anlage|attached|attachment|enclosed)\b/i;
23287
+ var MENTIONS_ATTACHMENT = /\b(anbei|anliegend|beigef[üu]gt|im anhang|als anhang|anhang|als anlage|attached|attachment|enclosed)\b/i;
23288
23288
  var INTAKE_WARNING_TEXTS = {
23289
23289
  attachment_mentioned_but_none_received: "Die E-Mail erw\xE4hnt einen Anhang, es wurde aber kein Anhang \xFCbermittelt (0 Dateien im Payload). Nicht raten, welches Teil gemeint ist: um den Anhang oder die konkreten Positionen bitten."
23290
23290
  };
package/dist/index.js CHANGED
@@ -208,7 +208,7 @@ import {
208
208
  willEmbedOnQueue,
209
209
  withRetry,
210
210
  workflowTemplatesSchema
211
- } from "./chunk-TAXHJJ5R.js";
211
+ } from "./chunk-XNTGIQLC.js";
212
212
  import {
213
213
  LiteLLMAdminError,
214
214
  findLiteLLMModel,
@@ -5821,7 +5821,7 @@ async function runGuardChain(opts) {
5821
5821
  }
5822
5822
 
5823
5823
  // src/exulu/email-inbound/intake-warnings.ts
5824
- var MENTIONS_ATTACHMENT = /\b(anbei|anliegend|beigef[üu]gt|im anhang|als anhang|anhang|anlage|attached|attachment|enclosed)\b/i;
5824
+ var MENTIONS_ATTACHMENT = /\b(anbei|anliegend|beigef[üu]gt|im anhang|als anhang|anhang|als anlage|attached|attachment|enclosed)\b/i;
5825
5825
  var INTAKE_WARNING_TEXTS = {
5826
5826
  attachment_mentioned_but_none_received: "Die E-Mail erw\xE4hnt einen Anhang, es wurde aber kein Anhang \xFCbermittelt (0 Dateien im Payload). Nicht raten, welches Teil gemeint ist: um den Anhang oder die konkreten Positionen bitten."
5827
5827
  };
@@ -983,7 +983,7 @@ export async function createSessionSandbox(
983
983
  description:
984
984
  'Write content to a file in the sandbox. Creates parent directories if needed. ' +
985
985
  'Paths are always resolved against the session sandbox root — both relative paths ' +
986
- '("skills/foo.md") and leading-slash paths ("/skills/foo.md") work and reach the same file. ' +
986
+ '("skills/<Skill name>/SKILL.md") and leading-slash paths ("/skills/<Skill name>/SKILL.md") work and reach the same file. ' +
987
987
  'When the path is under the session artifact tree, the file is also uploaded to S3 ' +
988
988
  'and a short-lived presigned URL is returned in the tool output.',
989
989
  inputSchema: z.object({
@@ -1017,7 +1017,8 @@ export async function createSessionSandbox(
1017
1017
  description:
1018
1018
  'Read the contents of a file from the sandbox. ' +
1019
1019
  'Paths are always resolved against the session sandbox root — both relative paths ' +
1020
- '("skills/foo.md") and leading-slash paths ("/skills/foo.md") work and reach the same file. ' +
1020
+ '("skills/<Skill name>/SKILL.md") and leading-slash paths ("/skills/<Skill name>/SKILL.md") work and reach the same file. ' +
1021
+ 'Skills live in a folder per skill: "skills/<Skill name>/SKILL.md", never "skills/<Skill name>.md". ' +
1021
1022
  'If the file does not exist, the error message is surfaced verbatim.',
1022
1023
  inputSchema: z.object({
1023
1024
  path: z.string().describe('The path of the file to read. Relative paths and leading-slash paths are both resolved against the session sandbox root.'),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exulu/backend",
3
3
  "author": "Qventu B.V.",
4
- "version": "5.7.0",
4
+ "version": "5.7.1",
5
5
  "main": "./dist/index.js",
6
6
  "private": false,
7
7
  "publishConfig": {