@jitsusama/agentic-harness.core 0.2.0 → 0.3.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.
- package/dist/bin/cli.js +0 -0
- package/dist/observability/index.d.ts +8 -0
- package/dist/observability/index.js +8 -0
- package/dist/observability/ledger/index.d.ts +14 -0
- package/dist/observability/ledger/index.js +13 -0
- package/dist/observability/ledger/store.d.ts +50 -0
- package/dist/observability/ledger/store.js +573 -0
- package/dist/observability/ledger/types.d.ts +197 -0
- package/dist/observability/ledger/types.js +1 -0
- package/dist/observability/recorder.d.ts +9 -2
- package/dist/observability/recorder.js +11 -18
- package/dist/observability/store.d.ts +5 -3
- package/dist/observability/store.js +152 -55
- package/dist/observability/types.d.ts +32 -4
- package/package.json +153 -144
package/package.json
CHANGED
|
@@ -1,145 +1,154 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
2
|
+
"name": "@jitsusama/agentic-harness.core",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Pi-agnostic business logic for agentic-harness: state machines, guardian decisions, quest/TDD domain model.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"overrides": {
|
|
8
|
+
"google-auth-library": "$google-auth-library"
|
|
9
|
+
},
|
|
10
|
+
"pnpm": {
|
|
11
|
+
"overrides": {
|
|
12
|
+
"google-auth-library": "$google-auth-library"
|
|
13
|
+
},
|
|
14
|
+
"onlyBuiltDependencies": [
|
|
15
|
+
"sqlite3"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
"./tdd": "./dist/tdd/index.js",
|
|
20
|
+
"./tdd/presentation": "./dist/tdd/presentation.js",
|
|
21
|
+
"./shell": "./dist/shell/index.js",
|
|
22
|
+
"./command": "./dist/command/index.js",
|
|
23
|
+
"./git-cli": "./dist/git-cli/index.js",
|
|
24
|
+
"./github-cli": "./dist/github-cli/index.js",
|
|
25
|
+
"./attribution": "./dist/attribution/index.js",
|
|
26
|
+
"./verify": "./dist/verify/index.js",
|
|
27
|
+
"./memory": "./dist/memory/index.js",
|
|
28
|
+
"./governance": "./dist/governance/index.js",
|
|
29
|
+
"./observability": "./dist/observability/index.js",
|
|
30
|
+
"./completion": "./dist/completion/index.js",
|
|
31
|
+
"./advisor": "./dist/advisor/index.js",
|
|
32
|
+
"./quest": "./dist/quest/index.js",
|
|
33
|
+
"./quest/lifecycle": "./dist/quest/lifecycle.js",
|
|
34
|
+
"./quest/lookup": "./dist/quest/lookup.js",
|
|
35
|
+
"./quest/state": "./dist/quest/state.js",
|
|
36
|
+
"./quest/machine": "./dist/quest/machine.js",
|
|
37
|
+
"./quest/actions": "./dist/quest/actions.js",
|
|
38
|
+
"./quest/config": "./dist/quest/config.js",
|
|
39
|
+
"./quest/render-rows": "./dist/quest/render-rows.js",
|
|
40
|
+
"./quest/verbs/shared": "./dist/quest/verbs/shared.js",
|
|
41
|
+
"./quest/verbs/alias": "./dist/quest/verbs/alias.js",
|
|
42
|
+
"./quest/verbs/reorder": "./dist/quest/verbs/reorder.js",
|
|
43
|
+
"./quest/verbs/structural": "./dist/quest/verbs/structural.js",
|
|
44
|
+
"./quest/verbs/stage": "./dist/quest/verbs/stage.js",
|
|
45
|
+
"./quest/verbs/queries": "./dist/quest/verbs/queries.js",
|
|
46
|
+
"./quest/verbs/lifecycle": "./dist/quest/verbs/lifecycle.js",
|
|
47
|
+
"./quest/verbs/tree-ops": "./dist/quest/verbs/tree-ops.js",
|
|
48
|
+
"./tree": "./dist/tree/index.js",
|
|
49
|
+
"./lsp": "./dist/lsp/index.js",
|
|
50
|
+
"./result": "./dist/result/index.js",
|
|
51
|
+
"./refs": "./dist/refs/index.js",
|
|
52
|
+
"./prose": "./dist/prose/index.js",
|
|
53
|
+
"./gate": "./dist/gate/index.js",
|
|
54
|
+
"./sections": "./dist/sections/index.js",
|
|
55
|
+
"./title": "./dist/title/index.js",
|
|
56
|
+
"./guardian": "./dist/guardian/index.js",
|
|
57
|
+
"./guardian/prose-gate": "./dist/internal/guardian/prose-gate.js",
|
|
58
|
+
"./guardian/section-gate": "./dist/internal/guardian/section-gate.js",
|
|
59
|
+
"./guardian/title-gate": "./dist/internal/guardian/title-gate.js",
|
|
60
|
+
"./guardian/redirect-gate": "./dist/internal/guardian/redirect-gate.js",
|
|
61
|
+
"./guardian/history-gate": "./dist/internal/guardian/history-gate.js",
|
|
62
|
+
"./guardian/commit-shell": "./dist/internal/guardian/commit-shell.js",
|
|
63
|
+
"./guardian/commit-format": "./dist/internal/guardian/commit-format.js",
|
|
64
|
+
"./guardian/commit-file": "./dist/internal/guardian/commit-file.js",
|
|
65
|
+
"./github/cli": "./dist/internal/github/cli.js",
|
|
66
|
+
"./clock": "./dist/clock/index.js",
|
|
67
|
+
"./exec": "./dist/exec/index.js",
|
|
68
|
+
"./remote": "./dist/remote/index.js",
|
|
69
|
+
"./process": "./dist/process/index.js",
|
|
70
|
+
"./work": "./dist/work/index.js",
|
|
71
|
+
"./review": "./dist/review/index.js",
|
|
72
|
+
"./web": "./dist/web/index.js",
|
|
73
|
+
"./web/a11y": "./dist/web/a11y/index.js",
|
|
74
|
+
"./web/audit": "./dist/web/audit/index.js",
|
|
75
|
+
"./web/audit/verdict": "./dist/web/audit/verdict.js",
|
|
76
|
+
"./web/browser": "./dist/web/browser.js",
|
|
77
|
+
"./web/compare": "./dist/web/compare/index.js",
|
|
78
|
+
"./web/cookies": "./dist/web/cookies/index.js",
|
|
79
|
+
"./web/design": "./dist/web/design/index.js",
|
|
80
|
+
"./web/element": "./dist/web/element/index.js",
|
|
81
|
+
"./web/environment": "./dist/web/environment/index.js",
|
|
82
|
+
"./web/environment/devices": "./dist/web/environment/devices.js",
|
|
83
|
+
"./web/evaluate": "./dist/web/evaluate/index.js",
|
|
84
|
+
"./web/hydration": "./dist/web/hydration/index.js",
|
|
85
|
+
"./web/input": "./dist/web/input/index.js",
|
|
86
|
+
"./web/mermaid": "./dist/web/mermaid.js",
|
|
87
|
+
"./web/perf": "./dist/web/perf/index.js",
|
|
88
|
+
"./web/reader": "./dist/web/reader.js",
|
|
89
|
+
"./web/search": "./dist/web/search.js",
|
|
90
|
+
"./web/session": "./dist/web/session.js",
|
|
91
|
+
"./web/snapshot": "./dist/web/snapshot/index.js",
|
|
92
|
+
"./web/target": "./dist/web/target/index.js",
|
|
93
|
+
"./web/telemetry": "./dist/web/telemetry/index.js",
|
|
94
|
+
"./web/wait": "./dist/web/wait/index.js",
|
|
95
|
+
"./slack": "./dist/slack/index.js",
|
|
96
|
+
"./slack/auth/browser": "./dist/slack/auth/browser.js",
|
|
97
|
+
"./slack/auth/browser-extract": "./dist/slack/auth/browser-extract.js",
|
|
98
|
+
"./slack/auth/extract": "./dist/slack/auth/extract.js",
|
|
99
|
+
"./slack/auth/oauth": "./dist/slack/auth/oauth.js",
|
|
100
|
+
"./slack/auth/server": "./dist/slack/auth/server.js",
|
|
101
|
+
"./slack/types": "./dist/slack/types.js",
|
|
102
|
+
"./google": "./dist/google/index.js",
|
|
103
|
+
"./google/auth/browser": "./dist/google/auth/browser.js",
|
|
104
|
+
"./google/auth/oauth": "./dist/google/auth/oauth.js",
|
|
105
|
+
"./google/auth/server": "./dist/google/auth/server.js",
|
|
106
|
+
"./google/auth/setup-instructions": "./dist/google/auth/setup-instructions.js",
|
|
107
|
+
"./google/types": "./dist/google/types.js"
|
|
108
|
+
},
|
|
109
|
+
"bin": {
|
|
110
|
+
"agentic-harness-core": "./dist/bin/cli.js"
|
|
111
|
+
},
|
|
112
|
+
"files": [
|
|
113
|
+
"dist"
|
|
114
|
+
],
|
|
115
|
+
"scripts": {
|
|
116
|
+
"build": "tsc -p tsconfig.build.json",
|
|
117
|
+
"prepare": "tsc -p tsconfig.build.json",
|
|
118
|
+
"lint": "biome check .",
|
|
119
|
+
"lint:fix": "biome check --write .",
|
|
120
|
+
"typecheck": "tsc --noEmit",
|
|
121
|
+
"pretest": "tsc -p tsconfig.build.json",
|
|
122
|
+
"test": "vitest run",
|
|
123
|
+
"test:watch": "vitest",
|
|
124
|
+
"test:browser": "vitest run --config vitest.browser.config.ts"
|
|
125
|
+
},
|
|
126
|
+
"engines": {
|
|
127
|
+
"node": ">=22.19.0"
|
|
128
|
+
},
|
|
129
|
+
"dependencies": {
|
|
130
|
+
"axe-core": "^4.12.1",
|
|
131
|
+
"defuddle": "^0.19.1",
|
|
132
|
+
"google-auth-library": "^10.9.0",
|
|
133
|
+
"googleapis": "^173.0.0",
|
|
134
|
+
"jsdom": "^29.1.1",
|
|
135
|
+
"jsonpath-plus": "^10.4.0",
|
|
136
|
+
"pixelmatch": "^7.2.0",
|
|
137
|
+
"pngjs": "^7.0.0",
|
|
138
|
+
"puppeteer-core": "^25.3.0",
|
|
139
|
+
"sqlite3": "^6.0.1",
|
|
140
|
+
"vscode-jsonrpc": "^9.0.1",
|
|
141
|
+
"vscode-languageserver-protocol": "^3.18.2",
|
|
142
|
+
"yaml": "^2.9.0"
|
|
143
|
+
},
|
|
144
|
+
"devDependencies": {
|
|
145
|
+
"@biomejs/biome": "^2.5.9",
|
|
146
|
+
"@types/jsdom": "^28.0.3",
|
|
147
|
+
"@types/node": "^26.1.1",
|
|
148
|
+
"@types/pngjs": "^6.0.5",
|
|
149
|
+
"@types/ws": "^8.18.1",
|
|
150
|
+
"typescript": "^7.0.2",
|
|
151
|
+
"vitest": "^4.1.11",
|
|
152
|
+
"ws": "^8.21.1"
|
|
153
|
+
}
|
|
154
|
+
}
|