@agentknight/sdk 0.9.44 → 0.9.45

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,6 +1,6 @@
1
1
  import {
2
2
  IdSchema
3
- } from "./chunk-W6TZVD7W.js";
3
+ } from "./chunk-DUMC5F2D.js";
4
4
 
5
5
  // src/data-directory.ts
6
6
  import { randomUUID } from "node:crypto";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentSessionRenameError,
3
3
  validateSessionName
4
- } from "./chunk-UNRPSTRM.js";
4
+ } from "./chunk-7A2SQAZ7.js";
5
5
  import {
6
6
  ConversationItemSchema,
7
7
  GroupChatInfoSchema,
8
8
  GroupChatParticipantSchema,
9
9
  SESSION_TIMELINE_PAGE_SIZE,
10
10
  SessionSummarySchema
11
- } from "./chunk-W6TZVD7W.js";
11
+ } from "./chunk-DUMC5F2D.js";
12
12
 
13
13
  // src/group-chat.ts
14
14
  import { createHash, randomUUID } from "node:crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SessionAssistantPreviewSchema,
3
3
  SessionUserPreviewSchema
4
- } from "./chunk-W6TZVD7W.js";
4
+ } from "./chunk-DUMC5F2D.js";
5
5
 
6
6
  // src/assistant-preview.ts
7
7
  function isContentfulAssistant(item) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SessionOperationError
3
- } from "./chunk-UNRPSTRM.js";
3
+ } from "./chunk-7A2SQAZ7.js";
4
4
 
5
5
  // src/adapters/copilot/runtime/session-identity.ts
6
6
  function assertMainSessionId(sessionId) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isContentfulAssistant
3
- } from "./chunk-AK3YVBEP.js";
3
+ } from "./chunk-QBKKQQCB.js";
4
4
  import {
5
5
  SessionOperationError
6
- } from "./chunk-UNRPSTRM.js";
6
+ } from "./chunk-7A2SQAZ7.js";
7
7
  import {
8
8
  CONVERSATION_SOURCE_ID_LIMIT,
9
9
  SESSION_DIRECTORY_LIST_OPERATION,
@@ -23,7 +23,7 @@ import {
23
23
  WorkbenchInsightsSchema,
24
24
  WorkbenchQueueMutationResultSchema,
25
25
  WorkbenchQueueSnapshotSchema
26
- } from "./chunk-W6TZVD7W.js";
26
+ } from "./chunk-DUMC5F2D.js";
27
27
 
28
28
  // src/operation-diagnostics.ts
29
29
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-EIFNERXM.js";
4
4
  import {
5
5
  latestPreviewItems
6
- } from "./chunk-AK3YVBEP.js";
6
+ } from "./chunk-QBKKQQCB.js";
7
7
  import {
8
8
  UnsupportedAgentOperationError,
9
9
  validateSessionName
10
- } from "./chunk-UNRPSTRM.js";
10
+ } from "./chunk-7A2SQAZ7.js";
11
11
  import {
12
12
  ConversationItemSchema,
13
13
  InteractionRequestSchema,
14
14
  InteractionResponseSchema,
15
15
  SESSION_TIMELINE_PAGE_SIZE,
16
16
  SessionSummarySchema
17
- } from "./chunk-W6TZVD7W.js";
17
+ } from "./chunk-DUMC5F2D.js";
18
18
 
19
19
  // src/claude-adapter.ts
20
20
  import { randomUUID as randomUUID2 } from "node:crypto";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latestPreviewItems
3
- } from "./chunk-AK3YVBEP.js";
3
+ } from "./chunk-QBKKQQCB.js";
4
4
  import {
5
5
  UnsupportedAgentOperationError
6
- } from "./chunk-UNRPSTRM.js";
6
+ } from "./chunk-7A2SQAZ7.js";
7
7
  import {
8
8
  ConversationItemSchema,
9
9
  InteractionRequestSchema,
10
10
  SESSION_TIMELINE_PAGE_SIZE,
11
11
  SessionSummarySchema
12
- } from "./chunk-W6TZVD7W.js";
12
+ } from "./chunk-DUMC5F2D.js";
13
13
 
14
14
  // src/codex-adapter.ts
15
15
  import { randomUUID } from "node:crypto";
