artemys 0.2.0 → 0.2.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 (332) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +194 -146
  3. package/dist/cli/index.d.ts +1 -1
  4. package/dist/cli/index.d.ts.map +1 -1
  5. package/dist/cli/index.js +446 -379
  6. package/dist/cli/index.js.map +1 -1
  7. package/dist/coffeeshop/client.d.ts +158 -0
  8. package/dist/coffeeshop/client.d.ts.map +1 -0
  9. package/dist/coffeeshop/client.js +293 -0
  10. package/dist/coffeeshop/client.js.map +1 -0
  11. package/dist/coffeeshop/index.d.ts +2 -0
  12. package/dist/coffeeshop/index.d.ts.map +1 -0
  13. package/dist/coffeeshop/index.js +2 -0
  14. package/dist/coffeeshop/index.js.map +1 -0
  15. package/dist/discovery/agent-card.schema.d.ts +37 -109
  16. package/dist/discovery/agent-card.schema.d.ts.map +1 -1
  17. package/dist/discovery/discovery-query.schema.d.ts +6 -15
  18. package/dist/discovery/discovery-query.schema.d.ts.map +1 -1
  19. package/dist/discovery/index.d.ts +1 -1
  20. package/dist/discovery/index.d.ts.map +1 -1
  21. package/dist/discovery/index.js +1 -1
  22. package/dist/discovery/index.js.map +1 -1
  23. package/dist/discovery/intro-decision.schema.d.ts +9 -11
  24. package/dist/discovery/intro-decision.schema.d.ts.map +1 -1
  25. package/dist/discovery/intro-request.schema.d.ts +2 -14
  26. package/dist/discovery/intro-request.schema.d.ts.map +1 -1
  27. package/dist/discovery/session-bootstrap.schema.d.ts +86 -66
  28. package/dist/discovery/session-bootstrap.schema.d.ts.map +1 -1
  29. package/dist/discovery/session-bootstrap.schema.js +84 -8
  30. package/dist/discovery/session-bootstrap.schema.js.map +1 -1
  31. package/dist/mcp-server/index.d.ts +4 -0
  32. package/dist/mcp-server/index.d.ts.map +1 -0
  33. package/dist/mcp-server/index.js +4 -0
  34. package/dist/mcp-server/index.js.map +1 -0
  35. package/dist/mcp-server/persistence.d.ts +37 -0
  36. package/dist/mcp-server/persistence.d.ts.map +1 -0
  37. package/dist/mcp-server/persistence.js +309 -0
  38. package/dist/mcp-server/persistence.js.map +1 -0
  39. package/dist/mcp-server/resources.d.ts +20 -0
  40. package/dist/mcp-server/resources.d.ts.map +1 -0
  41. package/dist/mcp-server/resources.js +49 -0
  42. package/dist/mcp-server/resources.js.map +1 -0
  43. package/dist/mcp-server/server.d.ts +33 -0
  44. package/dist/mcp-server/server.d.ts.map +1 -0
  45. package/dist/mcp-server/server.js +220 -0
  46. package/dist/mcp-server/server.js.map +1 -0
  47. package/dist/mcp-server/state.d.ts +43 -0
  48. package/dist/mcp-server/state.d.ts.map +1 -0
  49. package/dist/mcp-server/state.js +111 -0
  50. package/dist/mcp-server/state.js.map +1 -0
  51. package/dist/mcp-server/tools/common.d.ts +225 -0
  52. package/dist/mcp-server/tools/common.d.ts.map +1 -0
  53. package/dist/mcp-server/tools/common.js +11 -0
  54. package/dist/mcp-server/tools/common.js.map +1 -0
  55. package/dist/mcp-server/tools/discovery.d.ts +3 -0
  56. package/dist/mcp-server/tools/discovery.d.ts.map +1 -0
  57. package/dist/mcp-server/tools/discovery.js +48 -0
  58. package/dist/mcp-server/tools/discovery.js.map +1 -0
  59. package/dist/mcp-server/tools/index.d.ts +4 -0
  60. package/dist/mcp-server/tools/index.d.ts.map +1 -0
  61. package/dist/mcp-server/tools/index.js +13 -0
  62. package/dist/mcp-server/tools/index.js.map +1 -0
  63. package/dist/mcp-server/tools/intro.d.ts +3 -0
  64. package/dist/mcp-server/tools/intro.d.ts.map +1 -0
  65. package/dist/mcp-server/tools/intro.js +53 -0
  66. package/dist/mcp-server/tools/intro.js.map +1 -0
  67. package/dist/mcp-server/tools/protocol.d.ts +3 -0
  68. package/dist/mcp-server/tools/protocol.d.ts.map +1 -0
  69. package/dist/mcp-server/tools/protocol.js +73 -0
  70. package/dist/mcp-server/tools/protocol.js.map +1 -0
  71. package/dist/mcp-server/tools/talent.d.ts +3 -0
  72. package/dist/mcp-server/tools/talent.d.ts.map +1 -0
  73. package/dist/mcp-server/tools/talent.js +226 -0
  74. package/dist/mcp-server/tools/talent.js.map +1 -0
  75. package/dist/openclaw/index.d.ts +2 -0
  76. package/dist/openclaw/index.d.ts.map +1 -0
  77. package/dist/openclaw/index.js +2 -0
  78. package/dist/openclaw/index.js.map +1 -0
  79. package/dist/openclaw/skill.d.ts +13 -0
  80. package/dist/openclaw/skill.d.ts.map +1 -0
  81. package/dist/openclaw/skill.js +18 -0
  82. package/dist/openclaw/skill.js.map +1 -0
  83. package/dist/protocol/consent.schema.d.ts +18 -48
  84. package/dist/protocol/consent.schema.d.ts.map +1 -1
  85. package/dist/protocol/consent.schema.js +1 -1
  86. package/dist/protocol/consent.schema.js.map +1 -1
  87. package/dist/protocol/dialogue.schema.d.ts +21 -177
  88. package/dist/protocol/dialogue.schema.d.ts.map +1 -1
  89. package/dist/protocol/envelope.schema.d.ts +46 -28
  90. package/dist/protocol/envelope.schema.d.ts.map +1 -1
  91. package/dist/protocol/errors.d.ts +8 -1
  92. package/dist/protocol/errors.d.ts.map +1 -1
  93. package/dist/protocol/handshake.schema.d.ts +130 -385
  94. package/dist/protocol/handshake.schema.d.ts.map +1 -1
  95. package/dist/protocol/handshake.schema.js +1 -0
  96. package/dist/protocol/handshake.schema.js.map +1 -1
  97. package/dist/protocol/identity.schema.d.ts +44 -94
  98. package/dist/protocol/identity.schema.d.ts.map +1 -1
  99. package/dist/protocol/index.d.ts +1 -0
  100. package/dist/protocol/index.d.ts.map +1 -1
  101. package/dist/protocol/index.js +1 -0
  102. package/dist/protocol/index.js.map +1 -1
  103. package/dist/protocol/message-types.d.ts +14 -1
  104. package/dist/protocol/message-types.d.ts.map +1 -1
  105. package/dist/protocol/message.schema.d.ts +100 -715
  106. package/dist/protocol/message.schema.d.ts.map +1 -1
  107. package/dist/protocol/resolution.schema.d.ts +22 -268
  108. package/dist/protocol/resolution.schema.d.ts.map +1 -1
  109. package/dist/protocol/resolution.schema.js +1 -1
  110. package/dist/protocol/resolution.schema.js.map +1 -1
  111. package/dist/protocol/state-machine.d.ts +10 -1
  112. package/dist/protocol/state-machine.d.ts.map +1 -1
  113. package/dist/protocol/talent.schema.d.ts +106 -0
  114. package/dist/protocol/talent.schema.d.ts.map +1 -0
  115. package/dist/protocol/talent.schema.js +47 -0
  116. package/dist/protocol/talent.schema.js.map +1 -0
  117. package/dist/protocol/transport.schema.d.ts +16 -18
  118. package/dist/protocol/transport.schema.d.ts.map +1 -1
  119. package/dist/transport/client.d.ts +32 -0
  120. package/dist/transport/client.d.ts.map +1 -0
  121. package/dist/transport/client.js +155 -0
  122. package/dist/transport/client.js.map +1 -0
  123. package/dist/transport/dedup.d.ts +9 -0
  124. package/dist/transport/dedup.d.ts.map +1 -0
  125. package/dist/transport/dedup.js +36 -0
  126. package/dist/transport/dedup.js.map +1 -0
  127. package/dist/transport/handler.d.ts +9 -0
  128. package/dist/transport/handler.d.ts.map +1 -0
  129. package/dist/transport/handler.js +105 -0
  130. package/dist/transport/handler.js.map +1 -0
  131. package/dist/transport/hmac.d.ts +3 -0
  132. package/dist/transport/hmac.d.ts.map +1 -0
  133. package/dist/transport/hmac.js +43 -0
  134. package/dist/transport/hmac.js.map +1 -0
  135. package/dist/transport/index.d.ts +6 -0
  136. package/dist/transport/index.d.ts.map +1 -0
  137. package/dist/transport/index.js +6 -0
  138. package/dist/transport/index.js.map +1 -0
  139. package/dist/transport/reference-runner.d.ts +37 -0
  140. package/dist/transport/reference-runner.d.ts.map +1 -0
  141. package/dist/transport/reference-runner.js +372 -0
  142. package/dist/transport/reference-runner.js.map +1 -0
  143. package/package.json +19 -31
  144. package/dist/agent/archiver.d.ts +0 -8
  145. package/dist/agent/archiver.d.ts.map +0 -1
  146. package/dist/agent/archiver.js +0 -48
  147. package/dist/agent/archiver.js.map +0 -1
  148. package/dist/agent/capabilities.d.ts +0 -23
  149. package/dist/agent/capabilities.d.ts.map +0 -1
  150. package/dist/agent/capabilities.js +0 -87
  151. package/dist/agent/capabilities.js.map +0 -1
  152. package/dist/agent/config.d.ts +0 -60
  153. package/dist/agent/config.d.ts.map +0 -1
  154. package/dist/agent/config.js +0 -84
  155. package/dist/agent/config.js.map +0 -1
  156. package/dist/agent/context-provider.d.ts +0 -12
  157. package/dist/agent/context-provider.d.ts.map +0 -1
  158. package/dist/agent/context-provider.js +0 -34
  159. package/dist/agent/context-provider.js.map +0 -1
  160. package/dist/agent/context.d.ts +0 -9
  161. package/dist/agent/context.d.ts.map +0 -1
  162. package/dist/agent/context.js +0 -80
  163. package/dist/agent/context.js.map +0 -1
  164. package/dist/agent/events.d.ts +0 -62
  165. package/dist/agent/events.d.ts.map +0 -1
  166. package/dist/agent/events.js +0 -21
  167. package/dist/agent/events.js.map +0 -1
  168. package/dist/agent/index.d.ts +0 -32
  169. package/dist/agent/index.d.ts.map +0 -1
  170. package/dist/agent/index.js +0 -28
  171. package/dist/agent/index.js.map +0 -1
  172. package/dist/agent/mcp.d.ts +0 -16
  173. package/dist/agent/mcp.d.ts.map +0 -1
  174. package/dist/agent/mcp.js +0 -69
  175. package/dist/agent/mcp.js.map +0 -1
  176. package/dist/agent/notifications/decision-parser.d.ts +0 -10
  177. package/dist/agent/notifications/decision-parser.d.ts.map +0 -1
  178. package/dist/agent/notifications/decision-parser.js +0 -21
  179. package/dist/agent/notifications/decision-parser.js.map +0 -1
  180. package/dist/agent/notifications/index.d.ts +0 -4
  181. package/dist/agent/notifications/index.d.ts.map +0 -1
  182. package/dist/agent/notifications/index.js +0 -3
  183. package/dist/agent/notifications/index.js.map +0 -1
  184. package/dist/agent/notifications/opportunity-templates.d.ts +0 -14
  185. package/dist/agent/notifications/opportunity-templates.d.ts.map +0 -1
  186. package/dist/agent/notifications/opportunity-templates.js +0 -21
  187. package/dist/agent/notifications/opportunity-templates.js.map +0 -1
  188. package/dist/agent/notifications/types.d.ts +0 -16
  189. package/dist/agent/notifications/types.d.ts.map +0 -1
  190. package/dist/agent/notifications/types.js +0 -2
  191. package/dist/agent/notifications/types.js.map +0 -1
  192. package/dist/agent/providers.d.ts +0 -9
  193. package/dist/agent/providers.d.ts.map +0 -1
  194. package/dist/agent/providers.js +0 -29
  195. package/dist/agent/providers.js.map +0 -1
  196. package/dist/agent/runtime.d.ts +0 -63
  197. package/dist/agent/runtime.d.ts.map +0 -1
  198. package/dist/agent/runtime.js +0 -395
  199. package/dist/agent/runtime.js.map +0 -1
  200. package/dist/agent/scanning/index.d.ts +0 -3
  201. package/dist/agent/scanning/index.d.ts.map +0 -1
  202. package/dist/agent/scanning/index.js +0 -3
  203. package/dist/agent/scanning/index.js.map +0 -1
  204. package/dist/agent/scanning/opportunity-scorer.d.ts +0 -24
  205. package/dist/agent/scanning/opportunity-scorer.d.ts.map +0 -1
  206. package/dist/agent/scanning/opportunity-scorer.js +0 -90
  207. package/dist/agent/scanning/opportunity-scorer.js.map +0 -1
  208. package/dist/agent/scanning/types.d.ts +0 -65
  209. package/dist/agent/scanning/types.d.ts.map +0 -1
  210. package/dist/agent/scanning/types.js +0 -32
  211. package/dist/agent/scanning/types.js.map +0 -1
  212. package/dist/agent/scheduler.d.ts +0 -38
  213. package/dist/agent/scheduler.d.ts.map +0 -1
  214. package/dist/agent/scheduler.js +0 -125
  215. package/dist/agent/scheduler.js.map +0 -1
  216. package/dist/agent/session.d.ts +0 -20
  217. package/dist/agent/session.d.ts.map +0 -1
  218. package/dist/agent/session.js +0 -88
  219. package/dist/agent/session.js.map +0 -1
  220. package/dist/agent/stores.d.ts +0 -48
  221. package/dist/agent/stores.d.ts.map +0 -1
  222. package/dist/agent/stores.js +0 -2
  223. package/dist/agent/stores.js.map +0 -1
  224. package/dist/agent/tools/browser/ats-patterns.d.ts +0 -20
  225. package/dist/agent/tools/browser/ats-patterns.d.ts.map +0 -1
  226. package/dist/agent/tools/browser/ats-patterns.js +0 -226
  227. package/dist/agent/tools/browser/ats-patterns.js.map +0 -1
  228. package/dist/agent/tools/browser/index.d.ts +0 -14
  229. package/dist/agent/tools/browser/index.d.ts.map +0 -1
  230. package/dist/agent/tools/browser/index.js +0 -126
  231. package/dist/agent/tools/browser/index.js.map +0 -1
  232. package/dist/agent/tools/browser/operator-runtime.d.ts +0 -35
  233. package/dist/agent/tools/browser/operator-runtime.d.ts.map +0 -1
  234. package/dist/agent/tools/browser/operator-runtime.js +0 -93
  235. package/dist/agent/tools/browser/operator-runtime.js.map +0 -1
  236. package/dist/agent/tools/browser/providers/chrome-mcp.d.ts +0 -3
  237. package/dist/agent/tools/browser/providers/chrome-mcp.d.ts.map +0 -1
  238. package/dist/agent/tools/browser/providers/chrome-mcp.js +0 -164
  239. package/dist/agent/tools/browser/providers/chrome-mcp.js.map +0 -1
  240. package/dist/agent/tools/browser/providers/playwright.d.ts +0 -7
  241. package/dist/agent/tools/browser/providers/playwright.d.ts.map +0 -1
  242. package/dist/agent/tools/browser/providers/playwright.js +0 -619
  243. package/dist/agent/tools/browser/providers/playwright.js.map +0 -1
  244. package/dist/agent/tools/browser/types.d.ts +0 -22
  245. package/dist/agent/tools/browser/types.d.ts.map +0 -1
  246. package/dist/agent/tools/browser/types.js +0 -15
  247. package/dist/agent/tools/browser/types.js.map +0 -1
  248. package/dist/agent/tools/cancel-task.d.ts +0 -4
  249. package/dist/agent/tools/cancel-task.d.ts.map +0 -1
  250. package/dist/agent/tools/cancel-task.js +0 -29
  251. package/dist/agent/tools/cancel-task.js.map +0 -1
  252. package/dist/agent/tools/career-advice.d.ts +0 -3
  253. package/dist/agent/tools/career-advice.d.ts.map +0 -1
  254. package/dist/agent/tools/career-advice.js +0 -49
  255. package/dist/agent/tools/career-advice.js.map +0 -1
  256. package/dist/agent/tools/index.d.ts +0 -15
  257. package/dist/agent/tools/index.d.ts.map +0 -1
  258. package/dist/agent/tools/index.js +0 -94
  259. package/dist/agent/tools/index.js.map +0 -1
  260. package/dist/agent/tools/job-search.d.ts +0 -3
  261. package/dist/agent/tools/job-search.d.ts.map +0 -1
  262. package/dist/agent/tools/job-search.js +0 -77
  263. package/dist/agent/tools/job-search.js.map +0 -1
  264. package/dist/agent/tools/list-tasks.d.ts +0 -4
  265. package/dist/agent/tools/list-tasks.d.ts.map +0 -1
  266. package/dist/agent/tools/list-tasks.js +0 -24
  267. package/dist/agent/tools/list-tasks.js.map +0 -1
  268. package/dist/agent/tools/market-data.d.ts +0 -8
  269. package/dist/agent/tools/market-data.d.ts.map +0 -1
  270. package/dist/agent/tools/market-data.js +0 -133
  271. package/dist/agent/tools/market-data.js.map +0 -1
  272. package/dist/agent/tools/memory-write.d.ts +0 -3
  273. package/dist/agent/tools/memory-write.d.ts.map +0 -1
  274. package/dist/agent/tools/memory-write.js +0 -48
  275. package/dist/agent/tools/memory-write.js.map +0 -1
  276. package/dist/agent/tools/resume.d.ts +0 -3
  277. package/dist/agent/tools/resume.d.ts.map +0 -1
  278. package/dist/agent/tools/resume.js +0 -70
  279. package/dist/agent/tools/resume.js.map +0 -1
  280. package/dist/agent/tools/schedule-task.d.ts +0 -4
  281. package/dist/agent/tools/schedule-task.d.ts.map +0 -1
  282. package/dist/agent/tools/schedule-task.js +0 -39
  283. package/dist/agent/tools/schedule-task.js.map +0 -1
  284. package/dist/agent/tools/shell.d.ts +0 -6
  285. package/dist/agent/tools/shell.d.ts.map +0 -1
  286. package/dist/agent/tools/shell.js +0 -66
  287. package/dist/agent/tools/shell.js.map +0 -1
  288. package/dist/agent/tools/web-search.d.ts +0 -6
  289. package/dist/agent/tools/web-search.d.ts.map +0 -1
  290. package/dist/agent/tools/web-search.js +0 -73
  291. package/dist/agent/tools/web-search.js.map +0 -1
  292. package/dist/agent/types.d.ts +0 -103
  293. package/dist/agent/types.d.ts.map +0 -1
  294. package/dist/agent/types.js +0 -11
  295. package/dist/agent/types.js.map +0 -1
  296. package/dist/channels/index.d.ts +0 -10
  297. package/dist/channels/index.d.ts.map +0 -1
  298. package/dist/channels/index.js +0 -15
  299. package/dist/channels/index.js.map +0 -1
  300. package/dist/channels/telegram.d.ts +0 -21
  301. package/dist/channels/telegram.d.ts.map +0 -1
  302. package/dist/channels/telegram.js +0 -255
  303. package/dist/channels/telegram.js.map +0 -1
  304. package/dist/channels/types.d.ts +0 -24
  305. package/dist/channels/types.d.ts.map +0 -1
  306. package/dist/channels/types.js +0 -2
  307. package/dist/channels/types.js.map +0 -1
  308. package/dist/cli/templates/HEARTBEAT.md +0 -6
  309. package/dist/cli/templates/MEMORY.md +0 -6
  310. package/dist/cli/templates/PREFERENCES.md +0 -40
  311. package/dist/cli/templates/PROFILE.md +0 -26
  312. package/dist/cli/templates/SOUL.md +0 -23
  313. package/dist/connectors/google-calendar.d.ts +0 -8
  314. package/dist/connectors/google-calendar.d.ts.map +0 -1
  315. package/dist/connectors/google-calendar.js +0 -23
  316. package/dist/connectors/google-calendar.js.map +0 -1
  317. package/dist/connectors/google-gmail.d.ts +0 -8
  318. package/dist/connectors/google-gmail.d.ts.map +0 -1
  319. package/dist/connectors/google-gmail.js +0 -30
  320. package/dist/connectors/google-gmail.js.map +0 -1
  321. package/dist/connectors/google-oauth.d.ts +0 -17
  322. package/dist/connectors/google-oauth.d.ts.map +0 -1
  323. package/dist/connectors/google-oauth.js +0 -52
  324. package/dist/connectors/google-oauth.js.map +0 -1
  325. package/dist/connectors/index.d.ts +0 -5
  326. package/dist/connectors/index.d.ts.map +0 -1
  327. package/dist/connectors/index.js +0 -5
  328. package/dist/connectors/index.js.map +0 -1
  329. package/dist/connectors/types.d.ts +0 -20
  330. package/dist/connectors/types.d.ts.map +0 -1
  331. package/dist/connectors/types.js +0 -5
  332. package/dist/connectors/types.js.map +0 -1
