@archastro/sdk 0.10.0 → 0.11.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.
Files changed (91) hide show
  1. package/dist/client.d.ts +14 -0
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +15 -1
  4. package/dist/client.js.map +1 -1
  5. package/dist/custom-object-subscriptions.d.ts.map +1 -1
  6. package/dist/custom-object-subscriptions.js +116 -25
  7. package/dist/custom-object-subscriptions.js.map +1 -1
  8. package/dist/types/ai.d.ts +2 -2
  9. package/dist/types/chat.d.ts +30 -30
  10. package/dist/types/common.d.ts +625 -0
  11. package/dist/types/common.d.ts.map +1 -1
  12. package/dist/types/common.js +136 -1
  13. package/dist/types/common.js.map +1 -1
  14. package/dist/types/extractions.d.ts +36 -0
  15. package/dist/types/extractions.d.ts.map +1 -1
  16. package/dist/types/index.d.ts +1 -0
  17. package/dist/types/index.d.ts.map +1 -1
  18. package/dist/types/index.js +2 -1
  19. package/dist/types/index.js.map +1 -1
  20. package/dist/types/status.d.ts +121 -0
  21. package/dist/types/status.d.ts.map +1 -0
  22. package/dist/types/status.js +18 -0
  23. package/dist/types/status.js.map +1 -0
  24. package/dist/types/tasks.d.ts +254 -0
  25. package/dist/types/tasks.d.ts.map +1 -1
  26. package/dist/types/tasks.js +52 -1
  27. package/dist/types/tasks.js.map +1 -1
  28. package/dist/types/threads.d.ts +2 -2
  29. package/dist/v1/resources/activity_feed.d.ts +1 -1
  30. package/dist/v1/resources/activity_feed.js +2 -2
  31. package/dist/v1/resources/custom_objects.d.ts +31 -16
  32. package/dist/v1/resources/custom_objects.d.ts.map +1 -1
  33. package/dist/v1/resources/custom_objects.js +35 -16
  34. package/dist/v1/resources/custom_objects.js.map +1 -1
  35. package/dist/v1/resources/files.d.ts +19 -0
  36. package/dist/v1/resources/files.d.ts.map +1 -1
  37. package/dist/v1/resources/files.js +3 -1
  38. package/dist/v1/resources/files.js.map +1 -1
  39. package/dist/v1/resources/index.d.ts +7 -0
  40. package/dist/v1/resources/index.d.ts.map +1 -1
  41. package/dist/v1/resources/index.js +8 -1
  42. package/dist/v1/resources/index.js.map +1 -1
  43. package/dist/v1/resources/private_service_definitions.d.ts +12 -0
  44. package/dist/v1/resources/private_service_definitions.d.ts.map +1 -0
  45. package/dist/v1/resources/private_service_definitions.js +18 -0
  46. package/dist/v1/resources/private_service_definitions.js.map +1 -0
  47. package/dist/v1/resources/private_service_enrollments.d.ts +42 -0
  48. package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -0
  49. package/dist/v1/resources/private_service_enrollments.js +56 -0
  50. package/dist/v1/resources/private_service_enrollments.js.map +1 -0
  51. package/dist/v1/resources/private_services.d.ts +46 -0
  52. package/dist/v1/resources/private_services.d.ts.map +1 -0
  53. package/dist/v1/resources/private_services.js +55 -0
  54. package/dist/v1/resources/private_services.js.map +1 -0
  55. package/dist/v1/resources/sandboxes.d.ts +81 -0
  56. package/dist/v1/resources/sandboxes.d.ts.map +1 -0
  57. package/dist/v1/resources/sandboxes.js +84 -0
  58. package/dist/v1/resources/sandboxes.js.map +1 -0
  59. package/dist/v1/resources/status.d.ts +22 -0
  60. package/dist/v1/resources/status.d.ts.map +1 -0
  61. package/dist/v1/resources/status.js +27 -0
  62. package/dist/v1/resources/status.js.map +1 -0
  63. package/dist/v1/resources/tasks.d.ts +599 -0
  64. package/dist/v1/resources/tasks.d.ts.map +1 -0
  65. package/dist/v1/resources/tasks.js +436 -0
  66. package/dist/v1/resources/tasks.js.map +1 -0
  67. package/dist/v1/resources/teams.d.ts +390 -3
  68. package/dist/v1/resources/teams.d.ts.map +1 -1
  69. package/dist/v1/resources/teams.js +227 -4
  70. package/dist/v1/resources/teams.js.map +1 -1
  71. package/dist/v1/resources/thread_messages.d.ts +6 -3
  72. package/dist/v1/resources/thread_messages.d.ts.map +1 -1
  73. package/dist/v1/resources/thread_messages.js +5 -4
  74. package/dist/v1/resources/thread_messages.js.map +1 -1
  75. package/dist/v1/resources/threads.d.ts +39 -0
  76. package/dist/v1/resources/threads.d.ts.map +1 -1
  77. package/dist/v1/resources/threads.js +36 -1
  78. package/dist/v1/resources/threads.js.map +1 -1
  79. package/dist/v1/resources/trajectories.d.ts +34 -0
  80. package/dist/v1/resources/trajectories.d.ts.map +1 -0
  81. package/dist/v1/resources/trajectories.js +41 -0
  82. package/dist/v1/resources/trajectories.js.map +1 -0
  83. package/dist/v1/resources/users.d.ts +352 -0
  84. package/dist/v1/resources/users.d.ts.map +1 -1
  85. package/dist/v1/resources/users.js +208 -1
  86. package/dist/v1/resources/users.js.map +1 -1
  87. package/dist/v1.d.ts +14 -0
  88. package/dist/v1.d.ts.map +1 -1
  89. package/dist/v1.js +22 -1
  90. package/dist/v1.js.map +1 -1
  91. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"extractions.d.ts","sourceRoot":"","sources":["../../src/types/extractions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,mGAAmG;AACnG,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,8IAA8I;IAC9I,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAC/B,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED,sDAAsD;AACtD,eAAO,MAAM,sBAAsB;IACjC,gDAAgD;;IAEhD,8IAA8I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC9D,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,gEAAgE;IAChE,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED,gDAAgD;AAChD,eAAO,MAAM,gBAAgB;IAC3B,8DAA8D;;IAE9D,uEAAuE;;IAEvE,kDAAkD;;IAElD,2DAA2D;;IAE3D,mEAAmE;;IAEnE,6EAA6E;;IAE7E,iCAAiC;;IAEjC,+BAA+B;;IAE/B,uCAAuC;;IAEvC,6DAA6D;;IAE7D,+EAA+E;;QApE/E,gDAAgD;;QAEhD,8IAA8I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAE9I,6BAA6B;;QAE7B,kEAAkE;;QAElE,oEAAoE;;QAEpE,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4DpB,6CAA6C;;IAE7C,uDAAuD;;IAEvD,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE8G,CAAC"}
