@theokit/sdk 2.30.0 → 3.0.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.
- package/CHANGELOG.md +10 -0
- package/dist/a2a/index.cjs +8 -1
- package/dist/a2a/index.cjs.map +1 -1
- package/dist/a2a/index.d.cts +1 -1
- package/dist/a2a/index.d.ts +1 -1
- package/dist/a2a/index.js +8 -1
- package/dist/a2a/index.js.map +1 -1
- package/dist/a2a/subagent.d.cts +5 -1
- package/dist/a2a/subagent.d.ts +5 -1
- package/dist/agent-factory.d.ts +5 -20
- package/dist/concurrency.cjs +10 -1
- package/dist/concurrency.cjs.map +1 -1
- package/dist/concurrency.d.cts +7 -1
- package/dist/concurrency.d.ts +7 -1
- package/dist/concurrency.js +10 -1
- package/dist/concurrency.js.map +1 -1
- package/dist/create-skill.d.ts +7 -7
- package/dist/{cron-BNHJywtl.d.ts → cron-BLRe166v.d.ts} +19 -15
- package/dist/{cron-t4oKI2Is.d.cts → cron-C2jWAvlQ.d.cts} +19 -15
- package/dist/cron.d.cts +1 -1
- package/dist/cron.d.ts +1 -1
- package/dist/define-tool.d.ts +12 -1
- package/dist/index.cjs +90 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +60 -114
- package/dist/index.d.ts +60 -114
- package/dist/index.js +79 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/plugins/index.d.cts +1 -1
- package/dist/internal/plugins/index.d.ts +1 -1
- package/dist/internal/plugins/types.d.cts +4 -0
- package/dist/internal/plugins/types.d.ts +4 -0
- package/dist/retry.cjs +10 -1
- package/dist/retry.cjs.map +1 -1
- package/dist/retry.d.cts +12 -1
- package/dist/retry.d.ts +12 -1
- package/dist/retry.js +10 -1
- package/dist/retry.js.map +1 -1
- package/dist/server/auth/index.cjs +8 -1
- package/dist/server/auth/index.cjs.map +1 -1
- package/dist/server/auth/index.d.cts +1 -1
- package/dist/server/auth/index.d.ts +1 -1
- package/dist/server/auth/index.js +8 -1
- package/dist/server/auth/index.js.map +1 -1
- package/dist/server/auth/orchestrator.d.cts +5 -1
- package/dist/server/auth/orchestrator.d.ts +5 -1
- package/dist/subscription/define-subscription.d.cts +5 -0
- package/dist/subscription/define-subscription.d.ts +5 -0
- package/dist/subscription/index.cjs +8 -1
- package/dist/subscription/index.cjs.map +1 -1
- package/dist/subscription/index.d.cts +1 -1
- package/dist/subscription/index.d.ts +1 -1
- package/dist/subscription/index.js +8 -1
- package/dist/subscription/index.js.map +1 -1
- package/package.json +1 -1
package/dist/a2a/index.d.cts
CHANGED
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
export type { ToolContextMessage } from "../types/agent-prims.js";
|
|
7
7
|
export { AgentMailbox } from "./agent-mailbox.js";
|
|
8
8
|
export { MessageBus, type RequestOptions } from "./message-bus.js";
|
|
9
|
-
export { type DelegationCompleteContext, type DelegationCompleteDecision, type DelegationStartContext, type DelegationStartDecision,
|
|
9
|
+
export { type DelegationCompleteContext, type DelegationCompleteDecision, type DelegationStartContext, type DelegationStartDecision, MaxDelegationDepthError, type MessageFilterArgs, SubAgent, type SubAgentSpec, } from "./subagent.js";
|
|
10
10
|
export type { A2AMessage, MessageHandler } from "./types.js";
|
package/dist/a2a/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
export type { ToolContextMessage } from "../types/agent-prims.js";
|
|
7
7
|
export { AgentMailbox } from "./agent-mailbox.js";
|
|
8
8
|
export { MessageBus, type RequestOptions } from "./message-bus.js";
|
|
9
|
-
export { type DelegationCompleteContext, type DelegationCompleteDecision, type DelegationStartContext, type DelegationStartDecision,
|
|
9
|
+
export { type DelegationCompleteContext, type DelegationCompleteDecision, type DelegationStartContext, type DelegationStartDecision, MaxDelegationDepthError, type MessageFilterArgs, SubAgent, type SubAgentSpec, } from "./subagent.js";
|
|
10
10
|
export type { A2AMessage, MessageHandler } from "./types.js";
|
package/dist/a2a/index.js
CHANGED
|
@@ -19151,7 +19151,14 @@ function defineSubAgent(spec, _parentDepth = 0) {
|
|
|
19151
19151
|
}
|
|
19152
19152
|
};
|
|
19153
19153
|
}
|
|
19154
|
+
var SubAgent = class {
|
|
19155
|
+
constructor() {
|
|
19156
|
+
}
|
|
19157
|
+
static create(spec, parentDepth = 0) {
|
|
19158
|
+
return defineSubAgent(spec, parentDepth);
|
|
19159
|
+
}
|
|
19160
|
+
};
|
|
19154
19161
|
|
|
19155
|
-
export { AgentMailbox, MaxDelegationDepthError, MessageBus,
|
|
19162
|
+
export { AgentMailbox, MaxDelegationDepthError, MessageBus, SubAgent };
|
|
19156
19163
|
//# sourceMappingURL=index.js.map
|
|
19157
19164
|
//# sourceMappingURL=index.js.map
|