@@ -1,434 +1,147 @@
1
1
  import { z } from "zod";
2
2
  import { ProtocolValidationError } from "./errors.js";
3
3
  /** Union of all protocol message types. */
4
- export declare const ProtocolMessageSchema: z.ZodUnion<[z.ZodObject<{
4
+ export declare const ProtocolMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
5
5
  timestamp: z.ZodString;
6
6
  message_id: z.ZodString;
7
7
  conversation_id: z.ZodString;
8
8
  sender_agent_id: z.ZodString;
9
- } & {
10
9
  type: z.ZodLiteral<"artemys.handshake.initiate">;
11
10
  protocol_version: z.ZodLiteral<"0.1.0">;
12
11
  agent: z.ZodObject<{
13
12
  id: z.ZodString;
14
- role: z.ZodEnum<["sourcer", "candidate_representative"]>;
13
+ role: z.ZodEnum<{
14
+ sourcer: "sourcer";
15
+ candidate_representative: "candidate_representative";
16
+ }>;
15
17
  representing: z.ZodObject<{
16
- type: z.ZodEnum<["employer", "individual"]>;
18
+ type: z.ZodEnum<{
19
+ employer: "employer";
20
+ individual: "individual";
21
+ }>;
17
22
  name: z.ZodOptional<z.ZodString>;
18
23
  identity: z.ZodOptional<z.ZodString>;
19
24
  verified: z.ZodBoolean;
20
- }, "strip", z.ZodTypeAny, {
21
- type: "employer" | "individual";
22
- verified: boolean;
23
- name?: string | undefined;
24
- identity?: string | undefined;
25
- }, {
26
- type: "employer" | "individual";
27
- verified: boolean;
28
- name?: string | undefined;
29
- identity?: string | undefined;
30
- }>;
31
- }, "strip", z.ZodTypeAny, {
32
- id: string;
33
- role: "sourcer" | "candidate_representative";
34
- representing: {
35
- type: "employer" | "individual";
36
- verified: boolean;
37
- name?: string | undefined;
38
- identity?: string | undefined;
39
- };
40
- }, {
41
- id: string;
42
- role: "sourcer" | "candidate_representative";
43
- representing: {
44
- type: "employer" | "individual";
45
- verified: boolean;
46
- name?: string | undefined;
47
- identity?: string | undefined;
48
- };
49
- }>;
25
+ }, z.core.$strip>;
26
+ }, z.core.$strip>;
50
27
  intent: z.ZodObject<{
51
- type: z.ZodEnum<["role_inquiry", "project_inquiry", "advisory_inquiry", "collaboration_inquiry"]>;
28
+ type: z.ZodEnum<{
29
+ role_inquiry: "role_inquiry";
30
+ project_inquiry: "project_inquiry";
31
+ advisory_inquiry: "advisory_inquiry";
32
+ collaboration_inquiry: "collaboration_inquiry";
33
+ }>;
52
34
  signal: z.ZodObject<{
53
35
  domain: z.ZodString;
54
- seniority: z.ZodEnum<["intern", "junior", "mid", "senior", "staff", "principal", "executive"]>;
55
- location_flexibility: z.ZodEnum<["remote_only", "remote_ok", "hybrid", "onsite_required"]>;
36
+ seniority: z.ZodEnum<{
37
+ intern: "intern";
38
+ junior: "junior";
39
+ mid: "mid";
40
+ senior: "senior";
41
+ staff: "staff";
42
+ principal: "principal";
43
+ executive: "executive";
44
+ }>;
45
+ location_flexibility: z.ZodEnum<{
46
+ remote_only: "remote_only";
47
+ remote_ok: "remote_ok";
48
+ hybrid: "hybrid";
49
+ onsite_required: "onsite_required";
50
+ }>;
56
51
  urgency: z.ZodOptional<z.ZodString>;
57
- }, "strip", z.ZodTypeAny, {
58
- domain: string;
59
- seniority: "executive" | "junior" | "mid" | "senior" | "staff" | "principal" | "intern";
60
- location_flexibility: "remote_only" | "remote_ok" | "hybrid" | "onsite_required";
61
- urgency?: string | undefined;
62
- }, {
63
- domain: string;
64
- seniority: "executive" | "junior" | "mid" | "senior" | "staff" | "principal" | "intern";
65
- location_flexibility: "remote_only" | "remote_ok" | "hybrid" | "onsite_required";
66
- urgency?: string | undefined;
67
- }>;
68
- }, "strip", z.ZodTypeAny, {
69
- type: "role_inquiry" | "project_inquiry" | "advisory_inquiry" | "collaboration_inquiry";
70
- signal: {
71
- domain: string;
72
- seniority: "executive" | "junior" | "mid" | "senior" | "staff" | "principal" | "intern";
73
- location_flexibility: "remote_only" | "remote_ok" | "hybrid" | "onsite_required";
74
- urgency?: string | undefined;
75
- };
76
- }, {
77
- type: "role_inquiry" | "project_inquiry" | "advisory_inquiry" | "collaboration_inquiry";
78
- signal: {
79
- domain: string;
80
- seniority: "executive" | "junior" | "mid" | "senior" | "staff" | "principal" | "intern";
81
- location_flexibility: "remote_only" | "remote_ok" | "hybrid" | "onsite_required";
82
- urgency?: string | undefined;
83
- };
84
- }>;
52
+ application_intent: z.ZodOptional<z.ZodUnknown>;
53
+ }, z.core.$strip>;
54
+ }, z.core.$strip>;
85
55
  identity_verification: z.ZodOptional<z.ZodObject<{
86
56
  method: z.ZodString;
87
57
  proof: z.ZodString;
88
58
  trust_score: z.ZodNumber;
89
59
  score_source: z.ZodString;
90
60
  verifications: z.ZodArray<z.ZodObject<{
91
- type: z.ZodEnum<["email", "phone", "github", "linkedin"]>;
61
+ type: z.ZodEnum<{
62
+ email: "email";
63
+ phone: "phone";
64
+ github: "github";
65
+ linkedin: "linkedin";
66
+ }>;
92
67
  verified: z.ZodBoolean;
93
68
  account_age_days: z.ZodOptional<z.ZodNumber>;
94
69
  connections: z.ZodOptional<z.ZodNumber>;
95
- }, "strip", z.ZodTypeAny, {
96
- type: "email" | "phone" | "linkedin" | "github";
97
- verified: boolean;
98
- account_age_days?: number | undefined;
99
- connections?: number | undefined;
100
- }, {
101
- type: "email" | "phone" | "linkedin" | "github";
102
- verified: boolean;
103
- account_age_days?: number | undefined;
104
- connections?: number | undefined;
105
- }>, "many">;
106
- }, "strip", z.ZodTypeAny, {
107
- method: string;
108
- proof: string;
109
- trust_score: number;
110
- score_source: string;
111
- verifications: {
112
- type: "email" | "phone" | "linkedin" | "github";
113
- verified: boolean;
114
- account_age_days?: number | undefined;
115
- connections?: number | undefined;
116
- }[];
117
- }, {
118
- method: string;
119
- proof: string;
120
- trust_score: number;
121
- score_source: string;
122
- verifications: {
123
- type: "email" | "phone" | "linkedin" | "github";
124
- verified: boolean;
125
- account_age_days?: number | undefined;
126
- connections?: number | undefined;
127
- }[];
128
- }>>;
129
- }, z.UnknownKeysParam, z.ZodTypeAny, {
130
- type: "artemys.handshake.initiate";
131
- conversation_id: string;
132
- agent: {
133
- id: string;
134
- role: "sourcer" | "candidate_representative";
135
- representing: {
136
- type: "employer" | "individual";
137
- verified: boolean;
138
- name?: string | undefined;
139
- identity?: string | undefined;
140
- };
141
- };
142
- message_id: string;
143
- protocol_version: "0.1.0";
144
- timestamp: string;
145
- sender_agent_id: string;
146
- intent: {
147
- type: "role_inquiry" | "project_inquiry" | "advisory_inquiry" | "collaboration_inquiry";
148
- signal: {
149
- domain: string;
150
- seniority: "executive" | "junior" | "mid" | "senior" | "staff" | "principal" | "intern";
151
- location_flexibility: "remote_only" | "remote_ok" | "hybrid" | "onsite_required";
152
- urgency?: string | undefined;
153
- };
154
- };
155
- identity_verification?: {
156
- method: string;
157
- proof: string;
158
- trust_score: number;
159
- score_source: string;
160
- verifications: {
161
- type: "email" | "phone" | "linkedin" | "github";
162
- verified: boolean;
163
- account_age_days?: number | undefined;
164
- connections?: number | undefined;
165
- }[];
166
- } | undefined;
167
- }, {
168
- type: "artemys.handshake.initiate";
169
- conversation_id: string;
170
- agent: {
171
- id: string;
172
- role: "sourcer" | "candidate_representative";
173
- representing: {
174
- type: "employer" | "individual";
175
- verified: boolean;
176
- name?: string | undefined;
177
- identity?: string | undefined;
178
- };
179
- };
180
- message_id: string;
181
- protocol_version: "0.1.0";
182
- timestamp: string;
183
- sender_agent_id: string;
184
- intent: {
185
- type: "role_inquiry" | "project_inquiry" | "advisory_inquiry" | "collaboration_inquiry";
186
- signal: {
187
- domain: string;
188
- seniority: "executive" | "junior" | "mid" | "senior" | "staff" | "principal" | "intern";
189
- location_flexibility: "remote_only" | "remote_ok" | "hybrid" | "onsite_required";
190
- urgency?: string | undefined;
191
- };
192
- };
193
- identity_verification?: {
194
- method: string;
195
- proof: string;
196
- trust_score: number;
197
- score_source: string;
198
- verifications: {
199
- type: "email" | "phone" | "linkedin" | "github";
200
- verified: boolean;
201
- account_age_days?: number | undefined;
202
- connections?: number | undefined;
203
- }[];
204
- } | undefined;
205
- }>, z.ZodObject<{
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>>;
72
+ }, z.core.$strip>, z.ZodObject<{
206
73
  timestamp: z.ZodString;
207
74
  message_id: z.ZodString;
208
75
  conversation_id: z.ZodString;
209
76
  sender_agent_id: z.ZodString;
210
- } & {
211
77
  type: z.ZodLiteral<"artemys.handshake.respond">;
212
78
  protocol_version: z.ZodLiteral<"0.1.0">;
213
79
  agent: z.ZodObject<{
214
80
  id: z.ZodString;
215
- role: z.ZodEnum<["sourcer", "candidate_representative"]>;
81
+ role: z.ZodEnum<{
82
+ sourcer: "sourcer";
83
+ candidate_representative: "candidate_representative";
84
+ }>;
216
85
  representing: z.ZodObject<{
217
- type: z.ZodEnum<["employer", "individual"]>;
86
+ type: z.ZodEnum<{
87
+ employer: "employer";
88
+ individual: "individual";
89
+ }>;
218
90
  name: z.ZodOptional<z.ZodString>;
219
91
  identity: z.ZodOptional<z.ZodString>;
220
92
  verified: z.ZodBoolean;
221
- }, "strip", z.ZodTypeAny, {
222
- type: "employer" | "individual";
223
- verified: boolean;
224
- name?: string | undefined;
225
- identity?: string | undefined;
226
- }, {
227
- type: "employer" | "individual";
228
- verified: boolean;
229
- name?: string | undefined;
230
- identity?: string | undefined;
231
- }>;
232
- }, "strip", z.ZodTypeAny, {
233
- id: string;
234
- role: "sourcer" | "candidate_representative";
235
- representing: {
236
- type: "employer" | "individual";
237
- verified: boolean;
238
- name?: string | undefined;
239
- identity?: string | undefined;
240
- };
241
- }, {
242
- id: string;
243
- role: "sourcer" | "candidate_representative";
244
- representing: {
245
- type: "employer" | "individual";
246
- verified: boolean;
247
- name?: string | undefined;
248
- identity?: string | undefined;
249
- };
93
+ }, z.core.$strip>;
94
+ }, z.core.$strip>;
95
+ availability: z.ZodEnum<{
96
+ active: "active";
97
+ passive: "passive";
98
+ not_looking: "not_looking";
250
99
  }>;