@@ -10,6 +10,7 @@ export * from "./image.js";
10
10
  export * from "./invites.js";
11
11
  export * from "./notifications.js";
12
12
  export * from "./oauth.js";
13
+ export * from "./status.js";
13
14
  export * from "./tasks.js";
14
15
  export * from "./teams.js";
15
16
  export * from "./threads.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
2
2
  // This file is auto-generated by @archastro/sdk-generator. Do not edit.
3
- // Content hash: b5e16d67f054
3
+ // Content hash: 5fd84e6fc839
4
4
  export * from "./ai.js";
5
5
  export * from "./artifacts.js";
6
6
  export * from "./automations.js";
@@ -13,6 +13,7 @@ export * from "./image.js";
13
13
  export * from "./invites.js";
14
14
  export * from "./notifications.js";
15
15
  export * from "./oauth.js";
16
+ export * from "./status.js";
16
17
  export * from "./tasks.js";
17
18
  export * from "./teams.js";
18
19
  export * from "./threads.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
@@ -0,0 +1,121 @@
1
+ import { z } from "zod";
2
+ import type { Deployment } from "./common.js";
3
+ import type { User } from "./users.js";
4
+ /** Health check response confirming the API is reachable and indicating whether the caller's token is valid. */
5
+ export interface StatusPing {
6
+ /** Deployment metadata. */
7
+ deployment?: Deployment | undefined;
8
+ /** `true` when the platform is reachable and the request was processed successfully. */
9
+ success: boolean;
10
+ /** Details about the authentication token used in this request. */
11
+ token: Record<string, unknown>;
12
+ /** The authenticated user associated with the token. `null` when the token is invalid or absent. */
13
+ user?: User | undefined;
14
+ }
15
+ /** Runtime validator for {@link StatusPing}. */
16
+ export declare const statusPingSchema: z.ZodObject<{
17
+ /** Deployment metadata. */
18
+ deployment: z.ZodOptional<z.ZodObject<{
19
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ release: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ environment?: string | null | undefined;
23
+ release?: string | null | undefined;
24
+ }, {
25
+ environment?: string | null | undefined;
26
+ release?: string | null | undefined;
27
+ }>>;
28
+ /** `true` when the platform is reachable and the request was processed successfully. */
29
+ success: z.ZodBoolean;
30
+ /** Details about the authentication token used in this request. */
31
+ token: z.ZodRecord<z.ZodString, z.ZodUnknown>;
32
+ /** The authenticated user associated with the token. `null` when the token is invalid or absent. */
33
+ user: z.ZodOptional<z.ZodObject<{
34
+ alias: z.ZodOptional<z.ZodString>;
35
+ app: z.ZodOptional<z.ZodString>;
36
+ app_name: z.ZodOptional<z.ZodString>;
37
+ email: z.ZodOptional<z.ZodString>;
38
+ id: z.ZodString;
39
+ is_system_user: z.ZodOptional<z.ZodBoolean>;
40
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
41
+ name: z.ZodOptional<z.ZodString>;
42
+ org: z.ZodOptional<z.ZodString>;
43
+ org_name: z.ZodOptional<z.ZodString>;
44
+ org_role: z.ZodOptional<z.ZodString>;
45
+ sandbox: z.ZodOptional<z.ZodString>;
46
+ sandbox_name: z.ZodOptional<z.ZodString>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ id: string;
49
+ email?: string | undefined;
50
+ alias?: string | undefined;
51
+ org?: string | undefined;
52
+ name?: string | undefined;
53
+ app?: string | undefined;
54
+ sandbox?: string | undefined;
55
+ app_name?: string | undefined;
56
+ is_system_user?: boolean | undefined;
57
+ metadata?: Record<string, unknown> | undefined;
58
+ org_name?: string | undefined;
59
+ org_role?: string | undefined;
60
+ sandbox_name?: string | undefined;
61
+ }, {
62
+ id: string;
63
+ email?: string | undefined;
64
+ alias?: string | undefined;
65
+ org?: string | undefined;
66
+ name?: string | undefined;
67
+ app?: string | undefined;
68
+ sandbox?: string | undefined;
69
+ app_name?: string | undefined;
70
+ is_system_user?: boolean | undefined;
71
+ metadata?: Record<string, unknown> | undefined;
72
+ org_name?: string | undefined;
73
+ org_role?: string | undefined;
74
+ sandbox_name?: string | undefined;
75
+ }>>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ token: Record<string, unknown>;
78
+ success: boolean;
79
+ user?: {
80
+ id: string;
81
+ email?: string | undefined;
82
+ alias?: string | undefined;
83
+ org?: string | undefined;
84
+ name?: string | undefined;
85
+ app?: string | undefined;
86
+ sandbox?: string | undefined;
87
+ app_name?: string | undefined;
88
+ is_system_user?: boolean | undefined;
89
+ metadata?: Record<string, unknown> | undefined;
90
+ org_name?: string | undefined;
91
+ org_role?: string | undefined;
92
+ sandbox_name?: string | undefined;
93
+ } | undefined;
94
+ deployment?: {
95
+ environment?: string | null | undefined;
96
+ release?: string | null | undefined;
97
+ } | undefined;
98
+ }, {
99
+ token: Record<string, unknown>;
100
+ success: boolean;
101
+ user?: {
102
+ id: string;
103
+ email?: string | undefined;
104
+ alias?: string | undefined;
105
+ org?: string | undefined;
106
+ name?: string | undefined;
107
+ app?: string | undefined;
108
+ sandbox?: string | undefined;
109
+ app_name?: string | undefined;
110
+ is_system_user?: boolean | undefined;
111
+ metadata?: Record<string, unknown> | undefined;
112
+ org_name?: string | undefined;
113
+ org_role?: string | undefined;
114
+ sandbox_name?: string | undefined;
115
+ } | undefined;
116
+ deployment?: {
117
+ environment?: string | null | undefined;
118
+ release?: string | null | undefined;
119
+ } | undefined;
120
+ }>;
121
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/types/status.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,gHAAgH;AAChH,MAAM,WAAW,UAAU;IACzB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,wFAAwF;IACxF,OAAO,EAAE,OAAO,CAAC;IACjB,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,oGAAoG;IACpG,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB;AAED,gDAAgD;AAChD,eAAO,MAAM,gBAAgB;IAC3B,2BAA2B;;;;;;;;;;;IAE3B,wFAAwF;;IAExF,mEAAmE;;IAEnE,oGAAoG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEkD,CAAC"}
@@ -0,0 +1,18 @@
1
+ // Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
2
+ // This file is auto-generated by @archastro/sdk-generator. Do not edit.
3
+ // Content hash: 5b0778153864
4
+ import { z } from "zod";
5
+ import { deploymentSchema } from "./common.js";
6
+ import { userSchema } from "./users.js";
7
+ /** Runtime validator for {@link StatusPing}. */
8
+ export const statusPingSchema = z.object({
9
+ /** Deployment metadata. */
10
+ deployment: deploymentSchema.optional().describe("Deployment metadata."),
11
+ /** `true` when the platform is reachable and the request was processed successfully. */
12
+ success: z.boolean().describe("`true` when the platform is reachable and the request was processed successfully."),
13
+ /** Details about the authentication token used in this request. */
14
+ token: z.record(z.unknown()).describe("Details about the authentication token used in this request."),
15
+ /** The authenticated user associated with the token. `null` when the token is invalid or absent. */
16
+ user: userSchema.optional().describe("The authenticated user associated with the token. `null` when the token is invalid or absent."),
17
+ }).describe("Health check response confirming the API is reachable and indicating whether the caller's token is valid.");
18
+ //# sourceMappingURL=status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/types/status.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAgBxC,gDAAgD;AAChD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,2BAA2B;IAC3B,UAAU,EAAE,gBAAgB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IACxE,wFAAwF;IACxF,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,mFAAmF,CAAC;IAClH,mEAAmE;IACnE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,8DAA8D,CAAC;IACrG,oGAAoG;IACpG,IAAI,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+FAA+F,CAAC;CACtI,CAAC,CAAC,QAAQ,CAAC,2GAA2G,CAAiC,CAAC"}
@@ -1,5 +1,31 @@
1
1
  import { z } from "zod";
