@agentsky/sky 2.20.1 → 2.21.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.
Files changed (51) hide show
  1. package/dist/{chunk-ICTCB4VT.js → chunk-6JMFB3CV.js} +1 -1
  2. package/dist/{chunk-NAD26CDY.js → chunk-GHTAIKQ6.js} +80 -30
  3. package/dist/{chunk-S6A5V7XR.js → chunk-ZZ6UF7QA.js} +4 -3
  4. package/dist/index.js +152 -55
  5. package/dist/{src-KP6YIFNP.js → src-QBXMNV2V.js} +28 -6
  6. package/dist/{trace-SJHQ66JA.js → trace-NMBMU4GS.js} +2 -2
  7. package/dist/{trace-library-IWF7BVNB.js → trace-library-OWYB75AR.js} +97 -11
  8. package/package.json +6 -11
  9. package/vendor/trace-collect/SOURCE.json +6 -0
  10. package/vendor/trace-collect/collect.mjs +75 -0
  11. package/vendor/trace-collect/identity.d.ts +8 -0
  12. package/vendor/trace-collect/identity.mjs +23 -0
  13. package/vendor/trace-collect/muse.mjs +87 -0
  14. package/vendor/trace-collect/normalize.d.ts +6 -0
  15. package/vendor/trace-collect/normalize.mjs +312 -0
  16. package/vendor/trace-collect/scrub.d.ts +2 -0
  17. package/vendor/trace-collect/scrub.mjs +186 -0
  18. package/vendor/trace-collect/sinks/agentsky.mjs +156 -0
  19. package/vendor/trace-collect/sources/_cline-family.mjs +182 -0
  20. package/vendor/trace-collect/sources/_project-root.mjs +40 -0
  21. package/vendor/trace-collect/sources/amp.mjs +18 -0
  22. package/vendor/trace-collect/sources/chatgpt.mjs +203 -0
  23. package/vendor/trace-collect/sources/claude-ai.mjs +94 -0
  24. package/vendor/trace-collect/sources/claude-code.mjs +4 -0
  25. package/vendor/trace-collect/sources/claude-desktop.mjs +87 -0
  26. package/vendor/trace-collect/sources/cline.mjs +14 -0
  27. package/vendor/trace-collect/sources/codex.mjs +4 -0
  28. package/vendor/trace-collect/sources/continue.mjs +117 -0
  29. package/vendor/trace-collect/sources/copilot-chat.mjs +145 -0
  30. package/vendor/trace-collect/sources/cursor-chat.mjs +274 -0
  31. package/vendor/trace-collect/sources/cursor.mjs +4 -0
  32. package/vendor/trace-collect/sources/deepseek.mjs +172 -0
  33. package/vendor/trace-collect/sources/dsh.mjs +145 -0
  34. package/vendor/trace-collect/sources/gemini-cli.mjs +113 -0
  35. package/vendor/trace-collect/sources/gemini.mjs +150 -0
  36. package/vendor/trace-collect/sources/goose.mjs +93 -0
  37. package/vendor/trace-collect/sources/grok-cli.mjs +110 -0
  38. package/vendor/trace-collect/sources/grok.mjs +83 -0
  39. package/vendor/trace-collect/sources/hermes.mjs +4 -0
  40. package/vendor/trace-collect/sources/index.mjs +119 -0
  41. package/vendor/trace-collect/sources/jan.mjs +134 -0
  42. package/vendor/trace-collect/sources/kilo-code.mjs +14 -0
  43. package/vendor/trace-collect/sources/kiro.mjs +77 -0
  44. package/vendor/trace-collect/sources/lm-studio.mjs +84 -0
  45. package/vendor/trace-collect/sources/muse.mjs +11 -0
  46. package/vendor/trace-collect/sources/opencode.mjs +109 -0
  47. package/vendor/trace-collect/sources/qwen-code.mjs +95 -0
  48. package/vendor/trace-collect/sources/roo-code.mjs +14 -0
  49. package/vendor/trace-collect/sources/zed.mjs +70 -0
  50. package/dist/products.d.ts +0 -652
  51. package/dist/products.js +0 -208
@@ -38,7 +38,7 @@ function currentUniverse() {
38
38
  }
39
39
 
40
40
  // src/version.ts
41
- var CLI_VERSION = "2.20.1";
41
+ var CLI_VERSION = "2.21.0";
42
42
  var USER_AGENT = `sky-cli/${CLI_VERSION} (${process.platform}; node/${process.versions.node})`;
43
43
 
