@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.123
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/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +2365 -1275
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +94 -28
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +38 -38
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +2 -59
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +2 -4
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +22 -16
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +244 -85
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +216 -70
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
- package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +55 -55
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -23
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
- package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
- package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +496 -292
- package/dist/agent-capacity/contracts/support/execution-graph.js +21 -19
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +3 -6
- package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
- package/dist/agent-capacity/grant.d.ts +34 -0
- package/dist/agent-capacity/grant.js +4 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1178 -1152
- package/dist/agent-capacity/validation/agent-definition-schema.js +21 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +10 -10
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
- package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
- package/dist/agent-capacity/validation/assignment-records.js +49 -35
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +2 -6
- package/dist/agent-capacity/validation/grant.d.ts +11 -0
- package/dist/agent-capacity/validation/grant.js +31 -0
- package/dist/capacity/agents/agent-capacity.d.ts +3 -4
- package/dist/capacity/agents/agent-capacity.js +2 -3
- package/dist/capacity-provider/capability-ontology.d.ts +150 -150
- package/dist/capacity-provider/client.d.ts +15 -9
- package/dist/capacity-provider/client.js +1 -10
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +44 -44
- package/dist/capacity-provider/contracts/governance.d.ts +2 -17
- package/dist/capacity-provider/contracts/index.d.ts +2 -0
- package/dist/capacity-provider/contracts/index.js +2 -0
- package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
- package/dist/capacity-provider/environment-catalog.d.ts +188 -188
- package/dist/capacity-provider/environment-catalog.js +1 -1
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +92 -92
- package/dist/capacity-provider/source-workspace.d.ts +166 -68
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/capacity-provider/validation.d.ts +10 -2
- package/dist/capacity-provider/validation.js +52 -22
- package/dist/content/validation/agent-operational-content-schemas.d.ts +144 -142
- package/dist/content/validation/agent-operational-content-schemas.js +2 -0
- package/dist/content/validation/auxiliary-content-schemas.d.ts +158 -158
- package/dist/content/validation/content-model-schemas.d.ts +9105 -5295
- package/dist/content/validation/content-model-schemas.js +192 -115
- package/dist/content/validation/portable-content-data.d.ts +411 -238
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/content/validation/schema-constraints.d.ts +78 -0
- package/dist/content/validation/schema-constraints.js +149 -0
- package/dist/deployment/ai/storage.d.ts +24 -24
- package/dist/deployment/ai-hosting.d.ts +18 -18
- package/dist/deployment/ai-instance.d.ts +16 -16
- package/dist/deployment/ai-mode.d.ts +92 -92
- package/dist/deployment/hosted-topology-template.d.ts +44 -44
- package/dist/deployment/hosted-topology.d.ts +335 -335
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +6 -6
- package/dist/deployment/schemas.d.ts +1114 -1114
- package/dist/development/schemas.d.ts +633 -633
- package/dist/graph/context-query-contracts.js +1 -1
- package/dist/guarantees/index.d.ts +26 -2
- package/dist/identity/contracts.js +6 -1
- package/dist/knowledge/contracts.d.ts +9 -2
- package/dist/knowledge/contracts.js +2 -2
- package/dist/model-registry/discussion-models.js +0 -1
- package/dist/operator-contracts/canonical-command-tree.js +25 -9
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +29 -29
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +30 -30
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +15 -13
- package/dist/operator-contracts/catalog/communication-operations.d.ts +176 -158
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +67 -67
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +65 -65
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +6 -6
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
- package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
- package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +3 -0
- package/dist/operator-contracts/communication/contracts.d.ts +537 -395
- package/dist/operator-contracts/communication/contracts.js +6 -1
- package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
- package/dist/operator-contracts/control-plane-operation.js +6 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +631 -610
- package/dist/operator-contracts/control-plane-operations.js +26 -12
- package/dist/operator-contracts/inbox/contracts.d.ts +229 -229
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/operator-contracts/mcp.js +4 -3
- package/dist/operator-contracts/workday-lifecycle.d.ts +192 -0
- package/dist/operator-contracts/workday-lifecycle.js +109 -45
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +377 -0
- package/dist/platform/contracts.d.ts +72 -72
- package/dist/platform/schemas.d.ts +144 -36
- package/dist/platform/schemas.js +26 -0
- package/dist/platform/verification.js +10 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
- package/dist/secrets-capability/secret-contracts.d.ts +2 -2
- package/dist/secrets-capability/shared-access.d.ts +3 -3
- package/dist/secrets-capability/shared-resources.d.ts +50 -50
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +14 -14
- package/dist/treedx/client.d.ts +4 -4
- package/dist/treedx/index.d.ts +1 -1
- package/dist/treedx/index.js +1 -0
- package/dist/treedx/types.d.ts +286 -0
- package/dist/treedx/types.js +44 -0
- package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product.guarantee.yaml +12 -0
- package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
- package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
- package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
- package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
- package/package.json +9 -3
- package/tests/acceptance/golden-product.test.ts +205 -0
- package/tests/acceptance/golden-product.ts +404 -0
- package/tests/acceptance/product/base-red.ts +73 -0
- package/tests/acceptance/product/documentation-examples.ts +68 -0
- package/tests/acceptance/product/intent-runtime.ts +145 -0
- package/tests/acceptance/product/release-output.ts +160 -0
- package/tests/acceptance/product/research-artifact.ts +87 -0
- package/tests/acceptance/product/research-revision.ts +82 -0
- package/tests/acceptance/product/research-source.ts +91 -0
- package/tests/acceptance/product/test-chain.ts +192 -0
- package/treeseed.package.yaml +147 -0
- package/dist/.treeseed-build-complete.json +0 -1
- package/dist/agent-capacity/allocation.d.ts +0 -183
- package/dist/agent-capacity/allocation.js +0 -5
- package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
- package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
- package/dist/agent-capacity/artifacts.d.ts +0 -123
- package/dist/agent-capacity/artifacts.js +0 -39
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
- package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
- package/dist/agent-capacity/validation/allocation.d.ts +0 -12
- package/dist/agent-capacity/validation/allocation.js +0 -115
|
@@ -7,8 +7,8 @@ export declare const AI_INSTANCE_OPERATIONS: {
|
|
|
7
7
|
teamId: string;
|
|
8
8
|
instanceId: string;
|
|
9
9
|
}, {}, {
|
|
10
|
-
connectionId: string;
|
|
11
10
|
bucket: string;
|
|
11
|
+
connectionId: string;
|
|
12
12
|
}, Record<string, unknown>>;
|
|
13
13
|
storageRemove: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
14
14
|
teamId: string;
|
|
@@ -19,9 +19,9 @@ export declare const AI_INSTANCE_OPERATIONS: {
|
|
|
19
19
|
instanceId: string;
|
|
20
20
|
}, {}, {
|
|
21
21
|
name: string;
|
|
22
|
-
|
|
23
|
-
purpose: "inference" | "training" | "both";
|
|
22
|
+
purpose: "inference" | "both" | "training";
|
|
24
23
|
model: string;
|
|
24
|
+
projectId: string;
|
|
25
25
|
}, Record<string, unknown>>;
|
|
26
26
|
list: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
27
27
|
teamId: string;
|
|
@@ -38,13 +38,13 @@ export declare const AI_INSTANCE_OPERATIONS: {
|
|
|
38
38
|
instanceId: string;
|
|
39
39
|
}, {}, {
|
|
40
40
|
name: string;
|
|
41
|
+
schedule: "always" | "weekdays";
|
|
42
|
+
purpose: "inference" | "both" | "training";
|
|
43
|
+
model: string;
|
|
41
44
|
projectId: string;
|
|
42
|
-
purpose: "inference" | "training" | "both";
|
|
43
45
|
timeZone: string;
|
|
44
|
-
schedule: "weekdays" | "always";
|
|
45
46
|
hostingConnectionId: string;
|
|
46
47
|
storageConnectionId: string | null;
|
|
47
|
-
model: string;
|
|
48
48
|
}, Record<string, unknown>>;
|
|
49
49
|
remove: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
50
50
|
teamId: string;
|
|
@@ -6,7 +6,8 @@ const team = z.object({ teamId: z.string().min(1) }).strict(), instance = team.e
|
|
|
6
6
|
const empty = z.object({}).strict(), record = z.record(z.unknown());
|
|
7
7
|
function descriptor(action, method, path) {
|
|
8
8
|
const read = method === "GET";
|
|
9
|
-
|
|
9
|
+
const oauthScopes = read ? ["treeseed:read"] : ["treeseed:admin"];
|
|
10
|
+
return { operationId: `ai.instances.${action}`, description: `${action} a team-owned AI configuration; no cloud provisioning.`, rest: { method, path }, parameters: `treeseed.ai.instances.${action}.parameters/v1`, capability: read ? "infrastructure.read" : "infrastructure.write", authentication: "oauth", oauthScopes, kind: read ? "read" : "mutation", riskClass: "ordinary", confirmation: "never", surfaces: ["rest", "cli"], cacheScope: read ? "principal" : "none", pagination: "none", concurrencyRequired: !read };
|
|
10
11
|
}
|
|
11
12
|
const AI_INSTANCE_OPERATIONS = {
|
|
12
13
|
storageShow: defineOperation({ ...descriptor("storageShow", "GET", "/v1/teams/{teamId}/ai-instances/{instanceId}/storage"), operationId: "ai.instances.storage.show", parameters: "treeseed.ai.instances.storage.show.parameters/v1" }, { path: instance, query: empty, body: z.undefined(), output: record }),
|
|
@@ -9,12 +9,12 @@ export declare function knowledgeShareOperations(): {
|
|
|
9
9
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
-
targetTeamId: string;
|
|
13
12
|
projectIds: string[];
|
|
13
|
+
targetTeamId: string;
|
|
14
14
|
sourceTeamId: string;
|
|
15
15
|
revokedAt: string | null;
|
|
16
16
|
expiresAt?: string | null | undefined;
|
|
17
|
-
operations?: ("
|
|
17
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
18
18
|
paths?: string[] | undefined;
|
|
19
19
|
contentModels?: string[] | undefined;
|
|
20
20
|
}[];
|
|
@@ -28,22 +28,22 @@ export declare function knowledgeShareOperations(): {
|
|
|
28
28
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
29
29
|
createdAt: string;
|
|
30
30
|
updatedAt: string;
|
|
31
|
-
targetTeamId: string;
|
|
32
31
|
projectIds: string[];
|
|
32
|
+
targetTeamId: string;
|
|
33
33
|
sourceTeamId: string;
|
|
34
34
|
revokedAt: string | null;
|
|
35
35
|
expiresAt?: string | null | undefined;
|
|
36
|
-
operations?: ("
|
|
36
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
37
37
|
paths?: string[] | undefined;
|
|
38
38
|
contentModels?: string[] | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
grant: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
41
41
|
teamId: string;
|
|
42
42
|
}, {}, {
|
|
43
|
-
targetTeamId: string;
|
|
44
43
|
projectIds: string[];
|
|
44
|
+
targetTeamId: string;
|
|
45
45
|
expiresAt?: string | null | undefined;
|
|
46
|
-
operations?: ("
|
|
46
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
47
47
|
paths?: string[] | undefined;
|
|
48
48
|
contentModels?: string[] | undefined;
|
|
49
49
|
}, {
|
|
@@ -52,12 +52,12 @@ export declare function knowledgeShareOperations(): {
|
|
|
52
52
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
53
53
|
createdAt: string;
|
|
54
54
|
updatedAt: string;
|
|
55
|
-
targetTeamId: string;
|
|
56
55
|
projectIds: string[];
|
|
56
|
+
targetTeamId: string;
|
|
57
57
|
sourceTeamId: string;
|
|
58
58
|
revokedAt: string | null;
|
|
59
59
|
expiresAt?: string | null | undefined;
|
|
60
|
-
operations?: ("
|
|
60
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
61
61
|
paths?: string[] | undefined;
|
|
62
62
|
contentModels?: string[] | undefined;
|
|
63
63
|
}>;
|
|
@@ -70,12 +70,12 @@ export declare function knowledgeShareOperations(): {
|
|
|
70
70
|
schemaVersion: "treeseed.knowledge-share/v1";
|
|
71
71
|
createdAt: string;
|
|
72
72
|
updatedAt: string;
|
|
73
|
-
targetTeamId: string;
|
|
74
73
|
projectIds: string[];
|
|
74
|
+
targetTeamId: string;
|
|
75
75
|
sourceTeamId: string;
|
|
76
76
|
revokedAt: string | null;
|
|
77
77
|
expiresAt?: string | null | undefined;
|
|
78
|
-
operations?: ("
|
|
78
|
+
operations?: ("query" | "read" | "context" | "graph")[] | undefined;
|
|
79
79
|
paths?: string[] | undefined;
|
|
80
80
|
contentModels?: string[] | undefined;
|
|
81
81
|
}>;
|
|
@@ -26,16 +26,16 @@ export declare const PROVIDER_ENVIRONMENT_OPERATIONS: {
|
|
|
26
26
|
};
|
|
27
27
|
readonly environmentGrants: {
|
|
28
28
|
readonly show: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
29
|
-
teamId: string;
|
|
30
29
|
assignmentId: string;
|
|
30
|
+
teamId: string;
|
|
31
31
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
32
32
|
readonly put: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
33
|
-
teamId: string;
|
|
34
33
|
assignmentId: string;
|
|
34
|
+
teamId: string;
|
|
35
35
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
36
36
|
readonly revoke: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
37
|
-
teamId: string;
|
|
38
37
|
assignmentId: string;
|
|
38
|
+
teamId: string;
|
|
39
39
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
@@ -7,12 +7,14 @@ export declare const SECRET_OPERATIONS: {
|
|
|
7
7
|
expectedVersion: number;
|
|
8
8
|
} | undefined, {
|
|
9
9
|
version: number;
|
|
10
|
+
fields: string[];
|
|
10
11
|
teamId: string;
|
|
12
|
+
configured: boolean;
|
|
11
13
|
profileId: string;
|
|
12
14
|
connectionId: string;
|
|
13
|
-
configured: boolean;
|
|
14
15
|
custody: "openbao";
|
|
15
|
-
|
|
16
|
+
} | {
|
|
17
|
+
ok: boolean;
|
|
16
18
|
}>;
|
|
17
19
|
readonly putCredentials: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
18
20
|
teamId: string;
|
|
@@ -22,12 +24,14 @@ export declare const SECRET_OPERATIONS: {
|
|
|
22
24
|
expectedVersion: number;
|
|
23
25
|
} | undefined, {
|
|
24
26
|
version: number;
|
|
27
|
+
fields: string[];
|
|
25
28
|
teamId: string;
|
|
29
|
+
configured: boolean;
|
|
26
30
|
profileId: string;
|
|
27
31
|
connectionId: string;
|
|
28
|
-
configured: boolean;
|
|
29
32
|
custody: "openbao";
|
|
30
|
-
|
|
33
|
+
} | {
|
|
34
|
+
ok: boolean;
|
|
31
35
|
}>;
|
|
32
36
|
readonly deleteCredentials: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
33
37
|
teamId: string;
|
|
@@ -37,12 +41,14 @@ export declare const SECRET_OPERATIONS: {
|
|
|
37
41
|
expectedVersion: number;
|
|
38
42
|
} | undefined, {
|
|
39
43
|
version: number;
|
|
44
|
+
fields: string[];
|
|
40
45
|
teamId: string;
|
|
46
|
+
configured: boolean;
|
|
41
47
|
profileId: string;
|
|
42
48
|
connectionId: string;
|
|
43
|
-
configured: boolean;
|
|
44
49
|
custody: "openbao";
|
|
45
|
-
|
|
50
|
+
} | {
|
|
51
|
+
ok: boolean;
|
|
46
52
|
}>;
|
|
47
53
|
readonly validateCredentials: import("../../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
48
54
|
teamId: string;
|
|
@@ -52,11 +58,13 @@ export declare const SECRET_OPERATIONS: {
|
|
|
52
58
|
expectedVersion: number;
|
|
53
59
|
} | undefined, {
|
|
54
60
|
version: number;
|
|
61
|
+
fields: string[];
|
|
55
62
|
teamId: string;
|
|
63
|
+
configured: boolean;
|
|
56
64
|
profileId: string;
|
|
57
65
|
connectionId: string;
|
|
58
|
-
configured: boolean;
|
|
59
66
|
custody: "openbao";
|
|
60
|
-
|
|
67
|
+
} | {
|
|
68
|
+
ok: boolean;
|
|
61
69
|
}>;
|
|
62
70
|
};
|
|
@@ -18,6 +18,7 @@ const put = z.object({
|
|
|
18
18
|
}).strict();
|
|
19
19
|
function operation(name, method) {
|
|
20
20
|
const read = method === "GET";
|
|
21
|
+
const output = name === "validate" ? z.object({ ok: z.boolean() }).strict() : descriptor;
|
|
21
22
|
return defineOperation({
|
|
22
23
|
operationId: `services.credentials.${name}`,
|
|
23
24
|
description: `${name} managed service credentials.`,
|
|
@@ -37,7 +38,7 @@ function operation(name, method) {
|
|
|
37
38
|
path,
|
|
38
39
|
query: z.object({}).strict(),
|
|
39
40
|
body: read ? z.undefined() : name === "put" ? put : z.object({ expectedVersion: version }).strict(),
|
|
40
|
-
output
|
|
41
|
+
output
|
|
41
42
|
});
|
|
42
43
|
}
|
|
43
44
|
const SECRET_OPERATIONS = {
|
|
@@ -16,26 +16,26 @@ export declare const WORKDAY_PROFILE_OPERATIONS: {
|
|
|
16
16
|
policy: {
|
|
17
17
|
durationSeconds: number;
|
|
18
18
|
maximumConcurrency: number;
|
|
19
|
+
planningPercent: number;
|
|
20
|
+
allocationWeight: number;
|
|
21
|
+
planningTurnMaximumSeconds: number;
|
|
19
22
|
communicationConcurrency: number;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
planningTurnMaximumSeconds?: number | undefined;
|
|
23
|
-
projectPercentages?: Record<string, number> | undefined;
|
|
24
|
-
agentClassPercentages?: Record<string, Record<string, number>> | undefined;
|
|
23
|
+
projectPercentages: Record<string, number>;
|
|
24
|
+
agentClassPercentages: Record<string, Record<string, number>>;
|
|
25
25
|
};
|
|
26
26
|
}, {
|
|
27
27
|
id: "default";
|
|
28
|
-
teamId: string;
|
|
29
28
|
revision: number;
|
|
29
|
+
teamId: string;
|
|
30
30
|
policy: {
|
|
31
31
|
durationSeconds: number;
|
|
32
32
|
maximumConcurrency: number;
|
|
33
|
+
planningPercent: number;
|
|
34
|
+
allocationWeight: number;
|
|
35
|
+
planningTurnMaximumSeconds: number;
|
|
33
36
|
communicationConcurrency: number;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
planningTurnMaximumSeconds?: number | undefined;
|
|
37
|
-
projectPercentages?: Record<string, number> | undefined;
|
|
38
|
-
agentClassPercentages?: Record<string, Record<string, number>> | undefined;
|
|
37
|
+
projectPercentages: Record<string, number>;
|
|
38
|
+
agentClassPercentages: Record<string, Record<string, number>>;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
41
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const WORKDAY_SELECTION_INPUTS = [
|
|
2
|
+
{ target: "body", field: "reportingAgentId", source: "option", name: "reportingAgent", required: false, transform: "identity" },
|
|
2
3
|
{ target: "body", field: "allocation.planningPercent", source: "option", name: "planningPercent", transform: "number" },
|
|
3
4
|
{ target: "body", field: "allocation.allocationWeight", source: "option", name: "allocationWeight", transform: "number" },
|
|
4
5
|
{ target: "body", field: "allocation.planningTurnMaximumSeconds", source: "option", name: "planningTurnMaximumSeconds", transform: "integer" },
|
|
@@ -9,6 +10,7 @@ const WORKDAY_SELECTION_INPUTS = [
|
|
|
9
10
|
{ target: "body", field: "agentSelection.classSlugs", source: "option", name: "class", transform: "csv" }
|
|
10
11
|
];
|
|
11
12
|
const WORKDAY_PLAN_OPTIONS = [
|
|
13
|
+
{ name: "--reporting-agent", description: "Closeout Reporter identity; required when several are eligible.", type: "string" },
|
|
12
14
|
{ name: "--planning-percent", description: "Planning share of workday time and capacity (default 20%).", type: "number" },
|
|
13
15
|
{ name: "--allocation-weight", description: "Relative share among eligible concurrent workdays (default 1).", type: "number" },
|
|
14
16
|
{ name: "--planning-turn-maximum-seconds", description: "Maximum active seconds per planning turn (default 180).", type: "number" },
|
|
@@ -19,6 +21,7 @@ const WORKDAY_PLAN_OPTIONS = [
|
|
|
19
21
|
{ name: "--execution-mode", description: "Select simulation or production custody; both consume real capacity.", type: "string" },
|
|
20
22
|
{ name: "--proposal", description: "Governed proposal id for cooperative planning; repeat or comma-separate.", type: "string[]" },
|
|
21
23
|
{ name: "--decision", description: "Accepted decision id; repeat or comma-separate. The API derives and verifies acting authority.", type: "string[]" },
|
|
24
|
+
{ name: "--continue-from", description: "Settled workday whose exact accepted results and review history should continue. Omit for a fresh simulation.", type: "string" },
|
|
22
25
|
{ name: "--agent", description: "Planning agent slug; repeat or comma-separate. Intersects with class/activity selectors.", type: "string[]" },
|
|
23
26
|
{ name: "--activity", description: "Planning activity: planning, estimating, reviewing, reporting, or chat; repeat or comma-separate.", type: "string[]" },
|
|
24
27
|
{ name: "--class", description: "Planning class slug; repeat or comma-separate. Acting remains governed by accepted decisions.", type: "string[]" }
|