@cuylabs/agent-core 4.3.0 → 4.4.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.
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-TPZ37IWI.js";
4
4
  import {
5
5
  createLocalDispatchRuntime
6
- } from "./chunk-HSUPTXNV.js";
6
+ } from "./chunk-5YUO2GT2.js";
7
7
  import {
8
8
  Tool
9
9
  } from "./chunk-Q742PSH3.js";
@@ -7,6 +7,7 @@ import {
7
7
  ensureNonEmpty,
8
8
  mergeInspection
9
9
  } from "../chunk-JZRLCTSD.js";
10
+ import "../chunk-SZ2XBPTW.js";
10
11
  import {
11
12
  DEFAULT_DISPATCH_TOOL_IDS,
12
13
  DEFAULT_LOCAL_DISPATCH_CONCURRENCY,
@@ -15,10 +16,9 @@ import {
15
16
  DISPATCH_STATES,
16
17
  createDispatchTools,
17
18
  createLocalDispatchRuntime
18
- } from "../chunk-HSUPTXNV.js";
19
- import "../chunk-SZ2XBPTW.js";
20
- import "../chunk-Q742PSH3.js";
19
+ } from "../chunk-5YUO2GT2.js";
21
20
  import "../chunk-H3GRHFFG.js";
21
+ import "../chunk-Q742PSH3.js";
22
22
  export {
23
23
  DEFAULT_DISPATCH_TOOL_IDS,
24
24
  DEFAULT_LOCAL_DISPATCH_CONCURRENCY,
package/dist/index.js CHANGED
@@ -1,40 +1,3 @@
1
- import {
2
- DEFAULT_SUBAGENT_CONCURRENCY,
3
- DEFAULT_SUBAGENT_DEPTH,
4
- DEFAULT_SUBAGENT_SESSION_PREFIX,
5
- LOCAL_SUBAGENT_BACKEND,
6
- SUBAGENT_TOOL_IDS,
7
- clearInstalledSubAgents,
8
- configureSubAgents,
9
- createCloseAgentTool,
10
- createInvokeAgentTool,
11
- createSubAgentTools,
12
- createWaitAgentTool,
13
- discoverSubAgentRoles,
14
- formatAsyncSpawnedResult,
15
- formatCancelledAgentResult,
16
- formatCloseAlreadyResolvedResult,
17
- formatCloseMissingAgentResult,
18
- formatInvalidAgentTypeResult,
19
- formatMissingAgentsResult,
20
- formatSpawnBlockedResult,
21
- formatSyncSubAgentErrorResult,
22
- formatSyncSubAgentResult,
23
- formatWaitErrorResult,
24
- formatWaitResult,
25
- formatWaitTimeoutResult,
26
- getConfiguredSubAgents,
27
- getInstalledSubAgentBackend,
28
- getProjectSubAgentRolesDir,
29
- getUserSubAgentRolesDir,
30
- installLocalSubAgents,
31
- installSubAgentTools,
32
- isMarkdownSubAgentRole,
33
- parseMarkdownSubAgentRole,
34
- parseSubAgentRoleFrontmatter,
35
- parseSubAgentToolSpec,
36
- toSubAgentRole
37
- } from "./chunk-BJC46FIF.js";
38
1
  import {
39
2
  InMemoryMailboxStore,
40
3
  InMemoryTaskBoardStore,
@@ -87,16 +50,6 @@ import {
87
50
  filterTools,
88
51
  mergeProfiles
89
52
  } from "./chunk-TIHPYVAJ.js";
90
- import {
91
- Profiles,
92
- careful,
93
- code,
94
- explore,
95
- plan,
96
- quick,
97
- review,
98
- watch
99
- } from "./chunk-TPZ37IWI.js";
100
53
  import {
101
54
  DEFAULT_INSTRUCTION_PATTERNS,
102
55
  DEFAULT_MAX_DEPTH,
@@ -140,6 +93,53 @@ import {
140
93
  loadSkillMetadata,
141
94
  parseFrontmatter
142
95
  } from "./chunk-I7EJGKUP.js";
96
+ import {
97
+ DEFAULT_SUBAGENT_CONCURRENCY,
98
+ DEFAULT_SUBAGENT_DEPTH,
99
+ DEFAULT_SUBAGENT_SESSION_PREFIX,
100
+ LOCAL_SUBAGENT_BACKEND,
101
+ SUBAGENT_TOOL_IDS,
102
+ clearInstalledSubAgents,
103
+ configureSubAgents,
104
+ createCloseAgentTool,
105
+ createInvokeAgentTool,
106
+ createSubAgentTools,
107
+ createWaitAgentTool,
108
+ discoverSubAgentRoles,
109
+ formatAsyncSpawnedResult,
110
+ formatCancelledAgentResult,
111
+ formatCloseAlreadyResolvedResult,
112
+ formatCloseMissingAgentResult,
113
+ formatInvalidAgentTypeResult,
114
+ formatMissingAgentsResult,
115
+ formatSpawnBlockedResult,
116
+ formatSyncSubAgentErrorResult,
117
+ formatSyncSubAgentResult,
118
+ formatWaitErrorResult,
119
+ formatWaitResult,
120
+ formatWaitTimeoutResult,
121
+ getConfiguredSubAgents,
122
+ getInstalledSubAgentBackend,
123
+ getProjectSubAgentRolesDir,
124
+ getUserSubAgentRolesDir,
125
+ installLocalSubAgents,
126
+ installSubAgentTools,
127
+ isMarkdownSubAgentRole,
128
+ parseMarkdownSubAgentRole,
129
+ parseSubAgentRoleFrontmatter,
130
+ parseSubAgentToolSpec,
131
+ toSubAgentRole
132
+ } from "./chunk-3NHYWR2V.js";
133
+ import {
134
+ Profiles,
135
+ careful,
136
+ code,
137
+ explore,
138
+ plan,
139
+ quick,
140
+ review,
141
+ watch
142
+ } from "./chunk-TPZ37IWI.js";
143
143
  import {
144
144
  createCompositeDispatchTaskExecutor,
145
145
  createDispatchExternalTaskControl,
@@ -149,6 +149,9 @@ import {
149
149
  ensureNonEmpty,
150
150
  mergeInspection
151
151
  } from "./chunk-JZRLCTSD.js";
152
+ import {
153
+ sleep
154
+ } from "./chunk-SZ2XBPTW.js";
152
155
  import {
153
156
  DEFAULT_DISPATCH_TOOL_IDS,
154
157
  DEFAULT_LOCAL_DISPATCH_CONCURRENCY,
@@ -161,17 +164,7 @@ import {
161
164
  ensureSessionLoaded,
162
165
  getVisibleSessionMessages,
163
166
  repairOrphanedToolCalls
164
- } from "./chunk-HSUPTXNV.js";
165
- import {
166
- sleep
167
- } from "./chunk-SZ2XBPTW.js";
168
- import {
169
- MAX_BYTES,
170
- MAX_LINES,
171
- Tool,
172
- normalizeToolReplayPolicy,
173
- truncateOutput
174
- } from "./chunk-Q742PSH3.js";
167
+ } from "./chunk-5YUO2GT2.js";
175
168
  import {
176
169
  FileStorage,
177
170
  LocalSessionTurnLock,
@@ -200,6 +193,13 @@ import {
200
193
  toJSONL,
201
194
  toJSONLBatch
202
195
  } from "./chunk-H3GRHFFG.js";
196
+ import {
197
+ MAX_BYTES,
198
+ MAX_LINES,
199
+ Tool,
200
+ normalizeToolReplayPolicy,
201
+ truncateOutput
202
+ } from "./chunk-Q742PSH3.js";
203
203
  import {
204
204
  createEventBus
205
205
  } from "./chunk-2TTOLHBT.js";
@@ -34,11 +34,11 @@ import {
34
34
  parseSubAgentRoleFrontmatter,
35
35
  parseSubAgentToolSpec,
36
36
  toSubAgentRole
37
- } from "../chunk-BJC46FIF.js";
37
+ } from "../chunk-3NHYWR2V.js";
38
38
  import "../chunk-TPZ37IWI.js";
39
- import "../chunk-HSUPTXNV.js";
40
- import "../chunk-Q742PSH3.js";
39
+ import "../chunk-5YUO2GT2.js";
41
40
  import "../chunk-H3GRHFFG.js";
41
+ import "../chunk-Q742PSH3.js";
42
42
  export {
43
43
  DEFAULT_SUBAGENT_CONCURRENCY,
44
44
  DEFAULT_SUBAGENT_DEPTH,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuylabs/agent-core",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "Embeddable AI agent infrastructure — execution, sessions, tools, skills, dispatch, tracing",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,10 +1,10 @@
1
- import {
2
- Tool
3
- } from "./chunk-Q742PSH3.js";
4
1
  import {
5
2
  buildEntryPath,
6
3
  deserializeMessage
7
4
  } from "./chunk-H3GRHFFG.js";
5
+ import {
6
+ Tool
7
+ } from "./chunk-Q742PSH3.js";
8
8
 
9
9
  // src/agent/session.ts
10
10
  async function ensureSessionLoaded(options) {