@thurstonsand/pi-agent-switchboard 0.6.1 → 0.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/index.js +10 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -232,7 +232,8 @@ var TOOLS = {
|
|
|
232
232
|
"Use session_reachable to find another session before messaging, cancelling, or archiving it.",
|
|
233
233
|
"Sessions in other projects and other harnesses are all reachable; a dormant one wakes when messaged."
|
|
234
234
|
],
|
|
235
|
-
parameters: Type.Object({})
|
|
235
|
+
parameters: Type.Object({}),
|
|
236
|
+
readOnly: true
|
|
236
237
|
},
|
|
237
238
|
session_send_message: {
|
|
238
239
|
description: "Send a message to another session on the switchboard. It arrives in that session's conversation, mid-turn when it is working; a dormant session is woken first.",
|
|
@@ -244,12 +245,14 @@ var TOOLS = {
|
|
|
244
245
|
session,
|
|
245
246
|
message: Type.String({ description: "The message, self-contained: the recipient doesn't see this conversation." }),
|
|
246
247
|
requestResponse: Type.Boolean({ description: "Whether the recipient should reply to this session." })
|
|
247
|
-
})
|
|
248
|
+
}),
|
|
249
|
+
readOnly: false
|
|
248
250
|
},
|
|
249
251
|
session_cancel: {
|
|
250
252
|
description: "Interrupt another session's running turn. The session stays open.",
|
|
251
253
|
guidelines: ["Only cancel another session's turn when the user asks for it."],
|
|
252
|
-
parameters: Type.Object({ session })
|
|
254
|
+
parameters: Type.Object({ session }),
|
|
255
|
+
readOnly: false
|
|
253
256
|
},
|
|
254
257
|
session_launch: {
|
|
255
258
|
description: "Start a new session on the switchboard, in pi, Claude Code, or Codex, whose first turn is the goal you give it. It shows up on the user's roster.",
|
|
@@ -263,7 +266,8 @@ var TOOLS = {
|
|
|
263
266
|
cwd: Type.Optional(Type.String({ description: "Its working directory; defaults to this session's." })),
|
|
264
267
|
title: Type.String({ description: "A short title for the roster." }),
|
|
265
268
|
requestResponse: Type.Boolean({ description: "Whether it should report back to this session when done." })
|
|
266
|
-
})
|
|
269
|
+
}),
|
|
270
|
+
readOnly: false
|
|
267
271
|
},
|
|
268
272
|
swb_update_session: {
|
|
269
273
|
description: "Archive or unarchive a session. Omit session to update the current session.",
|
|
@@ -275,7 +279,8 @@ var TOOLS = {
|
|
|
275
279
|
parameters: Type.Object({
|
|
276
280
|
session: Type.Optional(Type.String({ description: "Session id; omit for the current session." })),
|
|
277
281
|
archived: Type.Boolean()
|
|
278
|
-
})
|
|
282
|
+
}),
|
|
283
|
+
readOnly: false
|
|
279
284
|
}
|
|
280
285
|
};
|
|
281
286
|
|