@zonease/aiworker-cli 0.15.1 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/aiworker-bun.js +237 -227
  2. package/official-apps/aiworker-hr/dist/index.js +194 -79
  3. package/official-apps/aiworker-hr/dist/{host-mounted.js → mounted/host-mounted.js} +195 -80
  4. package/official-apps/aiworker-hr/dist/{standalone.js → standalone/standalone.js} +195 -80
  5. package/official-apps/aiworker-hr/engine-assets/workspace/AGENTS.md +38 -0
  6. package/official-apps/aiworker-hr/engine-assets/workspace/CLAUDE.md +1 -0
  7. package/official-apps/aiworker-hr/engine-assets/workspace/README.md +17 -0
  8. package/official-apps/aiworker-hr/engine-assets/workspace/evidence/README.md +3 -0
  9. package/official-apps/aiworker-hr/{src → host-adapter}/index.ts +2 -2
  10. package/official-apps/aiworker-hr/{src → host-adapter/mounted}/host-mounted.ts +1 -1
  11. package/official-apps/aiworker-hr/{src → host-adapter/standalone}/standalone.ts +1 -1
  12. package/official-apps/aiworker-hr/package.json +7 -7
  13. package/official-apps/aiworker-hr/soul-app.manifest.json +35 -23
  14. package/official-apps/aiworker-hr/tsconfig.json +2 -2
  15. package/official-apps/aiworker-qa/dist/index.js +194 -79
  16. package/official-apps/aiworker-qa/dist/{host-mounted.js → mounted/host-mounted.js} +195 -80
  17. package/official-apps/aiworker-qa/dist/{standalone.js → standalone/standalone.js} +195 -80
  18. package/official-apps/aiworker-qa/engine-assets/skills/.gitkeep +1 -0
  19. package/official-apps/aiworker-qa/engine-assets/workspace/AGENTS.md +38 -0
  20. package/official-apps/aiworker-qa/engine-assets/workspace/CLAUDE.md +1 -0
  21. package/official-apps/aiworker-qa/engine-assets/workspace/README.md +17 -0
  22. package/official-apps/aiworker-qa/engine-assets/workspace/evidence/README.md +3 -0
  23. package/official-apps/aiworker-qa/{src → host-adapter}/index.ts +2 -2
  24. package/official-apps/aiworker-qa/{src → host-adapter/mounted}/host-mounted.ts +1 -1
  25. package/official-apps/aiworker-qa/{src → host-adapter/standalone}/standalone.ts +1 -1
  26. package/official-apps/aiworker-qa/package.json +7 -7
  27. package/official-apps/aiworker-qa/soul-app.manifest.json +35 -23
  28. package/official-apps/aiworker-qa/tsconfig.json +2 -2
  29. package/package.json +1 -1
  30. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/candidate-profile/SKILL.md +0 -0
  31. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/evidence-screening/SKILL.md +0 -0
  32. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/hiring-risk-review/SKILL.md +0 -0
  33. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/interview-brief/SKILL.md +0 -0
  34. /package/official-apps/aiworker-hr/{skills → engine-assets/skills}/profile-update-proposal/SKILL.md +0 -0
  35. /package/official-apps/aiworker-hr/{src → host-adapter}/api.ts +0 -0
  36. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/artifact.ts +0 -0
  37. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/connectors.ts +0 -0
  38. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/lifecycle.ts +0 -0
  39. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/review.ts +0 -0
  40. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/runtime.ts +0 -0
  41. /package/official-apps/aiworker-hr/{src → host-adapter}/protocol/ui.ts +0 -0
  42. /package/official-apps/aiworker-hr/{schemas → product/artifacts/schemas}/candidate-screen.schema.json +0 -0
  43. /package/official-apps/aiworker-hr/{schemas → product/artifacts/schemas}/person-profile.schema.json +0 -0
  44. /package/official-apps/aiworker-hr/{packs → product/profiles}/hr-recruiting/SOUL.md +0 -0
  45. /package/official-apps/aiworker-hr/{review → product/reviews}/candidate-screen.md +0 -0
  46. /package/official-apps/aiworker-hr/{review → product/reviews}/person-profile.md +0 -0
  47. /package/official-apps/aiworker-hr/{src/ui → product/web/artifact-previews}/candidate-screen-preview.tsx +0 -0
  48. /package/official-apps/aiworker-hr/{src/ui → product/web/artifact-previews}/person-profile-preview.tsx +0 -0
  49. /package/official-apps/aiworker-hr/{src/ui → product/web/panels}/profile-panel.tsx +0 -0
  50. /package/official-apps/aiworker-hr/{src/ui → product/web/panels}/review-panel.tsx +0 -0
  51. /package/official-apps/aiworker-hr/{src/ui → product/web/routes}/hr-route.tsx +0 -0
  52. /package/official-apps/aiworker-hr/{src/ui → product/web/widgets}/people-widget.tsx +0 -0
  53. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/candidate-screen/prompt.md +0 -0
  54. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/candidate-screen/review.md +0 -0
  55. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/person-profile/prompt.md +0 -0
  56. /package/official-apps/aiworker-hr/{capabilities → product/workflows}/person-profile/review.md +0 -0
  57. /package/official-apps/aiworker-qa/{src → host-adapter}/api.ts +0 -0
  58. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/artifact.ts +0 -0
  59. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/connectors.ts +0 -0
  60. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/lifecycle.ts +0 -0
  61. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/review.ts +0 -0
  62. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/runtime.ts +0 -0
  63. /package/official-apps/aiworker-qa/{src → host-adapter}/protocol/ui.ts +0 -0
  64. /package/official-apps/aiworker-qa/{schemas → product/artifacts/schemas}/regression-matrix.schema.json +0 -0
  65. /package/official-apps/aiworker-qa/{schemas → product/artifacts/schemas}/release-gate.schema.json +0 -0
  66. /package/official-apps/aiworker-qa/{packs → product/profiles}/qa-reviewer/SOUL.md +0 -0
  67. /package/official-apps/aiworker-qa/{review → product/reviews}/regression-matrix.md +0 -0
  68. /package/official-apps/aiworker-qa/{review → product/reviews}/release-gate.md +0 -0
  69. /package/official-apps/aiworker-qa/{src/ui → product/web/artifact-previews}/regression-matrix-preview.tsx +0 -0
  70. /package/official-apps/aiworker-qa/{src/ui → product/web/artifact-previews}/release-gate-preview.tsx +0 -0
  71. /package/official-apps/aiworker-qa/{src/ui → product/web/panels}/release-panel.tsx +0 -0
  72. /package/official-apps/aiworker-qa/{src/ui → product/web/panels}/release-review-panel.tsx +0 -0
  73. /package/official-apps/aiworker-qa/{src/ui → product/web/panels}/review-panel.tsx +0 -0
  74. /package/official-apps/aiworker-qa/{src/ui → product/web/routes}/qa-route.tsx +0 -0
  75. /package/official-apps/aiworker-qa/{src/ui → product/web/widgets}/release-widget.tsx +0 -0
  76. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/regression-matrix/prompt.md +0 -0
  77. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/regression-matrix/review.md +0 -0
  78. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/release-gate/prompt.md +0 -0
  79. /package/official-apps/aiworker-qa/{capabilities → product/workflows}/release-gate/review.md +0 -0
