@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.
- package/LICENSE +201 -201
- package/dist/chunks/{acp-adapter-JKSOVQJ7.js → acp-adapter-3CQCDP5H.js} +3 -3
- package/dist/chunks/{chunk-UNRPSTRM.js → chunk-7A2SQAZ7.js} +1 -1
- package/dist/chunks/{chunk-4UAMAGVT.js → chunk-DCY33KQC.js} +2 -2
- package/dist/chunks/{chunk-W6TZVD7W.js → chunk-DUMC5F2D.js} +338 -317
- package/dist/chunks/{chunk-ZGO2OSQZ.js → chunk-GRXWNM6S.js} +1 -1
- package/dist/chunks/{chunk-LRSHP7WN.js → chunk-OPUBIQCO.js} +2 -2
- package/dist/chunks/{chunk-AK3YVBEP.js → chunk-QBKKQQCB.js} +1 -1
- package/dist/chunks/{chunk-ZST7M4CD.js → chunk-TKIZWXMQ.js} +1 -1
- package/dist/chunks/{chunk-EWXFUECA.js → chunk-WAY4EXDI.js} +3 -3
- package/dist/chunks/{claude-adapter-A5EFNV5S.js → claude-adapter-CBEKRKPT.js} +3 -3
- package/dist/chunks/{codex-adapter-MMQK47KY.js → codex-adapter-IR5E7AMV.js} +3 -3
- package/dist/chunks/{copilot-adapter-Y5W4ZUFD.js → copilot-adapter-6PV52BVH.js} +6 -6
- package/dist/chunks/{managed-agent-adapter-HDLOSSHZ.js → managed-agent-adapter-UYLBGRNG.js} +5 -5
- package/dist/chunks/{pi-adapter-6EF6Z5CP.js → pi-adapter-5PZT5YQN.js} +3 -3
- package/dist/index.js +13 -13
- package/dist/runtime.js +2 -2
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentSessionRenameError,
|
|
3
3
|
validateSessionName
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
11
|
+
} from "./chunk-DUMC5F2D.js";
|
|
12
12
|
|
|
13
13
|
// src/group-chat.ts
|
|
14
14
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isContentfulAssistant
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QBKKQQCB.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionOperationError
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
6
|
+
} from "./chunk-QBKKQQCB.js";
|
|
7
7
|
import {
|
|
8
8
|
UnsupportedAgentOperationError,
|
|
9
9
|
validateSessionName
|
|
10
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
3
|
+
} from "./chunk-QBKKQQCB.js";
|
|
4
4
|
import {
|
|
5
5
|
UnsupportedAgentOperationError
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
21
|
+
} from "./chunk-WAY4EXDI.js";
|
|
22
22
|
import {
|
|
23
23
|
assertMainSessionId,
|
|
24
24
|
isResearchSessionId
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TKIZWXMQ.js";
|
|
26
26
|
import {
|
|
27
27
|
GroupChatError,
|
|
28
28
|
GroupChatMessageSchema,
|
|
29
29
|
GroupChatRuntime
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OPUBIQCO.js";
|
|
31
31
|
import {
|
|
32
32
|
isContentfulAssistant
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QBKKQQCB.js";
|
|
34
34
|
import {
|
|
35
35
|
AgentSessionRenameError,
|
|
36
36
|
SessionOperationError,
|
|
37
37
|
TimelinePageBudgetError,
|
|
38
38
|
validateSessionName
|
|
39
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
4
|
+
} from "./chunk-DCY33KQC.js";
|
|
5
5
|
import {
|
|
6
6
|
isResearchSessionId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TKIZWXMQ.js";
|
|
8
8
|
import {
|
|
9
9
|
GroupChatError
|
|
10
|
-
} from "./chunk-
|
|
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-
|
|
19
|
+
} from "./chunk-7A2SQAZ7.js";
|
|
20
20
|
import {
|
|
21
21
|
InteractionResponseSchema,
|
|
22
22
|
SessionSummarySchema
|
|
23
|
-
} from "./chunk-
|
|
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-
|
|
3
|
+
} from "./chunk-QBKKQQCB.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentSessionRenameError,
|
|
6
6
|
UnsupportedAgentOperationError,
|
|
7
7
|
validateSessionName
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7A2SQAZ7.js";
|
|
9
9
|
import {
|
|
10
10
|
InteractionRequestSchema,
|
|
11
11
|
REASONING_EFFORTS,
|
|
12
12
|
SESSION_TIMELINE_PAGE_SIZE
|
|
13
|
-
} from "./chunk-
|
|
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-
|
|
7
|
+
} from "./chunks/chunk-GRXWNM6S.js";
|
|
8
8
|
import {
|
|
9
9
|
AgentSelectionSchema,
|
|
10
10
|
assertSelectionSnapshotFits,
|
|
11
11
|
supportsAgentSelection
|
|
12
|
-
} from "./chunks/chunk-
|
|
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-
|
|
34
|
+
} from "./chunks/chunk-WAY4EXDI.js";
|
|
35
35
|
import {
|
|
36
36
|
GROUP_CHAT_MAX_TURNS,
|
|
37
37
|
GroupChatError
|
|
38
|
-
} from "./chunks/chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
7
|
-
import "./chunks/chunk-
|
|
6
|
+
} from "./chunks/chunk-GRXWNM6S.js";
|
|
7
|
+
import "./chunks/chunk-DUMC5F2D.js";
|
|
8
8
|
export {
|
|
9
9
|
DataDirectoryLease,
|
|
10
10
|
PEER_CHAT_TIMEOUT_MS,
|