44
44
  export {
@@ -19041,13 +19041,13 @@ var CATALOG_MODELS = [
19041
19041
  "tiers": [
19042
19042
  {
19043
19043
  "maxPromptTokens": 1048576,
19044
- "input": 0.16247,
19044
+ "input": 0.154347,
19045
19045
  "output": 0.32494,
19046
- "cachedInput": 3482e-6
19046
+ "cachedInput": 3088e-6
19047
19047
  }
19048
19048
  ],
19049
19049
  "maxPrice": {
19050
- "prompt": 0.14,
19050
+ "prompt": 0.133,
19051
19051
  "completion": 0.28
19052
19052
  },
19053
19053
  "reasoningEfforts": [],
@@ -19101,14 +19101,14 @@ var CATALOG_MODELS = [
19101
19101
  "tiers": [
19102
19102
  {
19103
19103
  "maxPromptTokens": 1048576,
19104
- "input": 0.1381,
19105
- "output": 0.276199,
19106
- "cachedInput": 0.02762
19104
+ "input": 0.150865,
19105
+ "output": 0.30173,
19106
+ "cachedInput": 0.032494
19107
19107
  }
19108
19108
  ],
19109
19109
  "maxPrice": {
19110
- "prompt": 0.119,
19111
- "completion": 0.238
19110
+ "prompt": 0.13,
19111
+ "completion": 0.26
19112
19112
  },
19113
19113
  "reasoningEfforts": [
19114
19114
  "none",
@@ -19774,14 +19774,14 @@ var CATALOG_MODELS = [
19774
19774
  "tiers": [
19775
19775
  {
19776
19776
  "maxPromptTokens": 202752,
19777
- "input": 1.13729,
19778
- "output": 3.57434,
19779
- "cachedInput": 0.208194
19777
+ "input": 1.380995,
19778
+ "output": 4.34027,
19779
+ "cachedInput": 0.6963
19780
19780
  }
19781
19781
  ],
19782
19782
  "maxPrice": {
19783
- "prompt": 0.98,
19784
- "completion": 3.08
19783
+ "prompt": 1.19,
19784
+ "completion": 3.74
19785
19785
  },
19786
19786
  "reasoningEfforts": [],
19787
19787
  "quantizations": [
@@ -21240,6 +21240,34 @@ var CATALOG_MODELS = [
21240
21240
  "fp32",
21241
21241
  "unknown"
21242
21242
  ]
21243
+ },
21244
+ {
21245
+ "id": "inclusionai/ling-3.0-flash-vl",
21246
+ "openRouterId": "inclusionai/ling-3.0-flash-vl",
21247
+ "label": "Ling 3.0 Flash VL",
21248
+ "maker": "inclusionAI",
21249
+ "contextLength": 131072,
21250
+ "maxOutputTokens": 32768,
21251
+ "tiers": [
21252
+ {
21253
+ "maxPromptTokens": 131072,
21254
+ "input": 0.06963,
21255
+ "output": 0.20889,
21256
+ "cachedInput": 0.013926
21257
+ }
21258
+ ],
21259
+ "maxPrice": {
21260
+ "prompt": 0.06,
21261
+ "completion": 0.18
21262
+ },
21263
+ "reasoningEfforts": [],
21264
+ "quantizations": [
21265
+ "fp8",
21266
+ "fp16",
21267
+ "bf16",
21268
+ "fp32",
21269
+ "unknown"
21270
+ ]
21243
21271
  }
21244
21272
  ];
21245
21273
 
@@ -22151,6 +22179,14 @@ var SessionSourceCollector = class {
22151
22179
  }
22152
22180
  };
22153
22181
 
22182
+ // ../../packages/spec/src/input-scope.ts
22183
+ var admittedInputScopeSchema = external_exports.object({
22184
+ schema: external_exports.literal("admitted-input.v1"),
22185
+ session_id: external_exports.string().min(1),
22186
+ message_id: external_exports.string(),
22187
+ text_sha256: external_exports.string().regex(/^[a-f0-9]{64}$/)
22188
+ }).strict();
22189
+
22154
22190
  // ../../packages/spec/src/acp-catalog.ts
22155
22191
  var ACP_AGENTS = {
22156
22192
  "agoragentic_acp": {
@@ -22310,7 +22346,7 @@ var ACP_AGENTS = {
22310
22346
  "registryId": "grok-build",
22311
22347
  "label": "Grok Build",
22312
22348
  "description": "xAI's coding agent and CLI",
22313
- "version": "1.0.62",
22349
+ "version": "1.0.67",
22314
22350
  "website": "https://x.ai/cli"
22315
22351
  },
22316
22352
  "harn": {
@@ -22331,7 +22367,7 @@ var ACP_AGENTS = {
22331
22367
  "registryId": "kilo",
22332
22368
  "label": "Kilo",
22333
22369
  "description": "The open source coding agent",
22334
- "version": "7.8.15",
22370
+ "version": "7.8.17",
22335
22371
  "website": "https://kilo.ai/"
22336
22372
  },
22337
22373
  "kimchi": {
@@ -22394,7 +22430,7 @@ var ACP_AGENTS = {
22394
22430
  "registryId": "sigit",
22395
22431
  "label": "siGit Code",
22396
22432
  "description": "Local-first coding agent. Runs entirely on your machine with optional on-device LLM inference via Onde.",
22397
- "version": "1.7.3",
22433
+ "version": "1.7.4",
22398
22434
  "website": "https://github.com/getsigit/sigit"
22399
22435
  },
22400
22436
  "stakpak": {
@@ -22422,7 +22458,7 @@ var ACP_AGENTS = {
22422
22458
  "registryId": "docker-cagent",
22423
22459
  "label": "Docker Agent",
22424
22460
  "description": "Docker's agent runtime configured through an agent YAML file.",
22425
- "version": "1.151.0",
22461
+ "version": "1.152.0",
22426
22462
  "website": "https://docs.docker.com/ai/docker-agent/features/acp/"
22427
22463
  },
22428
22464
  "kiro": {
@@ -22535,18 +22571,18 @@ var HARNESS_MODEL_ADDITIONS = {
22535
22571
  pi: [{ models: [...CLAUDE_5_5, "grok-4.7", ...MINIMAX], releases: ["1.3.0"] }],
22536
22572
  kimi_code: [{ models: [...CLAUDE_5_5, ...GEMINI, "grok-4.7", ...MUSE, ...MINIMAX, ...CATALOG_IDS], releases: ["2.2.0"] }],
22537
22573
  opencode: [
22538
- { models: ["grok-4.7"], releases: ["1.18.35", "1.19.3"] },
22539
- { models: CLAUDE_5_5, releases: ["1.18.35", "1.19.3"] },
22540
- { models: [...GEMINI, ...MINIMAX], releases: ["1.19.3"] }
22574
+ { models: ["grok-4.7"], releases: ["1.18.35", "1.19.3", "1.19.4"] },
22575
+ { models: CLAUDE_5_5, releases: ["1.18.35", "1.19.3", "1.19.4"] },
22576
+ { models: [...GEMINI, ...MINIMAX], releases: ["1.19.3", "1.19.4"] }
22541
22577
  ],
22542
22578
  fast_agent: [{ models: ["grok-4.7"], releases: ["0.10.43", "0.10.46"] }, { models: ["claude-sonnet-5-5", "claude-haiku-5-5"], releases: ["0.10.43", "0.10.46"] }],
22543
22579
  goose: [{ models: ["grok-4.7"], releases: ["1.54.0"] }, { models: ["claude-sonnet-5-5", "claude-haiku-5-5"], releases: ["1.54.0"] }],
22544
- kilo: [{ models: ["grok-4.7"], releases: ["7.8.8", "7.8.12", "7.8.15"] }, { models: ["claude-sonnet-5-5", "claude-haiku-5-5"], releases: ["7.8.8", "7.8.12", "7.8.15"] }],
22545
- docker_cagent: [{ models: ["grok-4.7"], releases: ["1.150.0", "1.151.0"] }, { models: ["claude-sonnet-5-5", "claude-haiku-5-5"], releases: ["1.150.0", "1.151.0"] }],
22580
+ kilo: [{ models: ["grok-4.7"], releases: ["7.8.8", "7.8.12", "7.8.15", "7.8.17"] }, { models: ["claude-sonnet-5-5", "claude-haiku-5-5"], releases: ["7.8.8", "7.8.12", "7.8.15", "7.8.17"] }],
22581
+ docker_cagent: [{ models: ["grok-4.7"], releases: ["1.150.0", "1.151.0", "1.152.0"] }, { models: ["claude-sonnet-5-5", "claude-haiku-5-5"], releases: ["1.150.0", "1.151.0", "1.152.0"] }],
22546
22582
  cline: [{ models: ["grok-4.7"], releases: ["3.0.70", "3.0.73"] }],
22547
- grok_build: [{ models: ["grok-4.7"], releases: ["1.0.50", "1.0.62"] }],
22583
+ grok_build: [{ models: ["grok-4.7"], releases: ["1.0.50", "1.0.62", "1.0.67"] }],
22548
22584
  mistral_vibe: [{ models: ["grok-4.7"], releases: ["2.26.1"] }],
22549
- sigit: [{ models: ["grok-4.7"], releases: ["1.6.5", "1.7.2", "1.7.3"] }],
22585
+ sigit: [{ models: ["grok-4.7"], releases: ["1.6.5", "1.7.2", "1.7.3", "1.7.4"] }],
22550
22586
  cursor: [{ models: ["kimi-k2.7-code"], releases: ["2026.10.01"] }],
22551
22587
  minimax_code: [{ models: ["grok-4.7"], releases: ["0.6.5", "0.6.12"] }, { models: ["claude-sonnet-5-5", "claude-haiku-5-5"], releases: ["0.6.5", "0.6.12"] }, {
22552
22588
  models: ["gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.6-sol", "claude-opus-5", "claude-opus-5-5"],
@@ -24459,6 +24495,25 @@ var codeReviewRequestSchema = external_exports.discriminatedUnion("action", [
24459
24495
  external_exports.object({ action: external_exports.literal("review"), url: codeReviewTargetSchema, head: external_exports.string().regex(/^[a-f0-9]{40}$/i), body: external_exports.string().trim().max(65536), event: external_exports.enum(["COMMENT", "APPROVE", "REQUEST_CHANGES"]) }).strict().refine((request) => request.event === "APPROVE" || request.body.length > 0, { path: ["body"], message: "Add a review comment." })
24460
24496
  ]);
24461
24497
 
24498
+ // ../../packages/spec/src/task-kinds.ts
24499
+ var TASK_KINDS = [
24500
+ { id: "coding", label: "Coding" },
24501
+ { id: "data", label: "Data" },
24502
+ { id: "research", label: "Research" },
24503
+ { id: "writing", label: "Writing" },
24504
+ { id: "browser", label: "Browser" },
24505
+ { id: "comms", label: "Communications" },
24506
+ { id: "design", label: "Design" },
24507
+ { id: "media", label: "Media" },
24508
+ { id: "docs", label: "Documentation" },
24509
+ { id: "qa", label: "QA" },
24510
+ { id: "planning", label: "Planning" },
24511
+ { id: "ops", label: "Operations" },
24512
+ { id: "analysis", label: "Analysis" },
24513
+ { id: "other", label: "Other" }
24514
+ ];
24515
+ var TASK_KIND_SET = new Set(TASK_KINDS.map((k) => k.id));
24516
+
24462
24517
  // ../../packages/spec/src/index.ts
24463
24518
  var NATIVE_AGENT_TYPES = [
24464
24519
  "hermes",
@@ -25280,13 +25335,10 @@ export {
25280
25335
  external_exports,
25281
25336
  splitMcpServers,
25282
25337
  mcpServersFromKept,
25283
- userMessageEventSchema,
25284
- systemMessageEventSchema,
25285
25338
  messagePartSchema,
25286
25339
  REASONING_EFFORT_VALUES,
25287
25340
  isModelEffortSupported,
25288
25341
  reasoningEffortDocLine,
25289
- sessionResourcesParamSchema,
25290
25342
  redactSecretValues,
25291
25343
  redactPlainText,
25292
25344
  redactLine,
@@ -25294,6 +25346,7 @@ export {
25294
25346
  redactTraceText,
25295
25347
  publicRemote,
25296
25348
  SessionSourceCollector,
25349
+ admittedInputScopeSchema,
25297
25350
  AGENT_TYPES,
25298
25351
  supersededBy,
25299
25352
  defaultLlm,
@@ -25301,10 +25354,7 @@ export {
25301
25354
  MODEL_SUBSCRIPTION_PROVIDER_NAME,
25302
25355
  MODEL_SUBSCRIPTION_PLAN_PHRASE,
25303
25356
  capabilitiesSchema,
25304
- instructionFileSchema,
25305
25357
  skillRefSchema,
25306
- skillsArraySchema,
25307
- mcpServersSchema,
25308
25358
  customDataSchema,
25309
25359
  harnessProfileSchema
25310
25360
  };
@@ -3,7 +3,7 @@ import {
3
3
  apiBase,
4
4
  apiToken,
5
5
  currentUniverse
6
- } from "./chunk-ICTCB4VT.js";
6
+ } from "./chunk-6JMFB3CV.js";
7
7
 
8
8
  // src/api.ts
9
9
  import { createWriteStream, writeFileSync } from "fs";
@@ -48,7 +48,8 @@ async function api(method, path, body, opts = {}) {
48
48
  "user-agent": USER_AGENT,
49
49
  ...opts.auth === false ? {} : authHeaders(),
50
50
  ...body !== void 0 ? { "content-type": "application/json" } : {},
51
- ...opts.idempotencyKey ? { "idempotency-key": opts.idempotencyKey } : {}
51
+ ...opts.idempotencyKey ? { "idempotency-key": opts.idempotencyKey } : {},
52
+ ...opts.universe ? { "x-universe": opts.universe } : {}
52
53
  },
53
54
  body: body !== void 0 ? JSON.stringify(body) : void 0
54
55
  });
@@ -144,7 +145,7 @@ async function resolveSessionRef(ref) {
144
145
  return agent.defaultSessionId;
145
146
  }
146
147
  async function* streamEvents(sessionId, signal) {
147
- const { parseSseStream } = await import("./src-KP6YIFNP.js");
148
+ const { parseSseStream } = await import("./src-QBXMNV2V.js");
148
149
  const res = await fetch(
149
150
  `${apiBase()}/sessions/${encodeURIComponent(sessionId)}/stream`,
150
151
  {