@treeseed/sdk 0.13.0-rc.57 → 0.13.0-rc.59
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/.treeseed-build-complete.json +1 -0
- package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -1
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -1
- package/dist/agent-capacity/validation/activity-profile.js +7 -3
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +222 -222
- package/dist/agent-capacity/validation/agent-definition-schema.js +1 -1
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +1 -2
- package/dist/capacity-provider/capability-ontology.d.ts +0 -5
- package/dist/capacity-provider/capability-ontology.js +0 -1
- package/dist/capacity-provider/contracts/governance.d.ts +46 -64
- package/dist/capacity-provider/core-capability-catalog.d.ts +2 -2
- package/dist/capacity-provider/core-capability-catalog.js +7 -21
- package/dist/capacity-provider/environment-catalog.d.ts +72 -72
- package/dist/capacity-provider/sandbox-contracts.d.ts +5 -0
- package/dist/capacity-provider/sandbox-contracts.js +1 -1
- package/dist/capacity-provider/sandbox.d.ts +1 -0
- package/dist/capacity-provider/sandbox.js +1 -0
- package/dist/capacity-provider/validation.d.ts +1 -3
- package/dist/capacity-provider/validation.js +6 -36
- package/dist/content/validation/content-model-schemas.d.ts +408 -408
- package/dist/content/validation/portable-content-data.d.ts +37 -37
- package/dist/operator-contracts/canonical-command-tree.js +11 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +0 -1
- package/dist/operator-contracts/control-plane-operations.d.ts +0 -1
- package/dist/types/agents/agent-activity-profile.d.ts +3 -3
- package/dist/types/agents/agent-trigger-kinds.d.ts +3 -4
- package/dist/types/agents/agent-trigger-kinds.js +1 -13
- package/package.json +5 -1
|
@@ -769,7 +769,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
769
769
|
blockExecutionWhenCreated?: boolean | undefined;
|
|
770
770
|
}>>;
|
|
771
771
|
execution: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
772
|
-
|
|
772
|
+
reasoningEffort: import("zod").ZodOptional<import("zod").ZodEnum<["minimal", "low", "medium", "high", "xhigh"]>>;
|
|
773
773
|
maxRuntimeSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
774
774
|
closeoutWarningSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
775
775
|
preparationSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -798,16 +798,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
798
798
|
allowedPaths: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
799
799
|
forbiddenPaths: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
800
800
|
}, "strict", import("zod").ZodTypeAny, {
|
|
801
|
-
requiredCapabilities?: string[] | undefined;
|
|
802
801
|
preparationSeconds?: number | undefined;
|
|
803
802
|
closeoutSeconds?: number | undefined;
|
|
804
803
|
closeoutWarningSeconds?: number | undefined;
|
|
805
804
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
806
|
-
|
|
807
|
-
amount: number;
|
|
808
|
-
unit: string;
|
|
809
|
-
enforceable?: boolean | undefined;
|
|
810
|
-
}[] | undefined;
|
|
805
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
811
806
|
maxRuntimeSeconds?: number | undefined;
|
|
812
807
|
maxRetries?: number | undefined;
|
|
813
808
|
verificationRequired?: boolean | undefined;
|
|
@@ -815,20 +810,20 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
815
810
|
warningTokens?: number | undefined;
|
|
816
811
|
maxCostAmount?: number | undefined;
|
|
817
812
|
costCurrency?: string | undefined;
|
|
813
|
+
nativeLimits?: {
|
|
814
|
+
amount: number;
|
|
815
|
+
unit: string;
|
|
816
|
+
enforceable?: boolean | undefined;
|
|
817
|
+
}[] | undefined;
|
|
818
818
|
pricingGeneration?: string | undefined;
|
|
819
819
|
allowedPaths?: string[] | undefined;
|
|
820
820
|
forbiddenPaths?: string[] | undefined;
|
|
821
821
|
}, {
|
|
822
|
-
requiredCapabilities?: string[] | undefined;
|
|
823
822
|
preparationSeconds?: number | undefined;
|
|
824
823
|
closeoutSeconds?: number | undefined;
|
|
825
824
|
closeoutWarningSeconds?: number | undefined;
|
|
826
825
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
827
|
-
|
|
828
|
-
amount: number;
|
|
829
|
-
unit: string;
|
|
830
|
-
enforceable?: boolean | undefined;
|
|
831
|
-
}[] | undefined;
|
|
826
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
832
827
|
maxRuntimeSeconds?: number | undefined;
|
|
833
828
|
maxRetries?: number | undefined;
|
|
834
829
|
verificationRequired?: boolean | undefined;
|
|
@@ -836,6 +831,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
836
831
|
warningTokens?: number | undefined;
|
|
837
832
|
maxCostAmount?: number | undefined;
|
|
838
833
|
costCurrency?: string | undefined;
|
|
834
|
+
nativeLimits?: {
|
|
835
|
+
amount: number;
|
|
836
|
+
unit: string;
|
|
837
|
+
enforceable?: boolean | undefined;
|
|
838
|
+
}[] | undefined;
|
|
839
839
|
pricingGeneration?: string | undefined;
|
|
840
840
|
allowedPaths?: string[] | undefined;
|
|
841
841
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -867,16 +867,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
867
867
|
denied?: string[] | undefined;
|
|
868
868
|
};
|
|
869
869
|
execution?: {
|
|
870
|
-
requiredCapabilities?: string[] | undefined;
|
|
871
870
|
preparationSeconds?: number | undefined;
|
|
872
871
|
closeoutSeconds?: number | undefined;
|
|
873
872
|
closeoutWarningSeconds?: number | undefined;
|
|
874
873
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
875
|
-
|
|
876
|
-
amount: number;
|
|
877
|
-
unit: string;
|
|
878
|
-
enforceable?: boolean | undefined;
|
|
879
|
-
}[] | undefined;
|
|
874
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
880
875
|
maxRuntimeSeconds?: number | undefined;
|
|
881
876
|
maxRetries?: number | undefined;
|
|
882
877
|
verificationRequired?: boolean | undefined;
|
|
@@ -884,6 +879,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
884
879
|
warningTokens?: number | undefined;
|
|
885
880
|
maxCostAmount?: number | undefined;
|
|
886
881
|
costCurrency?: string | undefined;
|
|
882
|
+
nativeLimits?: {
|
|
883
|
+
amount: number;
|
|
884
|
+
unit: string;
|
|
885
|
+
enforceable?: boolean | undefined;
|
|
886
|
+
}[] | undefined;
|
|
887
887
|
pricingGeneration?: string | undefined;
|
|
888
888
|
allowedPaths?: string[] | undefined;
|
|
889
889
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1039,16 +1039,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1039
1039
|
denied?: string[] | undefined;
|
|
1040
1040
|
};
|
|
1041
1041
|
execution?: {
|
|
1042
|
-
requiredCapabilities?: string[] | undefined;
|
|
1043
1042
|
preparationSeconds?: number | undefined;
|
|
1044
1043
|
closeoutSeconds?: number | undefined;
|
|
1045
1044
|
closeoutWarningSeconds?: number | undefined;
|
|
1046
1045
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1047
|
-
|
|
1048
|
-
amount: number;
|
|
1049
|
-
unit: string;
|
|
1050
|
-
enforceable?: boolean | undefined;
|
|
1051
|
-
}[] | undefined;
|
|
1046
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1052
1047
|
maxRuntimeSeconds?: number | undefined;
|
|
1053
1048
|
maxRetries?: number | undefined;
|
|
1054
1049
|
verificationRequired?: boolean | undefined;
|
|
@@ -1056,6 +1051,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1056
1051
|
warningTokens?: number | undefined;
|
|
1057
1052
|
maxCostAmount?: number | undefined;
|
|
1058
1053
|
costCurrency?: string | undefined;
|
|
1054
|
+
nativeLimits?: {
|
|
1055
|
+
amount: number;
|
|
1056
|
+
unit: string;
|
|
1057
|
+
enforceable?: boolean | undefined;
|
|
1058
|
+
}[] | undefined;
|
|
1059
1059
|
pricingGeneration?: string | undefined;
|
|
1060
1060
|
allowedPaths?: string[] | undefined;
|
|
1061
1061
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1211,16 +1211,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1211
1211
|
denied?: string[] | undefined;
|
|
1212
1212
|
};
|
|
1213
1213
|
execution?: {
|
|
1214
|
-
requiredCapabilities?: string[] | undefined;
|
|
1215
1214
|
preparationSeconds?: number | undefined;
|
|
1216
1215
|
closeoutSeconds?: number | undefined;
|
|
1217
1216
|
closeoutWarningSeconds?: number | undefined;
|
|
1218
1217
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1219
|
-
|
|
1220
|
-
amount: number;
|
|
1221
|
-
unit: string;
|
|
1222
|
-
enforceable?: boolean | undefined;
|
|
1223
|
-
}[] | undefined;
|
|
1218
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1224
1219
|
maxRuntimeSeconds?: number | undefined;
|
|
1225
1220
|
maxRetries?: number | undefined;
|
|
1226
1221
|
verificationRequired?: boolean | undefined;
|
|
@@ -1228,6 +1223,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1228
1223
|
warningTokens?: number | undefined;
|
|
1229
1224
|
maxCostAmount?: number | undefined;
|
|
1230
1225
|
costCurrency?: string | undefined;
|
|
1226
|
+
nativeLimits?: {
|
|
1227
|
+
amount: number;
|
|
1228
|
+
unit: string;
|
|
1229
|
+
enforceable?: boolean | undefined;
|
|
1230
|
+
}[] | undefined;
|
|
1231
1231
|
pricingGeneration?: string | undefined;
|
|
1232
1232
|
allowedPaths?: string[] | undefined;
|
|
1233
1233
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1383,16 +1383,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1383
1383
|
denied?: string[] | undefined;
|
|
1384
1384
|
};
|
|
1385
1385
|
execution?: {
|
|
1386
|
-
requiredCapabilities?: string[] | undefined;
|
|
1387
1386
|
preparationSeconds?: number | undefined;
|
|
1388
1387
|
closeoutSeconds?: number | undefined;
|
|
1389
1388
|
closeoutWarningSeconds?: number | undefined;
|
|
1390
1389
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1391
|
-
|
|
1392
|
-
amount: number;
|
|
1393
|
-
unit: string;
|
|
1394
|
-
enforceable?: boolean | undefined;
|
|
1395
|
-
}[] | undefined;
|
|
1390
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1396
1391
|
maxRuntimeSeconds?: number | undefined;
|
|
1397
1392
|
maxRetries?: number | undefined;
|
|
1398
1393
|
verificationRequired?: boolean | undefined;
|
|
@@ -1400,6 +1395,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1400
1395
|
warningTokens?: number | undefined;
|
|
1401
1396
|
maxCostAmount?: number | undefined;
|
|
1402
1397
|
costCurrency?: string | undefined;
|
|
1398
|
+
nativeLimits?: {
|
|
1399
|
+
amount: number;
|
|
1400
|
+
unit: string;
|
|
1401
|
+
enforceable?: boolean | undefined;
|
|
1402
|
+
}[] | undefined;
|
|
1403
1403
|
pricingGeneration?: string | undefined;
|
|
1404
1404
|
allowedPaths?: string[] | undefined;
|
|
1405
1405
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -320,12 +320,23 @@ const commandTree = {
|
|
|
320
320
|
branch("teams", [leaf("list"), { nodeType: "leaf", segment: "current", description: "Show the active team for this authenticated server session.", kind: "read", resultSchemaId: "treeseed.command.teams.current/v1", execution: unavailable() }, { nodeType: "leaf", segment: "use", description: "Select the active team for this authenticated server session.", kind: "mutation", arguments: [{ name: "team", description: "Team UUID or unambiguous slug.", required: true }], options: [planOption], authorization: { capability: "teams.read", confirmation: "never" }, resultSchemaId: "treeseed.command.teams.use/v1", execution: unavailable() }]),
|
|
321
321
|
branch("secrets", [leaf("list"), leaf("status"), leaf("unlock", "mutation", void 0, "credential"), leaf("lock", "mutation"), leaf("rotate", "mutation", void 0, "credential")]),
|
|
322
322
|
branch("dev", [
|
|
323
|
+
branch("host", [
|
|
324
|
+
{ nodeType: "leaf", segment: "activate", description: "Build and activate a local host-runtime development generation.", kind: "mutation", arguments: [{ name: "worktree", description: "Deployment worktree (defaults to the current workspace deployment package).", required: false }], options: [planOption, { name: "--guest-image", description: "Optional exact sandbox guest image digest to bind while activating.", type: "string" }], authorization: { capability: "development.activate", confirmation: "never" }, resultSchemaId: "treeseed.command.dev.host.activate/v1", execution: local("local.dev.host.activate") },
|
|
325
|
+
{ nodeType: "leaf", segment: "status", description: "Show the active local host-runtime development generation.", kind: "read", resultSchemaId: "treeseed.command.dev.host.status/v1", execution: local("local.dev.host.status") },
|
|
326
|
+
{ nodeType: "leaf", segment: "deactivate", description: "Restore the installed host runtime.", kind: "mutation", options: [planOption], authorization: { capability: "development.deactivate", confirmation: "never" }, resultSchemaId: "treeseed.command.dev.host.deactivate/v1", execution: local("local.dev.host.deactivate") },
|
|
327
|
+
branch("guest", [
|
|
328
|
+
branch("image", [
|
|
329
|
+
{ nodeType: "leaf", segment: "import", description: "Import a locally built provider sandbox image into the Kata development runtime.", kind: "mutation", arguments: [{ name: "image", description: "Local treeseed/sandbox-*:local image reference.", required: true }], options: [planOption], authorization: { capability: "development.activate", confirmation: "never" }, resultSchemaId: "treeseed.command.dev.host.guest-image.import/v1", execution: local("local.dev.host.guest-image.import") }
|
|
330
|
+
])
|
|
331
|
+
])
|
|
332
|
+
]),
|
|
323
333
|
branch("session", [
|
|
324
334
|
developmentCommand("start", "mutation", "manifest", [{ name: "--actor", description: "Audited development-session actor.", type: "string" }, { name: "--lease-seconds", description: "Requested bounded lease duration.", type: "number" }]),
|
|
325
335
|
developmentCommand("stop", "mutation", void 0, [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--restore", description: "Restore released routes and targets.", type: "boolean" }])
|
|
326
336
|
]),
|
|
327
337
|
developmentCommand("use", "mutation", "selection", [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--target", description: "Additional project.target=mode selections.", type: "string[]" }]),
|
|
328
338
|
developmentCommand("rebuild", "mutation", "target", [{ name: "--session", description: "Development session identity.", type: "string" }]),
|
|
339
|
+
developmentCommand("restart", "mutation", "target", [{ name: "--session", description: "Development session identity.", type: "string" }]),
|
|
329
340
|
developmentCommand("status", "read", void 0, [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--all", description: "Include stopped and expired sessions.", type: "boolean" }]),
|
|
330
341
|
developmentCommand("logs", "read", void 0, [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--target", description: "Development target identity.", type: "string" }, { name: "--follow", description: "Follow target logs.", type: "boolean" }]),
|
|
331
342
|
developmentCommand("plan", "read", void 0, [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--affected", description: "Show the smallest affected closure.", type: "boolean" }]),
|
|
@@ -109,7 +109,6 @@ export declare function capabilityOntologyOperations(): {
|
|
|
109
109
|
createdAt: string;
|
|
110
110
|
generation: number;
|
|
111
111
|
digest: string;
|
|
112
|
-
aliases: Record<string, string>;
|
|
113
112
|
definitions: {
|
|
114
113
|
schemaVersion: "treeseed.capability-definition/v1";
|
|
115
114
|
status: "active" | "deprecated" | "revoked";
|
|
@@ -111,7 +111,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
111
111
|
createdAt: string;
|
|
112
112
|
generation: number;
|
|
113
113
|
digest: string;
|
|
114
|
-
aliases: Record<string, string>;
|
|
115
114
|
definitions: {
|
|
116
115
|
schemaVersion: "treeseed.capability-definition/v1";
|
|
117
116
|
status: "active" | "deprecated" | "revoked";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentActivityExecutionConfig, AgentActivityPermissions, AgentActivityPlanningIntent, AgentActivityPromptConfig, AgentActivityType, AgentBranchPolicy, AgentOutputContract, AgentQuestionPolicy, AgentSignalPolicy, AgentToolPolicy, EngineeringHandlerKind, ExecutionProviderKind, ExecutionProviderPressure, ExecutionProviderQuotaVisibility, ExecutionResourceNeedKind } from './agent-trigger-kinds.js';
|
|
1
|
+
import { AgentActivityExecutionConfig, AgentActivityPermissions, AgentActivityPlanningIntent, AgentActivityPromptConfig, AgentActivityType, AgentBranchPolicy, AgentOutputContract, AgentQuestionPolicy, AgentReasoningEffort, AgentSignalPolicy, AgentToolPolicy, EngineeringHandlerKind, ExecutionProviderKind, ExecutionProviderPressure, ExecutionProviderQuotaVisibility, ExecutionResourceNeedKind } from './agent-trigger-kinds.js';
|
|
2
2
|
import type { AgentAuthorityPresetId } from '../../agent-capacity/authority/agent-authority-presets.js';
|
|
3
3
|
export interface AgentContentRevisionRef {
|
|
4
4
|
id: string;
|
|
@@ -52,6 +52,7 @@ export interface AgentChatProfileConfiguration {
|
|
|
52
52
|
foundation: 'discussion-v1';
|
|
53
53
|
responseStyle?: string;
|
|
54
54
|
promptTask?: string;
|
|
55
|
+
reasoningEffort?: AgentReasoningEffort;
|
|
55
56
|
capabilityRequirements?: AgentCapabilityRequirement[];
|
|
56
57
|
maxRuntimeSeconds?: number;
|
|
57
58
|
maxTotalTokens?: number;
|
|
@@ -87,7 +88,7 @@ export interface AgentDefinition {
|
|
|
87
88
|
export interface AgentExecutionConfig {
|
|
88
89
|
approvalPolicy?: 'never' | 'on_request' | 'always' | string;
|
|
89
90
|
sandboxMode?: 'read_only' | 'workspace_write' | string;
|
|
90
|
-
reasoningEffort?:
|
|
91
|
+
reasoningEffort?: AgentReasoningEffort;
|
|
91
92
|
allowedPaths?: string[];
|
|
92
93
|
forbiddenPaths?: string[];
|
|
93
94
|
worktree?: {
|
|
@@ -127,7 +128,6 @@ export interface ExecutionCapabilitySupply {
|
|
|
127
128
|
executionProviderId: string;
|
|
128
129
|
kind: ExecutionProviderKind;
|
|
129
130
|
capabilities: string[];
|
|
130
|
-
aliases?: string[];
|
|
131
131
|
grants: string[];
|
|
132
132
|
availability?: Record<string, unknown>;
|
|
133
133
|
pressure?: ExecutionProviderPressure;
|
|
@@ -7,8 +7,7 @@ export declare const AGENT_ACTIVITY_TYPES: readonly ["planning", "estimating", "
|
|
|
7
7
|
export declare const ENGINEERING_HANDLER_KINDS: readonly ["writer", "actor", "estimate", "releaser", "reporter"];
|
|
8
8
|
export declare const AGENT_CLI_ALLOW_TOOLS: readonly ["shell(git)", "shell(npm)", "web"];
|
|
9
9
|
export declare const EXECUTION_RESOURCE_NEED_KINDS: readonly ["repository", "treedx_workspace", "workflow", "secret", "external_issue", "external_job"];
|
|
10
|
-
export declare const EXECUTION_PROVIDER_KINDS: readonly ["ai_model", "human_issue_queue", "deterministic_workflow"
|
|
11
|
-
export declare const BUILT_IN_AGENT_EXECUTION_PROVIDER_IDS: readonly ["codex", "opencode", "copilot", "jira", "github_issues", "discord", "workflow", "platform-operation"];
|
|
10
|
+
export declare const EXECUTION_PROVIDER_KINDS: readonly ["ai_model", "human_issue_queue", "deterministic_workflow"];
|
|
12
11
|
export declare const EXECUTION_RUN_STATUSES: readonly ["accepted", "running", "waiting", "blocked", "completed", "returned", "failed", "cancelled"];
|
|
13
12
|
export declare const EXECUTION_PROVIDER_PRESSURE_STATES: readonly ["idle", "normal", "busy", "throttled", "exhausted"];
|
|
14
13
|
export declare const EXECUTION_PROVIDER_QUOTA_VISIBILITIES: readonly ["opaque", "partial", "exact"];
|
|
@@ -18,11 +17,11 @@ export type AgentMessageStatus = (typeof AGENT_MESSAGE_STATUSES)[number];
|
|
|
18
17
|
export type AgentRunStatus = (typeof AGENT_RUN_STATUSES)[number];
|
|
19
18
|
export type AgentHandlerKind = string;
|
|
20
19
|
export type AgentActivityType = (typeof AGENT_ACTIVITY_TYPES)[number];
|
|
20
|
+
export type AgentReasoningEffort = 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
|
|
21
21
|
export type EngineeringHandlerKind = (typeof ENGINEERING_HANDLER_KINDS)[number];
|
|
22
22
|
export type AgentCliAllowTool = (typeof AGENT_CLI_ALLOW_TOOLS)[number];
|
|
23
23
|
export type ExecutionResourceNeedKind = (typeof EXECUTION_RESOURCE_NEED_KINDS)[number] | string;
|
|
24
24
|
export type ExecutionProviderKind = (typeof EXECUTION_PROVIDER_KINDS)[number] | string;
|
|
25
|
-
export type BuiltInAgentExecutionProviderId = (typeof BUILT_IN_AGENT_EXECUTION_PROVIDER_IDS)[number];
|
|
26
25
|
export type ExecutionRunStatus = (typeof EXECUTION_RUN_STATUSES)[number];
|
|
27
26
|
export type ExecutionProviderPressure = (typeof EXECUTION_PROVIDER_PRESSURE_STATES)[number];
|
|
28
27
|
export type ExecutionProviderQuotaVisibility = (typeof EXECUTION_PROVIDER_QUOTA_VISIBILITIES)[number];
|
|
@@ -152,7 +151,7 @@ export interface AgentActivityPromptConfig {
|
|
|
152
151
|
templates?: Record<string, string>;
|
|
153
152
|
}
|
|
154
153
|
export interface AgentActivityExecutionConfig {
|
|
155
|
-
|
|
154
|
+
reasoningEffort?: AgentReasoningEffort;
|
|
156
155
|
maxRuntimeSeconds?: number;
|
|
157
156
|
closeoutWarningSeconds?: number;
|
|
158
157
|
maxRetries?: number;
|
|
@@ -54,18 +54,7 @@ const EXECUTION_RESOURCE_NEED_KINDS = [
|
|
|
54
54
|
const EXECUTION_PROVIDER_KINDS = [
|
|
55
55
|
"ai_model",
|
|
56
56
|
"human_issue_queue",
|
|
57
|
-
"deterministic_workflow"
|
|
58
|
-
"local_process"
|
|
59
|
-
];
|
|
60
|
-
const BUILT_IN_AGENT_EXECUTION_PROVIDER_IDS = [
|
|
61
|
-
"codex",
|
|
62
|
-
"opencode",
|
|
63
|
-
"copilot",
|
|
64
|
-
"jira",
|
|
65
|
-
"github_issues",
|
|
66
|
-
"discord",
|
|
67
|
-
"workflow",
|
|
68
|
-
"platform-operation"
|
|
57
|
+
"deterministic_workflow"
|
|
69
58
|
];
|
|
70
59
|
const EXECUTION_RUN_STATUSES = [
|
|
71
60
|
"accepted",
|
|
@@ -97,7 +86,6 @@ export {
|
|
|
97
86
|
AGENT_PERMISSION_OPERATIONS,
|
|
98
87
|
AGENT_RUN_STATUSES,
|
|
99
88
|
AGENT_TRIGGER_KINDS,
|
|
100
|
-
BUILT_IN_AGENT_EXECUTION_PROVIDER_IDS,
|
|
101
89
|
ENGINEERING_HANDLER_KINDS,
|
|
102
90
|
EXECUTION_PROVIDER_KINDS,
|
|
103
91
|
EXECUTION_PROVIDER_PRESSURE_STATES,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treeseed/sdk",
|
|
3
|
-
"version": "0.13.0-rc.
|
|
3
|
+
"version": "0.13.0-rc.59",
|
|
4
4
|
"description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -170,6 +170,10 @@
|
|
|
170
170
|
"types": "./dist/capacity/providers/capacity-provider.d.ts",
|
|
171
171
|
"default": "./dist/capacity/providers/capacity-provider.js"
|
|
172
172
|
},
|
|
173
|
+
"./capacity-provider/sandbox": {
|
|
174
|
+
"types": "./dist/capacity-provider/sandbox.d.ts",
|
|
175
|
+
"default": "./dist/capacity-provider/sandbox.js"
|
|
176
|
+
},
|
|
173
177
|
"./capacity-provider/contracts": {
|
|
174
178
|
"types": "./dist/capacity-provider/contracts/index.d.ts",
|
|
175
179
|
"default": "./dist/capacity-provider/contracts/index.js"
|