@opengeni/api-router 0.3.0 → 0.4.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/app.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  validateToolRefs,
15
15
  withDefaultEnabledCapabilityMcpTools,
16
16
  workflowIdForSession
17
- } from "./chunk-SVBM6RM6.js";
17
+ } from "./chunk-I2EDWHVF.js";
18
18
  export {
19
19
  allowedCorsOrigin,
20
20
  createApp,
@@ -929,6 +929,11 @@ function registerWorkspaceOrchestrationTools(server, deps, grant, can, json) {
929
929
  description: "Spawn a new agent session (a worker) with an initial message and optional goal, resources (e.g. repositories from github_repositories_list), tools, and workspace environment attachment. Environment attachment happens at creation only \u2014 it cannot be added to a running session \u2014 and requires the environments:use permission. When targetSandboxId names a machine, workingDir sets the working directory (cwd) the spawned session runs under on that machine.",
930
930
  inputSchema: {
931
931
  initialMessage: z4.string().min(1),
932
+ // Per-session agent persona/system instructions for the spawned worker
933
+ // (a per-agent-type prompt). Delivered system-level, composed AFTER the
934
+ // workspace persona; never shown in the worker's timeline. Trimmed,
935
+ // non-empty, max 32768 chars (re-validated by the contracts schema).
936
+ instructions: z4.string().min(1).max(32768).optional(),
932
937
  goal: z4.unknown().optional(),
933
938
  resources: z4.array(z4.unknown()).optional(),
934
939
  tools: z4.array(z4.unknown()).optional(),
@@ -6379,4 +6384,4 @@ export {
6379
6384
  withDefaultEnabledCapabilityMcpTools,
6380
6385
  workflowIdForSession3 as workflowIdForSession
6381
6386
  };
6382
- //# sourceMappingURL=chunk-SVBM6RM6.js.map
6387
+ //# sourceMappingURL=chunk-I2EDWHVF.js.map