251
- availability: z.ZodEnum<["active", "passive", "not_looking"]>;
252
100
  consent_profile: z.ZodObject<{
253
- shareable: z.ZodArray<z.ZodString, "many">;
101
+ shareable: z.ZodArray<z.ZodString>;
254
102
  has_gated_fields: z.ZodBoolean;
255
- }, "strip", z.ZodTypeAny, {
256
- shareable: string[];
257
- has_gated_fields: boolean;
258
- }, {
259
- shareable: string[];
260
- has_gated_fields: boolean;
103
+ }, z.core.$strip>;
104
+ interest_signal: z.ZodEnum<{
105
+ decline: "decline";
106
+ interested: "interested";
107
+ conditional: "conditional";
261
108
  }>;
262
- interest_signal: z.ZodEnum<["interested", "conditional", "decline"]>;
263
109
  identity_verification: z.ZodOptional<z.ZodObject<{
264
110
  method: z.ZodString;
265
111
  proof: z.ZodString;
266
112
  trust_score: z.ZodNumber;
267
113
  score_source: z.ZodString;
268
114
  verifications: z.ZodArray<z.ZodObject<{
269
- type: z.ZodEnum<["email", "phone", "github", "linkedin"]>;
115
+ type: z.ZodEnum<{
116
+ email: "email";
117
+ phone: "phone";
118
+ github: "github";
119
+ linkedin: "linkedin";
120
+ }>;
270
121
  verified: z.ZodBoolean;
271
122
  account_age_days: z.ZodOptional<z.ZodNumber>;
272
123
  connections: z.ZodOptional<z.ZodNumber>;
273
- }, "strip", z.ZodTypeAny, {
274
- type: "email" | "phone" | "linkedin" | "github";
275
- verified: boolean;
276
- account_age_days?: number | undefined;
277
- connections?: number | undefined;
278
- }, {
279
- type: "email" | "phone" | "linkedin" | "github";
280
- verified: boolean;
281
- account_age_days?: number | undefined;
282
- connections?: number | undefined;
283
- }>, "many">;
284
- }, "strip", z.ZodTypeAny, {
285
- method: string;
286
- proof: string;
287
- trust_score: number;
288
- score_source: string;
289
- verifications: {
290
- type: "email" | "phone" | "linkedin" | "github";
291
- verified: boolean;
292
- account_age_days?: number | undefined;
293
- connections?: number | undefined;
294
- }[];
295
- }, {
296
- method: string;
297
- proof: string;
298
- trust_score: number;
299
- score_source: string;
300
- verifications: {
301
- type: "email" | "phone" | "linkedin" | "github";
302
- verified: boolean;
303
- account_age_days?: number | undefined;
304
- connections?: number | undefined;
305
- }[];
306
- }>>;
124
+ }, z.core.$strip>>;
125
+ }, z.core.$strip>>;
307
126
  dialogue_limits: z.ZodOptional<z.ZodObject<{
308
127
  max_queries: z.ZodOptional<z.ZodNumber>;
309
128
  min_interval_seconds: z.ZodOptional<z.ZodNumber>;
310
- }, "strip", z.ZodTypeAny, {
311
- max_queries?: number | undefined;
312
- min_interval_seconds?: number | undefined;
313
- }, {
314
- max_queries?: number | undefined;
315
- min_interval_seconds?: number | undefined;
316
- }>>;
317
- }, z.UnknownKeysParam, z.ZodTypeAny, {
318
- type: "artemys.handshake.respond";
319
- conversation_id: string;
320
- agent: {
321
- id: string;
322
- role: "sourcer" | "candidate_representative";
323
- representing: {
324
- type: "employer" | "individual";
325
- verified: boolean;
326
- name?: string | undefined;
327
- identity?: string | undefined;
328
- };
329
- };
330
- message_id: string;
331
- protocol_version: "0.1.0";
332
- timestamp: string;
333
- sender_agent_id: string;
334
- availability: "active" | "passive" | "not_looking";
335
- consent_profile: {
336
- shareable: string[];
337
- has_gated_fields: boolean;
338
- };
339
- interest_signal: "decline" | "interested" | "conditional";
340
- identity_verification?: {
341
- method: string;
342
- proof: string;
343
- trust_score: number;
344
- score_source: string;
345
- verifications: {
346
- type: "email" | "phone" | "linkedin" | "github";
347
- verified: boolean;
348
- account_age_days?: number | undefined;
349
- connections?: number | undefined;
350
- }[];
351
- } | undefined;
352
- dialogue_limits?: {
353
- max_queries?: number | undefined;
354
- min_interval_seconds?: number | undefined;
355
- } | undefined;
356
- }, {
357
- type: "artemys.handshake.respond";
358
- conversation_id: string;
359
- agent: {
360
- id: string;
361
- role: "sourcer" | "candidate_representative";
362
- representing: {
363
- type: "employer" | "individual";
364
- verified: boolean;
365
- name?: string | undefined;
366
- identity?: string | undefined;
367
- };
368
- };
369
- message_id: string;
370
- protocol_version: "0.1.0";
371
- timestamp: string;
372
- sender_agent_id: string;
373
- availability: "active" | "passive" | "not_looking";
374
- consent_profile: {
375
- shareable: string[];
376
- has_gated_fields: boolean;
377
- };
378
- interest_signal: "decline" | "interested" | "conditional";
379
- identity_verification?: {
380
- method: string;
381
- proof: string;
382
- trust_score: number;
383
- score_source: string;
384
- verifications: {
385
- type: "email" | "phone" | "linkedin" | "github";
386
- verified: boolean;
387
- account_age_days?: number | undefined;
388
- connections?: number | undefined;
389
- }[];
390
- } | undefined;
391
- dialogue_limits?: {
392
- max_queries?: number | undefined;
393
- min_interval_seconds?: number | undefined;
394
- } | undefined;
395
- }>, z.ZodObject<{
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strip>, z.ZodObject<{
396
131
  timestamp: z.ZodString;
397
132
  message_id: z.ZodString;
398
133
  conversation_id: z.ZodString;
399
134
  sender_agent_id: z.ZodString;
400
- } & {
401
135
  type: z.ZodLiteral<"artemys.dialogue.capability_query">;
402
136
  protocol_version: z.ZodLiteral<"0.1.0">;
403
137
  query: z.ZodString;
404
138
  context: z.ZodString;
405
139
  evidence_requested: z.ZodBoolean;
406
- }, z.UnknownKeysParam, z.ZodTypeAny, {
407
- type: "artemys.dialogue.capability_query";
408
- conversation_id: string;
409
- query: string;
410
- message_id: string;
411
- protocol_version: "0.1.0";
412
- timestamp: string;
413
- sender_agent_id: string;
414
- context: string;
415
- evidence_requested: boolean;
416
- }, {
417
- type: "artemys.dialogue.capability_query";
418
- conversation_id: string;
419
- query: string;
420
- message_id: string;
421
- protocol_version: "0.1.0";
422
- timestamp: string;
423
- sender_agent_id: string;
424
- context: string;
425
- evidence_requested: boolean;
426
- }>, z.ZodObject<{
140
+ }, z.core.$strip>, z.ZodObject<{
427
141
  timestamp: z.ZodString;
428
142
  message_id: z.ZodString;
429
143
  conversation_id: z.ZodString;
430
144
  sender_agent_id: z.ZodString;
431
- } & {
432
145
  type: z.ZodLiteral<"artemys.dialogue.capability_response">;
433
146
  protocol_version: z.ZodLiteral<"0.1.0">;
434
147
  response: z.ZodString;
@@ -436,434 +149,106 @@ export declare const ProtocolMessageSchema: z.ZodUnion<[z.ZodObject<{
436
149
  type: z.ZodString;
437
150
  approved_for_sharing: z.ZodBoolean;
438
151
  artifact_url: z.ZodOptional<z.ZodString>;
439
- }, "strip", z.ZodTypeAny, {
440
- type: string;
441
- approved_for_sharing: boolean;
442
- artifact_url?: string | undefined;
443
- }, {
444
- type: string;
445
- approved_for_sharing: boolean;
446
- artifact_url?: string | undefined;
447
- }>>;
152
+ }, z.core.$strip>>;
448
153
  confidence: z.ZodNumber;
449
- }, z.UnknownKeysParam, z.ZodTypeAny, {
450
- type: "artemys.dialogue.capability_response";
451
- conversation_id: string;
452
- response: string;
453
- message_id: string;
454
- protocol_version: "0.1.0";
455
- timestamp: string;
456
- sender_agent_id: string;
457
- confidence: number;
458
- evidence?: {
459
- type: string;
460
- approved_for_sharing: boolean;
461
- artifact_url?: string | undefined;
462
- } | undefined;
463
- }, {
464
- type: "artemys.dialogue.capability_response";
465
- conversation_id: string;
466
- response: string;
467
- message_id: string;
468
- protocol_version: "0.1.0";
469
- timestamp: string;
470
- sender_agent_id: string;
471
- confidence: number;
472
- evidence?: {
473
- type: string;
474
- approved_for_sharing: boolean;
475
- artifact_url?: string | undefined;
476
- } | undefined;
477
- }>, z.ZodObject<{
154
+ }, z.core.$strip>, z.ZodObject<{
478
155
  timestamp: z.ZodString;
479
156
  message_id: z.ZodString;
480
157
  conversation_id: z.ZodString;
481
158
  sender_agent_id: z.ZodString;
482
- } & {
483
159
  type: z.ZodLiteral<"artemys.dialogue.opportunity_detail">;
484
160
  protocol_version: z.ZodLiteral<"0.1.0">;
485
- details: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>;
486
- gated_details: z.ZodArray<z.ZodString, "many">;
487
- }, z.UnknownKeysParam, z.ZodTypeAny, {
488
- type: "artemys.dialogue.opportunity_detail";
489
- conversation_id: string;
490
- details: Record<string, unknown>;
491
- message_id: string;
492
- protocol_version: "0.1.0";
493
- timestamp: string;
494
- sender_agent_id: string;
495
- gated_details: string[];
496
- }, {
497
- type: "artemys.dialogue.opportunity_detail";
498
- conversation_id: string;
499
- details: Record<string, unknown>;
500
- message_id: string;
501
- protocol_version: "0.1.0";
502
- timestamp: string;
503
- sender_agent_id: string;
504
- gated_details: string[];
505
- }>, z.ZodObject<{
161
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
162
+ gated_details: z.ZodArray<z.ZodString>;
163
+ }, z.core.$strip>, z.ZodObject<{
506
164
  timestamp: z.ZodString;
507
165
  message_id: z.ZodString;
508
166
  conversation_id: z.ZodString;
509
167
  sender_agent_id: z.ZodString;
510
- } & {
511
168
  type: z.ZodLiteral<"artemys.dialogue.preference_check">;
512
169
  protocol_version: z.ZodLiteral<"0.1.0">;
513
170
  dimension: z.ZodString;
514
171
  query: z.ZodString;
515
- }, z.UnknownKeysParam, z.ZodTypeAny, {
516
- type: "artemys.dialogue.preference_check";
517
- conversation_id: string;
518
- query: string;
519
- message_id: string;
520
- protocol_version: "0.1.0";
521
- timestamp: string;
522
- sender_agent_id: string;
523
- dimension: string;
524
- }, {
525
- type: "artemys.dialogue.preference_check";
526
- conversation_id: string;
527
- query: string;
528
- message_id: string;
529
- protocol_version: "0.1.0";
530
- timestamp: string;
531
- sender_agent_id: string;
532
- dimension: string;
533
- }>, z.ZodObject<{
172
+ }, z.core.$strip>, z.ZodObject<{
534
173
  timestamp: z.ZodString;
535
174
  message_id: z.ZodString;
536
175
  conversation_id: z.ZodString;
537
176
  sender_agent_id: z.ZodString;
538
- } & {
539
177
  type: z.ZodLiteral<"artemys.dialogue.gate_unlock_request">;
540
178
  protocol_version: z.ZodLiteral<"0.1.0">;
541
179
  field: z.ZodString;
542
180
  reason: z.ZodString;
543
- }, z.UnknownKeysParam, z.ZodTypeAny, {
544
- type: "artemys.dialogue.gate_unlock_request";
545
- conversation_id: string;
546
- field: string;
547
- message_id: string;
548
- protocol_version: "0.1.0";
549
- reason: string;
550
- timestamp: string;
551
- sender_agent_id: string;
552
- }, {
553
- type: "artemys.dialogue.gate_unlock_request";
554
- conversation_id: string;
555
- field: string;
556
- message_id: string;
557
- protocol_version: "0.1.0";
558
- reason: string;
559
- timestamp: string;
560
- sender_agent_id: string;
561
- }>, z.ZodEffects<z.ZodObject<{
181
+ }, z.core.$strip>, z.ZodObject<{
562
182
  timestamp: z.ZodString;
563
183
  message_id: z.ZodString;
564
184
  conversation_id: z.ZodString;
565
185
  sender_agent_id: z.ZodString;
566
- } & {
567
186
  type: z.ZodLiteral<"artemys.dialogue.gate_unlock_response">;
568
187
  protocol_version: z.ZodLiteral<"0.1.0">;
569
188
  field: z.ZodString;
570
- status: z.ZodEnum<["unlocked", "denied", "pending_human_approval"]>;
189
+ status: z.ZodEnum<{
190
+ unlocked: "unlocked";
191
+ denied: "denied";
192
+ pending_human_approval: "pending_human_approval";
193
+ }>;
571
194
  value: z.ZodOptional<z.ZodUnknown>;
572
- }, z.UnknownKeysParam, z.ZodTypeAny, {
573
- type: "artemys.dialogue.gate_unlock_response";
574
- status: "unlocked" | "denied" | "pending_human_approval";
575
- conversation_id: string;
576
- field: string;
577
- message_id: string;
578
- protocol_version: "0.1.0";
579
- timestamp: string;
580
- sender_agent_id: string;
581
- value?: unknown;
582
- }, {
583
- type: "artemys.dialogue.gate_unlock_response";
584
- status: "unlocked" | "denied" | "pending_human_approval";
585
- conversation_id: string;
586
- field: string;
587
- message_id: string;
588
- protocol_version: "0.1.0";
589
- timestamp: string;
590
- sender_agent_id: string;
591
- value?: unknown;
592
- }>, {
593
- type: "artemys.dialogue.gate_unlock_response";
594
- status: "unlocked" | "denied" | "pending_human_approval";
595
- conversation_id: string;
596
- field: string;
597
- message_id: string;
598
- protocol_version: "0.1.0";
599
- timestamp: string;
600
- sender_agent_id: string;
601
- value?: unknown;
602
- }, {
603
- type: "artemys.dialogue.gate_unlock_response";
604
- status: "unlocked" | "denied" | "pending_human_approval";
605
- conversation_id: string;
606
- field: string;
607
- message_id: string;
608
- protocol_version: "0.1.0";
609
- timestamp: string;
610
- sender_agent_id: string;
611
- value?: unknown;
612
- }>, z.ZodObject<{
195
+ }, z.core.$strip>, z.ZodObject<{
613
196
  timestamp: z.ZodString;
614
197
  message_id: z.ZodString;
615
198
  conversation_id: z.ZodString;
616
199
  sender_agent_id: z.ZodString;
617
- } & {
618
200
  type: z.ZodLiteral<"artemys.resolution.mutual_interest">;
619
201
  protocol_version: z.ZodLiteral<"0.1.0">;
620
202
  candidate_brief: z.ZodObject<{
621
203
  opportunity_summary: z.ZodString;
622
- why_artie_recommends: z.ZodString;
623
- key_details: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>;
624
- open_questions: z.ZodArray<z.ZodString, "many">;
204
+ why_candidate_agent_recommends: z.ZodString;
205
+ key_details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
206
+ open_questions: z.ZodArray<z.ZodString>;
625
207
  suggested_action: z.ZodString;
626
- }, "strip", z.ZodTypeAny, {
627
- opportunity_summary: string;
628
- why_artie_recommends: string;
629
- key_details: Record<string, unknown>;
630
- open_questions: string[];
631
- suggested_action: string;
632
- }, {
633
- opportunity_summary: string;
634
- why_artie_recommends: string;
635
- key_details: Record<string, unknown>;
636
- open_questions: string[];
637
- suggested_action: string;
638
- }>;
208
+ }, z.core.$strip>;
639
209
  recruiter_brief: z.ZodObject<{
640
210
  candidate_summary: z.ZodString;
641
211
  fit_assessment: z.ZodObject<{
642
212
  technical: z.ZodNumber;
643
213
  culture: z.ZodNumber;
644
214
  motivation: z.ZodNumber;
645
- }, "strip", z.ZodTypeAny, {
646
- technical: number;
647
- culture: number;
648
- motivation: number;
649
- }, {
650
- technical: number;
651
- culture: number;
652
- motivation: number;
653
- }>;
215
+ }, z.core.$strip>;
654
216
  highlights: z.ZodString;
655
- evidence_shared: z.ZodArray<z.ZodString, "many">;
217
+ evidence_shared: z.ZodArray<z.ZodString>;
656
218
  suggested_action: z.ZodString;
657
- }, "strip", z.ZodTypeAny, {
658
- suggested_action: string;
659
- candidate_summary: string;
660
- fit_assessment: {
661
- technical: number;
662
- culture: number;
663
- motivation: number;
664
- };
665
- highlights: string;
666
- evidence_shared: string[];
667
- }, {
668
- suggested_action: string;
669
- candidate_summary: string;
670
- fit_assessment: {
671
- technical: number;
672
- culture: number;
673
- motivation: number;
674
- };
675
- highlights: string;
676
- evidence_shared: string[];
677
- }>;
678
- }, z.UnknownKeysParam, z.ZodTypeAny, {
679
- type: "artemys.resolution.mutual_interest";
680
- conversation_id: string;
681
- message_id: string;
682
- protocol_version: "0.1.0";
683
- timestamp: string;
684
- sender_agent_id: string;
685
- candidate_brief: {
686
- opportunity_summary: string;
687
- why_artie_recommends: string;
688
- key_details: Record<string, unknown>;
689
- open_questions: string[];
690
- suggested_action: string;
691
- };
692
- recruiter_brief: {
693
- suggested_action: string;
694
- candidate_summary: string;
695
- fit_assessment: {
696
- technical: number;
697
- culture: number;
698
- motivation: number;
699
- };
700
- highlights: string;
701
- evidence_shared: string[];
702
- };
703
- }, {
704
- type: "artemys.resolution.mutual_interest";
705
- conversation_id: string;
706
- message_id: string;
707
- protocol_version: "0.1.0";
708
- timestamp: string;
709
- sender_agent_id: string;
710
- candidate_brief: {
711
- opportunity_summary: string;
712
- why_artie_recommends: string;
713
- key_details: Record<string, unknown>;
714
- open_questions: string[];
715
- suggested_action: string;
716
- };
717
- recruiter_brief: {
718
- suggested_action: string;
719
- candidate_summary: string;
720
- fit_assessment: {
721
- technical: number;
722
- culture: number;
723
- motivation: number;
724
- };
725
- highlights: string;
726
- evidence_shared: string[];
727
- };
728
- }>, z.ZodEffects<z.ZodObject<{
219
+ }, z.core.$strip>;
220
+ }, z.core.$strip>, z.ZodObject<{
729
221
  timestamp: z.ZodString;
730
222
  message_id: z.ZodString;
731
223
  conversation_id: z.ZodString;
732
224
  sender_agent_id: z.ZodString;
733
- } & {
734
225
  type: z.ZodLiteral<"artemys.resolution.candidate_decline">;
735
226
  protocol_version: z.ZodLiteral<"0.1.0">;
736
227
  reason_shared: z.ZodBoolean;
737
228
  reason: z.ZodOptional<z.ZodString>;
738
229
  future_interest: z.ZodBoolean;
739
- }, z.UnknownKeysParam, z.ZodTypeAny, {
740
- type: "artemys.resolution.candidate_decline";
741
- conversation_id: string;
742
- message_id: string;
743
- protocol_version: "0.1.0";
744
- timestamp: string;
745
- sender_agent_id: string;
746
- reason_shared: boolean;
747
- future_interest: boolean;
748
- reason?: string | undefined;
749
- }, {
750
- type: "artemys.resolution.candidate_decline";
751
- conversation_id: string;
752
- message_id: string;
753
- protocol_version: "0.1.0";
754
- timestamp: string;
755
- sender_agent_id: string;
756
- reason_shared: boolean;
757
- future_interest: boolean;
758
- reason?: string | undefined;
759
- }>, {
760
- type: "artemys.resolution.candidate_decline";
761
- conversation_id: string;
762
- message_id: string;
763
- protocol_version: "0.1.0";
764
- timestamp: string;
765
- sender_agent_id: string;
766
- reason_shared: boolean;
767
- future_interest: boolean;
768
- reason?: string | undefined;
769
- }, {
770
- type: "artemys.resolution.candidate_decline";
771
- conversation_id: string;
772
- message_id: string;
773
- protocol_version: "0.1.0";
774
- timestamp: string;
775
- sender_agent_id: string;
776
- reason_shared: boolean;
777
- future_interest: boolean;
778
- reason?: string | undefined;
779
- }>, z.ZodEffects<z.ZodObject<{
230
+ }, z.core.$strip>, z.ZodObject<{
780
231
  timestamp: z.ZodString;
781
232
  message_id: z.ZodString;
782
233
  conversation_id: z.ZodString;
783
234
  sender_agent_id: z.ZodString;
784
- } & {
785
235
  type: z.ZodLiteral<"artemys.resolution.talent_pass">;
786
236
  protocol_version: z.ZodLiteral<"0.1.0">;
787
237
  reason_shared: z.ZodBoolean;
788
238
  reason: z.ZodOptional<z.ZodString>;
789
239
  future_interest: z.ZodBoolean;
790
- future_roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
791
- }, z.UnknownKeysParam, z.ZodTypeAny, {
792
- type: "artemys.resolution.talent_pass";
793
- conversation_id: string;
794
- message_id: string;
795
- protocol_version: "0.1.0";
796
- timestamp: string;
797
- sender_agent_id: string;
798
- reason_shared: boolean;
799
- future_interest: boolean;
800
- reason?: string | undefined;
801
- future_roles?: string[] | undefined;
802
- }, {
803
- type: "artemys.resolution.talent_pass";
804
- conversation_id: string;
805
- message_id: string;
806
- protocol_version: "0.1.0";
807
- timestamp: string;
808
- sender_agent_id: string;
809
- reason_shared: boolean;
810
- future_interest: boolean;
811
- reason?: string | undefined;
812
- future_roles?: string[] | undefined;
813
- }>, {
814
- type: "artemys.resolution.talent_pass";
815
- conversation_id: string;
816
- message_id: string;
817
- protocol_version: "0.1.0";
818
- timestamp: string;
819
- sender_agent_id: string;
820
- reason_shared: boolean;
821
- future_interest: boolean;
822
- reason?: string | undefined;
823
- future_roles?: string[] | undefined;
824
- }, {
825
- type: "artemys.resolution.talent_pass";
826
- conversation_id: string;
827
- message_id: string;
828
- protocol_version: "0.1.0";
829
- timestamp: string;
830
- sender_agent_id: string;
831
- reason_shared: boolean;
832
- future_interest: boolean;
833
- reason?: string | undefined;
834
- future_roles?: string[] | undefined;
835
- }>, z.ZodObject<{
240
+ future_roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
241
+ }, z.core.$strip>, z.ZodObject<{
836
242
  timestamp: z.ZodString;
837
243
  message_id: z.ZodString;
838
244
  conversation_id: z.ZodString;
839
245
  sender_agent_id: z.ZodString;
840
- } & {
841
246
  type: z.ZodLiteral<"artemys.resolution.deferred">;
842
247
  protocol_version: z.ZodLiteral<"0.1.0">;
843
248
  reason: z.ZodString;
844
249
  re_engage_after: z.ZodString;
845
250
  keep_context: z.ZodBoolean;
846
- }, z.UnknownKeysParam, z.ZodTypeAny, {
847
- type: "artemys.resolution.deferred";
848
- conversation_id: string;
849
- message_id: string;
850
- protocol_version: "0.1.0";
851
- reason: string;
852
- timestamp: string;
853
- sender_agent_id: string;
854
- re_engage_after: string;
855
- keep_context: boolean;
856
- }, {
857
- type: "artemys.resolution.deferred";
858
- conversation_id: string;
859
- message_id: string;
860
- protocol_version: "0.1.0";
861
- reason: string;
862
- timestamp: string;
863
- sender_agent_id: string;
864
- re_engage_after: string;
865
- keep_context: boolean;
866
- }>]>;
251
+ }, z.core.$strip>]>;
867
252
  export type ProtocolMessage = z.infer<typeof ProtocolMessageSchema>;
868
253
  type ParseSuccess = {
869
254
  ok: true;