@sapiom/harness 0.7.0 → 0.8.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 (33) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/core/input-contract.d.ts +10 -0
  3. package/dist/core/input-contract.d.ts.map +1 -0
  4. package/dist/core/input-contract.js +37 -0
  5. package/dist/core/input-contract.js.map +1 -0
  6. package/dist/core/render-local-run.d.ts +10 -5
  7. package/dist/core/render-local-run.d.ts.map +1 -1
  8. package/dist/core/render-local-run.js +31 -4
  9. package/dist/core/render-local-run.js.map +1 -1
  10. package/dist/core/render-run-state.d.ts.map +1 -1
  11. package/dist/core/render-run-state.js +23 -2
  12. package/dist/core/render-run-state.js.map +1 -1
  13. package/dist/core/run-local-bootstrap.d.ts +8 -1
  14. package/dist/core/run-local-bootstrap.d.ts.map +1 -1
  15. package/dist/core/run-local-bootstrap.js +5 -7
  16. package/dist/core/run-local-bootstrap.js.map +1 -1
  17. package/dist/core/session-manager.d.ts.map +1 -1
  18. package/dist/core/session-manager.js +10 -0
  19. package/dist/core/session-manager.js.map +1 -1
  20. package/dist/server/actions.d.ts +4 -0
  21. package/dist/server/actions.d.ts.map +1 -1
  22. package/dist/server/actions.js +33 -0
  23. package/dist/server/actions.js.map +1 -1
  24. package/dist/shared/types.d.ts +54 -3
  25. package/dist/shared/types.d.ts.map +1 -1
  26. package/dist/shared/types.js.map +1 -1
  27. package/dist/web/assets/index-C3nbT8wm.css +32 -0
  28. package/dist/web/assets/index-DlI78kCp.js +490 -0
  29. package/dist/web/canvas/sess-boot/index.html +1 -1
  30. package/dist/web/index.html +2 -2
  31. package/package.json +5 -4
  32. package/dist/web/assets/index-B6DkXea8.js +0 -473
  33. package/dist/web/assets/index-C7wzgAWT.css +0 -32
@@ -177,7 +177,7 @@
177
177
  "name": "leasing",
178
178
  "entry": "intake",
179
179
  "nodes": [
180
- { "id": "intake", "kind": "entry", "label": "intake", "role": "entry", "description": "Logs the incoming order and stamps the time it arrived.", "timeoutMs": null, "inputSchema": null, "capabilities": ["records.read"] },
180
+ { "id": "intake", "kind": "entry", "label": "intake", "role": "entry", "description": "Logs the incoming order and stamps the time it arrived.", "timeoutMs": null, "inputSchema": { "type": "object", "properties": { "topic": { "type": "string", "title": "Topic", "description": "The subject this run should work on.", "default": "indie game development" } }, "required": ["topic"] }, "capabilities": ["records.read"] },
181
181
  { "id": "screen", "kind": "step", "label": "screen", "role": "step", "description": "Runs the applicant against the screening rules.", "timeoutMs": null, "inputSchema": { "type": "object", "properties": { "application": { "type": "object" } }, "required": ["application"] }, "capabilities": ["records.read"] },
182
182
  { "id": "credit-check", "kind": "step", "label": "credit-check", "role": "step", "description": "Pulls the credit score used by the approval gate.", "timeoutMs": 30000, "inputSchema": { "type": "object", "properties": { "application": { "type": "object" }, "bureau": { "type": "string" } }, "required": ["application"] }, "capabilities": ["credit.check"] },
183
183
  { "id": "approve", "kind": "step", "label": "approve?", "role": "step · branches", "description": "Branches on the score: 620 and above auto-drafts a lease; everything else escalates.", "timeoutMs": null, "inputSchema": { "type": "object", "properties": { "score": { "type": "number" } }, "required": ["score"] }, "capabilities": ["rules.evaluate"] },
@@ -19,8 +19,8 @@
19
19
  document.documentElement.dataset.theme = theme;
20
20
  })();
21
21
  </script>
22
- <script type="module" crossorigin src="/assets/index-B6DkXea8.js"></script>
23
- <link rel="stylesheet" crossorigin href="/assets/index-C7wzgAWT.css">
22
+ <script type="module" crossorigin src="/assets/index-DlI78kCp.js"></script>
23
+ <link rel="stylesheet" crossorigin href="/assets/index-C3nbT8wm.css">
24
24
  </head>
25
25
  <body>
26
26
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapiom/harness",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Agent Studio — a CLI-launched local web app that runs your coding agent (Claude Code or Codex) in a Sapiom-configured environment: MCP pre-wired, agents tracked, one-click deploy/run, and a live canvas for previews.",
5
5
  "keywords": [
6
6
  "sapiom",
@@ -41,16 +41,17 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
+ "ajv": "^8.12.0",
44
45
  "express": "^4.21.0",
45
46
  "express-rate-limit": "^7.4.0",
46
47
  "node-pty": "^1.1.0",
47
48
  "open": "^10.1.0",
48
49
  "ws": "^8.18.0",
49
50
  "zod": "^3.25.0",
50
- "@sapiom/agent-core": "^0.10.7",
51
- "@sapiom/mcp": "^0.12.5",
51
+ "@sapiom/mcp": "^0.12.6",
52
52
  "@sapiom/agent": "^0.9.3",
53
- "@sapiom/analytics-core": "^0.2.1"
53
+ "@sapiom/analytics-core": "^0.2.1",
54
+ "@sapiom/agent-core": "^0.11.0"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@playwright/test": "^1.61.0",