@rudderhq/shared 0.7.2 → 0.7.4-canary.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.
Files changed (96) hide show
  1. package/dist/api.d.ts +1 -0
  2. package/dist/api.d.ts.map +1 -1
  3. package/dist/api.js +1 -0
  4. package/dist/api.js.map +1 -1
  5. package/dist/computer-use.d.ts +346 -0
  6. package/dist/computer-use.d.ts.map +1 -0
  7. package/dist/computer-use.js +264 -0
  8. package/dist/computer-use.js.map +1 -0
  9. package/dist/computer-use.test.d.ts +2 -0
  10. package/dist/computer-use.test.d.ts.map +1 -0
  11. package/dist/computer-use.test.js +37 -0
  12. package/dist/computer-use.test.js.map +1 -0
  13. package/dist/constants.d.ts +8 -125
  14. package/dist/constants.d.ts.map +1 -1
  15. package/dist/constants.js +4 -301
  16. package/dist/constants.js.map +1 -1
  17. package/dist/index.d.ts +8 -4
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +6 -3
  20. package/dist/index.js.map +1 -1
  21. package/dist/project-mentions.d.ts +7 -0
  22. package/dist/project-mentions.d.ts.map +1 -1
  23. package/dist/project-mentions.js +34 -0
  24. package/dist/project-mentions.js.map +1 -1
  25. package/dist/project-mentions.test.js +6 -1
  26. package/dist/project-mentions.test.js.map +1 -1
  27. package/dist/types/app-builder.d.ts +1 -1
  28. package/dist/types/app-builder.d.ts.map +1 -1
  29. package/dist/types/index.d.ts +4 -3
  30. package/dist/types/index.d.ts.map +1 -1
  31. package/dist/types/instance.d.ts +2 -0
  32. package/dist/types/instance.d.ts.map +1 -1
  33. package/dist/types/issue.d.ts +1 -0
  34. package/dist/types/issue.d.ts.map +1 -1
  35. package/dist/types/messenger.d.ts +10 -0
  36. package/dist/types/messenger.d.ts.map +1 -1
  37. package/dist/types/organization-skill.d.ts +8 -0
  38. package/dist/types/organization-skill.d.ts.map +1 -1
  39. package/dist/types/plugin-v1.d.ts +158 -0
  40. package/dist/types/plugin-v1.d.ts.map +1 -0
  41. package/dist/types/plugin-v1.js +2 -0
  42. package/dist/types/plugin-v1.js.map +1 -0
  43. package/dist/types/request.d.ts +41 -0
  44. package/dist/types/request.d.ts.map +1 -0
  45. package/dist/types/request.js +2 -0
  46. package/dist/types/request.js.map +1 -0
  47. package/dist/validators/adapter-skills.d.ts +12 -12
  48. package/dist/validators/app-builder.d.ts +11 -11
  49. package/dist/validators/app-builder.d.ts.map +1 -1
  50. package/dist/validators/app-builder.js +13 -3
  51. package/dist/validators/app-builder.js.map +1 -1
  52. package/dist/validators/app-builder.test.js +25 -1
  53. package/dist/validators/app-builder.test.js.map +1 -1
  54. package/dist/validators/budget.d.ts +6 -6
  55. package/dist/validators/chat.d.ts +18 -18
  56. package/dist/validators/finance.d.ts +4 -4
  57. package/dist/validators/index.d.ts +3 -2
  58. package/dist/validators/index.d.ts.map +1 -1
  59. package/dist/validators/index.js +3 -2
  60. package/dist/validators/index.js.map +1 -1
  61. package/dist/validators/instance.d.ts +12 -0
  62. package/dist/validators/instance.d.ts.map +1 -1
  63. package/dist/validators/instance.js +2 -0
  64. package/dist/validators/instance.js.map +1 -1
  65. package/dist/validators/instance.test.js +1 -0
  66. package/dist/validators/instance.test.js.map +1 -1
  67. package/dist/validators/issue.d.ts +15 -2
  68. package/dist/validators/issue.d.ts.map +1 -1
  69. package/dist/validators/issue.js +3 -0
  70. package/dist/validators/issue.js.map +1 -1
  71. package/dist/validators/issue.test.d.ts +2 -0
  72. package/dist/validators/issue.test.d.ts.map +1 -0
  73. package/dist/validators/issue.test.js +15 -0
  74. package/dist/validators/issue.test.js.map +1 -0
  75. package/dist/validators/organization-portability.d.ts +82 -82
  76. package/dist/validators/organization-skill.d.ts +57 -34
  77. package/dist/validators/organization-skill.d.ts.map +1 -1
  78. package/dist/validators/organization-skill.js +6 -0
  79. package/dist/validators/organization-skill.js.map +1 -1
  80. package/dist/validators/plugin-v1.d.ts +183 -0
  81. package/dist/validators/plugin-v1.d.ts.map +1 -0
  82. package/dist/validators/plugin-v1.js +47 -0
  83. package/dist/validators/plugin-v1.js.map +1 -0
  84. package/dist/validators/request.d.ts +32 -0
  85. package/dist/validators/request.d.ts.map +1 -0
  86. package/dist/validators/request.js +14 -0
  87. package/dist/validators/request.js.map +1 -0
  88. package/package.json +10 -1
  89. package/dist/types/plugin.d.ts +0 -419
  90. package/dist/types/plugin.d.ts.map +0 -1
  91. package/dist/types/plugin.js +0 -2
  92. package/dist/types/plugin.js.map +0 -1
  93. package/dist/validators/plugin.d.ts +0 -1173
  94. package/dist/validators/plugin.d.ts.map +0 -1
  95. package/dist/validators/plugin.js +0 -547
  96. package/dist/validators/plugin.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-v1.d.ts","sourceRoot":"","sources":["../../src/types/plugin-v1.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG,aAAa,GAAG,KAAK,GAAG,SAAS,CAAC;AACxF,MAAM,MAAM,iCAAiC,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,aAAa,CAAC;AAChF,MAAM,MAAM,2BAA2B,GAAG,OAAO,GAAG,gBAAgB,GAAG,aAAa,GAAG,UAAU,CAAC;AAElG,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC9B;AAED,MAAM,WAAW,kCAAkC;IACjD,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,yBAAyB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,2BAA2B,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;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M,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,QAAQ,EAAE,yBAAyB,EAAE,CAAC;IACtC,cAAc,EAAE,MAAM,GAAG,YAAY,CAAC;CACvC;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,4BAA4B,EAAE,CAAC;IACvC,MAAM,CAAC,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,0BAA2B,SAAQ,mBAAmB;IACrE,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugin-v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-v1.js","sourceRoot":"","sources":["../../src/types/plugin-v1.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ import type { AssistanceRequestResolution, RequestKind, RequestStatus } from "../constants.js";
