narraleaf-studio 1.6.1 → 1.6.2
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/_api.d.ts +12 -2
- package/package.json +1 -1
package/dist/_api.d.ts
CHANGED
|
@@ -105,7 +105,10 @@ type AgentErrorCode =
|
|
|
105
105
|
* itself, a file-system root).
|
|
106
106
|
*/
|
|
107
107
|
| "path_not_allowed"
|
|
108
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* The project is not trusted: an agent may read it but not change it (every write, imports
|
|
110
|
+
* included), is given no folders outside it, and may not run its code (play-test, build).
|
|
111
|
+
*/
|
|
109
112
|
| "untrusted"
|
|
110
113
|
/** The call is valid but the operation is not possible in this state. */
|
|
111
114
|
| "unavailable"
|
|
@@ -129,7 +132,7 @@ export type PluginAgentToolErrorCode = Extract<AgentErrorCode, "invalid_args" |
|
|
|
129
132
|
/** An answer: text the model reads, optionally the same facts as data, optionally one picture. */
|
|
130
133
|
export type PluginAgentToolAnswer = {
|
|
131
134
|
text: string;
|
|
132
|
-
/**
|
|
135
|
+
/** Kept beside the text for Studio; not sent to the agent, which reads the text alone (`toToolResult`). Plain JSON; dropped when larger than 60 000 characters. */
|
|
133
136
|
data?: Record<string, unknown>;
|
|
134
137
|
/** One PNG or JPEG, base64 without a `data:` prefix. */
|
|
135
138
|
image?: {
|
|
@@ -2561,6 +2564,13 @@ declare const en: {
|
|
|
2561
2564
|
readonly allowWritesHint: "When off, agents can read projects but every change they try is refused.";
|
|
2562
2565
|
readonly fullAccess: "Allow agents full access";
|
|
2563
2566
|
readonly fullAccessHint: "Agents may change projects and read any folder without asking, except Studio's own folders, the home folder as a whole and drive roots.";
|
|
2567
|
+
readonly enableSetByLaunch: "Set by --agent when Studio starts in development.";
|
|
2568
|
+
readonly port: "Endpoint port";
|
|
2569
|
+
readonly portSetByLaunch: "Set by --agent-port when Studio starts in development.";
|
|
2570
|
+
readonly portHint: "Takes effect at once. Copy the connection configuration again for clients set up before.";
|
|
2571
|
+
readonly portInvalid: "Enter a port from {min} to {max}.";
|
|
2572
|
+
readonly portInUse: "Port {port} is in use by another program.";
|
|
2573
|
+
readonly portReserved: "Port {port} is reserved by the system.";
|
|
2564
2574
|
readonly endpoint: "Endpoint address";
|
|
2565
2575
|
readonly running: "Listening.";
|
|
2566
2576
|
readonly portMoved: "The endpoint moved to port {port}. Copy the connection configuration again for clients set up before.";
|
package/package.json
CHANGED