@@ -18,25 +18,25 @@ import {
18
18
  recordTimelineSyncDiagnostic,
19
19
  resolveGitProjectIdentity,
20
20
  sanitizeGitRemoteUrl
21
- } from "./chunk-EWXFUECA.js";
21
+ } from "./chunk-WAY4EXDI.js";
22
22
  import {
23
23
  assertMainSessionId,
24
24
  isResearchSessionId
25
- } from "./chunk-ZST7M4CD.js";
25
+ } from "./chunk-TKIZWXMQ.js";
26
26
  import {
27
27
  GroupChatError,
28
28
  GroupChatMessageSchema,
29
29
  GroupChatRuntime
30
- } from "./chunk-LRSHP7WN.js";
30
+ } from "./chunk-OPUBIQCO.js";
31
31
  import {
32
32
  isContentfulAssistant
33
- } from "./chunk-AK3YVBEP.js";
33
+ } from "./chunk-QBKKQQCB.js";
34
34
  import {
35
35
  AgentSessionRenameError,
36
36
  SessionOperationError,
37
37
  TimelinePageBudgetError,
38
38
  validateSessionName
39
- } from "./chunk-UNRPSTRM.js";
39
+ } from "./chunk-7A2SQAZ7.js";
40
40
  import {
41
41
  ConversationItemSchema,
42
42
  CopilotModelOptionSchema,
@@ -57,7 +57,7 @@ import {
57
57
  WorkbenchScheduleEntrySchema,
58
58
  WorkbenchScheduleProposalSchema,
59
59
  WorkbenchScheduleSnapshotSchema
60
- } from "./chunk-W6TZVD7W.js";
60
+ } from "./chunk-DUMC5F2D.js";
61
61
 
62
62
  // src/copilot-adapter.ts
63
63
  import { createHash as createHash4, randomUUID as randomUUID6 } from "node:crypto";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AgentSelectionSchema,
3
3
  assertSelectionSnapshotFits
4
- } from "./chunk-4UAMAGVT.js";
4
+ } from "./chunk-DCY33KQC.js";
5
5
  import {
6
6
  isResearchSessionId
7
- } from "./chunk-ZST7M4CD.js";
7
+ } from "./chunk-TKIZWXMQ.js";
8
8
  import {
9
9
  GroupChatError
10
- } from "./chunk-LRSHP7WN.js";
10
+ } from "./chunk-OPUBIQCO.js";
11
11
  import {
12
12
  AgentModelListingError,
13
13
  AgentSessionRenameError,
@@ -16,11 +16,11 @@ import {
16
16
  UnsupportedAgentOperationError,
17
17
  captureWorkbenchAccess,
18
18
  validateSessionName
19
- } from "./chunk-UNRPSTRM.js";
19
+ } from "./chunk-7A2SQAZ7.js";
20
20
  import {
21
21
  InteractionResponseSchema,
22
22
  SessionSummarySchema
23
- } from "./chunk-W6TZVD7W.js";
23
+ } from "./chunk-DUMC5F2D.js";
24
24
 
25
25
  // src/managed-agent-adapter.ts
26
26
  import { createHash, randomUUID } from "node:crypto";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  latestPreviewItems
3
- } from "./chunk-AK3YVBEP.js";
3
+ } from "./chunk-QBKKQQCB.js";
4
4
  import {
5
5
  AgentSessionRenameError,
6
6
  UnsupportedAgentOperationError,
7
7
  validateSessionName
8
- } from "./chunk-UNRPSTRM.js";
8
+ } from "./chunk-7A2SQAZ7.js";
9
9
  import {
10
10
  InteractionRequestSchema,
11
11
  REASONING_EFFORTS,
12
12
  SESSION_TIMELINE_PAGE_SIZE
13
- } from "./chunk-W6TZVD7W.js";
13
+ } from "./chunk-DUMC5F2D.js";
14
14
 
15
15
  // src/pi-adapter.ts
16
16
  import { createHash as createHash2, randomUUID } from "node:crypto";
package/dist/index.js CHANGED
@@ -4,12 +4,12 @@ import {
4
4
  PeerChatRequestSchema,
5
5
  PeerChatResultSchema,
6
6
  validateDataDirectory
7
- } from "./chunks/chunk-ZGO2OSQZ.js";
7
+ } from "./chunks/chunk-GRXWNM6S.js";
8
8
  import {
9
9
  AgentSelectionSchema,
10
10
  assertSelectionSnapshotFits,
11
11
  supportsAgentSelection
12
- } from "./chunks/chunk-4UAMAGVT.js";
12
+ } from "./chunks/chunk-DCY33KQC.js";
13
13
  import {
14
14
  ConversationNormalizer,
15
15
  LiveTimelineProjection,
@@ -31,11 +31,11 @@ import {
31
31
  resolveGitProjectIdentity,
32
32
  sessionRestoreFailure,
33
33
  validateOperationResponse
34
- } from "./chunks/chunk-EWXFUECA.js";
34
+ } from "./chunks/chunk-WAY4EXDI.js";
35
35
  import {
36
36
  GROUP_CHAT_MAX_TURNS,
37
37
  GroupChatError
38
- } from "./chunks/chunk-LRSHP7WN.js";
38
+ } from "./chunks/chunk-OPUBIQCO.js";
39
39
  import {
40
40
  detectClaude,
41
41
  detectCopilot,
@@ -46,7 +46,7 @@ import {
46
46
  assistantPreview,
47
47
  isContentfulAssistant,
48
48
  userPreview
49
- } from "./chunks/chunk-AK3YVBEP.js";
49
+ } from "./chunks/chunk-QBKKQQCB.js";
50
50
  import {
51
51
  AgentModelListingError,
52
52
  AgentSessionRenameError,
@@ -57,7 +57,7 @@ import {
57
57
  UnsupportedAgentOperationError,
58
58
  captureResearchAccess,
59
59
  captureWorkbenchAccess
60
- } from "./chunks/chunk-UNRPSTRM.js";
60
+ } from "./chunks/chunk-7A2SQAZ7.js";
61
61
  import {
62
62
  A2aRelayRequestSchema,
63
63
  A2aRelayResponseSchema,
@@ -241,7 +241,7 @@ import {
241
241
  sessionCommunicationError,
242
242
  sessionCommunicationOperationCapability,
243
243
  workbenchCapability
244
- } from "./chunks/chunk-W6TZVD7W.js";
244
+ } from "./chunks/chunk-DUMC5F2D.js";
245
245
 