2
2
  import type { Actor } from "./common.js";
3
+ /** Viewer-safe details about a task's current coding-session lease. */
4
+ export interface TaskSessionLeaseSummary {
5
+ /** Server-calculated lease expiry in ISO 8601 format. */
6
+ expires_at: string;
7
+ /** Bounded harness identifier for the coding session. */
8
+ harness: string;
9
+ /** Display name supplied by the coding session that holds the lease. */
10
+ session_name: string;
11
+ }
12
+ /** Runtime validator for {@link TaskSessionLeaseSummary}. */
13
+ export declare const taskSessionLeaseSummarySchema: z.ZodObject<{
14
+ /** Server-calculated lease expiry in ISO 8601 format. */
15
+ expires_at: z.ZodString;
16
+ /** Bounded harness identifier for the coding session. */
17
+ harness: z.ZodString;
18
+ /** Display name supplied by the coding session that holds the lease. */
19
+ session_name: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ expires_at: string;
22
+ harness: string;
23
+ session_name: string;
24
+ }, {
25
+ expires_at: string;
26
+ harness: string;
27
+ session_name: string;
28
+ }>;
3
29
  /** A task representing a unit of work, optionally assignable to a user or agent. */
4
30
  export interface Task {
5
31
  /** ID of the agent that owns this task (`agi_...`). `null` if the task is scoped to a team or user. */
@@ -18,6 +44,8 @@ export interface Task {
18
44
  created_by_agent?: string | undefined;
19
45
  /** ID of the user who created this task (`usr_...`). `null` if the task was created by an agent, or if creator provenance was cleared after the creator was deleted. */
20
46
  created_by_user?: string | undefined;
47
+ /** Viewer-safe live coding-session lease summary. `null` when the task is unleased or the projected lease has expired. Fencing identifiers are never included. */
48
+ current_lease?: TaskSessionLeaseSummary | undefined;
21
49
  /** Long-form description or notes for the task. `null` if no description has been provided. */
22
50
  description?: string | undefined;
23
51
  /** Date and time by which the task should be completed (ISO 8601). `null` if no due date is set. */
@@ -134,6 +162,23 @@ export declare const taskSchema: z.ZodObject<{
134
162
  created_by_agent: z.ZodOptional<z.ZodString>;
135
163
  /** ID of the user who created this task (`usr_...`). `null` if the task was created by an agent, or if creator provenance was cleared after the creator was deleted. */
136
164
  created_by_user: z.ZodOptional<z.ZodString>;
165
+ /** Viewer-safe live coding-session lease summary. `null` when the task is unleased or the projected lease has expired. Fencing identifiers are never included. */
166
+ current_lease: z.ZodOptional<z.ZodObject<{
167
+ /** Server-calculated lease expiry in ISO 8601 format. */
168
+ expires_at: z.ZodString;
169
+ /** Bounded harness identifier for the coding session. */
170
+ harness: z.ZodString;
171
+ /** Display name supplied by the coding session that holds the lease. */
172
+ session_name: z.ZodString;
173
+ }, "strip", z.ZodTypeAny, {
174
+ expires_at: string;
175
+ harness: string;
176
+ session_name: string;
177
+ }, {
178
+ expires_at: string;
179
+ harness: string;
180
+ session_name: string;
181
+ }>>;
137
182
  /** Long-form description or notes for the task. `null` if no description has been provided. */
138
183
  description: z.ZodOptional<z.ZodString>;
139
184
  /** Date and time by which the task should be completed (ISO 8601). `null` if no due date is set. */
@@ -266,6 +311,11 @@ export declare const taskSchema: z.ZodObject<{
266
311
  } | undefined;
267
312
  created_by_agent?: string | undefined;
268
313
  created_by_user?: string | undefined;
314
+ current_lease?: {
315
+ expires_at: string;
316
+ harness: string;
317
+ session_name: string;
318
+ } | undefined;
269
319
  due_date?: string | undefined;
270
320
  is_blocked?: boolean | undefined;
271
321
  links?: Record<string, unknown> | undefined;
@@ -322,6 +372,11 @@ export declare const taskSchema: z.ZodObject<{
322
372
  } | undefined;
323
373
  created_by_agent?: string | undefined;
324
374
  created_by_user?: string | undefined;
375
+ current_lease?: {
376
+ expires_at: string;
377
+ harness: string;
378
+ session_name: string;
379
+ } | undefined;
325
380
  due_date?: string | undefined;
326
381
  is_blocked?: boolean | undefined;
327
382
  links?: Record<string, unknown> | undefined;
@@ -344,4 +399,203 @@ export declare const taskSchema: z.ZodObject<{
344
399
  priority?: number | undefined;
345
400
  subtasks_count?: number | undefined;
346
401
  }>;
402
+ /** A comment posted on a task by a user or an agent, including resolved author information. */
403
+ export interface TaskComment {
404
+ /** Resolved author details including `id`, `name`, `alias`, and `profile_picture`. `null` if no author is set or the author cannot be resolved (e.g. authoring agent was deleted). */
405
+ author_actor?: Actor | undefined;
406
+ /** ID of the agent that posted this comment (`agi_...`). `null` if the author is a human user, or if the authoring agent was later deleted. */
407
+ author_agent?: string | undefined;
408
+ /** ID of the user who posted this comment (`usr_...`). `null` if the author is an agent, or if author provenance was cleared after the authoring agent was deleted. */
409
+ author_user?: string | undefined;
410
+ /** Plain-text body of the comment. */
411
+ body: string;
412
+ /** When this comment was posted (ISO 8601). */
413
+ created_at?: string | undefined;
414
+ /** Comment ID (`tcmt_...`). */
415
+ id: string;
416
+ /** ID of the organization that owns this comment (`org_...`). */
417
+ org?: string | undefined;
418
+ /** Sandbox ID this comment is scoped to. `null` for comments outside a sandbox environment. */
419
+ sandbox?: string | undefined;
420
+ /** ID of the task this comment belongs to (`tsk_...`). */
421
+ task?: string | undefined;
422
+ /** ID of the team the task belongs to (`tem_...`). `null` if not scoped to a team. */
423
+ team?: string | undefined;
424
+ /** When this comment was last edited (ISO 8601). */
425
+ updated_at?: string | undefined;
426
+ }
427
+ /** Runtime validator for {@link TaskComment}. */
428
+ export declare const taskCommentSchema: z.ZodObject<{
429
+ /** Resolved author details including `id`, `name`, `alias`, and `profile_picture`. `null` if no author is set or the author cannot be resolved (e.g. authoring agent was deleted). */
430
+ author_actor: z.ZodOptional<z.ZodObject<{
431
+ alias: z.ZodOptional<z.ZodString>;
432
+ id: z.ZodOptional<z.ZodString>;
433
+ name: z.ZodOptional<z.ZodString>;
434
+ profile_picture: z.ZodOptional<z.ZodObject<{
435
+ file: z.ZodOptional<z.ZodString>;
436
+ height: z.ZodOptional<z.ZodNumber>;
437
+ media: z.ZodOptional<z.ZodString>;
438
+ mime_type: z.ZodOptional<z.ZodString>;
439
+ refresh_url: z.ZodOptional<z.ZodString>;
440
+ url: z.ZodOptional<z.ZodString>;
441
+ width: z.ZodOptional<z.ZodNumber>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ mime_type?: string | undefined;
444
+ file?: string | undefined;
445
+ height?: number | undefined;
446
+ media?: string | undefined;
447
+ refresh_url?: string | undefined;
448
+ url?: string | undefined;
449
+ width?: number | undefined;
450
+ }, {
451
+ mime_type?: string | undefined;
452
+ file?: string | undefined;
453
+ height?: number | undefined;
454
+ media?: string | undefined;
455
+ refresh_url?: string | undefined;
456
+ url?: string | undefined;
457
+ width?: number | undefined;
458
+ }>>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ alias?: string | undefined;
461
+ name?: string | undefined;
462
+ id?: string | undefined;
463
+ profile_picture?: {
464
+ mime_type?: string | undefined;
465
+ file?: string | undefined;
466
+ height?: number | undefined;
467
+ media?: string | undefined;
468
+ refresh_url?: string | undefined;
469
+ url?: string | undefined;
470
+ width?: number | undefined;
471
+ } | undefined;
472
+ }, {
473
+ alias?: string | undefined;
474
+ name?: string | undefined;
475
+ id?: string | undefined;
476
+ profile_picture?: {
477
+ mime_type?: string | undefined;
478
+ file?: string | undefined;
479
+ height?: number | undefined;
480
+ media?: string | undefined;
481
+ refresh_url?: string | undefined;
482
+ url?: string | undefined;
483
+ width?: number | undefined;
484
+ } | undefined;
485
+ }>>;
486
+ /** ID of the agent that posted this comment (`agi_...`). `null` if the author is a human user, or if the authoring agent was later deleted. */
487
+ author_agent: z.ZodOptional<z.ZodString>;
488
+ /** ID of the user who posted this comment (`usr_...`). `null` if the author is an agent, or if author provenance was cleared after the authoring agent was deleted. */
489
+ author_user: z.ZodOptional<z.ZodString>;
490
+ /** Plain-text body of the comment. */
491
+ body: z.ZodString;
492
+ /** When this comment was posted (ISO 8601). */
493
+ created_at: z.ZodOptional<z.ZodString>;
494
+ /** Comment ID (`tcmt_...`). */
495
+ id: z.ZodString;
496
+ /** ID of the organization that owns this comment (`org_...`). */
497
+ org: z.ZodOptional<z.ZodString>;
498
+ /** Sandbox ID this comment is scoped to. `null` for comments outside a sandbox environment. */
499
+ sandbox: z.ZodOptional<z.ZodString>;
500
+ /** ID of the task this comment belongs to (`tsk_...`). */
501
+ task: z.ZodOptional<z.ZodString>;
502
+ /** ID of the team the task belongs to (`tem_...`). `null` if not scoped to a team. */
503
+ team: z.ZodOptional<z.ZodString>;
504
+ /** When this comment was last edited (ISO 8601). */
505
+ updated_at: z.ZodOptional<z.ZodString>;
506
+ }, "strip", z.ZodTypeAny, {
507
+ body: string;
508
+ id: string;
509
+ team?: string | undefined;
510
+ org?: string | undefined;
511
+ created_at?: string | undefined;
512
+ updated_at?: string | undefined;
513
+ sandbox?: string | undefined;
514
+ author_actor?: {
515
+ alias?: string | undefined;
516
+ name?: string | undefined;
517
+ id?: string | undefined;
518
+ profile_picture?: {
519
+ mime_type?: string | undefined;
520
+ file?: string | undefined;
521
+ height?: number | undefined;
522
+ media?: string | undefined;
523
+ refresh_url?: string | undefined;
524
+ url?: string | undefined;
525
+ width?: number | undefined;
526
+ } | undefined;
527
+ } | undefined;
528
+ author_agent?: string | undefined;
529
+ author_user?: string | undefined;
530
+ task?: string | undefined;
531
+ }, {
532
+ body: string;
533
+ id: string;
534
+ team?: string | undefined;
535
+ org?: string | undefined;
536
+ created_at?: string | undefined;
537
+ updated_at?: string | undefined;
538
+ sandbox?: string | undefined;
539
+ author_actor?: {
540
+ alias?: string | undefined;
541
+ name?: string | undefined;
542
+ id?: string | undefined;
543
+ profile_picture?: {
544
+ mime_type?: string | undefined;
545
+ file?: string | undefined;
546
+ height?: number | undefined;
547
+ media?: string | undefined;
548
+ refresh_url?: string | undefined;
549
+ url?: string | undefined;
550
+ width?: number | undefined;
551
+ } | undefined;
552
+ } | undefined;
553
+ author_agent?: string | undefined;
554
+ author_user?: string | undefined;
555
+ task?: string | undefined;
556
+ }>;
557
+ /** A task-session lease returned only to its matching holder. */
558
+ export interface TaskSessionLease {
559
+ /** Server-calculated lease expiry in ISO 8601 format. */
560
+ expires_at: string;
561
+ /** Bounded harness identifier for the matching coding session. */
562
+ harness: string;
563
+ /** Caller-generated fencing token required for renewal and release. */
564
+ lease_id: string;
565
+ /** Server timestamp for the most recent claim, reclaim, or renewal. */
566
+ renewed_at: string;
567
+ /** Opaque caller-generated coding-session identifier. */
568
+ session_id: string;
569
+ /** Display name supplied by the matching coding session. */
570
+ session_name: string;
571
+ }
572
+ /** Runtime validator for {@link TaskSessionLease}. */
573
+ export declare const taskSessionLeaseSchema: z.ZodObject<{
574
+ /** Server-calculated lease expiry in ISO 8601 format. */
575
+ expires_at: z.ZodString;
576
+ /** Bounded harness identifier for the matching coding session. */
577
+ harness: z.ZodString;
578
+ /** Caller-generated fencing token required for renewal and release. */
579
+ lease_id: z.ZodString;
580
+ /** Server timestamp for the most recent claim, reclaim, or renewal. */
581
+ renewed_at: z.ZodString;
582
+ /** Opaque caller-generated coding-session identifier. */
583
+ session_id: z.ZodString;
584
+ /** Display name supplied by the matching coding session. */
585
+ session_name: z.ZodString;
586
+ }, "strip", z.ZodTypeAny, {
587
+ expires_at: string;
588
+ harness: string;
589
+ session_name: string;
590
+ lease_id: string;
591
+ renewed_at: string;
592
+ session_id: string;
593
+ }, {
594
+ expires_at: string;
595
+ harness: string;
596
+ session_name: string;
597
+ lease_id: string;
598
+ renewed_at: string;
599
+ session_id: string;
600
+ }>;
347
601
  //# sourceMappingURL=tasks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/types/tasks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,oFAAoF;AACpF,MAAM,WAAW,IAAI;IACnB,uGAAuG;IACvG,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,mMAAmM;IACnM,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,yGAAyG;IACzG,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,wLAAwL;IACxL,gBAAgB,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IACrC,sJAAsJ;IACtJ,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,wKAAwK;IACxK,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,GAAG,SA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AED,iDAAiD;AACjD,eAAO,MAAM,iBAAiB;IAC5B,sLAAsL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEtL,+IAA+I;;IAE/I,uKAAuK;;IAEvK,sCAAsC;;IAEtC,+CAA+C;;IAE/C,+BAA+B;;IAE/B,iEAAiE;;IAEjE,+FAA+F;;IAE/F,0DAA0D;;IAE1D,sFAAsF;;IAEtF,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEkF,CAAC;AAEzI,iEAAiE;AACjE,MAAM,WAAW,gBAAgB;IAC/B,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,UAAU,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,sDAAsD;AACtD,eAAO,MAAM,sBAAsB;IACjC,yDAAyD;;IAEzD,kEAAkE;;IAElE,uEAAuE;;IAEvE,uEAAuE;;IAEvE,yDAAyD;;IAEzD,4DAA4D;;;;;;;;;;;;;;;;EAEiD,CAAC"}
@@ -1,8 +1,17 @@
1
1
  // Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
2
2
  // This file is auto-generated by @archastro/sdk-generator. Do not edit.
3
- // Content hash: 464e8cfe5ee1
3
+ // Content hash: 4c982d2d8212
4
4
  import { z } from "zod";
5
5
  import { actorSchema } from "./common.js";
6
+ /** Runtime validator for {@link TaskSessionLeaseSummary}. */
7
+ export const taskSessionLeaseSummarySchema = z.object({
8
+ /** Server-calculated lease expiry in ISO 8601 format. */
9
+ expires_at: z.string().describe("Server-calculated lease expiry in ISO 8601 format."),
10
+ /** Bounded harness identifier for the coding session. */
11
+ harness: z.string().describe("Bounded harness identifier for the coding session."),
12
+ /** Display name supplied by the coding session that holds the lease. */
13
+ session_name: z.string().describe("Display name supplied by the coding session that holds the lease."),
14
+ }).describe("Viewer-safe details about a task's current coding-session lease.");
6
15
  /** Runtime validator for {@link Task}. */
7
16
  export const taskSchema = z.object({
8
17
  /** ID of the agent that owns this task (`agi_...`). `null` if the task is scoped to a team or user. */
@@ -21,6 +30,8 @@ export const taskSchema = z.object({
21
30
  created_by_agent: z.string().optional().describe("ID of the agent that created this task (`agi_...`). `null` if the task was created by a human user, or if the creating agent was later deleted."),
22
31
  /** ID of the user who created this task (`usr_...`). `null` if the task was created by an agent, or if creator provenance was cleared after the creator was deleted. */
23
32
  created_by_user: z.string().optional().describe("ID of the user who created this task (`usr_...`). `null` if the task was created by an agent, or if creator provenance was cleared after the creator was deleted."),
33
+ /** Viewer-safe live coding-session lease summary. `null` when the task is unleased or the projected lease has expired. Fencing identifiers are never included. */
34
+ current_lease: taskSessionLeaseSummarySchema.optional().describe("Viewer-safe live coding-session lease summary. `null` when the task is unleased or the projected lease has expired. Fencing identifiers are never included."),
24
35
  /** Long-form description or notes for the task. `null` if no description has been provided. */
25
36
  description: z.string().optional().describe("Long-form description or notes for the task. `null` if no description has been provided."),
26
37
  /** Date and time by which the task should be completed (ISO 8601). `null` if no due date is set. */
@@ -64,4 +75,44 @@ export const taskSchema = z.object({
64
75
  /** ID of the user that owns this task (`usr_...`). `null` if the task is scoped to a team. */
65
76
  user: z.string().optional().describe("ID of the user that owns this task (`usr_...`). `null` if the task is scoped to a team."),
66
77
  }).describe("A task representing a unit of work, optionally assignable to a user or agent.");
78
+ /** Runtime validator for {@link TaskComment}. */
79
+ export const taskCommentSchema = z.object({
80
+ /** Resolved author details including `id`, `name`, `alias`, and `profile_picture`. `null` if no author is set or the author cannot be resolved (e.g. authoring agent was deleted). */
81
+ author_actor: actorSchema.optional().describe("Resolved author details including `id`, `name`, `alias`, and `profile_picture`. `null` if no author is set or the author cannot be resolved (e.g. authoring agent was deleted)."),
82
+ /** ID of the agent that posted this comment (`agi_...`). `null` if the author is a human user, or if the authoring agent was later deleted. */
83
+ author_agent: z.string().optional().describe("ID of the agent that posted this comment (`agi_...`). `null` if the author is a human user, or if the authoring agent was later deleted."),
84
+ /** ID of the user who posted this comment (`usr_...`). `null` if the author is an agent, or if author provenance was cleared after the authoring agent was deleted. */
85
+ author_user: z.string().optional().describe("ID of the user who posted this comment (`usr_...`). `null` if the author is an agent, or if author provenance was cleared after the authoring agent was deleted."),
86
+ /** Plain-text body of the comment. */
87
+ body: z.string().describe("Plain-text body of the comment."),
88
+ /** When this comment was posted (ISO 8601). */
89
+ created_at: z.string().optional().describe("When this comment was posted (ISO 8601)."),
90
+ /** Comment ID (`tcmt_...`). */
91
+ id: z.string().describe("Comment ID (`tcmt_...`)."),
92
+ /** ID of the organization that owns this comment (`org_...`). */
93
+ org: z.string().optional().describe("ID of the organization that owns this comment (`org_...`)."),
94
+ /** Sandbox ID this comment is scoped to. `null` for comments outside a sandbox environment. */
95
+ sandbox: z.string().optional().describe("Sandbox ID this comment is scoped to. `null` for comments outside a sandbox environment."),
96
+ /** ID of the task this comment belongs to (`tsk_...`). */
97
+ task: z.string().optional().describe("ID of the task this comment belongs to (`tsk_...`)."),
98
+ /** ID of the team the task belongs to (`tem_...`). `null` if not scoped to a team. */
99
+ team: z.string().optional().describe("ID of the team the task belongs to (`tem_...`). `null` if not scoped to a team."),
100
+ /** When this comment was last edited (ISO 8601). */
101
+ updated_at: z.string().optional().describe("When this comment was last edited (ISO 8601)."),
102
+ }).describe("A comment posted on a task by a user or an agent, including resolved author information.");
103
+ /** Runtime validator for {@link TaskSessionLease}. */
104
+ export const taskSessionLeaseSchema = z.object({
105
+ /** Server-calculated lease expiry in ISO 8601 format. */
106
+ expires_at: z.string().describe("Server-calculated lease expiry in ISO 8601 format."),
107
+ /** Bounded harness identifier for the matching coding session. */
108
+ harness: z.string().describe("Bounded harness identifier for the matching coding session."),
109
+ /** Caller-generated fencing token required for renewal and release. */
110
+ lease_id: z.string().describe("Caller-generated fencing token required for renewal and release."),
111
+ /** Server timestamp for the most recent claim, reclaim, or renewal. */
112
+ renewed_at: z.string().describe("Server timestamp for the most recent claim, reclaim, or renewal."),
113
+ /** Opaque caller-generated coding-session identifier. */
114
+ session_id: z.string().describe("Opaque caller-generated coding-session identifier."),
115
+ /** Display name supplied by the matching coding session. */
116
+ session_name: z.string().describe("Display name supplied by the matching coding session."),
117
+ }).describe("A task-session lease returned only to its matching holder.");
67
118
  //# sourceMappingURL=tasks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/types/tasks.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAiE1C,0CAA0C;AAC1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,uGAAuG;IACvG,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kGAAkG,CAAC;IACzI,mMAAmM;IACnM,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8LAA8L,CAAC;IACtP,yGAAyG;IACzG,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oGAAoG,CAAC;IAC/I,oDAAoD;IACpD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+CAA+C,CAAC;IACrG,4CAA4C;IAC5C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAA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AkE,CAAC;IACnG,yDAAyD;IACzD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oDAAoD,CAAC;IACrF,4DAA4D;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uDAAuD,CAAC;CAC3F,CAAC,CAAC,QAAQ,CAAC,4DAA4D,CAAuC,CAAC"}
@@ -2293,6 +2293,7 @@ export declare const threadSchema: z.ZodObject<{
2293
2293
  sandbox?: string | undefined;
2294
2294
  metadata?: Record<string, unknown> | undefined;
2295
2295
  title?: string | undefined;
2296
+ slug?: string | undefined;
2296
2297
  muted?: boolean | undefined;
2297
2298
  role?: string | undefined;
2298
2299
  agent_user?: string | undefined;
@@ -2610,7 +2611,6 @@ export declare const threadSchema: z.ZodObject<{
2610
2611
  settings?: {
2611
2612
  agent_enabled?: boolean | undefined;
2612
2613
  } | undefined;
2613
- slug?: string | undefined;
2614
2614
  sub_threads?: Record<string, unknown>[] | undefined;
2615
2615
  tags?: string[] | undefined;
2616
2616
  ttl?: number | undefined;
@@ -2644,6 +2644,7 @@ export declare const threadSchema: z.ZodObject<{
2644
2644
  sandbox?: string | undefined;
2645
2645
  metadata?: Record<string, unknown> | undefined;
2646
2646
  title?: string | undefined;
2647
+ slug?: string | undefined;
2647
2648
  muted?: boolean | undefined;
2648
2649
  role?: string | undefined;
2649
2650
  agent_user?: string | undefined;
@@ -2961,7 +2962,6 @@ export declare const threadSchema: z.ZodObject<{
2961
2962
  settings?: {
2962
2963
  agent_enabled?: boolean | undefined;
2963
2964
  } | undefined;
2964
- slug?: string | undefined;
2965
2965
  sub_threads?: Record<string, unknown>[] | undefined;
2966
2966
  tags?: string[] | undefined;
2967
2967
  ttl?: number | undefined;
@@ -13,7 +13,7 @@ export declare class ActivityFeedResource {
13
13
  * Invalid `kind` or `level` values return a 400 error listing the accepted
14
14
  * values rather than being silently ignored.
15
15
  * @param params - Query parameters.
16
- * @param params.kind - One or more entry kinds to include. Accepted values: routine_run, automation_run, thread_story, agent_quality_verdict, generic. Omit to return all kinds.
16
+ * @param params.kind - One or more entry kinds to include. Accepted values: routine_run, automation_run, thread_story, agent_quality_verdict, work_item_assigned, work_item_completed, generic. Omit to return all kinds.
17
17
  * @param params.level - One or more severity levels to include. Accepted values: debug, info, warn, error, audit. Omit to return all levels.
18
18
  * @param params.agent - Restrict results to entries associated with these agent IDs (`agt_...`). Accepts multiple values.
19
19
  * @param params.thread - Restrict results to entries associated with these thread IDs (`thr_...`). Accepts multiple values.