@@ -14,10 +14,10 @@ import manifestJson from '../soul-app.manifest.json' with { type: 'json' }
14
14
  export const hrSoulAppManifest = createSoulAppManifest(manifestJson)
15
15
 
16
16
  export const HR_REFERENCE_APP_BOUNDARY = {
17
- hostMountedEntry: './src/host-mounted.ts',
17
+ hostMountedEntry: './host-adapter/mounted/host-mounted.ts',
18
18
  packageName: '@zonease/aiworker-hr',
19
19
  primaryWorkbench: 'People/Profile Workbench',
20
- standaloneEntry: './src/standalone.ts',
20
+ standaloneEntry: './host-adapter/standalone/standalone.ts',
21
21
  } as const
22
22
 
23
23
  export const hrReferenceSoulApp: SoulAppDefinition = defineSoulApp({
@@ -3,7 +3,7 @@ import process from 'node:process'
3
3
 
4
4
  import { createSoulAppClient } from '@zonease/aiworker-soul-app-sdk'
5
5
 
6
- import { hrReferenceSoulApp, hrSoulAppManifest } from './index'
6
+ import { hrReferenceSoulApp, hrSoulAppManifest } from '../index'
7
7
 
8
8
  interface MountContext {
9
9
  brokerUrl?: string
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process'
2
2
 
3
- import { hrSoulAppManifest } from './index'
3
+ import { hrSoulAppManifest } from '../index'
4
4
 
5
5
  export function renderStandaloneHtml(): string {
6
6
  return [
@@ -5,16 +5,16 @@
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": {
8
- "types": "./src/index.ts",
9
- "import": "./src/index.ts"
8
+ "types": "./host-adapter/index.ts",
9
+ "import": "./host-adapter/index.ts"
10
10
  }
11
11
  },
12
- "main": "./src/index.ts",
13
- "types": "./src/index.ts",
12
+ "main": "./host-adapter/index.ts",
13
+ "types": "./host-adapter/index.ts",
14
14
  "scripts": {
15
- "build": "bun build src/index.ts src/standalone.ts src/host-mounted.ts --outdir dist --target bun",
16
- "dev": "bun src/standalone.ts --serve",
17
- "serve": "bun src/host-mounted.ts",
15
+ "build": "bun build host-adapter/index.ts host-adapter/standalone/standalone.ts host-adapter/mounted/host-mounted.ts --outdir dist --target bun",
16
+ "dev": "bun host-adapter/standalone/standalone.ts --serve",
17
+ "serve": "bun host-adapter/mounted/host-mounted.ts",
18
18
  "smoke": "bun ../../apps/cli/src/aiworker.ts app smoke .",
19
19
  "typecheck": "tsc --noEmit",
20
20
  "test": "bun test",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "api": {
3
- "entry": "./src/api.ts",
3
+ "entry": "./host-adapter/api.ts",
4
4
  "localService": {
5
5
  "command": [
6
6
  "bun",
@@ -15,9 +15,9 @@
15
15
  "description": "Source-backed HR lifecycle profile.",
16
16
  "id": "person-profile",
17
17
  "name": "Person Profile",
18
- "previewRef": "./src/ui/person-profile-preview.tsx",
19
- "reviewPolicyRef": "./review/person-profile.md",
20
- "schemaRef": "./schemas/person-profile.schema.json",
18
+ "previewRef": "./product/web/artifact-previews/person-profile-preview.tsx",
19
+ "reviewPolicyRef": "./product/reviews/person-profile.md",
20
+ "schemaRef": "./product/artifacts/schemas/person-profile.schema.json",
21
21
  "schemaSha256": "35c14e3d4c0fe9fd95c87e9bc47a210e21f99bcb1b079aa99a95bb93e820c8ab",
22
22
  "version": "0.1.0"
23
23
  },
@@ -25,9 +25,9 @@
25
25
  "description": "Role-related candidate screen with missing evidence and risks.",
26
26
  "id": "candidate-screen",
27
27
  "name": "Candidate Screen",
28
- "previewRef": "./src/ui/candidate-screen-preview.tsx",
29
- "reviewPolicyRef": "./review/candidate-screen.md",
30
- "schemaRef": "./schemas/candidate-screen.schema.json",
28
+ "previewRef": "./product/web/artifact-previews/candidate-screen-preview.tsx",
29
+ "reviewPolicyRef": "./product/reviews/candidate-screen.md",
30
+ "schemaRef": "./product/artifacts/schemas/candidate-screen.schema.json",
31
31
  "schemaSha256": "e8bd207be63eab23073cd47e41092f1d753c38d609383206e94334dd984b309c",
32
32
  "version": "0.1.0"
33
33
  }
@@ -42,8 +42,8 @@
42
42
  "name": "Person Profile",
43
43
  "outputKind": "person-profile",
44
44
  "packRefs": [],
45
- "promptRef": "./capabilities/person-profile/prompt.md",
46
- "reviewRubricRef": "./capabilities/person-profile/review.md",
45
+ "promptRef": "./product/workflows/person-profile/prompt.md",
46
+ "reviewRubricRef": "./product/workflows/person-profile/review.md",
47
47
  "version": "0.1.0",
48
48
  "workspaceTypes": [
49
49
  "people-profile"
@@ -58,8 +58,8 @@
58
58
  "name": "Candidate Screen",
59
59
  "outputKind": "candidate-screen",
60
60
  "packRefs": [],
61
- "promptRef": "./capabilities/candidate-screen/prompt.md",
62
- "reviewRubricRef": "./capabilities/candidate-screen/review.md",
61
+ "promptRef": "./product/workflows/candidate-screen/prompt.md",
62
+ "reviewRubricRef": "./product/workflows/candidate-screen/review.md",
63
63
  "version": "0.1.0",
64
64
  "workspaceTypes": [
65
65
  "role-search",
@@ -103,13 +103,25 @@
103
103
  ]
104
104
  },
105
105
  "description": "People operations Soul App for profiles, recruiting evidence, lifecycle touchpoints, and HR review policy.",
106
+ "engineAssets": {
107
+ "skills": {
108
+ "source": "./engine-assets/skills",
109
+ "targets": [
110
+ "codex",
111
+ "claude-code"
112
+ ]
113
+ },
114
+ "workspace": {
115
+ "source": "./engine-assets/workspace"
116
+ }
117
+ },
106
118
  "exports": {
107
- "artifact": "./src/protocol/artifact.ts",
108
- "connector": "./src/protocol/connectors.ts",
109
- "lifecycle": "./src/protocol/lifecycle.ts",
110
- "review": "./src/protocol/review.ts",
111
- "runtime": "./src/protocol/runtime.ts",
112
- "ui": "./src/protocol/ui.ts"
119
+ "artifact": "./host-adapter/protocol/artifact.ts",
120
+ "connector": "./host-adapter/protocol/connectors.ts",
121
+ "lifecycle": "./host-adapter/protocol/lifecycle.ts",
122
+ "review": "./host-adapter/protocol/review.ts",
123
+ "runtime": "./host-adapter/protocol/runtime.ts",
124
+ "ui": "./host-adapter/protocol/ui.ts"
113
125
  },
114
126
  "healthcheck": {
115
127
  "kind": "protocol-handler",
@@ -136,7 +148,7 @@
136
148
  "refs": [
137
149
  {
138
150
  "id": "hr-recruiting",
139
- "ref": "packs/hr-recruiting/SOUL.md",
151
+ "ref": "product/profiles/hr-recruiting/SOUL.md",
140
152
  "source": "embedded",
141
153
  "version": "0.1.0"
142
154
  }
@@ -224,7 +236,7 @@
224
236
  "ui": {
225
237
  "artifactPreviews": [
226
238
  {
227
- "entry": "./src/ui/person-profile-preview.tsx",
239
+ "entry": "./product/web/artifact-previews/person-profile-preview.tsx",
228
240
  "id": "person-profile-preview",
229
241
  "label": "Person profile preview",
230
242
  "slot": "artifact-preview",
@@ -233,7 +245,7 @@
233
245
  ],
234
246
  "panels": [
235
247
  {
236
- "entry": "./src/ui/profile-panel.tsx",
248
+ "entry": "./product/web/panels/profile-panel.tsx",
237
249
  "id": "hr-profile-panel",
238
250
  "label": "Profile panel",
239
251
  "slot": "panel",
@@ -249,7 +261,7 @@
249
261
  ],
250
262
  "reviewPanels": [
251
263
  {
252
- "entry": "./src/ui/review-panel.tsx",
264
+ "entry": "./product/web/panels/review-panel.tsx",
253
265
  "id": "hr-review-panel",
254
266
  "label": "HR review panel",
255
267
  "slot": "review-panel"
@@ -257,7 +269,7 @@
257
269
  ],
258
270
  "routes": [
259
271
  {
260
- "entry": "./src/ui/hr-route.tsx",
272
+ "entry": "./product/web/routes/hr-route.tsx",
261
273
  "id": "hr-home",
262
274
  "label": "HR",
263
275
  "path": "/hr",
@@ -322,7 +334,7 @@
322
334
  },
323
335
  "workspaceWidgets": [
324
336
  {
325
- "entry": "./src/ui/people-widget.tsx",
337
+ "entry": "./product/web/widgets/people-widget.tsx",
326
338
  "id": "hr-people-widget",
327
339
  "label": "People widget",
328
340
  "slot": "workspace-widget",
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "paths": {
5
5
  "@/*": [
6
- "./src/*"
6
+ "./host-adapter/*"
7
7
  ]
8
8
  },
9
9
  "types": [
@@ -11,7 +11,7 @@
11
11
  ]
12
12
  },
13
13
  "include": [
14
- "src/**/*.ts"
14
+ "host-adapter/**/*.ts"
15
15
  ],
16
16
  "exclude": [
17
17
  "node_modules",