@agentsky/sky 3.43.0 → 3.45.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.
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var CLI_VERSION = "3.43.0";
2
+ var CLI_VERSION = "3.45.0";
3
3
  var USER_AGENT = `sky-cli/${CLI_VERSION} (${process.platform}; node/${process.versions.node})`;
4
4
 
5
5
  export {
@@ -21766,7 +21766,7 @@ var DECLARED = [
21766
21766
  core("browser-use", "write", "Web browser", "A browser your agents drive, with the logins you gave it.", { owns: ["session.browser.", "session.browser_handoff.", "browser_profile.", "session.runtime.driveBrowser", "session.runtime.handOffBrowser", "session.runtime.askBrowserTakeover", "session.runtime.finishBrowserTakeover"], exports: ["session.browser.read", "session.browser.stop", "session.browser.hand_back", "browser_profile.site.remove", "session.runtime.finishBrowserTakeover"] }),
21767
21767
  core("email", "write", "Send email", "Your agents send email from the workspace's address and read what they sent.", { owns: ["email.", "session.runtime.sendEmail"], exports: ["email.list"] }),
21768
21768
  core("signing", "write", "E-signature", "Your agents send documents for signature and track who has signed.", { owns: ["signing."], exports: ["signing.list", "signing.read", "signing.document"] }),
21769
- { id: TASK_COLLECTION_PLUGIN_ID, kind: "capability", tier: "write", contract: PREINSTALLED_CONTRACT, ships: "preinstalled", tools: ["list_reflection_proposals", "decide_reflection_proposal", "rollback_reflection_proposal"], exports: ["tool.list_reflection_proposals", "tool.rollback_reflection_proposal"], name: "Task collection", description: "Keeps a record of how your agents' work went. After a task that took corrections, it shows you the standards it learned from them and keeps the ones you agree to." },
21769
+ { id: TASK_COLLECTION_PLUGIN_ID, kind: "capability", tier: "write", contract: PREINSTALLED_CONTRACT, ships: "preinstalled", tools: ["list_reflection_proposals", "decide_reflection_proposal", "settle_skill_conflict", "rollback_reflection_proposal"], exports: ["tool.list_reflection_proposals", "tool.rollback_reflection_proposal"], name: "Task collection", description: "Keeps a record of how your agents' work went. After a task that took corrections, it shows you the standards it learned from them and keeps the ones you agree to." },
21770
21770
  { id: "mac:computer-use", kind: "device", tier: "device", contract: PREINSTALLED_CONTRACT, ships: "core", name: "Computer use", description: "Agents see and click on your Mac", devicePlugin: "computer-use" },
21771
21771
  view("story", "Story", "What happened in a chat, step by step, in the right panel.", ["task-story"], ["story"]),
21772
21772
  view("background-tasks", "Runs of this chat", "The helpers an agent started and where each one stands.", ["subagents"], ["background_tasks"]),
@@ -23837,9 +23837,13 @@ var connectionSupportSchema = external_exports.object({
23837
23837
 
23838
23838
  // ../../packages/spec/src/question.ts
23839
23839
  var QUESTION_REQUEST_KINDS = ["connect_app", "connect_account", "spend", "start", "browser_handoff", "reflection", "confirm", "plugin_off"];
23840
+ var MAX_QUESTION_CHANGES = 4;
23841
+ var QUESTION_CHANGE_CHARS = 12e3;
23840
23842
  var questionSchema = external_exports.object({
23841
23843
  requestId: external_exports.string().min(1),
23842
23844
  question: external_exports.string().trim().min(1),
23845
+ /** Why it is asked, in a sentence or two. Shown under the question, folded; the question itself stays one short line. */
23846
+ detail: external_exports.string().trim().min(1).max(1e3).optional(),
23843
23847
  options: external_exports.array(
23844
23848
  external_exports.object({
23845
23849
  id: external_exports.string().min(1),
@@ -23868,7 +23872,14 @@ var questionSchema = external_exports.object({
23868
23872
  * requests rather than an agent's free question. Absent on an ordinary question. */
23869
23873
  kind: external_exports.enum(QUESTION_REQUEST_KINDS).optional(),
23870
23874
  /** What the request is about: the app to connect for `connect_app`, the vendor for `connect_account`, the agent's handle for `spend`, the rule that asks for `start`, the site the agent's browser is on for `browser_handoff`, the skill or lesson a finished task suggests changing for `reflection`, the tool an agent's held call is to for `confirm`, the plugin id to turn on for `plugin_off`. */
23871
- subject: external_exports.string().trim().min(1).max(200).optional()
23875
+ subject: external_exports.string().trim().min(1).max(200).optional(),
23876
+ /** For `reflection`: what each change would write, as the text it replaces and the text it writes, so the card shows
23877
+ * the diff before anyone approves. `path` names what changes, as the person reads it. */
23878
+ changes: external_exports.array(external_exports.object({
23879
+ path: external_exports.string().trim().min(1).max(300),
23880
+ old_string: external_exports.string().max(QUESTION_CHANGE_CHARS),
23881
+ new_string: external_exports.string().max(QUESTION_CHANGE_CHARS)
23882
+ })).max(MAX_QUESTION_CHANGES).optional()
23872
23883
  }).superRefine((value, context) => {
23873
23884
  if (value.input && value.kind) context.addIssue({ code: "custom", message: "File input cannot be combined with a platform request kind." });
23874
23885
  if (new Set(value.options.map((option) => option.id)).size !== value.options.length) {