@paperclipai/shared 2026.817.0 → 2026.818.0-beta.1
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/adapter-auth-session.d.ts +16 -0
- package/dist/adapter-auth-session.d.ts.map +1 -0
- package/dist/adapter-auth-session.js +37 -0
- package/dist/adapter-auth-session.js.map +1 -0
- package/dist/company-import-transfer.d.ts +97 -0
- package/dist/company-import-transfer.d.ts.map +1 -0
- package/dist/company-import-transfer.js +50 -0
- package/dist/company-import-transfer.js.map +1 -0
- package/dist/constants.d.ts +19 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +50 -3
- package/dist/constants.js.map +1 -1
- package/dist/environment-support.d.ts +16 -1
- package/dist/environment-support.d.ts.map +1 -1
- package/dist/environment-support.js +25 -2
- package/dist/environment-support.js.map +1 -1
- package/dist/environment-support.test.js +20 -0
- package/dist/environment-support.test.js.map +1 -1
- package/dist/feature-catalog.d.ts.map +1 -1
- package/dist/feature-catalog.js +10 -3
- package/dist/feature-catalog.js.map +1 -1
- package/dist/index.d.ts +13 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/issue-thread-interactions.test.js +45 -1
- package/dist/issue-thread-interactions.test.js.map +1 -1
- package/dist/runtime-exposure/loopback-bind.d.ts +52 -0
- package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -0
- package/dist/runtime-exposure/loopback-bind.js +93 -0
- package/dist/runtime-exposure/loopback-bind.js.map +1 -0
- package/dist/runtime-exposure/loopback-bind.test.d.ts +2 -0
- package/dist/runtime-exposure/loopback-bind.test.d.ts.map +1 -0
- package/dist/runtime-exposure/loopback-bind.test.js +93 -0
- package/dist/runtime-exposure/loopback-bind.test.js.map +1 -0
- package/dist/runtime-exposure/ports.d.ts +61 -0
- package/dist/runtime-exposure/ports.d.ts.map +1 -0
- package/dist/runtime-exposure/ports.js +96 -0
- package/dist/runtime-exposure/ports.js.map +1 -0
- package/dist/runtime-exposure/ports.test.d.ts +2 -0
- package/dist/runtime-exposure/ports.test.d.ts.map +1 -0
- package/dist/runtime-exposure/ports.test.js +46 -0
- package/dist/runtime-exposure/ports.test.js.map +1 -0
- package/dist/summary-slot.test.js +10 -1
- package/dist/summary-slot.test.js.map +1 -1
- package/dist/telemetry/events.d.ts +5 -0
- package/dist/telemetry/events.d.ts.map +1 -1
- package/dist/telemetry/events.js +7 -0
- package/dist/telemetry/events.js.map +1 -1
- package/dist/telemetry/generated/paperclip-telemetry.d.ts +20 -2
- package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
- package/dist/telemetry/generated/paperclip-telemetry.js +12 -0
- package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.d.ts.map +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/retention.d.ts.map +1 -1
- package/dist/telemetry/retention.js +2 -0
- package/dist/telemetry/retention.js.map +1 -1
- package/dist/telemetry/retention.test.js +4 -0
- package/dist/telemetry/retention.test.js.map +1 -1
- package/dist/types/agent.adapter-auth-session.test.d.ts +2 -0
- package/dist/types/agent.adapter-auth-session.test.d.ts.map +1 -0
- package/dist/types/agent.adapter-auth-session.test.js +103 -0
- package/dist/types/agent.adapter-auth-session.test.js.map +1 -0
- package/dist/types/agent.d.ts +56 -0
- package/dist/types/agent.d.ts.map +1 -1
- package/dist/types/agent.js +50 -1
- package/dist/types/agent.js.map +1 -1
- package/dist/types/attention.d.ts +35 -0
- package/dist/types/attention.d.ts.map +1 -1
- package/dist/types/attention.js.map +1 -1
- package/dist/types/company-portability.d.ts +8 -0
- package/dist/types/company-portability.d.ts.map +1 -1
- package/dist/types/document-annotation.d.ts +17 -0
- package/dist/types/document-annotation.d.ts.map +1 -1
- package/dist/types/environment.d.ts +15 -12
- package/dist/types/environment.d.ts.map +1 -1
- package/dist/types/index.d.ts +7 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/instance.d.ts +6 -1
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/types/instance.js.map +1 -1
- package/dist/types/issue.d.ts +35 -7
- package/dist/types/issue.d.ts.map +1 -1
- package/dist/types/plugin.d.ts +46 -0
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/runtime-exposure.d.ts +74 -0
- package/dist/types/runtime-exposure.d.ts.map +1 -0
- package/dist/types/runtime-exposure.js +12 -0
- package/dist/types/runtime-exposure.js.map +1 -0
- package/dist/types/workspace-file-resource.d.ts +25 -0
- package/dist/types/workspace-file-resource.d.ts.map +1 -1
- package/dist/types/workspace-runtime.d.ts +9 -0
- package/dist/types/workspace-runtime.d.ts.map +1 -1
- package/dist/validators/access.d.ts +6 -6
- package/dist/validators/adapter-auth-session.d.ts +129 -0
- package/dist/validators/adapter-auth-session.d.ts.map +1 -0
- package/dist/validators/adapter-auth-session.js +34 -0
- package/dist/validators/adapter-auth-session.js.map +1 -0
- package/dist/validators/adapter-registry.d.ts +2 -2
- package/dist/validators/adapter-skills.d.ts +22 -22
- package/dist/validators/agent.d.ts +316 -298
- package/dist/validators/agent.d.ts.map +1 -1
- package/dist/validators/agent.js +9 -0
- package/dist/validators/agent.js.map +1 -1
- package/dist/validators/app-definition.d.ts +156 -156
- package/dist/validators/artifact.d.ts +64 -64
- package/dist/validators/claude-setup-token-session.d.ts +244 -0
- package/dist/validators/claude-setup-token-session.d.ts.map +1 -0
- package/dist/validators/claude-setup-token-session.js +128 -0
- package/dist/validators/claude-setup-token-session.js.map +1 -0
- package/dist/validators/claude-setup-token-session.test.d.ts +2 -0
- package/dist/validators/claude-setup-token-session.test.d.ts.map +1 -0
- package/dist/validators/claude-setup-token-session.test.js +107 -0
- package/dist/validators/claude-setup-token-session.test.js.map +1 -0
- package/dist/validators/company-portability.d.ts +342 -294
- package/dist/validators/company-portability.d.ts.map +1 -1
- package/dist/validators/company-portability.js +6 -0
- package/dist/validators/company-portability.js.map +1 -1
- package/dist/validators/company-skill.d.ts +386 -386
- package/dist/validators/company.d.ts +120 -120
- package/dist/validators/cost.d.ts +8 -8
- package/dist/validators/decision-queue.d.ts +6 -6
- package/dist/validators/decision.d.ts +124 -124
- package/dist/validators/environment-custom-images.d.ts +8 -8
- package/dist/validators/environment.d.ts +16 -16
- package/dist/validators/execution-workspace.d.ts +38 -38
- package/dist/validators/finance.d.ts +12 -12
- package/dist/validators/folder.d.ts +38 -38
- package/dist/validators/index.d.ts +4 -3
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +4 -3
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +30 -16
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +2 -1
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/issue-tree-control.d.ts +4 -4
- package/dist/validators/issue.d.ts +1254 -1156
- package/dist/validators/issue.d.ts.map +1 -1
- package/dist/validators/issue.js +59 -5
- package/dist/validators/issue.js.map +1 -1
- package/dist/validators/onboarding-seed.d.ts +64 -0
- package/dist/validators/onboarding-seed.d.ts.map +1 -0
- package/dist/validators/onboarding-seed.js +33 -0
- package/dist/validators/onboarding-seed.js.map +1 -0
- package/dist/validators/pipeline.d.ts +96 -96
- package/dist/validators/plugin.d.ts +325 -184
- package/dist/validators/plugin.d.ts.map +1 -1
- package/dist/validators/plugin.js +14 -0
- package/dist/validators/plugin.js.map +1 -1
- package/dist/validators/plugin.test.js +80 -0
- package/dist/validators/plugin.test.js.map +1 -1
- package/dist/validators/project.d.ts +216 -216
- package/dist/validators/routine.d.ts +148 -148
- package/dist/validators/runtime-exposure.d.ts +149 -0
- package/dist/validators/runtime-exposure.d.ts.map +1 -0
- package/dist/validators/runtime-exposure.js +138 -0
- package/dist/validators/runtime-exposure.js.map +1 -0
- package/dist/validators/runtime-exposure.test.d.ts +2 -0
- package/dist/validators/runtime-exposure.test.d.ts.map +1 -0
- package/dist/validators/runtime-exposure.test.js +112 -0
- package/dist/validators/runtime-exposure.test.js.map +1 -0
- package/dist/validators/search.d.ts +13 -13
- package/dist/validators/secret.d.ts +53 -53
- package/dist/validators/status-card.d.ts +34 -34
- package/dist/validators/summary-slot.d.ts +6 -6
- package/dist/validators/summary-slot.d.ts.map +1 -1
- package/dist/validators/teams-catalog.d.ts +30 -30
- package/dist/validators/tool-access.d.ts +179 -179
- package/dist/validators/trust-policy.d.ts +18 -18
- package/dist/validators/work-product.d.ts +21 -21
- package/dist/validators/workspace-file-resource.d.ts +430 -16
- package/dist/validators/workspace-file-resource.d.ts.map +1 -1
- package/dist/validators/workspace-file-resource.js +19 -0
- package/dist/validators/workspace-file-resource.js.map +1 -1
- package/dist/workspace-file-resource.test.d.ts +2 -0
- package/dist/workspace-file-resource.test.d.ts.map +1 -0
- package/dist/workspace-file-resource.test.js +52 -0
- package/dist/workspace-file-resource.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const interactionResolverGovernanceSchema: z.ZodDefault<z.ZodObject<{
|
|
3
3
|
suggest_tasks: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
5
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
4
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
5
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
6
6
|
}, "strict", z.ZodTypeAny, {
|
|
7
|
-
cap?: "
|
|
8
|
-
defaultPolicy?: "
|
|
7
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
8
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
9
9
|
}, {
|
|
10
|
-
cap?: "
|
|
11
|
-
defaultPolicy?: "
|
|
10
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
11
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
12
12
|
}>>;
|
|
13
13
|
ask_user_questions: z.ZodOptional<z.ZodObject<{
|
|
14
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
15
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
14
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
15
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
16
16
|
}, "strict", z.ZodTypeAny, {
|
|
17
|
-
cap?: "
|
|
18
|
-
defaultPolicy?: "
|
|
17
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
18
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
19
19
|
}, {
|
|
20
|
-
cap?: "
|
|
21
|
-
defaultPolicy?: "
|
|
20
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
21
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
22
22
|
}>>;
|
|
23
23
|
request_confirmation: z.ZodOptional<z.ZodObject<{
|
|
24
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
25
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
24
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
25
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
26
26
|
}, "strict", z.ZodTypeAny, {
|
|
27
|
-
cap?: "
|
|
28
|
-
defaultPolicy?: "
|
|
27
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
28
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
cap?: "
|
|
31
|
-
defaultPolicy?: "
|
|
30
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
31
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
32
32
|
}>>;
|
|
33
33
|
request_checkbox_confirmation: z.ZodOptional<z.ZodObject<{
|
|
34
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
35
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
34
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
35
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
36
36
|
}, "strict", z.ZodTypeAny, {
|
|
37
|
-
cap?: "
|
|
38
|
-
defaultPolicy?: "
|
|
37
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
38
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
39
39
|
}, {
|
|
40
|
-
cap?: "
|
|
41
|
-
defaultPolicy?: "
|
|
40
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
41
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
42
42
|
}>>;
|
|
43
43
|
request_item_verdicts: z.ZodOptional<z.ZodObject<{
|
|
44
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
45
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
44
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
45
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
46
46
|
}, "strict", z.ZodTypeAny, {
|
|
47
|
-
cap?: "
|
|
48
|
-
defaultPolicy?: "
|
|
47
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
48
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
cap?: "
|
|
51
|
-
defaultPolicy?: "
|
|
50
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
51
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
52
52
|
}>>;
|
|
53
53
|
}, "strict", z.ZodTypeAny, {
|
|
54
54
|
suggest_tasks?: {
|
|
55
|
-
cap?: "
|
|
56
|
-
defaultPolicy?: "
|
|
55
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
56
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
57
57
|
} | undefined;
|
|
58
58
|
ask_user_questions?: {
|
|
59
|
-
cap?: "
|
|
60
|
-
defaultPolicy?: "
|
|
59
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
60
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
61
61
|
} | undefined;
|
|
62
62
|
request_confirmation?: {
|
|
63
|
-
cap?: "
|
|
64
|
-
defaultPolicy?: "
|
|
63
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
64
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
65
65
|
} | undefined;
|
|
66
66
|
request_checkbox_confirmation?: {
|
|
67
|
-
cap?: "
|
|
68
|
-
defaultPolicy?: "
|
|
67
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
68
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
request_item_verdicts?: {
|
|
71
|
-
cap?: "
|
|
72
|
-
defaultPolicy?: "
|
|
71
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
72
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
73
73
|
} | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
suggest_tasks?: {
|
|
76
|
-
cap?: "
|
|
77
|
-
defaultPolicy?: "
|
|
76
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
77
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
ask_user_questions?: {
|
|
80
|
-
cap?: "
|
|
81
|
-
defaultPolicy?: "
|
|
80
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
81
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
82
82
|
} | undefined;
|
|
83
83
|
request_confirmation?: {
|
|
84
|
-
cap?: "
|
|
85
|
-
defaultPolicy?: "
|
|
84
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
85
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
request_checkbox_confirmation?: {
|
|
88
|
-
cap?: "
|
|
89
|
-
defaultPolicy?: "
|
|
88
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
89
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
90
90
|
} | undefined;
|
|
91
91
|
request_item_verdicts?: {
|
|
92
|
-
cap?: "
|
|
93
|
-
defaultPolicy?: "
|
|
92
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
93
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
94
94
|
} | undefined;
|
|
95
95
|
}>>;
|
|
96
96
|
export declare const createCompanySchema: z.ZodObject<{
|
|
@@ -124,96 +124,96 @@ export declare const updateCompanySchema: z.ZodObject<{
|
|
|
124
124
|
requireBoardApprovalForNewAgents: z.ZodOptional<z.ZodBoolean>;
|
|
125
125
|
interactionResolverGovernance: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
126
126
|
suggest_tasks: z.ZodOptional<z.ZodObject<{
|
|
127
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
128
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
127
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
128
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
129
129
|
}, "strict", z.ZodTypeAny, {
|
|
130
|
-
cap?: "
|
|
131
|
-
defaultPolicy?: "
|
|
130
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
131
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
cap?: "
|
|
134
|
-
defaultPolicy?: "
|
|
133
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
134
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
135
135
|
}>>;
|
|
136
136
|
ask_user_questions: z.ZodOptional<z.ZodObject<{
|
|
137
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
138
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
137
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
138
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
139
139
|
}, "strict", z.ZodTypeAny, {
|
|
140
|
-
cap?: "
|
|
141
|
-
defaultPolicy?: "
|
|
140
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
141
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
142
142
|
}, {
|
|
143
|
-
cap?: "
|
|
144
|
-
defaultPolicy?: "
|
|
143
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
144
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
145
145
|
}>>;
|
|
146
146
|
request_confirmation: z.ZodOptional<z.ZodObject<{
|
|
147
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
148
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
147
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
148
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
149
149
|
}, "strict", z.ZodTypeAny, {
|
|
150
|
-
cap?: "
|
|
151
|
-
defaultPolicy?: "
|
|
150
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
151
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
cap?: "
|
|
154
|
-
defaultPolicy?: "
|
|
153
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
154
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
155
155
|
}>>;
|
|
156
156
|
request_checkbox_confirmation: z.ZodOptional<z.ZodObject<{
|
|
157
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
158
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
157
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
158
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
159
159
|
}, "strict", z.ZodTypeAny, {
|
|
160
|
-
cap?: "
|
|
161
|
-
defaultPolicy?: "
|
|
160
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
161
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
162
162
|
}, {
|
|
163
|
-
cap?: "
|
|
164
|
-
defaultPolicy?: "
|
|
163
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
164
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
165
165
|
}>>;
|
|
166
166
|
request_item_verdicts: z.ZodOptional<z.ZodObject<{
|
|
167
|
-
defaultPolicy: z.ZodOptional<z.ZodEnum<["
|
|
168
|
-
cap: z.ZodOptional<z.ZodEnum<["
|
|
167
|
+
defaultPolicy: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
168
|
+
cap: z.ZodOptional<z.ZodEnum<["anyone", "not_creator", "human_only", "board_or_agents", "board_only"]>>;
|
|
169
169
|
}, "strict", z.ZodTypeAny, {
|
|
170
|
-
cap?: "
|
|
171
|
-
defaultPolicy?: "
|
|
170
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
171
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
172
172
|
}, {
|
|
173
|
-
cap?: "
|
|
174
|
-
defaultPolicy?: "
|
|
173
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
174
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
175
175
|
}>>;
|
|
176
176
|
}, "strict", z.ZodTypeAny, {
|
|
177
177
|
suggest_tasks?: {
|
|
178
|
-
cap?: "
|
|
179
|
-
defaultPolicy?: "
|
|
178
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
179
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
180
180
|
} | undefined;
|
|
181
181
|
ask_user_questions?: {
|
|
182
|
-
cap?: "
|
|
183
|
-
defaultPolicy?: "
|
|
182
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
183
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
request_confirmation?: {
|
|
186
|
-
cap?: "
|
|
187
|
-
defaultPolicy?: "
|
|
186
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
187
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
188
188
|
} | undefined;
|
|
189
189
|
request_checkbox_confirmation?: {
|
|
190
|
-
cap?: "
|
|
191
|
-
defaultPolicy?: "
|
|
190
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
191
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
192
192
|
} | undefined;
|
|
193
193
|
request_item_verdicts?: {
|
|
194
|
-
cap?: "
|
|
195
|
-
defaultPolicy?: "
|
|
194
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
195
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
196
196
|
} | undefined;
|
|
197
197
|
}, {
|
|
198
198
|
suggest_tasks?: {
|
|
199
|
-
cap?: "
|
|
200
|
-
defaultPolicy?: "
|
|
199
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
200
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
201
201
|
} | undefined;
|
|
202
202
|
ask_user_questions?: {
|
|
203
|
-
cap?: "
|
|
204
|
-
defaultPolicy?: "
|
|
203
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
204
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
205
205
|
} | undefined;
|
|
206
206
|
request_confirmation?: {
|
|
207
|
-
cap?: "
|
|
208
|
-
defaultPolicy?: "
|
|
207
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
208
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
209
209
|
} | undefined;
|
|
210
210
|
request_checkbox_confirmation?: {
|
|
211
|
-
cap?: "
|
|
212
|
-
defaultPolicy?: "
|
|
211
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
212
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
213
213
|
} | undefined;
|
|
214
214
|
request_item_verdicts?: {
|
|
215
|
-
cap?: "
|
|
216
|
-
defaultPolicy?: "
|
|
215
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
216
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
217
217
|
} | undefined;
|
|
218
218
|
}>>>;
|
|
219
219
|
feedbackDataSharingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -234,24 +234,24 @@ export declare const updateCompanySchema: z.ZodObject<{
|
|
|
234
234
|
requireBoardApprovalForNewAgents?: boolean | undefined;
|
|
235
235
|
interactionResolverGovernance?: {
|
|
236
236
|
suggest_tasks?: {
|
|
237
|
-
cap?: "
|
|
238
|
-
defaultPolicy?: "
|
|
237
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
238
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
239
239
|
} | undefined;
|
|
240
240
|
ask_user_questions?: {
|
|
241
|
-
cap?: "
|
|
242
|
-
defaultPolicy?: "
|
|
241
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
242
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
243
243
|
} | undefined;
|
|
244
244
|
request_confirmation?: {
|
|
245
|
-
cap?: "
|
|
246
|
-
defaultPolicy?: "
|
|
245
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
246
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
247
247
|
} | undefined;
|
|
248
248
|
request_checkbox_confirmation?: {
|
|
249
|
-
cap?: "
|
|
250
|
-
defaultPolicy?: "
|
|
249
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
250
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
251
251
|
} | undefined;
|
|
252
252
|
request_item_verdicts?: {
|
|
253
|
-
cap?: "
|
|
254
|
-
defaultPolicy?: "
|
|
253
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
254
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
255
255
|
} | undefined;
|
|
256
256
|
} | undefined;
|
|
257
257
|
feedbackDataSharingEnabled?: boolean | undefined;
|
|
@@ -271,24 +271,24 @@ export declare const updateCompanySchema: z.ZodObject<{
|
|
|
271
271
|
requireBoardApprovalForNewAgents?: boolean | undefined;
|
|
272
272
|
interactionResolverGovernance?: {
|
|
273
273
|
suggest_tasks?: {
|
|
274
|
-
cap?: "
|
|
275
|
-
defaultPolicy?: "
|
|
274
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
275
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
276
276
|
} | undefined;
|
|
277
277
|
ask_user_questions?: {
|
|
278
|
-
cap?: "
|
|
279
|
-
defaultPolicy?: "
|
|
278
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
279
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
280
280
|
} | undefined;
|
|
281
281
|
request_confirmation?: {
|
|
282
|
-
cap?: "
|
|
283
|
-
defaultPolicy?: "
|
|
282
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
283
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
284
284
|
} | undefined;
|
|
285
285
|
request_checkbox_confirmation?: {
|
|
286
|
-
cap?: "
|
|
287
|
-
defaultPolicy?: "
|
|
286
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
287
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
288
288
|
} | undefined;
|
|
289
289
|
request_item_verdicts?: {
|
|
290
|
-
cap?: "
|
|
291
|
-
defaultPolicy?: "
|
|
290
|
+
cap?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
291
|
+
defaultPolicy?: "anyone" | "not_creator" | "human_only" | "board_or_agents" | "board_only" | undefined;
|
|
292
292
|
} | undefined;
|
|
293
293
|
} | undefined;
|
|
294
294
|
feedbackDataSharingEnabled?: boolean | undefined;
|
|
@@ -17,32 +17,32 @@ export declare const createCostEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
17
17
|
costCents: z.ZodNumber;
|
|
18
18
|
occurredAt: z.ZodString;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
provider: string;
|
|
20
21
|
agentId: string;
|
|
21
22
|
inputTokens: number;
|
|
22
23
|
outputTokens: number;
|
|
23
24
|
costCents: number;
|
|
24
25
|
model: string;
|
|
25
|
-
provider: string;
|
|
26
26
|
cachedInputTokens: number;
|
|
27
27
|
billingType: "unknown" | "metered_api" | "subscription_included" | "subscription_overage" | "credits" | "fixed";
|
|
28
28
|
costStatus: "reported" | "unpriced";
|
|
29
29
|
occurredAt: string;
|
|
30
30
|
projectId?: string | null | undefined;
|
|
31
|
+
issueId?: string | null | undefined;
|
|
31
32
|
goalId?: string | null | undefined;
|
|
32
33
|
billingCode?: string | null | undefined;
|
|
33
|
-
issueId?: string | null | undefined;
|
|
34
34
|
heartbeatRunId?: string | null | undefined;
|
|
35
35
|
biller?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
+
provider: string;
|
|
37
38
|
agentId: string;
|
|
38
39
|
costCents: number;
|
|
39
40
|
model: string;
|
|
40
|
-
provider: string;
|
|
41
41
|
occurredAt: string;
|
|
42
42
|
projectId?: string | null | undefined;
|
|
43
|
+
issueId?: string | null | undefined;
|
|
43
44
|
goalId?: string | null | undefined;
|
|
44
45
|
billingCode?: string | null | undefined;
|
|
45
|
-
issueId?: string | null | undefined;
|
|
46
46
|
inputTokens?: number | undefined;
|
|
47
47
|
outputTokens?: number | undefined;
|
|
48
48
|
heartbeatRunId?: string | null | undefined;
|
|
@@ -52,31 +52,31 @@ export declare const createCostEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
52
52
|
costStatus?: "reported" | "unpriced" | undefined;
|
|
53
53
|
}>, {
|
|
54
54
|
biller: string;
|
|
55
|
+
provider: string;
|
|
55
56
|
agentId: string;
|
|
56
57
|
inputTokens: number;
|
|
57
58
|
outputTokens: number;
|
|
58
59
|
costCents: number;
|
|
59
60
|
model: string;
|
|
60
|
-
provider: string;
|
|
61
61
|
cachedInputTokens: number;
|
|
62
62
|
billingType: "unknown" | "metered_api" | "subscription_included" | "subscription_overage" | "credits" | "fixed";
|
|
63
63
|
costStatus: "reported" | "unpriced";
|
|
64
64
|
occurredAt: string;
|
|
65
65
|
projectId?: string | null | undefined;
|
|
66
|
+
issueId?: string | null | undefined;
|
|
66
67
|
goalId?: string | null | undefined;
|
|
67
68
|
billingCode?: string | null | undefined;
|
|
68
|
-
issueId?: string | null | undefined;
|
|
69
69
|
heartbeatRunId?: string | null | undefined;
|
|
70
70
|
}, {
|
|
71
|
+
provider: string;
|
|
71
72
|
agentId: string;
|
|
72
73
|
costCents: number;
|
|
73
74
|
model: string;
|
|
74
|
-
provider: string;
|
|
75
75
|
occurredAt: string;
|
|
76
76
|
projectId?: string | null | undefined;
|
|
77
|
+
issueId?: string | null | undefined;
|
|
77
78
|
goalId?: string | null | undefined;
|
|
78
79
|
billingCode?: string | null | undefined;
|
|
79
|
-
issueId?: string | null | undefined;
|
|
80
80
|
inputTokens?: number | undefined;
|
|
81
81
|
outputTokens?: number | undefined;
|
|
82
82
|
heartbeatRunId?: string | null | undefined;
|
|
@@ -90,41 +90,41 @@ export declare const createDecisionArchiveProposalSchema: z.ZodEffects<z.ZodObje
|
|
|
90
90
|
sourceId: z.ZodString;
|
|
91
91
|
reason: z.ZodString;
|
|
92
92
|
}, "strict", z.ZodTypeAny, {
|
|
93
|
+
reason: string;
|
|
93
94
|
sourceKind: "review" | "approval" | "decision" | "issue_thread_interaction" | "join_request" | "recovery_action" | "productivity_review" | "blocker_attention" | "failed_run" | "budget_alert" | "agent_error_alert";
|
|
94
95
|
sourceId: string;
|
|
95
|
-
reason: string;
|
|
96
96
|
}, {
|
|
97
|
+
reason: string;
|
|
97
98
|
sourceKind: "review" | "approval" | "decision" | "issue_thread_interaction" | "join_request" | "recovery_action" | "productivity_review" | "blocker_attention" | "failed_run" | "budget_alert" | "agent_error_alert";
|
|
98
99
|
sourceId: string;
|
|
99
|
-
reason: string;
|
|
100
100
|
}>, "many">;
|
|
101
101
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
102
102
|
}, "strict", z.ZodTypeAny, {
|
|
103
103
|
items: {
|
|
104
|
+
reason: string;
|
|
104
105
|
sourceKind: "review" | "approval" | "decision" | "issue_thread_interaction" | "join_request" | "recovery_action" | "productivity_review" | "blocker_attention" | "failed_run" | "budget_alert" | "agent_error_alert";
|
|
105
106
|
sourceId: string;
|
|
106
|
-
reason: string;
|
|
107
107
|
}[];
|
|
108
108
|
idempotencyKey?: string | undefined;
|
|
109
109
|
}, {
|
|
110
110
|
items: {
|
|
111
|
+
reason: string;
|
|
111
112
|
sourceKind: "review" | "approval" | "decision" | "issue_thread_interaction" | "join_request" | "recovery_action" | "productivity_review" | "blocker_attention" | "failed_run" | "budget_alert" | "agent_error_alert";
|
|
112
113
|
sourceId: string;
|
|
113
|
-
reason: string;
|
|
114
114
|
}[];
|
|
115
115
|
idempotencyKey?: string | undefined;
|
|
116
116
|
}>, {
|
|
117
117
|
items: {
|
|
118
|
+
reason: string;
|
|
118
119
|
sourceKind: "review" | "approval" | "decision" | "issue_thread_interaction" | "join_request" | "recovery_action" | "productivity_review" | "blocker_attention" | "failed_run" | "budget_alert" | "agent_error_alert";
|
|
119
120
|
sourceId: string;
|
|
120
|
-
reason: string;
|
|
121
121
|
}[];
|
|
122
122
|
idempotencyKey?: string | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
items: {
|
|
125
|
+
reason: string;
|
|
125
126
|
sourceKind: "review" | "approval" | "decision" | "issue_thread_interaction" | "join_request" | "recovery_action" | "productivity_review" | "blocker_attention" | "failed_run" | "budget_alert" | "agent_error_alert";
|
|
126
127
|
sourceId: string;
|
|
127
|
-
reason: string;
|
|
128
128
|
}[];
|
|
129
129
|
idempotencyKey?: string | undefined;
|
|
130
130
|
}>;
|