@breign/db-schemas 0.1.94 → 0.1.96
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/dist/types/agent.d.ts +15 -0
- package/package.json +2 -2
- package/src/types/agent.ts +17 -0
package/dist/types/agent.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export type Agent = {
|
|
|
47
47
|
sandboxConfiguration?: AgentSandboxConfiguration;
|
|
48
48
|
computerUseConfiguration?: AgentComputerUseConfiguration;
|
|
49
49
|
agentCallConfiguration?: AgentCallConfiguration;
|
|
50
|
+
subtaskConfiguration?: AgentSubtaskConfiguration;
|
|
50
51
|
mcpExposureConfiguration?: AgentMcpExposureConfiguration;
|
|
51
52
|
builderMcpConfiguration?: AgentBuilderMcpConfiguration;
|
|
52
53
|
humanEscalationConfiguration?: AgentHumanEscalationConfiguration;
|
|
@@ -76,6 +77,20 @@ export type AgentCallConfiguration = {
|
|
|
76
77
|
enabled?: boolean;
|
|
77
78
|
allowedAgentIds?: string[];
|
|
78
79
|
};
|
|
80
|
+
/**
|
|
81
|
+
* Per-agent activation of subtasks: the agent may hand a self-contained piece of work to a fresh
|
|
82
|
+
* conversation of its own (the Subtask_run tool), optionally on one of allowedModels. Opt-in.
|
|
83
|
+
* An empty list leaves the agent's own model only.
|
|
84
|
+
*/
|
|
85
|
+
export type AgentSubtaskConfiguration = {
|
|
86
|
+
enabled?: boolean;
|
|
87
|
+
allowedModels?: AgentSubtaskModel[];
|
|
88
|
+
};
|
|
89
|
+
/** A model a subtask may run on: the provider, and the provider's `modelId`. */
|
|
90
|
+
export type AgentSubtaskModel = {
|
|
91
|
+
providerId: string;
|
|
92
|
+
modelId: string;
|
|
93
|
+
};
|
|
79
94
|
/**
|
|
80
95
|
* Reachability from local agents (Claude Code, Pi, Hermes…) through Breign's MCP server.
|
|
81
96
|
* Opt-in: an agent nobody exposed stays invisible to `list_agents` and refuses `ask_agent`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breign/db-schemas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.96",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"typescript": "^5.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@breign/client": "1.0.
|
|
17
|
+
"@breign/client": "1.0.212",
|
|
18
18
|
"prettier": "^3.5.3",
|
|
19
19
|
"zx": "^8.5.5"
|
|
20
20
|
}
|
package/src/types/agent.ts
CHANGED
|
@@ -40,6 +40,7 @@ export type Agent = {
|
|
|
40
40
|
sandboxConfiguration?: AgentSandboxConfiguration;
|
|
41
41
|
computerUseConfiguration?: AgentComputerUseConfiguration;
|
|
42
42
|
agentCallConfiguration?: AgentCallConfiguration;
|
|
43
|
+
subtaskConfiguration?: AgentSubtaskConfiguration;
|
|
43
44
|
mcpExposureConfiguration?: AgentMcpExposureConfiguration;
|
|
44
45
|
builderMcpConfiguration?: AgentBuilderMcpConfiguration;
|
|
45
46
|
humanEscalationConfiguration?: AgentHumanEscalationConfiguration;
|
|
@@ -74,6 +75,22 @@ export type AgentCallConfiguration = {
|
|
|
74
75
|
allowedAgentIds?: string[];
|
|
75
76
|
};
|
|
76
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Per-agent activation of subtasks: the agent may hand a self-contained piece of work to a fresh
|
|
80
|
+
* conversation of its own (the Subtask_run tool), optionally on one of allowedModels. Opt-in.
|
|
81
|
+
* An empty list leaves the agent's own model only.
|
|
82
|
+
*/
|
|
83
|
+
export type AgentSubtaskConfiguration = {
|
|
84
|
+
enabled?: boolean;
|
|
85
|
+
allowedModels?: AgentSubtaskModel[];
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/** A model a subtask may run on: the provider, and the provider's `modelId`. */
|
|
89
|
+
export type AgentSubtaskModel = {
|
|
90
|
+
providerId: string;
|
|
91
|
+
modelId: string;
|
|
92
|
+
};
|
|
93
|
+
|
|
77
94
|
/**
|
|
78
95
|
* Reachability from local agents (Claude Code, Pi, Hermes…) through Breign's MCP server.
|
|
79
96
|
* Opt-in: an agent nobody exposed stays invisible to `list_agents` and refuses `ask_agent`.
|