246
246
  // src/initialize.ts
247
247
  import { createHash as createHash16 } from "node:crypto";
@@ -279,7 +279,7 @@ async function createCodingAgentAdapter(config, onDiagnostic, owner) {
279
279
  switch (engine.kind) {
280
280
  case "managed": {
281
281
  if (owner === void 0) throw new Error("Managed coding agents require the PC owner identity");
282
- const { ManagedCodingAgentAdapter } = await import("./chunks/managed-agent-adapter-HDLOSSHZ.js");
282
+ const { ManagedCodingAgentAdapter } = await import("./chunks/managed-agent-adapter-UYLBGRNG.js");
283
283
  return new ManagedCodingAgentAdapter({
284
284
  dataDirectory: config.dataDirectory,
285
285
  owner,
@@ -336,7 +336,7 @@ async function createCodingAgentAdapter(config, onDiagnostic, owner) {
336
336
  });
337
337
  }
338
338
  case "copilot": {
339
- const { GithubCopilotAdapter } = await import("./chunks/copilot-adapter-Y5W4ZUFD.js");
339
+ const { GithubCopilotAdapter } = await import("./chunks/copilot-adapter-6PV52BVH.js");
340
340
  if (owner !== void 0) {
341
341
  return new GithubCopilotAdapter(void 0, void 0, void 0, {
342
342
  dataDirectory: config.dataDirectory,
@@ -356,13 +356,13 @@ async function createCodingAgentAdapter(config, onDiagnostic, owner) {
356
356
  }
357
357
  case "pi": {
358
358
  assertPiRuntimeSupported();
359
- const { PiCodingAgentAdapter } = await import("./chunks/pi-adapter-6EF6Z5CP.js");
359
+ const { PiCodingAgentAdapter } = await import("./chunks/pi-adapter-5PZT5YQN.js");
360
360
  return new PiCodingAgentAdapter(
361
361
  engine.agentDirectory === void 0 ? {} : { agentDirectory: resolve(engine.agentDirectory) }
362
362
  );
363
363
  }
364
364
  case "codex": {
365
- const { CodexCodingAgentAdapter } = await import("./chunks/codex-adapter-MMQK47KY.js");
365
+ const { CodexCodingAgentAdapter } = await import("./chunks/codex-adapter-IR5E7AMV.js");
366
366
  return new CodexCodingAgentAdapter({
367
367
  dataDirectory: resolve(config.dataDirectory, "coding-agents"),
368
368
  ...engine.command === void 0 ? {} : { command: engine.command },
@@ -370,14 +370,14 @@ async function createCodingAgentAdapter(config, onDiagnostic, owner) {
370
370
  });
371
371
  }
372
372
  case "claude": {
373
- const { ClaudeCodingAgentAdapter } = await import("./chunks/claude-adapter-A5EFNV5S.js");
373
+ const { ClaudeCodingAgentAdapter } = await import("./chunks/claude-adapter-CBEKRKPT.js");
374
374
  return new ClaudeCodingAgentAdapter({
375
375
  dataDirectory: resolve(config.dataDirectory, "coding-agents"),
376
376
  ...onDiagnostic === void 0 ? {} : { onDiagnostic }
377
377
  });
378
378
  }
379
379
  case "acp": {
380
- const { AcpCodingAgentAdapter } = await import("./chunks/acp-adapter-JKSOVQJ7.js");
380
+ const { AcpCodingAgentAdapter } = await import("./chunks/acp-adapter-3CQCDP5H.js");
381
381
  return new AcpCodingAgentAdapter({
382
382
  command: engine.command,
383
383
  args: engine.args,
package/dist/runtime.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  PEER_CHAT_TIMEOUT_MS,
4
4
  PeerChatRequestSchema,
5
5
  PeerChatResultSchema
6
- } from "./chunks/chunk-ZGO2OSQZ.js";
7
- import "./chunks/chunk-W6TZVD7W.js";
6
+ } from "./chunks/chunk-GRXWNM6S.js";
7
+ import "./chunks/chunk-DUMC5F2D.js";
8
8
  export {
9
9
  DataDirectoryLease,
10
10
  PEER_CHAT_TIMEOUT_MS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentknight/sdk",
3
- "version": "0.9.44",
3
+ "version": "0.9.45",
4
4
  "description": "AgentKnight runtime SDK for local and remote coding sessions",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",