@claxedo/agent-runtime-contract 0.8.0 → 0.10.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 (65) hide show
  1. package/README.md +27 -9
  2. package/dist/agent-runtime-event.d.ts +975 -0
  3. package/dist/availability.d.ts +3 -4
  4. package/dist/background-work.d.ts +10 -0
  5. package/dist/claims.d.ts +2 -0
  6. package/dist/connections.d.ts +66 -1
  7. package/dist/content.d.ts +72 -15
  8. package/dist/credential-broker-errors.d.ts +4 -0
  9. package/dist/custom-provider-headers.d.ts +12 -0
  10. package/dist/d1-bookmarks.d.ts +39 -0
  11. package/dist/daemon-ownership-snapshot.d.ts +40 -0
  12. package/dist/diagnostics.d.ts +24 -0
  13. package/dist/elicitation-pattern-worker.d.ts +6 -0
  14. package/dist/elicitation-pattern-worker.mjs +17 -0
  15. package/dist/elicitation-validation.d.ts +23 -0
  16. package/dist/elicitation.d.ts +51 -0
  17. package/dist/errors.d.ts +8 -1
  18. package/dist/event-cursor.d.ts +19 -0
  19. package/dist/events.d.ts +146 -216
  20. package/dist/files.d.ts +2 -0
  21. package/dist/first-turn-error.d.ts +12 -0
  22. package/dist/goals.d.ts +28 -0
  23. package/dist/harness-permission-modes.d.ts +76 -0
  24. package/dist/harness-table.d.ts +66 -4
  25. package/dist/harnesses.d.ts +19 -1
  26. package/dist/ids.d.ts +4 -0
  27. package/dist/index.d.ts +46 -1
  28. package/dist/index.mjs +2814 -95
  29. package/dist/mcp-app.d.ts +24 -0
  30. package/dist/message-page.d.ts +101 -0
  31. package/dist/permissions.d.ts +47 -0
  32. package/dist/pi-providers.d.ts +36 -0
  33. package/dist/prompt-title.d.ts +2 -0
  34. package/dist/provider-projection.d.ts +166 -0
  35. package/dist/raw-harness-event.d.ts +7 -0
  36. package/dist/recovery/actions.d.ts +20 -0
  37. package/dist/recovery/budgets.d.ts +16 -0
  38. package/dist/recovery/facts.d.ts +37 -0
  39. package/dist/recovery/operations.d.ts +66 -0
  40. package/dist/recovery/outcomes.d.ts +48 -0
  41. package/dist/recovery/payload-line.d.ts +19 -0
  42. package/dist/recovery/postconditions.d.ts +18 -0
  43. package/dist/recovery/requests.d.ts +44 -0
  44. package/dist/recovery/targets.d.ts +55 -0
  45. package/dist/recovery/validation.d.ts +9 -0
  46. package/dist/runtime-content.d.ts +34 -0
  47. package/dist/session-handoff.d.ts +4 -0
  48. package/dist/session-titles.d.ts +14 -0
  49. package/dist/sessions.d.ts +183 -5
  50. package/dist/stream-heartbeat.d.ts +11 -0
  51. package/dist/subagents.d.ts +92 -0
  52. package/dist/tool-header.d.ts +13 -0
  53. package/dist/tool-names.d.ts +5 -0
  54. package/dist/transcript-notice.d.ts +28 -0
  55. package/dist/turn-account.d.ts +26 -0
  56. package/dist/turn-error-classes.d.ts +10 -0
  57. package/dist/turn-fold.d.ts +111 -0
  58. package/dist/turn-fold.mjs +414 -0
  59. package/dist/turn-message-ids.d.ts +16 -0
  60. package/dist/turn-outline.d.ts +37 -0
  61. package/dist/turn-page.d.ts +58 -0
  62. package/dist/usage-streams.d.ts +19 -0
  63. package/dist/vendor-body.d.ts +31 -0
  64. package/dist/vendor-providers.d.ts +11 -0
  65. package/package.json +17 -3
@@ -0,0 +1,11 @@
1
+ /** The model vendors Claxedo stores accounts for and brokers to, as Settings names them. */
2
+ export declare const VENDOR_PROVIDER_NAMES: {
3
+ readonly anthropic: "Anthropic";
4
+ readonly openai: "OpenAI";
5
+ readonly openrouter: "OpenRouter";
6
+ readonly google: "Google";
7
+ readonly groq: "Groq";
8
+ readonly xai: "xAI";
9
+ };
10
+ /** The vendor a stored account of this provider id belongs to, as Settings names it; the id itself for a provider Claxedo does not name. */
11
+ export declare function vendorName(providerId: string): string;
package/package.json CHANGED
@@ -23,6 +23,20 @@
23
23
  "types": "./dist/index.d.ts",
24
24
  "import": "./dist/index.mjs",
25
25
  "default": "./dist/index.mjs"
26
+ },
27
+ "./turn-fold": {
28
+ "development": "./src/turn-fold.ts",
29
+ "bun": "./src/turn-fold.ts",
30
+ "types": "./dist/turn-fold.d.ts",
31
+ "import": "./dist/turn-fold.mjs",
32
+ "default": "./dist/turn-fold.mjs"
33
+ },
34
+ "./elicitation-pattern-worker": {
35
+ "development": "./src/elicitation-pattern-worker.ts",
36
+ "bun": "./src/elicitation-pattern-worker.ts",
37
+ "types": "./dist/elicitation-pattern-worker.d.ts",
38
+ "import": "./dist/elicitation-pattern-worker.mjs",
39
+ "default": "./dist/elicitation-pattern-worker.mjs"
26
40
  }
27
41
  },
28
42
  "files": [
@@ -34,16 +48,16 @@
34
48
  "access": "public"
35
49
  },
36
50
  "name": "@claxedo/agent-runtime-contract",
37
- "version": "0.8.0",
51
+ "version": "0.10.1",
38
52
  "scripts": {
39
- "build": "bun build src/index.ts --target=browser --format=esm --outfile=dist/index.mjs && tsc -p tsconfig.build.json",
53
+ "build": "bun build src/index.ts --target=browser --format=esm --outfile=dist/index.mjs && bun build src/elicitation-pattern-worker.ts --target=browser --format=esm --outfile=dist/elicitation-pattern-worker.mjs && bun build src/turn-fold.ts --target=browser --format=esm --outfile=dist/turn-fold.mjs && tsc -p tsconfig.build.json",
40
54
  "test:node": "node --test scripts/package.test.mjs",
41
55
  "typecheck": "tsc --noEmit -p tsconfig.json",
42
56
  "test": "bun test src",
43
57
  "prepublishOnly": "npm run build"
44
58
  },
45
59
  "dependencies": {
46
- "@claxedo/helpers": "0.1.0"
60
+ "@claxedo/helpers": "0.2.1"
47
61
  },
48
62
  "devDependencies": {
49
63
  "@tsconfig/bun": "1.0.9",