2
+ import type { Approval } from "./approval.js";
3
+ export interface AssistanceRequest {
4
+ id: string;
5
+ orgId: string;
6
+ kind: "assistance";
7
+ subtype: "issue_blocker";
8
+ status: RequestStatus;
9
+ issueId: string;
10
+ requestedByAgentId: string | null;
11
+ requestedByUserId: string | null;
12
+ originRunId: string | null;
13
+ assigneeAgentId: string | null;
14
+ blockerFingerprint: string;
15
+ supersededByRequestId: string | null;
16
+ title: string;
17
+ prompt: string;
18
+ resolution: AssistanceRequestResolution | null;
19
+ response: string | null;
20
+ resolvedByUserId: string | null;
21
+ resolvedAt: Date | null;
22
+ metadata: Record<string, unknown>;
23
+ createdAt: Date;
24
+ updatedAt: Date;
25
+ }
26
+ export interface ApprovalRequest extends Approval {
27
+ kind: "approval";
28
+ subtype: Approval["type"];
29
+ requestStatus: RequestStatus;
30
+ }
31
+ export type RudderRequest = AssistanceRequest | ApprovalRequest;
32
+ export interface IssueBlockAuditResult {
33
+ request: AssistanceRequest;
34
+ attempt: number;
35
+ requiredAttempts: 3;
36
+ blocked: boolean;
37
+ fingerprint: string;
38
+ applied: boolean;
39
+ }
40
+ export type { RequestKind };
41
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/types/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC/F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,eAAe,CAAC;IACzB,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,2BAA2B,GAAG,IAAI,CAAC;IAC/C,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1B,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,eAAe,CAAC;AAEhE,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.js","sourceRoot":"","sources":["../../src/types/request.ts"],"names":[],"mappings":""}
@@ -23,9 +23,9 @@ export declare const agentSkillEntrySchema: z.ZodObject<{
23
23
  workspaceEditPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
27
- managed: boolean;
26
+ state: "configured" | "external" | "available" | "installed" | "missing" | "stale";
28
27
  key: string;
28
+ managed: boolean;
29
29
  selectionKey: string;
30
30
  runtimeName: string | null;
31
31
  desired: boolean;
@@ -42,9 +42,9 @@ export declare const agentSkillEntrySchema: z.ZodObject<{
42
42
  workspaceEditPath?: string | null | undefined;
43
43
  detail?: string | null | undefined;
44
44
  }, {
45
- state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
46
- managed: boolean;
45
+ state: "configured" | "external" | "available" | "installed" | "missing" | "stale";
47
46
  key: string;
47
+ managed: boolean;
48
48
  selectionKey: string;
49
49
  runtimeName: string | null;
50
50
  desired: boolean;
@@ -86,9 +86,9 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
86
86
  workspaceEditPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
87
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
88
  }, "strip", z.ZodTypeAny, {
89
- state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
90
- managed: boolean;
89
+ state: "configured" | "external" | "available" | "installed" | "missing" | "stale";
91
90
  key: string;
91
+ managed: boolean;
92
92
  selectionKey: string;
93
93
  runtimeName: string | null;
94
94
  desired: boolean;
@@ -105,9 +105,9 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
105
105
  workspaceEditPath?: string | null | undefined;
106
106
  detail?: string | null | undefined;
107
107
  }, {
108
- state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
109
- managed: boolean;
108
+ state: "configured" | "external" | "available" | "installed" | "missing" | "stale";
110
109
  key: string;
110
+ managed: boolean;
111
111
  selectionKey: string;
112
112
  runtimeName: string | null;
113
113
  desired: boolean;
@@ -127,9 +127,9 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
127
127
  warnings: z.ZodArray<z.ZodString, "many">;
128
128
  }, "strip", z.ZodTypeAny, {
129
129
  entries: {
130
- state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
131
- managed: boolean;
130
+ state: "configured" | "external" | "available" | "installed" | "missing" | "stale";
132
131
  key: string;
132
+ managed: boolean;
133
133
  selectionKey: string;
134
134
  runtimeName: string | null;
135
135
  desired: boolean;
@@ -153,9 +153,9 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
153
153
  warnings: string[];
154
154
  }, {
155
155
  entries: {
156
- state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
157
- managed: boolean;
156
+ state: "configured" | "external" | "available" | "installed" | "missing" | "stale";
158
157
  key: string;
158
+ managed: boolean;
159
159
  selectionKey: string;
160
160
  runtimeName: string | null;
161
161
  desired: boolean;
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const APP_BUILDER_SOURCE_ROOT_PATTERN: RegExp;
3
- export declare const appBuilderBuildStatusSchema: z.ZodEnum<["preparing", "building", "verifying", "ready", "failed"]>;
3
+ export declare const appBuilderBuildStatusSchema: z.ZodEnum<["preparing", "building", "verified_source_ready", "verifying", "ready", "launch_failed", "failed"]>;
4
4
  export declare const appBuilderRunKindSchema: z.ZodEnum<["build", "verification"]>;
5
5
  export declare const appBuilderSourceRootSchema: z.ZodString;
6
6
  export declare const createAppBuilderAppSchema: z.ZodObject<{
@@ -23,29 +23,29 @@ export declare const createAppBuilderAppSchema: z.ZodObject<{
23
23
  conversationId?: string | null | undefined;
24
24
  }>;
25
25
  export declare const updateAppBuilderBuildSchema: z.ZodEffects<z.ZodObject<{
26
- status: z.ZodEnum<["preparing", "building", "verifying", "ready", "failed"]>;
27
- expectedStatus: z.ZodOptional<z.ZodEnum<["preparing", "building", "verifying", "ready", "failed"]>>;
26
+ status: z.ZodEnum<["preparing", "building", "verified_source_ready", "verifying", "ready", "launch_failed", "failed"]>;
27
+ expectedStatus: z.ZodEnum<["preparing", "building", "verified_source_ready", "verifying", "ready", "launch_failed", "failed"]>;
28
28
  runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  runKind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["build", "verification"]>>>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- status: "ready" | "failed" | "preparing" | "building" | "verifying";
31
+ status: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
32
+ expectedStatus: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
32
33
  runKind: "verification" | "build";
33
34
  runId?: string | null | undefined;
34
- expectedStatus?: "ready" | "failed" | "preparing" | "building" | "verifying" | undefined;
35
35
  }, {
36
- status: "ready" | "failed" | "preparing" | "building" | "verifying";
36
+ status: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
37
+ expectedStatus: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
37
38
  runId?: string | null | undefined;
38
- expectedStatus?: "ready" | "failed" | "preparing" | "building" | "verifying" | undefined;
39
39
  runKind?: "verification" | "build" | undefined;
40
40
  }>, {
41
- status: "ready" | "failed" | "preparing" | "building" | "verifying";
41
+ status: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
42
+ expectedStatus: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
42
43
  runKind: "verification" | "build";
43
44
  runId?: string | null | undefined;
44
- expectedStatus?: "ready" | "failed" | "preparing" | "building" | "verifying" | undefined;
45
45
  }, {
46
- status: "ready" | "failed" | "preparing" | "building" | "verifying";
46
+ status: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
47
+ expectedStatus: "ready" | "failed" | "preparing" | "building" | "verified_source_ready" | "verifying" | "launch_failed";
47
48
  runId?: string | null | undefined;
48
- expectedStatus?: "ready" | "failed" | "preparing" | "building" | "verifying" | undefined;
49
49
  runKind?: "verification" | "build" | undefined;
50
50
  }>;
51
51
  export declare const attachAppBuilderConversationSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"app-builder.d.ts","sourceRoot":"","sources":["../../src/validators/app-builder.ts"],"names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BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;EAyBpC,CAAC;AAEL,eAAO,MAAM,kCAAkC;;;;;;EAE7C,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAIxC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -3,8 +3,10 @@ export const APP_BUILDER_SOURCE_ROOT_PATTERN = /^apps\/[a-z0-9](?:[a-z0-9-]{0,61
3
3
  export const appBuilderBuildStatusSchema = z.enum([
4
4
  "preparing",
5
5
  "building",
6
+ "verified_source_ready",
6
7
  "verifying",
7
8
  "ready",
9
+ "launch_failed",
8
10
  "failed",
9
11
  ]);
10
12
  export const appBuilderRunKindSchema = z.enum(["build", "verification"]);
@@ -29,16 +31,24 @@ export const createAppBuilderAppSchema = z.object({
29
31
  export const updateAppBuilderBuildSchema = z
30
32
  .object({
31
33
  status: appBuilderBuildStatusSchema,
32
- expectedStatus: appBuilderBuildStatusSchema.optional(),
34
+ expectedStatus: appBuilderBuildStatusSchema,
33
35
  runId: z.string().uuid().nullable().optional(),
34
36
  runKind: appBuilderRunKindSchema.optional().default("build"),
35
37
  })
36
38
  .superRefine((value, context) => {
37
- if (value.status === "verifying" && value.runKind !== "verification") {
39
+ if (["verified_source_ready", "verifying"].includes(value.status)
40
+ && value.runKind !== "verification") {
38
41
  context.addIssue({
39
42
  code: z.ZodIssueCode.custom,
40
43
  path: ["runKind"],
41
- message: "verifying status requires a verification run",
44
+ message: `${value.status} status requires a verification run`,
45
+ });
46
+ }
47
+ if (value.status === "verified_source_ready" && !value.runId) {
48
+ context.addIssue({
49
+ code: z.ZodIssueCode.custom,
50
+ path: ["runId"],
51
+ message: "verified_source_ready status requires the authenticated verification run ID",
42
52
  });
43
53
  }
44
54
  });
@@ -1 +1 @@
1
- {"version":3,"file":"app-builder.js","sourceRoot":"","sources":["../../src/validators/app-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,+BAA+B,GAC1C,8CAA8C,CAAC;AAEjD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC;IAChD,WAAW;IACX,UAAU;IACV,WAAW;IACX,OAAO;IACP,QAAQ;CACT,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;AAEzE,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,GAAG,CAAC,EAAE,CAAC;KACP,KAAK,CACJ,+BAA+B,EAC/B,sEAAsE,CACvE,CAAC;AAEJ,MAAM,2BAA2B,GAAG,CAAC;KAClC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,GAAG,CAAC;KACR,KAAK,CAAC,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MA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AE,CAAC,IAAI,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,qBAAqB,EAAE,2BAA2B;IAClD,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,2BAA2B;CAC5C,CAAC,CAAC"}
@@ -38,23 +38,47 @@ describe("App Builder validators", () => {
38
38
  })).toThrow();
39
39
  });
40
40
  it("defaults build updates to the build run kind", () => {
41
- expect(updateAppBuilderBuildSchema.parse({ status: "building" })).toEqual({
41
+ expect(updateAppBuilderBuildSchema.parse({
42
+ status: "building",
43
+ expectedStatus: "preparing",
44
+ })).toEqual({
42
45
  status: "building",
46
+ expectedStatus: "preparing",
43
47
  runKind: "build",
44
48
  });
45
49
  });
46
50
  it("accepts the explicit verification lifecycle status", () => {
47
51
  expect(updateAppBuilderBuildSchema.parse({
48
52
  status: "verifying",
53
+ expectedStatus: "verified_source_ready",
49
54
  runKind: "verification",
50
55
  })).toEqual({
51
56
  status: "verifying",
57
+ expectedStatus: "verified_source_ready",
52
58
  runKind: "verification",
53
59
  });
54
60
  });
55
61
  it("requires the verification run kind when entering verification", () => {
56
62
  expect(() => updateAppBuilderBuildSchema.parse({
57
63
  status: "verifying",
64
+ expectedStatus: "verified_source_ready",
65
+ })).toThrow();
66
+ });
67
+ it("requires a verification run ID for the verified-source handoff", () => {
68
+ expect(updateAppBuilderBuildSchema.parse({
69
+ status: "verified_source_ready",
70
+ expectedStatus: "building",
71
+ runKind: "verification",
72
+ runId: "55555555-5555-4555-8555-555555555555",
73
+ })).toMatchObject({
74
+ status: "verified_source_ready",
75
+ expectedStatus: "building",
76
+ runKind: "verification",
77
+ });
78
+ expect(() => updateAppBuilderBuildSchema.parse({
79
+ status: "verified_source_ready",
80
+ expectedStatus: "building",
81
+ runKind: "verification",
58
82
  })).toThrow();
59
83
  });
60
84
  it("accepts only bounded opaque local binding identifiers", () => {
@@ -1 +1 @@
1
- {"version":3,"file":"app-buil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,CAAC,CAAC;IAEH,EAAE,CAAC,gEAAgE,EAAE,GAAG,EAAE;QACxE,MAAM,CAAC,2BAA2B,CAAC,KAAK,CAAC;YACvC,MAAM,EAAE,uBAAuB;YAC/B,cAAc,EAAE,UAAU;YAC1B,OAAO,EAAE,cAAc;YACvB,KAAK,EAAE,sCAAsC;SAC9C,CAAC,CAAC,CAAC,aAAa,CAAC;YAChB,MAAM,EAAE,uBAAuB;YAC/B,cAAc,EAAE,UAAU;YAC1B,OAAO,EAAE,cAAc;SACxB,CAAC,CAAC;QACH,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAC7C,MAAM,EAAE,uBAAuB;YAC/B,cAAc,EAAE,UAAU;YAC1B,OAAO,EAAE,cAAc;SACxB,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAChB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uDAAuD,EAAE,GAAG,EAAE;QAC/D,MAAM,CACJ,6BAA6B,CAAC,KAAK,CAAC;YAClC,qBAAqB,EAAE,gBAAgB;YACvC,WAAW,EAAE,YAAY;YACzB,cAAc,EAAE,gBAAgB;SACjC,CAAC,CACH,CAAC,OAAO,CAAC;YACR,qBAAqB,EAAE,gBAAgB;YACvC,WAAW,EAAE,YAAY;YACzB,cAAc,EAAE,gBAAgB;SACjC,CAAC,CAAC;QAEH,MAAM,CAAC,GAAG,EAAE,CACV,6BAA6B,CAAC,KAAK,CAAC;YAClC,qBAAqB,EAAE,sBAAsB;YAC7C,WAAW,EAAE,OAAO;YACpB,cAAc,EAAE,WAAW;SAC5B,CAAC,CACH,CAAC,OAAO,EAAE,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -11,18 +11,18 @@ export declare const upsertBudgetPolicySchema: z.ZodObject<{
11
11
  isActive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  metric: "billed_cents";
14
+ amount: number;
14
15
  scopeType: "organization" | "agent";
15
16
  scopeId: string;
16
17
  windowKind: "calendar_month_utc" | "lifetime";
17
- amount: number;
18
18
  warnPercent: number;
19
19
  hardStopEnabled: boolean;
20
20
  notifyEnabled: boolean;
21
21
  isActive: boolean;
22
22
  }, {
23
+ amount: number;
23
24
  scopeType: "organization" | "agent";
24
25
  scopeId: string;
25
- amount: number;
26
26
  metric?: "billed_cents" | undefined;
27
27
  windowKind?: "calendar_month_utc" | "lifetime" | undefined;
28
28
  warnPercent?: number | undefined;
@@ -37,20 +37,20 @@ export declare const resolveBudgetIncidentSchema: z.ZodEffects<z.ZodObject<{
37
37
  decisionNote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  action: "keep_paused" | "raise_budget_and_resume";
40
- decisionNote?: string | null | undefined;
41
40
  amount?: number | undefined;
41
+ decisionNote?: string | null | undefined;
42
42
  }, {
43
43
  action: "keep_paused" | "raise_budget_and_resume";
44
- decisionNote?: string | null | undefined;
45
44
  amount?: number | undefined;
45
+ decisionNote?: string | null | undefined;
46
46
  }>, {
47
47
  action: "keep_paused" | "raise_budget_and_resume";
48
- decisionNote?: string | null | undefined;
49
48
  amount?: number | undefined;
49
+ decisionNote?: string | null | undefined;
50
50
  }, {
51
51
  action: "keep_paused" | "raise_budget_and_resume";
52
- decisionNote?: string | null | undefined;
53
52
  amount?: number | undefined;
53
+ decisionNote?: string | null | undefined;
54
54
  }>;
55
55
  export type ResolveBudgetIncident = z.infer<typeof resolveBudgetIncidentSchema>;
56
56
  //# sourceMappingURL=budget.d.ts.map
@@ -7239,22 +7239,22 @@ export declare const chatRichReferenceSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
7239
7239
  type: "issue";
7240
7240
  issueId?: string | undefined;
7241
7241
  identifier?: string | undefined;
7242
- display?: "inline" | "card" | undefined;
7242
+ display?: "card" | "inline" | undefined;
7243
7243
  }, {
7244
7244
  type: "issue";
7245
7245
  issueId?: string | undefined;
7246
7246
  identifier?: string | undefined;
7247
- display?: "inline" | "card" | undefined;
7247
+ display?: "card" | "inline" | undefined;
7248
7248
  }>, {
7249
7249
  type: "issue";
7250
7250
  issueId?: string | undefined;
7251
7251
  identifier?: string | undefined;
7252
- display?: "inline" | "card" | undefined;
7252
+ display?: "card" | "inline" | undefined;
7253
7253
  }, {
7254
7254
  type: "issue";
7255
7255
  issueId?: string | undefined;
7256
7256
  identifier?: string | undefined;
7257
- display?: "inline" | "card" | undefined;
7257
+ display?: "card" | "inline" | undefined;
7258
7258
  }>, z.ZodEffects<z.ZodObject<{
7259
7259
  type: z.ZodLiteral<"issue_comment">;
7260
7260
  issueId: z.ZodOptional<z.ZodString>;
@@ -7266,25 +7266,25 @@ export declare const chatRichReferenceSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
7266
7266
  type: "issue_comment";
7267
7267
  issueId?: string | undefined;
7268
7268
  identifier?: string | undefined;
7269
- display?: "inline" | "card" | undefined;
7269
+ display?: "card" | "inline" | undefined;
7270
7270
  }, {
7271
7271
  commentId: string;
7272
7272
  type: "issue_comment";
7273
7273
  issueId?: string | undefined;
7274
7274
  identifier?: string | undefined;
7275
- display?: "inline" | "card" | undefined;
7275
+ display?: "card" | "inline" | undefined;
7276
7276
  }>, {
7277
7277
  commentId: string;
7278
7278
  type: "issue_comment";
7279
7279
  issueId?: string | undefined;
7280
7280
  identifier?: string | undefined;
7281
- display?: "inline" | "card" | undefined;
7281
+ display?: "card" | "inline" | undefined;
7282
7282
  }, {
7283
7283
  commentId: string;
7284
7284
  type: "issue_comment";
7285
7285
  issueId?: string | undefined;
7286
7286
  identifier?: string | undefined;
7287
- display?: "inline" | "card" | undefined;
7287
+ display?: "card" | "inline" | undefined;
7288
7288
  }>]>;
7289
7289
  export declare const chatRichReferencesSchema: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
7290
7290
  type: z.ZodLiteral<"issue">;
@@ -7295,22 +7295,22 @@ export declare const chatRichReferencesSchema: z.ZodArray<z.ZodUnion<[z.ZodEffec
7295
7295
  type: "issue";
7296
7296
  issueId?: string | undefined;
7297
7297
  identifier?: string | undefined;
7298
- display?: "inline" | "card" | undefined;
7298
+ display?: "card" | "inline" | undefined;
7299
7299
  }, {
7300
7300
  type: "issue";
7301
7301
  issueId?: string | undefined;
7302
7302
  identifier?: string | undefined;
7303
- display?: "inline" | "card" | undefined;
7303
+ display?: "card" | "inline" | undefined;
7304
7304
  }>, {
7305
7305
  type: "issue";
7306
7306
  issueId?: string | undefined;
7307
7307
  identifier?: string | undefined;
7308
- display?: "inline" | "card" | undefined;
7308
+ display?: "card" | "inline" | undefined;
7309
7309
  }, {
7310
7310
  type: "issue";
7311
7311
  issueId?: string | undefined;
7312
7312
  identifier?: string | undefined;
7313
- display?: "inline" | "card" | undefined;
7313
+ display?: "card" | "inline" | undefined;
7314
7314
  }>, z.ZodEffects<z.ZodObject<{
7315
7315
  type: z.ZodLiteral<"issue_comment">;
7316
7316
  issueId: z.ZodOptional<z.ZodString>;
@@ -7322,37 +7322,37 @@ export declare const chatRichReferencesSchema: z.ZodArray<z.ZodUnion<[z.ZodEffec
7322
7322
  type: "issue_comment";
7323
7323
  issueId?: string | undefined;
7324
7324
  identifier?: string | undefined;
7325
- display?: "inline" | "card" | undefined;
7325
+ display?: "card" | "inline" | undefined;
7326
7326
  }, {
7327
7327
  commentId: string;
7328
7328
  type: "issue_comment";
7329
7329
  issueId?: string | undefined;
7330
7330
  identifier?: string | undefined;
7331
- display?: "inline" | "card" | undefined;
7331
+ display?: "card" | "inline" | undefined;
7332
7332
  }>, {
7333
7333
  commentId: string;
7334
7334
  type: "issue_comment";
7335
7335
  issueId?: string | undefined;
7336
7336
  identifier?: string | undefined;
7337
- display?: "inline" | "card" | undefined;
7337
+ display?: "card" | "inline" | undefined;
7338
7338
  }, {
7339
7339
  commentId: string;
7340
7340
  type: "issue_comment";
7341
7341
  issueId?: string | undefined;
7342
7342
  identifier?: string | undefined;
7343
- display?: "inline" | "card" | undefined;
7343
+ display?: "card" | "inline" | undefined;
7344
7344
  }>]>, "many">;
7345
7345
  export declare function chatRichReferencesFromStructuredPayload(payload: unknown): ({
7346
7346
  type: "issue";
7347
7347
  issueId?: string | undefined;
7348
7348
  identifier?: string | undefined;
7349
- display?: "inline" | "card" | undefined;
7349
+ display?: "card" | "inline" | undefined;
7350
7350
  } | {
7351
7351
  commentId: string;
7352
7352
  type: "issue_comment";
7353
7353
  issueId?: string | undefined;
7354
7354
  identifier?: string | undefined;
7355
- display?: "inline" | "card" | undefined;
7355
+ display?: "card" | "inline" | undefined;
7356
7356
  })[];
7357
7357
  export declare function chatInlineAnnotationsFromStructuredPayload(payload: unknown): ChatInlineAnnotation[];
7358
7358
  export declare function chatAskUserRequestFromStructuredPayload(payload: unknown): {
@@ -25,10 +25,10 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
25
25
  metadataJson: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
26
  occurredAt: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
+ direction: "debit" | "credit";
28
29
  eventKind: "inference_charge" | "platform_fee" | "credit_purchase" | "credit_refund" | "credit_expiry" | "byok_fee" | "gateway_overhead" | "log_storage_charge" | "logpush_charge" | "provisioned_capacity_charge" | "training_charge" | "custom_model_import_charge" | "custom_model_storage_charge" | "manual_adjustment";
29
30
  occurredAt: string;
30
31
  biller: string;
31
- direction: "debit" | "credit";
32
32
  amountCents: number;
33
33
  currency: string;
34
34
  estimated: boolean;
@@ -58,13 +58,13 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
58
58
  agentId?: string | null | undefined;
59
59
  issueId?: string | null | undefined;
60
60
  model?: string | null | undefined;
61
+ direction?: "debit" | "credit" | undefined;
61
62
  description?: string | null | undefined;
62
63
  provider?: string | null | undefined;
63
64
  goalId?: string | null | undefined;
64
65
  billingCode?: string | null | undefined;
65
66
  heartbeatRunId?: string | null | undefined;
66
67
  costEventId?: string | null | undefined;
67
- direction?: "debit" | "credit" | undefined;
68
68
  executionAgentRuntimeType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_gateway" | "hermes_local" | null | undefined;
69
69
  pricingTier?: string | null | undefined;
70
70
  region?: string | null | undefined;
@@ -76,10 +76,10 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
76
76
  metadataJson?: Record<string, unknown> | null | undefined;
77
77
  }>, {
78
78
  currency: string;
79
+ direction: "debit" | "credit";
79
80
  eventKind: "inference_charge" | "platform_fee" | "credit_purchase" | "credit_refund" | "credit_expiry" | "byok_fee" | "gateway_overhead" | "log_storage_charge" | "logpush_charge" | "provisioned_capacity_charge" | "training_charge" | "custom_model_import_charge" | "custom_model_storage_charge" | "manual_adjustment";
80
81
  occurredAt: string;
81
82
  biller: string;
82
- direction: "debit" | "credit";
83
83
  amountCents: number;
84
84
  estimated: boolean;
85
85
  projectId?: string | null | undefined;
@@ -108,13 +108,13 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
108
108
  agentId?: string | null | undefined;
109
109
  issueId?: string | null | undefined;
110
110
  model?: string | null | undefined;
111
+ direction?: "debit" | "credit" | undefined;
111
112
  description?: string | null | undefined;
112
113
  provider?: string | null | undefined;
113
114
  goalId?: string | null | undefined;
114
115
  billingCode?: string | null | undefined;
115
116
  heartbeatRunId?: string | null | undefined;
116
117
  costEventId?: string | null | undefined;
117
- direction?: "debit" | "credit" | undefined;
118
118
  executionAgentRuntimeType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_gateway" | "hermes_local" | null | undefined;
119
119
  pricingTier?: string | null | undefined;
120
120
  region?: string | null | undefined;
@@ -8,7 +8,7 @@ export { MAX_CHAT_INLINE_ANNOTATIONS, MAX_CHAT_INLINE_ANNOTATION_ATTACHMENTS, MA
8
8
  export { createMessengerSavedViewSchema, keepMessengerSavedViewSchema, listMessengerSavedViewsQuerySchema, messengerSavedViewIdSchema, messengerSavedViewTargetSchema, reorderMessengerSavedViewsSchema, updateMessengerSavedViewSchema, type CreateMessengerSavedView, type KeepMessengerSavedView, type ListMessengerSavedViewsQuery, type MessengerSavedViewTargetInput, type ReorderMessengerSavedViews, type UpdateMessengerSavedView } from "./messenger.js";
9
9
  export { organizationIntelligenceProfileConfigSchema, organizationIntelligenceProfilePurposeSchema, organizationIntelligenceProfileStatusSchema, upsertOrganizationIntelligenceProfileSchema, type OrganizationIntelligenceProfilePurposeInput, type UpsertOrganizationIntelligenceProfileInput } from "./organization-intelligence-profile.js";
10
10
  export { organizationPortabilityExportSchema, organizationPortabilityImportSchema, organizationPortabilityPreviewSchema, portabilityAgentManifestEntrySchema, portabilityAgentSelectionSchema, portabilityCollisionStrategySchema, portabilityEnvInputSchema, portabilityIncludeSchema, portabilityManifestSchema, portabilityOrganizationManifestEntrySchema, portabilitySidebarOrderSchema, portabilitySkillManifestEntrySchema, portabilitySourceSchema, portabilityTargetSchema, type OrganizationPortabilityExport, type OrganizationPortabilityImport, type OrganizationPortabilityPreview } from "./organization-portability.js";
11
- export { organizationSkillCompatibilitySchema, organizationSkillCreateSchema, organizationSkillDetailSchema, organizationSkillFileDetailSchema, organizationSkillFileInventoryEntrySchema, organizationSkillFileUpdateSchema, organizationSkillImportSchema, organizationSkillListItemSchema, organizationSkillLocalScanConflictSchema, organizationSkillLocalScanRequestSchema, organizationSkillLocalScanResultSchema, organizationSkillLocalScanSkippedSchema, organizationSkillProjectScanConflictSchema, organizationSkillProjectScanRequestSchema, organizationSkillProjectScanResultSchema, organizationSkillProjectScanSkippedSchema, organizationSkillSchema, organizationSkillSourceBadgeSchema, organizationSkillSourceTypeSchema, organizationSkillTrustLevelSchema, organizationSkillUpdateStatusSchema, organizationSkillUsageAgentSchema, type OrganizationSkillCreate, type OrganizationSkillFileUpdate, type OrganizationSkillImport, type OrganizationSkillLocalScan, type OrganizationSkillProjectScan } from "./organization-skill.js";
11
+ export { organizationSkillCompatibilitySchema, organizationSkillCreateSchema, organizationSkillDetailSchema, organizationSkillFileDetailSchema, organizationSkillFileInventoryEntrySchema, organizationSkillFileUpdateSchema, organizationSkillImportSchema, organizationSkillListItemSchema, organizationSkillLocalScanConflictSchema, organizationSkillLocalScanRequestSchema, organizationSkillLocalScanResultSchema, organizationSkillLocalScanSkippedSchema, organizationSkillProjectScanConflictSchema, organizationSkillProjectScanRequestSchema, organizationSkillProjectScanResultSchema, organizationSkillProjectScanSkippedSchema, organizationSkillSchema, organizationSkillSourceBadgeSchema, organizationSkillSourceTypeSchema, organizationSkillTrustLevelSchema, organizationSkillUpdateStatusSchema, organizationSkillUploadSchema, organizationSkillUsageAgentSchema, type OrganizationSkillCreate, type OrganizationSkillFileUpdate, type OrganizationSkillImport, type OrganizationSkillLocalScan, type OrganizationSkillProjectScan, type OrganizationSkillUpload } from "./organization-skill.js";
12
12
  export { copyOrganizationWorkspaceEntrySchema, createOrganizationSchema, createOrganizationWorkspaceDirectorySchema, createOrganizationWorkspaceFileSchema, createOrganizationWorkspaceWebPreviewSessionSchema, moveOrganizationWorkspaceEntrySchema, organizationIssueKeySchema, renameOrganizationWorkspaceEntrySchema, updateOrganizationBrandingSchema, updateOrganizationSchema, updateOrganizationWorkspaceFileSchema, workspaceWebPreviewNetworkModeSchema, type CopyOrganizationWorkspaceEntry, type CreateOrganization, type CreateOrganizationWorkspaceDirectory, type CreateOrganizationWorkspaceFile, type CreateOrganizationWorkspaceWebPreviewSession, type MoveOrganizationWorkspaceEntry, type RenameOrganizationWorkspaceEntry, type UpdateOrganization, type UpdateOrganizationBranding, type UpdateOrganizationWorkspaceFile } from "./organization.js";
13
13
  export { createOrganizationResourceSchema, createProjectInlineResourceSchema, organizationResourceKindSchema, organizationResourceSourceTypeSchema, projectResourceAttachmentInputSchema, projectResourceAttachmentRoleSchema, updateOrganizationResourceSchema, updateProjectResourceAttachmentSchema, type CreateOrganizationResource, type CreateProjectInlineResource, type ProjectResourceAttachmentInputPayload, type UpdateOrganizationResource, type UpdateProjectResourceAttachment } from "./resource.js";
14
14
  export { agentIconSchema, agentInstructionsBundleModeSchema, agentPermissionsSchema, createAgentHireSchema, createAgentKeySchema, createAgentSchema, diceBearNotionistsAgentIconSchema, oreoAgentIconSchema, resetAgentSessionSchema, testAgentRuntimeEnvironmentSchema, updateAgentInstructionsBundleSchema, updateAgentInstructionsPathSchema, updateAgentPermissionsSchema, updateAgentSchema, uploadedAgentIconSchema, upsertAgentInstructionsFileSchema, wakeAgentSchema, type CreateAgent, type CreateAgentHire, type CreateAgentKey, type ResetAgentSession, type TestAgentRuntimeEnvironment, type UpdateAgent, type UpdateAgentInstructionsBundle, type UpdateAgentInstructionsPath, type UpdateAgentPermissions, type UpsertAgentInstructionsFile, type WakeAgent } from "./agent.js";
@@ -22,6 +22,7 @@ export { executionWorkspaceStatusSchema, runWorkspaceStatusSchema, updateExecuti
22
22
  export { createWorkspaceBackupSchema, restoreWorkspaceBackupSchema, workspaceBackupTriggerSourceSchema, type CreateWorkspaceBackup, type RestoreWorkspaceBackup } from "./workspace-backup.js";
23
23
  export { acceptGoalResultProposalSchema, activateGoalSchema, assignGoalOwnerSchema, createGoalActivitySchema, createGoalChangeProposalSchema, createGoalFeedbackSchema, createGoalResultProposalSchema, createGoalSchema, decideGoalChangeProposalSchema, evaluateGoalSchema, previewGoalStartSchema, rejectGoalResultProposalSchema, setGoalFocusSchema, startGoalSchema, updateGoalPlanSchema, updateGoalSchema, type AcceptGoalResultProposal, type ActivateGoal, type ActivateGoalInput, type AssignGoalOwner, type CreateGoal, type CreateGoalActivity, type CreateGoalChangeProposal, type CreateGoalFeedback, type CreateGoalResultProposal, type DecideGoalChangeProposal, type EvaluateGoal, type PreviewGoalStart, type RejectGoalResultProposal, type SetGoalFocus, type StartGoal, type UpdateGoal, type UpdateGoalPlan } from "./goal.js";
24
24
  export { addApprovalCommentSchema, createApprovalSchema, requestApprovalRevisionSchema, resolveApprovalSchema, resubmitApprovalSchema, type AddApprovalComment, type CreateApproval, type RequestApprovalRevision, type ResolveApproval, type ResubmitApproval } from "./approval.js";
25
+ export { cancelAssistanceRequestSchema, listRequestsQuerySchema, resolveAssistanceRequestSchema, type CancelAssistanceRequest, type ListRequestsQuery, type ResolveAssistanceRequest } from "./request.js";
25
26
  export { createSecretSchema, envBindingPlainSchema, envBindingSchema, envBindingSecretRefSchema, envConfigSchema, rotateSecretSchema, updateSecretSchema, type CreateSecret, type RotateSecret, type UpdateSecret } from "./secret.js";
26
27
  export { createAutomationSchema, createAutomationTriggerSchema, rotateAutomationTriggerSecretSchema, runAutomationSchema, updateAutomationSchema, updateAutomationTriggerSchema, type CreateAutomation, type CreateAutomationTrigger, type RotateAutomationTriggerSecret, type RunAutomation, type UpdateAutomation, type UpdateAutomationTrigger } from "./automation.js";
27
28
  export { calendarEventListQuerySchema, createCalendarEventSchema, createCalendarSourceSchema, googleCalendarSyncSchema, updateCalendarEventSchema, updateCalendarSourceSchema, updateGoogleCalendarOAuthConfigSchema, type CalendarEventListQuery, type CreateCalendarEvent, type CreateCalendarSource, type GoogleCalendarSync, type UpdateCalendarEvent, type UpdateCalendarSource, type UpdateGoogleCalendarOAuthConfig } from "./calendar.js";
@@ -29,6 +30,6 @@ export { createCostEventSchema, updateBudgetSchema, type CreateCostEvent, type U
29
30
  export { createFinanceEventSchema, type CreateFinanceEvent } from "./finance.js";
30
31
  export { createAssetImageMetadataSchema, type CreateAssetImageMetadata } from "./asset.js";
31
32
  export { acceptInviteSchema, boardCliAuthAccessLevelSchema, claimJoinRequestApiKeySchema, createCliAuthChallengeSchema, createCompanyInviteSchema, createOpenClawInvitePromptSchema, listJoinRequestsQuerySchema, resolveCliAuthChallengeSchema, updateMemberPermissionsSchema, updateUserCompanyAccessSchema, type AcceptInvite, type BoardCliAuthAccessLevel, type ClaimJoinRequestApiKey, type CreateCliAuthChallenge, type CreateCompanyInvite, type CreateOpenClawInvitePrompt, type ListJoinRequestsQuery, type ResolveCliAuthChallenge, type UpdateMemberPermissions, type UpdateUserCompanyAccess } from "./access.js";
32
- export { installPluginSchema, jsonSchemaSchema, listPluginStateSchema, patchPluginConfigSchema, pluginJobDeclarationSchema, pluginLauncherActionDeclarationSchema, pluginLauncherDeclarationSchema, pluginLauncherRenderDeclarationSchema, pluginManifestV1Schema, pluginStateScopeKeySchema, pluginToolDeclarationSchema, pluginUiSlotDeclarationSchema, pluginWebhookDeclarationSchema, setPluginStateSchema, uninstallPluginSchema, updatePluginStatusSchema, upsertPluginConfigSchema, type InstallPlugin, type ListPluginState, type PatchPluginConfig, type PluginJobDeclarationInput, type PluginLauncherActionDeclarationInput, type PluginLauncherDeclarationInput, type PluginLauncherRenderDeclarationInput, type PluginManifestV1Input, type PluginStateScopeKey, type PluginToolDeclarationInput, type PluginUiSlotDeclarationInput, type PluginWebhookDeclarationInput, type SetPluginState, type UninstallPlugin, type UpdatePluginStatus, type UpsertPluginConfig } from "./plugin.js";
33
+ export { configureRudderPluginMarketplaceSchema, configureRudderPluginMcpSchema, configureRudderPluginSkillsSchema, customizeRudderPluginSkillSchema, inspectRudderPluginArchiveSchema, inspectRudderPluginSchema, installRudderPluginSchema, rudderPluginPackageFileSchema, updateRudderPluginEnablementSchema, type ConfigureRudderPluginMarketplace, type ConfigureRudderPluginMcp, type ConfigureRudderPluginSkills, type CustomizeRudderPluginSkill, type InspectRudderPlugin, type InspectRudderPluginArchive, type InstallRudderPlugin, type UpdateRudderPluginEnablement } from "./plugin-v1.js";
33
34
  export { localOfflineGrantSchema, localServerExchangeSchema, type LocalOfflineGrantInput, type LocalServerExchangeInput } from "./local-account-auth.js";
34
35
  //# sourceMappingURL=index.d.ts.map