@agentknight/sdk 0.9.57 → 0.9.59

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 (23) hide show
  1. package/dist/chunks/{acp-adapter-WYDK3PLS.js → acp-adapter-OGD5QSNI.js} +4 -4
  2. package/dist/chunks/{chunk-WPVH7HKC.js → chunk-2MERNOK6.js} +1 -1
  3. package/dist/chunks/{chunk-7ZYBES47.js → chunk-3OIHMMDF.js} +1 -1
  4. package/dist/chunks/{chunk-3LEPYV7Y.js → chunk-5DVJ7Y5W.js} +2 -2
  5. package/dist/chunks/{chunk-USI66MEF.js → chunk-AREU4R62.js} +3 -2
  6. package/dist/chunks/{chunk-ZLKFFKAX.js → chunk-DP5KVGWF.js} +4 -3
  7. package/dist/chunks/{chunk-DAKDVZ7X.js → chunk-FDUJP3WA.js} +2 -2
  8. package/dist/chunks/{chunk-KBI5IWPR.js → chunk-LO4ZRE77.js} +747 -513
  9. package/dist/chunks/{chunk-OOCAIULD.js → chunk-LWJNDBIM.js} +431 -21
  10. package/dist/chunks/{chunk-IPJWNGNK.js → chunk-NDEJOXSX.js} +1 -1
  11. package/dist/chunks/{chunk-EDZPP6SJ.js → chunk-X3ZG6WMN.js} +2 -3
  12. package/dist/chunks/{chunk-LT5ULDVT.js → chunk-ZDKBJFA2.js} +1 -1
  13. package/dist/chunks/{claude-adapter-GCH36EZ6.js → claude-adapter-DGZBZSWJ.js} +209 -59
  14. package/dist/chunks/{codex-adapter-CXD4SVCE.js → codex-adapter-2W7RRER3.js} +4 -4
  15. package/dist/chunks/{copilot-adapter-SYFGOAGE.js → copilot-adapter-ZEHU6CFQ.js} +109 -14
  16. package/dist/chunks/{managed-agent-adapter-ODCNYYO6.js → managed-agent-adapter-CGJPJZ2Z.js} +20 -6
  17. package/dist/chunks/{pi-adapter-XLY46UDL.js → pi-adapter-WOVSWBGG.js} +4 -4
  18. package/dist/configuration.js +4 -4
  19. package/dist/index.d.ts +126 -1
  20. package/dist/index.js +1447 -562
  21. package/dist/runtime.js +2 -2
  22. package/dist/session-analytics-worker.js +162 -51
  23. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  latestPreviewItems
3
- } from "./chunk-IPJWNGNK.js";
3
+ } from "./chunk-NDEJOXSX.js";
4
4
  import {
5
5
  UnsupportedAgentOperationError
6
- } from "./chunk-3LEPYV7Y.js";
7
- import "./chunk-7ZYBES47.js";
6
+ } from "./chunk-5DVJ7Y5W.js";
7
+ import "./chunk-3OIHMMDF.js";
8
8
  import {
9
9
  ConversationItemSchema,
10
10
  PromptImageAttachmentSchema,
11
11
  SESSION_TIMELINE_PAGE_SIZE,
12
12
  SessionSummarySchema
13
- } from "./chunk-KBI5IWPR.js";
13
+ } from "./chunk-LO4ZRE77.js";
14
14
 
15
15
  // src/acp-adapter.ts
16
16
  import { spawn } from "node:child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SessionOperationError
3
- } from "./chunk-7ZYBES47.js";
3
+ } from "./chunk-3OIHMMDF.js";
4
4
 
5
5
  // src/adapters/copilot/runtime/session-identity.ts
6
6
  function assertMainSessionId(sessionId) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SessionCommunicationDataSchema,
3
3
  WorkbenchOperationStatusSchema
4
- } from "./chunk-KBI5IWPR.js";
4
+ } from "./chunk-LO4ZRE77.js";
5
5
 
6
6
  // src/session-operations.ts
7
7
  import { createHash, randomUUID } from "node:crypto";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  SessionOperationError
3
- } from "./chunk-7ZYBES47.js";
3
+ } from "./chunk-3OIHMMDF.js";
4
4
  import {
5
5
  SESSION_NAME_MAX_LENGTH,
6
6
  SessionNameSchema
7
- } from "./chunk-KBI5IWPR.js";
7
+ } from "./chunk-LO4ZRE77.js";
8
8
 
9
9
  // src/coding-agent-adapter.ts
10
10
  var CODING_AGENT_IDS = ["copilot", "pi", "codex", "claude", "acp"];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  IdSchema
3
- } from "./chunk-KBI5IWPR.js";
3
+ } from "./chunk-LO4ZRE77.js";
4
4
 
5
5
  // src/data-directory.ts
6
6
  import { randomUUID } from "node:crypto";
@@ -112,7 +112,8 @@ var PeerChatRequestSchema = z2.object({
112
112
  sessionId: IdSchema,
113
113
  targetMachineId: IdSchema,
114
114
  targetSessionId: IdSchema,
115
- prompt: z2.string().trim().min(1).max(16e3)
115
+ prompt: z2.string().trim().min(1).max(16e3),
116
+ encryptedGroupId: z2.uuid().optional()
116
117
  });
117
118
  var PeerConversationSchema = z2.object({
118
119
  contextId: IdSchema,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ConversationNormalizer
3
- } from "./chunk-LT5ULDVT.js";
3
+ } from "./chunk-ZDKBJFA2.js";
4
4
  import {
5
5
  isContentfulAssistant
6
- } from "./chunk-IPJWNGNK.js";
6
+ } from "./chunk-NDEJOXSX.js";
7
7
  import {
8
8
  SessionAnalyticsRequestSchema,
9
9
  SessionTimelinePageSchema
10
- } from "./chunk-KBI5IWPR.js";
10
+ } from "./chunk-LO4ZRE77.js";
11
11
 
12
12
  // src/copilot-session-compatibility.ts
13
13
  import {
@@ -300,6 +300,7 @@ var AnalyticsCommandSchema = z2.discriminatedUnion("operation", [
300
300
  z2.object({ operation: z2.literal("observe"), observations: z2.array(Observation).max(32), gaps: z2.array(Gap) }),
301
301
  z2.object({ operation: z2.literal("index"), ...History }),
302
302
  z2.object({ operation: z2.literal("read"), ...History, request: SessionAnalyticsRequestSchema }),
303
+ z2.object({ operation: z2.literal("telemetry"), ...History }),
303
304
  z2.object({ operation: z2.literal("remove"), sessionId: SessionId }),
304
305
  z2.object({ operation: z2.literal("close") })
305
306
  ]);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CODING_AGENT_IDS
3
- } from "./chunk-3LEPYV7Y.js";
3
+ } from "./chunk-5DVJ7Y5W.js";
4
4
  import {
5
5
  SECURE_MESSAGE_MAX_CIPHERTEXT_LENGTH
6
- } from "./chunk-KBI5IWPR.js";
6
+ } from "./chunk-LO4ZRE77.js";
7
7
 
8
8
  // src/agent-selection.ts
9
9
  import { z } from "zod";